[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#344366: kernel-image-2.6.8-2-686: Samsung SFD-321U/EP detects as 8 LUNs



Package: kernel-image-2.6.8-2-686
Version: 2.6.8-16
Severity: normal
Tags: patch

Hello kernel team,

I have a problem with my USB Floppy Drive -- it detects as eight
separate LUNs and none of them function properly :(  I did some
searching and it seems that someone at SuSe ran into, and fixed this
problem already in their kernel-source-2.6.13-15.7 package.

Following this is an excerpt from my boot messages showing the problem,
and attached is the patch included by Suse in their new kernel (released
at the beginning of the month).  I would appreciate it if you could
included it in future debian kernels and forward it upstream.

Thanks,
--Joe

---------8<----------
USB Mass Storage support registered.
usb 2-1: new full speed USB device using address 4
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detected
usb 2-1.1: new full speed USB device using address 5
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor: SMSC      Model: USB FDC           Rev: 2.10
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
  Vendor: SMSC      Model: USB FDC           Rev: 2.10
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sdb at scsi0, channel 0, id 0, lun 1
  Vendor: SMSC      Model: USB FDC           Rev: 2.10
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sdc at scsi0, channel 0, id 0, lun 2
  Vendor: SMSC      Model: USB FDC           Rev: 2.10
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sdd at scsi0, channel 0, id 0, lun 3
  Vendor: SMSC      Model: USB FDC           Rev: 2.10
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sde at scsi0, channel 0, id 0, lun 4
  Vendor: SMSC      Model: USB FDC           Rev: 2.10
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sdf at scsi0, channel 0, id 0, lun 5
  Vendor: SMSC      Model: USB FDC           Rev: 2.10
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sdg at scsi0, channel 0, id 0, lun 6
  Vendor: SMSC      Model: USB FDC           Rev: 2.10
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sdh at scsi0, channel 0, id 0, lun 7
--------->8----------


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages kernel-image-2.6.8-2-686 depends on:
ii  coreutils [fileutils]         5.2.1-2    The GNU core utilities
ii  initrd-tools                  0.1.81.1   tools to create initrd image for p
ii  module-init-tools             3.2-pre1-2 tools for managing Linux kernel mo

kernel-image-2.6.8-2-686 recommends no packages.

-- no debconf information
--- Begin Message ---
USB floppy drive SAMSUNG SFD-321U/EP detected 8 times

Acked-by: mantel@suse.de

diff -urNp linux-2.6.13/drivers/usb/storage/unusual_devs.h linux-2.6.13.SUSE/drivers/usb/storage/unusual_devs.h
--- linux-2.6.13/drivers/usb/storage/unusual_devs.h	2005-10-27 14:16:25.369102521 +0200
+++ linux-2.6.13.SUSE/drivers/usb/storage/unusual_devs.h	2005-10-27 14:17:29.827897180 +0200
@@ -481,6 +481,13 @@ UNUSUAL_DEV(  0x054c, 0x0099, 0x0000, 0x
                 US_SC_DEVICE, US_PR_DEVICE, NULL,
                 US_FL_FIX_INQUIRY ),
 
+/* floppy reports multiple luns */
+UNUSUAL_DEV(  0x055d, 0x2020, 0x0000, 0x0210,
+               "SAMSUNG",
+               "SFD-321U [FW 0C]",
+               US_SC_DEVICE, US_PR_DEVICE, NULL,
+               US_FL_SINGLE_LUN ),
+
 		
 UNUSUAL_DEV(  0x057b, 0x0000, 0x0000, 0x0299, 
 		"Y-E Data",

--- End Message ---

Reply to: