From owner-freebsd-stable Thu Jul 25 15: 9:33 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 075E637B405; Thu, 25 Jul 2002 15:09:25 -0700 (PDT) Received: from punkey.homeunix.net (userba142.dsl.pipex.com [62.190.240.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3787D43E72; Thu, 25 Jul 2002 15:09:24 -0700 (PDT) (envelope-from lee@punkey.net) Received: from barbie.lan (localhost.lan [127.0.0.1]) by barbie.lan (8.12.3/8.12.5) with ESMTP id g6OJXWCg012617; Wed, 24 Jul 2002 20:33:32 +0100 (BST) (envelope-from lee@punkey.net) Received: from localhost (lee@localhost) by barbie.lan (8.12.3/8.12.5/Submit) with ESMTP id g6OJXQF3012473; Wed, 24 Jul 2002 20:33:32 +0100 (BST) X-Authentication-Warning: barbie.lan: lee owned process doing -bs Date: Wed, 24 Jul 2002 20:33:26 +0100 (BST) From: Punkey X-X-Sender: lee@barbie.lan To: freebsd-stable@freebsd.org Subject: CD9660 - Device not configured Message-ID: <20020724201310.G479-100000@barbie.lan> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 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 Wed Jul 24 19:51:42 BST 2002 barbie# mount /cdrom cd9660: /dev/acd0c: Device not configured I'm stumped. I've checked UPDATING (no joy). Oh, and I've added the cd9660 line to loader.conf What I really don't get is why GENERIC works, and BARBIE doesn't, given that they're near identical configs. Any pearls of wisdom? Yours frustrated, Lee -- [1] By that I mean, buildworld, installworld, buildkernel, installkernel etc ######### # Diffs # ######### barbie# grep -v ^# GENERIC > temp barbie# diff temp BARBIE 3,5d2 < cpu I386_CPU < cpu I486_CPU < cpu I586_CPU 7c4 < ident GENERIC --- > ident BARBIE ################# # Dmesg snippet # ################# barbie# dmesg Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.6.1-RELEASE #0: Wed Jul 24 19:35:35 BST 2002 root@barbie.lan:/usr/src/sys/compile/BARBIE Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (350.80-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183f9ff real memory = 134152192 (131008K bytes) config> di pcic0 config> di sn0 config> di lnc0 config> di ie0 config> di fe0 config> di ed0 config> di cs0 config> di bt0 config> di aic0 config> di aha0 config> di adv0 config> q [snip] ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 [snip] ata4: at port 0x1e8-0x1ef,0x3ee-0x3ef irq 11 on isa0 ad0: 32253MB [65531/16/63] at ata0-master UDMA33 acd0: CD-RW at ata1-master PIO4 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message