Bug#642043: linux-image-3.0.0-1-amd64 frequently kerneloops on unmounting USB drives

2011-09-19 Thread Bastian Blank
On Sun, Sep 18, 2011 at 05:27:05PM -0500, Jonathan Nieder wrote:
  [ 9762.594980] Pid: 4271, comm: scsi_eh_6 Tainted: G   O 
  3.0.0-1-amd64 #1 Gigabyte Technology Co., Ltd. H61M-USB3-B3/H61M-USB3-B3
 (This is not the first oops after booting.)

Actually it is (no D in the flags). But it have out-of-tree modules
loaded.

Bastian

-- 
I'm a soldier, not a diplomat.  I can only tell the truth.
-- Kirk, Errand of Mercy, stardate 3198.9



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110919165101.ga8...@wavehammer.waldi.eu.org



Re: Bug#642043: linux-image-3.0.0-1-amd64 frequently kerneloops on unmounting USB drives

2011-09-19 Thread Jonathan Nieder
Bastian Blank wrote:
 On Sun, Sep 18, 2011 at 05:27:05PM -0500, Jonathan Nieder wrote:

 [ 9762.594980] Pid: 4271, comm: scsi_eh_6 Tainted: G   O 
 3.0.0-1-amd64 #1 Gigabyte Technology Co., Ltd. H61M-USB3-B3/H61M-USB3-B3
 (This is not the first oops after booting.)

 Actually it is (no D in the flags). But it have out-of-tree modules
 loaded.

Thanks, Bastian.  I need to study up on my print_tainted flags...
(In particular, I wish that not proprietary didn't show up as a
taint flag with the same letter as debbugs uses for grave bug. :))


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110919212804.GC6343@elie



Re: Bug#642043: linux-image-3.0.0-1-amd64 frequently kerneloops on unmounting USB drives

2011-09-19 Thread allcoms
I should point out that I have seen this error occur on a wheezy
install with no out-of-tree modules installed (that module being
virtualbox) even though the syslog etc I uploaded here did have the
offending module active and that I have also seen it occur when
removing fat32 drives, not just NTFS.

Indeed, this bug report does seem to be a duplicate although I did
search before I posted. I haven't been able to try the experimental
kernel yet as the machine in question is my girlfriends but if this
oops doesn't occur when doing a normal unmount (as the original report
suggests) then its not as severe a bug as I first thought.

Dan

On Mon, Sep 19, 2011 at 10:28 PM, Jonathan Nieder jrnie...@gmail.com wrote:
 Bastian Blank wrote:
 On Sun, Sep 18, 2011 at 05:27:05PM -0500, Jonathan Nieder wrote:

 [ 9762.594980] Pid: 4271, comm: scsi_eh_6 Tainted: G           O 
 3.0.0-1-amd64 #1 Gigabyte Technology Co., Ltd. H61M-USB3-B3/H61M-USB3-B3
 (This is not the first oops after booting.)

 Actually it is (no D in thve
 Thanks, Bastian.  I need to study up on my print_tainted flags...
 (In particular, I wish that not proprietary didn't show up as a
 taint flag with the same letter as debbugs uses for grave bug. :))



--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/canooojujkzf5n4gzgsra12mj5mxi0rwgdgrxyba8niwezfh...@mail.gmail.com



Bug#642043: linux-image-3.0.0-1-amd64 frequently kerneloops on unmounting USB drives

2011-09-18 Thread Dan MacDonald
Package: linux-2.6
Version: 3.0.0-3
Severity: normal

   * What led up to the situation?

Using 'Safely remove drive' option on USB drives under Nautilus/GNOME 
frequently causes a kerneloops.

   * What exactly did you do (or not do) that was effective (or
 ineffective)?

Sometimes you are able to switch virtual console and get back to X OK, other 
times a power cycle is required. I'd say 80% of the time unmounting works fine.

   * What was the outcome of this action?

Here's a syslog dump after a non-fatal kerneloops after unmounting a USB drive:

-

Sep 18 15:38:12 annes-pc ntfs-3g[4299]: Unmounting /dev/sde1 (Expansion Drive)

Sep 18 15:38:17 annes-pc kernel: [ 9762.593370] scsi 6:0:0:0: [sde] Unhandled 
error code

Sep 18 15:38:17 annes-pc kernel: [ 9762.593386] scsi 6:0:0:0: [sde]  Result: 
hostbyte=DID_OK driverbyte=DRIVER_OK

Sep 18 15:38:17 annes-pc kernel: [ 9762.593391] scsi 6:0:0:0: [sde] CDB: 
Read(10): 28 00 00 00 00 3f 00 00 08 00

Sep 18 15:38:17 annes-pc kernel: [ 9762.593402] end_request: I/O error, dev 
sde, sector 63

Sep 18 15:38:17 annes-pc kernel: [ 9762.593408] Buffer I/O error on device 
sde1, logical block 0

Sep 18 15:38:17 annes-pc kernel: [ 9762.593437] BUG: unable to handle kernel 
NULL pointer dereference at 0048

Sep 18 15:38:17 annes-pc kernel: [ 9762.593513] IP: [8118d464] 
elv_completed_request+0x38/0x4c

Sep 18 15:38:17 annes-pc kernel: [ 9762.593575] PGD 0 

Sep 18 15:38:17 annes-pc kernel: [ 9762.593596] Oops:  [#1] SMP 

Sep 18 15:38:17 annes-pc kernel: [ 9762.593630] CPU 2 

Sep 18 15:38:17 annes-pc kernel: [ 9762.593641] Buffer I/O error on device 
sde1, logical block 0

Sep 18 15:38:17 annes-pc kernel: [ 9762.593663] Buffer I/O error on device 
sde1, logical block 1

Sep 18 15:38:17 annes-pc kernel: [ 9762.593668] Buffer I/O error on device 
sde1, logical block 1

Sep 18 15:38:17 annes-pc kernel: [ 9762.593687] Buffer I/O error on device 
sde1, logical block 122095976

Sep 18 15:38:17 annes-pc kernel: [ 9762.593691] Buffer I/O error on device 
sde1, logical block 122095976

Sep 18 15:38:17 annes-pc kernel: [ 9762.593793] Buffer I/O error on device 
sde1, logical block 1

Sep 18 15:38:17 annes-pc kernel: [ 9762.593799] Buffer I/O error on device 
sde1, logical block 1

Sep 18 15:38:17 annes-pc kernel: [ 9762.593823] Buffer I/O error on device 
sde1, logical block 122096007

Sep 18 15:38:17 annes-pc kernel: [ 9762.593828] Buffer I/O error on device 
sde1, logical block 0

Sep 18 15:38:17 annes-pc kernel: [ 9762.594060] Modules linked in: nls_utf8 
nls_cp437 vfat fat cryptd aes_x86_64 aes_generic pci_stub vboxpci(O) 
acpi_cpufreq mperf vboxnetadp(O) ppdev cpufreq_powersave vboxnetflt(O) lp 
cpufreq_userspace cpufreq_stats cpufreq_conservative vboxdrv(O) fuse loop 
firewire_sbp2 firewire_core joydev snd_hda_codec_realtek snd_emu10k1_synth 
snd_emux_synth snd_seq_virmidi snd_seq_midi_emul snd_emu10k1 snd_hda_intel 
snd_ac97_codec snd_hda_codec ac97_bus snd_util_mem snd_hwdep snd_pcm_oss 
snd_seq_midi snd_mixer_oss snd_rawmidi i915 pcspkr snd_pcm snd_seq_midi_event 
i2c_i801 snd_seq snd_timer snd_seq_device snd evdev arc4 drm_kms_helper drm 
i2c_algo_bit button parport_pc rt61pci emu10k1_gp crc_itu_t rt2x00pci rt2x00lib 
parport processor mac80211 cfg80211 soundcore rfkill gameport eeprom_93cx6 
serio_raw snd_page_alloc video i2c_core thermal_sys ext4 mbcache jbd2 crc16 
usbhid hid usb_storage uas sg sr_mod sd_mod cdrom crc_t10dif ata_generic 
xhci_hcd ata_pii
 x ehci_hcd atl1c usbcore libata scsi_mo

Sep 18 15:38:17 annes-pc kernel: d [last unloaded: scsi_wait_scan]

Sep 18 15:38:17 annes-pc kernel: [ 9762.594965] 

Sep 18 15:38:17 annes-pc kernel: [ 9762.594980] Pid: 4271, comm: scsi_eh_6 
Tainted: G   O 3.0.0-1-amd64 #1 Gigabyte Technology Co., Ltd. 
H61M-USB3-B3/H61M-USB3-B3

Sep 18 15:38:17 annes-pc kernel: [ 9762.595072] RIP: 0010:[8118d464]  
[8118d464] elv_completed_request+0x38/0x4c

Sep 18 15:38:17 annes-pc kernel: [ 9762.595139] RSP: 0018:8800941c9d30  
EFLAGS: 00010002

Sep 18 15:38:17 annes-pc kernel: [ 9762.595178] RAX:  RBX: 
88011921c100 RCX: 0155

Sep 18 15:38:17 annes-pc kernel: [ 9762.595229] RDX: 88009067f540 RSI: 
880036ff1a38 RDI: 88011921c100

Sep 18 15:38:17 annes-pc kernel: [ 9762.595279] RBP: 880036ff1a38 R08: 
0001 R09: 

Sep 18 15:38:17 annes-pc kernel: [ 9762.595329] R10: 024311bc R11: 
817ee068 R12: fffb

Sep 18 15:38:17 annes-pc kernel: [ 9762.595379] R13: 0282 R14: 
 R15: 

Sep 18 15:38:17 annes-pc kernel: [ 9762.595430] FS:  () 
GS:88011fa8() knlGS:

Sep 18 15:38:17 annes-pc kernel: [ 9762.595486] CS:  0010 DS:  ES:  
CR0: 8005003b

Sep 18 15:38:17 annes-pc kernel: [ 9762.595527] CR2: 0048 CR3: 
01603000 CR4: 

Bug#642043: linux-image-3.0.0-1-amd64 frequently kerneloops on unmounting USB drives

2011-09-18 Thread Jonathan Nieder
severity 642043 important
tags 642043 + upstream
forwarded 642043 https://bugzilla.kernel.org/show_bug.cgi?id=38842
forwarded 631187 https://bugzilla.kernel.org/show_bug.cgi?id=38842
merge 642043 631187
quit

Hi Dan,

Dan MacDonald wrote:

 Using 'Safely remove drive' option on USB drives under Nautilus/GNOME
 frequently causes a kerneloops.

Sounds like http://bugs.debian.org/631187, aka
https://bugzilla.kernel.org/show_bug.cgi?id=38842

 [ 9762.593437] BUG: unable to handle kernel NULL pointer dereference at 
 0048
 [ 9762.593513] IP: [8118d464] elv_completed_request+0x38/0x4c
[...]
 [ 9762.593630] CPU 2 
 [ 9762.593641] Buffer I/O error on device sde1, logical block 0
[...]
 [ 9762.594980] Pid: 4271, comm: scsi_eh_6 Tainted: G   O 
 3.0.0-1-amd64 #1 Gigabyte Technology Co., Ltd. H61M-USB3-B3/H61M-USB3-B3

(This is not the first oops after booting.)

Thanks for writing,
Jonathan



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110918222705.GM2308@elie



Bug#642043: linux-image-3.0.0-1-amd64 frequently kerneloops on unmounting USB drives

2011-09-18 Thread Jonathan Nieder
Dan MacDonald wrote:

 Using 'Safely remove drive' option on USB drives under Nautilus/GNOME
 frequently causes a kerneloops.

Can you reproduce this with 3.1-rc4 or later from experimental?  If
so, dmesg output for the first oops using that kernel would be very
helpful[*].

Thanks,
Jonathan

[*] http://thread.gmane.org/gmane.linux.scsi/6



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110918225036.GA21908@elie