Gentoo Archives: gentoo-amd64

From: Petric Frank <pfrank@×××.de>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Bootproblem (monolithic kernel)
Date: Sat, 03 Dec 2005 00:14:10
Message-Id: 200512030113.41729.pfrank@gmx.de
In Reply to: [gentoo-amd64] Bootproblem (monolithic kernel) by Petric Frank
1 Hello,
2
3 On Thursday 01 December 2005 23:55, Petric Frank wrote:
4 > given a mainboard having 2 SATA controllers. One VIA (from the chipset) and
5 > one additional Promise SATA. CPU is a AMD64.
6 >
7 > Up to now i had 2 SATA disks attached to the VIA controller.
8 >
9 > The kernel (2.6.14-r2) is built monolithic in regards of the SATA chips.
10 >
11 > Now i added a third harddisk and i recogized that the new disk was inserted
12 > before the other two. It seems that the promise kernel part is loaded
13 > before the VIA driver.
14 >
15 > So my question - is there a kernel parameter (to be given to grub.conf)
16 > which instructs the kernel to process the VIA kernel part first ?
17
18 I used a quick 'n dirty version.
19
20 In the file /usr/src/<kernel version>/drivers/scsi/Makefile i moved the line
21 with SATA_VIA entry before the one with SATA_PROMISE.
22 Now the sequence is in the way i wanted to have.
23
24 Disadvantage: Not portable. Have to be redone wit next kernel version.
25
26 Suggestion: The kernel should have a possibility to rearrange the execution
27 sequence of the kernel-builtin drivers.
28
29 regards
30 Petric
31 --
32 gentoo-amd64@g.o mailing list