[linux-usb-devel] SP600 + 2.4.21 = dev not ready WAS: Pontis SP600 + 2.4.20 = kernel panic
Alan, thank you *.debug works and *.* doesnt. Here are the debug messages from kernel 2.4.21: 1. bootmessages regarding usb: - Jun 30 20:26:08 debian kernel: usb.c: registered new driver usbdevfs Jun 30 20:26:08 debian kernel: usb.c: registered new driver hub Jun 30 20:26:08 debian kernel: usb-uhci.c: $Revision: 1.275 $ time 16:09:32 Jun 19 2003 Jun 30 20:26:09 debian kernel: usb-uhci.c: High bandwidth mode enabled Jun 30 20:26:09 debian kernel: PCI: Found IRQ 5 for device 00:04.2 Jun 30 20:26:09 debian kernel: PCI: Sharing IRQ 5 with 00:0d.0 Jun 30 20:26:09 debian xfs: ignoring font path element /usr/lib/X11/fonts/CID/ (unreadable) Jun 30 20:26:09 debian kernel: usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 5 Jun 30 20:26:09 debian kernel: usb-uhci.c: Detected 2 ports Jun 30 20:26:09 debian kernel: usb.c: new USB bus registered, assigned bus number 1 Jun 30 20:26:09 debian xfs: ignoring font path element /usr/lib/X11/fonts/cyrillic/ (unreadable) Jun 30 20:26:10 debian kernel: usb.c: kmalloc IF dbe3cb00, numif 1 Jun 30 20:26:10 debian kernel: usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1 Jun 30 20:26:10 debian kernel: usb.c: USB device number 1 default language ID 0x0 Jun 30 20:26:10 debian kernel: Product: USB UHCI Root Hub Jun 30 20:26:10 debian kernel: SerialNumber: d400 Jun 30 20:26:10 debian kernel: hub.c: USB hub found Jun 30 20:26:10 debian kernel: hub.c: 2 ports detected Jun 30 20:26:10 debian kernel: hub.c: standalone hub Jun 30 20:26:10 debian kernel: hub.c: ganged power switching Jun 30 20:26:10 debian kernel: hub.c: global over-current protection Jun 30 20:26:10 debian kernel: hub.c: Port indicators are not supported Jun 30 20:26:10 debian kernel: hub.c: power on to power good time: 2ms Jun 30 20:26:11 debian kernel: hub.c: hub controller current requirement: 0mA Jun 30 20:26:11 debian kernel: hub.c: port removable status: RR Jun 30 20:26:11 debian kernel: hub.c: local power source is good Jun 30 20:26:11 debian kernel: hub.c: no over-current condition exists Jun 30 20:26:11 debian kernel: hub.c: enabling power on all ports Jun 30 20:26:12 debian kernel: usb.c: hub driver claimed interface dbe3cb00 Jun 30 20:26:12 debian kernel: usb.c: kusbd: /sbin/hotplug add 1 Jun 30 20:26:12 debian kernel: usb.c: kusbd policy returned 0xfffe Jun 30 20:26:12 debian kernel: usb-uhci.c: v1.275:USB Universal Host Controller Interface driver Jun 30 20:26:12 debian kernel: hub.c: port 1, portstatus 100, change 0, 12 Mb/s Jun 30 20:26:12 debian kernel: hub.c: port 2, portstatus 101, change 1, 12 Mb/s Jun 30 20:26:12 debian kernel: hub.c: port 2 connection change Jun 30 20:26:13 debian kernel: hub.c: port 2, portstatus 101, change 1, 12 Mb/s Jun 30 20:26:13 debian kernel: hub.c: port 2, portstatus 101, change 0, 12 Mb/s Jun 30 20:26:13 debian kernel: Initializing USB Mass Storage driver... Jun 30 20:26:13 debian kernel: usb.c: registered new driver usb-storage Jun 30 20:26:13 debian kernel: USB Mass Storage support registered. Jun 30 20:26:13 debian kernel: hub.c: port 2, portstatus 101, change 0, 12 Mb/s Jun 30 20:26:14 debian last message repeated 2 times Jun 30 20:26:14 debian kernel: hub.c: port 2, portstatus 103, change 0, 12 Mb/s Jun 30 20:26:14 debian kernel: hub.c: new USB device 00:04.2-2, assigned address 2 Jun 30 20:26:14 debian rpc.statd[312]: Version 1.0.3 Starting Jun 30 20:26:14 debian kernel: usb.c: kmalloc IF dbe3cc40, numif 1 Jun 30 20:26:15 debian kernel: usb.c: new device strings: Mfr=1, Product=2, SerialNumber=0 Jun 30 20:26:15 debian kernel: usb.c: USB device number 2 default language ID 0x409 Jun 30 20:26:15 debian /usr/sbin/cron[318]: (CRON) INFO (pidfile fd = 3) Jun 30 20:26:15 debian kernel: Manufacturer: ALCOR Jun 30 20:26:15 debian kernel: Product: Generic USB Hub Jun 30 20:26:16 debian kernel: hub.c: USB hub found Jun 30 20:26:16 debian kernel: hub.c: 4 ports detected Jun 30 20:26:16 debian kernel: hub.c: standalone hub Jun 30 20:26:16 debian kernel: hub.c: ganged power switching Jun 30 20:26:15 debian /usr/sbin/cron[319]: (CRON) STARTUP (fork ok) Jun 30 20:26:16 debian kernel: hub.c: global over-current protection Jun 30 20:26:16 debian kernel: hub.c: Port indicators are not supported Jun 30 20:26:16 debian /usr/sbin/cron[319]: (CRON) INFO (Running @reboot jobs) Jun 30 20:26:16 debian kernel: hub.c: power on to power good time: 44ms Jun 30 20:26:17 debian kernel: hub.c: hub controller current requirement: 100mA Jun 30 20:26:17 debian kernel: hub.c: port removable status: Jun 30 20:26:18 debian kernel: hub.c: local power source is good Jun 30 20:26:18 debian kernel: hub.c: no over-current condition exists Jun 30 20:26:18 debian kernel: hub.c: enabling power on all ports Jun 30 20:26:19 debian kernel: usb.c: hub driver claimed interface dbe3cc40 Jun 30 20:26:19 debian kernel: usb.c: kusbd: /sbin/hotplug add 2 Jun 30 20:26:19 debian kernel: usb.c: kusbd policy returned 0xfffe Jun 30 20:26:19 debian kernel: hub.c: port 1, portstatus 100, change 0, 12
Re: [linux-usb-devel] Pontis SP600 + 2.4.20 = kernel panic
The message appears when I mount and unmount the drive: Device not ready. Make sure there is a disc in the drive. Do you think its a problem by the firmware? I want use the device because its a cheap one and the vendor told to fix the uncorrect file problem. Thank you, Joschua On Wed, 11 Jun 2003 [EMAIL PROTECTED] wrote: Hi Alan, I forgot, there is still the message Device not ready. Make sure there is a disc in the drive. Is there a way to fix this? I don't know; I didn't keep a copy of the kernel logs you sent. But if the device doesn't work right and you can't rely on it to store your files correctly, why do you want to hook it up to your computer at all? Alan Stern -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! --- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
Re: [linux-usb-devel] Pontis SP600 + 2.4.20 = kernel panic
Hi Alan, I forgot, there is still the message Device not ready. Make sure there is a disc in the drive. Is there a way to fix this? Thank you! Bye, Joschua On Thu, 5 Jun 2003 [EMAIL PROTECTED] wrote: Hi Alan! Yes, you are right, I used kernel 2.4.20. The last days I tried to reproduce the problem with 2.4.21-rc3 but I failed. It 2.4.21-rc3 seems to be fixed in that version. :-) But I have another problem also with 2.4.21-rc3. The data I transmit to the device gets corrupt. If I copy clean, self-build mp3's to the device I listen some CLICK. If I copy programs or other files to the device and try to use them later, they are damaged. PONTIS the vendor confirmed this problem with some configurations of chipset and driver. My question: is it possible to write a workaround in the Linux-USB driver for this problem? Not without some pretty specific information from the vendor explaining the source of the problem and how to work around it. Is there any possibility you could obtain that? Alan Stern -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! --- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
Re: [linux-usb-devel] Pontis SP600 + 2.4.20 = kernel panic
Hi Alan, I asked the vendor for information. They told me the problem has to be fixed in the firmware and not in the driver. The fix should be avaible in the next time. So nothing left to do... Thank you alot for your help! Good bye, Joschua On Thu, 5 Jun 2003 [EMAIL PROTECTED] wrote: Hi Alan! Yes, you are right, I used kernel 2.4.20. The last days I tried to reproduce the problem with 2.4.21-rc3 but I failed. It 2.4.21-rc3 seems to be fixed in that version. :-) But I have another problem also with 2.4.21-rc3. The data I transmit to the device gets corrupt. If I copy clean, self-build mp3's to the device I listen some CLICK. If I copy programs or other files to the device and try to use them later, they are damaged. PONTIS the vendor confirmed this problem with some configurations of chipset and driver. My question: is it possible to write a workaround in the Linux-USB driver for this problem? Not without some pretty specific information from the vendor explaining the source of the problem and how to work around it. Is there any possibility you could obtain that? Alan Stern -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! --- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
Re: [linux-usb-devel] Pontis SP600 + 2.4.20 = kernel panic
Hi Alan! Yes, you are right, I used kernel 2.4.20. The last days I tried to reproduce the problem with 2.4.21-rc3 but I failed. It 2.4.21-rc3 seems to be fixed in that version. :-) But I have another problem also with 2.4.21-rc3. The data I transmit to the device gets corrupt. If I copy clean, self-build mp3's to the device I listen some CLICK. If I copy programs or other files to the device and try to use them later, they are damaged. PONTIS the vendor confirmed this problem with some configurations of chipset and driver. My question: is it possible to write a workaround in the Linux-USB driver for this problem? Thank you! Joschua Joschua: Although you didn't say what version of the kernel you were running, the log you just sent must have been from 2.4.20. Try sending a log from 2.4.21-rc1 or anything more recent. Jun 2 23:31:34 debian kernel: sdb: test WP failed, assume Write Enabled This message is harmless. Jun 2 23:32:49 debian kernel: usb-storage: Command START_STOP (6 bytes) This message shows the command that crashed your player. Starting in 2.4.21-rc1, Linux no longer uses the START-STOP command, so it should work better with your device. Alan Stern -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! --- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
Re: [linux-usb-devel] Pontis SP600 + 2.4.20 = kernel panic
Ok, here are the debugging messages: Jun 2 23:31:25 debian kernel: hub.c: port 1, portstatus 101, change 1, 12 Mb/s Jun 2 23:31:25 debian kernel: hub.c: port 1 connection change Jun 2 23:31:25 debian kernel: hub.c: port 1, portstatus 101, change 1, 12 Mb/s Jun 2 23:31:25 debian kernel: hub.c: port 1, portstatus 101, change 0, 12 Mb/s Jun 2 23:31:26 debian last message repeated 3 times Jun 2 23:31:26 debian kernel: hub.c: port 1, portstatus 100, change 0, 12 Mb/s Jun 2 23:31:26 debian kernel: hub.c: port 2, portstatus 103, change 0, 12 Mb/s Jun 2 23:31:26 debian kernel: hub.c: port 1, portstatus 100, change 0, 12 Mb/s Jun 2 23:31:26 debian kernel: hub.c: port 2, portstatus 103, change 0, 12 Mb/s Jun 2 23:31:26 debian kernel: hub.c: port 1, portstatus 101, change 1, 12 Mb/s Jun 2 23:31:26 debian kernel: hub.c: port 1 connection change Jun 2 23:31:26 debian kernel: hub.c: port 1, portstatus 101, change 1, 12 Mb/s Jun 2 23:31:26 debian kernel: hub.c: port 1, portstatus 101, change 0, 12 Mb/s Jun 2 23:31:27 debian last message repeated 3 times Jun 2 23:31:27 debian kernel: hub.c: port 1, portstatus 103, change 0, 12 Mb/s Jun 2 23:31:27 debian kernel: hub.c: new USB device 00:04.2-1, assigned address 3 Jun 2 23:31:27 debian kernel: usb.c: kmalloc IF d582f7c0, numif 1 Jun 2 23:31:27 debian kernel: usb.c: new device strings: Mfr=1, Product=2, SerialNumber=3 Jun 2 23:31:27 debian kernel: usb.c: USB device number 3 default language ID 0x409 Jun 2 23:31:27 debian kernel: Manufacturer: PONTIS Electronic Jun 2 23:31:27 debian kernel: Product: SP600 - USB Audio Player Jun 2 23:31:27 debian kernel: SerialNumber: 0001 Jun 2 23:31:27 debian kernel: usb-storage: act_altsettting is 0 Jun 2 23:31:27 debian kernel: usb-storage: id_index calculated to be: 89 Jun 2 23:31:27 debian kernel: usb-storage: Array length appears to be: 91 Jun 2 23:31:27 debian kernel: usb-storage: USB Mass Storage device detected Jun 2 23:31:27 debian kernel: usb-storage: Endpoints: In: 0xd79ecd74 Out: 0xd79ecd60 Int: 0x (Period 0) Jun 2 23:31:27 debian kernel: usb-storage: New GUID 09bc00030001 Jun 2 23:31:27 debian kernel: usb-uhci.c: interrupt, status 2, frame# 548 Jun 2 23:31:27 debian kernel: usb-storage: GetMaxLUN command result is 0, data is 128 Jun 2 23:31:27 debian kernel: usb-storage: Transport: Bulk Jun 2 23:31:27 debian kernel: usb-storage: Protocol: Transparent SCSI Jun 2 23:31:27 debian kernel: usb-storage: *** thread sleeping. Jun 2 23:31:27 debian kernel: scsi1 : SCSI emulation for USB Mass Storage devices Jun 2 23:31:27 debian kernel: usb-storage: queuecommand() called Jun 2 23:31:27 debian kernel: usb-storage: *** thread awakened. Jun 2 23:31:27 debian kernel: usb-storage: Command INQUIRY (6 bytes) Jun 2 23:31:27 debian kernel: usb-storage: 12 00 00 00 ff 00 4a d7 ac 7a 2f d6 Jun 2 23:31:27 debian kernel: usb-storage: Bulk command S 0x43425355 T 0x3d3 Trg 0 LUN 0 L 255 F 128 CL 6 Jun 2 23:31:27 debian kernel: usb-storage: Bulk command transfer result=0 Jun 2 23:31:27 debian kernel: usb-storage: usb_stor_transfer_partial(): xfer 255 bytes Jun 2 23:31:27 debian kernel: usb-storage: usb_stor_bulk_msg() returned 0 xferred 96/255 Jun 2 23:31:27 debian kernel: usb-storage: Bulk data transfer result 0x1 Jun 2 23:31:28 debian kernel: usb-storage: Attempting to get CSW... Jun 2 23:31:28 debian kernel: usb-storage: Bulk status result = 0 Jun 2 23:31:28 debian kernel: usb-storage: Bulk status Sig 0x53425355 T 0x3d3 R 159 Stat 0x0 Jun 2 23:31:28 debian kernel: usb-storage: Fixing INQUIRY data to show SCSI rev 2 Jun 2 23:31:28 debian kernel: usb-storage: scsi cmd done, result=0x0 Jun 2 23:31:28 debian kernel: usb-storage: *** thread sleeping. Jun 2 23:31:28 debian kernel: Vendor: PONTIS - Model: SP600 - USB DISK Rev: 0001 Jun 2 23:31:28 debian kernel: Type: Direct-Access ANSI SCSI revision: 02 Jun 2 23:31:28 debian kernel: usb-storage: queuecommand() called Jun 2 23:31:28 debian kernel: usb-storage: *** thread awakened. Jun 2 23:31:28 debian kernel: usb-storage: Bad LUN (0/1) Jun 2 23:31:28 debian kernel: usb-storage: *** thread sleeping. Jun 2 23:31:28 debian kernel: usb-storage: queuecommand() called Jun 2 23:31:28 debian kernel: usb-storage: *** thread awakened. Jun 2 23:31:28 debian kernel: usb-storage: Bad target number (1/0) Jun 2 23:31:28 debian kernel: usb-storage: *** thread sleeping. Jun 2 23:31:28 debian kernel: usb-storage: queuecommand() called Jun 2 23:31:29 debian kernel: usb-storage: *** thread awakened. Jun 2 23:31:29 debian kernel: usb-storage: Bad target number (2/0) Jun 2 23:31:29 debian kernel: usb-storage: *** thread sleeping. Jun 2 23:31:29 debian kernel: usb-storage: queuecommand() called Jun 2 23:31:29 debian kernel: usb-storage: *** thread awakened. Jun 2 23:31:29 debian kernel: usb-storage: Bad target number (3/0) Jun 2 23:31:29 debian kernel: usb-storage: *** thread sleeping. Jun 2 23:31:29
[linux-usb-devel] Pontis SP600 + 2.4.20 = kernel panic
Hello, I have problems connecting the Pontis SP600 mp3-player (with inserted 256MB Compact Flash Card) with my PC through USB. The SP600 caused kernel panic with 2.4.19 and 2.4.20 on Debian testing. The bootmessages are correct and identical with paragraph 2A. 1A) I connect the device: - May 10 14:05:25 debian kernel: hub.c: new USB device 00:04.2-1, assigned address 3 May 10 14:05:26 debian kernel: usb_control/bulk_msg: timeout May 10 14:05:26 debian kernel: scsi1 : SCSI emulation for USB Mass Storage devices May 10 14:05:26 debian kernel: Vendor: PONTIS - Model: SP600 - USB DISK Rev: 0001 May 10 14:05:26 debian kernel: Type: Direct-Access ANSI SCSI revision: 02 May 10 14:05:26 debian kernel: Attached scsi removable disk sdb at scsi1, channel 0, id 0, lun 0 May 10 14:05:26 debian kernel: SCSI device sdb: 503808 512-byte hdwr sectors (258 MB) May 10 14:05:26 debian kernel: usb-uhci.c: interrupt, status 2, frame# 1435 May 10 14:05:26 debian kernel: sdb: test WP failed, assume Write Enabled May 10 14:05:26 debian kernel: /dev/scsi/host1/bus0/target0/lun0: p1 1B) I try to mount the device or do sg_map: [I had to write this down on a paper and type it again in the Computer because no log survived] - usb-uhci.c: interrupt, status 3, frame#1878 [this number is changing every time] usb.c: USB disconnect on device 00:04.2-1 address 3 Unable to handle kernel NULL pointer dereference at virtual address 000c printing eip: c012b853 [here comes a lot of cryptic numbers and messages. I hope it is not so important because it's alot.] 0Kernel panic: Aiee, killing interrupt handler! In interrupt handler - not syncing [Now are Caps Lock and Scroll Lock blinking and the system does'nt react.] With kernel 2.4.21-rc1 the SP600 caused no kernel panic but other errors. Now with 2.4.21-rc1 I can use the device but I get ugly messages, especially Device not ready and test WP failed. Therefore I'm not sure if the device works stable and the data transmission is secure. Please take a look at the messages below! They are only regarding USB. Note that I have also harddisk problems with 2.4.21-rc1 but I think this is not important for USB. 2A) Now I'm booting: May 7 16:24:36 debian kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,65), internal journal May 7 16:24:36 debian kernel: usb.c: registered new driver usbdevfs May 7 16:24:36 debian kernel: usb.c: registered new driver hub May 7 16:24:36 debian kernel: usb-uhci.c: $Revision: 1.275 $ time 15:07:06 May 7 2003 May 7 16:24:36 debian kernel: usb-uhci.c: High bandwidth mode enabled May 7 16:24:36 debian kernel: PCI: Found IRQ 5 for device 00:04.2 May 7 16:24:36 debian kernel: PCI: Sharing IRQ 5 with 00:0d.0 May 7 16:24:36 debian kernel: usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 5 May 7 16:24:36 debian kernel: usb-uhci.c: Detected 2 ports May 7 16:24:36 debian kernel: usb.c: new USB bus registered, assigned bus number 1 May 7 16:24:36 debian kernel: hub.c: USB hub found May 7 16:24:36 debian kernel: hub.c: 2 ports detected May 7 16:24:36 debian kernel: usb-uhci.c: v1.275:USB Universal Host Controller Interface driver May 7 16:24:36 debian kernel: Initializing USB Mass Storage driver... May 7 16:24:36 debian kernel: usb.c: registered new driver usb-storage May 7 16:24:36 debian kernel: USB Mass Storage support registered. May 7 16:24:36 debian kernel: hub.c: new USB device 00:04.2-2, assigned address 2 May 7 16:24:36 debian kernel: hub.c: USB hub found May 7 16:24:36 debian kernel: hub.c: 4 ports detected May 7 16:24:36 debian kernel: kjournald starting. Commit interval 5 seconds May 7 16:24:36 debian kernel: EXT3-fs warning: maximal mount count reached, running e2fsck is recommended May 7 16:24:36 debian kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,1), internal journal May 7 16:24:36 debian kernel: EXT3-fs: mounted filesystem with ordered data mode. May 7 16:24:36 debian kernel: MSDOS FS: Using codepage 850 May 7 16:24:36 debian kernel: MSDOS FS: IO charset iso8859-15 May 7 16:24:36 debian kernel: FAT: freeing iocharset=iso8859-15 May 7 16:24:36 debian kernel: MSDOS FS: Using codepage 850 May 7 16:24:36 debian kernel: MSDOS FS: IO charset iso8859-15 May 7 16:24:36 debian kernel: FAT: freeing iocharset=iso8859-15 May 7 16:24:36 debian kernel: kjournald starting. Commit interval 5 seconds May 7 16:24:36 debian kernel: EXT3-fs: mounted filesystem with ordered data mode. 2B) booting finished. I connect the device: May 7 16:25:37 debian kernel: hub.c: new USB device 00:04.2-1, assigned address 3 May 7 16:25:42 debian kernel: usb_control/bulk_msg: timeout May 7 16:25:42 debian kernel: usb-uhci.c: interrupt, status 2, frame# 297 May 7 16:25:42 debian kernel: scsi1 : SCSI emulation for USB Mass Storage devices May 7 16:25:42 debian kernel: Vendor: PONTIS -