You are not logged in.

#1 2009-03-28 15:51:12

santiagorf
Member
Registered: 2009-03-12
Posts: 32

[SOLVED]fstab problem: cannot mount DVDW

Hi all,
I have a DVD reader which I can mount and a DVD writer which I cannot mount.
I have tried to mount the dvdw using names from /dev by trial and error, but with none of them I was able to mount the unit.
any ideas?
thank you
santiagorf

fstab

# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults           0      0


/dev/dvd0    /media/dvdr   udf,iso9660 user,noauto,exec,utf8 0       0
#/dev/???????    /media/dvdw   udf,iso9660 user,noauto,exec,utf8 0       0


/dev/fd0      /media/fl   auto    user,noauto     0      0

#Archlinux
#UUID=88d13e23-b2ed-4ce3-b3a9-608150312405 / ext3 defaults,auto 0 1
UUID=88d13e23-b2ed-4ce3-b3a9-608150312405 / ext3 defaults,errors=remount-ro,relatime 0 1

#windows NTFS
/etc/hda1 /media/NTFS ntfs-3g defaults,locale=en_CA.UTF-8 0 0

#Ubuntu
UUID=f43c529c-8fa8-4f1a-aa15-0fac821958a1 /media/ubuntu ext3 defaults,auto 0 0

#S W A P
UUID=40102b9b-3d52-4bf0-872d-808da9272197 swap swap defaults,auto 0 0

/dev

adsp     cdrom0           disk  hda      initctl  loop1  mem                 null    root        sound   tty1   tty16  tty22  tty29  tty35  tty41  tty48  tty54  tty60  ttyS0           usbdev2.1_ep00  usbdev4.1_ep81
agpgart  char             dsp   hda1     input    loop2  misc                nvram   rtc         stderr  tty10  tty17  tty23  tty3   tty36  tty42  tty49  tty55  tty61  ttyS1           usbdev2.1_ep81  usbdev5.1_ep00
audio    console          dvd   hda2     kmem     loop3  mixer               port    rtc0        stdin   tty11  tty18  tty24  tty30  tty37  tty43  tty5   tty56  tty62  ttyS2           usbdev2.2_ep00  usbdev5.1_ep81
block    core             dvd0  hda3     kmsg     loop4  msr0                ppp     sequencer   stdout  tty12  tty19  tty25  tty31  tty38  tty44  tty50  tty57  tty63  ttyS3           usbdev2.2_ep81  vc
bus      cpu              fd    hda4     log      loop5  net                 ptmx    sequencer2  tts     tty13  tty2   tty26  tty32  tty39  tty45  tty51  tty58  tty7   urandom         usbdev3.1_ep00  vcc
cd       cpu0             full  hdc      loop     loop6  network_latency     pts     shm         tty     tty14  tty20  tty27  tty33  tty4   tty46  tty52  tty59  tty8   usbdev1.1_ep00  usbdev3.1_ep81  zero
cdrom    cpu_dma_latency  fuse  hidraw0  loop0    loop7  network_throughput  random  snd         tty0    tty15  tty21  tty28  tty34  tty40  tty47  tty53  tty6   tty9   usbdev1.1_ep81  usbdev4.1_ep00

Last edited by santiagorf (2009-04-02 01:36:20)

Offline

#2 2009-03-28 16:09:26

Gauvenator
Member
Registered: 2008-04-03
Posts: 172

Re: [SOLVED]fstab problem: cannot mount DVDW

try cdrom0

Offline

#3 2009-03-28 16:37:15

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED]fstab problem: cannot mount DVDW

Whoops, this went to the wrong place smile

santiagorf wrote:

I've tried it thanks, but with no luck sad I don't know if it helps, but with the dvdr until I don't open the unit from the device notifying service I cannot see any file.

Offline

#4 2009-03-28 21:04:27

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: [SOLVED]fstab problem: cannot mount DVDW

What is the output of ls -l /dev/{c,dv}d* ?

Last edited by bernarcher (2009-03-28 21:04:46)


To know or not to know ...
... the questions remain forever.

Offline

#5 2009-03-29 02:38:26

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: [SOLVED]fstab problem: cannot mount DVDW

If anyone saw my (now deleted) post - forget it! I had misunderstood the question!!

Back to the original ...

It should have shown up during boot - try:
dmesg | grep sd
or
dmesg | grep sr
or
dmesg | grep hd

Last edited by perbh (2009-03-29 02:45:02)

Offline

#6 2009-03-29 08:47:59

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: [SOLVED]fstab problem: cannot mount DVDW

I also have a dvd reader and a dvd writer.
/dev/cdrom = sr0 which is my dvd reader
/dev/dvd = sr1 which is my dvd writer

I use /mnt as the mount points and created two directories cd and dvd.
These are the fstab entries I use.

/dev/cdrom      /mnt/cd         iso9660   ro,user,noauto,unhide    0      0
/dev/dvd        /mnt/dvd        udf       ro,user,noauto,unhide    0      0

-- archlinux 是一个极好的 linux

Offline

#7 2009-03-30 00:14:04

santiagorf
Member
Registered: 2009-03-12
Posts: 32

Re: [SOLVED]fstab problem: cannot mount DVDW

ls -l /dev/{c,dv}d*
lrwxrwxrwx 1 root root 17 2009-03-29 19:30 /dev/cdrom -> /dev/cd/cdrom-1.0
lrwxrwxrwx 1 root root 17 2009-03-29 19:30 /dev/cdrom0 -> /dev/cd/cdrom-1.0
lrwxrwxrwx 1 root root 15 2009-03-29 19:30 /dev/dvd -> /dev/cd/dvd-1.0
lrwxrwxrwx 1 root root 15 2009-03-29 19:30 /dev/dvd0 -> /dev/cd/dvd-1.0

/dev/cd:
total 0
lrwxrwxrwx 1 root root 6 2009-03-29 19:30 cdrom-1.0 -> ../hdc
lrwxrwxrwx 1 root root 6 2009-03-29 19:30 dvd-1.0 -> ../hdc

Pluging in fstab the following lines, I have the same problem

/dev/cdrom      /mnt/cd         iso9660   ro,user,noauto,unhide    0      0
/dev/dvd        /mnt/dvd        udf       ro,user,noauto,unhide    0      0

when I insert a dvd in both units the Device Notifier shows that there is a disc is in the dvd reader only

dmesg | grep sd
dmesg | grep sr
dmesg | grep hd
hda: Host Protected Area disabled.
hda: 160836480 sectors (82348 MB) w/1719KiB Cache, CHS=16383/255/63
hda: cache flushes supported
 hda:<6>ide-cd driver 5.00
 hda1 hda2 hda3 hda4
ide-cd: hdc: ATAPI 52X DVD-ROM drive, 256kB Cache
EXT3 FS on hda4, internal journal
EXT3 FS on hda2, internal journal
Adding 522104k swap on /dev/hda3.  Priority:-1 extents:1 across:522104k

Last edited by santiagorf (2009-03-30 22:49:38)

Offline

#8 2009-03-30 00:16:49

santiagorf
Member
Registered: 2009-03-12
Posts: 32

Re: [SOLVED]fstab problem: cannot mount DVDW

sorry, duplicated post

Last edited by santiagorf (2009-03-30 02:10:32)

Offline

#9 2009-03-30 04:14:42

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: [SOLVED]fstab problem: cannot mount DVDW

I always use cd and dvd, but that's just an example. You could use any name or path as long as it matches what's in fstab. In othe words, if you use the dirs, /mnt/cd and /mnt/dvd in fstab, they need to exsist. If they don't then you need to create them.

This might help you...
http://bbs.archlinux.org/viewtopic.php?id=68334

Last edited by Leigh (2009-03-30 04:18:27)


-- archlinux 是一个极好的 linux

Offline

#10 2009-03-30 12:53:57

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: [SOLVED]fstab problem: cannot mount DVDW

*chuckles*
According to your 'dmesg | grep "sd|hd|sr"' - you do not have a dvd-writer, only a reader which is on /dev/hdc.
You can use this in your /etc/fstab - as shown previously, all the /dev/cd, /dev/dvd, etc are but links to /dev/hdc where the _physical_ device is.

The different links (be it reader or writer) all eventually comes back to the same physical device - /dev/hdc

In other words - there just is no trace of your writer.

Offline

#11 2009-03-30 21:54:05

santiagorf
Member
Registered: 2009-03-12
Posts: 32

Re: [SOLVED]fstab problem: cannot mount DVDW

so what about the DVDw, might it be a kernel issue?

I have compiled my current kernel before I checked with the original one if I could mount all my drivers (my mistake mad), so may be my new kernel has some problems recognizing the DVDw (I have checked .config several times, but there is nothing that might be causing a problem).

ps1: With ubuntu, I can use it, but I cant write DVD's (only in windows).
ps2: Does the fact that it is a SATA device does any relevance?









perbh wrote:

*chuckles*
According to your 'dmesg | grep "sd|hd|sr"' - you do not have a dvd-writer, only a reader which is on /dev/hdc.
You can use this in your /etc/fstab - as shown previously, all the /dev/cd, /dev/dvd, etc are but links to /dev/hdc where the _physical_ device is.

The different links (be it reader or writer) all eventually comes back to the same physical device - /dev/hdc

In other words - there just is no trace of your writer.

Offline

#12 2009-03-31 00:36:02

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: [SOLVED]fstab problem: cannot mount DVDW

If you compiled a custom kernel, make sure you have sata support enabled, or reinstall the arch default kernel. Also might want to look at mkinitcpio.conf and make sure you have autodetect / sata, in the hooks line.
http://wiki.archlinux.org/index.php/Mkinitcpio

perbh is right, your system is only seeing the one device hdc. If your writer is sata it should be detected as sdx where x will be a, b, etc. If it's the only sata device you have, it'll probably show up as sda.

Have a look at here. may help
http://www.linuxquestions.org/questions … ox-712463/

Last edited by Leigh (2009-03-31 00:42:15)


-- archlinux 是一个极好的 linux

Offline

#13 2009-04-02 01:35:42

santiagorf
Member
Registered: 2009-03-12
Posts: 32

Re: [SOLVED]fstab problem: cannot mount DVDW

thank you guys!! after I recompiled the kernel with SCSI support, I'm now able to see my dvdr. here is a link where it explains my problem http://www.gentoo.org/doc/en/kernel-config.xml

Offline

Board footer

Powered by FluxBB