Skip to contentSkip to conversation

Damn unmouted root

DISCUSSION John T. Williams 4 participants 4 messages Jun 25, 2004

lore
Share & tools
lore
#0 lore raw

I've been having the hardest time getting a kernel I've compiled to work. I've compiled kernels at least a dozen times and this is the first one that has given me any real trouble. I think the issue might be the scsi hard-drive.

I've compiled in scsi support ( actually in, not as module ), but every time I try to boot the kernel, i get the error

VFS unable to mount root fs on /dev/hdf1

and a kernel panic.

the kernel uses devfs and I'm passing the kernel

root=/dev/hdf1 devfs=mount

as I said, I'm pretty sure its the scsi harddrive that is giving me problems as its the only thing in this situation that I've never had to deal with before, but even with that insight I haven't been able to figure out how to get the kernel.

Thanks,
John

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#2 lore raw
In reply to John T. Williams

I've never myself done anything w/ SCSI drives (other than ide-scsi emulation for CD-Writing pre kernel 2.6), but I thought SCSI harddrives were usually /dev/sd?, while IDE drives were /dev/hd?.

From /usr/src/linux-2.6.7/Documentation/devices.txt:

8 block SCSI disk devices (0-15)

                  0 = /dev/sda          First SCSI disk whole disk
                 16 = /dev/sdb          Second SCSI disk whole disk
                 32 = /dev/sdc          Third SCSI disk whole disk

...
240 = /dev/sdp Sixteenth SCSI disk whole disk

Partitions are handled in the same way as for IDE disks (see major number 3) except that the limit on partitions is 15.

Good luck,
Conway S. Smith

Quoted 16 lines · John T. Williams

I've been having the hardest time getting a kernel I've compiled to work. I've compiled kernels at least a dozen times and this is the first one that has given me any real trouble. I think the issue might be the scsi hard-drive.

I've compiled in scsi support ( actually in, not as module ), but every time I try to boot the kernel, i get the error

VFS unable to mount root fs on /dev/hdf1

and a kernel panic.

the kernel uses devfs and I'm passing the kernel

root=/dev/hdf1 devfs=mount

Quoted 8 lines

as I said, I'm pretty sure its the scsi harddrive that is giving me problems as its the only thing in this situation that I've never had to deal with before, but even with that insight I haven't been able to figure out how to get the kernel.

Thanks,
John

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#3 lore raw
In reply to John T. Williams
Quoted 12 lines · John T. Williams

I've been having the hardest time getting a kernel I've compiled to work. I've compiled kernels at least a dozen times and this is the first one that has given me any real trouble. I think the issue might be the scsi hard-drive.

I've compiled in scsi support ( actually in, not as module ), but every time I try to boot the kernel, i get the error

VFS unable to mount root fs on /dev/hdf1

and a kernel panic.

Quoted 8 lines

the kernel uses devfs and I'm passing the kernel

root=/dev/hdf1 devfs=mount

as I said, I'm pretty sure its the scsi harddrive that is giving me problems as its the only thing in this situation that I've never had to deal with before, but even with that insight I haven't been able to figure out how to get the kernel.

With absolutely no details provided, either about the kernel you are compiling or the system you are trying to run it on (or what Linux distro is involved), all one can really do is make "obvious" comments. In that spirit -- it is unusual for scsi drives to use "hd**" devices. They usually are "sd**" devices. Might you have made an error of that sort?

If your problem is not that, or the lack of filesystem support someone else suggested, please try posting a description that includes the details ... including why you believe your root scsi drive is accessed as /dev/hdf .

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs