Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Nov 2004 22:09:41 +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:  <20041130210941.GC56431@darkness.comp.waw.pl>
In-Reply-To: <41ACC64B.9010702@root.org>
References:  <200411232226.iANMQioc077290@repoman.freebsd.org> <20041130173902.GA56431@darkness.comp.waw.pl> <41ACB2A3.1010107@root.org> <20041130184224.GB56431@darkness.comp.waw.pl> <41ACC64B.9010702@root.org>

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

--Bu8it7iiRSEf40bY
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Nov 30, 2004 at 11:13:15AM -0800, Nate Lawson wrote:
+> There are two problems:  attaching LN1_ and failing gracefully when it=
=20
+> doesn't.  As I said privately, send me your asl so we can figure out=20
+> what's going on with LN1_. [...]

I need to get a kernel which boots first. It will take some time, as I
need to test some stuff first.

+> [...] For the latter, we need to figure out what=20
+> the null pointer is so do "l *acpi_pci_link_route_interrupt+0x36".

Not sure how to get kernel dump, but because it was near to begin of
this function, I added a printf():

	ACPI_SERIAL_BEGIN(pci_link);
	sc =3D device_get_softc(dev);
	printf("sc=3D%p\n", sc);
	KASSERT(index >=3D 0 && index < sc->pl_num_links,
	    ("%s: invalid index %d", __func__, index));

And I get:

sc=3D0

just before panic.

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

--Bu8it7iiRSEf40bY
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFBrOGVForvXbEpPzQRAhq+AJ9EoFDWEomMqSJYazdNh+PR4B8oUgCg5n1S
be0A084L5FIF9fHCsGocryo=
=uCh6
-----END PGP SIGNATURE-----

--Bu8it7iiRSEf40bY--



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