Bug 750389 - Kernel oops in sd_revalidate_disk
Summary: Kernel oops in sd_revalidate_disk
Keywords:
Status: CLOSED DUPLICATE of bug 754518
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 15
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 747221 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-31 23:02 UTC by Joseph Shraibman
Modified: 2012-01-05 14:59 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-05 14:59:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joseph Shraibman 2011-10-31 23:02:21 UTC
Description of problem:
Oct 31 18:46:26 jks-desktop kernel: [24235.358682] usb 2-4: USB disconnect, device number 107
Oct 31 18:46:26 jks-desktop kernel: [24235.592079] usb 2-4: new high speed USB device number 108 using ehci_hcd
Oct 31 18:46:26 jks-desktop kernel: [24235.720548] usb 2-4: New USB device found, idVendor=0bb4, idProduct=0ff9
Oct 31 18:46:26 jks-desktop kernel: [24235.720558] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct 31 18:46:26 jks-desktop kernel: [24235.720566] usb 2-4: Product: Android Phone
Oct 31 18:46:26 jks-desktop kernel: [24235.720572] usb 2-4: Manufacturer: HTC
Oct 31 18:46:26 jks-desktop kernel: [24235.720577] usb 2-4: SerialNumber: HT07NPS06123
Oct 31 18:46:26 jks-desktop kernel: [24235.723482] scsi334 : usb-storage 2-4:1.0
Oct 31 18:46:26 jks-desktop mtp-probe: checking bus 2, device 108: "/sys/devices/pci0000:00/0000:00:04.1/usb2/2-4"
Oct 31 18:46:26 jks-desktop mtp-probe: bus: 2, device: 108 was not an MTP device
Oct 31 18:46:27 jks-desktop kernel: [24236.737209] scsi 334:0:0:0: Direct-Access     HTC      Android Phone    0100 PQ: 0 ANSI: 2
Oct 31 18:46:27 jks-desktop kernel: [24236.771727] sd 334:0:0:0: Attached scsi generic sg4 type 0
Oct 31 18:46:27 jks-desktop kernel: [24236.780448] sd 334:0:0:0: [sdd] Attached SCSI removable disk
Oct 31 18:46:27 jks-desktop kernel: [24236.807434] usb 2-4: USB disconnect, device number 108
Oct 31 18:46:27 jks-desktop kernel: [24236.843248] BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
Oct 31 18:46:27 jks-desktop kernel: [24236.843262] IP: [<ffffffff81319bbc>] sd_revalidate_disk+0x36/0x16c7
Oct 31 18:46:27 jks-desktop kernel: [24236.843280] PGD 1dc716067 PUD 1dc43b067 PMD 0 
Oct 31 18:46:27 jks-desktop kernel: [24236.843290] Oops: 0000 [#1] SMP 
Oct 31 18:46:27 jks-desktop kernel: [24236.843299] CPU 0 
Oct 31 18:46:27 jks-desktop kernel: [24236.843302] Modules linked in: fuse bnep bluetooth rfkill ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle bridge stp llc sunrpc cpufreq_ondemand powernow_k8 mperf w83627ehf hwmon_vid ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 xt_physdev ip6table_filter nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ip6_tables tuner_simple tuner_types lgdt330x ir_lirc_codec lirc_dev ir_sony_decoder ir_jvc_decoder ir_rc6_decoder ir_rc5_decoder dvb_usb_cxusb dib7000p dibx000_common dvb_usb dvb_core ir_nec_decoder rc_core dib0070 joydev snd_hda_codec_realtek nvidia(P) snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm k8temp edac_core edac_mce_amd snd_timer i2c_nforce2 snd forcedeth shpchp soundcore snd_page_alloc i2c_core virtio_net kvm_amd kvm ipv6 usb_storage ata_generic pata_acpi uas video pata_amd wmi [last unloaded: scsi_wait_scan]
Oct 31 18:46:27 jks-desktop kernel: [24236.843428] 
Oct 31 18:46:27 jks-desktop kernel: [24236.843435] Pid: 14504, comm: blkid Tainted: P            2.6.40.6-0.fc15.x86_64 #1 To Be Filled By O.E.M. To Be Filled By O.E.M./K10N78
Oct 31 18:46:27 jks-desktop kernel: [24236.843447] RIP: 0010:[<ffffffff81319bbc>]  [<ffffffff81319bbc>] sd_revalidate_disk+0x36/0x16c7
Oct 31 18:46:27 jks-desktop kernel: [24236.843459] RSP: 0018:ffff88021e277a58  EFLAGS: 00010246
Oct 31 18:46:27 jks-desktop kernel: [24236.843465] RAX: 0000000000000000 RBX: ffff88023942a700 RCX: 0000000000000001
Oct 31 18:46:27 jks-desktop kernel: [24236.843471] RDX: 0000000000000001 RSI: ffff880141d0bc40 RDI: ffff880141cf6800
Oct 31 18:46:27 jks-desktop kernel: [24236.843478] RBP: ffff88021e277b18 R08: 00000008ffffffff R09: ffffffff812f4c42
Oct 31 18:46:27 jks-desktop kernel: [24236.843484] R10: ffffffff81238558 R11: ffff88021e277ab8 R12: 0000000000000000
Oct 31 18:46:27 jks-desktop kernel: [24236.843490] R13: ffff880141cf6800 R14: 000000000000001d R15: 0000000000000000
Oct 31 18:46:27 jks-desktop kernel: [24236.843497] FS:  00007f9e2348c760(0000) GS:ffff880239c00000(0000) knlGS:00000000f7741890
Oct 31 18:46:27 jks-desktop kernel: [24236.843504] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Oct 31 18:46:27 jks-desktop kernel: [24236.843510] CR2: 0000000000000008 CR3: 0000000141d7b000 CR4: 00000000000006f0
Oct 31 18:46:27 jks-desktop kernel: [24236.843516] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Oct 31 18:46:27 jks-desktop kernel: [24236.843523] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Oct 31 18:46:27 jks-desktop kernel: [24236.843530] Process blkid (pid: 14504, threadinfo ffff88021e276000, task ffff8801ac0dae60)
Oct 31 18:46:27 jks-desktop kernel: [24236.843535] Stack:
Oct 31 18:46:27 jks-desktop kernel: [24236.843539]  ffffea000702b3b0 ffff880141cf6848 ffff880141cf6878 ffff880141cf6800
Oct 31 18:46:27 jks-desktop kernel: [24236.843549]  ffff88021e277a88 ffffffff81488576 ffff880141cf6800 ffffffff81128eab
Oct 31 18:46:27 jks-desktop kernel: [24236.843558]  ffff88023942a7d8 ffff880141cf6800 ffff88021e277ad8 ffffffff8113adac
Oct 31 18:46:27 jks-desktop kernel: [24236.843568] Call Trace:
Oct 31 18:46:27 jks-desktop kernel: [24236.843582]  [<ffffffff81488576>] ? _raw_spin_lock+0xe/0x10
Oct 31 18:46:27 jks-desktop kernel: [24236.843592]  [<ffffffff81128eab>] ? get_super+0x29/0xa9
Oct 31 18:46:27 jks-desktop kernel: [24236.843600]  [<ffffffff8113adac>] ? iput+0x33/0x138
Oct 31 18:46:27 jks-desktop kernel: [24236.843610]  [<ffffffff8117ce2e>] rescan_partitions+0xb4/0x442
Oct 31 18:46:27 jks-desktop kernel: [24236.843620]  [<ffffffff81150002>] __blkdev_get+0x1af/0x3a0
Oct 31 18:46:27 jks-desktop kernel: [24236.843629]  [<ffffffff811504c6>] ? blkdev_get+0x2d3/0x2d3
Oct 31 18:46:27 jks-desktop kernel: [24236.843637]  [<ffffffff811503d7>] blkdev_get+0x1e4/0x2d3
Oct 31 18:46:27 jks-desktop kernel: [24236.843645]  [<ffffffff8114f4ba>] ? bdget+0x107/0x112
Oct 31 18:46:27 jks-desktop kernel: [24236.843653]  [<ffffffff811504c6>] ? blkdev_get+0x2d3/0x2d3
Oct 31 18:46:27 jks-desktop kernel: [24236.843661]  [<ffffffff81150530>] blkdev_open+0x6a/0x6f
Oct 31 18:46:27 jks-desktop kernel: [24236.843669]  [<ffffffff811259c1>] __dentry_open+0x17d/0x2be
Oct 31 18:46:27 jks-desktop kernel: [24236.843678]  [<ffffffff81488576>] ? _raw_spin_lock+0xe/0x10
Oct 31 18:46:27 jks-desktop kernel: [24236.843686]  [<ffffffff8112694b>] nameidata_to_filp+0x60/0x67
Oct 31 18:46:27 jks-desktop kernel: [24236.843695]  [<ffffffff81132107>] do_last+0x434/0x581
Oct 31 18:46:27 jks-desktop kernel: [24236.843703]  [<ffffffff81132dee>] path_openat+0xc8/0x31c
Oct 31 18:46:27 jks-desktop kernel: [24236.843712]  [<ffffffff810f9b1d>] ? handle_mm_fault+0x1c8/0x1db
Oct 31 18:46:27 jks-desktop kernel: [24236.843720]  [<ffffffff8113307a>] do_filp_open+0x38/0x86
Oct 31 18:46:27 jks-desktop kernel: [24236.843729]  [<ffffffff8113c930>] ? alloc_fd+0x72/0x11d
Oct 31 18:46:27 jks-desktop kernel: [24236.843737]  [<ffffffff811269c0>] do_sys_open+0x6e/0x100
Oct 31 18:46:27 jks-desktop kernel: [24236.843746]  [<ffffffff810a0f88>] ? audit_syscall_entry+0x145/0x171
Oct 31 18:46:27 jks-desktop kernel: [24236.843754]  [<ffffffff81126a72>] sys_open+0x20/0x22
Oct 31 18:46:27 jks-desktop kernel: [24236.843764]  [<ffffffff8148ed02>] system_call_fastpath+0x16/0x1b
Oct 31 18:46:27 jks-desktop kernel: [24236.843769] Code: 54 53 48 81 ec 98 00 00 00 66 66 66 66 90 4c 8b a7 28 03 00 00 65 48 8b 04 25 28 00 00 00 48 89 45 c8 31 c0 48 89 bd 70 ff ff ff 
Oct 31 18:46:27 jks-desktop kernel: [24236.843838] RIP  [<ffffffff81319bbc>] sd_revalidate_disk+0x36/0x16c7
Oct 31 18:46:27 jks-desktop kernel: [24236.843847]  RSP <ffff88021e277a58>
Oct 31 18:46:27 jks-desktop kernel: [24236.843851] CR2: 0000000000000008
Oct 31 18:46:27 jks-desktop kernel: [24236.843885] ---[ end trace 43ff506f9fe2529a ]---
Oct 31 18:46:27 jks-desktop udevd-work[13934]: '/sbin/blkid -o udev -p /dev/sdd' unexpected exit with status 0x0009
Oct 31 18:46:27 jks-desktop kernel: [24237.044073] usb 2-4: new high speed USB device number 109 using ehci_hcd
Oct 31 18:46:28 jks-desktop kernel: [24237.174129] usb 2-4: New USB device found, idVendor=0bb4, idProduct=0ff9
Oct 31 18:46:28 jks-desktop kernel: [24237.174135] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct 31 18:46:28 jks-desktop kernel: [24237.174138] usb 2-4: Product: Android Phone
Oct 31 18:46:28 jks-desktop kernel: [24237.174140] usb 2-4: Manufacturer: HTC
Oct 31 18:46:28 jks-desktop kernel: [24237.174142] usb 2-4: SerialNumber: HT07NPS06123
Oct 31 18:46:28 jks-desktop kernel: [24237.176955] scsi335 : usb-storage 2-4:1.0
Oct 31 18:46:28 jks-desktop mtp-probe: checking bus 2, device 109: "/sys/devices/pci0000:00/0000:00:04.1/usb2/2-4"
Oct 31 18:46:28 jks-desktop mtp-probe: bus: 2, device: 109 was not an MTP device


Version-Release number of selected component (if applicable):
2.6.40.6-0.fc15.x86_64 

How reproducible:
It happens to me every few days, I don't know how to reproduce on demand.

Comment 1 Chuck Ebbert 2011-11-29 12:50:14 UTC
*** Bug 747221 has been marked as a duplicate of this bug. ***

Comment 2 Chuck Ebbert 2011-11-29 12:52:31 UTC
Note: this is the same as bug 754518 in F16

Comment 3 Joseph Shraibman 2011-11-29 15:16:05 UTC
BTW I've figured out how to reproduce this.  This always happens when I plug in my phone, maybe because the usb cable doesn't sit right in the plug and the phone is always disconnecting and reconnecting, which increases the chance of hitting this bug.

Comment 4 Josh Boyer 2012-01-05 14:59:59 UTC

*** This bug has been marked as a duplicate of bug 754518 ***


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