From owner-freebsd-questions@FreeBSD.ORG Mon Apr 12 17:12:26 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5E8F16A4D3 for ; Mon, 12 Apr 2004 17:12:26 -0700 (PDT) Received: from mailsmtp01.sjc02.opsource.net (mailsmtp01.sjc02.opsource.net [209.34.95.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id B64FE43D2D for ; Mon, 12 Apr 2004 17:12:26 -0700 (PDT) (envelope-from victor@opsource.net) Received: from opsource.net (gateway01.nuvelo.com [63.81.9.2]) (authenticated bits=0)i3D0CQ0A017691 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 12 Apr 2004 17:12:26 -0700 Message-ID: <407B3076.8000601@opsource.net> Date: Mon, 12 Apr 2004 17:12:38 -0700 From: Victor Gregorio User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040408 X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: freebsd-questions@freebsd.org References: <407B1EF9.9040704@opsource.net> <407B2A4F.6070103@opsource.net> In-Reply-To: <407B2A4F.6070103@opsource.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned-By: ClamAV Subject: Re: Problems Mounting a CD (solved) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2004 00:12:26 -0000 Ok, so the problem was with the starting sector. By default, the sector was 15112. root:/# mount_cd9660 -v /dev/acd0 /mnt using starting sector 15112 mount_cd9660: /dev/acd0: Invalid argument If I changed the starting sector to 0, I saw the fs but no folders. I had to use -s 14660. I was able to get "14660" from cdcontrol.... cdcontrol> info Starting track = 1, ending track = 3, TOC size = 34 bytes track start duration block length type ------------------------------------------------- 1 0:02.00 3:15.35 0 14660 data 2 3:17.35 0:06.02 14660 452 data 3 3:23.37 11:02.37 15112 49687 data 170 14:25.74 - 64799 - - Solution: root:/# mount_cd9660 -v -s 14660 /dev/acd0 /mnt Just figured I'd post the solution since I had seen this question asked in a few freebsd.org mailing lists. -Victor Victor Gregorio wrote: > For the record, this is *not* an audio CD. Just a data disk. > > -Victor > > Victor Gregorio wrote: > >> Hello. I'm having a problem mounting a CD, and was wondering if >> anyone could help. >> >> root:~# dmesg | grep acd0 >> acd0: DVDROM at ata1-master PIO4 >> root:~# cat /etc/fstab | grep cdrom >> /dev/acd0 /cdrom cd9660 ro,noauto 0 0 >> >> root:~# mount /cdrom >> cd9660: /dev/acd0: Invalid argument >> >> root:~# mount_cd9660 /dev/acd0 /cdrom >> mount_cd9660: /dev/acd0: Invalid argument >> >> root:~# ls -l /dev/acd0 >> crw-r----- 1 root operator 4, 18 Apr 12 15:42 /dev/acd0 >> >> The CD mounts OK on RedHat Linux with mount type cd9660. What >> argument is invalid? Or is this a known bug that I need to patch? >> Thanks, >> >> Victor >> >