Gentoo Archives: gentoo-dev

From: Michael Haubenwallner <haubi@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] news item for udev 197-r3 upgrade (yes, I know, it's late)
Date: Thu, 24 Jan 2013 19:20:05
Message-Id: 5101895B.3030701@gentoo.org
In Reply to: Re: [gentoo-dev] news item for udev 197-r3 upgrade (yes, I know, it's late) by Michael Orlitzky
1 On 01/24/13 16:49, Michael Orlitzky wrote:
2 > On 01/24/13 05:02, Michael Haubenwallner wrote:
3 >>
4 >> I've recently upgraded some server from kernel-2.6.28 to kernel-3.5.7 and
5 >> encountered that the root-device was renamed from /dev/cciss/c0d0p1 to
6 >> /dev/sda1 due to some kernel driver change (took me a while to find out).
7 >> I'm not using genkernel or any initramfs, nor do I have separate /usr.
8 >>
9 >> The only way I've found to keep the system bootable with both kernels
10 >> (for the upgrade process until the new kernel config was good enough)
11 >> was to replace /dev/cciss/c0d0p1 by /dev/root in /etc/fstab.
12 >>
13 >> How would this be done when there is no /dev/root any more?
14 >
15 > These are the Compaq SmartArray controllers (usually found in HP
16 > Proliants). They used to have their own block driver, but these days
17 > they're just grouped with the rest of the SCSI drives.
18
19 Yep, this is a HP DL380 G6, and lspci says:
20 04:00.0 RAID bus controller: Hewlett-Packard Company Smart Array G6 controllers (rev 01)
21
22 > The old driver:
23 >
24 > Block Devices -> BLK_CPQ_CISS_DA
25 >
26 > The new one is under,
27 >
28 > SCSI device support -> SCSI low-level drivers -> SCSI_HPSA
29
30 > The HPSA driver does *not* work on older Proliants, so I can only assume
31 > that HPSA is receiving active maintenance while the old block driver is
32 > not. Nevertheless, if the block driver worked for you in an old kernel,
33 > you could simply disable HPSA on the new one.
34
35 Well, I'm pretty sure to have started with BLK_CPQ_CISS_DA=y in the new kernel
36 config, but this driver doesn't seem to feel responsible for that controller
37 any more - or what else could have make me wonder where /dev/cciss/* has gone?
38 Finally I went along [1] to identify SCSI_HPSA as the correct driver.
39 [1] http://www.linuxtopia.org/online_books/linux_kernel/kernel_configuration/ch08s02.html
40
41 > When the time comes that you need to boot two newish kernels, you can
42 > re-enable HPSA and update fstab to use the new name.
43
44 So this didn't work out IIRC - but I won't retest that now. For the curious:
45 $ cat /sys/bus/pci/devices/0000\:04\:00.0/vendor
46 0x103c
47 $ cat /sys/bus/pci/devices/0000\:04\:00.0/device
48 0x323a
49
50 /haubi/

Replies

Subject Author
Re: [gentoo-dev] news item for udev 197-r3 upgrade (yes, I know, it's late) "Diego Elio Pettenò" <flameeyes@×××××××××.eu>