From xenophon@cinep010fbmx.irtnog.org  Mon Jul  4 15:15:59 2005
Return-Path: <xenophon@cinep010fbmx.irtnog.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 61EDF16A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  4 Jul 2005 15:15:59 +0000 (GMT)
	(envelope-from xenophon@cinep010fbmx.irtnog.org)
Received: from cinep010fbmx.irtnog.org (ns1.irtnog.org [24.123.13.51])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2B96E43D4C
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  4 Jul 2005 15:15:59 +0000 (GMT)
	(envelope-from xenophon@cinep010fbmx.irtnog.org)
Received: from localhost (unknown [127.0.0.1])
	by cinep010fbmx.irtnog.org (Postfix) with ESMTP id C34182122
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  4 Jul 2005 11:17:25 -0400 (EDT)
Received: from cinep010fbmx.irtnog.org ([127.0.0.1])
 by localhost (cinep010fbmx.irtnog.org [127.0.0.1]) (amavisd-new, port 10024)
 with LMTP id 17197-02 for <FreeBSD-gnats-submit@freebsd.org>;
 Mon,  4 Jul 2005 11:16:04 -0400 (EDT)
Received: by cinep010fbmx.irtnog.org (Postfix, from userid 11136)
	id 77F9A2230; Mon,  4 Jul 2005 11:15:59 -0400 (EDT)
Message-Id: <20050704151559.77F9A2230@cinep010fbmx.irtnog.org>
Date: Mon,  4 Jul 2005 11:15:59 -0400 (EDT)
From: Matthew X. Economou <xenophon+freebsdpr@irtnog.org>
Reply-To: Matthew X. Economou <xenophon+freebsdpr@irtnog.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: FreeBSD hangs loading orm(4) only after rebooting
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         82978
>Category:       kern
>Synopsis:       [orm] [hang] FreeBSD hangs loading orm(4) only after rebooting
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gavin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 04 15:20:13 GMT 2005
>Closed-Date:    Sat Jul 05 15:56:35 UTC 2008
>Last-Modified:  Sat Jul 05 15:56:35 UTC 2008
>Originator:     Matthew X. Economou
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:

System: FreeBSD cinep010fbmx.irtnog.org 5.4-RELEASE
FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005
root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386

Compaq Deskpro 2000 (133-MHz Pentium)

	
>Description:

If I reboot FreeBSD (e.g. 'shutdown -r now'), at boot, FreeBSD will
hang immediately after loading the pci0 device (a VGA device on my
system) and immediately prior to loading the orm0 device:

 Copyright (c) 1992-2005 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
         The Regents of the University of California. All rights reserved.
 FreeBSD 5.4-RELEASE #0: Sun May  8 10:21:06 UTC 2005
     root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
 Timecounter "i8254" frequency 1193182 Hz quality 0
 CPU: Pentium/P54C (132.96-MHz 586-class CPU)
   Origin = "GenuineIntel"  Id = 0x52c  Stepping = 12
   Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
 real memory  = 134217728 (128 MB)
 avail memory = 121696256 (116 MB)
 Intel Pentium detected, installing workaround for F00F bug
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 cpu0 on motherboard
 pcib0: <Host to PCI bridge> pcibus 0 on motherboard
 pci0: <PCI bus> on pcib0
 isab0: <PCI-ISA bridge> at device 7.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <Intel PIIX3 WDMA2 controller> port 0x1000-0x100f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
 ata0: channel #0 on atapci0
 ata1: channel #1 on atapci0
 pci0: <display, VGA> at device 15.0 (no driver attached)
 orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff on isa0

	
>How-To-Repeat:

(see above)
	
>Fix:

To reboot, I my physically power down the system, or I must recompile
the kernel without the orm(4) device.
	


>Release-Note:
>Audit-Trail:

From: "Matthew X. Economou" <xenophon@irtnog.org>
To: <bug-followup@FreeBSD.org>
Cc:  
Subject: Re: kern/82978: FreeBSD hangs loading orm(4) only after rebooting
Date: Mon, 4 Jul 2005 13:20:24 -0400

 That's not a fix, by the way, it's a workaround.  I need to be able to
 remotely reboot the system, as I don't have ready access to the hosting
 facility.  I want to use a GENERIC kernel in order to simplify security
 updates.

From: "Matthew X. Economou" <xenophon@irtnog.org>
To: <bug-followup@FreeBSD.org>
Cc:  
Subject: RE: kern/82978: FreeBSD hangs loading orm(4) only after rebooting
Date: Mon, 4 Jul 2005 16:35:18 -0400

 I rebooted the server with verbose logging enabled:
 
  pci0: <display, VGA> at device 15.0 (no driver attached)
  ata: ata0 already exists; skipping it
  ata: ata1 already exists; skipping it
  Trying Read_Port at 203
  JQE9000: adding io range 0x280-0x3ff, size=3D0x20, align=3D0x20
  JQE9000: adding irq mask 0x8c38
  ex_isa_identify()
 
 at which point the computer hangs.
 
 I powered down the server, then powered it back on and booted FreeBSD
 with verbose logging enabled:
 
 pci0: <display, VGA> at device 15.0 (no driver attached)
  ata: ata0 already exists; skipping it
  ata: ata1 already exists; skipping it
  Trying Read_Port at 203
  JQE9000: adding io range 0x280-0x3ff, size=3D0x20, align=3D0x20
  JQE9000: adding irq mask 0x8c38
  ex_isa_identify()
  pnpbios: 14 devices, largest 112 bytes
  PNP0401: adding irq mask 0x80
  PNP0401: adding dma mask 0x8
  PNP0401: adding io range 0x378-0x37f, size=3D0x8, align=3D0
  PNP0401: adding io range 0x778-0x77b, size=3D0x4, align=3D0
  pnpbios: handle 1 device ID PNP0401 (0104d041)
  PNP0501: adding io range 0x3f8-0x3ff, size=3D0x8, align=3D0
  PNP0501: adding irq mask 0x10
  pnpbios: handle 2 device ID PNP0501 (0105d041)
  PNP0700: adding irq mask 0x40
  PNP0700: adding dma mask 0x4
  PNP0700: adding io range 0x3f0-0x3f5, size=3D0x6, align=3D0
  pnpbios: handle 3 device ID PNP0700 (0007d041)
  PNP0c01: adding fixed memory32 range 0-0x9ffff, size=3D0xa0000
  PNP0c01: adding fixed memory32 range 0xf0000-0xfffff, size=3D0x10000
  PNP0c01: adding fixed memory32 range 0x100000-0x7ffffff, =
 size=3D0x7f00000
  pnpbios: handle 4 device ID PNP0c01 (010cd041)
  PNP0c04: adding io range 0xf0-0xff, size=3D0x10, align=3D0
  PNP0c04: adding irq mask 0x2000
  pnpbios: handle 5 device ID PNP0c04 (040cd041)
  PNP0100: adding io range 0x40-0x43, size=3D0x4, align=3D0
  PNP0100: adding irq mask 0x1
  pnpbios: handle 6 device ID PNP0100 (0001d041)
  PNP0200: adding io range 0-0xf, size=3D0x10, align=3D0
  PNP0200: adding io range 0x80-0x8f, size=3D0x10, align=3D0
  PNP0200: adding io range 0xc0-0xdf, size=3D0x20, align=3D0
  PNP0200: adding dma mask 0x10
  pnpbios: handle 7 device ID PNP0200 (0002d041)
  PNP0800: adding io range 0x61-0x61, size=3D0x1, align=3D0
  pnpbios: handle 8 device ID PNP0800 (0008d041)
  PNP0b00: adding io range 0x70-0x71, size=3D0x2, align=3D0
  PNP0b00: adding irq mask 0x100
  pnpbios: handle 9 device ID PNP0b00 (000bd041)
  PNP0303: adding io range 0x60-0x60, size=3D0x1, align=3D0
  PNP0303: adding io range 0x64-0x64, size=3D0x1, align=3D0
  PNP0303: adding irq mask 0x2
  pnpbios: handle 10 device ID PNP0303 (0303d041)
  PNP0f13: adding irq mask 0x1000
  pnpbios: handle 11 device ID PNP0f13 (130fd041)
  PNP0a03: adding io range 0xcf8-0xcff, size=3D0x8, align=3D0
  pnpbios: handle 12 device ID PNP0a03 (030ad041)
  PNP0001: adding io range 0x20-0x3f, size=3D0x20, align=3D0
  PNP0001: adding io range 0xa0-0xbf, size=3D0x20, align=3D0
  PNP0001: adding io range 0x4d0-0x4d1, size=3D0x2, align=3D0
  PNP0001: adding irq mask 0x4
  pnpbios: handle 13 device ID PNP0001 (0100d041)
  PNP0c02: adding io range 0x10-0x18, size=3D0x9, align=3D0
  PNP0c02: adding io range 0x1f-0x1f, size=3D0x1, align=3D0
  PNP0c02: adding io range 0x50-0x52, size=3D0x3, align=3D0
  PNP0c02: adding io range 0xe8-0xe9, size=3D0x2, align=3D0
  PNP0c02: adding io range 0x90-0x9f, size=3D0x10, align=3D0
  PNP0c02: adding io range 0x398-0x399, size=3D0x2, align=3D0
  pnpbios: handle 14 device ID PNP0c02 (020cd041)
  unknown: status reg test failed ff
  sc: sc0 already exists; skipping it
  vga: vga0 already exists; skipping it
  isa_probe_children: disabling PnP devices
  isa_probe_children: probing non-PnP devices
  orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff on isa0
State-Changed-From-To: open->feedback 
State-Changed-By: gavin 
State-Changed-When: Tue Jun 24 13:16:46 UTC 2008 
State-Changed-Why:  
To submitter: is this still an issue with newer versions of FreeBSD? 


Responsible-Changed-From-To: freebsd-bugs->gavin 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Tue Jun 24 13:16:46 UTC 2008 
Responsible-Changed-Why:  
Track 

http://www.freebsd.org/cgi/query-pr.cgi?pr=82978 
State-Changed-From-To: feedback->closed 
State-Changed-By: gavin 
State-Changed-When: Sat Jul 5 15:53:28 UTC 2008 
State-Changed-Why:  
Close this, submitter no longer has the hardware so can't 
retest this, and FreeBSD 7.0-RELEASE works fine on my 
Compaq Deskpro 2000. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=82978 
>Unformatted:
