[Bug 699473] New: xen: pvusb (usb backend) crashes with some devices
https://bugzilla.novell.com/show_bug.cgi?id=699473 https://bugzilla.novell.com/show_bug.cgi?id=699473#c0 Summary: xen: pvusb (usb backend) crashes with some devices Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: marmarek@mimuw.edu.pl QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=434106) --> (http://bugzilla.novell.com/attachment.cgi?id=434106) Full dmesg from dom0 User-Agent: Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.8.131 Version/11.11 Two of devices crashes dom0 kernel when tried to connect it to domU. 1. Integrated bluetooth adapter (0b05:1751 ASUSTek Computer, Inc. BT-253 Bluetooth Adapter) Error in dom0: "kernel BUG at (...)/mm/slab.c:500" (details in attachment). Next kernel BUG appears when trying to destroy domU. 2. Integrated webcam (04f2:b033 Chicony Electronics Co., Ltd ...) After attaching to domU, there is few messages from driver (uvcvideo) in domU (looking at xm console) and then system hangs (not responding even to SysRq). Last visible message in domU is "uvcvideo: Found UVC 1.00 device USB2.0 1.3M UVC WebCam (04f2:b033)". No message visible on dom0 console. With other usb devices (tried: some external disks, pendrives, another webcam) it works. Reproducible: Always Steps to Reproduce: 1. modprobe usbbk 2. start domU with configured vusb (vusb = [ 'usbver=1,numports=2', 'usbver=2,numports=2' ]) 3a. xm usb-attach domU 0 1 3-1 (bluetooth device, usb1.1) 3b. xm usb-attach domU 1 1 8-5 (webcam, usb2.0) Actual Results: a) [11510.272069] ------------[ cut here ]------------ [11510.272717] kernel BUG at /usr/src/packages/BUILD/kernel-xen-2.6.39.1/linux-2.6.39/mm/slab.c:500! [11510.273508] invalid opcode: 0000 [#1] SMP [11510.274309] last sysfs file: /sys/devices/xen-backend/vbd-6-51744/statistics/wr_sect [11510.275126] CPU 0 [11510.275135] Modules linked in: usbbk dm_snapshot pciback bridge stp llc binfmt_misc loop dm_mirror dm_region_hash dm_log blktap netbk blkbk domctl blkback_pagemap xenbus_be gntdev evtchn snd_hda_codec_hdmi snd_hda_codec_realtek ir_lirc_codec lirc_dev arc4 snd_hda_intel ir_sony_decoder ecb snd_hda_codec snd_hwdep ir_jvc_decoder snd_seq snd_seq_device iwlagn ir_rc6_decoder mac80211 snd_pcm ir_rc5_decoder btusb r852 sm_common nand sg bluetooth snd_timer snd cfg80211 soundcore r8169 ir_nec_decoder asus_laptop sparse_keymap iTCO_wdt nand_ids r592 nand_bch bch nand_ecc sdhci_pci sdhci uvcvideo rc_rc6_mce videodev ite_cir snd_page_alloc thermal processor pcspkr memstick rc_core rfkill iTCO_vendor_support v4l2_compat_ioctl32 mmc_core mtd joydev serio_raw battery ac xts gf128mul dm_crypt firewire_ohci firewire_core sr_mod cdrom ehci_hcd crc_itu_t uhci_hcd usbcore nouveau ttm drm_kms_helper drm i2c_algo_bit i2c_core video thermal_sys hwmon button dm_mod [last unloaded: scsi_wait_scan] [11510.275989] [11510.275989] Pid: 11204, comm: usbback.6.0 Not tainted 2.6.39.1-2-xen #1 ASUSTeK Computer Inc. M50Vc /M50Vc [11510.275989] RIP: e030:[<ffffffff8011022d>] [<ffffffff8011022d>] kfree+0x14d/0x160 [11510.275989] RSP: e02b:ffff88006aef3df0 EFLAGS: 00010046 [11510.275989] RAX: 4000000000000000 RBX: ffff880071578000 RCX: 0000000000000040 [11510.275989] RDX: 000000000038abc0 RSI: ffffffffa01a8a80 RDI: ffff880071578000 [11510.275989] RBP: ffffffffa01a8a00 R08: dead000000200200 R09: dead000000100100 [11510.275989] R10: 6db6db6db6db6db7 R11: ffff88006aef3dc0 R12: ffff8800b453e240 [11510.275989] R13: ffff88006b2602c0 R14: ffff88006b2602c0 R15: ffff88006b2602c0 [11510.275989] FS: 00007f5b5b600700(0000) GS:ffff8800b267f000(0000) knlGS:0000000000000000 [11510.275989] CS: e033 DS: 0000 ES: 0000 CR0: 000000008005003b [11510.275989] CR2: 00007fec028c4fd0 CR3: 000000006cd46000 CR4: 0000000000000660 [11510.275989] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [11510.275989] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [11510.275989] Process usbback.6.0 (pid: 11204, threadinfo ffff88006aef2000, task ffff88006b2602c0) [11510.275989] Stack: [11510.275989] ffff880002a8f440 ffffffffa01a8a80 ffff88006b1fecf8 ffffffffa01a8a93 [11510.275989] ffff880002a8f440 ffffffff80270da3 ffff88006b1fecf8 ffff88006aef3e40 [11510.275989] ffff880002a8f440 ffffffffa06c9508 ffff88006aef3e40 ffff88006aef3e40 [11510.275989] Call Trace: [11510.275989] [<ffffffffa01a8a93>] urb_destroy+0x13/0x20 [usbcore] [11510.275989] [<ffffffff80270da3>] kref_put+0x33/0x70 [11510.275989] [<ffffffffa06c9508>] usbbk_free_urbs+0x98/0x120 [usbbk] [11510.275989] [<ffffffffa06cb0f1>] usbbk_schedule+0x81/0x210 [usbbk] [11510.275989] [<ffffffff80063626>] kthread+0x96/0xa0 [11510.275989] [<ffffffff804ea204>] kernel_thread_helper+0x4/0x10 [11510.275989] Code: 01 00 80 38 00 74 98 5b 5d 41 5c e9 0e f3 22 00 4c 89 e6 e8 a6 fd ff ff 41 8b 04 24 e9 57 ff ff ff 4d 8b 64 24 10 e9 12 ff ff ff <0f> 0b 4d 8b 64 24 10 e9 13 ff ff ff 0f 1f 80 00 00 00 00 41 54 [11510.275989] RIP [<ffffffff8011022d>] kfree+0x14d/0x160 [11510.275989] RSP <ffff88006aef3df0> [11510.275989] ---[ end trace c0a9540f8abc13ee ]--- b) hard hang Expected Results: No kernel errors, working usb devices in domU. xen-4.1.0 kernel 2.6.39.1-2.1-xen from http://download.opensuse.org/repositories/Kernel:/stable/standard/x86_64/ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=699473
https://bugzilla.novell.com/show_bug.cgi?id=699473#c1
Jeff Mahoney
participants (1)
-
bugzilla_noreply@novell.com