Hi I also have some problems using USBIP with externel storage. I'm quite new at sourceforge and don't know where else I can ask my questions I hope you can help me finding some solution and the answer where else I should ask my questions. But now to my problems: I run USBIP in Version 0.1.7.3 on 2 Debian Squeeze Systems with an i386 Kernel v.2.6.32. USBIP works fine if I use my mouse for testing, but any time I mount an external storage with usbip on the client I get errors no minute later. Most of the time I see the MSG that the usb-cable may be bad. I tested it with three usb-sticks and one external HDD. Here are some parts of my system.log from my client: Jan 7 10:22:02 usbip2 kernel: [ 24.623127] [drm] Initialized drm 1.1.0 20060810 Jan 7 10:22:02 usbip2 kernel: [ 24.731741] pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 Jan 7 10:22:02 usbip2 kernel: [ 24.731746] pci 0000:00:02.0: setting latency timer to 64 Jan 7 10:22:02 usbip2 kernel: [ 24.737192] mtrr: type mismatch for d0000000,10000000 old: write-back new: write-combining Jan 7 10:22:02 usbip2 kernel: [ 24.737195] [drm] MTRR allocation failed. Graphics performance may suffer. Jan 7 10:22:02 usbip2 kernel: [ 24.737326] pci 0000:00:02.0: irq 25 for MSI/MSI-X Jan 7 10:22:02 usbip2 kernel: [ 24.737391] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0 Jan 7 10:22:02 usbip2 kernel: [ 24.948023] eth0: no IPv6 routers present Jan 7 10:25:54 usbip2 anacron[2540]: Anacron 2.3 started on 2010-01-07 Jan 7 10:25:54 usbip2 anacron[2540]: Normal exit (0 jobs run) Jan 7 10:25:54 usbip2 kernel: [ 256.613744] CPU0 attaching NULL sched-domain. Jan 7 10:25:54 usbip2 kernel: [ 256.613749] CPU1 attaching NULL sched-domain. Jan 7 10:25:54 usbip2 kernel: [ 256.628540] CPU0 attaching sched-domain: Jan 7 10:25:54 usbip2 kernel: [ 256.628543] domain 0: span 0-1 level MC Jan 7 10:25:54 usbip2 kernel: [ 256.628545] groups: 0 1 Jan 7 10:25:54 usbip2 kernel: [ 256.628549] CPU1 attaching sched-domain: Jan 7 10:25:54 usbip2 kernel: [ 256.628551] domain 0: span 0-1 level MC Jan 7 10:25:54 usbip2 kernel: [ 256.628553] groups: 1 0 Jan 7 10:29:27 usbip2 kernel: [ 470.021991] usbip_common_mod: module is from the staging directory, the quality is unknown, you have been warned. Jan 7 10:29:27 usbip2 kernel: [ 470.023822] usbip_common_mod: usbip common driver1.0 Jan 7 10:29:27 usbip2 kernel: [ 470.055997] vhci_hcd: module is from the staging directory, the quality is unknown, you have been warned. Jan 7 10:29:27 usbip2 kernel: [ 470.058544] vhci_hcd: vhci_hcd, 1.0 Jan 7 10:29:27 usbip2 kernel: [ 470.058581] usbip: proving... Jan 7 10:29:27 usbip2 kernel: [ 470.058584] vhci_hcd vhci_hcd: USB/IP Virtual Host Contoroller Jan 7 10:29:27 usbip2 kernel: [ 470.058592] vhci_hcd vhci_hcd: new USB bus registered, assigned bus number 9 Jan 7 10:29:27 usbip2 kernel: [ 470.058732] usb usb9: New USB device found, idVendor=1d6b, idProduct=0002 Jan 7 10:29:27 usbip2 kernel: [ 470.058735] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1 Jan 7 10:29:27 usbip2 kernel: [ 470.058738] usb usb9: Product: USB/IP Virtual Host Contoroller Jan 7 10:29:27 usbip2 kernel: [ 470.058740] usb usb9: Manufacturer: Linux 2.6.32.1-1-usbip vhci_hcd Jan 7 10:29:27 usbip2 kernel: [ 470.058742] usb usb9: SerialNumber: vhci_hcd Jan 7 10:29:27 usbip2 kernel: [ 470.058808] usb usb9: configuration #1 chosen from 1 choice Jan 7 10:29:27 usbip2 kernel: [ 470.058838] hub 9-0:1.0: USB hub found Jan 7 10:29:27 usbip2 kernel: [ 470.058842] hub 9-0:1.0: 8 ports detected Jan 7 10:29:27 usbip2 kernel: [ 470.063410] usbip: module is from the staging directory, the quality is unknown, you have been warned. Jan 7 10:29:27 usbip2 kernel: [ 470.066118] usbcore: registered new interface driver usbip Jan 7 10:29:27 usbip2 kernel: [ 470.066122] usbip:Stub Driver for USB/IP:1.0 Jan 7 10:29:27 usbip2 usbipd: listen at [0.0.0.0]:3240 Jan 7 10:29:27 usbip2 usbipd: listen at [::]:3240 Jan 7 10:29:27 usbip2 usbipd: usbipd start (usbip 0.1.7 ($Id: stub_server.c 42 2007-09-07 12:07:51Z hirofuchi $)) Jan 7 10:38:12 usbip2 kernel: [ 995.285943] usbip: rhport(0) sockfd(3) devid(131074) speed(3) Jan 7 10:38:12 usbip2 kernel: [ 995.285992] usbip: changed 1 Jan 7 10:38:13 usbip2 kernel: [ 995.408003] usbip: changed 0 Jan 7 10:38:13 usbip2 kernel: [ 995.516008] usb 9-1: new high speed USB device using vhci_hcd and address 2 Jan 7 10:38:13 usbip2 kernel: [ 995.740010] usb 9-1: new high speed USB device using vhci_hcd and address 3 Jan 7 10:38:13 usbip2 kernel: [ 995.964009] usb 9-1: new high speed USB device using vhci_hcd and address 4 Jan 7 10:38:13 usbip2 kernel: [ 995.964013] usb 9-1: SetAddress Request (4) to port 0 Jan 7 10:38:13 usbip2 kernel: [ 996.006163] usb 9-1: New USB device found, idVendor=0c0b, idProduct=b159 Jan 7 10:38:13 usbip2 kernel: [ 996.006166] usb 9-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1 Jan 7 10:38:13 usbip2 kernel: [ 996.006168] usb 9-1: Product: DataStation maxi m.u Jan 7 10:38:13 usbip2 kernel: [ 996.006170] usb 9-1: Manufacturer: Trekstor Jan 7 10:38:13 usbip2 kernel: [ 996.006172] usb 9-1: SerialNumber: 0008C942 Jan 7 10:38:13 usbip2 kernel: [ 996.006246] usb 9-1: configuration #1 chosen from 1 choice Jan 7 10:38:13 usbip2 kernel: [ 996.009570] usbip 9-1:1.0: this device 9-1 is not in match_busid table. skip! Jan 7 10:38:13 usbip2 kernel: [ 996.047537] Initializing USB Mass Storage driver... Jan 7 10:38:13 usbip2 kernel: [ 996.047633] scsi4 : SCSI emulation for USB Mass Storage devices Jan 7 10:38:13 usbip2 kernel: [ 996.047707] usbcore: registered new interface driver usb-storage Jan 7 10:38:13 usbip2 kernel: [ 996.047710] USB Mass Storage support registered. Jan 7 10:38:13 usbip2 kernel: [ 996.048369] usb-storage: device found at 4 Jan 7 10:38:13 usbip2 kernel: [ 996.048372] usb-storage: waiting for device to settle before scanning Jan 7 10:38:18 usbip2 kernel: [ 1001.048553] usb-storage: device scan complete Jan 7 10:38:39 usbip2 kernel: [ 1022.000013] usbip: vhci_hcd: dequeue a urb f6412ac0 Jan 7 10:38:39 usbip2 kernel: [ 1022.000018] vhci_hcd vhci_hcd: Unlink after no-IRQ? Controller is probably using the wrong IRQ. Jan 7 10:38:39 usbip2 kernel: [ 1022.000021] usbip: vhci_hcd: device f66d9918 seems to be still connected Jan 7 10:38:39 usbip2 kernel: [ 1022.000631] usbip: unlink->seqnum 17 Jan 7 10:38:39 usbip2 kernel: [ 1022.000633] usbip: -104 Jan 7 10:38:42 usbip2 kernel: [ 1024.968013] hub 9-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? Jan 7 10:38:45 usbip2 kernel: [ 1027.936009] hub 9-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? Jan 7 10:38:48 usbip2 kernel: [ 1030.904009] hub 9-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? Jan 7 10:38:51 usbip2 kernel: [ 1033.872013] hub 9-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? Jan 7 10:38:51 usbip2 kernel: [ 1033.872029] usb 9-1: USB disconnect, address 4 Jan 7 10:38:51 usbip2 kernel: [ 1033.872036] scsi 4:0:0:0: Device offlined - not ready after error recovery Jan 7 10:38:54 usbip2 kernel: [ 1036.840013] hub 9-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? Jan 7 10:38:57 usbip2 kernel: [ 1039.808008] hub 9-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? Jan 7 10:39:00 usbip2 kernel: [ 1042.776008] hub 9-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? Jan 7 10:39:03 usbip2 kernel: [ 1045.744008] hub 9-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? Jan 7 10:39:03 usbip2 kernel: [ 1045.744015] hub 9-0:1.0: unable to enumerate USB device on port 1 Jan 7 11:00:33 usbip2 kernel: [ 2335.787789] BUG: unable to handle kernel paging request at 00190f5b Jan 7 11:00:33 usbip2 kernel: [ 2335.787795] IP: [<c022e9ac>] strnlen+0x6/0x16 Jan 7 11:00:33 usbip2 kernel: [ 2335.787804] *pde = 00000000 Jan 7 11:00:33 usbip2 kernel: [ 2335.787806] Oops: 0000 [#1] SMP Jan 7 11:00:33 usbip2 kernel: [ 2335.787809] last sysfs file: /sys/devices/platform/vhci_hcd/status Jan 7 11:00:33 usbip2 kernel: [ 2335.787813] Modules linked in: usb_storage usbip(C) vhci_hcd(C) usbip_common_mod(C) i915 drm_kms_helper drm i2c_algo_bit video output ppdev lp sco bridge stp bnep rfcomm l2cap crc16 bluetooth rfkill acpi_cpufreq cpufreq_powersave cpufreq_conservative cpufreq_stats cpufreq_userspace binfmt_misc fuse loop firewire_sbp2 snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event parport_pc snd_seq i2c_i801 snd_timer parport i2c_core asus_atk0110 psmouse snd_seq_device processor pcspkr serio_raw evdev snd soundcore snd_page_alloc ext3 jbd mbcache sg sr_mod sd_mod crc_t10dif cdrom usbhid hid ata_generic uhci_hcd ehci_hcd ata_piix libata firewire_ohci firewire_core crc_itu_t intel_agp e1000e scsi_mod ide_pci_generic button ide_core usbcore nls_base agpgart thermal fan thermal_sys [last unloaded: scsi_wait_scan] Jan 7 11:00:33 usbip2 kernel: [ 2335.787872] Jan 7 11:00:33 usbip2 kernel: [ 2335.787876] Pid: 2797, comm: usbip Tainted: G C (2.6.32.1-1-usbip #1) P5E-VM DO Jan 7 11:00:33 usbip2 kernel: [ 2335.787879] EIP: 0060:[<c022e9ac>] EFLAGS: 00010297 CPU: 1 Jan 7 11:00:33 usbip2 kernel: [ 2335.787881] EIP is at strnlen+0x6/0x16 Jan 7 11:00:33 usbip2 kernel: [ 2335.787883] EAX: 00190f5b EBX: ffffffff ECX: 00190f5b EDX: fffffffe Jan 7 11:00:33 usbip2 kernel: [ 2335.787885] ESI: f63bfeec EDI: f5164057 EBP: 00190f5b ESP: f63bfe68 Jan 7 11:00:33 usbip2 kernel: [ 2335.787887] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 Jan 7 11:00:33 usbip2 kernel: [ 2335.787890] Process usbip (pid: 2797, ti=f63be000 task=f50735c0 task.ti=f63be000) Jan 7 11:00:33 usbip2 kernel: [ 2335.787891] Stack: Jan 7 11:00:33 usbip2 kernel: [ 2335.787892] c022d74e ffffffff 00000000 f63bff14 f63bfeec f63bfea0 00000002 c022e230 Jan 7 11:00:33 usbip2 kernel: [ 2335.787898] <0> 00000004 00000000 ffffffff 0000000a ffffffff ffffffff f5164057 f63bfed4 Jan 7 11:00:33 usbip2 kernel: [ 2335.787903] <0> c022e12e f5164057 f63bfee0 c022e12e f5164046 f63bfeec f81fb071 0ae9bfa8 Jan 7 11:00:33 usbip2 kernel: [ 2335.787909] Call Trace: Jan 7 11:00:33 usbip2 kernel: [ 2335.787912] [<c022d74e>] ? string+0x33/0x81 Jan 7 11:00:33 usbip2 kernel: [ 2335.787916] [<c022e230>] ? vsnprintf+0x194/0x372 Jan 7 11:00:33 usbip2 kernel: [ 2335.787919] [<c022e12e>] ? vsnprintf+0x92/0x372 Jan 7 11:00:33 usbip2 kernel: [ 2335.787922] [<c022e12e>] ? vsnprintf+0x92/0x372 Jan 7 11:00:33 usbip2 kernel: [ 2335.787925] [<c022e425>] ? sprintf+0x17/0x19 Jan 7 11:00:33 usbip2 kernel: [ 2335.787929] [<f81f9398>] ? show_status+0xb1/0x105 [vhci_hcd] Jan 7 11:00:33 usbip2 kernel: [ 2335.787933] [<f81f92e7>] ? show_status+0x0/0x105 [vhci_hcd] Jan 7 11:00:33 usbip2 kernel: [ 2335.787937] [<c0298d99>] ? dev_attr_show+0x16/0x32 Jan 7 11:00:33 usbip2 kernel: [ 2335.787941] [<c01ebe11>] ? sysfs_read_file+0x8b/0xea Jan 7 11:00:33 usbip2 kernel: [ 2335.787944] [<c01ebd86>] ? sysfs_read_file+0x0/0xea Jan 7 11:00:33 usbip2 kernel: [ 2335.787947] [<c01ad8e7>] ? vfs_read+0x7b/0xd3 Jan 7 11:00:33 usbip2 kernel: [ 2335.787950] [<c01ad9d7>] ? sys_read+0x3c/0x63 Jan 7 11:00:33 usbip2 kernel: [ 2335.787954] [<c0103054>] ? sysenter_do_call+0x12/0x28 Jan 7 11:00:33 usbip2 kernel: [ 2335.787956] Code: 0e 89 c7 89 d0 f2 ae 74 05 bf 01 00 00 00 4f 89 f8 5f c3 85 c9 57 89 c7 89 d0 74 05 f2 ae 75 01 4f 89 f8 5f c3 89 c1 89 c8 eb 06 <80> 38 00 74 07 40 4a 83 fa ff 75 f4 29 c8 c3 90 55 89 d5 57 56 Jan 7 11:00:33 usbip2 kernel: [ 2335.787984] EIP: [<c022e9ac>] strnlen+0x6/0x16 SS:ESP 0068:f63bfe68 Jan 7 11:00:33 usbip2 kernel: [ 2335.787988] CR2: 0000000000190f5b Jan 7 11:00:33 usbip2 kernel: [ 2335.787991] ---[ end trace f79e87742d292191 ]--- Jan 7 11:00:48 usbip2 kerneloops: Submitted 1 kernel oopses to www.kerneloops.org Jan 7 11:00:48 usbip2 kerneloops: kerneloops.org: oops is posted as http://www.kerneloops.org/submitresult.php?number=1092223 May someone help me with these errors. Did I make some mistake or is this some known bug with a workaround, ??. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html