From owner-freebsd-questions Wed Aug 16 07:45:03 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id HAA01271 for questions-outgoing; Wed, 16 Aug 1995 07:45:03 -0700 Received: from netmail.austin.ibm.com (netmail.austin.ibm.com [129.35.208.98]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id HAA01247 ; Wed, 16 Aug 1995 07:44:57 -0700 Received: from mojave.austin.ibm.com (mojave.austin.ibm.com [129.35.128.45]) by netmail.austin.ibm.com (8.6.11/8.6.11) with SMTP id JAA87798; Wed, 16 Aug 1995 09:44:48 -0500 Received: from localhost.austin.ibm.com by mojave.austin.ibm.com (AIX 9532A-UP 4.1/UCB 5.64/4.03-client-2.6) for freebsd-hackers@freebsd.org at austin.ibm.com; id AA27794; Wed, 16 Aug 1995 09:44:35 -0500 Message-Id: <9508161444.AA27794@mojave.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 Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0" Content-Id: <24962.808584206.0@mojave.austin.ibm.com> Date: Wed, 16 Aug 1995 09:44:32 -0500 From: Dave Marquardt Sender: questions-owner@freebsd.org Precedence: bulk ------- =_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 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): 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: npx0 on motherboard npx0: INT 16 interface Probing for devices on the pci0 bus: configuration mode 2 allows 16 devices. chip0 rev 17 on pci0:0 chip1 rev 3 on pci0:2 vga0 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--