New LOR (Was: Re: LOR (re0 and ACPI root bus) in BETA3)

Marian Cerny jojo at matfyz.cz
Wed Sep 8 07:08:50 PDT 2004


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: <RealTek 8139C+ 10/100BaseTX> port 0x8800-0x88ff mem 0xf0013000-0xf00130ff irq 11 at device 11.0 on pci0
miibus0: <MII bus> on re0
rlphy0: <RealTek internal media interface> 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 at 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0480000<MP,AMIE,DSP,3DNow!>
real memory  = 369098752 (352 MB)
avail memory = 351420416 (335 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <PTLTD   RSDT> on motherboard
acpi0: Power Button (fixed)
acpi0: Sleep Button (fixed)
acpi_ec0: <Embedded Controller: GPE 0x18> 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: <ACPI CPU> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_button0: <Sleep Button> on acpi0
acpi_button1: <Power Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
acpi link get: empty IRQ resource
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 5.0 (no driver attached)
ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0xf0010000-0xf0010fff irq 11 at device 2.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: <AcerLabs M5237 (Aladdin-V) USB controller> 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: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
pci0: <multimedia, audio> at device 8.0 (no driver attached)
cbb0: <TI1410 PCI-CardBus Bridge> mem 0xffbfe000-0xffbfefff at device 10.0 on pci0
cardbus0: <CardBus bus> 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: <RealTek 8139C+ 10/100BaseTX> port 0x8800-0x88ff mem 0xf0013000-0xf00130ff irq 11 at device 11.0 on pci0
miibus0: <MII bus> on re0
rlphy0: <RealTek internal media interface> 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: <simple comms> at device 12.0 (no driver attached)
ohci1: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0xf0012000-0xf0012fff irq 11 at device 15.0 on pci0
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: <AcerLabs M5237 (Aladdin-V) USB controller> 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: <AcerLabs Aladdin UDMA100 controller> 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: <bridge, PCI-unknown> at device 17.0 (no driver attached)
acpi_acad0: <AC Adapter> on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> 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: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
plip0: <PLIP network interface> on ppbus0
fdc0: <floppy drive controller> 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: <ISA Option ROMs> at iomem 0xe0000-0xe3fff,0xdf000-0xdffff,0xc0000-0xcefff on isa0
pmtimer0 on isa0
sc0: <System console> 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: <Generic ISA VGA> 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 <IC25N020ATCS04-0/CA2OA71A> [38760/16/63] at ata0-master UDMA100
ata1-slave: FAILURE - ATAPI_IDENTIFY status=1<ERROR> error=4<ABORTED> LBA=0
ata1-slave: FAILURE - ATAPI_IDENTIFY status=1<ERROR> error=4<ABORTED> LBA=0
ATAPI_RESET time = 60us
acd0: DVDROM <Compaq DVD-ROM GDR-8081N/0013> 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 <jojo at matfyz.cz>
Jabber: jojo at njs.netlab.cz

[ UNIX is user friendly. It's just selective about who its friends are. ]


More information about the freebsd-current mailing list