From dm@home.dinoex.sub.de  Fri Jan 31 06:30:22 2003
Return-Path: <dm@home.dinoex.sub.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 74ACE37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 31 Jan 2003 06:30:22 -0800 (PST)
Received: from net2.dinoex.sub.org (net2.dinoex.de [212.184.201.182])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1512B43F3F
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 31 Jan 2003 06:30:20 -0800 (PST)
	(envelope-from dm@home.dinoex.sub.de)
Received: from home.dinoex.sub.de (home [217.6.200.196])
	by net2.dinoex.sub.org (8.12.6/8.12.6) with ESMTP id h0VETq0k017419
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 31 Jan 2003 15:29:53 +0100 (CET)
	(envelope-from dm@home.dinoex.sub.de)
Received: (from dm@localhost)
	by home.dinoex.sub.de (8.12.6/8.12.6/Submit) id h0VETrY8000621;
	Fri, 31 Jan 2003 15:29:53 +0100 (CET)
	(envelope-from dm)
Message-Id: <200301311429.h0VETrY8000621@home.dinoex.sub.de>
Date: Fri, 31 Jan 2003 15:29:53 +0100 (CET)
From: dirk.meyer@dinoex.sub.org
Reply-To: dirk.meyer@dinoex.sub.org
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: reboot goes panic each time
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         47731
>Category:       kern
>Synopsis:       [panic] reboot goes panic each time [5.0-CURRENT]
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 31 06:40:11 PST 2003
>Closed-Date:    Mon Jan 03 08:13:51 CET 2005
>Last-Modified:  Mon Jan 03 08:13:51 CET 2005
>Originator:     Dirk Meyer
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
privat
>Environment:

FreeBSD dip.dinoex.sub.de 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Fri Jan 31 13:42:19 CET 2003     root@dip.dinoex.sub.de:/home/obj/usr/src/sys/GENERIC  i386

this happened with an older kernel from 21 Jan 11:09 too.

>Description:

	on each reboot the kernel panics.
	4.7-STABLE worked fine

[...]
npx0: <math processor> on motherboard
npx0: INT 16 interface
Using $PIR table, 1 entries at 0xc00fe840
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
Memory modified after free 0xc0deec00(252)
panic: Most recently used by none

[...]
npx0: <math processor> on motherboard
npx0: INT 16 interface
Using $PIR table, 1 entries at 0xc00fe840
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
agp0: <SIS Generic host to PCI bridge> mem 0x30000000-0x33ffffff at device 0.0 on pci0
atapci0: <SiS 5591 ATA100 controller> port 0x1100-0x110f,0x374-0x377,0x170-0x173,0x3f4-0x3f7,0x1f0-0x1f3 at device 0
.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
ohci0: <SiS 5571 USB controller> mem 0x34001000-0x34001fff irq 10 at device 1.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <SiS 5571 USB controller> on ohci0
usb0: USB revision 1.0

	other errors:

[...]
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0400> can't assign resources (port)
Timecounters tick every 10.000 msec
ad0: 9590MB <HITACHI_DK23BA-10E> [19485/16/63] at ata0-master UDMA100
acd0: CD-RW <CD-W24E> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s1a
lock order reversal
 1st 0xc236c068 process lock (process lock) @ /usr/src/sys/kern/kern_descrip.c:2104
 2nd 0xc2343b34 filedesc structure (filedesc structure) @ /usr/src/sys/kern/kern_descrip.c:2111
[...]

>How-To-Repeat:

	power on --> boots

	reboot: (showtdown -r now) --> panics again ..

	reset  --> panics again ..
	power off --> power on --> boots

>Fix:

	coldstart to run FreeBSD.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: kris 
State-Changed-When: Sat Jul 12 05:35:31 PDT 2003 
State-Changed-Why:  
Please obtain a debugging traceback of the panic. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=47731 
State-Changed-From-To: feedback->open 
State-Changed-By: dinoex 
State-Changed-When: Fri Jul 25 20:01:12 CEST 2003 
State-Changed-Why:  

Cut + Paste by hand, this comp has no serial port. 

pci0: <PCI bus> on pcib0 
pci_cfgintr: 0:1: INTD BIOS irq 10 
pci_cfgintr: 0:1: INTD BIOS irq 10 
pci_cfgintr: 0:1: INTB BIOS irq 5 
pci_cfgintr: 0:1: INTC BIOS irq 11 
Memory modified afer free 0xc22902000(4096) 
panic: Most recently used by none 

Debugger("panic") 
Stoppend at     Debaugger+0x54:  xchgl   %ebx,in_Debugger.0 
db> trace 

<<<lines scrolls to fast>>>> 

bus_genric_attach(... 
legacy_pcib_attach(... 
DEVICE_ATTACH(... 
device_probe_and_attach(... 
bus_generic_attach(... 
legacy_attach(.... 
DEVICE_ATTACH(... 
device_probe_and_attach(... 
bus_generic_attach(... 
nexus_attach(... 
DEVICE_ATTACH(... 
device_probe_and_attach(... 
root_bus_configure(... 
configure(... 
mi_startup(... 
begin() 


http://www.freebsd.org/cgi/query-pr.cgi?pr=47731 
State-Changed-From-To: open->closed 
State-Changed-By: dinoex 
State-Changed-When: Mon Jan 3 08:12:40 CET 2005 
State-Changed-Why:  
Verfied that problem is fixed in 5.3 after 2004-11-26 

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