From owner-freebsd-current@FreeBSD.ORG Wed Sep 8 14:08:50 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 686BB16A4CE for ; Wed, 8 Sep 2004 14:08:50 +0000 (GMT) Received: from artax.karlin.mff.cuni.cz (artax.karlin.mff.cuni.cz [195.113.31.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0BC743D54 for ; Wed, 8 Sep 2004 14:08:49 +0000 (GMT) (envelope-from cernm0bm@artax.karlin.mff.cuni.cz) Received: by artax.karlin.mff.cuni.cz (Postfix, from userid 10663) id 9A40E536C; Wed, 8 Sep 2004 16:08:48 +0200 (CEST) Resent-From: jojo@matfyz.cz Resent-Date: Wed, 8 Sep 2004 16:08:48 +0200 Resent-Message-ID: <20040908140848.GA19448@artax.karlin.mff.cuni.cz> Resent-To: freebsd-current@freebsd.org Date: Wed, 8 Sep 2004 15:34:52 +0200 From: Marian Cerny To: "Bjoern A. Zeeb" Message-ID: <20040908133452.GA11639@artax.karlin.mff.cuni.cz> References: <20040907163133.GA24426@artax.karlin.mff.cuni.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i cc: freebsd-current@freebsd.org Subject: New LOR (Was: Re: LOR (re0 and ACPI root bus) in BETA3) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Sep 2004 14:08:50 -0000 Today I got a new LOR while booting. This one is not in the LORs database, but is similar to the previous one, only it is on different line in if_re.c. lock order reversal 1st 0xc177b6e8 re0 (network driver) @ /usr/src/sys/dev/re/if_re.c:1255 2nd 0xc0a18000 ACPI root bus (ACPI root bus) @ /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi.c:913 KDB: stack backtrace: kdb_backtrace(0,ffffffff,c08bde68,c08be3b8,c084ddac) at kdb_backtrace+0x29 witness_checkorder(c0a18000,9,c0a126c9,391) at witness_checkorder+0x544 _sx_xlock(c0a18000,c0a126c9,391,c0c21a14,c05f7fa1) at _sx_xlock+0x50 acpi_release_resource(c178aa00,c17bd100,1,0,c17c7280) at acpi_release_resource+0x26 bus_generic_release_resource(c16bfc00,c17bd100,1,0,c17c7280) at bus_generic_release_resource+0x64 resource_list_release(c17bd184,c17a9680,c17bd100,1,0) at resource_list_release+0xfb bus_generic_rl_release_resource(c17a9680,c17bd100,1,0,c17c7280) at bus_generic_rl_release_resource+0x5e bus_release_resource(c17bd100,1,0,c17c7280) at bus_release_resource+0x61 re_detach(c17bd100) at re_detach+0xb6 re_attach(c17bd100) at re_attach+0x46c device_attach(c17bd100,c17bd300,c17bd100,c17a9680,c17a9680) at device_attach+0x58 device_probe_and_attach(c17bd100) at device_probe_and_attach+0xb4 bus_generic_attach(c17a9680,6,c1699700,1,c0a00f2c) at bus_generic_attach+0x16 acpi_pci_attach(c17a9680) at acpi_pci_attach+0xec device_attach(c17a9680,2e696370,c17a9680,c16bfc00,0) at device_attach+0x58 device_probe_and_attach(c17a9680) at device_probe_and_attach+0xb4 bus_generic_attach(c16bfc00,c16bfc00,c17a0b94,0,0) at bus_generic_attach+0x16 acpi_pcib_attach(c16bfc00,c17a0b94,0,c0c21c58,c0616c00) at acpi_pcib_attach+0x14e acpi_pcib_acpi_attach(c16bfc00) at acpi_pcib_acpi_attach+0x20a device_attach(c16bfc00,c0a175c8,c16bfc00,c178aa00,0) at device_attach+0x58 device_probe_and_attach(c16bfc00) at device_probe_and_attach+0xb4 bus_generic_attach(c178aa00,c178aa00,c178aa00,c1699ac0,3) at bus_generic_attach+0x16 acpi_probe_children(c178aa00,303b630,c178aa00,c178aa00,0) at acpi_probe_children+0x69 acpi_attach(c178aa00) at acpi_attach+0x523 device_attach(c178aa00,c0a16620,c178aa00,c178ab80,0) at device_attach+0x58 device_probe_and_attach(c178aa00) at device_probe_and_attach+0xb4 bus_generic_attach(c178ab80,c178ab80,c178ab80,c0c21d44,c0612fe8) at bus_generic_attach+0x16 nexus_attach(c178ab80) at nexus_attach+0x13 device_attach(c178ab80,c0886130,c178ab80,c0886130,c29000) at device_attach+0x58 device_probe_and_attach(c178ab80) at device_probe_and_attach+0xb4 root_bus_configure(c16aec00,c080f18a,0) at root_bus_configure+0x16 configure(0,c1ec00,c1e000,0,c043f475) at configure+0x1b mi_startup() at mi_startup+0x96 begin() at begin+0x2c It happened after this error while attaching re0: re0: port 0x8800-0x88ff mem 0xf0013000-0xf00130ff irq 11 at device 11.0 on pci0 miibus0: on re0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto re0: Ethernet address: 00:0b:cd:84:25:06 re0: diagnostic failed, failed to receive packet in loopback mode re0: attach aborted due to hardware diag failure rlphy0: detached miibus0: detached This sometimes happens. Might happen because the previous problem (LOR). Marian Cerny PS: The full output from dmesg is attached here. Copyright (c) 1992-2004 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.3-BETA3 #0: Sat Sep 4 12:07:48 UTC 2004 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Mobile AMD Athlon(tm) XP 1700+ (1457.66-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x680 Stepping = 0 Features=0x383f9ff AMD Features=0xc0480000 real memory = 369098752 (352 MB) avail memory = 351420416 (335 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) acpi0: Sleep Button (fixed) acpi_ec0: port 0x66,0x62 on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 cpu0: on acpi0 acpi_tz0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 acpi_lid0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 acpi link get: empty IRQ resource pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 5.0 (no driver attached) ohci0: mem 0xf0010000-0xf0010fff irq 11 at device 2.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered isab0: at device 7.0 on pci0 isa0: on isab0 pci0: at device 8.0 (no driver attached) cbb0: mem 0xffbfe000-0xffbfefff at device 10.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 lock order reversal 1st 0xc177b6e8 re0 (network driver) @ /usr/src/sys/dev/re/if_re.c:830 2nd 0xc0a18000 ACPI root bus (ACPI root bus) @ /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi.c:913 KDB: stack backtrace: kdb_backtrace(0,ffffffff,c08bde68,c08be3b8,c084ddac) at kdb_backtrace+0x29 witness_checkorder(c0a18000,9,c0a126c9,391) at witness_checkorder+0x544 _sx_xlock(c0a18000,c0a126c9,391,0,1) at _sx_xlock+0x50 acpi_release_resource(c178aa00,c17bd100,4,10,c17b0b00) at acpi_release_resource+0x26 bus_generic_release_resource(c16bfc00,c17bd100,4,10,c17b0b00) at bus_generic_release_resource+0x64 resource_list_release(c17bd184,c17a9680,c17bd100,4,10) at resource_list_release+0xfb bus_generic_rl_release_resource(c17a9680,c17bd100,4,10,c17b0b00) at bus_generic_rl_release_resource+0x5e bus_release_resource(c17bd100,4,10,c17b0b00,c17bd100) at bus_release_resource+0x61 re_probe(c17bd100) at re_probe+0x1b5 device_probe_child(c17a9680,c17bd100,c17bd300,c17bd100,c17a9680) at device_probe_child+0xc4 device_probe_and_attach(c17bd100) at device_probe_and_attach+0x51 bus_generic_attach(c17a9680,6,c1699700,1,c0a00f2c) at bus_generic_attach+0x16 acpi_pci_attach(c17a9680) at acpi_pci_attach+0xec device_attach(c17a9680,2e696370,c17a9680,c16bfc00,0) at device_attach+0x58 device_probe_and_attach(c17a9680) at device_probe_and_attach+0xb4 bus_generic_attach(c16bfc00,c16bfc00,c17a0b94,0,0) at bus_generic_attach+0x16 acpi_pcib_attach(c16bfc00,c17a0b94,0,c0c21c58,c0616c00) at acpi_pcib_attach+0x14e acpi_pcib_acpi_attach(c16bfc00) at acpi_pcib_acpi_attach+0x20a device_attach(c16bfc00,c0a175c8,c16bfc00,c178aa00,0) at device_attach+0x58 device_probe_and_attach(c16bfc00) at device_probe_and_attach+0xb4 bus_generic_attach(c178aa00,c178aa00,c178aa00,c1699ac0,3) at bus_generic_attach+0x16 acpi_probe_children(c178aa00,303b630,c178aa00,c178aa00,0) at acpi_probe_children+0x69 acpi_attach(c178aa00) at acpi_attach+0x523 device_attach(c178aa00,c0a16620,c178aa00,c178ab80,0) at device_attach+0x58 device_probe_and_attach(c178aa00) at device_probe_and_attach+0xb4 bus_generic_attach(c178ab80,c178ab80,c178ab80,c0c21d44,c0612fe8) at bus_generic_attach+0x16 nexus_attach(c178ab80) at nexus_attach+0x13 device_attach(c178ab80,c0886130,c178ab80,c0886130,c29000) at device_attach+0x58 device_probe_and_attach(c178ab80) at device_probe_and_attach+0xb4 root_bus_configure(c16aec00,c080f18a,0) at root_bus_configure+0x16 configure(0,c1ec00,c1e000,0,c043f475) at configure+0x1b mi_startup() at mi_startup+0x96 begin() at begin+0x2c re0: port 0x8800-0x88ff mem 0xf0013000-0xf00130ff irq 11 at device 11.0 on pci0 miibus0: on re0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto re0: Ethernet address: 00:0b:cd:84:25:06 re0: diagnostic failed, failed to receive packet in loopback mode re0: attach aborted due to hardware diag failure rlphy0: detached miibus0: detached lock order reversal 1st 0xc177b6e8 re0 (network driver) @ /usr/src/sys/dev/re/if_re.c:1255 2nd 0xc0a18000 ACPI root bus (ACPI root bus) @ /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi.c:913 KDB: stack backtrace: kdb_backtrace(0,ffffffff,c08bde68,c08be3b8,c084ddac) at kdb_backtrace+0x29 witness_checkorder(c0a18000,9,c0a126c9,391) at witness_checkorder+0x544 _sx_xlock(c0a18000,c0a126c9,391,c0c21a14,c05f7fa1) at _sx_xlock+0x50 acpi_release_resource(c178aa00,c17bd100,1,0,c17c7280) at acpi_release_resource+0x26 bus_generic_release_resource(c16bfc00,c17bd100,1,0,c17c7280) at bus_generic_release_resource+0x64 resource_list_release(c17bd184,c17a9680,c17bd100,1,0) at resource_list_release+0xfb bus_generic_rl_release_resource(c17a9680,c17bd100,1,0,c17c7280) at bus_generic_rl_release_resource+0x5e bus_release_resource(c17bd100,1,0,c17c7280) at bus_release_resource+0x61 re_detach(c17bd100) at re_detach+0xb6 re_attach(c17bd100) at re_attach+0x46c device_attach(c17bd100,c17bd300,c17bd100,c17a9680,c17a9680) at device_attach+0x58 device_probe_and_attach(c17bd100) at device_probe_and_attach+0xb4 bus_generic_attach(c17a9680,6,c1699700,1,c0a00f2c) at bus_generic_attach+0x16 acpi_pci_attach(c17a9680) at acpi_pci_attach+0xec device_attach(c17a9680,2e696370,c17a9680,c16bfc00,0) at device_attach+0x58 device_probe_and_attach(c17a9680) at device_probe_and_attach+0xb4 bus_generic_attach(c16bfc00,c16bfc00,c17a0b94,0,0) at bus_generic_attach+0x16 acpi_pcib_attach(c16bfc00,c17a0b94,0,c0c21c58,c0616c00) at acpi_pcib_attach+0x14e acpi_pcib_acpi_attach(c16bfc00) at acpi_pcib_acpi_attach+0x20a device_attach(c16bfc00,c0a175c8,c16bfc00,c178aa00,0) at device_attach+0x58 device_probe_and_attach(c16bfc00) at device_probe_and_attach+0xb4 bus_generic_attach(c178aa00,c178aa00,c178aa00,c1699ac0,3) at bus_generic_attach+0x16 acpi_probe_children(c178aa00,303b630,c178aa00,c178aa00,0) at acpi_probe_children+0x69 acpi_attach(c178aa00) at acpi_attach+0x523 device_attach(c178aa00,c0a16620,c178aa00,c178ab80,0) at device_attach+0x58 device_probe_and_attach(c178aa00) at device_probe_and_attach+0xb4 bus_generic_attach(c178ab80,c178ab80,c178ab80,c0c21d44,c0612fe8) at bus_generic_attach+0x16 nexus_attach(c178ab80) at nexus_attach+0x13 device_attach(c178ab80,c0886130,c178ab80,c0886130,c29000) at device_attach+0x58 device_probe_and_attach(c178ab80) at device_probe_and_attach+0xb4 root_bus_configure(c16aec00,c080f18a,0) at root_bus_configure+0x16 configure(0,c1ec00,c1e000,0,c043f475) at configure+0x1b mi_startup() at mi_startup+0x96 begin() at begin+0x2c device_attach: re0 attach returned 5 pci0: at device 12.0 (no driver attached) ohci1: mem 0xf0012000-0xf0012fff irq 11 at device 15.0 on pci0 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: on ohci1 usb1: USB revision 1.0 uhub1: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 4 ports with 4 removable, self powered atapci0: port 0x8080-0x808f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 16.0 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: at device 17.0 (no driver attached) acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 1 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/15 bytes threshold ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 plip0: on ppbus0 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 orm0: at iomem 0xe0000-0xe3fff,0xdf000-0xdffff,0xc0000-0xcefff on isa0 pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1457657093 Hz quality 800 Timecounters tick every 10.000 msec acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0% ad0: 19077MB [38760/16/63] at ata0-master UDMA100 ata1-slave: FAILURE - ATAPI_IDENTIFY status=1 error=4 LBA=0 ata1-slave: FAILURE - ATAPI_IDENTIFY status=1 error=4 LBA=0 ATAPI_RESET time = 60us acd0: DVDROM at ata1-master PIO4 Mounting root from ufs:/dev/ad0s4a WARNING: / was not properly dismounted WARNING: /usr was not properly dismounted /usr: mount pending error: blocks 20 files 4 /usr: superblock summary recomputed WARNING: /var was not properly dismounted -- Marian Cerny Jabber: jojo@njs.netlab.cz [ UNIX is user friendly. It's just selective about who its friends are. ]