2011-03-02 17:49:15

by Jesper Dangaard Brouer

[permalink] [raw]
Subject: HP G6 hardware kernel boot issue > 2.6.37 cciss/hpsa

Hi Google and maintainers,

I have a kernel booting problem with kernels above 2.6.37 on Debian
Squeeze, on HP G6 hardware, which have the harddisk controller:

HP Smart Array P410i Controller / Smart Array G6 controllers

This problem is (of cause) related to the introduction of the driver
HPSA, which takes over from the driver CCISS (the overlapping PCI IDs
were removed in commit 6fa977520871 see below).

This driver transition causes the device names to change
from /dev/cciss/c0d0p1
to /dev/sda1.

Thus, it would be really nice if UUID / LABEL / udev worked, as it
would make it possible to boot kernels above and below 2.6.37.

== Here comes the BUG and work-around ==

The BUG is that, if I compile the kernel and include the CCISS driver
(even-though it will not be used), then initramfs will drop me into a
shell, complaining that it cannot find /dev/disk/by-uuid/...

The work-around is, either
1) to avoid using initrd images, or
2) don't compile the kernel with the CCISS driver.

== Maintainers tasks ==

I suspect the bug lies in initramfs-tools, or the udev version used by
initramfs-tools.

Could the maintainers of initramfs-tools and udev, please tell me
something like its fixed in version XXX, and the Debian maintainers
just need to compile initramfs-tools with this version to fix the
issue? ;-)

initramfs-tools Version: 0.98.8
udev Version: 164-3

ps. I'm testing with net-next 2.6.38-rc5-02558-g07df529
--
Med venlig hilsen / Best regards
Jesper Brouer
ComX Networks A/S
Linux Network Kernel Developer
Cand. Scient Datalog / MSc.CS
Author of http://adsl-optimizer.dk
LinkedIn: http://www.linkedin.com/in/brouer

Keywords: driver CCISS, HPSA, HP DL G6, uuid, udev, mkinitramfs,
initramfs-tools, debian squeeze

== Commit info ==

commit 6fa977520871b1fc0be64247abad02b678c13fda
Author: Mike Miller <[email protected]>
Date: Thu Oct 28 06:33:27 2010 -0600

cciss: remove overlapping PCI IDs

This patch removes the controller overlap between cciss and hpsa. It was
decided that no overlap should exist. All new controllers will use the hpsa
SCSI based driver.

Signed-off-by: Jens Axboe <[email protected]>

git describe --contains 6fa977520871b1
v2.6.37-rc1~75^2




2011-03-03 12:47:11

by maximilian attems

[permalink] [raw]
Subject: Re: HP G6 hardware kernel boot issue > 2.6.37 cciss/hpsa

On Wed, 02 Mar 2011, Jesper Dangaard Brouer wrote:

> Hi Google and maintainers,
>
> I have a kernel booting problem with kernels above 2.6.37 on Debian
> Squeeze, on HP G6 hardware, which have the harddisk controller:
>
> HP Smart Array P410i Controller / Smart Array G6 controllers
>
> This problem is (of cause) related to the introduction of the driver
> HPSA, which takes over from the driver CCISS (the overlapping PCI IDs
> were removed in commit 6fa977520871 see below).
>
> This driver transition causes the device names to change
> from /dev/cciss/c0d0p1
> to /dev/sda1.

please file proper Debian bug report with reportbug.
we already have scripts dealing with such device changes.
Had previously thought that the need of them was over after the
libata change, but obviously you show the contrare.

So fire up reportbug and report against linux-2.6 with severity grave.

> Thus, it would be really nice if UUID / LABEL / udev worked, as it
> would make it possible to boot kernels above and below 2.6.37.
>
> == Here comes the BUG and work-around ==
>
> The BUG is that, if I compile the kernel and include the CCISS driver
> (even-though it will not be used), then initramfs will drop me into a
> shell, complaining that it cannot find /dev/disk/by-uuid/...
>
> The work-around is, either
> 1) to avoid using initrd images, or
> 2) don't compile the kernel with the CCISS driver.
>
> == Maintainers tasks ==
>
> I suspect the bug lies in initramfs-tools, or the udev version used by
> initramfs-tools.
>
> Could the maintainers of initramfs-tools and udev, please tell me
> something like its fixed in version XXX, and the Debian maintainers
> just need to compile initramfs-tools with this version to fix the
> issue? ;-)
>
> initramfs-tools Version: 0.98.8
> udev Version: 164-3
>
> ps. I'm testing with net-next 2.6.38-rc5-02558-g07df529
> --
> Med venlig hilsen / Best regards
> Jesper Brouer
> ComX Networks A/S
> Linux Network Kernel Developer
> Cand. Scient Datalog / MSc.CS
> Author of http://adsl-optimizer.dk
> LinkedIn: http://www.linkedin.com/in/brouer
>
> Keywords: driver CCISS, HPSA, HP DL G6, uuid, udev, mkinitramfs,
> initramfs-tools, debian squeeze
>
> == Commit info ==
>
> commit 6fa977520871b1fc0be64247abad02b678c13fda
> Author: Mike Miller <[email protected]>
> Date: Thu Oct 28 06:33:27 2010 -0600
>
> cciss: remove overlapping PCI IDs
>
> This patch removes the controller overlap between cciss and hpsa. It was
> decided that no overlap should exist. All new controllers will use the hpsa
> SCSI based driver.
>
> Signed-off-by: Jens Axboe <[email protected]>
>
> git describe --contains 6fa977520871b1
> v2.6.37-rc1~75^2
>
>
>

thank you.

--
maks

2011-03-08 10:29:31

by Jesper Dangaard Brouer

[permalink] [raw]
Subject: Re: HP G6 hardware kernel boot issue > 2.6.37 cciss/hpsa


On Thu, 2011-03-03 at 13:47 +0100, Maximilian Attems wrote:
> On Wed, 02 Mar 2011, Jesper Dangaard Brouer wrote:
>
[...]
> please file proper Debian bug report with reportbug.
> we already have scripts dealing with such device changes.
> Had previously thought that the need of them was over after the
> libata change, but obviously you show the contrare.
>
> So fire up reportbug and report against linux-2.6 with severity grave.

I finally succeeded filing a Debian bug-report (as Debians mail system
clamav kept categorizing me as malware... hmm)

Debian bug number: 617256
Link: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=617256
Update the case via email: [email protected]

--
Med venlig hilsen / Best regards
Jesper Brouer
ComX Networks A/S
Linux Network Kernel Developer
Cand. Scient Datalog / MSc.CS
Author of http://adsl-optimizer.dk
LinkedIn: http://www.linkedin.com/in/brouer


[...]
> > Keywords: driver CCISS, HPSA, HP DL G6, uuid, udev, mkinitramfs,
> > initramfs-tools, debian squeeze
More keywords:
HP Smart Array P410i Controller / Smart Array G6 controllers
/dev/cciss/ scsi


2011-03-08 13:50:16

by Ben Hutchings

[permalink] [raw]
Subject: Re: HP G6 hardware kernel boot issue > 2.6.37 cciss/hpsa

On Tue, 2011-03-08 at 11:29 +0100, Jesper Dangaard Brouer wrote:
> On Thu, 2011-03-03 at 13:47 +0100, Maximilian Attems wrote:
> > On Wed, 02 Mar 2011, Jesper Dangaard Brouer wrote:
> >
> [...]
> > please file proper Debian bug report with reportbug.
> > we already have scripts dealing with such device changes.
> > Had previously thought that the need of them was over after the
> > libata change, but obviously you show the contrare.
> >
> > So fire up reportbug and report against linux-2.6 with severity grave.
>
> I finally succeeded filing a Debian bug-report (as Debians mail system
> clamav kept categorizing me as malware... hmm)

Nothing personal, it was bouncing most incoming mail for a few hours.

Ben.

--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.


Attachments:
signature.asc (828.00 B)
This is a digitally signed message part