Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Kernel (http://www.linux-archive.org/debian-kernel/)
-   -   Bug#617256: initramfs-tools: HP G6 hardware kernel boot issue > 2.6.37 cciss/hpsa (http://www.linux-archive.org/debian-kernel/498279-bug-617256-initramfs-tools-hp-g6-hardware-kernel-boot-issue-2-6-37-cciss-hpsa.html)

Jesper Dangaard Brouer 03-07-2011 02:53 PM

Bug#617256: initramfs-tools: HP G6 hardware kernel boot issue > 2.6.37 cciss/hpsa
 
Package: initramfs-tools
Version: 0.98.8
Severity: normal

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

== Commit info ==

commit 6fa977520871b1fc0be64247abad02b678c13fda
Author: Mike Miller <mike.miller@hp.com>
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 <jaxboe@fusionio.com>

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


Reference email: http://article.gmane.org/gmane.linux.kernel/1107721

Rant:
This is the fourth time I submit this bug via the "reportbug" tool.
This time I hope that the Debian mail-admins will not falsely
categorize my mail as malware via clamav.


-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 6.4M Jun 2 2010 /boot/initrd.img-2.6.26-2-amd64
-rw-r--r-- 1 root root 6.4M May 17 2010 /boot/initrd.img-2.6.26-2-amd64.bak
-rw-r--r-- 1 root root 7.4M Jun 2 2010 /boot/initrd.img-2.6.32-3-amd64
-rw-r--r-- 1 root root 7.3M Jun 2 2010 /boot/initrd.img-2.6.32-3-amd64.bak
-rw-r--r-- 1 root root 9.0M Feb 22 17:30 /boot/initrd.img-2.6.32-5-amd64
-rw-r--r-- 1 root root 95M Aug 4 2010 /boot/initrd.img-2.6.35
-rw-r--r-- 1 root root 92M Dec 18 22:13 /boot/initrd.img-2.6.35-ipt-seqlocks+
-rw-r--r-- 1 root root 92M Dec 15 16:28 /boot/initrd.img-2.6.35-net-next-03166-g001389b
-rw-r--r-- 1 root root 11M Aug 23 2010 /boot/initrd.img-2.6.35.3-comx01+
-rw-r--r-- 1 root root 11M Aug 27 2010 /boot/initrd.img-2.6.35.4-comx01+
-rw-r--r-- 1 root root 11M Oct 8 11:56 /boot/initrd.img-2.6.35.7-comx01+
-rw-r--r-- 1 root root 11M Nov 10 15:06 /boot/initrd.img-2.6.35.8-comx01+
-rw-r--r-- 1 root root 11M Feb 22 17:32 /boot/initrd.img-2.6.35.8-comx02+
-rw-r--r-- 1 root root 11M Dec 21 16:27 /boot/initrd.img-2.6.36.2-comx02-ipt-seqlocks+
-rw-r--r-- 1 root root 26M Mar 2 17:30 /boot/initrd.img-2.6.38-rc5-02558-g07df529
-rw-r--r-- 1 root root 23M Mar 2 14:15 /boot/initrd.img-2.6.38-rc5-02558-g07df529-old
-rw-r--r-- 1 root root 23M Mar 2 14:18 /boot/initrd.img-2.6.38-rc5-02558-g07df529-test
-rw-r--r-- 1 root root 25M Mar 7 11:58 /boot/initrd.img-2.6.38-rc7-comx-next-00163-gfb62c00
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-2.6.38-rc7-comx-next-00163-gfb62c00 root=UUID=7afb0175-deb2-4dc4-9a48-bf075cb14ca2 ro quiet

-- resume
RESUME=/dev/cciss/c0d0p7
-- /proc/filesystems
ext3
ext2
ext4
iso9660
btrfs

-- lsmod
Module Size Used by
iptable_filter 1786 0
8021q 18943 0
ip_gre 15744 0
gre 2325 1 ip_gre
ipv6 309856 89 ip_gre
btrfs 533491 0
nf_conntrack 74394 0
ip_tables 17652 1 iptable_filter
loop 17882 0
pcspkr 1998 0
ipmi_si 44289 0
ipmi_msghandler 36211 1 ipmi_si
ata_piix 23076 0
ixgbe 131340 0
hpsa 39284 7
igb 105524 0
netxen_nic 91789 0

-- /etc/initramfs-tools/modules

-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
BOOT=local
DEVICE=
NFSROOT=auto

-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no

-- /proc/mdstat
Personalities :
unused devices: <none>

-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:

/usr/share/initramfs-tools/hooks:
busybox
dmsetup
keymap
klibc
thermal
udev


-- System Information:
Debian Release: 6.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-rc7-comx-next-00163-gfb62c00 (SMP w/16 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initramfs-tools depends on:
ii cpio 2.11-4 GNU cpio -- a program to manage ar
ii findutils 4.4.2-1+b1 utilities for finding files--find,
ii klibc-utils 1.5.20-1 small utilities built with klibc f
ii module-init-tools 3.12-1 tools for managing Linux kernel mo
ii udev 164-3 /dev/ and hotplug management daemo

Versions of packages initramfs-tools recommends:
ii busybox 1:1.17.1-8 Tiny utilities for small and embed

Versions of packages initramfs-tools suggests:
ii bash-completion 1:1.2-3 programmable completion for the ba

-- no debconf information



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110307155314.19199.32943.reportbug@localhost.loc aldomain">http://lists.debian.org/20110307155314.19199.32943.reportbug@localhost.loc aldomain

Ben Hutchings 03-07-2011 03:33 PM

Bug#617256: initramfs-tools: HP G6 hardware kernel boot issue > 2.6.37 cciss/hpsa
 
On Mon, Mar 07, 2011 at 04:53:14PM +0100, Jesper Dangaard Brouer wrote:
> Package: initramfs-tools
> Version: 0.98.8
> Severity: normal

I'm not sure this is really the fault of initramfs-tools.

We need to update device names as for the libata transition, and I
have prepared changes to linux-base that will do this.

> 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/...
[...]

Are you really saying that:

1. If only hpsa is included, then the /dev/disk/by-uuid link is
created properly.
2. If both hpsa and cciss are included then the link is not created
properly.

Ben.

--
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
- Albert Camus



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110307163350.GQ19810@decadent.org.uk">http://lists.debian.org/20110307163350.GQ19810@decadent.org.uk

Jesper Dangaard Brouer 03-08-2011 08:12 AM

Bug#617256: initramfs-tools: HP G6 hardware kernel boot issue > 2.6.37 cciss/hpsa
 
On Mon, 2011-03-07 at 16:33 +0000, Ben Hutchings wrote:

> I'm not sure this is really the fault of initramfs-tools.

I'll post some more output/info shortly, which hopefully will help
tracking down the issue.

> We need to update device names as for the libata transition, and I
> have prepared changes to linux-base that will do this.

[...]
> > == 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/...
> [...]
>
> Are you really saying that:
>
> 1. If only hpsa is included, then the /dev/disk/by-uuid link is
> created properly.
> 2. If both hpsa and cciss are included then the link is not created
> properly.

Correct, that is what I'm saying!





--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1299575523.9888.9.camel@firesoul.comx.local">http://lists.debian.org/1299575523.9888.9.camel@firesoul.comx.local


All times are GMT. The time now is 01:05 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.