[Voyage-linux] SD Card Install
Kim-man 'Punky' TSE
(spam-protected)
Tue Feb 23 09:13:59 HKT 2010
Hi Frank,
Most probably, the SD in the built-in slot is not recognized at initrd
stage. Can you send "cat /proc/partitions" at the prompt after boot fail.
Regards,
Punky
Frank Parker wrote:
> CC'ing conversation back to list for archiving...
>
> Joshua,
> Thanks again. I tried the install again using voyage-current and
> voyage.update didn't throw any errors. I had the SD card connected to
> an Ubuntu system via a USB multicard reader during the install. Then
> I plugged the multicard reader into my Foxconn device
>
> <http://www.foxconnchannel.com/Product/Barebones/NT330i/index.html>
>
> ...and it boots perfectly. I am watching the boot process on a
> monitor attached to the DVI port. The USB keyboard isn't working, but
> this will be a headless box anyway. So I dont care.
>
> However, if I move the SD card to the built-in SD card slot it loads
> GRUB, decompresses the kernel and begins booting. At about 8 seconds
> I see it hang at:
>
> ---[SNIP]--
> [8.275103] scsi 0:0:0:0: Direct-Access Generic STORAGE DEVICE 9732 PQ
> : 0 ANSI: 0
> [8.406383] SD 0:0:0:0: [sda] Attached SCSI removable disk
> ---[SNIP]--
>
> After a minute or two, it prints:
>
> ---[SNIP]--
> done.
> Gave up waiting for root device. Common problems:
> - Boot args (cat /proc/cmdline)
> - Check rootdelay= (did the system wait long enough?)
> - Check root= (did the system wait for the right device?)
> - MIssing modules (cat /proc/modules; ls /dev/)
> ALERT! /dev/disk/by-label/ROOT_FS does not exist. Dropping to a shell!
> (initramfs) _
> ---[SNIP]--
>
> I cant do any troubleshooting here without a keyboard but I think I
> must need to alter the GRUB settings. The built-in SD card reader
> must be recognized as a different device. Maybe?
>
> A successful dmesg when booting via the multicard reader looks like this:
>
> ---[SNIP]---
> [ 8.341143] scsi 0:0:0:0: Direct-Access Multiple Card Reader
> 1.00 PQ: 0 ANSI: 0
> [ 8.341759] usb-storage: device scan complete
> [ 8.412496] scsi 1:0:0:0: Direct-Access Generic STORAGE DEVICE
> 9732 PQ: 0 ANSI: 0
> [ 8.413113] usb-storage: device scan complete
> [ 8.431027] sd 1:0:0:0: [sdb] Attached SCSI removable disk
> [ 8.951749] sd 0:0:0:0: [sda] 3985408 512-byte hardware sectors:
> (2.04 GB/1.90 GiB)
> [ 8.953864] sd 0:0:0:0: [sda] Write Protect is off
> [ 8.953986] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
> [ 8.953992] sd 0:0:0:0: [sda] Assuming drive cache: write through
> [ 8.958864] sd 0:0:0:0: [sda] Assuming drive cache: write through
> [ 8.958948] sda: sda1
> [ 8.960174] sd 0:0:0:0: [sda] Attached SCSI removable disk
> ---[SNIP]---
>
>
> My /boot/grub/menu.lst looks like this:
>
> ---[SNIP]---
> timeout 5
> default 0
>
> title voyage-linux-22Feb10
> root (hd0,0)
> kernel /vmlinuz root=LABEL=ROOT_FS
> initrd /initrd.img
> ---[SNIP]---
>
>
> I can move the SD card back to the multicard reader to make the
> necessary changes but how do i determine what to change?
>
>
>
>
--
Regards,
Punky
Voyage Solutions (http://solution.voyage.hk)
* Embedded Solutions and Systems
- Mesh Networking, Captive Portal, IP Surveillance, VoIP/PBX
- Network Engineering, Development Platform and Consultation
More information about the Voyage-linux
mailing list