![]() |
|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
I have two DVD drives on my machine.
/dev looks like this: Code:
acd0 cuad0.init mdctl random ttyv7 acd0t01 cuad0.lock mem sndstat ttyv8 acd1 dcons midistat stderr ttyv9 acpi devctl mixer0 stdin ttyva ad0 devstat net stdout ttyvb ad0s1 dgdb net1 sysmouse ttyvc ad0s1a dsp0.0 net2 ttyd0 ttyvd ad0s1b dumpdev net3 ttyd0.init ttyve ad0s1c fd network ttyd0.lock ttyvf ad0s1d fido nfs4 ttyp0 ugen0 ad0s1e geom.ctl nfslock ttyp1 ugen0.1 ad0s1f io null ttyp2 ums0 ata kbd0 nvidia0 ttyp3 urandom atkbd0 kbd1 nvidiactl ttyv0 usb audit kbdmux0 pci ttyv1 usb0 bpf0 klog ppi0 ttyv2 usb1 console kmem ptyp0 ttyv3 xpt0 consolectl log ptyp1 ttyv4 zero ctty lpt0 ptyp2 ttyv5 cuad0 lpt0.ctl ptyp3 ttyv6 /etc/fstab looks like this: Code:
# Device Mountpoint FStype Options Dump Pass# /dev/ad0s1b none swap sw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1e /tmp ufs rw 2 2 /dev/ad0s1f /usr ufs rw 2 2 /dev/ad0s1d /var ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 /dev/acd1 /cdrom cd9660 ro,noauto 0 0 /dev/da0s1 /mnt/flash msdosfs rw,noauto 0 0 snd_hda_load="YES" loader_logo="beastiebw" nvidia_load="YES" hw.ata.atapi_dma="1" however mounting still fails - sudo mount /dev/acd0 /cdrom mount: /dev/acd0 : Invalid argument I've tried using (what seems to me) a more appropriate mount point, creating /dvdburner and /dvdrom respectively. I've also tried variations on the mount command. Where am I going wrong please? |
|
|||
![]()
max@~: grep acd /var/run/dmesg.boot
acd0: DVDR <PIONEER DVD-RW DVR-111D/1.19> at ata1-master UDMA66 acd1: DMA limited to UDMA33, device found non-ATA66 cable acd1: DVDROM <ASUS DVD-E616A2/1.03> at ata1-slave UDMA33 |
|
||||
![]() Quote:
Make sure that pins on the back of your Pioneer are in master position and that pins on you ASUS DVD ROM are in slave position. Check if the devices properly detected by BIOS as a master and slave. If not you have a hardware problem. I suspect that one of the devices doesn't work on UDM66 cable. Check then the dmesg Try to mount CDs on the devices manually before altering fstab. Also you can read this regarding DMA IDE. It is for OpenBSD but it should be similar in FreeBSD http://www.openbsd.org/faq/faq14.html#pciideErr Last edited by Oko; 20th December 2008 at 11:47 PM. |
|
|||
![]() Code:
/dev/acd0 /cdrom cd9660 ro,noauto 0 0 /dev/acd1 /cdrom cd9660 ro,noauto 0 0 Also, DVD's typically use the UDF file system.. not ISO9660. (s/cd9660/udf) fstab(5) aliases get complicated with mount points that may use different file systems.. consider mounting disks manually. If that's not an option, you could re-purpose each of the available drives.. i.e: /mnt/cdrom and /mnt/dvdrom.. Code:
/dev/acd0 /mnt/cdrom cd9660 ro,noauto 0 0 /dev/acd1 /mnt/dvdrom udf ro,noauto 0 0 The choice is yours. ![]() |
|
||||
![]() Quote:
For all I know he might not have edited /etc/sysctl.conf, /etc/rc.conf and /etc/devfs.conf properly as well. That is way I suggested mounting file systems manually to rule out the hardware problems before trying to hunt for his HAL problem. Dbus is buggy as Hell as well. Obviously reading about cd9660, udf and other stuff would help to. Most dvd players do NOT mount file system. They just play it like you would play CD or just like you play DVD on your home DVD player. On another hand you are completely right that DVD format is actually micro UDF which is backward compatible with cd9660. Video DVD mounted either as udf or cd9660 will be probably not be readable without help of mencoder or libcss/libdvdread because of scrambling. If it is not scrambled either way you are in business. That doesn't mean that there are no serous other differences between DVD and CD as mediums and the way they should be burned. |
|
|||
![]()
My /etc/sysctl.conf
#security.bsd.see_other_uids=0 hw.syscons.bell=0 devfs.conf Code:
#link ttyv0 vga # Commonly used by many ports #link acd0 cdrom # Allow a user in the wheel group to query the smb0 device #perm smb0 0660 # Allow members of group operator to cat things to the speaker #own speaker root:operator #perm speaker 0660 I've changed the two lines of my etc/rc.conf to look like this: Code:
/dev/acd0 /dvdburner udf,cd9660 ro,noauto 00 /dev/acd1 /dvdrom udf,cd9660 ro,noauto 0 0 max@~: sudo mount /dvdburner/ Password: mount: /dev/acd0 : Operation not supported by device So still no success... Last edited by maxrussell; 22nd December 2008 at 09:37 PM. Reason: spelling error, oops |
|
|||
![]()
Should also mention that I'm trying to access AVI files on the DVD; it isn't a DVD (proper)
|
|
|||
![]()
I've tried mount_udf /dev/acd0 /dvdburner (the mount point I now have in fstab)
|
|
|||
![]() Quote:
|
|
|||
![]()
Okay. I have the two lines in fstab as:
/dev/acd0 /dvdburner cd9660,udf ro,noauto 0 0 /dev/acd1 /dvdrom cd9660,udf ro,noauto 0 0 Mounting still fails; /dev/acd0 /dvdburner cd9660,udf ro,noauto 0 0 /dev/acd1 /dvdrom cd9660,udf ro,noauto 0 0 |
|
|||
![]()
Also, last /var/log/messages provides this:
Code:
root ; COMMAND=/sbin/mount -t udf /dvdrom Dec 23 20:28:57 ironteeth sudo: max : TTY=ttyp2 ; PWD=/usr/home/max ; USER=root ; COMMAND=/sbin/mount -t udf /dev/acd1 /dvdrom Dec 23 20:28:57 ironteeth kernel: FSD does not lie within the partition! Dec 23 20:30:02 ironteeth sudo: max : TTY=ttyp3 ; PWD=/usr/home/max ; USER=root ; COMMAND=/usr/local/bin/kedit /etc/fstab Dec 23 20:30:30 ironteeth sudo: max : TTY=ttyp2 ; PWD=/usr/home/max ; USER=root ; COMMAND=/sbin/mount -t udf /dev/acd1 /dvdrom Dec 23 20:30:30 ironteeth kernel: FSD does not lie within the partition! Dec 23 20:30:35 ironteeth sudo: max : TTY=ttyp2 ; PWD=/usr/home/max ; USER=root ; COMMAND=/sbin/mount -t udf /dvdrom Dec 23 20:30:39 ironteeth sudo: max : TTY=ttyp2 ; PWD=/usr/home/max ; USER=root ; COMMAND=/sbin/mount /dvdrom Dec 23 20:30:47 ironteeth sudo: max : TTY=ttyp2 ; PWD=/usr/home/max ; USER=root ; COMMAND=/sbin/mount -t cd9660 /dvdrom Dec 23 20:31:59 ironteeth sudo: max : TTY=ttyp2 ; PWD=/usr/home/max ; USER=root ; COMMAND=/sbin/mount -t udf /dev/acd1 Dec 23 20:32:06 ironteeth sudo: max : TTY=ttyp2 ; PWD=/usr/home/max ; USER=root ; COMMAND=/sbin/mount -t udf /dvdrom/ Dec 23 20:32:09 ironteeth sudo: max : TTY=ttyp2 ; PWD=/usr/home/max ; USER=root ; COMMAND=/sbin/mount -t udf /dvdrom |
|
|||
![]()
I do not believe that BSD fstab(5) supports multiple file system type selections.. i.e: the third column isn't comma separated.
Your only option is separate mount points, or.. manually specifying the file system type. i.e: Code:
/dev/acd0 /dvdburner cd9660 ro,noauto 0 0 /dev/acd1 /dvdrom cd9660 ro,noauto 0 0 ISO9600 disk: % sudo mount /dvdrom # or /dvdburner UDF disk: % sudo mount -t udf /dvdrom # or /dvdburner This is all really a non-issue maxrussell.. ![]() @Oko, your claims of UDF backwards compatibility are false.. DVD's can use ISO9660 instead of UDF, but the UDF file system itself is not backwards compatible with ISO9660. |
|
|||
![]()
Also note; the ro option in the 4th column is redundant.. compact disks are always mounted read-only.
Some bullet points:
|
|
|||
![]()
So I've trawled through my highly organised workspace and verified this with some other media - mounting CDs or DVDs seems fine. This one particular disc seems to be faulty as suggested (it was burned on an XP machine using the 'standard' Windows writing software...) It reads on a WIndows machine, but not on FreeBSD.
Thanks for all the help, I've learned a great deal about mountpoints and filesystems, so I don't consider it wasted effort. Really should remember to Try the SImplest Thing First though... |
|
|||
![]()
as a post-script to this: could anyone tell me offhand what the default burning behaviour is for Windows (XP), using the standard (OS) tools? Is it doing something non-standard? The DVD I wished to use was just divx files.
|
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
mount-msdosfs /dev/dao: : Invalid argument | harold | FreeBSD General | 5 | 12th December 2010 06:59 AM |
Pidgin MSN connection issues, invalid SSL Certificate chain | TerryP | Guides | 5 | 8th December 2010 01:06 AM |
how to mount ext3 | guitarscn | FreeBSD General | 2 | 26th August 2009 07:31 PM |
Cannot mount (NTFS) | IIMarckus | OpenBSD General | 4 | 11th August 2008 08:44 PM |
Invalid capture filter: "not ip host "! | ccc | FreeBSD General | 2 | 19th June 2008 08:12 PM |