From owner-freebsd-current Sat Oct 2 13:15:31 1999 Delivered-To: freebsd-current@freebsd.org Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 4B54814BF1 for ; Sat, 2 Oct 1999 13:15:21 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: from vigrid.com (pm3-pt19.pcnet.net [206.105.29.93]) by pcnet1.pcnet.com (8.8.7/PCNet) with ESMTP id QAA01318; Sat, 2 Oct 1999 16:14:07 -0400 (EDT) Message-ID: <37F667B5.C09E163D@vigrid.com> Date: Sat, 02 Oct 1999 16:14:45 -0400 From: "Daniel M. Eischen" X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Doug Rabson Cc: sos@freebsd.dk, freebsd-current@freebsd.org Subject: Re: Recent kernel hangs during boot with pnp sio. References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug Rabson wrote: > > > Here, it might be the opposite. The normal sio probes pick up the > > pnp modem just fine, and then perhaps pnp comes along and trounces > > on what has already been setup/configured. > > Could you try this patch for me. It attempts to disable pnp devices before > running the regular probes. This allows it to 'hide' those devices from > the heuristic probes so that they don't get seen twice when the pnp probe > happens. [ Patch elided ] This stops the kernel from hanging. The serial device (sio2) doesn't get detected during the regular probes and the pnp probe detects it. But the pnp probe detects it at the wrong IRQ (5 instead of 11). Here's an excerpt of a verbose boot: sio0: irq maps: 0x801 0x811 0x801 0x801 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: irq maps: 0x801 0x809 0x801 0x801 sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A sio2: configured irq 11 not in bitmap of probed irqs 0 sio2: irq maps: 0x801 0x801 0x801 0x801 sio2: probe failed test(s): 0 1 2 4 6 7 9 ppc: parallel port found at 0x378 ppc0: ECP SPP ECP+EPP SPP ppc0 at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold plip: irq 7 plip0: on ppbus 0 bpf: lp0 attached lpt0: on ppbus 0 lpt0: Interrupt-driven port ppi0: on ppbus 0 unknown0: at port 0x3e8-0x3ef irq 5 on isa0 What's the unknown0? Shouldn't that be sio2? Do we need the logical device ID? From pnpinfo -v: Card assigned CSN #1 Vendor ID SUP2480 (0x8024b04e), Serial Number 0x00001334 PnP Version 1.0, Vendor Version 0 Device Description: SupraExpress 56i Sp V.90 Logical Device ID: SUP2480 0x8024b04e #0 Device supports I/O Range Check Compatible Device ID: SUP2080 (8020b04e) [ See my original Email for a full listing. ] CSN SUP2480 (0x8024b04e), Serial Number 0x00001334 Logical device #0 IO: 0x03e8 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 11 0 DMA 4 0 IO range check 0x00 activate 0x01 Dan Eischen eischen@vigrid.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message