Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jul 2002 15:49:31 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        Punkey <lee@punkey.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: CD9660 - Device not configured 
Message-ID:  <20020725224931.235015D03@ptavv.es.net>
In-Reply-To: Your message of "Wed, 24 Jul 2002 20:33:26 BST." <20020724201310.G479-100000@barbie.lan> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Wed, 24 Jul 2002 20:33:26 +0100 (BST)
> From: Punkey <lee@punkey.net>
> Sender: owner-freebsd-stable@FreeBSD.ORG
> 
> Hi folks.  I'm an old hand at Linux & Solaris, now moving over to FreeBSD.
> 
> NB: I've checked various sources of info, I've googled, read UPDATING etc,
> so I feel that contacting the list is my last resort.
> 
> My kernel won't mount a CDROM (any CDROM).  The hardware is OK, BIOS
> configured etc.  I even went as far as reinstalling the HDD and booting
> Linux, and the CDROM works OK.  And yes, there is a CD in the drive :)
> 
> The error is (probably familiar to the list):
> 
> cd9660: /dev/adc0c: Device not configured
> 
> The GENERIC kernel (from a recent make world[1]) runs the CDROM device
> just fine.  Oh, and I did mergemaster after the make world[1] too.
> 
> Steps I've taken so far:
> 
> 1) cvsup'd everything (tag RELENG_4_6)
> 2) blown away /usr/obj
> 3) I took the GENERIC config and copied that to BARBIE (diffs below)
> 4) I jump into /usr/src/sys/i386/conf and run config -r BARBIE (to blow
> away the old dir).
> 
> I then do:
> barbie# config BARBIE
> barbie# cd ../../compile/BARBIE
> barbie# make clean && make modules-clean && make depend && make
> barbie# make install
> 
> Kernel builds fine, and I boot it.  Dmesg snippet below, showing hardware
> recognised OK.
> 
> 4) I then try the MAKEDEV side of things:
> barbie#	mount /cdrom
> cd9660: /dev/acd0c: Device not configured
> barbie# mount /dev/acd0c /mnt
> mount: /dev/acd0c: Device not configured
> barbie#	cd /dev
> barbie#	sh MAKEDEV acd
> barbie#	ls -l /dev/acd* ; date
> crw-r-----  2 root  operator  117,   0 Jul 24 19:51 /dev/acd0a
> crw-r-----  2 root  operator  117,   2 Jul 24 19:51 /dev/acd0c
> crw-r-----  2 root  operator  117,   8 Jul 24 19:51 /dev/acd1a
> crw-r-----  2 root  operator  117,  10 Jul 24 19:51 /dev/acd1c

The minor mode on the acd0c device (and, for that matter acd1c) is
wrong. The mode changed with the new ATA driver.

cd /dev && rm /dev/acd* && ./MAKEDEV acd0

You should have:
crw-r-----  4 root  operator  117,   0 Jul 25 15:46 acd0a
crw-r-----  4 root  operator  117,   0 Jul 25 15:46 acd0c
crw-r-----  4 root  operator  117,   8 Jul 25 15:46 acd1a
crw-r-----  4 root  operator  117,   8 Jul 25 15:46 acd1c


R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020725224931.235015D03>