external cdrw assigned to /dev/uba instead of /dev/sr0
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
external cdrw assigned to /dev/uba instead of /dev/sr0
Hi all,
I'm using Slackware 10.0 on my laptop and I'm running kernel version 2.6.9 which I compiled recently. Sysfs, hotplug, and udev are running and I had no problems with them until I had to use my usb cd writer.
In the past (kernel 2.4.x), I could burn cds with my Iomega USB cd writer by accessing /dev/sr0. Now, whenever I plug my cd writer into the usb port, /dev/uba gets created, but I am, of course, unable to burn anything, or mount discs. Here's the /var/log/messages output just after I plug the drive in:
...
Nov 14 04:13:01 fomalhaut kernel: usb 1-2: new high speed USB device using addre
ss 3
Nov 14 04:13:01 fomalhaut kernel: usb 1-2: Product: USB CDRW9602EXT-B
Nov 14 04:13:01 fomalhaut kernel: usb 1-2: Manufacturer: Iomega
Nov 14 04:13:01 fomalhaut kernel: usb 1-2: SerialNumber: 07DA11100Saber04363788
Nov 14 04:13:02 fomalhaut kernel: uba: device 3 capacity nsec 50 bsize 512
Nov 14 04:13:02 fomalhaut last message repeated 2 times
Nov 14 04:13:02 fomalhaut kernel: uba:end_request: I/O error, dev uba, sector 0
Nov 14 04:13:02 fomalhaut kernel: uba:end_request: I/O error, dev uba, sector 2
Nov 14 04:13:02 fomalhaut udev[4191]: creating device node '/dev/uba'
The dmesg output:
...
usb 1-2: new high speed USB device using address 3
usb 1-2: new device strings: Mfr=73, Product=80, SerialNumber=98
usb 1-2: default language 0x0409
usb 1-2: Product: USB CDRW9602EXT-B
usb 1-2: Manufacturer: Iomega
usb 1-2: SerialNumber: 07DA11100Saber04363788
usb 1-2: hotplug
usb 1-2: adding 1-2:2.0 (config #2, interface 0)
usb 1-2:2.0: hotplug
ub 1-2:2.0: usb_probe_interface
ub 1-2:2.0: usb_probe_interface - got id
uba: resid 18 len 0 act 0
uba: device 3 capacity nsec 50 bsize 512
uba: tag orig 0x3 reply 0x2
uba: made changed
uba: tag orig 0x4 reply 0x3
uba: device 3 capacity nsec 50 bsize 512
uba: tag orig 0x5 reply 0x4
uba: device 3 capacity nsec 50 bsize 512
uba:end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
end_request: I/O error, dev uba, sector 2
Buffer I/O error on device uba, logical block 1
end_request: I/O error, dev uba, sector 4
Buffer I/O error on device uba, logical block 2
end_request: I/O error, dev uba, sector 6
Buffer I/O error on device uba, logical block 3
end_request: I/O error, dev uba, sector 6
Buffer I/O error on device uba, logical block 3
end_request: I/O error, dev uba, sector 4
Buffer I/O error on device uba, logical block 2
end_request: I/O error, dev uba, sector 2
Buffer I/O error on device uba, logical block 1
end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
unable to read partition table
uba:end_request: I/O error, dev uba, sector 2
Buffer I/O error on device uba, logical block 1
end_request: I/O error, dev uba, sector 4
Buffer I/O error on device uba, logical block 2
end_request: I/O error, dev uba, sector 6
Buffer I/O error on device uba, logical block 3
end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
unable to read partition table
I want the scsi /dev/sr0 to be created, instead of /dev/uba (or ub*). Is there some way to force hotplug to do that? I can't quite remember the kernel modules/options I compiled, but here's the output from lsmod, if it's of any help:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.