[Bug 717326] New: USB devices are given names reserved for SCSI ones
https://bugzilla.novell.com/show_bug.cgi?id=717326 https://bugzilla.novell.com/show_bug.cgi?id=717326#c0 Summary: USB devices are given names reserved for SCSI ones Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: anixx@opensuse.org QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; ru; rv:1.9.1.19) Gecko/20110420 SUSE/2.0.14-0.2.1 SeaMonkey/2.0.14 The current Lanana devices list http://www.kernel.org/pub/linux/docs/device-list/devices.txt reserves sd* name for SCSI block devices, while USB devices should have name of the type ub*: USB block devices 0 = /dev/uba First USB block device 8 = /dev/ubb Second USB block device 16 = /dev/ubc Thrid USB block device But in openSUSE USB devices are actually assigned names in sd* range making automatic device type detection impossible or difficult. I faced this issue when making a patch for KDE3 that should detect removable media without hal and which is based on analysis of /proc/self/mounts entries. Thus the mtab backend thinks about USB drives as of hard disks. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=717326 https://bugzilla.novell.com/show_bug.cgi?id=717326#c Ilya Chernykh <anixx@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Basesystem |Kernel AssignedTo|bnc-team-screening@forge.pr |kernel-maintainers@forge.pr |ovo.novell.com |ovo.novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=717326 https://bugzilla.novell.com/show_bug.cgi?id=717326#c1 Greg Kroah-Hartman <gregkh@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Greg Kroah-Hartman <gregkh@suse.com> 2011-09-13 05:08:59 UTC --- This is to be expected and is how Linux handles usb devices. the /dev/ub* device nodes are only if you use the ub.ko kernel driver, which no distro does. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=717326 https://bugzilla.novell.com/show_bug.cgi?id=717326#c2 Ilya Chernykh <anixx@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | --- Comment #2 from Ilya Chernykh <anixx@opensuse.org> 2011-09-13 09:53:46 UTC --- Where can I read such specification? The current Lanana specification says usb devices should use ub* and SCSI devices should us sd*. Is this specification invalid, abandoned, superceded or what? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=717326 https://bugzilla.novell.com/show_bug.cgi?id=717326#c3 Greg Kroah-Hartman <gregkh@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |INVALID --- Comment #3 from Greg Kroah-Hartman <gregkh@suse.com> 2011-09-13 14:41:42 UTC --- Please see the response to this on the opensuse-factory list. This is an invalid bug. As proof of that, look at all other distros. And yes, I mean all. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=717326 https://bugzilla.novell.com/show_bug.cgi?id=717326#c4 Ilya Chernykh <anixx@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | --- Comment #4 from Ilya Chernykh <anixx@opensuse.org> 2011-09-13 15:29:15 UTC --- Yes, it is a kernel bug, that is why it is not distro-specific. I never claimed it is specific to openSUSE. It is not present in BSD though. Anyway there is a ling to the Linux specification, which clearly says this behavior is incorrect. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=717326 https://bugzilla.novell.com/show_bug.cgi?id=717326#c5 Greg Kroah-Hartman <gregkh@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |CLOSED Resolution| |INVALID --- Comment #5 from Greg Kroah-Hartman <gregkh@suse.com> 2011-09-13 16:14:32 UTC --- Please do not reopen this bug, it is not one in any way. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=717326 https://bugzilla.novell.com/show_bug.cgi?id=717326#c6 Ilya Chernykh <anixx@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|INVALID | --- Comment #6 from Ilya Chernykh <anixx@opensuse.org> 2011-09-13 17:31:08 UTC --- If the realization does not match the specification, this means either the realization or the specification is wrong, isn't it? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=717326 https://bugzilla.novell.com/show_bug.cgi?id=717326#c7 --- Comment #7 from Ilya Chernykh <anixx@opensuse.org> 2011-09-13 17:33:19 UTC --- Maybe it would be better to release an updated Lanana specification which would say directly that sd* is now for anything? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=717326 https://bugzilla.novell.com/show_bug.cgi?id=717326#c8 --- Comment #8 from Ilya Chernykh <anixx@opensuse.org> 2011-09-13 17:34:58 UTC --- Anyway if it is possible to have a special name for CD/DVD devices, and they are connected via the same SATA interface, I cannot understand why a similar approach cannot be applied to the USB devices. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=717326 https://bugzilla.novell.com/show_bug.cgi?id=717326#c9 --- Comment #9 from Ilya Chernykh <anixx@opensuse.org> 2011-09-13 17:47:34 UTC --- Note also this will bring consistency with other Unix-like operating systems. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=717326 https://bugzilla.novell.com/show_bug.cgi?id=717326#c10 Greg Kroah-Hartman <gregkh@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |CLOSED Resolution| |INVALID --- Comment #10 from Greg Kroah-Hartman <gregkh@suse.com> 2011-09-14 08:58:21 UTC --- Again, this is an invalid assumption, see my response on the factory mailing list describing how you are using the specification in the opposite order of what it is to be used for. Please do not reopen this bug again, otherwise your account might be banned from the system. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com