FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 12-17-2011, 04:57 PM
Andrew Varner
 
Default Bug#652484: linux-image-3.1.0-1-amd64: kernel oops when USB drive hot unplugged

Package: linux-2.6
Version: 3.1.1-1
Severity: normal

I used dd to write an entire 4GB USB flash drive. It was only going at 2MB/s, so I ran it overnight. In the morning, it was done, so I unplugged the USB drive. Immediately there was a kernel oops.

The flash drive was plugged into a 7 port USB hub, which was plugged directly into the computer. The USB hub has been pretty flakey, and I don't really trust the flash drive much, either.

I have trimmed the Kernel log below. It shows from the moment the drive was plugged in, through the oops.


-- Package-specific info:
** Version:
Linux version 3.1.0-1-amd64 (Debian 3.1.1-1) (ben@decadent.org.uk) (gcc version 4.6.2 (Debian 4.6.2-4) ) #1 SMP Mon Nov 14 08:02:25 UTC 2011

** Command line:
BOOT_IMAGE=/vmlinuz-3.1.0-1-amd64 root=/dev/mapper/hda4_crypt ro single

** Tainted: D (128)
* Kernel has oopsed before.

** Kernel log:
[800414.804508] usb 1-2.2: new high speed USB device number 22 using ehci_hcd
[800415.050087] usb 1-2.2: New USB device found, idVendor=090c, idProduct=1000
[800415.050092] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[800415.050095] usb 1-2.2: SerialNumber: AA00000000010474
[800415.050475] scsi16 : usb-storage 1-2.2:1.0
[800416.239552] scsi 16:0:0:0: Direct-Access 1100 PQ: 0 ANSI: 0 CCS
[800416.239623] scsi: killing requests for dead queue
[800416.239665] scsi: killing requests for dead queue
[800416.239704] scsi: killing requests for dead queue
[800416.239738] scsi: killing requests for dead queue
[800416.239769] scsi: killing requests for dead queue
[800416.239801] scsi: killing requests for dead queue
[800416.239831] scsi: killing requests for dead queue
[800416.239862] scsi: killing requests for dead queue
[800416.240393] sd 16:0:0:0: Attached scsi generic sg10 type 0
[800416.241178] sd 16:0:0:0: [sdj] 7913472 512-byte logical blocks: (4.05 GB/3.77 GiB)
[800416.242053] sd 16:0:0:0: [sdj] Write Protect is off
[800416.242060] sd 16:0:0:0: [sdj] Mode Sense: 43 00 00 00
[800416.243914] sd 16:0:0:0: [sdj] No Caching mode page present
[800416.243919] sd 16:0:0:0: [sdj] Assuming drive cache: write through
[800416.247663] sd 16:0:0:0: [sdj] No Caching mode page present
[800416.247667] sd 16:0:0:0: [sdj] Assuming drive cache: write through
[800416.248797] sdj:
[800416.251418] sd 16:0:0:0: [sdj] No Caching mode page present
[800416.251423] sd 16:0:0:0: [sdj] Assuming drive cache: write through
[800416.251426] sd 16:0:0:0: [sdj] Attached SCSI removable disk
[834006.038021] usb 1-2.2: USB disconnect, device number 22
[834006.038712] scsi: killing requests for dead queue
[834006.039764] BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
[834006.039891] IP: [<ffffffffa0069792>] sd_revalidate_disk+0x33/0x1603 [sd_mod]
[834006.039999] PGD b69dd067 PUD c0968067 PMD 0
[834006.040066] Oops: 0000 [#1] SMP
[834006.040118] CPU 0
[834006.040149] Modules linked in: nls_iso8859_1 nls_cp437 vfat fat joydev xpad ff_memless kvm_amd kvm ppdev lp bnep rfcomm bluetooth rfkill crc16 uinput fuse bridge stp tun ipt_REJECT xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack xt_owner iptable_filter ip_tables x_tables ext2 loop snd_hda_codec_hdmi snd_hda_codec_via snd_hda_intel snd_hda_codec snd_pcm_oss radeon snd_mixer_oss usblp snd_usb_audio snd_hwdep snd_usbmidi_lib ttm snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq drm_kms_helper drm i2c_algo_bit sp5100_tco snd_timer power_supply snd_seq_device snd soundcore tpm_tis tpm tpm_bios amd64_edac_mod edac_core i2c_piix4 edac_mce_amd i2c_core shpchp snd_page_alloc parport_pc parport asus_atk0110 processor pci_hotplug pcspkr evdev k10temp button thermal_sys wmi ext3 jbd mbcache sha256_generic cryptd aes_x86_64 aes_generic cbc usbhid hid usb_storage uas dm_crypt dm_mod raid456 md_mod async_raid6_recov async_pq raid6_pq async_xor xor async_me
mcpy async_tx sg sd_mod sr_mod crc_t10dif cdrom ata_generic ohci_hcd pata_atiixp ahci libahci libata ehci_hcd scsi_mod usbcore r8169 mii [last unloaded: scsi_wait_scan]
[834006.041894]
[834006.041918] Pid: 3309, comm: udisks-daemon Not tainted 3.1.0-1-amd64 #1 System manufacturer System Product Name/M4A88T-M
[834006.042074] RIP: 0010:[<ffffffffa0069792>] [<ffffffffa0069792>] sd_revalidate_disk+0x33/0x1603 [sd_mod]
[834006.042188] RSP: 0018:ffff8800b04efaf8 EFLAGS: 00010246
[834006.042188] RAX: 0000000000000000 RBX: ffff8801173bd200 RCX: 0000000000000001
[834006.042188] RDX: 0000000000000001 RSI: ffff8800c92cc600 RDI: ffff8800b31db800
[834006.042188] RBP: 0000000000000000 R08: 00000008ffffffff R09: ffff88010a8d9750
[834006.042188] R10: ffff88010a8d9750 R11: ffff88010a8d9750 R12: ffff8800b31db800
[834006.042188] R13: 0000000000000000 R14: ffff8801173bd218 R15: ffff8801173bd200
[834006.042188] FS: 00007f16fd1f37a0(0000) GS:ffff88011fc00000(0000) knlGS:0000000000000000
[834006.042188] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[834006.042188] CR2: 0000000000000008 CR3: 00000000bfa9b000 CR4: 00000000000006f0
[834006.042188] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[834006.043122] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[834006.043122] Process udisks-daemon (pid: 3309, threadinfo ffff8800b04ee000, task ffff880118346ea0)
[834006.043122] Stack:
[834006.043122] ffff88011b24b800 ffffffff81106ae1 00000000000059ee ffff8800b31db848
[834006.043122] 0000000000000000 ffff8800b31db800 000000000000001d ffff8801173bd218
[834006.043122] ffff8801173bd200 ffff8800b31db800 ffff8801173bd200 ffff8801173bd200
[834006.043122] Call Trace:
[834006.043122] [<ffffffff81106ae1>] ? iget5_locked+0x5c/0x127
[834006.043122] [<ffffffff81141189>] ? rescan_partitions+0xac/0x41b
[834006.043122] [<ffffffff8111ad4e>] ? __blkdev_get+0x1a6/0x37e
[834006.043122] [<ffffffff8111b1cd>] ? blkdev_get+0x2a7/0x2a7
[834006.043122] [<ffffffff8111b0ed>] ? blkdev_get+0x1c7/0x2a7
[834006.043122] [<ffffffff810fb980>] ? path_to_nameidata+0x1/0x3a
[834006.043122] [<ffffffff8111b1cd>] ? blkdev_get+0x2a7/0x2a7
[834006.043122] [<ffffffff810f2506>] ? __dentry_open+0x17f/0x296
[834006.043122] [<ffffffff810fb7fc>] ? dget+0x12/0x1e
[834006.043122] [<ffffffff810fe9bb>] ? do_last+0x47c/0x591
[834006.043122] [<ffffffff810fee28>] ? path_openat+0xce/0x31c
[834006.043122] [<ffffffff8103e39e>] ? try_to_wake_up+0x182/0x192
[834006.043122] [<ffffffff8107192f>] ? module_refcount+0x80/0x95
[834006.043122] [<ffffffff810ff138>] ? do_filp_open+0x2a/0x6e
[834006.043122] [<ffffffff8132c02f>] ? _cond_resched+0x7/0x1c
[834006.043122] [<ffffffff811a2ad9>] ? __strncpy_from_user+0x18/0x48
[834006.043122] [<ffffffff81107d07>] ? alloc_fd+0x64/0x109
[834006.043122] [<ffffffff810f33c7>] ? do_sys_open+0x5e/0xe5
[834006.043122] [<ffffffff813322d2>] ? system_call_fastpath+0x16/0x1b
[834006.043122] Code: 55 53 48 81 ec 88 00 00 00 48 8b af 28 03 00 00 65 48 8b 04 25 28 00 00 00 48 89 44 24 78 31 c0 8b 05 23 4b 03 00 48 89 7c 24 48 <4c> 8b 7d 08 c1 e8 15 83 e0 07 83 f8 03 76 43 48 8b 8d 78 02 00
[834006.043122] RIP [<ffffffffa0069792>] sd_revalidate_disk+0x33/0x1603 [sd_mod]
[834006.043122] RSP <ffff8800b04efaf8>
[834006.043122] CR2: 0000000000000008
[834006.085980] ---[ end trace c3b7398fd4ed4861 ]---

** Model information
sys_vendor: System manufacturer
product_name: System Product Name
product_version: System Version
chassis_vendor: Chassis Manufacture
chassis_version: Chassis Version
bios_vendor: American Megatrends Inc.
bios_version: 2106
board_vendor: ASUSTeK Computer INC.
board_name: M4A88T-M
board_version: Rev X.0x

** Loaded modules:
Module Size Used by
nls_iso8859_1 12461 0
nls_cp437 16553 0
vfat 17316 0
fat 45642 1 vfat
joydev 17266 0
xpad 17093 0
ff_memless 12708 1 xpad
kvm_amd 47129 0
kvm 278183 1 kvm_amd
ppdev 12763 0
lp 17149 0
bnep 17567 2
rfcomm 33622 0
bluetooth 119290 10 bnep,rfcomm
rfkill 19012 2 bluetooth
crc16 12343 1 bluetooth
uinput 17440 1
fuse 61981 5
bridge 66534 0
stp 12392 1 bridge
tun 18337 3
ipt_REJECT 12502 4
xt_tcpudp 12570 8
nf_conntrack_ipv4 14078 2
nf_defrag_ipv4 12483 1 nf_conntrack_ipv4
xt_conntrack 12681 2
nf_conntrack 52670 2 nf_conntrack_ipv4,xt_conntrack
xt_owner 12423 1
iptable_filter 12536 1
ip_tables 22042 1 iptable_filter
x_tables 19028 6 ipt_REJECT,xt_tcpudp,xt_conntrack,xt_owner,iptable _filter,ip_tables
ext2 59191 1
loop 22597 0
snd_hda_codec_hdmi 26548 1
snd_hda_codec_via 41118 1
snd_hda_intel 26182 3
snd_hda_codec 72799 3 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_intel
snd_pcm_oss 41081 0
radeon 644743 2
snd_mixer_oss 17916 1 snd_pcm_oss
usblp 17343 0
snd_usb_audio 84784 0
snd_hwdep 13186 2 snd_hda_codec,snd_usb_audio
snd_usbmidi_lib 23373 1 snd_usb_audio
ttm 48725 1 radeon
snd_pcm 63744 6 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd _pcm_oss,snd_usb_audio
snd_seq_midi 12848 0
snd_rawmidi 23060 2 snd_usbmidi_lib,snd_seq_midi
snd_seq_midi_event 13316 1 snd_seq_midi
snd_seq 45093 2 snd_seq_midi,snd_seq_midi_event
drm_kms_helper 27227 1 radeon
drm 167371 4 radeon,ttm,drm_kms_helper
i2c_algo_bit 12841 1 radeon
sp5100_tco 12900 0
snd_timer 22917 3 snd_pcm,snd_seq
power_supply 13475 1 radeon
snd_seq_device 13176 3 snd_seq_midi,snd_rawmidi,snd_seq
snd 52798 18 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_intel ,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_usb_a udio,snd_hwdep,snd_usbmidi_lib,snd_pcm,snd_rawmidi ,snd_seq,snd_timer,snd_seq_device
soundcore 13065 1 snd
tpm_tis 17454 0
tpm 17862 1 tpm_tis
tpm_bios 12948 1 tpm
amd64_edac_mod 22286 0
edac_core 35258 3 amd64_edac_mod
i2c_piix4 12536 0
edac_mce_amd 17103 1 amd64_edac_mod
i2c_core 23876 5 radeon,drm_kms_helper,drm,i2c_algo_bit,i2c_piix4
shpchp 31293 0
snd_page_alloc 13003 2 snd_hda_intel,snd_pcm
parport_pc 22364 1
parport 31858 3 ppdev,lp,parport_pc
asus_atk0110 17297 0
processor 27949 0
pci_hotplug 27114 1 shpchp
pcspkr 12579 0
evdev 17562 21
k10temp 12611 0
button 12937 0
thermal_sys 18040 1 processor
wmi 13243 0
ext3 161848 2
jbd 56928 1 ext3
mbcache 13065 2 ext2,ext3
sha256_generic 16797 6
cryptd 14517 0
aes_x86_64 16796 36
aes_generic 33026 1 aes_x86_64
cbc 12754 18
usbhid 36379 0
hid 77192 1 usbhid
usb_storage 43919 0
uas 13296 0
dm_crypt 22586 3
dm_mod 63353 7 dm_crypt
raid456 48363 1
md_mod 87742 2 raid456
async_raid6_recov 12526 1 raid456
async_pq 12605 2 raid456,async_raid6_recov
raid6_pq 82591 2 async_raid6_recov,async_pq
async_xor 12422 3 raid456,async_raid6_recov,async_pq
xor 12605 1 async_xor
async_memcpy 12387 2 raid456,async_raid6_recov
async_tx 12566 5 raid456,async_raid6_recov,async_pq,async_xor,async _memcpy
sg 25874 0
sd_mod 36136 11
sr_mod 21899 0
crc_t10dif 12348 1 sd_mod
cdrom 35401 1 sr_mod
ata_generic 12479 0
ohci_hcd 26614 0
pata_atiixp 12696 3
ahci 24997 3
libahci 22860 1 ahci
libata 140545 4 ata_generic,pata_atiixp,ahci,libahci
ehci_hcd 40215 0
scsi_mod 162376 6 usb_storage,uas,sg,sd_mod,sr_mod,libata
usbcore 124095 10 xpad,usblp,snd_usb_audio,snd_usbmidi_lib,usbhid,us b_storage,uas,ohci_hcd,ehci_hcd
r8169 42391 0
mii 12675 1 r8169

** Network interface configuration:
[removed - sorry, security-through-obscurity thing]

** PCI devices:
00:00.0 Host bridge [0600]: Advanced Micro Devices [AMD] RS880 Host Bridge [1022:9601]
Subsystem: ASUSTeK Computer Inc. Device [1043:843e]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
Latency: 0
Capabilities: <access denied>

00:01.0 PCI bridge [0604]: ASUSTeK Computer Inc. RS880 PCI to PCI bridge (int gfx) [1043:9602] (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: fe900000-feafffff
Prefetchable memory behind bridge: 00000000d0000000-00000000dfffffff
Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>

00:0a.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 5) [1022:9609] (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 0000e000-0000efff
Memory behind bridge: feb00000-febfffff
Prefetchable memory behind bridge: 00000000fdf00000-00000000fdffffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity+ SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

00:11.0 SATA controller [0106]: ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode] [1002:4391] (prog-if 01 [AHCI 1.0])
Subsystem: ASUSTeK Computer Inc. Device [1043:8389]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 22
Region 0: I/O ports at c000 [size=8]
Region 1: I/O ports at b000 [size=4]
Region 2: I/O ports at a000 [size=8]
Region 3: I/O ports at 9000 [size=4]
Region 4: I/O ports at 8000 [size=16]
Region 5: Memory at fe8ffc00 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ahci

00:12.0 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller [1002:4397] (prog-if 10 [OHCI])
Subsystem: ASUSTeK Computer Inc. Device [1043:8389]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 16
Region 0: Memory at fe8fe000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci_hcd

00:12.1 USB Controller [0c03]: ATI Technologies Inc SB700 USB OHCI1 Controller [1002:4398] (prog-if 10 [OHCI])
Subsystem: ASUSTeK Computer Inc. Device [1043:8389]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 16
Region 0: Memory at fe8fd000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci_hcd

00:12.2 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB EHCI Controller [1002:4396] (prog-if 20 [EHCI])
Subsystem: ASUSTeK Computer Inc. Device [1043:8389]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 17
Region 0: Memory at fe8ff800 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd

00:13.0 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller [1002:4397] (prog-if 10 [OHCI])
Subsystem: ASUSTeK Computer Inc. Device [1043:8389]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 18
Region 0: Memory at fe8fc000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci_hcd

00:13.1 USB Controller [0c03]: ATI Technologies Inc SB700 USB OHCI1 Controller [1002:4398] (prog-if 10 [OHCI])
Subsystem: ASUSTeK Computer Inc. Device [1043:8389]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 18
Region 0: Memory at fe8fb000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci_hcd

00:13.2 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB EHCI Controller [1002:4396] (prog-if 20 [EHCI])
Subsystem: ASUSTeK Computer Inc. Device [1043:8389]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 19
Region 0: Memory at fe8ff400 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd

00:14.0 SMBus [0c05]: ATI Technologies Inc SBx00 SMBus Controller [1002:4385] (rev 3c)
Subsystem: ASUSTeK Computer Inc. M4A785TD Motherboard [1043:8389]
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Capabilities: <access denied>
Kernel driver in use: piix4_smbus

00:14.1 IDE interface [0101]: ATI Technologies Inc SB700/SB800 IDE Controller [1002:439c] (prog-if 8a [Master SecP PriP])
Subsystem: ASUSTeK Computer Inc. Device [1043:8389]
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64
Interrupt: pin A routed to IRQ 16
Region 0: I/O ports at 01f0 [size=8]
Region 1: I/O ports at 03f4 [size=1]
Region 2: I/O ports at 0170 [size=8]
Region 3: I/O ports at 0374 [size=1]
Region 4: I/O ports at ff00 [size=16]
Capabilities: <access denied>
Kernel driver in use: pata_atiixp

00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia (Intel HDA) [1002:4383]
Subsystem: ASUSTeK Computer Inc. M4A785TD Motherboard [1043:836c]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 16
Region 0: Memory at fe8f4000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel

00:14.3 ISA bridge [0601]: ATI Technologies Inc SB700/SB800 LPC host controller [1002:439d]
Subsystem: ASUSTeK Computer Inc. Device [1043:8389]
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0

00:14.4 PCI bridge [0604]: ATI Technologies Inc SBx00 PCI to PCI Bridge [1002:4384] (prog-if 01 [Subtractive decode])
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64
Bus: primary=00, secondary=03, subordinate=03, sec-latency=64
Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity+ SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-

00:14.5 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller [1002:4399] (prog-if 10 [OHCI])
Subsystem: ASUSTeK Computer Inc. Device [1043:8389]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64, Cache Line Size: 64 bytes
Interrupt: pin C routed to IRQ 18
Region 0: Memory at fe8fa000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci_hcd

00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration [1022:1200]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Capabilities: <access denied>

00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor Address Map [1022:1201]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-

00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller [1022:1202]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Kernel driver in use: amd64_edac

00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control [1022:1203]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Capabilities: <access denied>
Kernel driver in use: k10temp

00:18.4 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor Link Control [1022:1204]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-

01:05.0 VGA compatible controller [0300]: ATI Technologies Inc RS880 [Radeon HD 4250] [1002:9715] (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device [1043:843e]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 18
Region 0: Memory at d0000000 (32-bit, prefetchable) [size=256M]
Region 1: I/O ports at d000 [size=256]
Region 2: Memory at feaf0000 (32-bit, non-prefetchable) [size=64K]
Region 5: Memory at fe900000 (32-bit, non-prefetchable) [size=1M]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: radeon

01:05.1 Audio device [0403]: ATI Technologies Inc RS880 Audio Device [Radeon HD 4200] [1002:970f]
Subsystem: ASUSTeK Computer Inc. Device [1043:843e]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 19
Region 0: Memory at feae8000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel

02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)
Subsystem: ASUSTeK Computer Inc. Device [1043:8432]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 41
Region 0: I/O ports at e800 [size=256]
Region 2: Memory at fdfff000 (64-bit, prefetchable) [size=4K]
Region 4: Memory at fdff8000 (64-bit, prefetchable) [size=16K]
Expansion ROM at febe0000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: r8169


** USB devices:
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 08bb:2901 Texas Instruments Japan PCM2901 Audio Codec
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 021: ID 099a:2515 Zippy Technology Corp.
Bus 001 Device 019: ID 045e:0289 Microsoft Corp. Xbox Controller S
Bus 001 Device 018: ID 045e:0288 Microsoft Corp. Xbox Controller S Hub
Bus 001 Device 017: ID 058f:6364 Alcor Micro Corp.
Bus 001 Device 016: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 014: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 002: ID 03f0:4412 Hewlett-Packard
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


-- System Information:
Debian Release: 6.0.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'oldstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-3.1.0-1-amd64 depends on:
ii debconf [debconf-2.0] 1.5.41 Debian configuration management sy
ii initramfs-tools [linux-initra 0.99 tools for generating an initramfs
ii linux-base 3.2 Linux image base package
ii module-init-tools 3.12-2 tools for managing Linux kernel mo

Versions of packages linux-image-3.1.0-1-amd64 recommends:
ii firmware-linux-free 3 Binary firmware for various driver

Versions of packages linux-image-3.1.0-1-amd64 suggests:
ii grub-pc 1.98+20100804-14+squeeze1 GRand Unified Bootloader, version
pn linux-doc-3.1 <none> (no description available)

Versions of packages linux-image-3.1.0-1-amd64 is related to:
pn firmware-bnx2 <none> (no description available)
pn firmware-bnx2x <none> (no description available)
pn firmware-ipw2x00 <none> (no description available)
pn firmware-ivtv <none> (no description available)
pn firmware-iwlwifi <none> (no description available)
ii firmware-linux 0.33 Binary firmware for various driver
ii firmware-linux-nonfree 0.33 Binary firmware for various driver
pn firmware-qlogic <none> (no description available)
pn firmware-ralink <none> (no description available)
pn xen-hypervisor <none> (no description available)

-- debconf information:
linux-image-3.1.0-1-amd64/postinst/ignoring-ramdisk:
linux-image-3.1.0-1-amd64/postinst/depmod-error-initrd-3.1.0-1-amd64: false
linux-image-3.1.0-1-amd64/prerm/removing-running-kernel-3.1.0-1-amd64: true
* linux-image-3.1.0-1-amd64/postinst/missing-firmware-3.1.0-1-amd64:



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111217175748.2623.31107.reportbug@localhost">htt p://lists.debian.org/20111217175748.2623.31107.reportbug@localhost
 
Old 12-30-2011, 11:08 AM
Ben Hutchings
 
Default Bug#652484: linux-image-3.1.0-1-amd64: kernel oops when USB drive hot unplugged

On Sat, 2011-12-17 at 11:57 -0600, Andrew Varner wrote:
> Package: linux-2.6
> Version: 3.1.1-1
> Severity: normal
>
> I used dd to write an entire 4GB USB flash drive. It was only going at
> 2MB/s, so I ran it overnight. In the morning, it was done, so I
> unplugged the USB drive. Immediately there was a kernel oops.
>
> The flash drive was plugged into a 7 port USB hub, which was plugged
> directly into the computer. The USB hub has been pretty flakey, and I
> don't really trust the flash drive much, either.
>
> I have trimmed the Kernel log below. It shows from the moment the
> drive was plugged in, through the oops.
[...]

This bug seems to be known but not yet fully understood by the kernel
developers. There was a change in Linux 3.1.5 which should result in
logging more information in case this bug is triggered. Have you seen
it happen again?

Ben.

--
Ben Hutchings
Beware of programmers who carry screwdrivers. - Leonard Brandwein
 
Old 01-06-2012, 04:56 AM
"av@avarner.no-ip.org"
 
Default Bug#652484: linux-image-3.1.0-1-amd64: kernel oops when USB drive hot unplugged

On Fri, 2011-12-30 at 13:08 +0100, Ben Hutchings wrote:
> This bug seems to be known but not yet fully understood by the kernel
> developers. There was a change in Linux 3.1.5 which should result in
> logging more information in case this bug is triggered. Have you seen
> it happen again?


I upgraded to 3.1.5 and saw it twice more. The first time, I missed it,
as some other stuff filled the dmesg ring buffer before I copied it. I
restarted, and reproduced the bug again. Here is the dmesg:



[17455.033004] usb 1-2.3: USB disconnect, device number 14
[17455.035097] scsi 14:0:0:0: killing request
[17455.035236] BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
[17455.035351] IP: [<ffffffffa00e3792>] sd_revalidate_disk+0x33/0x1603 [sd_mod]
[17455.035455] PGD 2d3b6067 PUD 41463067 PMD 0
[17455.035523] Oops: 0000 [#1] SMP
[17455.035575] CPU 0
[17455.035603] Modules linked in: joydev xpad ff_memless kvm_amd kvm bnep rfcomm bluetooth rfkill crc16 ppdev lp uinput fuse bridge stp tun ipt_REJECT xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack xt_owner iptable_filter ip_tables x_tables ext2 loop snd_hda_codec_hdmi usblp snd_hda_codec_via snd_hda_intel radeon snd_hda_codec snd_usb_audio snd_usbmidi_lib snd_hwdep ttm snd_pcm_oss snd_seq_midi snd_seq_midi_event drm_kms_helper amd64_edac_mod drm snd_mixer_oss sp5100_tco snd_pcm snd_rawmidi edac_core snd_seq snd_seq_device i2c_piix4 i2c_algo_bit parport_pc i2c_core snd_timer edac_mce_amd power_supply parport pcspkr snd k10temp soundcore snd_page_alloc tpm_tis tpm tpm_bios processor thermal_sys asus_atk0110 wmi shpchp pci_hotplug evdev button ext3 jbd mbcache sha256_generic cryptd aes_x86_64 aes_generic cbc dm_crypt dm_mod raid456 md_mod async_raid6_recov async_pq raid6_pq async_xor xor async_memcpy async_tx usbhid hid sg sr_mod sd_mod cdrom crc_t10dif usb_storage ata_generic uas pata_atiixp ohci_hcd ahci libahci ehci_hcd libata scsi_mod usbcore r8169 mii [last unloaded: scsi_wait_scan]
[17455.037291]
[17455.037314] Pid: 14285, comm: hald-addon-stor Not tainted 3.1.0-1-amd64 #1 System manufacturer System Product Name/M4A88T-M
[17455.037470] RIP: 0010:[<ffffffffa00e3792>] [<ffffffffa00e3792>] sd_revalidate_disk+0x33/0x1603 [sd_mod]
[17455.037600] RSP: 0018:ffff8800b0e17af8 EFLAGS: 00010246
[17455.037673] RAX: 0000000000000000 RBX: ffff88010bd97bc0 RCX: 0000000000000004
[17455.037767] RDX: 0000000000000004 RSI: ffff880119cb6800 RDI: ffff8800c9855400
[17455.037861] RBP: 0000000000000000 R08: 00000008ffffffff R09: 0000000000000007
[17455.037955] R10: ffff880119012690 R11: ffff880119012690 R12: ffff8800c9855400
[17455.038049] R13: 0000000000000000 R14: ffff88010bd97bd8 R15: ffff88010bd97bc0
[17455.038143] FS: 00007effecab5700(0000) GS:ffff88011fc00000(0000) knlGS:0000000000000000
[17455.038250] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[17455.038326] CR2: 0000000000000008 CR3: 00000000b5e5d000 CR4: 00000000000006f0
[17455.038420] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[17455.038514] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[17455.038608] Process hald-addon-stor (pid: 14285, threadinfo ffff8800b0e16000, task ffff880063298e60)
[17455.038729] Stack:
[17455.038757] ffff88011b24b800 ffffffff81106c49 ffffffff8119b57c ffff8800c9855448
[17455.038868] 0000000000000000 ffff8800c9855400 000000000000001d ffff88010bd97bd8
[17455.038978] ffff88010bd97bc0 ffff8800c9855400 ffff88010bd97bc0 ffff88010bd97bc0
[17455.039012] Call Trace:
[17455.039012] [<ffffffff81106c49>] ? iget5_locked+0x5c/0x127
[17455.039012] [<ffffffff8119b57c>] ? add_uevent_var+0xdc/0xdc
[17455.039012] [<ffffffff811412f1>] ? rescan_partitions+0xac/0x41b
[17455.039012] [<ffffffff8111aeb6>] ? __blkdev_get+0x1a6/0x37e
[17455.039012] [<ffffffff8111b335>] ? blkdev_get+0x2a7/0x2a7
[17455.039012] [<ffffffff8111b255>] ? blkdev_get+0x1c7/0x2a7
[17455.039012] [<ffffffff8111b335>] ? blkdev_get+0x2a7/0x2a7
[17455.039012] [<ffffffff810f2676>] ? __dentry_open+0x17f/0x296
[17455.039012] [<ffffffff810fb96c>] ? dget+0x12/0x1e
[17455.039012] [<ffffffff810feb2b>] ? do_last+0x47c/0x591
[17455.039012] [<ffffffff810fef98>] ? path_openat+0xce/0x31c
[17455.039012] [<ffffffff8103e39e>] ? try_to_wake_up+0x182/0x192
[17455.039012] [<ffffffff810ff2a8>] ? do_filp_open+0x2a/0x6e
[17455.039012] [<ffffffff8132c4b7>] ? _cond_resched+0x7/0x1c
[17455.039012] [<ffffffff811a2c49>] ? __strncpy_from_user+0x18/0x48
[17455.039012] [<ffffffff81107e6f>] ? alloc_fd+0x64/0x109
[17455.039012] [<ffffffff810f3537>] ? do_sys_open+0x5e/0xe5
[17455.039012] [<ffffffff81332792>] ? system_call_fastpath+0x16/0x1b
[17455.039012] Code: 55 53 48 81 ec 88 00 00 00 48 8b af 28 03 00 00 65 48 8b 04 25 28 00 00 00 48 89 44 24 78 31 c0 8b 05 23 9b f8 ff 48 89 7c 24 48 <4c> 8b 7d 08 c1 e8 15 83 e0 07 83 f8 03 76 43 48 8b 8d 78 02 00
[17455.039012] RIP [<ffffffffa00e3792>] sd_revalidate_disk+0x33/0x1603 [sd_mod]
[17455.039012] RSP <ffff8800b0e17af8>
[17455.039012] CR2: 0000000000000008
[17455.080302] ---[ end trace b5e7fd11c94c6bf3 ]---






--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1325829363.2915.4.camel@avarner">http://lists.debian.org/1325829363.2915.4.camel@avarner
 

Thread Tools




All times are GMT. The time now is 07:00 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org