From owner-freebsd-questions Sun Jan 24 19:03:45 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA02909 for freebsd-questions-outgoing; Sun, 24 Jan 1999 19:03:45 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from po4.wam.umd.edu (po4.wam.umd.edu [128.8.10.166]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA02898 for ; Sun, 24 Jan 1999 19:03:39 -0800 (PST) (envelope-from culverk@wam.umd.edu) Received: from rac1.wam.umd.edu ((IDENT root)@rac1.wam.umd.edu [128.8.10.141]) by po4.wam.umd.edu (8.9.0.Beta6/8.9.0.Beta6) with ESMTP id WAA00009; Sun, 24 Jan 1999 22:03:19 -0500 (EST) Received: from rac1.wam.umd.edu ((IDENT sendmail)@localhost [127.0.0.1]) by rac1.wam.umd.edu (8.9.0.Beta6/8.9.0.Beta6) with SMTP id WAA22381; Sun, 24 Jan 1999 22:03:17 -0500 (EST) Received: from localhost by rac1.wam.umd.edu (8.9.0.Beta6/8.9.0.Beta6) with SMTP id WAA22367; Sun, 24 Jan 1999 22:03:16 -0500 (EST) X-Authentication-Warning: rac1.wam.umd.edu: culverk owned process doing -bs Date: Sun, 24 Jan 1999 22:03:16 -0500 (EST) From: Kenneth Wayne Culver Reply-To: Kenneth Wayne Culver To: Mark Ovens cc: freebsd-questions@FreeBSD.ORG Subject: Re: Help! Can't detect my Matsushita/Panasonic IDE CDROM. In-Reply-To: <36ABD97C.697C572D@uk.radan.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Albert Chen wrote: > > > > Mark said: > > > > > >Albert Chen wrote: > > >> > > >> >From dpsmith@xoom.com Fri Jan 22 18:20:56 1999 > > >> >Kenneth Wayne Culver wrote: > > >> >> > > >> >> > > > >> >> > Albert Chen wrote: > > >> >> > > > > >> >> > > Hi, > > >> >> > > > > >> >> > > I'm using Matsushita/Panasonic IDE CDROM, but seems FreeBSD > > can't > > >> detect > > >> >> > > it. > > >> >> > > I add the line "controller matcd0 at isa? port 0x230 > > bio" > > >> in > > >> >> > > kernel > > >> >> > > config file, but it doesn't work. > > >> >> > > Would anyone tell me how to solve this problem, thanks in > > >> advance. > > >> >> > > > > >> >> All you need to do is us the ATAPI options. specifically add this > > to > > >> your > > >> >> kernel config file: > > >> >> > > >> >> options ATAPI #Enable ATAPI support for IDE bus > > >> >> options ATAPI_STATIC #Don't do it as an LKM > > >> >> device acd0 #IDE CD-ROM > > >> > > > >> >ATAPI & ATAPI_STATIC are in GENERIC anyway, as is wcd0 and matcd0. > > acd0 > > >> >is for CD-ROM & CD-R/RW according to LINT and should be used *in > > place > > >> >of* wcd, so if the original poster is booting the GENERIC kernel > > there > > >> >shouldn't be a problem. > > >> > > > >> >What's confusing me is ''I add the line "controller matcd0 at > > >> isa? > > >> >port 0x230 bio" in kernel''. Why? when it's there already? > > >> > > > >> > > >> Hi, Mark & Kenneth, > > >> > > >> The following lines in my kernel config file, > > >> > > >> options ATAPI #Enable ATAPI support for IDE bus > > >> options ATAPI_STATIC #Don't do it as an LKM > > >> device matcd0 #IDE CD-ROM > > >> controller matcd0 at isa? port 0x230 bio > > >> > > >> But FreeBSD can't still detect CDROM :-( > > >> I run dmesg, and the result is below: > > >> > > >> wdc0 at 0x1f0-0x1f7 irq 14 on isa > > >> wdc0: unit 0 (wd0): > > >> wd0: 8063MB (16514064 sectors), 16383 cyls, 16 heads, 63 S/T, 512 B/S > > >> wdc1 not found at 0x170 > > >> matcd0 not found ad 0x230 > > >> > > >> Would you like to tell me how to sovle it, thanks. > > > > > >OK, firstly, is your CD-ROM an IDE device _or_ a Matsushita/Panasonic > > >proprietry device? The controller matcd0 is only for CD-ROM's with the > > >proprietry Mat/Pan interface (as used on SB cards) not for IDE devices > > >_made_ by Mat/Pan. > > > > > >If it is IDE then you don't need ``matcd0'' in your config file. Also, > > >there is no such thing as ``device matcd0'' only ``controller matcd0'' > > > > Hi, Mark, > > > > My CDROM is an IDE device, not proprietry device, and CDROM type is > > CR-583. I follow your instructions to delete "controller matcd0" in > > kernel config file, then compile kernel, reboot. FreeBSD CAN detect > > it, but I reboot it again, FreeBSD CAN'T detect CDROM, and I try > > many times, still fails :( > > Wierd :-/. I really need to see the output from dmesg, preferably both > when the CD is detected and when it isn't. > > > Is it FreeBSD problem or my CDROM problem, I really don't know. > > > > Hmm, not 100% sure, but if FreeBSD detects it once then it should do it > again, the kernel doesn't change, unless you are using boot time config > (boot -c) and that is introducing a > conflict. Again I really need to see the output from dmesg. > > > P.S. I set my CDROM is secondary primary. > > Good, I've heard of problems with a CD as a slave but without a master > on the same channel. > > OK, since you've confirmed that it is an IDE device then it should work > with the GENERIC kernel. Try booting with that using ``kernel.GENERIC'' > (you should have a file ``kernel.GENERIC'' in the root dir) at the boot > prompt. > > Let me know how you get on, and include your dmesg output. > What I've got to say is that if you are using FBSD-3.0_RELEASE, then you will have this problem with the ALi chipset. You must cvsup to at least 3.0-STABLE in order to fix this. Kenneth Culver To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message