Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Nov 2004 19:42:24 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Nate Lawson <nate@root.org>
Cc:        John Baldwin <jhb@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/dev/acpica acpi_pci_link.c acpi_pcib.c acpi_pcib_acpi.c acpi_pcib_pci.c acpi_pcibvar.h
Message-ID:  <20041130184224.GB56431@darkness.comp.waw.pl>
In-Reply-To: <41ACB2A3.1010107@root.org>
References:  <200411232226.iANMQioc077290@repoman.freebsd.org> <20041130173902.GA56431@darkness.comp.waw.pl> <41ACB2A3.1010107@root.org>

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

--JP+T4n/bALQSJXh8
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Nov 30, 2004 at 09:49:23AM -0800, Nate Lawson wrote:
+> Pawel Jakub Dawidek wrote:
+> >panic: _sx_xlock (ACPI PCI link): xlock already held @=20
+> >/usr/src/HEAD/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_pci_li=
nk.c:297
+>=20
+> This is a fake panic I think.  In any case, there is no need to lock in=
=20
+> attach since the the boot code is single-threaded.  I committed this cha=
nge.
+>=20
+> There is another error above for LN1_ that should be examined separately.

Here is another:

panic: Lock ACPI PCI link not exclusively locked @ /usr/src/HEAD/src/sys/mo=
dules/acpi/acpi/../../../dev/acpica/acpi_pci_link.c:153

cpuid =3D 0
KDB: enter: panic
[thread pid 0 tid 0 ]
Stopped at      kdb_enter+0x2c: leave  =20
db> tr
Tracing pid 0 tid 0 td 0xc0617d80
kdb_enter(c05cfba7,100,c0617d80,4,c0721440) at kdb_enter+0x2c
panic(c05d029d,c071ccf6,c071cd2b,99,c071cd2b) at panic+0x17f
_sx_assert(c0721440,4,c071cd2b,99,c1f79080) at _sx_assert+0x132
link_add_crs(c1f79080,c0820c80,38,c1f79080,c1f1ee00) at link_add_crs+0x21
[...]

After removing assertion there we have another one:

panic: Lock ACPI PCI link not exclusively locked @ /usr/src/HEAD/src/sys/mo=
dules/acpi/acpi/../../../dev/acpica/acpi_pci_link.c:194

cpuid =3D 0
KDB: enter: panic
[thread pid 0 tid 0 ]
Stopped at      kdb_enter+0x2c: leave  =20
db> tr
Tracing pid 0 tid 0 td 0xc0617d80
kdb_enter(c05cfba7,100,c0617d80,4,c0721440) at kdb_enter+0x2c
panic(c05d029d,c071ccd6,c071cd4a,c2,c071cd4a) at panic+0x17f
_sx_assert(c0721440,4,c071cd4a,c2,c1f79040) at _sx_assert+0x132
link_add_prs(c1f79040,c0820c80,38,c1f79040,c1f1ee00) at link_add_prs+0x22
[...]

and next one:

panic: Lock ACPI PCI link not exclusively locked @ /usr/src/HEAD/src/sys/mo=
dules/acpi/acpi/../../../dev/acpica/acpi_pci_link.c:242

cpuid =3D 0
KDB: enter: panic
[thread pid 0 tid 0 ]
Stopped at      kdb_enter+0x2c: leave  =20
db> tr
Tracing pid 0 tid 0 td 0xc0617d80
kdb_enter(c05cfba7,100,c0617d80,4,c0721440) at kdb_enter+0x2c
panic(c05d029d,c071cc96,c071cd31,f2,c071cd31) at panic+0x17f
_sx_assert(c0721440,4,c071cd31,f2,0) at _sx_assert+0x132
link_valid_irq(0,c1ec85a0,c1ec85a0,c1f7f2a0,1) at link_valid_irq+0x1f

not sure how to handle this one:

acpi0: <INTEL   RSDT> on motherboard
acpi0: Power Button (fixed)
can't fetch resources for \_SB_.LN1_ - AE_AML_INVALID_RESOURCE_TYPE
acpi_ec0: <Embedded Controller: GPE 0x35> port 0xca7,0xca6 on acpi0
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
acpi_button0: <Sleep Button> on acpi0
pci_link0: <ACPI PCI Link LN1_> on acpi0
device_attach: pci_link0 attach returned 6
pci_link1: <ACPI PCI Link LN10> irq 16 on acpi0
pci_link2: <ACPI PCI Link LN11> irq 17 on acpi0
pci_link3: <ACPI PCI Link LN12> irq 18 on acpi0
pci_link4: <ACPI PCI Link LN13> irq 19 on acpi0
pci_link5: <ACPI PCI Link LN14> irq 20 on acpi0
pci_link6: <ACPI PCI Link LN15> irq 21 on acpi0
pci_link7: <ACPI PCI Link LN16> irq 22 on acpi0
pci_link8: <ACPI PCI Link LN17> irq 23 on acpi0
pci_link9: <ACPI PCI Link LN18> irq 24 on acpi0
pci_link10: <ACPI PCI Link LN19> irq 25 on acpi0
pci_link11: <ACPI PCI Link LN1A> irq 26 on acpi0
pci_link12: <ACPI PCI Link LN1B> irq 27 on acpi0
pci_link13: <ACPI PCI Link LN1C> irq 28 on acpi0
pci_link14: <ACPI PCI Link LN1D> irq 29 on acpi0
pci_link15: <ACPI PCI Link LN1E> irq 30 on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci_link0: <ACPI PCI Link LN1_> on acpi0
device_attach: pci_link0 attach returned 6
pcib0: failed to force attach of \_SB_.LN1_
pci_link0: <ACPI PCI Link LN1_> on acpi0
device_attach: pci_link0 attach returned 6
pcib0: failed to force attach of \_SB_.LN1_
pci_link0: <ACPI PCI Link LN1_> on acpi0
device_attach: pci_link0 attach returned 6
pcib0: failed to force attach of \_SB_.LN1_
pci_link0: <ACPI PCI Link LN1_> on acpi0
device_attach: pci_link0 attach returned 6
pcib0: failed to force attach of \_SB_.LN1_
pci0: <ACPI PCI bus> on pcib0


Fatal trap 12: page fault while in kernel mode
cpuid =3D 0; apic id =3D 00
fault virtual address   =3D 0x0
fault code              =3D supervisor read, page not present
instruction pointer     =3D 0x8:0xc070dc0e
stack pointer           =3D 0x10:0xc0820a10
frame pointer           =3D 0x10:0xc0820b00
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, def32 1, gran 1
processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
current process         =3D 0 (swapper)
[thread pid 0 tid 0 ]
Stopped at      acpi_pci_link_route_interrupt+0x36:     cmpl    %ebx,0(%eax)
db> tr
Tracing pid 0 tid 0 td 0xc0617d80
acpi_pci_link_route_interrupt(c1f1e300,0,24,ff,0) at acpi_pci_link_route_in=
terrupt+0x36
acpi_pcib_route_interrupt(c1f73480,c1f80c00,1,c1f782f4,c1f73480) at acpi_pc=
ib_route_interrupt+0x28c
acpi_pcib_acpi_route_interrupt(c1f73480,c1f80c00,1) at acpi_pcib_acpi_route=
_interrupt+0x1d
pci_assign_interrupt_method(c1f73b80,c1f80c00,c0820bcc,8a,f) at pci_assign_=
interrupt_method+0x52
pci_add_child(c1f73b80) at pci_add_child+0x19c
pci_add_children(c1f73b80,0,80,c04aef9d,0) at pci_add_children+0xdb
acpi_pci_attach(c1f73b80,c1f73b80,0,c1f73480,c0820c4c) at acpi_pci_attach+0=
x66
device_attach(c1f73b80,c1f1ee00,c0820c70,c070afa3,c1f73480) at device_attac=
h+0x1be
bus_generic_attach(c1f73480,c1f73480,0,c1ecb6a0,c1f782e0) at bus_generic_at=
tach+0x12
acpi_pcib_attach(c1f73480,c1f782f4,0,c05ecfbc,c1f73480) at acpi_pcib_attach=
+0x12f
acpi_pcib_acpi_attach(c1f73480,c1f73480,c1f7a500,c1f1ee00,c0820cc8) at acpi=
_pcib_acpi_attach+0xcf
device_attach(c1f73480,0,c0820d04,c0708cca,c1f1ee00) at device_attach+0x1be
bus_generic_attach(c1f1ee00,61f,600,c1f3e728,4) at bus_generic_attach+0x12
acpi_attach(c1f1ee00,c1f1ee00,c1f1f000,c1f16dc0,c0820d2c) at acpi_attach+0x=
546
device_attach(c1f1ee00,c1f1f000,c0820d40,c05a5247,c1f1f000) at device_attac=
h+0x1be
bus_generic_attach(c1f1f000,c1f1f000,c1f1f04c,c0820d58,c04ab18e) at bus_gen=
eric_attach+0x12
nexus_attach(c1f1f000,c1f1f000,c1e70e70,0,c0820d68) at nexus_attach+0x13
device_attach(c1f1f000,c0606650,c0820d7c,c0594f2f,c1e81e00) at device_attac=
h+0x1be
root_bus_configure(c1e81e00,c05e5efb,0,c0820d98,c0472337) at root_bus_confi=
gure+0x16
configure(0,c1e70f70,81ec00,81e000,828000) at configure+0x1b
mi_startup() at mi_startup+0xb3
begin() at begin+0x2c
db>=20

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--JP+T4n/bALQSJXh8
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBrL8QForvXbEpPzQRAtVIAKDOacAi86QD+sLZhI60HNfrd3CiPwCeNPlR
A4baZ9+CN1+LIZskDqPbjhQ=
=PyUj
-----END PGP SIGNATURE-----

--JP+T4n/bALQSJXh8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041130184224.GB56431>