Date: Fri, 12 Nov 1999 12:23:54 +1100 From: Peter Jeremy <jeremyp@gsmx07.alcatel.com.au> To: current@FreeBSD.ORG Subject: panic: nexus_setup_intr: NULL irq resource! Message-ID: <99Nov12.121756est.40354@border.alcanet.com.au>
next in thread | raw e-mail | index | archive | help
I'm trying to enable a generic ISA multiport SIO card in -current from just before the signal changes and get presented with the above panic when the first SIO port on the card is attached. Since it seemed to be a problem with the resource allocation, I tried turning on RMAN_DEBUG, but that just suggests that the problem is elsewhere. The relevant part of my config is: options COM_MULTIPORT device sio0 at isa? disable port IO_COM1 device sio1 at isa? port IO_COM2 irq 9 device sio2 at isa? port IO_COM3 irq 3 device sio3 at isa? port 0x2e8 flags 0x605 device sio4 at isa? port 0x2f0 flags 0x605 device sio5 at isa? port 0x3e0 flags 0x605 device sio6 at isa? port 0x2e0 flags 0x605 irq 4 I originally set this up under 2.2.6 with sio3 as the master port, and it worked (as long as sio0 was disabled). When it didn't work under -current, I RTFM and noticed that the master port should be the highest number, but that didn't help. The relevant part of the boot response is: sio0: not probed (disabled) rman_reserve_resource: <I/O ports> request: [0x2f8, 0x2ff], length 0x8, flags 0, device sio1 considering [0x1f8, 0x333] truncated region: [0x2f8, 0x300]; size 0x9 (requested 0x8) candidate region: [0x300, 0x2f8], size 0x9 splitting region in three parts: [0x1f8, 0x2f7]; [0x2f8, 0x2ff]; [0x300, 0x333] sio1 at port 0x2f8-0x2ff irq 9 flags 0x30 on isa0 rman_reserve_resource: <I/O ports> request: [0x2f8, 0x2ff], length 0x8, flags 0, device sio1 considering [0x1f8, 0x333] truncated region: [0x2f8, 0x300]; size 0x9 (requested 0x8) candidate region: [0x300, 0x2f8], size 0x9 splitting region in three parts: [0x1f8, 0x2f7]; [0x2f8, 0x2ff]; [0x300, 0x333] sio1: type 16550A, console rman_reserve_resource: <Interrupt request lines> request: [0x9, 0x9], length 0x1, flags 4, device sio1 considering [0x7, 0xa] truncated region: [0x9, 0xa]; size 0x2 (requested 0x1) candidate region: [0xa, 0x9], size 0x2 splitting region in three parts: [0x7, 0x8]; [0x9, 0x9]; [0xa, 0xa] rman_reserve_resource: <I/O ports> request: [0x3e8, 0x3ef], length 0x8, flags 0, device sio2 considering [0x338, 0x3ef] truncated region: [0x3e8, 0x3ef]; size 0x8 (requested 0x8) candidate region: [0x3ef, 0x3e8], size 0x8 allocating at the end sio2 at port 0x3e8-0x3ef irq 3 on isa0 rman_reserve_resource: <I/O ports> request: [0x3e8, 0x3ef], length 0x8, flags 0, device sio2 considering [0x338, 0x3ef] truncated region: [0x3e8, 0x3ef]; size 0x8 (requested 0x8) candidate region: [0x3ef, 0x3e8], size 0x8 allocating at the end sio2: type 16450 rman_reserve_resource: <Interrupt request lines> request: [0x3, 0x3], length 0x1, flags 4, device sio2 considering [0x3, 0x5] truncated region: [0x3, 0x4]; size 0x2 (requested 0x1) candidate region: [0x4, 0x3], size 0x2 allocating from the beginning rman_reserve_resource: <I/O ports> request: [0x2e8, 0x2ef], length 0x8, flags 0, device sio3 considering [0x1f8, 0x2f7] truncated region: [0x2e8, 0x2f0]; size 0x9 (requested 0x8) candidate region: [0x2f0, 0x2e8], size 0x9 splitting region in three parts: [0x1f8, 0x2e7]; [0x2e8, 0x2ef]; [0x2f0, 0x2f7] sio3 at port 0x2e8-0x2ef flags 0x605 on isa0 rman_reserve_resource: <I/O ports> request: [0x2e8, 0x2ef], length 0x8, flags 0, device sio3 considering [0x1f8, 0x2f7] truncated region: [0x2e8, 0x2f0]; size 0x9 (requested 0x8) candidate region: [0x2f0, 0x2e8], size 0x9 splitting region in three parts: [0x1f8, 0x2e7]; [0x2e8, 0x2ef]; [0x2f0, 0x2f7] sio3: type 16550A (multiport) panic: nexus_setup_intr: NULL irq resource! Debugger("panic") Stopped at Debugger+0x37: movl $0,in_Debugger db> trace Debugger(c01f5fe3) at Debugger+0x37 panic(c02072a0,7,c033e0c0,c029ff2c,c029fe94) at panic+0x74 nexus_setup_intr(c04b7280,c04b8b00,0,81,c01e81d8) at nexus_setup_intr+0x19 BUS_SETUP_INTR(c04b7280,c04b8b00,0,81,c01e81d8) at BUS_SETUP_INTR+0x45 isa_setup_intr(c04b7100,c04b8b00,0,81,c01e81d8) at isa_setup_intr+0x26 BUS_SETUP_INTR(c04b7100,c04b8b00,0,81,c01e81d8) at BUS_SETUP_INTR+0x45 sioattach(c04b8b00,c04b8b00,c029ff64,c014b3ef,c04b8b00) at sioattach+0x5d9 DEVICE_ATTACH(c04b8b00,c04b8b00,7,2a4000,c029ff88) at DEVICE_ATTACH+0x33 device_probe_and_attach(c04b8b00) at device_probe_and_attach+0x4f isa_probe_children(c04b7100) at isa_probe_children+0x47 configure(0,29dc00,2a4000,0,c01191e6) at configure+0x50 mi_startup(c029ffb4,ffe,2a4000,c014fd39,c02a7000) at mi_startup+0x70 begin() at begin+0x4b db> Any immediate suggestions? Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?99Nov12.121756est.40354>