[Bug 1046268] New: USB Keys are mis-identified by device notifier
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268 Bug ID: 1046268 Summary: USB Keys are mis-identified by device notifier Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: KDE Workspace (Plasma) Assignee: opensuse-kde-bugs@opensuse.org Reporter: opensuse@the-systems-commonwealth.net QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- When plugging in a USB key it is misidentified by the device notifier. The key is labelled as "keyring" and is formatted to ext4. It is identified as "Kubuntu 14.04.amd64" and it cannot be mounted. This key was previously used as a Kubuntu install disk. Manually mounting the key from the terminal works as expected. After plugging in the key dmesg shows: $ > dmesg | tail [42393.585512] scsi host5: usb-storage 3-1:1.0 [42394.593334] scsi 5:0:0:0: Direct-Access SanDisk Cruzer Facet 1.26 PQ: 0 ANSI: 5 [42394.593566] sd 5:0:0:0: Attached scsi generic sg2 type 0 [42394.594585] sd 5:0:0:0: [sdb] 15633408 512-byte logical blocks: (8.00 GB/7.45 GiB) [42394.595374] sd 5:0:0:0: [sdb] Write Protect is off [42394.595376] sd 5:0:0:0: [sdb] Mode Sense: 43 00 00 00 [42394.595618] sd 5:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [42394.607771] sdb: sdb1 [42394.609109] sd 5:0:0:0: [sdb] Attached SCSI removable disk [42394.805763] ISOFS: Unable to identify CD-ROM format. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268#c1
Luca Beltrame
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268#c2
--- Comment #2 from Lucifer Watson
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268#c3
--- Comment #3 from Luca Beltrame
IdType: iso9660
Looks like it's being mis-identified. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268#c4
Luca Beltrame
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268#c5
Pierre Bonamy
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268#c6
--- Comment #6 from Pierre Bonamy
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268#c7
Andrei Borzenkov
It looks to me like a possible issue with udisks,
The only way I can reproduce this behavior is when I do *NOT* create filesystem on partition. Then filesystem on this partition gets misidentified (due to udev properties inherited by partition from containing block device). If I create filesystem on partition, it is also correctly shown by udev. and udiskctl Neither of these bugs reports contains actual instructions how to reproduce it. Please provide exact steps how to do it on command line showing exact commands (or better capturing the whole session). Of course the problem of leaked properties should be fixed too. In particular it means partition inherits iso9660 label unless it is explicitly set in partition filesystem. But it still *is* mounted here on XFCE. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268#c8
--- Comment #8 from Pierre Bonamy
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268#c33
Mark Hounschell
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268#c34
--- Comment #34 from Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268#c35
Anton Aylward
I can verify that this bug is also present in Leap 42.3. Leap 42.2 does not have this issue.
Then its a DIFFERENCE in the rules between 42.2 and 42.3. As such, I'm not sure that this constitutes a bug when it's a difference in the installed configuration. Both rules make sense. Yes, its an inconsistency, but it could be argued that 42.3 was correcting an error in 42.2. I've looked at my hard disk which is outside the rules and OBVIOUSLY I get different results if I run blkid on /dev/sda and /ded/sda1. Which is as it should be. Inconsistency between releases that constituent corrections are sometimes a matter of opinion. Let me ask an awkward question. My main drive that my system is installed on, the 1Terabyte SATA, has three partitions. I could equally buy a 1T USB drive and format that with three, or more, partitions. When I plug that in that partition should the KDE popup select? Whichever one, it might not be the one I want and hence it is "misidentified by the device notifier". In this case, recognizing the device makes sense. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268#c36
--- Comment #36 from Mark Hounschell
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268#c37
--- Comment #37 from Mark Hounschell
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268#c38
--- Comment #38 from Lucifer Watson
Let me ask an awkward question.
My main drive that my system is installed on, the 1Terabyte SATA, has three partitions. I could equally buy a 1T USB drive and format that with three, or more, partitions. When I plug that in that partition should the KDE popup select?
Whichever one, it might not be the one I want and hence it is "misidentified by the device notifier". In this case, recognizing the device makes sense.
Let me ask you an awkward question: Would you expect the 1T USB drive to be correctly identified and mounted or not? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268#c39
--- Comment #39 from Anton Aylward
(In reply to Anton Aylward from comment #35)
Let me ask an awkward question.
My main drive that my system is installed on, the 1Terabyte SATA, has three partitions. I could equally buy a 1T USB drive and format that with three, or more, partitions. When I plug that in that partition should the KDE popup select?
Whichever one, it might not be the one I want and hence it is "misidentified by the device notifier". In this case, recognizing the device makes sense.
Let me ask you an awkward question:
Would you expect the 1T USB drive to be correctly identified and mounted or not?
You don't mount a DRIVE, you mount a partition. Let us assume that the rules identify it as a USB drive. in order to mount a partition it has to determine the partition table entries, gpt or whatever. if there is more than one partition then a selection of which partition to use has to be made. I repeat, you don't mount a drive, you mount a partition. (or, if you're using LVM a LV, but lets not make this more complicated than it has to be) I think that this has already been answered, the popup offers the user a choice, its not an automated decision. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268#c40
Wolfgang Bauer
You don't mount a DRIVE, you mount a partition.
I don't think your comments are helpful here at all. Of course you normally mount a partition. But the problem in this bug report is that the device notifier doesn't show any partitions because the drive is misidentified as CD by udisks2. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268#c41
--- Comment #41 from Lucifer Watson
(In reply to Lucifer Watson from comment #38)
(In reply to Anton Aylward from comment #35)
Let me ask an awkward question.
My main drive that my system is installed on, the 1Terabyte SATA, has three partitions. I could equally buy a 1T USB drive and format that with three, or more, partitions. When I plug that in that partition should the KDE popup select?
Whichever one, it might not be the one I want and hence it is "misidentified by the device notifier". In this case, recognizing the device makes sense.
Let me ask you an awkward question:
Would you expect the 1T USB drive to be correctly identified and mounted or not?
You don't mount a DRIVE, you mount a partition.
Let us assume that the rules identify it as a USB drive. in order to mount a partition it has to determine the partition table entries, gpt or whatever. if there is more than one partition then a selection of which partition to use has to be made.
I repeat, you don't mount a drive, you mount a partition. (or, if you're using LVM a LV, but lets not make this more complicated than it has to be)
I think that this has already been answered, the popup offers the user a choice, its not an automated decision.
I plug in my USB key with the line
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268#c43
--- Comment #43 from Lucifer Watson
(In reply to Wolfgang Bauer from comment #40)
But the problem in this bug report is that the device notifier doesn't show any partitions because the drive is misidentified as CD by udisks2.
The udisks2 issue should be fixed by comment#29. Can you confirm? But I doubt that udisks2 has any influnce on gparted. The issue reported in comment#32 is most probably caused by udev.
Yes, you comment out the line and things work in my case. But it only works until an update replaces the file, thus I wouldn't consider it a fix, more a work-around -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268#c44
--- Comment #44 from Mark Hounschell
(In reply to Wolfgang Bauer from comment #40)
But the problem in this bug report is that the device notifier doesn't show any partitions because the drive is misidentified as CD by udisks2.
The udisks2 issue should be fixed by comment#29. Can you confirm?
I can confirm that it fixes the issue on Leap 42.3 and a recently updated Leap 42.2 but I have no TW installation to test it on. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268#c47
Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268#c55
François Valenduc
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268
http://bugzilla.opensuse.org/show_bug.cgi?id=1046268#c56
--- Comment #56 from Wolfgang Bauer
As far as I can see, no new version has appeared in opensuse 42.3 to solve this problem. Is this normal ?
Yes. It needed to be released for SLE first, that's the normal workflow for packages coming from SLE. An update for Leap is running now and should get released in the next days: https://build.opensuse.org/project/show/openSUSE:Maintenance:7229 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com