Hi,

I have an older Lacie USB CD RW with an IDE Philips CDD3610 inside
(2x/2x/6x) from around 1999. These devices were sold especially for Macs.

With SuSE 8.1 this device doesn't work (it never worked before) and
worse, the hotplug procedure fails ending in a kernel Oops.
With SuSE 8.0 (kernel 2.4.18) it did not oops at least.

A few months ago I patched the Linux kernel with the necessary 
vendor/product information, and I got the device working, only CD
burning didn't work, but reading. Anyway, I didn't get a feed back 
to my mail from Matthew Dharm regarding /proc/bus/usb/devices.

URL to lkml post with patch:

http://www.uwsg.iu.edu/hypermail/linux/kernel/0203.2/0234.html

If someone can put a working patch for this device into the kernel, 
or a minimal addition of the product ID, I would be glad. If not, 
I will continue to try by myself, hopefully getting the correct setting
for the device to burn CDs.

Please let me know if it's possible to get rid of the 
kernel Oops. Attached you find all information I could find relevant. 

Please note the lines "usb-uhci.c: interrupt, status X, frame# nnn".
Is the UHCI working correct? I never got this lines with previous 
kernels. 

Best regards,

J�rg 

[EMAIL PROTECTED]

----- snip -----

jungle:/var/log # tail -f messages

Jan  8 20:33:38 jungle kernel: hub.c: USB new device connect on bus1/1, 
assigned device number 2
Jan  8 20:33:38 jungle kernel: usb-uhci.c: interrupt, status 2, frame# 31
Jan  8 20:33:38 jungle kernel: usb.c: USB device not accepting new address=2 
(error=-110)
Jan  8 20:33:38 jungle kernel: hub.c: USB new device connect on bus1/1, 
assigned device number 3
Jan  8 20:33:40 jungle kernel: usb.c: USB device 3 (vend/prod 0x59f/0xa602) is 
not claimed by any active driver.
Jan  8 20:33:43 jungle kernel: Initializing USB Mass Storage driver...
Jan  8 20:33:43 jungle kernel: usb.c: registered new driver usb-storage
Jan  8 20:33:43 jungle kernel: scsi0 : SCSI emulation for USB Mass Storage 
devices
Jan  8 20:33:55 jungle kernel: usb-uhci.c: interrupt, status 3, frame# 514
Jan  8 20:34:05 jungle kernel: usb.c: USB disconnect on device 3
Jan  8 20:34:05 jungle kernel: usb-uhci.c: interrupt, status 2, frame# 432
Jan  8 20:34:05 jungle kernel: hub.c: USB new device connect on bus1/1, 
assigned device number 4
Jan  8 20:34:07 jungle kernel: sg: find_free_slot ...<7>sg: initializing 
sg_major_array ...<4>sg: allocated major 21
Jan  8 20:34:07 jungle kernel: sg: ... found 15:00
Jan  8 20:34:07 jungle kernel: sg_attach: dev0=(21:0)
Jan  8 20:34:07 jungle kernel: Attached scsi generic sg0 at scsi0, channel 0, 
id 0, lun 0,  type -1
Jan  8 20:34:07 jungle kernel: resize_dma_pool: unknown device type -1
Jan  8 20:34:10 jungle kernel: usb-storage: host_reset() requested but not 
implemented
Jan  8 20:34:20 jungle kernel: scsi: device set offline - command error 
recover failed: host 0 channel 0 id 0 lun 0
Jan  8 20:34:20 jungle insmod: Using 
/lib/modules/2.4.19-4GB/kernel/drivers/usb/storage/usb-storage.o
Jan  8 20:34:20 jungle insmod: Symbol version prefix ''
Jan  8 20:34:20 jungle kernel: WARNING: USB Mass Storage data integrity not 
assured
Jan  8 20:34:20 jungle kernel: USB Mass Storage device found at 3
Jan  8 20:34:20 jungle kernel: USB Mass Storage support registered.
Jan  8 20:34:20 jungle kernel: scsi1 : SCSI emulation for USB Mass Storage 
devices
Jan  8 20:34:20 jungle kernel: resize_dma_pool: unknown device type -1
Jan  8 20:34:20 jungle kernel: Unable to handle kernel NULL pointer 
dereference at virtual address 00000004
Jan  8 20:34:20 jungle kernel:  printing eip:
Jan  8 20:34:20 jungle kernel: c34180d2
Jan  8 20:34:20 jungle kernel: *pde = 00000000
Jan  8 20:34:20 jungle kernel: Oops: 0000 2.4.19-4GB #1 Fri Sep 13 13:14:56 
UTC 2002
Jan  8 20:34:20 jungle kernel: CPU:    0
Jan  8 20:34:20 jungle kernel: EIP:    
0010:[usb-uhci:__insmod_usb-uhci_S.bss_L4+11349098/36798615]    Not tainted
Jan  8 20:34:20 jungle kernel: EIP:    0010:[<c34180d2>]    Not tainted
Jan  8 20:34:20 jungle kernel: EFLAGS: 00010246
Jan  8 20:34:20 jungle kernel: eax: 00000000   ebx: fffffff0   ecx: ffffffed   
edx: cb2a7800
Jan  8 20:34:20 jungle kernel: esi: c6baade0   edi: c1d45860   ebp: 00000800   
esp: c4203f08
Jan  8 20:34:20 jungle kernel: ds: 0018   es: 0018   ss: 0018
Jan  8 20:34:20 jungle kernel: Process hwscan (pid: 6932, stackpage=c4203000)
Jan  8 20:34:20 jungle kernel: Stack: 00000008 c1d4681c c0143f7e c3418000 
c1d468a8 00000288 c1d45860 ffffffeb
Jan  8 20:34:20 jungle kernel:        c186d76d c1d46834 00000000 c4f18e60 
c1d45860 cff65360 c01440c4 c1d45860
Jan  8 20:34:20 jungle kernel:        c4f18e60 c4f18e60 c1d45860 ffffffe9 
c0142bf6 c1d45860 c4f18e60 00000800
Jan  8 20:34:20 jungle kernel: Call Trace:    [get_chrfops+206/224] 
[joydev:__insmod_joydev_O/lib/modules/2.4.19-4GB/kernel/drivers/inp+-14551187/96] 
[chrdev_open+68/80] [dentry_open+390/496] [filp_open+80/96]
Jan  8 20:34:20 jungle kernel: Call Trace:    [<c0143f7e>] [<c186d76d>] 
[<c01440c4>] [<c0142bf6>] [<c0142a60>]
Jan  8 20:34:20 jungle kernel:   [sys_open+59/128] [system_call+51/64]
Jan  8 20:34:20 jungle kernel:   [<c0142dfb>] [<c0108e63>]
Jan  8 20:34:20 jungle kernel: Modules: [(sg:<c3418060>:<c341ed00>)] 
[(xfs:<c1800060>:<c1879668>)]
Jan  8 20:34:20 jungle kernel: Code: 8b 40 04 85 c0 74 19 ff 40 10 8b 06 8b 40 
10 8b 40 28 8b 40
Jan  8 20:34:20 jungle /etc/hotplug/usb.agent[6851]: /etc/hotplug/usb.agent: 
line 441:  6932 Segmentation fault      /usr/sbin/hwscan --usb
Jan  8 20:34:20 jungle /etc/hotplug/usb.agent[6851]: Can't ignore signal CHLD, 
forcing to default.
Jan  8 20:34:21 jungle kernel:  resize_dma_pool: unknown device type -1
Jan  8 20:34:32 jungle kernel: usb-uhci.c: interrupt, status 3, frame# 947

ksymoops

>>EIP; c34180d2 <[sg]sg_open+72/2b0>   <=====

>>ebx; fffffff0 <END_OF_CODE+300783ff/????>
>>ecx; ffffffed <END_OF_CODE+300783fc/????>
>>edx; cb2a7800 <[snd-mixer-oss].data.end+1c34649/6912ea9>
>>esi; c6baade0 <[parport_pc].bss.end+c64a19/d91c99>
>>edi; c1d45860 <[xfs].bss.end+4cc1f9/7999f9>
>>ebp; 00000800 Before first symbol
>>esp; c4203f08 <[usb-storage].bss.end+6e7299/eeb3f1>

Trace; c0143f7e <get_chrfops+ce/e0>
Trace; c186d76d <[xfs]linvfs_permission+1d/30>
Trace; c01440c4 <chrdev_open+44/50>
Trace; c0142bf6 <dentry_open+186/1f0>
Trace; c0142a60 <filp_open+50/60>
Trace; c0142dfb <sys_open+3b/80>
Trace; c0108e63 <system_call+33/40>

Code;  c34180d2 <[sg]sg_open+72/2b0>
00000000 <_EIP>:
Code;  c34180d2 <[sg]sg_open+72/2b0>   <=====
   0:   8b 40 04                  mov    0x4(%eax),%eax   <=====
Code;  c34180d5 <[sg]sg_open+75/2b0>
   3:   85 c0                     test   %eax,%eax
Code;  c34180d7 <[sg]sg_open+77/2b0>
   5:   74 19                     je     20 <_EIP+0x20> c34180f2 
<[sg]sg_open+92/2b0>
Code;  c34180d9 <[sg]sg_open+79/2b0>
   7:   ff 40 10                  incl   0x10(%eax)
Code;  c34180dc <[sg]sg_open+7c/2b0>
   a:   8b 06                     mov    (%esi),%eax
Code;  c34180de <[sg]sg_open+7e/2b0>
   c:   8b 40 10                  mov    0x10(%eax),%eax
Code;  c34180e1 <[sg]sg_open+81/2b0>
   f:   8b 40 28                  mov    0x28(%eax),%eax
Code;  c34180e4 <[sg]sg_open+84/2b0>
  12:   8b 40 00                  mov    0x0(%eax),%eax

jungle:/usr/src # sh scripts/ver_linux
Linux jungle 2.4.19-4GB #1 Fri Sep 13 13:14:56 UTC 2002 i686 unknown

Gnu C                  3.2
Gnu make               3.79.1
util-linux             2.11u
mount                  2.11u
modutils               2.4.19
e2fsprogs              1.28
jfsutils               1.0.21
pcmcia-cs              3.2.0
PPP                    2.4.1
Linux C Library        24 18:21 /lib/libc.so.6
Dynamic linker (ldd)   2.2.5
Linux C++ Library      5.0.0
Procps                 2.0.7
Net-tools              1.60
Kbd                    1.06
Sh-utils               2.0
Modules Loaded         st sr_mod sg usb-storage snd-mixer-oss videodev isa-pnp 
usbserial parport_pc lp parport snd-maestro3 snd-pcm snd-timer snd-ac97-codec 
snd soundcore ipv6 ds yenta_socket pcmcia_core joydev evdev input usb-uhci 
usbcore af_packet e100 ipx ide-cd cdrom nls_iso8859-15 nls_cp437 vfat fat 
lvm-mod xfs xfs_dmapi xfs_support

jungle:/home/joerg # cat /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=bce0
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=00 Cnt=01 Dev#=  4 Spd=12  MxCh= 0
D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=059f ProdID=a602 Rev= 2.00
S:  Manufacturer=LaCie
S:  Product=USB Mass STORAGE
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 52mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=01 Prot=00 Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=82(I) Atr=03(Int.) MxPS=   2 Ivl=100ms

jungle:/ # cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor:          Model:                  Rev:
  Type:   <NULL>                ANSI SCSI revision: ffffffff



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to