[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-usb-users
Subject:    Re: [Linux-usb-users] HP 8200 cdrw problem with usb-storage
From:       Matthew Dharm <mdharm-usb () one-eyed-alien ! net>
Date:       2001-12-31 5:34:00
[Download RAW message or body]

Those messsages are normal.

Do you have SCSI CD-ROM support available?

Matt

On Sun, Dec 30, 2001 at 12:43:45PM +0100, Per Winkvist wrote:
> Hi,
> 
> It seems something gets wrong when I insmod the usb-storage module. I get
> bad luns/target.
> 
> Any hints ?
> 
> Per
> 
> 
> 
> dmesg
> -------
> Linux version 2.4.17 (root@localhost.localdomain) (gcc version 2.96 20000731 (Red \
> Hat Linux 7.1 2.96-98)) #1 fre dec 28 12:30:57 CET 2001 BIOS-provided physical RAM \
>                 map:
> BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
> BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
> BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
> BIOS-e820: 0000000000100000 - 0000000007ff0000 (usable)
> BIOS-e820: 0000000007ff0000 - 0000000007ff3000 (ACPI NVS)
> BIOS-e820: 0000000007ff3000 - 0000000008000000 (ACPI data)
> BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
> On node 0 totalpages: 32752
> zone(0): 4096 pages.
> zone(1): 28656 pages.
> zone(2): 0 pages.
> Kernel command line: ro root=/dev/sda1
> Initializing CPU#0
> Detected 451.026 MHz processor.
> Console: colour VGA+ 80x25
> Calibrating delay loop... 897.84 BogoMIPS
> Memory: 126880k/131008k available (983k kernel code, 3740k reserved, 299k data, \
> 196k init, 0k highmem) Dentry-cache hash table entries: 16384 (order: 5, 131072 \
> bytes) Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
> Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
> Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
> Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
> CPU: Before vendor init, caps: 0183f9ff 00000000 00000000, vendor = 0
> CPU: L1 I cache: 16K, L1 D cache: 16K
> CPU: L2 cache: 128K
> CPU: After vendor init, caps: 0183f9ff 00000000 00000000 00000000
> Intel machine check architecture supported.
> Intel machine check reporting enabled on CPU#0.
> CPU:     After generic, caps: 0183f9ff 00000000 00000000 00000000
> CPU:             Common caps: 0183f9ff 00000000 00000000 00000000
> CPU: Intel Celeron (Mendocino) stepping 00
> Enabling fast FPU save and restore... done.
> Checking 'hlt' instruction... OK.
> POSIX conformance testing by UNIFIX
> mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
> mtrr: detected mtrr type: Intel
> PCI: PCI BIOS revision 2.10 entry at 0xfb430, last bus=1
> PCI: Using configuration type 1
> PCI: Probing PCI hardware
> PCI: Using IRQ router PIIX [8086/7110] at 00:07.0
> Limiting direct PCI/PCI transfers.
> isapnp: Scanning for PnP cards...
> isapnp: No Plug & Play device found
> Linux NET4.0 for Linux 2.4
> Based upon Swansea University Computer Society NET3.039
> Initializing RT netlink socket
> apm: BIOS version 1.2 Flags 0x07 (Driver version 1.15)
> Starting kswapd
> Journalled Block Device driver loaded
> pty: 256 Unix98 ptys configured
> Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI \
> ISAPNP enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A
> ttyS01 at 0x02f8 (irq = 3) is a 16550A
> block: 128 slots per queue, batch=32
> Uniform Multi-Platform E-IDE driver Revision: 6.31
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> PIIX4: IDE controller on PCI bus 00 dev 39
> PIIX4: chipset revision 1
> PIIX4: not 100% native mode: will probe irqs later
> ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:pio, hdb:pio
> hda: IC35L040AVER07-0, ATA DISK drive
> hdb: NEC CD-ROM DRIVE:282, ATAPI CD/DVD-ROM drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> hda: 80418240 sectors (41174 MB) w/1916KiB Cache, CHS=79780/16/63, UDMA(33)
> hdb: ATAPI 32X CD-ROM drive, 256kB Cache, DMA
> Uniform CD-ROM driver Revision: 3.12
> Partition check:
> hda: hda1 hda2 hda3
> Floppy drive(s): fd0 is 1.44M
> FDC 0 is a post-1991 82077
> SCSI subsystem driver Revision: 1.00
> PCI: Found IRQ 11 for device 00:09.0
> DC390: 1 adapters found
> scsi0 : Tekram DC390/AM53C974 V2.0f1 2001-11-14
> Vendor: QUANTUM   Model: EMPIRE_1080S      Rev: 1242
> Type:   Direct-Access                      ANSI SCSI revision: 02
> Vendor: SEAGATE   Model: ST34520N          Rev: 1444
> Type:   Direct-Access                      ANSI SCSI revision: 02
> Attached scsi disk sda at scsi0, channel 0, id 2, lun 0
> Attached scsi disk sdb at scsi0, channel 0, id 4, lun 0
> DC390: Target 2: Sync transfer 10.0 MHz, Offset 15
> SCSI device sda: 2109376 512-byte hdwr sectors (1080 MB)
> sda: sda1 sda2
> DC390: Target 4: Sync transfer 10.0 MHz, Offset 15
> SCSI device sdb: 8888924 512-byte hdwr sectors (4551 MB)
> sdb: sdb1 sdb2 < sdb5 sdb6 sdb7 >
> mice: PS/2 mouse device common for all mice
> NET4: Linux TCP/IP 1.0 for NET4.0
> IP Protocols: ICMP, UDP, TCP, IGMP
> IP: routing cache hash table of 512 buckets, 4Kbytes
> TCP: Hash tables configured (established 8192 bind 8192)
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> kjournald starting.  Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
> VFS: Mounted root (ext3 filesystem) readonly.
> Freeing unused kernel memory: 196k freed
> Adding Swap: 265032k swap-space (priority -1)
> usb.c: registered new driver usbdevfs
> usb.c: registered new driver hub
> usb-uhci.c: $Revision: 1.268 $ time 12:56:03 Dec 28 2001
> usb-uhci.c: High bandwidth mode enabled
> usb-uhci.c: USB UHCI at I/O 0xe000, IRQ 11
> usb-uhci.c: Detected 2 ports
> usb.c: new USB bus registered, assigned bus number 1
> usb.c: kmalloc IF c7cb6580, numif 1
> usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1
> usb.c: USB device number 1 default language ID 0x0
> Product: USB UHCI Root Hub
> SerialNumber: e000
> hub.c: USB hub found
> hub.c: 2 ports detected
> hub.c: standalone hub
> hub.c: ganged power switching
> hub.c: global over-current protection
> hub.c: Port indicators are not supported
> hub.c: power on to power good time: 2ms
> hub.c: hub controller current requirement: 0mA
> hub.c: port removable status: RR
> hub.c: local power source is good
> hub.c: no over-current condition exists
> hub.c: enabling power on all ports
> usb.c: hub driver claimed interface c7cb6580
> usb.c: kusbd: /sbin/hotplug add 1
> hub.c: port 2 connection change
> hub.c: port 2, portstatus 101, change 1, 12 Mb/s
> usb-uhci.c: v1.268:USB Universal Host Controller Interface driver
> hub.c: port 2, portstatus 103, change 0, 12 Mb/s
> hub.c: USB new device connect on bus1/2, assigned device number 2
> usb.c: kmalloc IF c7cb6660, numif 1
> usb.c: new device strings: Mfr=0, Product=1, SerialNumber=0
> usb.c: USB device number 2 default language ID 0x409
> Product: HP USB CD-Writer Plus
> usb.c: unhandled interfaces on device
> usb.c: USB device 2 (vend/prod 0x3f0/0x207) is not claimed by any active driver.
> Length              = 18
> DescriptorType      = 01
> USB version         = 1.00
> Vendor:Product      = 03f0:0207
> MaxPacketSize0      = 16
> NumConfigurations   = 1
> Device version      = 0.01
> Device Class:SubClass:Protocol = 00:00:00
> Per-interface classes
> Configuration:
> bLength             =    9
> bDescriptorType     =   02
> wTotalLength        = 0027
> bNumInterfaces      =   01
> bConfigurationValue =   01
> iConfiguration      =   00
> bmAttributes        =   40
> MaxPower            =    0mA
> 
> Interface: 0
> Alternate Setting:  0
> bLength             =    9
> bDescriptorType     =   04
> bInterfaceNumber    =   00
> bAlternateSetting   =   00
> bNumEndpoints       =   03
> bInterface Class:SubClass:Protocol =   ff:01:ff
> iInterface          =   00
> Endpoint:
> bLength             =    7
> bDescriptorType     =   05
> bEndpointAddress    =   81 (in)
> bmAttributes        =   03 (Interrupt)
> wMaxPacketSize      = 0004
> bInterval           =   05
> Endpoint:
> bLength             =    7
> bDescriptorType     =   05
> bEndpointAddress    =   82 (in)
> bmAttributes        =   02 (Bulk)
> wMaxPacketSize      = 0040
> bInterval           =   00
> Endpoint:
> bLength             =    7
> bDescriptorType     =   05
> bEndpointAddress    =   03 (out)
> bmAttributes        =   02 (Bulk)
> wMaxPacketSize      = 0040
> bInterval           =   00
> usb.c: kusbd: /sbin/hotplug add 2
> EXT3 FS 2.4-0.9.16, 02 Dec 2001 on sd(8,1), internal journal
> Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
> sb: No ISAPnP cards found, trying standard ones...
> SB 4.12 detected OK (220)
> kjournald starting.  Commit interval 5 seconds
> EXT3 FS 2.4-0.9.16, 02 Dec 2001 on sd(8,21), internal journal
> EXT3-fs: mounted filesystem with ordered data mode.
> kjournald starting.  Commit interval 5 seconds
> EXT3 FS 2.4-0.9.16, 02 Dec 2001 on ide0(3,1), internal journal
> EXT3-fs: mounted filesystem with ordered data mode.
> kjournald starting.  Commit interval 5 seconds
> EXT3 FS 2.4-0.9.16, 02 Dec 2001 on ide0(3,2), internal journal
> EXT3-fs: mounted filesystem with ordered data mode.
> input0: Mouse Systems Mouse on serio0
> serio0: Serial port ttyS0
> Initializing USB Mass Storage driver...
> usb.c: registered new driver usb-storage
> usb-storage: act_altsettting is 0
> usb-storage: id_index calculated to be: 3
> usb-storage: Array length appears to be: 55
> usb-storage: Vendor: HP
> usb-storage: Product: CD-Writer+ 8200e
> usb-storage: USB Mass Storage device detected
> usb-storage: Endpoints: In: 0xc7f88534 Out: 0xc7f88548 Int: 0xc7f88520 (Period 5)
> usb-storage: New GUID 03f002070000000000000000
> usb-storage: Transport: SCM/ATAPI
> usb-storage: Protocol: 8070i
> usb-storage: INIT 1
> usb-storage: INIT 2
> usb-storage: INIT 3
> usb-storage: INIT 4
> usb-storage: INIT 5
> usb-storage: INIT 6
> usb-storage: INIT 7
> usb-storage: INIT 8
> usb-storage: INIT 9
> usb-storage: INIT 10
> usb-storage: INIT 11
> usb-storage: INIT 12
> usb-storage: INIT 13
> usb-storage: INIT 14
> usb-storage: INIT 15
> usb-storage: *** thread sleeping.
> scsi1 : SCSI emulation for USB Mass Storage devices
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Command INQUIRY (6 bytes)
> usb-storage: 12 00 00 00 ff 00 00 00 60 02 f9 c7
> usb-storage: Status = 00
> usb-storage: Transferred out 14 of 14 bytes
> usb-storage: Waited not busy for 0 steps
> usb-storage: Transferred out 12 of 12 bytes
> usb-storage: Waited not busy for 1 steps
> usb-storage: Transferred in 96 of 96 bytes
> usb-storage: 05 80 00 31 5B 00 00 00 48 50 20 20 20 20 20 20 
> usb-storage: 43 44 2D 57 72 69 74 65 72 2B 20 38 32 30 30 61 
> usb-storage: Fixing INQUIRY data to show SCSI rev 2
> usb-storage: scsi cmd done, result=0x0
> usb-storage: *** thread sleeping.
> Vendor: HP        Model: CD-Writer+ 8200a  Rev: 1.0g
> Type:   CD-ROM                             ANSI SCSI revision: 02
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Bad LUN (0/1)
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Bad target number (1/0)
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Bad target number (2/0)
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Bad target number (3/0)
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Bad target number (4/0)
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Bad target number (5/0)
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Bad target number (6/0)
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Bad target number (7/0)
> usb-storage: *** thread sleeping.
> WARNING: USB Mass Storage data integrity not assured
> USB Mass Storage device found at 2
> usb.c: usb-storage driver claimed interface c7cb6660
> USB Mass Storage support registered.
> 
> 
> 
> [root@localhost root]# file /dev/scd0
> /dev/scd0: block special (11/0)
> [root@localhost root]# mount /dev/scd0 /mnt/usbcd
> mount: /dev/scd0 is not a valid block device
> 
> 
> /proc/bus/usb/devices
> -----------------------
> T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
> B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
> D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=0000 ProdID=0000 Rev= 0.00
> S:  Product=USB UHCI Root Hub
> S:  SerialNumber=e000
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
> E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
> T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
> D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs=  1
> P:  Vendor=03f0 ProdID=0207 Rev= 0.01
> S:  Product=HP USB CD-Writer Plus
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=ff Driver=usb-storage
> E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=  5ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
> E:  Ad=03(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
> 
> 
> /proc/bus/usb/drivers
> -----------------------
> usbdevfs
> hub
> usb-storage
> 
> 
> /proc/scsi/scsi
> -----------------
> Attached devices: 
> Host: scsi0 Channel: 00 Id: 02 Lun: 00
> Vendor: QUANTUM  Model: EMPIRE_1080S     Rev: 1242
> Type:   Direct-Access                    ANSI SCSI revision: 02
> Host: scsi0 Channel: 00 Id: 04 Lun: 00
> Vendor: SEAGATE  Model: ST34520N         Rev: 1444
> Type:   Direct-Access                    ANSI SCSI revision: 02
> Host: scsi1 Channel: 00 Id: 00 Lun: 00
> Vendor: HP       Model: CD-Writer+ 8200a Rev: 1.0g
> Type:   CD-ROM                           ANSI SCSI revision: 02
> 
> /proc/scsi/usb-storage-0/1
> ----------------------------
> Host scsi1: usb-storage
> Vendor: HP
> Product: HP USB CD-Writer Plus
> Serial Number: None
> Protocol: 8070i
> Transport: SCM/ATAPI
> GUID: 03f002070000000000000000
> Attached: Yes
> 
> /proc/interrupts
> ------------------
> CPU0
> 0:      53509          XT-PIC  timer
> 1:       3311          XT-PIC  keyboard
> 2:          0          XT-PIC  cascade
> 4:       1180          XT-PIC  serial
> 5:          1          XT-PIC  soundblaster
> 11:      49945          XT-PIC  tmscsim, usb-uhci
> 14:        701          XT-PIC  ide0
> NMI:          0
> ERR:          0
> 
> 
> 
> _______________________________________________
> Linux-usb-users@lists.sourceforge.net
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-users

-- 
Matthew Dharm                              Home: mdharm-usb@one-eyed-alien.net 
Maintainer, Linux USB Mass Storage Driver

C:  They kicked your ass, didn't they?
S:  They were cheating!
					-- The Chief and Stef
User Friendly, 11/19/1997


[Attachment #3 (application/pgp-signature)]
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic