element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
GIZMO 2
  • Products
  • Dev Tools
  • Single-Board Computers
  • GIZMO 2
  • More
  • Cancel
GIZMO 2
Forum Gizmo2 connecting peripherals: searching issues solution
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join GIZMO 2 to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 24 replies
  • Answers 2 answers
  • Subscribers 11 subscribers
  • Views 3725 views
  • Users 0 members are here
  • debian
  • peripherals
  • Ubuntu
  • ssd
  • issues
  • firmware_problems
  • gizmo2
  • external_hdd
  • boot_problems
  • bios_problems
  • sata
  • linux
Related

Gizmo2 connecting peripherals: searching issues solution

balearicdynamics
balearicdynamics over 10 years ago

The scenario

I am working on a project where I need to "evolve" several Gizmo2 board to make them specialised for some tasks. In short words the rules are the following

 

  • Desk unit : This is the most simple model; it will include a series of peripheral devices, a small case (fit back to a HDMI monitor) and an internal 60 Gb SSD disk with the entire system onboard. The provided application will be web based and the operating system will be Ununtu 14 LT, this means the entire system is 100% open source. The Gizmo2 is connected to a 1Gb switch and is part of an independent node of a local network.
  • Server unit: This is a single gizmo2 module that will be setup in a small expandable cluster. It should host a ssd internal disk for Linux operating system and a 500 Gb or 1 Tb external HDD for databa storage

 

All the machines are on the same LAN with 1Gb network

The Server unit will be clustered if needed with other self-balancing network devices

The machine external HDD machines will use the two USB3 Gizmo2 as dual raid hdd storage. USB3 has almost the same access speed than the SATA bus.

The machine will use eventually the external HDD connected to the on-board second sata port.

The machine is powered by a 4000 mA power supply giving the extra-power needed for the attached peripherals.

image

The second SATA connector and the SATA 5V power cables

 

Inside this scenario (if needed images are also available) I experience some issues that seems very probably hardware-dependent. What I need is some good check advices to verify for sure the issues causes.

 

Need to use components

The external parts that should be used are the following (for various kind of settings:

 

External 500 Gb 2.5" HDD (5V)

For now it is used a 1Tb 5" 12V + 5V HDD externally powered that will be replaced in the definitive configuration with the specific hardware. The difference in this case is meaningless Two disks will be connected to the USB3 via a SATA to USB3 converter that reaches a comparable speed. The following image shows the HDD connected in this way with an external powered dock.

image

 

mPCIe board with Parallel + serial interface

This is a micro PCIe board that has the same connector as the micro SATA. The board should be installed in the Gizmo2 bottom connector; as explained in the documentation the system will recognise automatically if the connector is used for mPCIe or mSATA with SSD drive connected.

image

 

32Gb microSD with linux boot only for emergency recovery

It has been used a class10 microSD card, 32 Gb. Both tests with Ubuntu and Debian installation has completed successfully but it is not possible to boot. Debian just stops on the black and white screen with the Booting from Hard Disk message while Ubuntu shows the grub and every try to start reboot the system.

 

SSD disk starting from the secondary SATA

The secondary SATA should host the operating system when the primary SSD connector (on the back side of the Gizmo2) is used as microPCI instead of microSATA The image below shows the board mounted on the mSATA to SATA adapter board.

image

 

Experienced issues

The following are the blocking issues found during some days of tests.

 

  1. Installing the OS on the microSD : all the installation process works fine with Ubuntu only, then at the end of process it is required the first reboot. The system boots and the only thing shown on the screen is "Booting from HD" then the system does not goes ahead.
  2. Installing the OS on the external HDD (both Debian and Ubutu): same as 1)
  3. The only way until now I was able to install Linux Ubuntu 14 was on the internal SSD (120 Gb) that boot fine after installation without any issue.

 

Problems with the two SATA ports

The second SATA port is on the board (thanks again to for her precious previous tests and shared knowledge !!!) and it is not populated. As the documentation explain it is a second port, we should expect that it can work with the first one connected. Instead:

 

A. With a 120Gb SSD on the first mSATA and any kind of SSD or HDD connected to the second SATA port as explained above none of the two disks are saw at boot time (only the micro SD if present).

B. With the mPCIe adapter (Serial + Parallel) in the primary port and the HDD on the SATA port, it is saw but does not work correctly. Instead with the SSD connected to the SATA (second port) it is not saw at all at boot time.

C. As the SSD or MPICEe boards are removed from the bottom connector, the SATA disk is saw correctly. Only the HDD can be connected and the operating system installed as well.

D. Only if the 120 Gb SSD is connected to the bottom port can be formatted and the operating system installed correctly.

 

Problems with OS booting

The same Linux OS has been installed with success on the external HDD (via the second SATA connection and external power), the microSD and the SSD (connected on the bottom connector). The only installation version that boots correctly is when the ssd is in its place and nothing else is connected to the system. The only accepted second HDD is when it is connected to the USB3 via the SATA to USB3 dock.

 

After booting from the Ubuntu desktop surprisingly all the linux installations on the three different media are virtually identical, despite that does not boot or boot partially, as shown in the images below:

image

 

The only possible bootable configuration

The only possible bootable configuration is from the SSD on the bottom connector with the external HDD connected to the USB3 port.

 

I hope that someone has some new idea to solve the problem, suggestions etc.

 

Thanks in advance. Enrico

  • Sign in to reply
  • Cancel

Top Replies

  • balearicdynamics
    balearicdynamics over 10 years ago in reply to clem57 +1
    Thank you Clem, I will check it in detail, there are lot of information BTW How much do you bet that is a firmware / bios problem ? Enrico
Parents
  • clem57
    0 clem57 over 10 years ago

    Try NOAPIC on boot line since that may be the problem.

    C

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 10 years ago in reply to clem57

    Hey Clem,

     

    thank you image How can I reach the boot line ? it seems there is no way, only F12 (when it work) on the SAGE boot screen to select the boot device.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 10 years ago in reply to balearicdynamics

    If you can take SD card and find grub2 config file to edit.

    C

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 10 years ago in reply to clem57

    Ok, let me try. I'll update you soon.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 10 years ago in reply to balearicdynamics

    Starting a new fresh installation with the microSD card only and the memory stick.

     

    Anyway after setting the NOAPIC on the SSD I got the following:

    image

    The grub.cnf under /boot/grub should be edited from /etc/default/grub then update separately the boot grub. Else the changes will be overwritten. So I have done this directly on the SSD. Now instead I am installing Ubuntu on the SSD card again, then try to edit the /boot/grub/grub.cfg directly. Anyway I have idea that it is not a problem related to interrupts.

     

    Enrico

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • balearicdynamics
    0 balearicdynamics over 10 years ago in reply to balearicdynamics

    Starting a new fresh installation with the microSD card only and the memory stick.

     

    Anyway after setting the NOAPIC on the SSD I got the following:

    image

    The grub.cnf under /boot/grub should be edited from /etc/default/grub then update separately the boot grub. Else the changes will be overwritten. So I have done this directly on the SSD. Now instead I am installing Ubuntu on the SSD card again, then try to edit the /boot/grub/grub.cfg directly. Anyway I have idea that it is not a problem related to interrupts.

     

    Enrico

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube