View previous topic :: View next topic |
Author |
Message |
darkseer n00b
Joined: 09 Aug 2005 Posts: 60
|
Posted: Wed Sep 01, 2010 1:12 pm Post subject: older (2005ish) ALi controller [solved] |
|
|
Ok, I've happened upon an older piece of hardware and I'm attempting a gentoo installation. The live cd with the 2.6.34 kernel works fine, but when I compile my own kernel I'm running into issues. It takes 2+ hours to compile a kernel on that system so I have to make informed choices, trial and error wont cut it.
Description of the problem.
I have a ALi Corporation M5229 IDE controller. I compile in the ALi_PATA driver as a kernel module. When I boot with the new kernel the devices come up and create /dev/sda1 /dev/sda2(boot), and /dev/sda3(root). I can see the driver get loaded and the kernel detect each one of the partitions in the boot messages. I have the real_root=/dev/sda3 kernel parameter set. The boot process starts, loads all the modules, registers all udev events. When the system tries to mount /dev/sda3 ReadWrite on / is when I run into problems. I get a message coming up saying that /dev/sda3 does not exist. control-D to continue or enter root password for maintenance.
If I enter the maintenance shell, indeed there is no /dev/sda3 or /dev/sdX anything. This is odd since if I put in a bad real_root parameter and I drop to shell in the initramfs I can see /dev/sdX.
In short:
When I'm in the ramdisk filesystem I can see /dev/sdX, as soon as I pivot to real_root I loose all the /dev/sdX devices and then cannot mount /dev/sda3 as the RW root device.
What have I done wrong?
-darkseer
Last edited by darkseer on Thu Sep 02, 2010 2:19 am; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54793 Location: 56N 3W
|
Posted: Wed Sep 01, 2010 6:50 pm Post subject: |
|
|
darkseer,
Look in your kernel config for Code: | [ ] enable deprecated sysfs features to support old userspace tools | It must be off or udev won't work.
Your initrd mat well have a static /dev, so its ok. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
darkseer n00b
Joined: 09 Aug 2005 Posts: 60
|
Posted: Thu Sep 02, 2010 12:28 am Post subject: |
|
|
It was on. I'm disabling it. See ya in 2 hrs. |
|
Back to top |
|
|
darkseer n00b
Joined: 09 Aug 2005 Posts: 60
|
Posted: Thu Sep 02, 2010 2:18 am Post subject: |
|
|
bingo putting solved in the title |
|
Back to top |
|
|
|