Public bug reported: Hello,
I just got the BUG() below when runnig this script for ~2hours: (as root) #!/bin/sh # 2-1.3 was discovered by removing and inserting the USB stick # followed by dmesg USBLIST="2-1.3" while true ; do for USB in $USBLIST ; do echo -n $USB >/sys/bus/usb/drivers/usb/unbind done sleep 1 for USB in $USBLIST ; do echo -n $USB >/sys/bus/usb/drivers/usb/bind done sleep 1 done The script is a stresstest and simulates usb disconnect/reconnect. Setup: in one shell start: udevadm monitor in the other the script on the appropriate USB bus. kernel: 3.0.0-20-generic-pae #34-Ubuntu SMP regards, Martin [13012.149273] ------------[ cut here ]------------ [13012.149284] kernel BUG at /build/buildd/linux-3.0.0/mm/slub.c:2949! [13012.149291] invalid opcode: 0000 [#1] SMP [13012.149300] Modules linked in: bnep rfcomm parport_pc ppdev binfmt_misc joydev vesafb snd_hda_codec_conexant pcmcia arc4 snd_hda_intel snd_hda_codec snd_hwdep snd_pcm thinkpad_acpi snd_seq_midi r592 yenta_socket pcmcia_rsrc psmouse pcmcia_core snd_rawmidi snd_seq_midi_event snd_seq serio_raw memstick uvcvideo r852 sm_common nand nand_ids nand_bch bch nand_ecc mtd snd_timer iwlagn snd_seq_device videodev btusb snd mac80211 bluetooth cfg80211 snd_page_alloc soundcore wmi nvram video tpm_tis mei(C) fglrx(P) lp parport usbhid hid sdhci_pci sdhci firewire_ohci firewire_core crc_itu_t ahci libahci e1000e btrfs zlib_deflate libcrc32c [last unloaded: kvm] [13012.149440] [13012.149448] Pid: 15494, comm: disconnect.sh Tainted: P C 3.0.0-20-generic-pae #34-Ubuntu LENOVO 2767F8G/2767F8G [13012.149462] EIP: 0060:[<c1123f6f>] EFLAGS: 00010246 CPU: 1 [13012.149475] EIP is at kfree+0x10f/0x120 [13012.149481] EAX: 40000000 EBX: c1193191 ECX: 00000000 EDX: 00000001 [13012.149488] ESI: f40a2e00 EDI: c19826b0 EBP: d0d2ddbc ESP: d0d2dd94 [13012.149494] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 [13012.149502] Process disconnect.sh (pid: 15494, ti=d0d2c000 task=d0f88cc0 task.ti=d0d2c000) [13012.149508] Stack: [13012.149512] f6efdf90 00000000 d0d2ddb8 c1192202 f6efdf90 c1193191 d1e70350 f6efdf90 [13012.149530] f6efdba0 c19826b0 d0d2ddd8 c1193191 00000000 00000000 f6efdf90 d0d2ddf8 [13012.149548] f74b481c d0d2dde8 c119375b f6efdf90 f6efdfac d0d2de08 c1193cbf f6efdf90 [13012.149566] Call Trace: [13012.149580] [<c1192202>] ? sysfs_hash_and_remove+0x72/0x90 [13012.149589] [<c1193191>] ? release_sysfs_dirent+0x91/0xd0 [13012.149598] [<c1193191>] release_sysfs_dirent+0x91/0xd0 [13012.149607] [<c119375b>] sysfs_addrm_finish+0x4b/0x60 [13012.149616] [<c1193cbf>] sysfs_remove_dir+0x7f/0x90 [13012.149626] [<c128cf6f>] kobject_del+0xf/0x30 [13012.149636] [<c135fdd0>] device_del+0x120/0x150 [13012.149645] [<c135fe10>] device_unregister+0x10/0x20 [13012.149656] [<c13ef14a>] usb_remove_ep_devs+0x1a/0x30 [13012.149667] [<c13e8698>] remove_intf_ep_devs+0x38/0x60 [13012.149675] [<c13e9901>] usb_disable_device+0x81/0x1b0 [13012.149684] [<c13ea189>] usb_set_configuration+0x1d9/0x610 [13012.149696] [<c107519f>] ? blocking_notifier_call_chain+0x1f/0x30 [13012.149707] [<c13f22e6>] generic_disconnect+0x26/0x30 [13012.149715] [<c13eb7dc>] usb_unbind_device+0x1c/0x40 [13012.149724] [<c136248b>] __device_release_driver+0x5b/0xb0 [13012.149733] [<c1362504>] device_release_driver+0x24/0x40 [13012.149742] [<c1361943>] driver_unbind+0x53/0x90 [13012.149751] [<c13618f0>] ? store_drivers_probe+0x40/0x40 [13012.149759] [<c1361344>] drv_attr_store+0x24/0x40 [13012.149768] [<c11923e6>] sysfs_write_file+0xa6/0x100 [13012.149779] [<c1134c7f>] vfs_write+0x8f/0x160 [13012.149787] [<c1192340>] ? sysfs_poll+0x80/0x80 [13012.149796] [<c1134f5d>] sys_write+0x3d/0x70 [13012.149807] [<c156639f>] sysenter_do_call+0x12/0x28 [13012.149812] Code: e8 8b 75 dc 8b 4d f0 89 04 24 89 f8 89 f2 e8 03 af 42 00 eb a4 f6 c4 c0 74 11 89 f0 e8 9b e4 fc ff eb 96 8b 76 0c e9 33 ff ff ff <0f> 0b eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 90 55 89 e5 53 [13012.149915] EIP: [<c1123f6f>] kfree+0x10f/0x120 SS:ESP 0068:d0d2dd94 [13012.149930] ---[ end trace eb859dfd18bb1c0a ]--- ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: linux-image-3.0.0-20-generic-pae 3.0.0-20.34 ProcVersionSignature: Ubuntu 3.0.0-20.34-generic-pae 3.0.30 Uname: Linux 3.0.0-20-generic-pae i686 NonfreeKernelModules: fglrx AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24. ApportVersion: 1.23-0ubuntu4 Architecture: i386 ArecordDevices: **** List of CAPTURE Hardware Devices **** card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: tux 1789 F.... pulseaudio CRDA: Error: [Errno 2] No such file or directory Card0.Amixer.info: Card hw:0 'Intel'/'HDA Intel at 0xfc220000 irq 48' Mixer name : 'Conexant CX20561 (Hermosa)' Components : 'HDA:14f15051,17aa211c,00100000 HDA:14f12c06,17aa2122,00100000' Controls : 16 Simple ctrls : 8 Card29.Amixer.info: Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7VHT14WW-1.03' Mixer name : 'ThinkPad EC 7VHT14WW-1.03' Components : '' Controls : 1 Simple ctrls : 1 Card29.Amixer.values: Simple mixer control 'Console',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] Date: Sun May 27 13:26:57 2012 HibernationDevice: RESUME=UUID=de5f86c5-462e-467d-a176-22ef190c3d3a InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012) MachineType: LENOVO 2767F8G PccardctlIdent: Socket 0: no product info available PccardctlStatus: Socket 0: no card ProcEnviron: PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.0.0-20-generic-pae root=UUID=867230fe-607e-4dc5-bd6e-21ae4270107e ro rootflags=subvol=@ quiet splash vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-3.0.0-20-generic-pae N/A linux-backports-modules-3.0.0-20-generic-pae N/A linux-firmware 1.60 SourcePackage: linux StagingDrivers: mei UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 10/13/2009 dmi.bios.vendor: LENOVO dmi.bios.version: 7UET79WW (3.09 ) dmi.board.name: 2767F8G dmi.board.vendor: LENOVO dmi.board.version: Not Available dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvr7UET79WW(3.09):bd10/13/2009:svnLENOVO:pn2767F8G:pvrThinkPadT400:rvnLENOVO:rn2767F8G:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2767F8G dmi.product.version: ThinkPad T400 dmi.sys.vendor: LENOVO ** Affects: linux (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 oneiric running-unity staging -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1005143 Title: kernel BUG at /build/buildd/linux-3.0.0/mm/slub.c:2949 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1005143/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs