View previous topic :: View next topic |
Author |
Message |
djco Retired Dev
Joined: 29 Mar 2003 Posts: 67 Location: 52.36, 4.89
|
Posted: Tue Oct 03, 2006 8:31 am Post subject: cannot open root device sda3 or unknown-block(0,0) |
|
|
I'm getting this error on the first boot into a new Gentoo install on a HP NetServer LP 2000r:
UFS: cannot open root devices "sda3" 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)
Now, according to this page I need the sym-53c8xx driver for my SCSI controller (which also seems to be doing RAID -- from the LiveCD, this looks transparent to me), so I've enabled the SCSI disk support as well as the SYM53C8XX Version 2 support in my kernel config.
Here's the relevant lspci information:
Code: | 00:0f.1 IDE interface: Broadcom OSB4 IDE Controller
01:02.0 RAID bus controller: American Megatrends Inc. MegaRAID (rev 21)
01:05.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1010 Ultra3 SCSI Adapter (rev 01)
01:05.1 SCSI storage controller: LSI Logic / Symbios Logic 53c1010 Ultra3 SCSI Adapter (rev 01) |
It still doesn't work, however (see above error). What am I missing here? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Tue Oct 03, 2006 9:31 am Post subject: |
|
|
Manuzhai,
You have 3 SCSI interfaces on two devices.
The MegaRAID one wants either LSI Logic New Generation RAID Device Drivers or LSI Logic Legacy MegaRAID Driver You need some trial and error here.
Its not clear from the kernel help is you need SYM53C8XX Version 2 SCSI support or Fusion MPT device support for your Symbios Logic 53c1010 Ultra3 SCSI.
Its easy to test what the liveCD uses. Run lsmod to see what modules are loaded. Starting from the top of the list, so The kernel will not allow you to use modules that are in use.
Are you sure which SCSI interface you are using for your root partition ? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
djco Retired Dev
Joined: 29 Mar 2003 Posts: 67 Location: 52.36, 4.89
|
Posted: Tue Oct 03, 2006 10:40 am Post subject: |
|
|
Thanks, NeddySeagoon, but I'm afraid that didn't help.
I included both of the LSI Logic RAID drivers as well as all of the Fusion MPT device support things, but the kernel still panics with the same error.
Any more ideas?? I just can't wrap my head around this.
[Edit] I've put my current .config online.
Last edited by djco on Tue Oct 03, 2006 11:08 am; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Tue Oct 03, 2006 10:52 am Post subject: |
|
|
Manuzhai,
A couple of things - what driver(s) is the liveCD using ?
Did you include the drivers as built in or as modules. Built in is required.
Did you copy the kernel to /boot correctly and update grub.conf as required?
Please post your grub.conf and the output of for your own /boot. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
djco Retired Dev
Joined: 29 Mar 2003 Posts: 67 Location: 52.36, 4.89
|
|
Back to top |
|
|
djco Retired Dev
Joined: 29 Mar 2003 Posts: 67 Location: 52.36, 4.89
|
Posted: Tue Oct 03, 2006 11:49 am Post subject: |
|
|
I fixed it. I think the final problem was the MEGARAID_MM driver, or at least one of the MEGARAID drivers. Once I enabled that, it worked fine. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Tue Oct 03, 2006 12:01 pm Post subject: |
|
|
Manuzhai,
Thats good. That means your root partition is on the Code: | 01:02.0 RAID bus controller: American Megatrends Inc. MegaRAID (rev 21) | SCSI interface, not one of the Symbios Logic 53c1010 interfaces. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
kabrito n00b
Joined: 02 Oct 2006 Posts: 6
|
Posted: Tue Oct 03, 2006 1:53 pm Post subject: |
|
|
Manuzhai wrote: | I fixed it. I think the final problem was the MEGARAID_MM driver, or at least one of the MEGARAID drivers. Once I enabled that, it worked fine. |
I think I have almost the same problem here...
Code: | No filesystem could mount root. Tried:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown block (0,0) |
How did you fix the MEGARAID_MM driver?
Thanks. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Tue Oct 03, 2006 2:17 pm Post subject: |
|
|
kabrito,
You build the Megaraid driver into your kernel.
Its under Device Drivers -> SCS -> Low Level Drivers.
On the way you also need SCSI Disk Support. If you build your kernel for yourself, you know what you are doing.
If you use genkernel, you must add the -menuconfig option when you run it and make the changes as you go. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
kabrito n00b
Joined: 02 Oct 2006 Posts: 6
|
Posted: Tue Oct 03, 2006 5:56 pm Post subject: |
|
|
NeddySeagoon wrote: | kabrito,
You build the Megaraid driver into your kernel.
Its under Device Drivers -> SCS -> Low Level Drivers.
On the way you also need SCSI Disk Support. If you build your kernel for yourself, you know what you are doing.
If you use genkernel, you must add the -menuconfig option when you run it and make the changes as you go. |
I was hoping I wouldn't have to compile the kernel again...
I'll try that. Do I need to do again all the steps that I did after compiling?
Thanks. And I built it by myself, because the genkernel didn't work. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Tue Oct 03, 2006 7:24 pm Post subject: |
|
|
kabrito,
You need to copy the kernel file to /boot, after you mount boot.
If you use the same name, there is no need to chaneg grub.conf.
You will also need to do make modules_install to keep the version magic right.
The compile will be very fast becase all the existing binary files will be used.
You will make one more and link in into the new kernel file. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
kabrito n00b
Joined: 02 Oct 2006 Posts: 6
|
Posted: Tue Oct 03, 2006 7:47 pm Post subject: |
|
|
NeddySeagoon wrote: | kabrito,
You need to copy the kernel file to /boot, after you mount boot.
If you use the same name, there is no need to chaneg grub.conf.
You will also need to do make modules_install to keep the version magic right.
The compile will be very fast becase all the existing binary files will be used.
You will make one more and link in into the new kernel file. |
Ok. I'll do it tomorrow and I'll post the results here. I have some things different from what it says on the handbook: I don't have a separated partition for /boot and I'm installing the gentoo using the ubuntu live cd (because I alredy had this cd)... Is the procedure different in any point?
Thanks a lot! |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Tue Oct 03, 2006 7:52 pm Post subject: |
|
|
kabrito,
No - you have the advantage you can't forget to mount /boot.
Everything else is the same, _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
kabrito n00b
Joined: 02 Oct 2006 Posts: 6
|
Posted: Tue Oct 03, 2006 7:54 pm Post subject: |
|
|
NeddySeagoon wrote: | kabrito,
No - you have the advantage you can't forget to mount /boot.
Everything else is the same, |
I'm a little confused. How do I mount boot if the partition doesn't exist? Could you give me some help about the configuration on the grub too? sorry for the amount of questions. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Tue Oct 03, 2006 9:27 pm Post subject: |
|
|
kabrito,
Sorry. your /boot is a subdirectory of / (root) you do not need to mount your /boot seperately.
Users that do have a seperate /boot, often fix their problem by recompiling and reinstalling the kernel only to install it to the wrong place because they omit the mount /boot step. There is no error mesage. grub boots the old kernel and the reported symptoms persist. As you don't have a /boot to mount, you cannot make this error. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|