Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Feb 1997 19:27:07 -0800
From:      Jason Wells <jcwells@u.washington.edu>
To:        freebsd-questions@freebsd.org
Subject:   Mitsumi CDROM is giving me fits.
Message-ID:  <33067E8B.2C71@u.washington.edu>

next in thread | raw e-mail | index | archive | help
The burgess faqs pages state that there seems to be some trouble getting
mitsumi drives to work. The FAQS mention editing mcd.c to force a
certain return value from the mcd_getreply() function. I do not feel
quite up to this task. I am not sure that it is exactly necessary yet.

Here is some info from files in my system. Note the error messsage for
mcd0

**snip /var/log/messages
/kernel: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
/kernel: fdc0: NEC 72065B
/kernel: fd0: 1.44MB 3.5in
/kernel: wdc0 at 0x1f0-0x1f7 irq 14 on isa
/kernel: wdc0: unit 0 (wd0): <ST32140A>
/kernel: wd0: 2015MB (4127760 sectors), 4095 cyls, 16 head **yadda 
/kernel: wdc0: unit 1 (wd1): <ST3243A>
/kernel: wd1: 204MB **yadda
/kernel: wdc1 at 0x170-0x177 irq 15 on isa
/kernel: mcd0: timeout getting status
/kernel: mcd0 not found at 0x340
**snip

**snip /KERNEL
#ADMIN These controllers are arranged as follows inside the machine. 
# the 2 gig drive is master the 240 meg drive is slave. both are 
# connected to the onboard pci-ide controller socket that is labeled 
# IDE1 in the mother board manual. The cdrom drive is connected to 
# the IDE2 socket.

#ADMIN This controller is for the socket IDE1 in the motherboard manual.
# In DOS it is called the primary IDE controller. This works.
controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr

#ADMIN This controller is for the socket IDE2 in the motherboard manual. 
# In DOS it is called the secondary IDE controller. This works.
controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr

#ADMIN This is the 2 gig boot drive. This works.
disk		wd0	at wdc0 drive 0

#ADMIN This is the 204 meg disk. This disk really slows down the boot 
# process. This works on bootup. I haven't tried to write it yet 
# because it has dos backup stuff on it. Also, this drive is not 
# in /etc/fstab yet.
disk		wd1	at wdc0 drive 1

#ADMIN These are extra drives.
# disk		wd2	at wdc1 drive 0
# disk		wd3	at wdc1 drive 1

#ADMIN The CDROM is a mitsumi model crmc-fx400. It was manufactured 
# Feb 95. The jumper on the drive 
# is set to slave. The CDROM is connected to the port IDE2 and is 
# supposedly ATAPI IDE compatible. This drive uses ATAPI driver 
# and runs this way in DOS.

# The message DOS gives is "ATAPI IDE CDROM DRIVER version 
# 1.21 12/06/94"

options         ATAPI           #Enable ATAPI support for IDE bus
device          wcd0            #IDE CD-ROM

#ADMIN Mitsumi manual cites 320, 330, 340, 360 as valid 
# I/O ports for the CDROM interface. 

#ADMIN This is the mitsumi CDROM controller.
device		mcd0	at isa? port 0x340 bio irq 11 vector mcdintr
** snip

**snip not sure you need this but...  /etc/fstab
/dev/wd0s2b			none		swap	sw 0 0
/dev/wd0a			/		ufs	rw 1 1
/dev/wd0s2f			/usr		ufs	rw 1 1
/dev/wd0s2e			/var		ufs	rw 1 1
proc				/proc		procfs	rw 0 0
**snip

First these questions.

This CDROM is IDE compatible. Based on that...

Do I need the mitsumi driver? It seems like this answer should be yes.

Why can't I hook it up in this manner?

	disk wd2 at wdc1 drive 0

Why can't I hook this up in this manner? 
	
	device  mcd0 at wdc1 drive 0

Why won't the drive wcd0 work? When I try to mount it it says "device
not configured" This device wcd0 does not show when I "lsdev" even
thought it is compiled into the kernel.

BTW, lsdev will show that mcd0 exists but says not configured int the
status column. lsdev does not show device wcd0 at all.

I have trial and errored and even kernel paniced myself into submission
on this one. Oh yeah, I read all of the wrong documentation in search of
an answer. If you could point to the right docs that would be a great
help.

If these questions don't help me to get to my objective then I ask this
final question.

How the hell do I get this drive to work?

Thanks in advance
-- 
**************************************************************
* Thank you,        *         Highperformance.net            *
* Wannabe Sysadmin  *         The homeless domain            *
* Jason Wells       * "Pardon me sir, spare some bandwidth?" *
**************************************************************

-----BEGIN PGP MESSAGE-----
Version: 2.6.2

owEBqQBW/4kAlQMFADL6i3KNL/e/LcfTaQEBMpYD/1fGPervFuXq29BKaBfOXB42
jV4rHGby+/1WUc6cUB1oUV7IKz7cUHRs/e2kWiJmg9yuJr7nag67Rowhc4Ea0BDe
cc2fJ6E9xEhjWbJ1okMjFUmnFsINfO1lIEftBKTrwsRWCegtFMWYkDrbKYqdfA8R
VbbSa47zTZ1zFUgmlQEvrA9iCWJsYW5rLnR4dAAAAAA=
=li6b
-----END PGP MESSAGE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33067E8B.2C71>