[Pkg-utopia-maintainers] Bug#529746: devicekit-disks (still) breaks usb mass storage support
Justin Vander Ziel
zielot at gmail.com
Thu Jun 4 08:14:02 UTC 2009
Package: devicekit-disks
Version: 004-1
Severity: normal
My Kingmax USB thumbdrive stopped working after installing
devicekit-disks. Specifically, I was not able to mount the partition
using pmount nor use fdisk to view the partition information on the
drive. As the previous user indicated the problem seems to be a conflict with
another daemon as subsequent execution of 'ls /dev/sd*' result in the appearance
and disappearance of my partition /dev/sda1. Also I see repeated entries
with the following pattern in the kern log:
4.645457] sd 0:0:0:0: [sda] 7897087 512-byte hardware sectors: (4.04
GB/3.76 GiB
4.648662] sd 0:0:0:0: [sda] Write Protect is off
4.648671] sd 0:0:0:0: [sda] Mode Sense: 00 00 00 00
4.648678] sd 0:0:0:0: [sda] Assuming drive cache: write through
Also with some regularity the kernel log seems to indicate a disk failure:
4.173585] sda:<2>ldm_validate_partition_table(): Disk read failed.
4.174713] Dev sda: unable to read RDB block 0
4.175269] unable to read partition table
However, the drive works fine on Ubuntu (latest) using Linux
2.6.28 and under Windows XP. Also Windows XP does not report any device nor
partition problems.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.29-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages devicekit-disks depends on:
ii devicekit 003-1 abstraction for enumerating device
ii libatasmart0 0.13-1 ATA S.M.A.R.T. reading and parsing
ii libc6 2.9-13 GNU C Library: Shared libraries
ii libdbus-1-3 1.2.14-2 simple interprocess messaging syst
ii libdbus-glib-1 0.80-4 simple interprocess messaging syst
ii libdevkit-gobj 003-1 abstraction for enumerating device
ii libdevmapper1. 2:1.02.30-3 The Linux Kernel Device Mapper use
ii libglib2.0-0 2.20.1-2 The GLib library of C routines
ii libparted1.8-1 1.8.8.git.2008.03.24-11.1 The GNU Parted disk partitioning s
ii libpolkit-dbus 0.9-3 library for accessing PolicyKit vi
ii libpolkit2 0.9-3 library for accessing PolicyKit
ii libsqlite3-0 3.6.13-1 SQLite 3 shared library
ii libudev0 0.141-1 libudev shared library
ii zlib1g 1:1.2.3.3.dfsg-13 compression library - runtime
devicekit-disks recommends no packages.
devicekit-disks suggests no packages.
-- no debconf information
*** /home/zielot/devicekit-disks_bug
Jun 1 21:40:59 nacholibre kernel: [ 152.221267] Initializing USB Mass Storage driver...
Jun 1 21:40:59 nacholibre kernel: [ 152.224883] usbcore: registered new interface driver usb-storage
Jun 1 21:40:59 nacholibre kernel: [ 152.228729] USB Mass Storage support registered.
Jun 1 21:40:59 nacholibre kernel: [ 152.521934] Hangcheck: starting hangcheck timer 0.9.0 (t
Jun 1 21:41:29 nacholibre kernel: [ 257.664538] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun 1 21:41:29 nacholibre kernel: [ 257.664545] usb 1-1: Product: USB2.0 FlashDisk
Jun 1 21:41:29 nacholibre kernel: [ 257.664550] usb 1-1: Manufacturer: Kingmax
Jun 1 21:41:29 nacholibre kernel: [ 257.664555] usb 1-1: SerialNumber: 02000000000193
Jun 1 21:41:29 nacholibre kernel: [ 257.664780] usb 1-1: configuration #1 chosen from 1 choice
Jun 1 21:41:29 nacholibre kernel: [ 257.739888] scsi0 : SCSI emulation for USB Mass Storage devices
Jun 1 21:41:29 nacholibre kernel: [ 257.744973] usb-storage: device found at 2
Jun 1 21:41:29 nacholibre kernel: [ 257.744983] usb-storage: waiting for device to settle before scanning
Jun 1 21:41:34 nacholibre kernel: [ 262.745905] usb-storage: device scan complete
Jun 1 21:41:34 nacholibre kernel: [ 262.749908] scsi 0:0:0:0: Direct-Access Kingmax USB2.0 FlashDisk 0.00 PQ: 0 ANSI: 2
Jun 1 21:41:34 nacholibre kernel: [ 262.870139] Driver 'sd' needs updating - please use bus_type methods
Jun 1 21:41:34 nacholibre kernel: [ 262.875810] sd 0:0:0:0: [sda] 7897087 512-byte hardware sectors: (4.04 GB/3.76 GiB)
Jun 1 21:41:34 nacholibre kernel: [ 262.879744] sd 0:0:0:0: [sda] Write Protect is off
Jun 1 21:41:34 nacholibre kernel: [ 262.879755] sd 0:0:0:0: [sda] Mode Sense: 00 00 00 00
Jun 1 21:41:34 nacholibre kernel: [ 262.879762] sd 0:0:0:0: [sda] Assuming drive cache: write through
Jun 1 21:41:34 nacholibre kernel: [ 262.892731] sd 0:0:0:0: [sda] 7897087 512-byte hardware sectors: (4.04 GB/3.76 GiB)
Jun 1 21:41:34 nacholibre kernel: [ 262.895714] sd 0:0:0:0: [sda] Write Protect is off
Jun 1 21:41:34 nacholibre kernel: [ 262.895722] sd 0:0:0:0: [sda] Mode Sense: 00 00 00 00
Jun 1 21:41:34 nacholibre kernel: [ 262.895729] sd 0:0:0:0: [sda] Assuming drive cache: write through
Jun 1 21:41:34 nacholibre kernel: [ 262.895745] sda: sda1
Jun 1 21:41:34 nacholibre kernel: [ 262.965187] sd 0:0:0:0: [sda] Attached SCSI removable disk
Jun 1 21:41:35 nacholibre kernel: [ 263.964555] sd 0:0:0:0: [sda] 7897087 512-byte hardware sectors: (4.04 GB/3.76 GiB)
Jun 1 21:41:35 nacholibre kernel: [ 264.040242] sd 0:0:0:0: [sda] Write Protect is off
Jun 1 21:41:35 nacholibre kernel: [ 264.040256] sd 0:0:0:0: [sda] Mode Sense: 00 00 00 00
Jun 1 21:41:35 nacholibre kernel: [ 264.040263] sd 0:0:0:0: [sda] Assuming drive cache: write through
Jun 1 21:41:35 nacholibre kernel: [ 264.107536] sd 0:0:0:0: [sda] 7897087 512-byte hardware sectors: (4.04 GB/3.76 GiB)
Jun 1 21:41:35 nacholibre kernel: [ 264.173552] sd 0:0:0:0: [sda] Write Protect is off
Jun 1 21:41:35 nacholibre kernel: [ 264.173565] sd 0:0:0:0: [sda] Mode Sense: 00 00 00 00
Jun 1 21:41:35 nacholibre kernel: [ 264.173572] sd 0:0:0:0: [sda] Assuming drive cache: write through
Jun 1 21:41:35 nacholibre kernel: [ 264.173585] sda:<2>ldm_validate_partition_table(): Disk read failed.
Jun 1 21:41:35 nacholibre kernel: [ 264.174713] Dev sda: unable to read RDB block 0
Jun 1 21:41:35 nacholibre kernel: [ 264.175269] unable to read partition table
Jun 1 21:41:36 nacholibre kernel: [ 264.632446] sd 0:0:0:0: [sda] 7897087 512-byte hardware sectors: (4.04 GB/3.76 GiB)
Jun 1 21:41:36 nacholibre kernel: [ 264.640456] sd 0:0:0:0: [sda] Write Protect is off
Jun 1 21:41:36 nacholibre kernel: [ 264.640467] sd 0:0:0:0: [sda] Mode Sense: 00 00 00 00
Jun 1 21:41:36 nacholibre kernel: [ 264.640473] sd 0:0:0:0: [sda] Assuming drive cache: write through
Jun 1 21:41:36 nacholibre kernel: [ 264.645457] sd 0:0:0:0: [sda] 7897087 512-byte hardware sectors: (4.04 GB/3.76 GiB)
Jun 1 21:41:36 nacholibre kernel: [ 264.648662] sd 0:0:0:0: [sda] Write Protect is off
Jun 1 21:41:36 nacholibre kernel: [ 264.648671] sd 0:0:0:0: [sda] Mode Sense: 00 00 00 00
Jun 1 21:41:36 nacholibre kernel: [ 264.648678] sd 0:0:0:0: [sda] Assuming drive cache: write through
Jun 1 21:41:36 nacholibre kernel: [ 264.648688] sda: sda1
Jun 1 21:41:37 nacholibre kernel: [ 265.548290] sd 0:0:0:0: [sda] 7897087 512-byte hardware sectors: (4.04 GB/3.76 GiB)
Jun 1 21:41:37 nacholibre kernel: [ 265.551270] sd 0:0:0:0: [sda] Write Protect is off
Jun 1 21:41:37 nacholibre kernel: [ 265.551278] sd 0:0:0:0: [sda] Mode Sense: 00 00 00 00
Jun 1 21:41:37 nacholibre kernel: [ 265.551285] sd 0:0:0:0: [sda] Assuming drive cache: write through
Jun 1 21:41:37 nacholibre kernel: [ 265.558287] sd 0:0:0:0: [sda] 7897087 512-byte hardware sectors: (4.04 GB/3.76 GiB)
[zielot at nacholibre 7] ~ > ls /dev/sd*
/dev/sda
[02:36 uload:1.64 jobs:0]
[zielot at nacholibre 8] ~ > ls /dev/sd*
/dev/sda /dev/sda1
[02:36 uload:1.64 jobs:0]
[zielot at nacholibre 9] ~ > ls /dev/sd*
/dev/sda
[02:36 uload:1.64 jobs:0]
[zielot at nacholibre 10] ~ > ls /dev/sd*
/dev/sda
[02:36 uload:1.67 jobs:0]
[zielot at nacholibre 11] ~ > ls /dev/sd*
/dev/sda
[02:36 uload:1.67 jobs:0]
[zielot at nacholibre 12] ~ > ls /dev/sd*
/dev/sda /dev/sda1
Bus 001 Device 007: ID 1687:0163 Kingmax Digital Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x1687 Kingmax Digital Inc.
idProduct 0x0163
bcdDevice 1.00
iManufacturer 1 Kingmax
iProduct 2 USB2.0 FlashDisk
iSerial 3 02000000000193
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 80mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 8
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0000
(Bus Powered)
More information about the Pkg-utopia-maintainers
mailing list