Bug#675621: system freeze after safely unmounting usb drive

2012-11-24 Thread Jonathan Nieder
Seb wrote:

> If I umount the disc from console, nothing wrong happen, only if I safely
> remove from right clic, the system freeze, no need to unplug the usb drive
> (as I thought), it happen alone, I manage to open a consol (ctrl-alt-f1)
> before it disable the keyboard, nothing show up.

Thanks, and sorry for the slow reply.

If I understand correctly, the sequence of events are these:

 0. 2.6.32-45 is booted
 1. insertion of USB stick
 2. system mounts USB stick
 3. right-click on it and choose "safely remove drive"
 4. display turns black, though mouse pointer is still showing,
kernel panic (blinking keyboard LEDs)

If you can get a log of the boot and kernel panic using a serial
console[1] or netconsole[2], that would be perfect.

Hope that helps,
Jonathan

[1] http://www.kernel.org/doc/Documentation/serial-console.txt
[2] http://www.kernel.org/doc/Documentation/networking/netconsole.txt


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#675621: system freeze after safely unmounting usb drive

2012-06-07 Thread Rik Theys

Hi,

On 06/07/2012 11:22 PM, Ben Hutchings wrote:

On Tue, Jun 05, 2012 at 09:05:42AM +0200, Rik Theys wrote:

I have seen similar crashes with the 6.0.x kernel on some of our
systems. Unfortunately the systems are in a remote location and I
was unable to capture any crash screens.

[...]

This sounds somewhat the bug fixed by:

commit 8354a9e00afb022f6b508bd7d6bd74daebb8b751



or possibly:

commit 5e4c1dbf52bc1ff33782266332a62151d5b5f0be
But we've had those since linux-2.6 version 2.6.32-36 (Debian release
6.0.3).  So unless Sebastien has somehow failed to upgrade then this
must be something different.


I've checked the dpkg.log file on one of the systems on which I'm 
certain I switched to a 3.1 kernel because of this bug, and the last 
2.6.32 kernel on it before I switched is 2.6.32-39. The 3.1.5 kernel I 
installed at that time did not have the bug.



We're really going to need a kernel log in order to make any progress
on this.


I'll try to reproduce this on a test system, but I leave on holiday in a 
few hours so it could take a while.


Rik



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#675621: system freeze after safely unmounting usb drive

2012-06-07 Thread Ben Hutchings
On Tue, Jun 05, 2012 at 09:05:42AM +0200, Rik Theys wrote:
> reassign 675621 linux-2.6
> thanks
> 
> Hi,
> 
> I have seen similar crashes with the 6.0.x kernel on some of our
> systems. Unfortunately the systems are in a remote location and I
> was unable to capture any crash screens.
[...]

This sounds somewhat the bug fixed by:

commit 8354a9e00afb022f6b508bd7d6bd74daebb8b751
Author: James Bottomley 
Date:   Wed May 25 15:52:14 2011 -0500

Fix oops caused by queue refcounting failure

commit e73e079bf128d68284efedeba1fbbc18d78610f9 upstream.

or possibly:

commit 5e4c1dbf52bc1ff33782266332a62151d5b5f0be
Author: James Bottomley 
Date:   Wed May 18 16:20:10 2011 +0200

block: add proper state guards to __elv_next_request

commit 0a58e077eb600d1efd7e54ad9926a75a39d7f8ae upstream.

But we've had those since linux-2.6 version 2.6.32-36 (Debian release
6.0.3).  So unless Sebastien has somehow failed to upgrade then this
must be something different.

We're really going to need a kernel log in order to make any progress
on this.

Ben.

-- 
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
  - Albert Camus



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#675621: system freeze after safely unmounting usb drive

2012-06-05 Thread Rik Theys

reassign 675621 linux-2.6
thanks

Hi,

I have seen similar crashes with the 6.0.x kernel on some of our 
systems. Unfortunately the systems are in a remote location and I was 
unable to capture any crash screens.


I installed the 3.2 kernel from squeeze-backports on those systems and 
that fixed the bug. Can you try installing the linux kernel from 
squeeze-backports and confirm if this fixes the issue for you? See [1] 
for instructions on how to enable the backports repository.


Please also attach the system log (/var/log/syslog) as it might contain 
more information about the crash.


If you switch to a non-graphical console before unplugging the memory 
stick, does it show any messages? Press ctrl-alt-f1 to go to a 
non-graphical console and then unplug the usb stick. If a crash message 
appears, try taking a photograph of it and attach it to this bug report.


Regards,

Rik

[1]http://backports-master.debian.org/Instructions/



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org