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

Bug #272557 reported by syko21 on 2008-09-20
48
This bug affects 6 people
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
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.

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
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
Roshan George (roshan-george) wrote :

I can provide the required information on this bug.

Changed in nautilus:
status: Invalid → New
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

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.

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
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.

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 :)

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 :(

Done.

Changed in nautilus:
status: Invalid → New

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.

dfalk (dfalk) wrote :

Title and description are now changed.

description: updated
Roshan George (roshan-george) wrote :

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

description: updated
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
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
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
dkapell (david-rigitech) wrote :

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

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
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

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

dkapell (david-rigitech) wrote :

here's the last 500 lines without a sd card

dkapell (david-rigitech) wrote :

...and with.

please let me know if you need more

the with was done before the without.

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.

Ctbeiser (ctbeiser) wrote :

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

MerceRudy (rudymills) wrote :

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

MerceRudy (rudymills) wrote :

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

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?

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.

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!

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
Chris Coulson (chrisccoulson) wrote :

Can anyone recreate this in Karmic?

Changed in nautilus (Ubuntu):
status: Confirmed → Incomplete
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

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.

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
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
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

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

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  Edit
Everyone can see this information.

Other bug subscribers