Feisty 20070222 shows two USB icons

Bug #87177 reported by jerrylamos
16
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned
linux-source-2.6.20 (Ubuntu)
Won't Fix
Low
Kyle McMartin

Bug Description

Feisty 20070222 (md5sums check) CD Live Desktop shows two identical casper-rw USB drive icons.

Should not be two icons, there is only one USB drive plugged in.

/var/log/syslog shows this:

Feb 22 13:39:01 ubuntu kernel: [ 55.397911] loop: loaded (max 8 devices)
Feb 22 13:39:01 ubuntu kernel: [ 55.513297] SCSI device sda: 2012160 512-byte hdwr sectors (1030 MB)
Feb 22 13:39:01 ubuntu kernel: [ 55.518267] sda: Write Protect is off
Feb 22 13:39:01 ubuntu kernel: [ 55.518276] sda: Mode Sense: 03 00 00 00
Feb 22 13:39:01 ubuntu kernel: [ 55.518281] sda: assuming drive cache: write through
Feb 22 13:39:01 ubuntu kernel: [ 55.530257] SCSI device sda: 2012160 512-byte hdwr sectors (1030 MB)
Feb 22 13:39:01 ubuntu kernel: [ 55.535345] sda: Write Protect is off
Feb 22 13:39:01 ubuntu kernel: [ 55.535350] sda: Mode Sense: 03 00 00 00
Feb 22 13:39:01 ubuntu kernel: [ 55.535354] sda: assuming drive cache: write through
Feb 22 13:39:01 ubuntu kernel: [ 55.535365] sda: sda1
Feb 22 13:39:01 ubuntu kernel: [ 55.542648] sd 0:0:0:0: Attached scsi removable disk sda
Feb 22 13:39:01 ubuntu kernel: [ 55.555582] sd 0:0:0:0: Attached scsi generic sg0 type 0

which looks like some sort of loop gone through when booting up, and it does seem to think it finds two devices. They are really the same device.

Bug is, why is the loop detecting the same device twice? Same UUID, same capacity, ...

Cheers, Jerry

Revision history for this message
Cristian Aravena Romero (caravena) wrote :

Thanks for taking the time to report this bug. Unfortunately we can't fix it, because your description doesn't yet have enough information.

Please include the following additional information, if you have not already done so (please pay attention to lspci's additional options), as required by the Ubuntu Kernel Team:
1. Please include the output of the command "uname -a" in your next response. It should be one, long line of text which includes the exact kernel version you're running, as well as the CPU architecture.
2. Please run the command "dmesg > dmesg.log" and attach the resulting file "dmesg.log" to this bug report.
3. Please run the command "lspci -vvnn > lspci-vvnn.log" and attach the resulting file "lspci-vvnn.log" to this bug report.

For your reference, the full description of procedures for kernel-related bug reports is available at http://wiki.ubuntu.com/DebuggingKernelProblems . Thanks in advance!

Changed in linux-source-2.6.20:
status: Unconfirmed → Needs Info
Revision history for this message
jerrylamos (jerrylamos) wrote :

uname -a output from bootup showing 2 icons for 1 usb device

Revision history for this message
jerrylamos (jerrylamos) wrote :

dmesg from boot showing 2 icons for 1 usb device

Revision history for this message
jerrylamos (jerrylamos) wrote :

lspci from boot showing 2 icons for 1 usb device

Revision history for this message
jerrylamos (jerrylamos) wrote :

Screenshot showing 2 icons and properties showing same uuid for the two. Places, computer also shows 2 lines both saying casper-rw for the same usb device.

Revision history for this message
jerrylamos (jerrylamos) wrote :

/etc/var/log/syslog from boot showing 2 icons for 1 device.

Note this is an IBM Thinkpad R31 standard, no modifications.

Changed in linux-source-2.6.20:
status: Needs Info → Unconfirmed
Revision history for this message
jerrylamos (jerrylamos) wrote :

Same thing occurs with 20070225 on an IBM NetVista with a different USB drive. uname, dmesg, lspci -vvnn, and syslog are attached in one file. Search for ".log" to see the four logs.
Cheers, Jerry Amos

Revision history for this message
Kyle McMartin (kyle) wrote :

It really only finds one device... the size, etc., are output twice because the disk is "revalidated" by the block layer to make sure it was correct after it was brought up. It's annoying but harmless. As to why there are two icons... Can you check your /etc/fstab and see if there are two /dev/sda entries?

Changed in linux-source-2.6.20:
assignee: nobody → kyle
importance: Undecided → Low
status: Unconfirmed → Needs Info
Revision history for this message
jerrylamos (jerrylamos) wrote :

I'm testing as an "ordinary desktop computer user" as mentioned in the Official Ubuntu Book, so what I'm running is CD Live "out of the box" for the Feisty Alpha, 20070301. Here's /etc/fstab as in the iso on the Ubuntu daily-live site:

unionfs / unionfs rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0

So far I haven't seen the "duplicate" icons in Edgy or Dapper or PCLinuxOS or Knoppix or Simply Mepis or ... on the same hardware.

My particular interest in the USB icon is "casper-rw" for persistent mode which broke on Feisty after 20070207 (there's a launchpad bug on that) because I'd like to test Feisty on the five different PC's on our lan. I'm not about to install Feisty "Alpha" on five computers especially after Herd 2 trashed my partition table. I have seen "duplicate icons" on two different sets of hardware.

Cheers, Jerry

Revision history for this message
Dirk Schramm (no-comment) wrote :

same here for my ipod. appearing twice on desktop. i customized the icon once, now i have on customized icon (having added the star-symbol) and an uncustomized "standard"-icon.

uname -a:

Linux dirk-deb 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux

Revision history for this message
Dirk Schramm (no-comment) wrote :

note: i'm not on live-cd, but a fully installed feisty from herd4 updated regularly.

Revision history for this message
Dirk Schramm (no-comment) wrote :

note²: one icon remains after device removal, pointing to the non-existent ipod.

Revision history for this message
Ashley (lifenstein) wrote :

I have the exact same problem, but in this case its the DVD Drive.

There is only one fstab entry, but it shows up as a mounted removable drive even when the DVD tray is empty.

When a CD/DVD is inserted, the mounted drive icon appears on the desktop, pointing to the same location (as it normally should).

When given the eject command via context menu to either one, both get ejected; the second one disappears but the first one stays on the desktop as a folder.

Revision history for this message
Ashley (lifenstein) wrote :

uname -a:
Linux ubuntu 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux

Attached: result of 'dmesg > dmesg.log'

Revision history for this message
Ashley (lifenstein) wrote :

Oh wait, that doesn't look good?! Looks like dmesg output is a log of my tcp connections...

Can someone please delete the attachment as well as this comment? Thanks in advance.

Revision history for this message
Ashley (lifenstein) wrote :

uname -a:
Linux ubuntu 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux

Revision history for this message
martin (martin-madera) wrote :

I have a very similar problem, except with a DVD rather than a USB drive -- two icons for one DVD.

Linux lc2000 2.6.20-15-386 #2 Sun Apr 15 07:34:00 UTC 2007 i686 GNU/Linux

Revision history for this message
sergm (smalinovskij) wrote :

I've exactly the same problem with my USB drive and it happens only when I reboot or when computer being switched off and then switch on again with the USB drive plugged in then two icons appear. IF I just plug in my USB drive in already booted environment then there is only one icon appears as expected.

#uname -a
Linux sm-desktop 2.6.22-14-generic #1 SMP Sun Oct 14 21:45:15 GMT 2007 x86_64 GNU/Linux

Revision history for this message
Mike (mike-eheler) wrote :

I have this problem too with these devices:

iPod Nano
Wester Digital 500gb MyBook USB Hard Drive

Here is the output from the commands requested earlier, but specific to my case:

mike@bistromath:~$ uname -a
Linux bistromath 2.6.22-14-generic #1 SMP Sun Oct 14 21:45:15 GMT 2007 x86_64 GNU/Linux

Attached is dmesg.log, lspci-vvnn.log will follow.

Revision history for this message
Mike (mike-eheler) wrote :

lspci-vvnn.log

Revision history for this message
Pete (peter-randomnity) wrote :

Same problem for me, with DVD drive.

uname -a
Linux mowgli 2.6.22-14-generic #1 SMP Sun Oct 14 21:45:15 GMT 2007 x86_64 GNU/Linux

lspci -vvnn attached.

Revision history for this message
Pete (peter-randomnity) wrote :

dmesg

Basically, 2 icons are there from startup when there's a disk in the drive. If you eject either one, the same one remains, still pointing to /media/cdrom0. You cannot eject it, because it is not mounted - which is a tad annoying.

Revision history for this message
Pete (peter-randomnity) wrote :

By the way, I'm running the latest Feisty build (not bleeding edge), not off a live cd. Also, I'm not so sure this isn't a nautilus bug, but I'm no expert.

Revision history for this message
GauteHope (eg) wrote :

Hello

I am having the same problem as sergem. I am running the Gutsy Gibbon:
Linux qwerzila 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux

If I have my harddrive mounted while turning off the computer it shows up twice when I start it again, the harddrive would need to be turned on as I boot up. The behavior when trying to unmount is the same as described in the other comments here. I can unmount one of the icons, the other stays. When I plug it in again the second icon shows up again.

It does not have any records in fstab.
Unlike some of the other reports I can only register showing up one time in dmesg. The USB device is /dev/sdc, it shows up again on the bottom, but note that i unmounted, unplugged, plugged and mounted again one time after the reboot.

lsusb -v follows

Revision history for this message
GauteHope (eg) wrote :
Revision history for this message
GauteHope (eg) wrote :

Is the title for this bug correct? For me it seems that this problem could just as well be in HAL or gnome?

If I go to my Computer in Nautilus the device only shows up once.

- gaute

Revision history for this message
GauteHope (eg) wrote :

I mean of course the package.

- gaute

Revision history for this message
GauteHope (eg) wrote :

Adding syslog as well, is full of NetworkManager debug messages, but they are mostly about HAL anyway.

- gaute

Revision history for this message
hyjalsoul (hyjalsoul) wrote :

I also have this problem on Ubuntu Gutsy, with 2 DVD drives shown on my desktop, but it happened after I tried the method to solve "computer frozen" case with <CTRL>+<ALT>+F1, and I tried to use Slackware way to go back to the desktop "startx", but I forgot I was on Gnome lol. Then after I used <Ctrl>+<Alt>+<Delete> to reboot the laptop, this bug started to annoy me.

Revision history for this message
hyjalsoul (hyjalsoul) wrote :

Now the another weird thing happened, after installing some new plugins for Compiz Fusion, the bug problem is just gone.

Revision history for this message
Launchpad Janitor (janitor) wrote : This bug is now reported against the 'linux' package

Beginning with the Hardy Heron 8.04 development cycle, all open Ubuntu kernel bugs need to be reported against the "linux" kernel package. We are automatically migrating this bug to the new "linux" package. However, development has already began for the upcoming Intrepid Ibex 8.10 release. It would be helpful if you could test the upcoming release and verify if this is still an issue - http://www.ubuntu.com/testing . If the issue still exists, please update this report by changing the Status of the "linux" task from "Incomplete" to "New". We appreciate your patience and understanding as we make this transition. Thanks!

Revision history for this message
jerrylamos (jerrylamos) wrote :

Intrepid Ibex Alpha 3 does not have the duplicated desktop icons on this pc. uname -a:

Linux linux 2.6.26-5-generic #1 SMP Sun Aug 10 20:30:28 UTC 2008 i686 GNU/Linux

It's a 1.2 gHz Celeron. See attachment for lspci.

A couple weeks ago it did have the duplicate icons w/intrepid ibex, but does not now.

Thanks, Jerry

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Michele Mangili (mangilimic) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in linux:
status: Incomplete → Invalid
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.