LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-14-2004, 03:22 AM   #1
gchew
LQ Newbie
 
Registered: Nov 2004
Distribution: Slackware
Posts: 2

Rep: Reputation: 0
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:

Module Size Used by
snd_pcm_oss 46376 0
snd_mixer_oss 15936 2 snd_pcm_oss
ipv6 214944 10
uhci_hcd 28172 0
evdev 6912 0
ub 13468 0
ali_agp 5024 1
snd_ali5451 18120 1
snd_ac97_codec 63248 1 snd_ali5451
snd_pcm 77224 2 snd_pcm_oss,snd_ali5451
snd_timer 19172 1 snd_pcm
snd 43460 6 snd_pcm_oss,snd_mixer_oss,snd_ali5451,snd_ac97_codec,snd_pcm,snd_timer
soundcore 6528 2 snd
snd_page_alloc 7144 1 snd_pcm
eepro100 25580 0
mii 3680 1 eepro100
ohci_hcd 29796 0
ehci_hcd 37060 0
usbcore 107236 6 uhci_hcd,ub,ohci_hcd,ehci_hcd
ds 13316 4
yenta_socket 17632 1
pcmcia_core 54116 2 ds,yenta_socket
ide_scsi 12932 0
scsi_mod 65664 1 ide_scsi
agpgart 27176 1 ali_agp

Thanks in advance for any hints!

-GH
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I cannot access EITHER CD drive! And there's no /dev/hdc or /dev/hdd or /dev/cdrom! Dmalic Linux - Hardware 13 11-18-2005 07:11 PM
Happy to find /dev/uba dhave Slackware 2 11-13-2004 06:38 AM
mounting CD, CDRW... /dev/cdrom -> /dev/hda kersten78 Slackware 9 09-23-2004 11:53 PM
SATA problem, hdd is detected but no dev is assigned cubus Slackware 1 03-18-2004 03:57 PM
/dev/scd1 not detected as cdrw DigitalTygrrr Linux - Hardware 6 07-30-2003 06:15 PM


All times are GMT -5. The time now is 05:14 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration