Leaving an SD card in the slot when suspending creates a nautilus window on awake

Bug #272557 reported by syko21
48
This bug affects 6 people
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Confirmed
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: nautilus

If an SD card is present in the laptop card-reader while suspending, then a full screen nautilus window is open on the active workspace when the session is resumed irrespective of whether or not there was a nautilus window on the desktop while suspending.

Due to this bug [ https://bugs.launchpad.net/bugs/160264 ], the window is completely white.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions:

 * Is this reproducible?
 * If so, what specific steps should we take to recreate this bug?
 * What ubuntu version do you use?

 This will help us to find and resolve the problem.

Changed in nautilus:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

We are closing this bug report as it lacks the information, described in the previous comments, we need to investigate the problem further. However, please reopen it if you can give us the missing information and don't hesitate to submit bug reports in the future.

Changed in nautilus:
status: Incomplete → Invalid
Revision history for this message
Roshan George (roshan-george) wrote :

I can provide the required information on this bug.

Changed in nautilus:
status: Invalid → New
Revision history for this message
Roshan George (roshan-george) wrote :

Whoops sorry, here's the stuff you asked for.

Steps to reproduce:
1. Open a nautilus window, and also another window (I usually have Evolution open, and sometimes Firefox)
2. Put the laptop into suspend using the button in the top right
3. Make the laptop resume (to do this I have to use my power button)
4. Only the Nautilus windows and sometimes the notifications that pop up in the bottom-right are flat blank white. Other windows display fine.

My system:
Ubuntu 8.04 64-bit
Dell XPS M1330
NVidia GeForce 8400M GS - I have enabled the Restricted Driver for this in the System » Administration » Hardware Drivers. I think this uses nvidia-glx-new

Revision history for this message
Roshan George (roshan-george) wrote :

Sorry for the multiple comments, but I thought maybe it would just help if I provide all the information that is relevant.

Just before the screen resumes to the password dialog, I get a message at a console saying:-
kernel: [ 444.679922] MMC: killing requests for dead queue
I can attach the entire log if you want.

The problem doesn't occur if I don't have a SD card in the card reader. It also did not happen just now to windows on other workspaces, but it does _always_ happen to the Nautilus window on the workspace I resume to.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Thanks, but this is actually a bug in the NVIDIA binary driver, and is a duplicate of bug 160264

Changed in nautilus:
status: New → Invalid
Revision history for this message
Roshan George (roshan-george) wrote :

Are you certain? The Nautilus window for the SD card pops up even if it wasn't open. Meaning:

1. No Nautilus window open.
2. Suspend.
3. Nautilus window for SD card is already open. (incidentally it is white)

Just emphasizing that it's weird that the window opened up on its own.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Ok, perhaps the Nautilus window shouldn't open but this wasn't clear in the original description. There appears to be 2 separate issues then:

1) The Nautilus window opens
2) The window appears white

2 is a bug in the NVIDIA drivers where windows drawn on the inactive VT always appear white. That is why the Nautilus window is white. NVIDIA are aware of this issue and have been for a long time, but have said it requires a re-write of the driver to fix (so will never actually get fixed). The original description reads like the reporter has a probelm with the white window, and not with the Nautilus window opening. You probably wouldn't have reported problem 1 as a bug if problem 2 didn't occur.

If you feel different, then please feel free to un-dupe it :)

Revision history for this message
dfalk (dfalk) wrote :

I feel different, yes. The window shouldn't open when waking up unless the card wasn't in the slot prior to suspending. This may not be an important bug, but it still should be fixed if possible.

Unfortunately I don't know how to un-dupe :(

Revision history for this message
Ricardo Pérez López (ricardo) wrote :

Done.

Changed in nautilus:
status: Invalid → New
Revision history for this message
Bernard van der Velden (bernard-vyper) wrote :

I do think you should make clear in your bug-description that your issue is clearly about nautilus opening a window when you insert an SD-card while suspended. The white window/screen nvidia-thingy is (to me) clearly another issue which has already been reported and marked as a bug.
In other words, please don't mix up the two issues in one bug-report.

Revision history for this message
dfalk (dfalk) wrote :

Title and description are now changed.

description: updated
Revision history for this message
Roshan George (roshan-george) wrote :

Whoops, I'm sorry, I was updating the description at the same time without noticing :(

description: updated
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Could you try to reproduce the same with Ubuntu 9.04? Thanks in advance.

Changed in nautilus:
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!.

Changed in nautilus:
status: Incomplete → Invalid
Revision history for this message
dkapell (david-rigitech) wrote :

I was able to reproduce this bug in 9.04 (Release Candidate)
Running just the base stuff in a desktop install, plus the netbook-remix packages on a Dell Mini 9 laptop
Steps to Reproduce:
1) put SD card in drive, it gets detected as normal, is usable, etc.
2) close all running apps (no Nautilus running)
3) Suspend system
4) Resume system
At this point, a nautilus window displaying the contents of the SD card opens.

Changed in nautilus (Ubuntu):
status: Invalid → New
Revision history for this message
dkapell (david-rigitech) wrote :

Update: I turned off "Browse Media when Inserted" in Nautilus, but the described behavior continued to happen.

Revision history for this message
Sebastien Bacher (seb128) wrote :

is that specific to sd cards? do you get the same issue using an usb key?

Changed in nautilus (Ubuntu):
status: New → Incomplete
Revision history for this message
dkapell (david-rigitech) wrote :

It seems to be specific to SD cards. With a usb stick, it simply resumes as it suspended.

As it resumes, with a SD card in, it gives the message: "MMC: Killing requests for dead queue." right before the GUI starts

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Could you attach your /var/log/kern.log after a suspend / resume cycle with / without the SD card. It's likely the SD card gets unloaded on suspend. If that's the case then I really don't think there is much that Nautilus can do

Revision history for this message
dkapell (david-rigitech) wrote :

here's the last 500 lines without a sd card

Revision history for this message
dkapell (david-rigitech) wrote :

...and with.

please let me know if you need more

the with was done before the without.

Revision history for this message
Ctbeiser (ctbeiser) wrote :

I too get this with a Dell Mini 9 running a fully updated Jaunty Netbook Remix. 4GB SDHC card, and it does it on wake from sleep. Until recently, I had 8.10 standard installed without GNOME or Nautilus, and while I got the dead queue line, no window opened. I did a clean install afterwards, and here it is.

Revision history for this message
Ctbeiser (ctbeiser) wrote :

Oh, I forgot to mention, but the window is *not* white.

Revision history for this message
MerceRudy (rudymills) wrote :

This happens with me as well on a Dell Mini 9 running updated Jaunty with a 4 GB SDHC.

Revision history for this message
MerceRudy (rudymills) wrote :

Is this ever going to get updated? This bug is pretty annoying.

Revision history for this message
nonzero (nonzero) wrote :

I reproduced this bug. I have Ubuntu 9.04 NBR running on a Dell Mini 9. I'm using a 2GB microSD card in an adapter.
1) Put SD card inside slot.
2) Nautilus window appears for /media/disk. Close it.
3) Close lid to suspend the laptop.
4) Open lid to awaken laptop.
5) Black screen with "MMC killing request for dead queue".

I guess this is a kernel module problem and not exactly a Nautilus problem. Can someone point me to the appropriate place to report this bug?

Revision history for this message
nonzero (nonzero) wrote :

A workaround here: https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/342096/comments/9
Requires kernel compilation. I have not tried this myself.

Revision history for this message
influencd (charlie-de-courcy) wrote :

I can confirm this also on UNR (Jaunty) on an Acer Aspire One.

New nautilus window opened on resume when SSD card is left in the slot.

This opens regardless of unchecking "browse media when inserted" in nautilus options.

Very annoying!

Revision history for this message
MerceRudy (rudymills) wrote :

Agreed. This happens several times a day, as I use Ubuntu exclusively on my netbook everyday!

Changed in nautilus (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Can anyone recreate this in Karmic?

Changed in nautilus (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
vickoxy (vickoxy) wrote :

I can confirm the same behaviour:

dkapell:
I was able to reproduce this bug in 9.04 (Release Candidate)
Running just the base stuff in a desktop install, plus the netbook-remix packages on a Dell Mini 9 laptop
Steps to Reproduce:
1) put SD card in drive, it gets detected as normal, is usable, etc.
2) close all running apps (no Nautilus running)
3) Suspend system
4) Resume system
At this point, a nautilus window displaying the contents of the SD card opens.

Showing before suspend: MMC: killing requests for dead queue ubuntu 9.04 sd card

I have dell mini 9, and Ubuntu 9.04 2.6.28.14-generic, and adata 16gb sdhc card

Revision history for this message
dkapell (david-rigitech) wrote :

Chris: No, I cannot. I upgraded to Karmic yesterday, and this problem seems to have been resolved for me in the current RC.

Revision history for this message
Brian Curtis (bcurtiswx) wrote :

Since this bug can not be reproduced in Karmic I am marking as invalid. Please feel free to reopen this bug if this is still a problem

Changed in nautilus (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Jason R. Coombs (jaraco) wrote :

I continue to have this problem. I'm using a Dell Latitude X1 with a Ricoh SD card reader. I've had this issue with Lucid, Maverick, Natty, and now Oneiric.

Changed in nautilus (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
Michael Longval (mlongval) wrote :

I can confirm this problem on my ThinkPad T61p under Ubuntu 12.04LTS.

An SD card that is 'loaded' when the system goes to sleep will cause a new Nautilus window to be opened when the system resumes from sleep.

I have checked my /var/log/kern.log and have found this:

Jan 15 17:20:17 T61p kernel: [32912.339063] mmc0: card 1234 removed

So it appears that the kernel is unloading the card when it goes to sleep.

Later in the same log file I found this:

Jan 15 18:24:32 T61p kernel: [32916.169311] mmc0: new high speed SD card at address 1234

So it is clear that Nautilus 'sees' the card as being inserted upon wakeup. The bug seems not with Nautilus, but with the Kernel. BUT: << IS IT A BUG OR A FEATURE ? >>

Mike

Revision history for this message
Michael Longval (mlongval) wrote :

Well after further reading I have come to the conclusion that, on Ubuntu 12.04LTS at least, this is a FEATURE and NOT a bug.

I read this note:

http://superuser.com/questions/376858/how-do-i-prevent-unity-nautilus-from-opening-a-new-window-when-i-insert-an-exter

and after enabling the 'Never prompt or start programs on media insertion' option as per the article, Nautilus no longer opens a window for the pre-inserted SD card after wake from sleep.

Hope this helps.

Mike

Revision history for this message
S.O.E. Ansems (only-for-launchpad) wrote :

Until recent i never had this bug before even though i always have a SD-card in the slot of my laptop.

The only things that changed since i have got bug are the laptop and SD-card.
- The laptop is a Lenovo W530
- The SD-card is a cheap imitation (model 00000, serial 0xb1538a26, vendor unknown)

I run Ubuntu 13.04 64bit.

If i were a developer i would be looking in the section of code that deals with reactivating the hardware. Apparently Ubuntu incorreclty treats the powering up of the SD-card as an insert of the card.

Hope this information helps, good luck with the bughunt!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.