From owner-freebsd-stable Fri Dec 4 08:49:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA22356 for freebsd-stable-outgoing; Fri, 4 Dec 1998 08:49:35 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from clem.mscd.edu (clem.mscd.edu [147.153.1.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA22351 for ; Fri, 4 Dec 1998 08:49:31 -0800 (PST) (envelope-from baram@mscd.edu) Received: from localhost by clem.mscd.edu (PMDF V5.1-10 #D3122) with SMTP id <0F3G002019E2E3@clem.mscd.edu> for freebsd-stable@FreeBSD.ORG; Fri, 4 Dec 1998 09:49:14 -0700 (MST) Date: Fri, 04 Dec 1998 09:49:14 -0700 (MST) From: SirSparc Subject: Re: ATAPI CD-ROM detected but unusable In-reply-to: <7074.912784133@axl.noc.iafrica.com> To: Sheldon Hearn Cc: freebsd-stable@FreeBSD.ORG Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, It looks like your cddrive is on wcd1c instead of wcd0c. Make the appropriate change to your kernel config and recompile, also one weird thing i noticed about cdcontrol is that on some occasions you *need* to specify the track # explicitly, like cdcontrol> play 1 Later.. On Fri, 4 Dec 1998, Sheldon Hearn wrote: > > Hi folks, > > I can't use cdcontrol to play audio CD's. I'm experiencing the > following: > > # cdcontrol -f wcd0c > Compact Disc Control utility, version 2.0 > Type `?' for command list > > cdcontrol> play > cdcontrol: Input/output error > > I've statically compiled ATAPI support into my kernel. Although the > CD-ROM is detected while probing wdc1, the kernel doesn't spit out > anything about wcd0 as I expected, having had this working on another > machine. > > I'm worried that the significant difference between this machine and the > other is that I've enabled PnP support for my sound card. The CD-ROM > runs off the mainboard's seconday controller and the sound card doesn't > offer a controller, so there's no conflict there. > > Any help would be appreciated. Bits of dmesg output and kernel config > follow. > > Thanks, > Sheldon. > > kernel config bits: > -------- > [...] > options FFS #Fast filesystem > options NFS #Network filesystem > options MFS #Memory filesystem > options ATAPI #Enable ATAPI support for IDE bus > options ATAPI_STATIC #Don't do it as an LKM > options PROCFS #Process filesystem > options MSDOSFS #MS DOS filesystem > [...] > controller isa0 > controller pci0 > controller pnp0 # this is required for PnP support > controller wdc0 at isa? port "IO_WD1" bio irq 14 flags 0x80ff80ff vector wdintr > controller wdc1 at isa? port "IO_WD2" bio irq 15 flags 0x80ff80ff vector wdintr > controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr > > disk wd0 at wdc0 drive 0 > disk wd2 at wdc1 drive 0 > disk wcd0 > disk fd0 at fdc0 drive 0 > > dmesg bits: > -------- > [...] > Probing for devices on PCI bus 0: > chip0 rev 2 on pci0:0:0 > chip1 rev 1 on pci0:7:0 > chip2 rev 0 on pci0:7:1 > [...] > Probing for PnP devices: > CSN 1 Vendor ID: CTL00f0 [0xf0008c0e] Serial 0xffffffff > pcm1 (SB16pnp sn 0xffffffff) at 0x220 irq 5 drq 1 flags 0x13 id 13 > Probing for devices on the ISA bus: > [...] > wdc0 at 0x1f0-0x1f7 irq 14 flags 0x80ff80ff on isa > wdc0: unit 0 (wd0): , 32-bit, multi-block-32 > wd0: 1668MB (3417120 sectors), 3390 cyls, 16 heads, 63 S/T, 512 B/S > wdc1 at 0x170-0x177 irq 15 flags 0x80ff80ff on isa > wdc1: unit 0 (wd2): , 32-bit, multi-block-32 > wd2: 1668MB (3417120 sectors), 3390 cyls, 16 heads, 63 S/T, 512 B/S > wdc1: unit 1 (atapi): , removable, accel, dma, iordis > fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa > fdc0: FIFO enabled, 8 bytes threshold > fd0: 1.44MB 3.5in > > 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