Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#19286 - [kernel26] bug in mass-storage module.

Attached to Project: Arch Linux
Opened by Michal (wolk) - Thursday, 29 April 2010, 13:12 GMT
Last edited by Tobias Powalowski (tpowa) - Tuesday, 24 August 2010, 20:05 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

When i am connecting Samsung gt-s7350i in mass storage mode to a usb port i get kernel error.
Dmesg command shows output:

usb 6-2: new full speed USB device using ohci_hcd and address 2
Initializing USB Mass Storage driver...
usb 6-2: USB disconnect, address 2
scsi8 : usb-storage 6-2:1.0
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
------------[ cut here ]------------
kernel BUG at mm/slub.c:2969!
invalid opcode: 0000 [#1] PREEMPT SMP
last sysfs file: /sys/module/usbcore/initstate
CPU 1
Pid: 1574, comm: khubd Not tainted 2.6.33-ARCH #1 M4A79XTD EVO/System Product Name
RIP: 0010:[<ffffffff81113a64>] [<ffffffff81113a64>] kfree+0x154/0x160
RSP: 0000:ffff880128c61c30 EFLAGS: 00010246
RAX: 8000000000080000 RBX: ffffffff81187588 RCX: 0000000000000001
RDX: 0000000000800000 RSI: ffffea0003800000 RDI: ffff880100000000
RBP: ffff880128c61c50 R08: 2222222222222222 R09: 2222222222222222
R10: 0000000000000000 R11: 0000000000000000 R12: ffff880100000000
R13: ffff880126baa6e0 R14: ffff880126baa3c0 R15: 000000000000001f
FS: 00007f88b43a8700(0000) GS:ffff880005440000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00007f21a8e1ed10 CR3: 0000000126bb6000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process khubd (pid: 1574, threadinfo ffff880128c60000, task ffff880129ef4020)
Stack:
ffff880126baa3c0 ffff880126baa6e0 ffff880126baa3c0 ffff880126baa6e0
<0> ffff880128c61c80 ffffffff81187588 ffffffff815074e0 ffffffff815074e0
<0> ffff88012a620c20 ffff880126baa6e0 ffff880128c61cb0 ffffffff81189458
Call Trace:
[<ffffffff81187588>] release_sysfs_dirent+0xa8/0xf0
[<ffffffff81189458>] sysfs_remove_group+0x88/0xe0
[<ffffffff8127db04>] dpm_sysfs_remove+0x14/0x20
[<ffffffff81276764>] device_del+0x44/0x1a0
[<ffffffff812768d1>] device_unregister+0x11/0x20
[<ffffffffa014e9be>] usb_remove_ep_devs+0x1e/0x30 [usbcore]
[<ffffffffa01405e9>] usb_disconnect+0xd9/0x150 [usbcore]
[<ffffffffa0141f0f>] hub_thread+0xb5f/0x1330 [usbcore]
[<ffffffff8103f6ef>] ? pick_next_task_fair+0xef/0x130
[<ffffffff81073370>] ? autoremove_wake_function+0x0/0x40
[<ffffffffa01413b0>] ? hub_thread+0x0/0x1330 [usbcore]
[<ffffffff81072dee>] kthread+0x8e/0xa0
[<ffffffff8100ad24>] kernel_thread_helper+0x4/0x10
[<ffffffff81072d60>] ? kthread+0x0/0xa0
[<ffffffff8100ad20>] ? kernel_thread_helper+0x0/0x10
Code: 75 eb 65 48 8b 04 25 08 cc 00 00 83 a8 44 e0 ff ff 01 48 8b 80 38 e0 ff ff a8 08 0f 84 e1 fe ff ff e8 e1 52 24 00 e9 d7 fe ff ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 55 48 81 ef a8 00 00 00 48
RIP [<ffffffff81113a64>] kfree+0x154/0x160
RSP <ffff880128c61c30>
---[ end trace 439801e5e87d4892 ]---




My kernel package is kernel 2.6.33.3-1. System is fully updated(today is: 29.04.2010)

Steps to reproduce:
1. Connect samsung k7350i to one of your usb port
2. Run dmsg command to see error output.



This task depends upon

Closed by  Tobias Powalowski (tpowa)
Tuesday, 24 August 2010, 20:05 GMT
Reason for closing:  Fixed
Comment by Karol Babioch (johnpatcher) - Sunday, 16 May 2010, 03:05 GMT
You should probably post this upstream to the kernel bugtracker. It seems that mm/slub.c is buggy, at least there are a few (unrelated) entried in the kernel bugtracker: https://bugzilla.kernel.org/buglist.cgi?quicksearch=mm%2Fslub.c
Comment by Gerardo Exequiel Pozzi (djgera) - Monday, 09 August 2010, 22:56 GMT
  • Field changed: Status (Assigned → Waiting on Response)
  • Field changed: Category (Packages: Core → Upstream Bugs)
status with 2.6.35?
Comment by Michal (wolk) - Tuesday, 24 August 2010, 17:12 GMT
With 2.6.35.3-1 everything looks ok. Thanks for your time.

Loading...