Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Oct 1999 07:03:58 -0400
From:      "Daniel M. Eischen" <eischen@vigrid.com>
To:        freebsd-current@FreeBSD.org
Subject:   Recent kernel hangs during boot with pnp sio.
Message-ID:  <37F4951E.C27DC624@vigrid.com>

next in thread | raw e-mail | index | archive | help

I have a pnp modem "SupraExpress 56i Sp V.90" that works fine with a
kernel from Aug 22.  Here is an excerpt from a successful boot:

     atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
     atkbd0: <AT Keyboard> irq 1 on atkbdc0
     vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0
     sc0: <System console> on isa0
     sc0: VGA <16 virtual consoles, flags=0x200>
     sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
     sio0: type 16550A
     sio1 at port 0x2f8-0x2ff irq 3 on isa0
     sio1: type 16550A
---> sio2 at port 0x3e8-0x3ef irq 11 on isa0
---> sio2: type 16550A
     Waiting 5 seconds for SCSI devices to settle
     sa0 at ahc0 bus 0 target 3 lun 0
     sa0: <HP C1533A 9406> Removable Sequential Access SCSI-2 device 
     sa0: 10.000MB/s transfers (10.000MHz, offset 8)
     changing root device to da0s3a
     [...]

Todays GENERIC kernel hangs after correctly detecting sio2, with no keyboard
input, reboot necessary, yada yada yada.

Disabling sio2 from the config menu will let it boot.  Here's a
verbose log of todays GENERIC kernel with sio2 disabled:

      us:  fast PIO disabled
      intel_piix_status: secondary master/slave sample = 5, master/slave recovery = 4
      intel_piix_status: secondary slave fastDMAonly disabled, pre/post disabled,
      intel_piix_status:  IORDY sampling disabled,
      intel_piix_status:  fast PIO disabled
      ide_pci: busmaster 1 status: 04 from port: 0000d80a
      chip1: <UHCI USB controller> irq 9 at device 4.2 on pci0
      chip2: <Intel 82371AB Power management controller> at device 4.3 on pci0
      ahc0: <Adaptec aic7880 Ultra SCSI adapter> irq 9 at device 6.0 on pci0
      ahc0: Reading SEEPROM...done.
      ahc0: internal 50 cable is present, internal 68 cable is present
      ahc0: external cable is present
      ahc0: BIOS eeprom not present
      ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
      ahc0: Downloading Sequencer Program... 411 instructions downloaded
      fxp0: <Intel EtherExpress Pro 10/100B Ethernet> irq 12 at device 10.0 on pci0
      fxp0: Ethernet address 00:a0:c9:b2:18:ef
      bpf: fxp0 attached
      vga-pci0: <ATI Mach64-GX graphics accelerator> at device 11.0 on pci0
      ahc1: <Adaptec 2940 Ultra SCSI adapter> irq 10 at device 12.0 on pci0
      ahc1: Reading SEEPROM...done.
      ahc1: internal 50 cable not present, internal 68 cable not present
      ahc1: external cable is present
      ahc1: BIOS eeprom is present
      ahc1: High byte termination Enabled
      ahc1: Low byte termination Enabled
      ahc1: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
      ahc1: Downloading Sequencer Program... 411 instructions downloaded
      fe0: not probed (disabled)
      fdc0: not probed (disabled)
      wdc0: not probed (disabled)
      wdc1: not probed (disabled)
      adv0: not probed (disabled)
      bt0: not probed (disabled)
      aha0: not probed (disabled)
      wt0: not probed (disabled)
      mcd0: not probed (disabled)
      matcd0: not probed (disabled)
      scd0: not probed (disabled)
      atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
      atkbd0: <AT Keyboard> irq 1 on atkbdc0
      atkbd: the current kbd controller command byte 0067
      atkbd: keyboard ID 0x41ab (2)
      kbdc: RESET_KBD return code:00fa
      kbdc: RESET_KBD status:00aa
      kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000
      psm0: current command byte:0067
      kbdc: TEST_AUX_PORT status:0000
      kbdc: RESET_AUX return code:00fe
      kbdc: DIAGNOSE status:0055
      kbdc: TEST_KBD_PORT status:0000
      psm0: failed to reset the aux device.
      vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0
      fb0: vga0, vga, type:VGA (5), flags:0x7007f
      fb0: port:0x3b0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
      fb0: init mode:24, bios mode:3, current mode:24
      fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
      VGA parameters upon power-up
      50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 
      bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 
      b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
      3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
      VGA parameters in BIOS for mode 24
      50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
      bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
      b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
      3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
      EGA/VGA parameters to be used for mode 24
      50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
      bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
      b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
      3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
      sc0: <System console> on isa0
      sc0: VGA <16 virtual consoles, flags=0x200>
      sc0: fb0 kbd0
      sio0: irq maps: 0x1 0x11 0x1 0x1
      sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
      sio0: type 16550A
      sio1: irq maps: 0x1 0x9 0x1 0x1
      sio1 at port 0x2f8-0x2ff irq 3 on isa0
      sio1: type 16550A
      sio2: not probed (disabled)
      sio3: not probed (disabled)
      ppc0: not probed (disabled)
      ed0: not probed (disabled)
      ie0: not probed (disabled)
      ep0: not probed (disabled)
      ex0: not probed (disabled)
      le0: not probed (disabled)
      lnc0: not probed (disabled)
      cs0: not probed (disabled)
---->    It hangs here if sio2 is enabled
      unknown0: <SupraExpress 56i Sp V.90> at port 0x3e8-0x3ef irq 5 on isa0
                                                               ^^^^^ really at irq 11
      BIOS Geometries:
      0:0106fe3f 0..262=263 cylinders, 0..254=255 heads, 1..63=63 sectors
      1:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
      0 accounted for
      Device configuration finished.

Any ideas?  BTW, here's a pnpinfo -v:

     Checking for Plug-n-Play devices...

     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)
     TAG Start DF
	 I/O Range 0x3f8 .. 0x3f8, alignment 0x8, len 0x8
             [16-bit addr]
	 IRQ: 4  - only one type (true/edge)
     TAG Start DF
	 I/O Range 0x2f8 .. 0x2f8, alignment 0x8, len 0x8
             [16-bit addr]
	 IRQ: 3  - only one type (true/edge)
     TAG Start DF
	 I/O Range 0x3e8 .. 0x3e8, alignment 0x8, len 0x8
             [16-bit addr]
	 IRQ: 4  - only one type (true/edge)
     TAG Start DF
	 I/O Range 0x2e8 .. 0x2e8, alignment 0x8, len 0x8
             [16-bit addr]
	 IRQ: 3  - only one type (true/edge)
     TAG Start DF
	 I/O Range 0x3e8 .. 0x3e8, alignment 0x8, len 0x8
             [16-bit addr]
	 IRQ: 5  - only one type (true/edge)
     TAG Start DF
	 I/O Range 0x2e8 .. 0x2e8, alignment 0x8, len 0x8
             [16-bit addr]
	 IRQ: 5  - only one type (true/edge)
     TAG Start DF
	 I/O Range 0x3e8 .. 0x3e8, alignment 0x8, len 0x8
             [16-bit addr]
	 IRQ: 3 4 5 7 10 11 12 15  - only one type (true/edge)
     TAG Start DF
	 I/O Range 0x2e8 .. 0x2e8, alignment 0x8, len 0x8
             [16-bit addr]
	 IRQ: 3 4 5 7 10 11 12 15  - only one type (true/edge)
     TAG Start DF
	 I/O Range 0x3f8 .. 0x3f8, alignment 0x8, len 0x8
             [16-bit addr]
	 IRQ: 3 4 5 7 10 11 12 15  - only one type (true/edge)
     TAG Start DF
	 I/O Range 0x2f8 .. 0x2f8, alignment 0x8, len 0x8
             [16-bit addr]
	 IRQ: 3 4 5 7 10 11 12 15  - only one type (true/edge)
     TAG Start DF
	 I/O Range 0x200 .. 0x3f8, alignment 0x8, len 0x8
             [16-bit addr]
	 IRQ: 3 4 5 7 10 11 12 15  - only one type (true/edge)
     TAG End DF
     End Tag

     Successfully got 38 resources, 1 logical fdevs
     -- card select # 0x0001

     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?37F4951E.C27DC624>