Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Oct 1999 16:14:45 -0400
From:      "Daniel M. Eischen" <eischen@vigrid.com>
To:        Doug Rabson <dfr@nlsystems.com>
Cc:        sos@freebsd.dk, freebsd-current@freebsd.org
Subject:   Re: Recent kernel hangs during boot with pnp sio.
Message-ID:  <37F667B5.C09E163D@vigrid.com>
References:  <Pine.BSF.4.10.9910021917160.322-100000@salmon.nlsystems.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <PLIP network interface> on ppbus 0
  bpf: lp0 attached
  lpt0: <generic printer> on ppbus 0
  lpt0: Interrupt-driven port
  ppi0: <generic parallel i/o> on ppbus 0
  unknown0: <SupraExpress 56i Sp V.90> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37F667B5.C09E163D>