Subject: Re: ym driver
To: None <soren@wheel.dk, tech-kern@netbsd.org>
From: ITOH Yasufumi <itohy@netbsd.org>
List: tech-kern
Date: 09/22/1999 12:00:05
In article <19990921075828.A3215@gnyf.wheel.dk>
soren@wheel.dk writes:

> >From reading the chip's (somewhat sparse in this area)
> documentation, I believe the ym chips always are in either
> '_isapnp' or '_pnpbios' mode.
> 
> Have you checked to see if the ym_pnpbios in
> ftp://zelof1.zel.kfa-juelich.de/pub/NetBSD/pnpbios/ works
> on the machine(s) in question?

I tried the kernel in the directory.
It seems the chip is detected but the driver is not attached.

Here's the boot message of the kernel.  Long lines are folded with \s.


NetBSD 1.4C (GENERIC) #1: Fri Jun 11 16:13:34 MEST 1999
    drochner@zelz26:/home/drochner/pnpbios/sys/arch/i386/compile/GENERIC
cpu0: family 5 model 8 step 1
cpu0: Intel Pentium (586-class)
total memory = 65216 KB
avail memory = 56976 KB
using 840 buffers containing 3360 KB of memory
mainbus0 (root)
pnpbios0 at mainbus0: code f0000, data 0, entry 90a8
pnpbios; 16 nodes, max len 195
EISA ID: PNP0C01
pnp_scan: too many mem tags
error in config data
 5a 00 01 41 d0 0c 01 05 00 00 03 00 86 09 00 0b 00 00 00 00 00 00 0a 00 86 09\
 00 0a 00 00 0f 00 00 00 01 00 86 09 00 0b 00 00 10 00 00 00 f1 03 86 09 00 0a\
 00 00 01 04 00 00 03 00 86 09 00 0a 00 00 f0 ff 00 00 10 00 86 09 00 0a 00 00\
 f8 fe 00 00 08 00 79 cc 79 87 79 87
EISA ID: PNP0200
 io: 0-f flags 1 io: 81-83 flags 1 io: 87-87 flags 1 io: 89-8b flags 1 io: 8f-8f flags 1 io: c0-df flags 1 dma: 10 flags 8
EISA ID: PNP0000
 io: 20-21 flags 1 io: a0-a1 flags 1 irq: 0004 flags 1
EISA ID: PNP0100
 io: 40-43 flags 1 irq: 0001 flags 1
EISA ID: PNP0800
 io: 61-61 flags 1
EISA ID: PNP0C04
 io: f0-ff flags 1 irq: 2000 flags 1
EISA ID: PNP0303
 io: 60-60 flags 1 io: 64-64 flags 1 irq: 0002 flags 1
EISA ID: PNP0F13
 irq: 1000 flags 11
EISA ID: PNP0B00
 io: 70-71 flags 1 irq: 0100 flags 1
EISA ID: PNP0C02
pnp_newioport: too many tags
error in config data
 ba 00 0a 41 d0 0c 02 08 80 00 03 00 47 01 80 00 80 00 01 01 47 01 84 00 84 00\
 01 03 47 01 88 00 88 00 01 01 47 01 8c 00 8c 00 01 03 47 01 e0 00 e0 00 01 10\
 47 01 b0 00 b0 00 01 03 47 01 24 00 24 00 01 02 47 01 2e 00 2e 00 01 02 47 01\
 62 00 62 00 01 01 47 01 66 00 66 00 01 01 47 01 68 00 68 00 01 08 47 01 82 18\
 82 18 01 04 47 01 88 18 88 18 01 06 47 01 a0 18 a0 18 01 10 47 01 b0 18 b0 18\
 01 10 47 01 c0 18 c0 18 01 10 47 01 80 04 80 04 01 10 47 01 f8 0c f8 0c 01 08\
 47 01 d0 04 d0 04 01 02 47 01 00 01 00 01 01 08 47 01 0e 01 0e 01 01 01 79 b4\
 79 87 79 87
EISA ID: PNP0600
 io: 1f0-1f7 flags 1 io: 3f6-3f6 flags 1 irq: 4000 flags 1
EISA ID: PNP0501
 io: 3f8-3ff flags 1 irq: 0010 flags 11
EISA ID: PNP0401
 io: 378-37a flags 1 io: 778-77a flags 1 irq: 0080 flags 11 dma: 08 flags 8
EISA ID: PNP0A03

EISA ID: PNP0E03
 io: 3e0-3e1 flags 1 irq: 0000 flags 11
compatible: PNP0E00
EISA ID: YMH0021
 io: 220-22f flags 1 io: 530-537 flags 1 io: 388-38f flags 1 io: 330-331 flags 1 io: 370-371 flags 1 irq: 0020 flags 1 dma: 02 flags 8 dma: 01 flags 8
ID: OPL3-SA3 Sound System
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o enabled, memory enabled
pchb0 at pci0 dev 0 function 0
pchb0: Toshiba Info Systems (2nd PCI Vendor ID) product 0x0601 (rev. 0x2e)
vga1 at pci0 dev 4 function 0: Neomagic product 0x0004 (rev. 0x01)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
Toshiba Info Systems (2nd PCI Vendor ID) product 0x0701 (miscellaneous communications, revision 0x22) at pci0 dev 17 function 0 not configured
Toshiba Info Systems (2nd PCI Vendor ID) ToPIC97 CardBus-PCI Bridge (CardBus bridge, revision 0x20) at pci0 dev 19 function 0 not configured
Toshiba Info Systems (2nd PCI Vendor ID) ToPIC97 CardBus-PCI Bridge (CardBus bridge, revision 0x20) at pci0 dev 19 function 1 not configured
isa0 at mainbus0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 channel 0 drive 0: <IBM-DBCA-206480>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 6194MB, 13424 cyl, 15 head, 63 sec, 512 bytes/sect x 12685680 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
lpt0 at isa0 port 0x378-0x37b irq 7
sb0 at isa0 port 0x220-0x237 irq 5 drq 1: dsp v3.01
midi0 at sb0: <SB MIDI UART>
audio0 at sb0: half duplex
opl0 at sb0: model OPL3
midi1 at opl0: <SB Yamaha OPL3>
wss0 at isa0 port 0x530-0x537 irq 10 drq 0 drq2 1: CS4231 or AD1845
audio1 at wss0: full duplex
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
opms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
pcppi0 at isa0 port 0x61
midi2 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xd3fff: using irq 3
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
isapnp0: no ISA Plug 'n Play devices found
biomask 4000 netmask 4000 ttymask 508a
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs


The machine is Toshiba laptop.
Thr pr author of kern/5722 also uses Toshiba machine
and it may do similar behavior.

Then, what to do?
--
ITOH, Yasufumi <itohy@netbsd.org>