Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
older (2005ish) ALi controller [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
darkseer
n00b
n00b


Joined: 09 Aug 2005
Posts: 60

PostPosted: Wed Sep 01, 2010 1:12 pm    Post subject: older (2005ish) ALi controller [solved] Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54793
Location: 56N 3W

PostPosted: Wed Sep 01, 2010 6:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
darkseer
n00b
n00b


Joined: 09 Aug 2005
Posts: 60

PostPosted: Thu Sep 02, 2010 12:28 am    Post subject: Reply with quote

It was on. I'm disabling it. See ya in 2 hrs.
Back to top
View user's profile Send private message
darkseer
n00b
n00b


Joined: 09 Aug 2005
Posts: 60

PostPosted: Thu Sep 02, 2010 2:18 am    Post subject: Reply with quote

bingo putting solved in the title
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum