Subject: isapnp panic on i386
To: None <current-users@netbsd.org>
From: Tracy J. Di Marco White <gendalia@iastate.edu>
List: current-users
Date: 11/23/1998 16:03:05
Using source from 19981105, when I enable isapnp in the kernel, I get a panic
at boot:
isapnp0: read port 0x203
extent_alloc_region: extent `ioport', size 0x0
panic: extent_alloc_region: bad size
Stopped in  at _Debugger+0x4: leave
db> trace
_Debugger(f026f538,0,f02bfc48,f01316c6,f0131541) at _Debugger+0x4
_panic(f0131541,f0131513,f01fddb7,0,f0441070) at _panic+0x55
_extent_alloc_region(f026f538,0,0,10,f0441070) at _extent_alloc_region+0x42
_i386_memio_map(0,0,0,0,f0441070) at _i386_memio_map+0x63
_isapnp_alloc_region(0,f0441070,0,f0441000,f0441000) at _isapnp_alloc_region+0x23
_isapnp_testconfig(0,1,f0441000,0,f0419b00) at _isapnp_testconfig+0x47
_isapnp_bestconfig(f0419b00,f02bfd14,f043cea0,0,f043bb40) at _isapnp_bestconfig+0x5c
_isapnp_callback(f0419b00,0,f024a420,f043bb40,f02bfd84) at _isapnp_callback+0xae
_config_process_deferred_children(f043bb40,f043bf00,f043bb40,f02bfdd4,f043bb40) at _config_process_deferred_children+0x43
_config_attach(f043bf00,f024aa24,f02bfdd4,f0211964,f02bfdd4) at _config_attach+0x2ce
_config_found_sm(f043bf00,f02bfdd4,f0211964,0,f02bfdd4) at _config_found_sm+0x29
_pcib_callback(f043bf00,0,f024a3c0,f043df80,f02bfe54) at _pcib_callback+0x42
_config_process_deferred_children(f0434df80,f043bfc0,f043df80,f02bfe9c,f043df80) at _config_process_deferred_children+0x43
_config_attach(f043bfc0,f024a97c,f02bfe9c,f020aea4,f043bfc0) at_config_attach+0x2ce
_config_found_sm(f043bfc0,f02bfe9c,f020aea4,0) at _config_found_sm+-x29
_mainbus_attach(0,f043bfc0,0,f043bfc0,0) at _mainbus_attach+0x5e
config_rootfound(f01f8f67,0) at _config_rootfound+0x37
_configure(f01fc401,348,348000,f01fc3f0,3915000) at _configure+0x14
_cpu_startup(f024f364,f02bd010,2bd000,2c40000,fffff000) at _cpu_startup+0x249
_main(0,0,0,0,0) at _main+0x4f_

This still happens with current as of 19981121, but it doesn't panic if I use
the install kernel provided in the 19981105 snapshot:
isapnp0: read port 0x203
isapnp0: <AZT1008 PnP SOUND DEVICE, AZT0500, , IDE CDROM DISAB> ignored; resource conflict
isapnp0: <AZT1008 PnP SOUND DEVICE, AZT1008, , AUDIO> port 0x220/16,0x388/8,0x534/4 irq 5 drq 1,3 not configured
isapnp0: <AZT1008 PnP SOUND DEVICE, AZT2001, , MPU401 MIDI> port 0x330/2 irq 9 not configured
isapnp0: <AZT1008 PnP SOUND DEVICE, AZT3001, , GAME PORT> port 0x200/8 not configured

Tracy J. Di Marco White
Project Vincent Systems Manager
gendalia@iastate.edu