1 |
Brant> Why not take the config that genkernel created (archived as |
2 |
Brant> /boot/config.* IIRC) and use that as the basis to build a |
3 |
Brant> custom kernel that suits your hardware. Unless you're doing |
4 |
Brant> something exotic like booting off of an LVM or EVMS volume, you |
5 |
Brant> can then dispense with the initrd entirely. |
6 |
|
7 |
The problem is this: |
8 |
|
9 |
I have a motherboard with a VIA83CXX IDE controller. |
10 |
I have three PCI cards with SIIMAGE IDE controllers. |
11 |
|
12 |
I have a RAID5 spanning seven drives, which are on both types of |
13 |
controllers. |
14 |
|
15 |
When I boot a kernel that has the SIIMAGE driver compiled in, the |
16 |
drive order gets mapped wrong. Using CONFIG_BLK_DEV_OFFBOARD |
17 |
doesn't help, I tried it. It just forces the kernel to get the |
18 |
order wrong. |
19 |
|
20 |
When I boot a kernel that has the SIIMAGE driver installed as a |
21 |
module, the drive order is fine, but the kernel doesn't load the |
22 |
siimage module at boot time, and it craps out. |
23 |
|
24 |
I have successfuly made initrd images with the siimage driver in it, |
25 |
but I can't get the kernel to use that driver. Even if I make my |
26 |
kernel boot command line look like this: |
27 |
|
28 |
kernel /kernel-2.6.8-gentoo-r3.8 root=/dev/ram0 real_root=/dev/hda2 init=/linuxrc ide2=siimage ide3=siimage ide4=siimage ide5=siimage ide6=siimage ide7=siimage |
29 |
|
30 |
So I want to either: |
31 |
|
32 |
a) compile in both drivers, and figure out how to force the kernel |
33 |
to use the VIA83CXX driver for ide0 |
34 |
|
35 |
or |
36 |
|
37 |
b) compile in the VIA driver only, and figure out how to force the |
38 |
kernel to load the siimage driver for ide2,3,4,5,6,7. |
39 |
|
40 |
Dave |