[Voyage-linux] /dev/disk/by-label/ROOT_FS does not exist
Jim Cromie
(spam-protected)
Fri Jul 23 02:45:06 HKT 2010
On 7/12/2010 3:13 PM, cereal wrote:
> I've been trying to install voyage on an old neoware thin client, however I
> keep getting the subject's error message. Previous to this plan I was
> running a custom CentOS. The message is
>
> ALERT! /dev/disk/by-label/ROOT_FS does not exist. Dropping to a shell!
> (initramfs) _
>
>
In initramfs prompt, please type "cat /proc/partitions". This will
show if the kernel could be able to detect your drive or not. If not,
please send the "dmesg" and "lspci -v" output to the list.
Also please read section 6.4 of README. Try adding "ide=nodma
all_generic_ide" to kernel boot parameters to if it could help.
Please note that Voyage Linux kernel is trimmed down many modules that
some ide drivers are not included.
--
Regards,
Punky
Im attempting to install and run voyage-current on a CF for a soekris 4801.
This is my 1st time here, so I may be making basic errors & omissions.
I ran ./usr/local/sbin/voyage.update
(aside: readme-HEAD doesnt have dir-path part of it)
the boot hung, I added "ide=nodma all_generic_ide" as Punky suggested
(I needed both, w/o all-generic-ide, it hit those sense-errors, I didnt wait..)
and also s{LABEL=ROOT_FS}{/dev/sda1} as Gustin offered
(changing ROOTFS didnt change results)
that got me to here:
[ 12.066990] usb usb1: configuration #1 chosen from 1 choice
[ 12.069714] hub 1-0:1.0: USB hub found
[ 12.070856] hub 1-0:1.0: 3 ports detected
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Waiting for root file system ... 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/sda1 does not exist. Dropping to a shell!
(initramfs) cat /proc/partitions
major minor #blocks name
8 0 500472 sda
8 1 500463 sda1
(initramfs) cat /proc/cmdline
root=/dev/sda1 console=ttyS0,115200n8 ide=nodma all_generic_ide
I didnt try hda1, it seems a longshot,
given that /proc/partitions seems to have what it should
I will try it, and report unexpected results
also didnt try rootdelay, any suggestions on a good value ?
[jimc at groucho voyage-current]$ more .voyage-install.conf
#
# This file generated automatically by voyage-install.sh
# on Thu Jul 22 09:07:04 MDT 2010
#
DISTDIR=/home/jimc/projects/dist-isos/voyage-current
VOYAGE_PROFILE=4801
TARGET_DISK=/dev/sdb
TARGET_PART=1
TARGET_MOUNT=/mnt/cf
BOOTSTRAP_PART=1
SYSTEM_BOOTSTRAP=grub
VOYAGE_SYSTEM_SERIAL=115200
VOYAGE_SYSTEM_CONSOLE=serial
MAKEFS=1
note: the CF mount-point during CF-install (desktop) is different than target.
I presume the LABEL should have helped with this host-vs-target problem,
but it didnt (perhaps for other reasons)
part of dmesg..
[ 4.143768] Using IPI Shortcut mode
[ 4.152800] Freeing unused kernel memory: 372k freed
Loading, please wait...
mount: No such device
W: devtmpfs not available, falling back to tmpfs for /dev
[ 5.279192] scsi0 : ata_generic
[ 5.282974] scsi1 : ata_generic
[ 5.285950] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xe000 irq 14
[ 5.287152] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xe008 irq 15
[ 5.440491] ata1.00: CFA: SanDisk SDCFB-512, HDX 2.15, max MWDMA2
[ 5.440813] ata1.00: 1000944 sectors, multi 0: LBA
[ 5.442163] ata1.00: configured for PIO
[ 5.455287] scsi 0:0:0:0: Direct-Access ATA SanDisk
SDCFB-51 HDX PQ: 0 ANSI: 5
[ 5.462804] sd 0:0:0:0: [sda] 1000944 512-byte logical blocks: (512
MB/488 MiB)
[ 5.466861] sd 0:0:0:0: [sda] Write Protect is off
[ 5.468885] sd 0:0:0:0: [sda] Write cache: disabled, read cache:
enabled, doesn't support DPO or FUA
[ 5.476782] sda: sda1
[ 5.490581] sd 0:0:0:0: [sda] Attached SCSI removable disk
I recall some issues with master/slave on CFs in 4801s,
http://capn13.net/it/soekris.html discusses one in pebble context,
where it says:
Decided to cheat and edited /etc/fstab:
/dev/hdb1 / ext2 defaults,noatime,ro 0 0
I tried that: root=/dev/hdb1 in grub, no different..
any advice ?
tia
~jimc
More information about the Voyage-linux
mailing list