Date: Thu, 20 Nov 1997 10:10:11 -0500 From: Larry Lile <lile@stdio.com> To: hackers@FreeBSD.ORG Subject: Problems mounting a cd-rom drive on 2.2_RELENG Message-ID: <347452D3.41C6@stdio.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?347452D3.41C6>
