Subject: Re: kern/35465
To: None <,,>
From: Ben Collver <>
List: netbsd-bugs
Date: 02/05/2007 01:25:01
The following reply was made to PR kern/35465; it has been noted by GNATS.

From: Ben Collver <>
To: Zbigniew Baniewski <>,
Subject: Re: kern/35465
Date: Sun, 04 Feb 2007 16:14:54 -0800

 Zbigniew Baniewski wrote:
 > Could you, please, check out the following thing using guspnp driver:
 > 1. Play some *.wav file in most simple way, like: "play soundfile.wav".
 > 2. ...and as soon, as the player ends it's action - repeat the operation.
 > Why I am asking? I've got a feeling at that time, that the problem with GUS
 > PnP driver is completely resolved. Today I noticed, that when I'm playing
 > some file, and very soon I want to play a new one, "play" in some way
 > "freezes" for about 2 minutes - then ends it's action without any sound
 > output. The same when using other playing utilities, like "splay" or
 > "mp3blaster" - so, it seems for a little bug still remaining.
 I am sorry I took so long to respond, real life kept me busy a while.  I 
 downloaded a snapshot from the following URL and made a bootable install CD.
 The INSTALL kernel booted and ran just fine, but the GENERIC kernel 
 would crash.  After I removed the GUS PnP card, GENERIC booted fine.  I 
 have included captured kernel messages at the end of this email.
 The GUS PnP ISA card belongs to a friend, but he is unlikely to need it. 
   If anyone wants to indefinitely borrow the card for NetBSD 
 development, they may.  The only condition is that on request the card 
 be returned to my friend.
 Here is an excerpt hand-written from the console messages before the 
 crash.  It is interesting to me that it mentions 4 memory banks, but I 
 only saw 2 dimm slots on the card.
 isapnp0: read port 0x203
 guspnp0 at isapnp0 port 0x220/16,0x320/8,0x32c/4 irq 7,5 drq 7,5
 guspnp0: Gravis Ultrasound Plug'n'Pray WSS & GUS EMU
 guspnp0: bank[0]: 1024k, bank[1]: 1024k, bank[2]: 0k, bank[3]: 0k
 uvm_fault(0xc09bdf00, 0x100000, 1) -> 0xe
 kernel: supervisor trap page fault, code=0
 Stopped in pid 0.1 (swapper) at netbsd:iw_set_format+0x30: movl 
 0xc4(%eax), %esi
 Here is the dmesg from the system with the GUS PnP card removed.
 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
      2006, 2007
      The NetBSD Foundation, Inc.  All rights reserved.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
      The Regents of the University of California.  All rights reserved.
 NetBSD 4.99.9 (GENERIC) #0: Sun Jan 21 18:47:05 UTC 2007
 total memory = 32380 KB
 rbus: rbus_min_start set to 0x20000000
 avail memory = 21960 KB
 timecounter: Timecounters tick every 10.000 msec
 timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
 BIOS32 rev. 0 found at 0xfd960
 mainbus0 (root)
 cpu0 at mainbus0: (uniprocessor)
 cpu0: Intel Pentium (P54C) (586-class), 132.96 MHz, id 0x52c
 cpu0: features 1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
 pci0 at mainbus0 bus 0: configuration mode 1
 pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
 pchb0 at pci0 dev 0 function 0
 pchb0: Intel 82437VX (TVX) System Controller (rev. 0x02)
 pcib0 at pci0 dev 7 function 0
 pcib0: Intel 82371SB (PIIX3) PCI-ISA Bridge (rev. 0x01)
 piixide0 at pci0 dev 7 function 1
 piixide0: Intel 82371SB IDE Interface (PIIX3) (rev. 0x00)
 piixide0: bus-master DMA support present
 piixide0: primary channel wired to compatibility mode
 piixide0: primary channel interrupting at irq 14
 atabus0 at piixide0 channel 0
 piixide0: secondary channel wired to compatibility mode
 piixide0: secondary channel interrupting at irq 15
 atabus1 at piixide0 channel 1
 S3 Trio32/64 (VGA display, revision 0x44) at pci0 dev 8 function 0 not 
 vga1 at pci0 dev 13 function 0: Nvidia & SGS-Thomson Microelectronics 
 Riva 128 (rev. 0x10)
 wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
 wsmux1: connecting to wsdisplay0
 ohci0 at pci0 dev 14 function 0: Opti 82C861 (rev. 0x10)
 ohci0: interrupting at irq 11
 ohci0: OHCI version 1.0, legacy support
 usb0 at ohci0: USB revision 1.0
 uhub0 at usb0
 uhub0: Opti OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 isa0 at pcib0
 lpt0 at isa0 port 0x378-0x37b irq 7
 com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
 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
 pms0 at pckbc0 (aux slot)
 pckbc0: using irq 12 for aux slot
 wsmouse0 at pms0 mux 0
 attimer0 at isa0 port 0x40-0x43: AT Timer
 pcppi0 at isa0 port 0x61
 midi0 at pcppi0: PC speaker (CPU-intensive output)
 sysbeep0 at pcppi0
 isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
 npx0 at isa0 port 0xf0-0xff
 npx0: reported by CPUID; using exception 16
 fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
 pcppi0: attached to attimer0
 isapnp0: no ISA Plug 'n Play devices found
 timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
 Kernelized RAIDframe activated
 wd0 at atabus0 drive 0: <SAMSUNG WN321620A (2.16 GB)>
 wd0: drive supports 16-sector PIO transfers, LBA addressing
 wd0: 2060 MB, 4186 cyl, 16 head, 63 sec, 512 bytes/sect x 4219488 sectors
 wd0: 32-bit data port
 wd0: drive supports PIO mode 4, DMA mode 2
 wd0(piixide0:0:0): using PIO mode 4, DMA mode 2 (using DMA)
 atapibus0 at atabus1: 2 targets
 cd0 at atapibus0 drive 0: <TOSHIBA CD-ROM XM-6202B, b\221\311\373\000, 
 1110> cdrom removable
 cd0: 32-bit data port
 cd0: drive supports PIO mode 4, DMA mode 2
 cd0(piixide0:1:0): using PIO mode 4, DMA mode 2 (using DMA)
 boot device: wd0
 root on wd0a dumps on wd0b
 root file system type: ffs
 wsdisplay0: screen 1 added (80x25, vt100 emulation)
 wsdisplay0: screen 2 added (80x25, vt100 emulation)
 wsdisplay0: screen 3 added (80x25, vt100 emulation)
 wsdisplay0: screen 4 added (80x25, vt100 emulation)