Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jul 2002 23:17:06 +0100 (BST)
From:      Punkey <lee@punkey.net>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: CD9660 - Device not configured
Message-ID:  <20020725231617.X907-100000@punkey.homeunix.net>
In-Reply-To: <20020724201310.G479-100000@barbie.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
And just as I get my message to thet list... I've fixed it (with some help
from Nik).

Solution was to cvsup a different release, now using RELEND_4_6_1_RELEASE,
and rebuild the world.

All working now.

Lee

On Wed, 24 Jul 2002, Punkey wrote:

> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
> 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: <Generic ESDI/IDE/ATA controller> at port 0x1e8-0x1ef,0x3ee-0x3ef irq 11 on isa0
> ad0: 32253MB <ST340016A> [65531/16/63] at ata0-master UDMA33
> acd0: CD-RW <HL-DT-ST RW/DVD GCC-4120B> at ata1-master PIO4
>
>
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
>


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?20020725231617.X907-100000>