LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DamnSmallLinux
User Name
Password
DamnSmallLinux This forum is for the discussion of DamnSmallLinux.

Notices


Reply
  Search this Thread
Old 12-24-2007, 05:59 PM   #1
daveoily
Member
 
Registered: Mar 2005
Distribution: ubuntu
Posts: 74

Rep: Reputation: 15
Question mounting a usb dvd writer...


the lsusb command finds my freecom writer, but i seem to be unable to navigate to it under emelfm I'm guessing its not mounted, so i joined their forums to ask questions, but cant post a thread there 'cos i'm still bein vetted or whatever in their signup process...

my fstab looks like this...
Quote:
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
proc /proc proc defaults 0 0
/dev/fd0 /mnt/auto/floppy vfat defaults,user,noauto,showexec,umask=022 0 0
/dev/cdrom /mnt/auto/cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
/proc/bus/usb/001 /mnt/auto/cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
the last line i added as a guess, because when i navigate to /proc/bus/usb/001 and tried to mount it, it said it wasn't in the fstab, after i added the line, it said it is not a block device ...

i'm only trying to get the device to read a few songs onto the hard drive (yes i did a hard drive install)

where am i going wrong?

any ideas?
 
Old 12-24-2007, 11:30 PM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
The first field in your fstab entry is just plain wrong. You'll want to use whatever the kernel is calling your device (e.g. /dev/sr0). See the end of your dmesg output to find out what you should use.
 
Old 12-24-2007, 11:53 PM   #3
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334
Blog Entries: 1

Rep: Reputation: 31
Dear:

Post some more details, like, the output for the command <fdisk -l> etc. This would help us in figuring out the problem. Which OS do you use? Even I use a USB DVD writer and I have had no problems whatsoever.
 
Old 12-24-2007, 11:59 PM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
I don't think fdisk is going to give any information. Certainly on my machine, there is absolutely nothing related to my USB CD-RW in the output from fdisk.
 
Old 12-25-2007, 12:00 AM   #5
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334
Blog Entries: 1

Rep: Reputation: 31
Have you even installed fdisk? What exactly is the output of <fdisk -l> ? I just connected on my Debian 'etch' and it worked with no issues of concern.
 
Old 12-26-2007, 09:42 AM   #6
daveoily
Member
 
Registered: Mar 2005
Distribution: ubuntu
Posts: 74

Original Poster
Rep: Reputation: 15
Smile

wow! all those replies over christmas!

the o.s. is the latest damn small linux, I can't do the rest as I'm nowhere near the computer in question, I thought the fstab would be wrong, but I guess I need to know a bit more about how it works in order to correct it.

I'll get back to this tomorrow possibly with a hangover and try to sort it out, thanks for the input guys.

merry christmas
 
Old 12-28-2007, 01:48 PM   #7
daveoily
Member
 
Registered: Mar 2005
Distribution: ubuntu
Posts: 74

Original Poster
Rep: Reputation: 15
ok, the relevant parts of dmesg, I guess are ...

Quote:
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 11:56:04 Aug 29 2005
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0x1880, IRQ 10
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usbdevfs: remount parameter error
hub.c: new USB device 00:07.2-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x7ab/0xfcdf) is not claimed by any active driver.
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: FREECOM_ Model: DVD+/-RW18H9 Rev: FR01
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr1 at scsi1, channel 0, id 0, lun 0
sr1: scsi3-mmc drive: 94x/94x writer dvd-ram cd/rw xa/form2 cdda tray
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.
It doesn't mean much to me, if anyone can use it to tell me what my fstab should be edited to include, I'd appreciate it!

fdisk -l says...
Quote:
cannot open /dev/hda
so I tried with sudo, and it gives even less...
 
Old 12-28-2007, 01:53 PM   #8
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Attached scsi CD-ROM sr1 at scsi1, channel 0, id 0, lun 0
sr1: scsi3-mmc drive: 94x/94x writer dvd-ram cd/rw xa/form2 cdda tray
It seems that at this point in time, the kernel is referring to your device as /dev/sr1. So, you could put /dev/sr1 in the first column of your fstab entry.

Edit: it appears DSL uses a 2.4 kernel, so udev stuff is irrelevant.

Last edited by Nylex; 12-28-2007 at 01:56 PM.
 
Old 12-28-2007, 03:09 PM   #9
daveoily
Member
 
Registered: Mar 2005
Distribution: ubuntu
Posts: 74

Original Poster
Rep: Reputation: 15
ok, the new fstab entry reads...
Quote:
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
proc /proc proc defaults 0 0
/dev/fd0 /mnt/auto/floppy vfat defaults,user,noauto,showexec,umask=022 0 0
/dev/cdrom /mnt/auto/cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/sr1 /mnt/auto/cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
I still don't really see it appear anywhere, and it seems unmountable in emelfm
 
Old 12-28-2007, 07:16 PM   #10
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by daveoily View Post
I still don't really see it appear anywhere, and it seems unmountable in emelfm
What do you mean? Please post error messages if applicable.
 
Old 12-29-2007, 12:35 PM   #11
daveoily
Member
 
Registered: Mar 2005
Distribution: ubuntu
Posts: 74

Original Poster
Rep: Reputation: 15
Smile

in some distro's, ubuntu for example, if i put a disc in, it would show up as an icon on my desktop, I wasn't expecting this from d.s.l. but I expected to be capable of getting to it via emelfm, the file browsing utility in d.s.l. ...

ok... I'm not entirely sure how i did it, but it looks like i'm in, some messing about with the "sudo mount" command in /dev seemed to do the trick, then i could navigate to it under /mnt/auto/cdrom

hopefully i can repeat these steps whenever i need to, it would be nice to have it appear on the desktop just when i plug it in, but this will do for now, thanks for the help!
 
Old 01-17-2008, 03:56 PM   #12
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 11.4
Posts: 331

Rep: Reputation: 30
I'm glad that this is here.

According to hwinfo --cdrom, the DVD writer is /dev/sr0
So I have the usb DVD writer mounted like:
mount /dev/sr0 /media/hpwriter

So now I can read what is on the DVD. Also, I have to remount the usb DVD drive each time I use it and umount before I can take the disk out. Do I have to add the DVD writer to the fstab entries if I want it to be mounted and unmounted automatically every time I use it? I wonder if adding it to the fstab entries will ruin it's ability to write DVD's in K3b.

Another thing:
When I mount the writer, I get a message that it is mounted as read-only. Is this referring to the media on the disk or the DVD writer itself?

I'm using SuSE 10.0.

Last edited by gymnart; 01-17-2008 at 04:15 PM. Reason: more info
 
Old 01-17-2008, 10:14 PM   #13
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334
Blog Entries: 1

Rep: Reputation: 31
I do not think that by mounting using fstab entries, you are ruining anything. Also, the Read-only is not to be worried. You cannot write data onto it, can you? You can use K3b for that purpose.
 
Old 01-18-2008, 09:42 AM   #14
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 11.4
Posts: 331

Rep: Reputation: 30
Thank you very much!
I just noticed that this is in the Linux - Distributions > DamnSmallLinux category and since I run SuSE, I will ask my further question about this in the Linux - Hardware category.
 
  


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
DVD writer+CDRW mounting/writing problems tanchu Linux - Hardware 8 01-04-2006 10:59 AM
Mounting an HP dvd movie writer dc3000(4000) Endorpheus Linux - Hardware 0 11-30-2005 01:08 AM
mounting a dvd writer chardome Linux - Hardware 2 10-04-2005 11:10 AM
Problems Mounting a DVD Writer slave187 Linux - Hardware 7 05-06-2005 10:40 AM
Mounting usb cd writer assatron Linux - Hardware 1 03-03-2005 11:06 AM

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

All times are GMT -5. The time now is 01:28 PM.

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