From owner-freebsd-questions Sun Aug 15 23: 2:45 1999 Delivered-To: freebsd-questions@freebsd.org Received: from www.inx.de (www.inx.de [195.21.255.251]) by hub.freebsd.org (Postfix) with ESMTP id 0FE921536B for ; Sun, 15 Aug 1999 23:02:40 -0700 (PDT) (envelope-from jnickelsen@acm.org) Received: from n31-100.berlin.snafu.de ([195.21.31.100] helo=goting.jn.berlin.snafu.de) by www.inx.de with esmtp (Exim 3.02 #1) id 11GFrM-0007NQ-00 for freebsd-questions@freebsd.org; Mon, 16 Aug 1999 08:03:04 +0200 Received: by goting.jn.berlin.snafu.de (Postfix, from userid 100) id C5634195; Mon, 16 Aug 1999 01:28:12 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14263.19723.737691.715817@goting.jn.berlin.snafu.de> Date: Mon, 16 Aug 1999 01:28:11 +0200 (CEST) To: freebsd-questions@freebsd.org Subject: mount_cd9660: invalid argument -- why? From: Juergen Nickelsen Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG For some time now I seem to be unable to mount a CD. I have FreeBSD 3.2-STABLE running (last update August 9) on more or less standard hardware. The CD-ROM drive is a little older, but I can probe it... # camcontrol devlist at scbus0 target 0 lun 0 (pass0,da0) at scbus0 target 4 lun 0 (pass1,cd0) ...and read it. # dd if=/dev/cd0a of=/dev/null count=1000 1000+0 records in 1000+0 records out 512000 bytes transferred in 3.461937 secs (147894 bytes/sec) I just can't mount it: # mount_cd9660 /dev/cd0a /cdrom mount_cd9660: Invalid argument When I debug mount_cd9660, I see that, as expected with this error message, mount(2) returns -1 with EINVAL. This seems to be independent of my custom kernel, because it also happens with the GENERIC kernel of 3.2-RELEASE. (And yes, I *have* ``options "CD9660"'' in my kernel.) Unfortunately I don't know when this problem occured the first time. With this pretty standard hardware (motherboard Tyan Tomcat IV single, Intel Pentium 200, CD-ROM as seen above, Adaptec 2940-UW), mount_cd9660 *has* already worked some time in the past. It does also not work with the mount_cd9660 from the 3.1 CD (I don't have the 3.2 CDs at hand at the moment), so I should assume that this is a problem of the kernel -- on the other hand it does not work with the GENERIC kernel of 3.2-RELEASE, and I am pretty sure that is has already worked with this kernel some time. I don't understand that. Is this a known problem? Have I missed something? What can I try? What more information should I give? I'd appreciate all help, since this probem gets on my nerves. Greetings, -- Juergen Nickelsen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message