Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jan 1999 08:23:06 PST
From:      "Albert Chen" <chen6178@hotmail.com>
To:        marko@uk.radan.com
Cc:        culverk@wam.umd.edu, freebsd-questions@FreeBSD.ORG
Subject:   Re: Help! Can't detect my Matsushita/Panasonic IDE CDROM.
Message-ID:  <19990125162326.26282.qmail@hotmail.com>

next in thread | raw e-mail | index | archive | help
Mark Ovens said:

>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.

Hi, Mark,
 
It's really weird, isn't it? I don't change anything, FreeBSD CAN    
detect my CDROM with no problems so far, I test rebooting five times,
no problem :-) 
Well, I have to thank you for your help. 
 
Thanks again,
Albert.


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

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?19990125162326.26282.qmail>