View previous topic :: View next topic |
Author |
Message |
garskoci n00b
Joined: 05 Jun 2003 Posts: 44 Location: Chicago, IL - U.S.A.
|
Posted: Sat Nov 19, 2005 2:58 pm Post subject: hanging on boot[Solved] |
|
|
Hello!
I am having a problem on the first boot after an install.
Any ideas?
Thank you.
Error message
Code: |
VFS: Cannot open root device "sda6" or unknown block(0,0)
Please append a correct "root=" boot option
Kernel Panic - not syncing :VFS: Unable to mount root fs on unknown-block(0,0)
|
Partitions/Filesystems
Code: |
/dev/sda1 /boot ext2
/dev/sda2 none swap
/dev/sda3 /var reiserfs
/dev/sda4 extended
/dev/sda5 /tmp reiserfs
/dev/sda6 / reiserfs
/dev/sdb1 /usr/local reiserfs
/dev/sdc1 /home reiserfs
/dev/sdd1 /archive reiserfs
|
GRUB
Code: |
root(hd0,0)
kernel kernel-2.6.14-gentoo-r2 root=/dev/sda6
|
Last edited by garskoci on Sat Nov 19, 2005 11:50 pm; edited 1 time in total |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sat Nov 19, 2005 3:08 pm Post subject: |
|
|
Looks like your kernel is missing the scsi and/or sata drivers that are needed to access the drive.
Check your kernel config to make sure they are included as builtin and not as modules. Rebuild your kernel if necessary. If you search the forums a bit you should be able to find which drivers you need for your hardware. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
the_patrician n00b
Joined: 18 Nov 2005 Posts: 6 Location: Duisburg, Germany
|
Posted: Sat Nov 19, 2005 3:12 pm Post subject: |
|
|
I am having the same problem but with sda3 which is root.
apparently the error message means that grub cannot find the harddisk, but i still found no solution. all necessary scsi drivers (for adaptec AIC-7890) are installed (aic 7xxx new driver) and everything else in the scsi section, scsi emulation is also turned on (although from the description it doesn't sound like its needed, but someone recommended it in the forums).
@garskoci: do u have installed all necessary drivers in the kernel? (compiled into the kernel not as module?) i assume that u use a sata harddrive so u also need to turn on scsi support... u also need to set a special variable if ur using reiserFS as u do... (it says that in the documentation)
my configs are somewhat the same:
grub.conf
Code: | root (hd0,0)
kernel (hd0,0)/gentoo-kernel-2.6.14r2-try3 root=/dev/sda3 |
Code: | /dev/sda1 /boot ext2
/dev/sda2 none swap
/dev/sda3 / ext3 |
|
|
Back to top |
|
|
garskoci n00b
Joined: 05 Jun 2003 Posts: 44 Location: Chicago, IL - U.S.A.
|
Posted: Sat Nov 19, 2005 3:35 pm Post subject: |
|
|
Thank you for responding. All 4 drives are scsi and I'm pretty sure that I configured the kernel for the drives/controler. All drivers are compiled directly into the kernel. But, there must be something that I missed.
the_patrician - you mention a special variable for the use of reiserfs. I'm having a hard time finding that in the doc. Can you please post it?
Thanks again! |
|
Back to top |
|
|
the_patrician n00b
Joined: 18 Nov 2005 Posts: 6 Location: Duisburg, Germany
|
Posted: Sat Nov 19, 2005 3:50 pm Post subject: |
|
|
sry mate, the comment was for jfs...
but looking around i found this: (http://www.gnu.org/software/grub/grub-faq.en.html#q14)
Code: | 14. GRUB hangs when accessing my SCSI disk.
Check if you have turned on the support for INT 13 extension (LBA). If so, disable the support and see if GRUB can now access your SCSI disk. This will make it clear that your SCSI BIOS sucks.
For now, we know the following doesn't provide working LBA mode:
* Adaptec AIC-7880
In the case where you have such a SCSI controller unfortunately, you cannot use the LBA mode, though GRUB still works fine in the CHS mode (so the well-known 1024 cylinders problem comes again to you). |
the poster here on the forums assumes that it could be related... so if anyone has an idea, pls post it. another option would be to just change the bootloader and use lilo |
|
Back to top |
|
|
garskoci n00b
Joined: 05 Jun 2003 Posts: 44 Location: Chicago, IL - U.S.A.
|
Posted: Sat Nov 19, 2005 4:06 pm Post subject: |
|
|
Well, we can't be the only two using scsi drives. I've had SuSE installed on this box for over two years and GRUB appeared to be happy with the drives. I'm going to look at my kernel first, if that doesn't help, maybe I'll give lilo a whirl.
I would really like to get Gentoo up and running on this box. It's just a bare bones, basic headless server that humms along 24x7. |
|
Back to top |
|
|
garskoci n00b
Joined: 05 Jun 2003 Posts: 44 Location: Chicago, IL - U.S.A.
|
Posted: Sat Nov 19, 2005 6:23 pm Post subject: |
|
|
Well, I just tried to reconfigure the kernel and rebuild it. This time I selected all LSI drivers. The necessary reiserfs drivers were selected. The result??? The same exact error message. I don't really know where to go from here. |
|
Back to top |
|
|
garskoci n00b
Joined: 05 Jun 2003 Posts: 44 Location: Chicago, IL - U.S.A.
|
Posted: Sat Nov 19, 2005 11:49 pm Post subject: |
|
|
Finally!!!
I found the driver that asn't loaded.
I have an LSI scsi controller with a Symbios chip.
SYM53C8XX Version 2 SCSI support |
|
Back to top |
|
|
|