From owner-freebsd-questions Mon Jan 5 18:55:29 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA16165 for questions-outgoing; Mon, 5 Jan 1998 18:55:29 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from maild.telia.com (root@maild.telia.com [194.22.190.3]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA16153 for ; Mon, 5 Jan 1998 18:55:24 -0800 (PST) (envelope-from girgen@partitur.se) Received: from d1o62.telia.com (root@d1o62.telia.com [195.198.198.241]) by maild.telia.com (8.8.8/8.8.5) with ESMTP id DAA03563; Tue, 6 Jan 1998 03:55:17 +0100 (CET) Received: from partitur.se (t2o62p51.telia.com [195.198.198.111]) by d1o62.telia.com (8.8.5/8.8.5) with ESMTP id DAA11998; Tue, 6 Jan 1998 03:55:08 +0100 (MET) Message-ID: <34B19CEE.D3452350@partitur.se> Date: Tue, 06 Jan 1998 03:54:38 +0100 From: Palle Girgensohn Organization: Partitur X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.5-STABLE i386) MIME-Version: 1.0 To: gstevens@forsythemca.com CC: questions@FreeBSD.ORG Subject: Re: Trouble mounting CD-ROM References: <86256583.006A09C6.00@notessmtp.forsythesolutions.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi Greg, Try mount -t cd9660 -r /dev/wcd0c /cdrom cd9660 because a cd actually does not contain an msdos file system, but a ISO9660 ditto. It works with wcd0a too, but I'm not sure it's quite as correct ;-) Also consult 'man mount_cd9660', but it's unfortunately pretty short... :( Regards, Palle gstevens@forsythemca.com wrote: > > I'm unable to successfully mount a CD-ROM (actually the BSD distribution, > disk 1, as MS-DOS) under BSD. > > 1) Boot sequence seems to have no trouble detecting the drive, its > characteristics, and status. > > 2) Per the Handbook I ran > > # sh MAKEDEV wcd0 > > after installing BSD. This caused files rwcd0a and rwcd0c to show up in > /dev. wcd0a and wcd0c were already there. > > 3) I executed the mount command as follows: > > # mount -r -t msdos /dev/wcd0a /cdrom > > 4) The following error message resulted: > > atapi0.1: invalid data direction > wcd0: I/O error, status=51,error=0 > > After this even the manual tray ejection button is disabled - I have to > power off/power on the computer to get it to work again. > > This is happening on two separate machines, an IBM Aptiva and an IBM > ThinkPad. I don't know positively but I am assuming both CD drives are IDE > based (machines are 166MZ and 133MZ Pentiums, respectively). At any rate, > the kernel is successfully detecting the drive(s) as previously mentioned. > > I'll appreciate any advice I receive to resolve this. > > Regards, > > Greg Stevens