Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jan 1999 22:03:16 -0500 (EST)
From:      Kenneth Wayne Culver <culverk@wam.umd.edu>
To:        Mark Ovens <marko@uk.radan.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Help! Can't detect my Matsushita/Panasonic IDE CDROM.
Message-ID:  <Pine.GSO.3.95q.990124215346.11218A-100000@rac8.wam.umd.edu>
In-Reply-To: <36ABD97C.697C572D@uk.radan.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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): <IBM-DTTA-350840>
> > >> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.95q.990124215346.11218A-100000>