Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Aug 1995 09:44:32 -0500
From:      Dave Marquardt <marquard@austin.ibm.com>
To:        freebsd-questions@freebsd.org, freebsd-hardware@freebsd.org, freebsd-hackers@freebsd.org
Subject:   problems with matcd0 on Packard Bell Force 442CDT on 2.0.5
Message-ID:  <9508161444.AA27794@mojave.austin.ibm.com>

next in thread | raw e-mail | index | archive | help
------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <24962.808584206.1@mojave.austin.ibm.com>

I own a Packard Bell Force 442CDT system, which has

	75 MHz Pentium
	8 MB RAM
	Cirrus Logic GD-5434 SVGA board w/ 1MB VRAM
	850 MB IDE hard drive
	1.44 MB 3.5" floppy drive
	Parallel port
	Serial port
	Sound144 card, which includes
		14.4K fax/data modem
		SoundBlaster compatible sound functions
		MPU401 MIDI port
		Game port
		Panasonic/Matsushita CR-563 CD-ROM interface
	2X CD-ROM drive

I'm running FreeBSD 2.0.5, and I've managed to get everything to work
EXCEPT the CD-ROM drive.  I've configured matcd0 with the default line
from the LINT config file, and the probe code doesn't see the CD-ROM.
I tried looking at how things are configured on the DOS/Windows side,
and I did find that the CD-ROM port was 0x340.  I don't know if this
is the port the Sound144 card uses to talk to the CD-ROM somehow, or
if it's the port the system needs to use.  0x340 is way different from
what I see in the port_hints[] array in
/usr/src/sys/i386/isa/matcd/options.h, so I wonder if 0x340 is really
what I want.

When I change the config line for matcd0 to

controller	matcd0	at isa? port 0x340 bio

I get this error message over and over again, and have to reset the
machine:

matcd0: get_stat: After reading status byte, bus didn't go idle ff f7 340

>From the code I see that ff is the status byte, f7 is the bus status
byte, and 340 is the port.

Have others with Packard Bell machines had any better luck than I have
hadconfiguring the CD-ROM driver?  Any suggestions?  I've turned on
DEBUGPROBE and DEBUGCMD, and it just tells me that it's trying all of
the ports in port_hints[].

Any help will be much appreciated!  Thanks!  I'm including my config
file (LEFSE) and the output from dmesg.out for a kernel that uses the
probe_hints[] array where I have DEBUGPROBE and DEBUGCMD turned on.

------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <24962.808584206.2@mojave.austin.ibm.com>
Content-Description: LEFSE config file

#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
#	GENERIC,v 1.45.2.3 1995/06/05 21:50:41 jkh Exp
#

machine		"i386"
cpu		"I586_CPU"
ident		LEFSE
maxusers	10

options		MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3
options		BOUNCE_BUFFERS		#include support for DMA bounce buffers
options		UCONSOLE		#Allow users to grab the console
options		HARDFONTS

options		SYSVSHM

config		kernel	root on wd0 

controller	isa0
controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0

controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0

controller	matcd0	at isa? port 0x340 bio

options		DEBUGPROBE
options		DEBUGCMD

# sound card
controller	snd0
device sb0      at isa? port 0x220 irq 5 drq 1 vector sbintr
#device sbmidi0  at isa? port 0x330 irq 2

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device		vt0	at isa? port "IO_KBD" tty irq 1 vector pcrint
#options		"PCVT_FREEBSD=210"	# pcvt running on FreeBSD 2.1
options		XSERVER			# include code for XFree86

device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr

device		lpt0	at isa? port? tty irq 7 vector lptintr

device		psm0	at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
#device de0
#device ed0 at isa? port 0x280 net irq  5 iomem 0xd8000 vector edintr
#device ed1 at isa? port 0x300 net irq  5 iomem 0xd8000 vector edintr
#device ie0 at isa? port 0x360 net irq  7 iomem 0xd0000 vector ieintr
#device ep0 at isa? port 0x300 net irq 10 vector epintr
#device ix0 at isa? port 0x300 net irq 10 iomem 0xd0000 iosiz 32768 vector ixintr
#device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
#device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr
#device lnc1 at isa? port 0x300 net irq 10 drq 0 vector lncintr
#device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr
#device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	sl	1
# ijppp uses tun instead of ppp device
#pseudo-device	ppp	1
#pseudo-device	tun	1
pseudo-device	pty	16
pseudo-device	gzip		# Exec gzipped a.out's

------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <24962.808584206.3@mojave.austin.ibm.com>
Content-Description: dmesg output when using hunt array

FreeBSD 2.0.5-RELEASE #2: Sun Aug 13 20:45:13 CDT 1995
    drm@myname.my.domain:/usr/src/sys/compile/LEFSE
CPU: 74-MHz Pentium 735\\90 or 815\\100 (Pentium-class CPU)
  Origin = "GenuineIntel"  Id = 0x524  Stepping=4
  Features=0x1bf<FPU,VME,PSE,MCE,CX8,APIC>
real memory  = 7995392 (1952 pages)
avail memory = 6840320 (1670 pages)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0 at 0x60-0x63 irq 12 on motherboard
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <ST5850A>
wd0: 815MB (1669248 sectors), 1656 cyls, 16 heads, 63 S/T, 512 B/S
matcdc0: In probe i 0 y 4 port ffffffff
matcd0: size of port_hints 20
matcdc0: Port hint 230
matcdc0: Probe DID NOT find something
matcdc0: Port hint 240
matcdc0: Probe DID NOT find something
matcdc0: Port hint 250
matcdc0: Probe DID NOT find something
matcdc0: Port hint 260
matcdc0: Probe DID NOT find something
matcdc0: Port hint ffffffff
matcd0 not found at 0xffffffff
sb0 at 0x220 irq 5 drq 1 on isa
sb0: <SoundBlaster Pro 3.1>
npx0 on motherboard
npx0: INT 16 interface
Probing for devices on the pci0 bus:
	configuration mode 2 allows 16 devices.
chip0 <Intel 82434LX PCI cache memory controller> rev 17 on pci0:0
chip1 <Intel 82378IB PCI-ISA bridge> rev 3 on pci0:2
vga0 <VGA-compatible display device> rev 216 on pci0:3
pci0: uses 16777216 bytes of memory from a0000000 upto a0ffffff.

------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <24962.808584206.4@mojave.austin.ibm.com>

--
Dave Marquardt
SMTP: marquard@austin.ibm.com
VNET: MARQUARD at AUSTIN
T/L 678-1139
+1 512 838-1139

------- =_aaaaaaaaaa0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9508161444.AA27794>