[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#649198: linux-image-2.6.32-5-amd64: Kernel Oops on try to use an USB CD drive that was powered off



On Sat, 2011-11-19 at 12:40 +0100, Thomas Schmitt wrote:
> Hi,
> 
> Ben Hutchings wrote:
> > Please
> > update to the current stable point release (Debian 6.0.3) and let us
> > know whether the bug is fixed.
> 
> I am not a skilled Debian admin. So i need instructions for any Debian
> specific action you want me to perform.
> 
> Following the advise of the maintainer of my upstream packages in Debian
> i checked /etc/apt/sources.list and performed apt-get update,
> apt-get upgrade.

That's right.

> But after reboot uname -a still says 2.6.32-5.
> The date has changed, though:
>   Linux debian2 2.6.32-5-amd64 #1 SMP Mon Oct 3 03:59:20 UTC 2011 x86_64
> The previous one was
>   Linux debian2 2.6.32-5-amd64 #1 SMP Tue Jun 14 09:42:28 UTC 2011 x86_64

The version string that uname shows is kept unchanged as long as
possible, so that third-party kernel modules do not need to be rebuilt
after an upgrade.  You can use 'cat /proc/version' to get the package
version.

> Some messages from that upgrade attempt are listed below.
> 
> 
> I can still reproduce the kernel Oops by having a file descriptor open,
> switching off the USB drive, and then trying to use the file descriptor
> with ioctl(SG_IO).
> 
> Nov 19 11:32:21 debian2 kernel: [ 5287.380722] usb 1-3: USB disconnect, address 3
> Nov 19 11:32:29 debian2 kernel: [ 5295.341307] PGD 77fb9067 PUD 0
> Nov 19 11:32:29 debian2 kernel: [ 5295.341328] CPU 3
> Nov 19 11:32:29 debian2 kernel: [ 5295.341332] Modules linked in: ppdev lp sco bridge stp bnep rfcomm l2cap crc16 bluetooth rfkill powernow_k8 cpufreq_powersave cpufreq_stats cpufreq_conservative cpufreq_userspace kvm_amd kvm binfmt_misc fuse loop snd_hda_codec_atihdmi snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq snd_timer snd_seq_device snd radeon ttm soundcore snd_page_alloc drm_kms_helper drm i2c_algo_bit shpchp pci_hotplug i2c_piix4 i2c_core edac_core edac_mce_amd k10temp pcspkr parport_pc parport button evdev processor ext3 jbd mbcache usbhid hid sg sd_mod sr_mod crc_t10dif cdrom ata_generic usb_storage pata_atiixp ahci libata ohci_hcd ehci_hcd thermal r8169 thermal_sys mii scsi_mod usbcore nls_base [last unloaded: scsi_wait_scan]
> Nov 19 11:32:29 debian2 kernel: [ 5295.341436] Pid: 2636, comm: xorriso Not tainted 2.6.32-5-amd64 #1 GA-MA74GM-S2H
> Nov 19 11:32:29 debian2 kernel: [ 5295.341442] RIP: 0010:[<0000000101500003>]  [<0000000101500003>] 0x101500003
> Nov 19 11:32:29 debian2 kernel: [ 5295.341453] RSP: 0018:ffff880109643be0  EFLAGS: 00010206
> Nov 19 11:32:29 debian2 kernel: [ 5295.341458] RAX: 0000000101500003 RBX: 0000000000000000 RCX: ffff880123e91198
> Nov 19 11:32:29 debian2 kernel: [ 5295.341463] RDX: 0000000000000010 RSI: ffff880123e91110 RDI: ffff880124cf8000
> Nov 19 11:32:29 debian2 kernel: [ 5295.341442] RIP: 0010:[<0000000101500003>]  [<0000000101500003>] 0x101500003
> Nov 19 11:32:29 debian2 kernel: [ 5295.341453] RSP: 0018:ffff880109643be0  EFLAGS: 00010206
> Nov 19 11:32:29 debian2 kernel: [ 5295.341458] RAX: 0000000101500003 RBX: 0000000000000000 RCX: ffff880123e91198
> Nov 19 11:32:29 debian2 kernel: [ 5295.341463] RDX: 0000000000000010 RSI: ffff880123e91110 RDI: ffff880124cf8000
> Nov 19 11:32:29 debian2 kernel: [ 5295.341469] RBP: ffff880124cf8000 R08: ffff880124cf8000 R09: ffff880126aaae40
> Nov 19 11:32:29 debian2 kernel: [ 5295.341474] R10: 0000000000000000 R11: 0000000101500003 R12: ffff880123e91110
> Nov 19 11:32:29 debian2 kernel: [ 5295.341479] R13: 0000000001000000 R14: 0000000000000001 R15: 0000000000000001
> Nov 19 11:32:29 debian2 kernel: [ 5295.341486] FS:  00007faa824d8700(0000) GS:ffff880005380000(0000) knlGS:0000000000000000
> Nov 19 11:32:29 debian2 kernel: [ 5295.341492] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> Nov 19 11:32:29 debian2 kernel: [ 5295.341497] CR2: 0000000101500003 CR3: 000000007b72e000 CR4: 00000000000006e0
> Nov 19 11:32:29 debian2 kernel: [ 5295.341503] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> Nov 19 11:32:29 debian2 kernel: [ 5295.341508] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
> Nov 19 11:32:29 debian2 kernel: [ 5295.341515] Process xorriso (pid: 2636, threadinfo ffff880109642000, task ffff880124442a60)
> Nov 19 11:32:29 debian2 kernel: [ 5295.341522]  ffffffff8117f52f 00000010810c78a0 0000000000000000 0000000000000801
> Nov 19 11:32:29 debian2 kernel: [ 5295.341531] <0> ffff88000000c680 0000000000000041 ffff880126aaae40 ffff880124cf8000
> Nov 19 11:32:29 debian2 kernel: [ 5295.341540] <0> 0000000000000000 0000000000000000 0000000000000000 ffff880126aaae40
> Nov 19 11:32:29 debian2 kernel: [ 5295.341562]  [<ffffffff8117f52f>] ? get_request+0x1f0/0x2ba
> Nov 19 11:32:29 debian2 kernel: [ 5295.341572]  [<ffffffff8117f61a>] ? get_request_wait+0x21/0x188
> Nov 19 11:32:29 debian2 kernel: [ 5295.341583]  [<ffffffff810b9dd8>] ? get_page_from_freelist+0x56b/0x760
> Nov 19 11:32:29 debian2 kernel: [ 5295.341607]  [<ffffffffa003e274>] ? scsi_execute+0x3b/0x12f [scsi_mod]
> Nov 19 11:32:29 debian2 kernel: [ 5295.341626]  [<ffffffffa003e3a8>] ? scsi_execute_req+0x40/0xb9 [scsi_mod]
> Nov 19 11:32:29 debian2 kernel: [ 5295.341644]  [<ffffffffa003e3ef>] ? scsi_execute_req+0x87/0xb9 [scsi_mod]
> Nov 19 11:32:29 debian2 kernel: [ 5295.341662]  [<ffffffffa0038d20>] ? ioctl_internal_command+0x64/0x16a [scsi_mod]
> Nov 19 11:32:29 debian2 kernel: [ 5295.341681]  [<ffffffffa0038e80>] ? scsi_set_medium_removal+0x5a/0x98 [scsi_mod]
> Nov 19 11:32:29 debian2 kernel: [ 5295.341695]  [<ffffffffa00cdeae>] ? cdrom_release+0x18f/0x1fe [cdrom]
> Nov 19 11:32:29 debian2 kernel: [ 5295.341706]  [<ffffffff810cccda>] ? handle_mm_fault+0x35c/0x80f
> Nov 19 11:32:29 debian2 kernel: [ 5295.341718]  [<ffffffffa00d93d2>] ? sr_block_release+0x11/0x1d [sr_mod]
> Nov 19 11:32:29 debian2 kernel: [ 5295.341728]  [<ffffffff8111285a>] ? __blkdev_put+0x94/0x14c
> Nov 19 11:32:29 debian2 kernel: [ 5295.341737]  [<ffffffff810efe1d>] ? __fput+0x100/0x1af
> Nov 19 11:32:29 debian2 kernel: [ 5295.341745]  [<ffffffff810ed282>] ? filp_close+0x5b/0x62
> Nov 19 11:32:29 debian2 kernel: [ 5295.341752]  [<ffffffff810ed31d>] ? sys_close+0x94/0xcd
> Nov 19 11:32:29 debian2 kernel: [ 5295.341761]  [<ffffffff81010b42>] ? system_call_fastpath+0x16/0x1b
> Nov 19 11:32:29 debian2 kernel: [ 5295.341778]  RSP <ffff880109643be0>
> Nov 19 11:32:29 debian2 kernel: [ 5295.341821] ---[ end trace 0cf3d73533629d6a ]---
[...]

This shows a crash in close() not ioctl().  But anyway, definitely
another bug to be fixed.

Ben.

-- 
Ben Hutchings
The world is coming to an end.	Please log off.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: