Bug 41872 - Kernel crashes after ejecting of Samsung U5 player (just a flash stick)
Summary: Kernel crashes after ejecting of Samsung U5 player (just a flash stick)
Status: RESOLVED CODE_FIX
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: SCSI (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: linux-scsi@vger.kernel.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-28 14:25 UTC by wolfram
Modified: 2012-08-30 10:49 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.38-3.0.0
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Kernel config (73.00 KB, application/octet-stream)
2011-08-28 14:27 UTC, wolfram
Details
/proc/cpuinfo (3.21 KB, application/octet-stream)
2011-08-28 14:27 UTC, wolfram
Details
lspci -vvv (45.49 KB, application/octet-stream)
2011-08-28 14:28 UTC, wolfram
Details
lsusb -v (20.73 KB, application/octet-stream)
2011-08-28 14:28 UTC, wolfram
Details
/proc/iomem (2.10 KB, application/octet-stream)
2011-08-28 14:28 UTC, wolfram
Details
/proc/ioports (1.87 KB, application/octet-stream)
2011-08-28 14:29 UTC, wolfram
Details
/proc/scsi/scsi (655 bytes, application/octet-stream)
2011-08-28 14:30 UTC, wolfram
Details
/proc/version (140 bytes, application/octet-stream)
2011-08-28 14:30 UTC, wolfram
Details
black screen of die (206.42 KB, image/jpeg)
2011-08-28 14:32 UTC, wolfram
Details

Description wolfram 2011-08-28 14:25:21 UTC
When I'm ejecting my Samsung U5 player (mounted or umounted with udisks --unmount or ejected via udisks --eject) I always get null pointer dereference crash.

Please find attached screenshot with error message and additional details
Comment 1 wolfram 2011-08-28 14:27:37 UTC
Created attachment 70602 [details]
Kernel config
Comment 2 wolfram 2011-08-28 14:27:57 UTC
Created attachment 70612 [details]
/proc/cpuinfo
Comment 3 wolfram 2011-08-28 14:28:16 UTC
Created attachment 70622 [details]
lspci -vvv
Comment 4 wolfram 2011-08-28 14:28:34 UTC
Created attachment 70632 [details]
lsusb -v
Comment 5 wolfram 2011-08-28 14:28:55 UTC
Created attachment 70642 [details]
/proc/iomem
Comment 6 wolfram 2011-08-28 14:29:18 UTC
Created attachment 70652 [details]
/proc/ioports
Comment 7 wolfram 2011-08-28 14:30:03 UTC
Created attachment 70662 [details]
/proc/scsi/scsi
Comment 8 wolfram 2011-08-28 14:30:35 UTC
Created attachment 70672 [details]
/proc/version
Comment 9 wolfram 2011-08-28 14:32:37 UTC
Created attachment 70682 [details]
black screen of die
Comment 10 Bart Van Assche 2011-08-28 14:39:34 UTC
Please correct the kernel version - above I see "2.5" while the config and the screenshot say "3.0.0-gentoo-01".
Comment 11 wolfram 2011-08-28 14:42:33 UTC
Could you give me a hint how to do that?
Comment 12 Bart Van Assche 2011-08-28 14:49:30 UTC
Never mind. It would help if you could verify whether this has been fixed in 3.1-rc3, available from http://kernel.org/. That version contains this patch: http://www.spinics.net/lists/stable-commits/msg13017.html.
Comment 13 wolfram 2011-08-28 15:13:34 UTC
Hmmm. Working like a charm. I can't insist that problem is really solved, but I've five successfull ejections without any problem, so looks like that.

wolfy@core ~ % uname -a
Linux core 3.1.0-rc3-git3-00 #1 SMP PREEMPT Sun Aug 28 22:01:43 NOVST 2011 x86_64 Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz GenuineIntel GNU/Linux

Note You need to log in before you can comment on or make changes to this bug.