From owner-freebsd-hackers Thu Nov 20 07:10:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA10243 for hackers-outgoing; Thu, 20 Nov 1997 07:10:21 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from heathers2.stdio.com (root@heathers2.stdio.com [204.152.114.165]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA10238 for ; Thu, 20 Nov 1997 07:10:19 -0800 (PST) (envelope-from lile@stdio.com) Received: from frog (socks6d.raleigh.ibm.com [204.146.167.238]) by heathers2.stdio.com (8.6.12/8.6.13) with SMTP id KAA13136 for ; Thu, 20 Nov 1997 10:08:15 -0500 Message-ID: <347452D3.41C6@stdio.com> Date: Thu, 20 Nov 1997 10:10:11 -0500 From: Larry Lile X-Mailer: Mozilla 3.01 (X11; I; AIX 1) MIME-Version: 1.0 To: hackers@FreeBSD.ORG Subject: Problems mounting a cd-rom drive on 2.2_RELENG Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I ran accros a very strange problem last night and I was wondering if someone could shed some light on this. I had a drive bay smoke a power supply and had to move the data from that drive to another, when I had the system rebuilt I became unable to mount a cdrom. When I try to mount the cdrom this is what happens: anarchy: # mount /cdrom cd9660: /dev/cd0a: Invalid argument here is the fstab entry: anarchy: # grep cd9660 /etc/fstab /dev/cd0a /cdrom cd9660 ro,noauto 0 0 and the boot messages for the cdrom drive are Nov 20 03:13:05 anarchy /kernel: (ncr0:6:0): "TOSHIBA CD-ROM XM-3601TA 0725" type 5 removable SCSI 2 Nov 20 03:13:05 anarchy /kernel: cd0(ncr0:6:0): CD-ROM Nov 20 03:13:05 anarchy /kernel: cd0(ncr0:6:0): asynchronous. Nov 20 03:13:05 anarchy /kernel: can't get the size [ with FreeBSD 2.1.5 live filesystem cd in cd-drive yes, I opened it up and checked just to make sure i'm not losing my tiny little mind :) ] What is truly bizzare is that I do have a cd in the drive and if I boot kernel.GENERIC it reports the correct size of the cd and will allow me to mount the filesystems. Nov 20 03:11:13 anarchy /kernel.GENERIC: (ncr0:6:0): "TOSHIBA CD-ROM XM-3601TA 0725" type 5 removable SCSI 2 Nov 20 03:11:13 anarchy /kernel.GENERIC: cd0(ncr0:6:0): CD-ROM Nov 20 03:11:13 anarchy /kernel.GENERIC: cd0(ncr0:6:0): asynchronous. Nov 20 03:11:14 anarchy /kernel.GENERIC: cd present [313642 x 2048 byte records] [ Same 2.1.5 cd in the drive ] I thought it might be bit-rot in the kernel so I rebuilt it from scratch, no dice. Then I thought maybe it was SCSI_DELAY so I made it 15, just like GENERIC, still no luck. I saw this problem on my other system and posted a question but got no really good answer and still cannot mount the cd on that system, it is 2.2.2 release. I'm stumped :( Currently I have cvsup'd the latest 2.2_RELENG sources and am running a make world, then I will rebuild my kernel and hope for the best. In the mean time, any ideas? Any help would be greatly appreciated. Larry Lile lile@stdio.com