From owner-freebsd-current@FreeBSD.ORG Sun Oct 1 07:30:04 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C10BD16A47B for ; Sun, 1 Oct 2006 07:30:04 +0000 (UTC) (envelope-from maikhai@nerdshack.com) Received: from kelly.nerdshack.com (kelly.nerdshack.com [209.235.105.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 011C143D46 for ; Sun, 1 Oct 2006 07:30:03 +0000 (GMT) (envelope-from maikhai@nerdshack.com) Received: from dispatchd.nerdshack.com (julie.nerdshack.com [209.235.105.21]) by kelly.nerdshack.com (Postfix) with SMTP id 500B3903B6 for ; Sun, 1 Oct 2006 02:17:03 -0500 (CDT) Received: from 192.168.2.33 (adsl.hnpt.com.vn [203.210.212.124]) by mail.nerdshack.com with ESMTP Sun, 01 Oct 2006 01:11:13 -0500 From: maikhai To: freebsd-current@freebsd.org Date: Sun, 1 Oct 2006 14:29:27 +0700 User-Agent: KMail/1.9.1 References: <200609301756.35168.freebsd@alaskaparadise.com> <200609302134.38670.freebsd@alaskaparadise.com> In-Reply-To: <200609302134.38670.freebsd@alaskaparadise.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610011429.28079.maikhai@nerdshack.com> Subject: Re: Can't mount cdrom (Fixed) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2006 07:30:04 -0000 On Sunday 01 October 2006 12:34, Beech Rintoul wrote: > On Saturday 30 September 2006 17:56, Beech Rintoul wrote: > > I'm having a problem mounting a cd. > > > > from dmesg: acd0: CDRW at ata1-slave PIO4 > > > > I also have the proper entry in fstab. Problem is when I try and do a > > mount either "mount /cdrom" or "mount -t cd9660 /dev/acd0 /cdrom" it > > just hangs and does nothing. The CD is mountable (I just tried it on a > > 6.1 box). I can however access the drive with k3b. I really need this > > working as a lot of my data is on CD. This was working until just > > recently. I'm running -CURRENT from yesterday. > > As Ruslan stated in his post today, adding "options COMPAT_FREEBSD6" to a > custom kernel is now a necessity. Doing that not only solved my mount > problems, but several others I was having. Thanks for the heads up. > > Beech Below is mine (FreeBSD-6.1) $ cat /etc/fstab # 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 rw,noauto,nodev,nosuid 0 0 /dev/cd0 /cd cd9660 rw,noauto,nodev,nosuid 0 0 /dev/cd0c /usr/home/mk/cdrom cd9660 ro,noauto,nodev,nosuid 0 0 /dev/ad0s2 /mnt/lin reiserfs rw,auto 0 0 /dev/ad0s3 /mnt/linto ext2fs rw,auto 0 0 $ su Password: dhcppc0# mount /cd mount_cd9660: /dev/cd0: No such file or directory dhcppc0# mount /cdrom dhcppc0# ls /cdrom .disk install programs README.diskdefines isolinux start.bmp autorun.inf kubuntu.ico start.exe bin md5sum.txt start.ini casper pics ubuntu disctree pool dists preseed dhcppc0# -- m k h _ s g n