Bug#644850: linux-image-2.6.32-5-kirkwood: 2.6.32-38 does not recognise USB harddisks any longer
Package: linux-2.6
Version: 2.6.32-38
Severity: normal
Hi all,
after upgrading my Sheeva plug from Debian 6.0.2 to 6.0.3 also the kernel version
2.6.32-38 was installed. Since then my two Western Digital
USB harddisk are no longer recognised. The kernel is reporting:
[ 232.030408] scsi_mod: Unknown symbol blk_get_queue
[ 232.041504] scsi_mod: Unknown symbol blk_put_queue
"lsusb" is showing the disks, the block devices are missing though :
sheeva:~# lsusb
Bus 001 Device 005: ID 1058:1100 Western Digital Technologies, Inc.
Bus 001 Device 003: ID 1058:1100 Western Digital Technologies, Inc.
Bus 001 Device 002: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
sheeva:~# ls -l /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 15 Oct 9 19:04 01a4a7e9-2da7-4055-bf04-41ff3a00d692 -> ../../mmcblk0p1
lrwxrwxrwx 1 root root 15 Oct 9 19:04 87413beb-de04-4716-a6de-be2b1bef095a -> ../../mmcblk0p2
lrwxrwxrwx 1 root root 15 Oct 9 19:04 d164bff8-cdda-4d73-b1d9-68bc20f7f21f -> ../../mmcblk0p3
sheeva:~#
Kind regards, Joerg.
-- Package-specific info:
** Version:
Linux version 2.6.32-5-kirkwood (Debian 2.6.32-30) (ben@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 Wed Jan 12 15:27:07 UTC 2011
Kernel: Linux 2.6.32-5-kirkwood
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages linux-image-2.6.32-5-kirkwood depends on:
ii debconf [debconf-2.0] 1.5.36.1 Debian configuration management sy
ii initramfs-tools [linux-initra 0.98.8 tools for generating an initramfs
ii linux-base 2.6.32-38 Linux image base package
ii module-init-tools 3.12-1 tools for managing Linux kernel mo
Versions of packages linux-image-2.6.32-5-kirkwood recommends:
pn firmware-linux-free <none> (no description available)
ii uboot-mkimage 0.4 generate kernel image for U-Boot
Versions of packages linux-image-2.6.32-5-kirkwood suggests:
pn fdutils <none> (no description available)
pn linux-doc-2.6.32 <none> (no description available)
Versions of packages linux-image-2.6.32-5-kirkwood is related to:
pn firmware-bnx2 <none> (no description available)
pn firmware-bnx2x <none> (no description available)
pn firmware-ipw2x00 <none> (no description available)
pn firmware-ivtv <none> (no description available)
pn firmware-iwlwifi <none> (no description available)
pn firmware-linux <none> (no description available)
pn firmware-linux-nonfree <none> (no description available)
pn firmware-qlogic <none> (no description available)
pn firmware-ralink <none> (no description available)
pn xen-hypervisor <none> (no description available)
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111009172345.1302.41321.reportbug@sheeva">http://lists.debian.org/20111009172345.1302.41321.reportbug@sheeva
10-09-2011, 05:46 PM
Jonathan Nieder
Bug#644850: linux-image-2.6.32-5-kirkwood: 2.6.32-38 does not recognise USB harddisks any longer
Hi,
Joerg Morbitzer wrote:
> Package: linux-2.6
> Version: 2.6.32-38
[...]
> Linux version 2.6.32-5-kirkwood (Debian 2.6.32-30) (ben@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 Wed Jan 12 15:27:07 UTC 2011
Was the new kernel flashed correctly? Does rebooting help?
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111009174621.GA30976@elie.hsd1.il.comcast.net">h ttp://lists.debian.org/20111009174621.GA30976@elie.hsd1.il.comcast.net
10-09-2011, 06:07 PM
Joerg Morbitzer
Bug#644850: linux-image-2.6.32-5-kirkwood: 2.6.32-38 does not recognise USB harddisks any longer
On 10/09/2011 07:46 PM, Jonathan Nieder wrote:
> Hi,
>
> Joerg Morbitzer wrote:
>
>> Package: linux-2.6
>> Version: 2.6.32-38
> [...]
>> Linux version 2.6.32-5-kirkwood (Debian 2.6.32-30) (ben@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 Wed Jan 12 15:27:07 UTC 2011
>
> Was the new kernel flashed correctly?
Mmmh, I am quite sure that I didn't see any error message when running
the upgrade to 6.0.3, and I can find those messages in /var/log/dpkg.log ...
2011-10-09 17:27:03 configure linux-image-2.6.32-5-kirkwood 2.6.32-38
2.6.32-38
2011-10-09 17:27:03 status unpacked linux-image-2.6.32-5-kirkwood 2.6.32-38
2011-10-09 17:27:04 status half-configured linux-image-2.6.32-5-kirkwood
2.6.32-38
2011-10-09 17:28:05 status installed linux-image-2.6.32-5-kirkwood 2.6.32-38
..., however, I just re-flashed the kernel ...
sheeva:~# flash-kernel
Generating kernel u-boot image... done.
Creating backup of /boot/uImage.
Creating new /boot/uImage.
Generating initrd u-boot image... done.
Creating backup of /boot/uInitrd.
Creating new /boot/uInitrd.
sheeva:~#
... did a reboot ... and there you go, the USB disks get recognised
again. Fixed for me at least.
So I assume the new kernel wasn't really flashed. On the other hand: if
the previous kernel was still in place why would it suddenly fail?
Strange ...
Kind regards, Joerg.
Does rebooting help?
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4E91E2E2.3080505@morbitzer.de">http://lists.debian.org/4E91E2E2.3080505@morbitzer.de
10-09-2011, 06:16 PM
Jonathan Nieder
Bug#644850: linux-image-2.6.32-5-kirkwood: 2.6.32-38 does not recognise USB harddisks any longer
Joerg Morbitzer wrote:
> Mmmh, I am quite sure that I didn't see any error message when running
> the upgrade to 6.0.3, and I can find those messages in /var/log/dpkg.log ...
>
> 2011-10-09 17:27:03 configure linux-image-2.6.32-5-kirkwood 2.6.32-38
> 2.6.32-38
> 2011-10-09 17:27:03 status unpacked linux-image-2.6.32-5-kirkwood 2.6.32-38
> 2011-10-09 17:27:04 status half-configured linux-image-2.6.32-5-kirkwood
> 2.6.32-38
> 2011-10-09 17:28:05 status installed linux-image-2.6.32-5-kirkwood 2.6.32-38
>
> ..., however, I just re-flashed the kernel ...
[...]
> ... did a reboot ... and there you go, the USB disks get recognised
> again. Fixed for me at least.
Hm, what version of flash-kernel do you have installed? Please also send
the output of
grep . /etc/kernel/postinst.d/*
so we can see whether the hooks are set up correctly.
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111009181657.GB30976@elie.hsd1.il.comcast.net">h ttp://lists.debian.org/20111009181657.GB30976@elie.hsd1.il.comcast.net
10-09-2011, 06:34 PM
Jonas Smedegaard
Bug#644850: linux-image-2.6.32-5-kirkwood: 2.6.32-38 does not recognise USB harddisks any longer
On 11-10-09 at 08:07pm, Joerg Morbitzer wrote:
> On the other hand: if the previous kernel was still in place why would
> it suddenly fail?
I believe the answer to above is that the new kernel did not change ABI
and therefore modules got installed instead of the old ones (not aside
them) - causing the old kernel to try load new modules and failing.
[x] quote me freely [ ] ask before reusing [ ] keep private
10-09-2011, 07:24 PM
Joerg Morbitzer
Bug#644850: linux-image-2.6.32-5-kirkwood: 2.6.32-38 does not recognise USB harddisks any longer
On 10/09/2011 08:16 PM, Jonathan Nieder wrote:
> Joerg Morbitzer wrote:
>
>> Mmmh, I am quite sure that I didn't see any error message when running
>> the upgrade to 6.0.3, and I can find those messages in /var/log/dpkg.log ...
>>
>> 2011-10-09 17:27:03 configure linux-image-2.6.32-5-kirkwood 2.6.32-38
>> 2.6.32-38
>> 2011-10-09 17:27:03 status unpacked linux-image-2.6.32-5-kirkwood 2.6.32-38
>> 2011-10-09 17:27:04 status half-configured linux-image-2.6.32-5-kirkwood
>> 2.6.32-38
>> 2011-10-09 17:28:05 status installed linux-image-2.6.32-5-kirkwood 2.6.32-38
>>
>> ..., however, I just re-flashed the kernel ...
> [...]
>> ... did a reboot ... and there you go, the USB disks get recognised
>> again. Fixed for me at least.
>
> Hm, what version of flash-kernel do you have installed? Please also send
> the output of
>
> grep . /etc/kernel/postinst.d/*
>
> so we can see whether the hooks are set up correctly.
---------------------------------- cut --------------------------
sheeva:~# dpkg -l | grep flash-kernel
ii flash-kernel 2.37
utility to make certain embedded devices bootable
sheeva:~#
---------------------------------- cut --------------------------
---------------------------------- cut --------------------------
sheeva:~# grep . /etc/kernel/postinst.d/*
#!/bin/sh
version="$1"
bootopt=""
# passing the kernel version is required
[ -z "${version}" ] && exit 0
# kernel-package passes an extra arg
if [ -n "$2" ]; then
if [ -n "${KERNEL_PACKAGE_VERSION}" ]; then
# exit if custom kernel does not need an initramfs
[ "$INITRD" = 'No' ] && exit 0
bootdir=$(dirname "$2")
bootopt="-b ${bootdir}"
else
# official Debian linux-images take care themself
exit 0
fi
fi
# avoid running multiple times
if [ -n "$DEB_MAINT_PARAMS" ]; then
eval set -- "$DEB_MAINT_PARAMS"
if [ -z "$1" ] || [ "$1" != "configure" ]; then
exit 0
fi
fi
# we're good - create initramfs. update runs do_bootloader
update-initramfs -c -t -k "${version}" ${bootopt} >&2
sheeva:~#
---------------------------------- cut --------------------------
Regards, Joerg.
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4E91F4D9.8000506@morbitzer.de">http://lists.debian.org/4E91F4D9.8000506@morbitzer.de
10-09-2011, 07:44 PM
Ben Hutchings
Bug#644850: linux-image-2.6.32-5-kirkwood: 2.6.32-38 does not recognise USB harddisks any longer
On Sun, 2011-10-09 at 21:24 +0200, Joerg Morbitzer wrote:
> On 10/09/2011 08:16 PM, Jonathan Nieder wrote:
> > Joerg Morbitzer wrote:
> >
> >> Mmmh, I am quite sure that I didn't see any error message when running
> >> the upgrade to 6.0.3, and I can find those messages in /var/log/dpkg.log ...
> >>
> >> 2011-10-09 17:27:03 configure linux-image-2.6.32-5-kirkwood 2.6.32-38
> >> 2.6.32-38
> >> 2011-10-09 17:27:03 status unpacked linux-image-2.6.32-5-kirkwood 2.6.32-38
> >> 2011-10-09 17:27:04 status half-configured linux-image-2.6.32-5-kirkwood
> >> 2.6.32-38
> >> 2011-10-09 17:28:05 status installed linux-image-2.6.32-5-kirkwood 2.6.32-38
> >>
> >> ..., however, I just re-flashed the kernel ...
> > [...]
> >> ... did a reboot ... and there you go, the USB disks get recognised
> >> again. Fixed for me at least.
> >
> > Hm, what version of flash-kernel do you have installed? Please also send
> > the output of
> >
> > grep . /etc/kernel/postinst.d/*
> >
> > so we can see whether the hooks are set up correctly.
>
> ---------------------------------- cut --------------------------
> sheeva:~# dpkg -l | grep flash-kernel
> ii flash-kernel 2.37
> utility to make certain embedded devices bootable
> sheeva:~#
> ---------------------------------- cut --------------------------
>
>
> ---------------------------------- cut --------------------------
> sheeva:~# grep . /etc/kernel/postinst.d/*
> #!/bin/sh
> version="$1"
> bootopt=""
[...]
This is the usual initramfs-tools hook script. In 'squeeze',
update-initramfs is supposed to run flash-kernel.
When you saw this problem, had you rebooted since the kernel upgrade?
Ben.
--
Ben Hutchings
Reality is just a crutch for people who can't handle science fiction.
10-09-2011, 08:02 PM
Joerg Morbitzer
Bug#644850: linux-image-2.6.32-5-kirkwood: 2.6.32-38 does not recognise USB harddisks any longer
After upgrading to Debian 6.0.3 I rebooted straight away, ending up with the issue I mentioned. Rebooting again did not help, I had to run flash-kernel to fix things...
Regards, Joerg.
Ben Hutchings <ben@decadent.org.uk> schrieb:
On Sun, 2011-10-09 at 21:24 +0200, Joerg Morbitzer wrote:
> On 10/09/2011 08:16 PM, Jonathan Nieder wrote:
> > Joerg Morbitzer wrote:
> >
> >> Mmmh, I am quite sure that I didn't see any error message when running
> >> the upgrade to 6.0.3, and I can find those messages in /var/log/dpkg.log ...
> >>
> >> 2011-10-09 17:27:03 configure linux-image-2.6.32-5-kirkwood 2.6.32-38
> >> 2.6.32-38
> >> 2011-10-09 17:27:03 status unpacked linux-image-2.6.32-5-kirkwood 2.6.32-38
> >> 2011-10-09 17:27:04 status half-configured linux-image-2.6.32-5-kirkwood
> >> 2.6.32-38
> >> 2011-10-09 17:28:05 status installed linux-image-2.6.32-5-kirkwood 2.6.32-38
> >>
> >> ..., however, I just re-flashed the kernel ...
> > [..!
.]
> >> ... did a reboot ... and there you go, the USB disks get recognised
> >> again. Fixed for me at least.
> >
> > Hm, what version of flash-kernel do you have installed? Please also send
> > the output of
> >
> > grep . /etc/kernel/postinst.d/*
> >
> > so we can see whether the hooks are set up correctly.
>
>cut --------------------------
> sheeva:~# dpkg -l | grep flash-kernel
> ii flash-kernel 2.37
> utility to make certain embedded devices bootable
> sheeva:~#
>cut --------------------------
>
>
>cut --------------------------
> sheeva:~# grep . /etc/kernel/postinst.d/*
> #!/bin/sh
> version="$1"
> bootopt=""
[...]
This is the usual initramfs-tools hook script. In 'squeeze',
update-init!
ramfs is
supposed to run flash-kernel.
When you saw this problem, had you rebooted since the kernel upgrade?
Ben.
--
Ben Hutchings
Reality is just a crutch for people who can't handle science fiction.
10-09-2011, 08:08 PM
Ben Hutchings
Bug#644850: linux-image-2.6.32-5-kirkwood: 2.6.32-38 does not recognise USB harddisks any longer
On Sun, 2011-10-09 at 22:02 +0200, Joerg Morbitzer wrote:
> After upgrading to Debian 6.0.3 I rebooted straight away, ending up
> with the issue I mentioned. Rebooting again did not help, I had to run
> flash-kernel to fix things...
Seems like this could be a bug in initramfs-tools. I've reassigned it.
Ben.
--
Ben Hutchings
Reality is just a crutch for people who can't handle science fiction.
10-24-2011, 11:51 PM
Dominique Lenoir
Bug#644850: linux-image-2.6.32-5-kirkwood: 2.6.32-38 does not recognise USB harddisks any longer
Good evening,
Same problem here, My outputs were similar to Joerg's.
I reflashed the kernel (twice), but still have the two errors, and my USB drive
is not recognized.
Any idea?
Regards,
Dominique
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201110241952.14002.dlenoir@videotron.ca">http://lists.debian.org/201110241952.14002.dlenoir@videotron.ca