RE: CD problems after upgrade to 4.0

2000-03-19 Thread C J Michaels

Take a look at dmesg output, is the CD-ROM being detected?  and if so, make
sure the /dev/cdrom link is pointing to the right device.

-Chris
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Luc Morin
Sent: Sunday, March 19, 2000 7:07 PM
To: [EMAIL PROTECTED]
Subject: CD problems after upgrade to 4.0


Hi all,

After upgrading my system to 4.0 with sources (cvsup), I'm experiencing
problems with my CD player.

I can't mount any CD, nor can I listen to any music CD. When I try to
mount, I get:

cd9660: Device not configured

and when I try to access using wmcdplay I get:

wmcdplay: Unable to open cdrom device '/dev/cdrom'.



I have the following in my kernel config file:


optionsCD9660

...

device ata
device atadisk
device atapicd
optionsATA_STATIC_ID

I also have the following entries in /dev:

bash-2.03# cd /dev/
bash-2.03# ls acd*
acd0a   acd0c   acd1a   acd1c
bash-2.03# ls -l cdrom
lrwxr-xr-x  1 root  wheel  5 Mar 19 15:58 cdrom - acd0a

And the following entry in /etc/fstab:

/dev/acd0c  /cdrom  cd9660  ro,noauto   0
0


As I write this, I notice the different references to acd0a and acd0c...
what should I be using ?

Have I overlooked anything else?

Thanks


Luc Morin[EMAIL PROTECTED]
Electrical Engineering Technologist



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: CD problems after upgrade to 4.0

2000-03-19 Thread Luc Morin

C J Michaels wrote:

 Take a look at dmesg output, is the CD-ROM being detected?  and if so, make
 sure the /dev/cdrom link is pointing to the right device.

 -Chris
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Luc Morin
 Sent: Sunday, March 19, 2000 7:07 PM
 To: [EMAIL PROTECTED]
 Subject: CD problems after upgrade to 4.0

 Hi all,

 After upgrading my system to 4.0 with sources (cvsup), I'm experiencing
 problems with my CD player.

 I can't mount any CD, nor can I listen to any music CD. When I try to
 mount, I get:

 cd9660: Device not configured

 and when I try to access using wmcdplay I get:

 wmcdplay: Unable to open cdrom device '/dev/cdrom'.

 I have the following in my kernel config file:

 optionsCD9660

 ...

 device ata
 device atadisk
 device atapicd
 optionsATA_STATIC_ID

 I also have the following entries in /dev:

 bash-2.03# cd /dev/
 bash-2.03# ls acd*
 acd0a   acd0c   acd1a   acd1c
 bash-2.03# ls -l cdrom
 lrwxr-xr-x  1 root  wheel  5 Mar 19 15:58 cdrom - acd0a

 And the following entry in /etc/fstab:

 /dev/acd0c  /cdrom  cd9660  ro,noauto   0
 0

 As I write this, I notice the different references to acd0a and acd0c...
 what should I be using ?

 Have I overlooked anything else?

 Thanks

 Luc Morin[EMAIL PROTECTED]
 Electrical Engineering Technologist

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-stable" in the body of the message

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-stable" in the body of the message

bash-2.03# dmesg | grep acd
acd0: CDROM CD-ROM CDU4011 at ata0-slave using PIO4

bash-2.03# cd /dev
bash-2.03# rm acd*
bash-2.03# ./MAKEDEV acd0
bash-2.03# ls acd0*
acd0a  acd0c
bash-2.03# rm cdrom
bash-2.03# ln -s acd0a cdrom
bash-2.03# mount /cdrom
cd9660: Device not configured
bash-2.03# rm cdrom
bash-2.03# ln -s acd0c cdrom
bash-2.03# mount /cdrom
cd9660: Device not configured


Now, why does it say the device cd9660 is not configured ?


bash-2.03# uname -a
FreeBSD southpark.videotron.ca 4.0-STABLE FreeBSD 4.0-STABLE #0: Sun Mar 19
15:42:13 EST 2000
[EMAIL PROTECTED]:/usr/src/sys/compile/MYKERN4  i386

bash-2.03# grep CD9660 /usr/src/sys/i386/conf/MYKERN4
options CD9660  #ISO 9660 Filesystem
#optionsCD9660_ROOT #CD-ROM usable as root, CD9660
required

As far as I'm concerned, I don't need the CD9660_ROOT option, so that
shouldn't be causing any problems, right ?

Here's the complete dmesg output:

Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 4.0-STABLE #0: Sun Mar 19 15:42:13 EST 2000
[EMAIL PROTECTED]:/usr/src/sys/compile/MYKERN4
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon (501.14-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x673  Stepping = 3

Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXS

R,XMM
real memory  = 67092480 (65520K bytes)
avail memory = 62148608 (60692K bytes)
Preloaded elf kernel "kernel" at 0xc02d4000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc02d409c.
Pentium Pro MTRR support enabled
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Intel 82443BX (440 BX) host to PCI bridge on motherboard
pci0: PCI bus on pcib0
pcib1: Intel 82443BX (440 BX) PCI-PCI (AGP) bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: ATI Rage128-RF graphics accelerator at 0.0 irq 11
isab0: Intel 82371AB PCI to ISA bridge at device 4.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 ATA33 controller port 0xb800-0xb80f at device 4.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: Intel 82371AB/EB (PIIX4) USB controller at 4.2 irq 12
chip1: Intel 82371AB Power management controller port 0xe800-0xe80f at
device 4.3 on pci0
pcm0: AudioPCI ES1370 port 0xb000-0xb03f irq 10 at device 10.0 on pci0
ed0: NE2000 PCI Ethernet (RealTek 8029) port 0xa800-0xa81f irq 12 at device
13.0 on pci0
ed0: supplying EUI64: 00:e0:29:ff:fe:40:c0:4f
ed0: address 00:e0:29:40:c0:4f, type NE2000 (16 bit)
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5" drive on fdc0 drive 0
atkbdc0: keyboard controller (i8042) at port 0x60-0x6f on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0: System console on isa0
sc0: VGA 16 virtual consoles, flags=0x200
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: IEEE1284 device found /NIBBLE/ECP
Probing for PnP device

Re: CD problems after upgrade to 4.0

2000-03-19 Thread Ben Smithurst

Luc Morin wrote:

 I also have the following entries in /dev:
 
 bash-2.03# cd /dev/
 bash-2.03# ls acd*
 acd0a   acd0c   acd1a   acd1c
 bash-2.03# ls -l cdrom
 lrwxr-xr-x  1 root  wheel  5 Mar 19 15:58 cdrom - acd0a
 
 And the following entry in /etc/fstab:
 
 /dev/acd0c  /cdrom  cd9660  ro,noauto   0
 0
 
 
 As I write this, I notice the different references to acd0a and acd0c...
 what should I be using ?

I've always used the 'c' partition on CDs. I don't know whether that's  your
problem with audio CDs, but that shouldn't affect "mount /cdrom" operation.

 Have I overlooked anything else?

I assume the CD is detected at boot time? 'dmesg | grep acd'

-- 
Ben Smithurst / [EMAIL PROTECTED] / PGP: 0x99392F7D


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message