LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 07-21-2005, 01:24 AM   #1
stearic
Member
 
Registered: Jan 2001
Distribution: Slackware 12.1
Posts: 32

Rep: Reputation: 15
USB DVD burner help


Well i just bought myself a USB2.0 DVD burner for my computer. Well as usuall with winblows it was easy to set it up and all but then when i booted to slackware to get it set up in there i was having a bit of trouble. My friend said i should see if it was setup right away as some are in K3B so i did that but it doesn't find it. So as root i did a tail -f /var/log/messages and i found out that the usb drive was detected and set at /dev/uba but i wasn't able to mount a disc i put in there nor was i able to add the device manually in k3b. After searching the forums i didnt' really find anything that really was directed at this exact problem. So can you guys help a semi-n00b out here? Btw this is the output that i see for when i turn on the drive when in linux.
Quote:
Jul 21 01:22:39 Goku kernel: usb 1-2: new high speed USB device using ehci_hcd and address 4
Jul 21 01:22:39 Goku kernel: uba: device 4 capacity nsec 0 bsize 512
Jul 21 01:22:39 Goku udev[20789]: creating device node '/dev/uba'

Last edited by stearic; 07-21-2005 at 01:28 AM.
 
Old 07-21-2005, 05:25 AM   #2
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Look in your kernel config file and see if you see this:

# Block devices
#
CONFIG_BLK_DEV_UB=y

There'll be several other CONFIG_whatever's under #Block devices but according to what you've said so far I'd be willing to bet that CONFIG_BLK_DEV_UB is set to y or m. I'm not sure about the 2.6.12 kernel series but in the 2.6.11 series the help file for UB says that if you enable it you will cripple usb-storage. Having UB set to y or m is why your USB storage devices are being assigned ub* instead of sd*. You may want to look at the help file for UB and see if this problem still exists.

Here is the help file from my 2.6.11.5 kernel config:

Quote:
Low Performance USB Block driver (BLK_DEV_UB)

This driver supports certain USB attached storage devices
such as flash keys.

Warning: Enabling this cripples the usb-storage driver.

If unsure, say N.
I'm not sure if this is still a problem, but I know it is with the 2.6.11.xx series of kernels. One thing is UB was not designed for USB 2 storage devices, as it states it is for things like flash keys and memory cards (I think). If you will set the CONFIG_BLK_DEV_UB=n and recompile the kernel I *think* it might solve your problem, but I can't be 100% sure that it will.


Later,
MMYoung
 
Old 07-21-2005, 06:44 PM   #3
stearic
Member
 
Registered: Jan 2001
Distribution: Slackware 12.1
Posts: 32

Original Poster
Rep: Reputation: 15
Well thanks man, that worked and it's now recognized in k3b, now i seem to have another problem. When i goto mount a data-dvd i get this. Any clue what i have to do now?
Quote:
root@Goku:/home/stearic# mount -t iso9660 /dev/sr0 /mnt/cdrom2/ -o umask=000
mount: block device /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
 
Old 07-21-2005, 06:53 PM   #4
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 115Reputation: 115
DVD's usually have UDF filesystems, not ISO9660.
 
Old 07-21-2005, 06:59 PM   #5
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Try mounting it without the / after /mnt/cdrom2 and unless you have some special need, I never use any of the other stuff. So give this a try:

mount /dev/sr0 -t iso9660 /mnt/cdrom2

See if that'll mount. If so just add the following to your fstab:

/dev/sr0 /mnt/cdrom2 iso9660 noauto,users,ro 0 0

That way, it ain't mounted at boot and anybody can manually mount/umount it.

HTH,
MMYoung
 
Old 07-21-2005, 07:06 PM   #6
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Quote:
Originally posted by tuxdev
DVD's usually have UDF filesystems, not ISO9660.
True, but my DVD drives are all mounted with the iso9660 filesystem. Never had any problems with data or video DVD's.

Thinking out loud, if you specify udf will it mount a data CD (iso9660)? When you specify iso9660 it will mount both CD's and DVD's, so does it work the other way around?

Later,
MMYoung
 
Old 07-21-2005, 07:10 PM   #7
stearic
Member
 
Registered: Jan 2001
Distribution: Slackware 12.1
Posts: 32

Original Poster
Rep: Reputation: 15
Well after looking on google before checking back here i saw something about udf. so i tried that. nothing. still wont' work. I also noticed when i click on the drive the first time when i get a k3b error saying "malformed url" so i'm thinking that also has something to do with it. I tried mounting with no / after cdrom2 as with mount -t udf /dev/sr0 /mnt/cdrom2 -o umask=000 and i get the same error. So any more idea's?
 
Old 07-21-2005, 07:28 PM   #8
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Did you try it with iso9660 and without all that umask and such stuck on the end of the command?

Later,
MMYoung
 
Old 07-21-2005, 07:35 PM   #9
stearic
Member
 
Registered: Jan 2001
Distribution: Slackware 12.1
Posts: 32

Original Poster
Rep: Reputation: 15
Yea, tried with w/out the "-o umask=000" options. still the same thing, I also found out that i can't even burn a cd with it, so something is fishy. Oh another thing, i can play a dvd movie from the drive through xine. So something is definatly wrong, hopefully it's not something huge with my system thats screwing me up here.

Last edited by stearic; 07-21-2005 at 07:39 PM.
 
Old 07-21-2005, 11:08 PM   #10
stearic
Member
 
Registered: Jan 2001
Distribution: Slackware 12.1
Posts: 32

Original Poster
Rep: Reputation: 15
well a friend of mine changed somethings for me and had me recompile my kernel. and now when i turn on the drive, it shows up as /dev/sda and /dev/sg0 but it's not showing up k3b anymore. This is the full thing that shows up when i turn it on.
Quote:
Jul 21 23:08:11 Goku kernel: usb 1-2: new high speed USB device using ehci_hcd and address 4
Jul 21 23:08:11 Goku kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Jul 21 23:08:16 Goku kernel: Vendor: USB 2.0 Model: Storage Device Rev: 0111
Jul 21 23:08:16 Goku kernel: Type: Direct-Access ANSI SCSI revision: 00
Jul 21 23:08:16 Goku kernel: sda : very big device. try to use READ CAPACITY(16).
Jul 21 23:08:16 Goku kernel: sda : READ CAPACITY(16) failed.
Jul 21 23:08:16 Goku kernel: sda : use 0xffffffff as device size
Jul 21 23:08:16 Goku kernel: SCSI device sda: 4294967296 512-byte hdwr sectors (2199023 MB)
Jul 21 23:08:17 Goku kernel: SCSI device sda: 4294967295 512-byte hdwr sectors (2199023 MB)
Jul 21 23:08:17 Goku kernel: sda:<7>usb-storage: queuecommand called
Jul 21 23:08:17 Goku kernel: Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
Jul 21 23:08:17 Goku kernel: Attached scsi generic sg0 at scsi1, channel 0, id 0, lun 0, type 0
Jul 21 23:08:17 Goku udev[29704]: creating device node '/dev/sda'
Jul 21 23:08:17 Goku udev[29706]: configured rule in '/etc/udev/rules.d/udev.rules' at line 24 applied, 'sg0' becomes '%k'
Jul 21 23:08:17 Goku udev[29706]: creating device node '/dev/sg0'
 
Old 07-22-2005, 02:39 AM   #11
stearic
Member
 
Registered: Jan 2001
Distribution: Slackware 12.1
Posts: 32

Original Poster
Rep: Reputation: 15
Figured i'd post a reply to you guys that helped and those of you who would be interested to know if i got it working. I did get it working. I had a friend of mine look into my kernel config and he said there were some things that needed changing. mainly with usb and scsi emulation. he changed the config and i compiled and installed the kernel. Now the problem i had in the post above is sorta a bug persay imho with linux and how it handles usb optical drives. If i would turn on the drive with a disc in it that had data on it. it would read the drive as say a usb flash drive and would create /dev/sda and /dev/sg0. Now if i were to turn it on w/out a disc in it would create /dev/sr0 and dev/sg0 and thats what i want. I burned a cd at 32x just fine and i'm going to do a few more at 48x to see if the usb buss can handle it or not. And then tommorow i'll be going to buy some dvd-r's to test out burning dvd's in linux with to see how it handles. Thanks for all you guys that helped. It's the reason i like linux people mostly anymore as they are willing to help unlike people who are windows guru's who would just point and laugh at a n00b question.
 
Old 08-08-2005, 11:00 PM   #12
luv2hike
LQ Newbie
 
Registered: Nov 2003
Posts: 14

Rep: Reputation: 0
Same problem. Since moving from Slackware 10.1 running 2.4.29 to Slackware 10.1 running 2.6.10, I cannot burn a DVD with my Sony USB 2.0 DVD/RW drive. I get a bunch of messages in the system log about device going offline. Then an lsmod shows usb_storage with a number approaching 4 gigs. I cannot modprobe -r usb_storage as it says device busy, even though the burner light is off and I've exited K3b. I have to reboot to use the drive.

The same drive on the same PC running the same version of K3B burns DVD's fine on the 2.4 kernel. Please fix this!
 
  


Reply



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
USB DVD burner crofty13 Linux - Hardware 0 06-03-2005 08:46 AM
Help with FC3 + LG DVD DL Burner in USB enclosure fwelland Linux - Hardware 3 05-28-2005 08:55 PM
How do I add a USB DVD burner? EOHooligan Linux - Hardware 2 03-15-2005 01:10 PM
can't mount a dvd on a cd burner/dvd rom drive dr_zayus69 Linux - Hardware 7 12-09-2004 08:56 AM
dvd-rom drive won't play movies and dvd burner won't record calble Linux - Hardware 1 08-09-2004 07:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:03 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration