From owner-freebsd-stable Thu Jul 25 15:49:46 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B082237B405 for ; Thu, 25 Jul 2002 15:49:39 -0700 (PDT) Received: from postal3.es.net (postal3.es.net [198.128.3.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00FDA43E91 for ; Thu, 25 Jul 2002 15:49:37 -0700 (PDT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP id GQF37091; Thu, 25 Jul 2002 15:49:31 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Postfix) with ESMTP id 235015D03; Thu, 25 Jul 2002 15:49:31 -0700 (PDT) To: Punkey Cc: freebsd-stable@freebsd.org Subject: Re: CD9660 - Device not configured In-reply-to: Your message of "Wed, 24 Jul 2002 20:33:26 BST." <20020724201310.G479-100000@barbie.lan> Date: Thu, 25 Jul 2002 15:49:31 -0700 From: "Kevin Oberman" Message-Id: <20020725224931.235015D03@ptavv.es.net> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Date: Wed, 24 Jul 2002 20:33:26 +0100 (BST) > From: Punkey > 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