Anonymous - 2011-07-05

Dear All,

I am trying to use usbip with my Brother HL-2030 USB printer.
The server is an x86 machine (a laptop, debian squeeze)  and the client an amd64 machine (another laptop, running ubuntu 11.04). Both run stable 2.6.39.2 kernel compiled with usbip and its debug option.

I can print out the first job, one or several pages. Something goes wrong during the second job on the server. The second and later jobs do not print. Dmesg of the server contains the attached text.

Does anyone have an idea how to solve it or where to turn for help?

Kind Regards, sparlampe


kernel BUG at mm/slab.c:3058!
invalid opcode: 0000  SMP
last sysfs file: /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/usbip_sockfd
Modules linked in: ipv6 usbip(C) usbip_common_mod(C) pcmcia ipw2200 snd_intel8x0 libipw snd_intel8x0m snd_ac97_codec cfg80211 yenta_socket ac97_bus pcmcia_rsrc snd_pcm rfkill i2c_i801 snd_timer tpm_tis evdev pcmcia_core snd tpm container video usblp lib80211 intel_agp battery psmouse processor tpm_bios button pcspkr ac i2c_core soundcore snd_page_alloc serio_raw rng_core intel_gtt ide_cd_mod ide_gd_mod cdrom ata_generic ata_piix libata scsi_mod ide_pci_generic piix uhci_hcd thermal fan thermal_sys ide_core ehci_hcd

Pid: 1181, comm: stub_rx Tainted: G         C  2.6.39.2 #1 SAMSUNG ELECTRONICS CO.,LTD SX1S /SX1S
EIP: 0060: EFLAGS: 00010086 CPU: 0
EIP is at cache_alloc_refill+0x119/0x3e6
EAX: f55b83a0 EBX: f5c00ac0 ECX: ffffffc7 EDX: f5c025c0
ESI: 00000004 EDI: f5c025c8 EBP: f5c02f40 ESP: f50f9f04
  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
Process stub_rx (pid: 1181, ti=f50f8000 task=f5016920 task.ti=f50f8000)
Stack:
  f5c025c0 00000000 f5c025c8 f5c025d0 00000010 00000000 000000d0 00000000
  000000d0 f5c00ac0 c0008200 00000202 00002000 c10af86e 000080d0 000080d0
  f85c31c1 f555e3c0 c0008200 f56a4000 f55bb180 f85c31c1 f57d83c0 f55bb190
Call Trace:
   ? __kmalloc+0x82/0xdb
   ? stub_rx_loop+0x3f5/0x8f4
   ? stub_rx_loop+0x3f5/0x8f4
   ? stub_device_cleanup_urbs+0x179/0x179
   ? kthread+0x63/0x68
   ? kthread_worker_fn+0x10c/0x10c
   ? kernel_thread_helper+0x6/0xd
Code: 01 00 00 00 e9 ac 00 00 00 8b 02 39 d0 75 14 8b 42 10 c7 42 34 01 00 00 00 3b 44 24 0c 0f 84 8c 00 00 00 8b 48 10 3b 4b 38 72 31 <0f> 0b eb fe 8b 4d 00 47 89 4c 24 04 8b 4b 2c 89 78 10 8b 78 14
EIP:  cache_alloc_refill+0x119/0x3e6 SS:ESP 0068:f50f9f04