Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Sep 2010 07:16:39 +0200
From:      Lars Engels <lars.engels@0x20.net>
To:        Bryan Venteicher <bryanv@daemoninthecloset.org>
Cc:        acpi@freebsd.org
Subject:   Re: reproduceable panic on suspend
Message-ID:  <20100907051639.GB72708@e.0x20.net>
In-Reply-To: <668303119.26.1283808651600.JavaMail.root@sage.daemoninthecloset.org>
References:  <20100906165534.xsa4f2ry684go0ss@0x20.net> <668303119.26.1283808651600.JavaMail.root@sage.daemoninthecloset.org>

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

--1LKvkjL3sHcu1TtY
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Sep 06, 2010 at 04:30:51PM -0500, Bryan Venteicher wrote:
> ----- Original Message -----
> > From: "Lars Engels" <lars.engels@0x20.net>
> > To: acpi@freebsd.org
> > Sent: Monday, September 6, 2010 9:55:34 AM
> > Subject: reproduceable panic on suspend
> > Hi all,
> >=20
> > I am playing around with my Lenovo Thinkpad X301 and can reproduce a
> > kernel panic when I enter suspend state.
> > System is 8.1-RELEASE amd64.
> >=20
> > Here's the beginning of crashinfo's output, it's full size is >300kb,
> > so please ask me if you want the whole file.
> >=20
> > NB011868 dumped core - see ./vmcore.0
> >=20
> > Mo 6 Sep 2010 16:41:16 CEST
> >=20
> > NB011868
> >=20
> > panic: page fault
> >=20
> > GNU gdb 6.1.1 [FreeBSD]
> > Copyright 2004 Free Software Foundation, Inc.
> > GDB is free software, covered by the GNU General Public License, and
> > you are
> > welcome to change it and/or distribute copies of it under certain
> > conditions.
> > Type "show copying" to see the conditions.
> > There is absolutely no warranty for GDB. Type "show warranty" for
> > details.
> > This GDB was configured as "amd64-marcel-freebsd"...
> >=20
> > Unread portion of the kernel message buffer:
> >=20
> >=20
> > 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 data, page not present
> > instruction pointer =3D 0x20:0xffffffff808170d6
> > stack pointer =3D 0x28:0xffffff803d104690
> > frame pointer =3D 0x28:0xffffff803d104720
> > code segment =3D base 0x0, limit 0xfffff, type 0x1b
> > =3D DPL 0, pres 1, long 1, def32 0, gran 1
> > processor eflags =3D interrupt enabled, resume, IOPL =3D 0
> > current process =3D 3363 (acpiconf)
> > trap number =3D 12
> > panic: page fault
> > cpuid =3D 0
> > Uptime: 4m28s
> > Physical memory: 1974 MB
> > Dumping 1300 MB: 1285 1269 1253 1237 1221 1205 1189 1173 1157 1141
> > 1125 1109
> > 1093 1077 1061 1045 1029 1013 997 981 965 949 933 917 901 885 869 853
> > 837 821
> > 805 789 773 757 741 725 709 693 677 661 645 629 613 597 581 565 549
> > 533 517 501
> > 485 469 453 437 421 405 389 373 357 341 325 309 293 277 261 245 229
> > 213 197 181
> > 165 149 133 117 101 85 69 53 37 21 5
> >=20
> > [...]
> >=20
> > #0 doadump () at pcpu.h:223
> > 223 pcpu.h: No such file or directory.
> > in pcpu.h
> > (kgdb) #0 doadump () at pcpu.h:223
> > #1 0xffffffff805331d9 in boot (howto=3D260)
> > at /usr/src/sys/kern/kern_shutdown.c:416
> > #2 0xffffffff8053360c in panic (fmt=3D0xffffffff808efa94 "%s")
> > at /usr/src/sys/kern/kern_shutdown.c:590
> > #3 0xffffffff80818d88 in trap_fatal (frame=3D0xffffff000fa09000,
> > eva=3DVariable "eva" is not available.
> > )
> > at /usr/src/sys/amd64/amd64/trap.c:777
> > #4 0xffffffff80819154 in trap_pfault (frame=3D0xffffff803d1045e0,
> > usermode=3D0)
> > at /usr/src/sys/amd64/amd64/trap.c:693
> > #5 0xffffffff8081999a in trap (frame=3D0xffffff803d1045e0)
> > at /usr/src/sys/amd64/amd64/trap.c:451
> > #6 0xffffffff807ff363 in calltrap ()
> > at /usr/src/sys/amd64/amd64/exception.S:223
> > #7 0xffffffff808170d6 in bcopy () at
> > /usr/src/sys/amd64/amd64/support.S:124
> > #8 0xffffffff80da3fb7 in vesa_bios_save_restore (code=3D1,
> > p=3D0xffffff80002c4004, size=3D4928)
> > at /usr/src/sys/modules/vesa/../../dev/fb/vesa.c:551
> > #9 0xffffffff80da4059 in vesa_save_state (adp=3DVariable "adp" is not
> > available.
> > )
> > at /usr/src/sys/modules/vesa/../../dev/fb/vesa.c:1429
> > #10 0xffffffff808521d4 in vga_suspend (dev=3D0xffffff00026fd000)
> > at /usr/src/sys/isa/vga_isa.c:81
> > #11 0xffffffff80852267 in isavga_suspend (dev=3D0xffffff00026fd000)
> > at /usr/src/sys/isa/vga_isa.c:234
> > #12 0xffffffff8055d122 in bus_generic_suspend (dev=3D0xffffff00026a8700)
> > at device_if.h:273
> > #13 0xffffffff8055d122 in bus_generic_suspend (dev=3D0xffffff0002560100)
> > at device_if.h:273
> > #14 0xffffffff8055d122 in bus_generic_suspend (dev=3D0xffffff000254a300)
> > at device_if.h:273
> > #15 0xffffffff80412875 in pci_suspend (dev=3D0xffffff000254a300)
> > at /usr/src/sys/dev/pci/pci.c:2891
> > #16 0xffffffff8055d122 in bus_generic_suspend (dev=3D0xffffff0002516800)
> > at device_if.h:273
> > #17 0xffffffff8055d122 in bus_generic_suspend (dev=3D0xffffff00023b5a00)
> > at device_if.h:273
> > #18 0xffffffff801e8f54 in acpi_suspend (dev=3D0xffffff00023b5a00)
> > at /usr/src/sys/dev/acpica/acpi.c:704
> > #19 0xffffffff8055d122 in bus_generic_suspend (dev=3D0xffffff0002356400)
> > at device_if.h:273
> > #20 0xffffffff8055d122 in bus_generic_suspend (dev=3D0xffffff0002355800)
> > at device_if.h:273
> > #21 0xffffffff801e4d2e in acpi_EnterSleepState (sc=3D0xffffff00023b5900,
> > state=3D3)
> > at device_if.h:273
> > #22 0xffffffff801e5763 in acpi_AckSleepState
> > (clone=3D0xffffffff80bc6580,
> > error=3D0) at /usr/src/sys/dev/acpica/acpi.c:2450
> > #23 0xffffffff804bfd97 in devfs_ioctl_f (fp=3D0xffffff00028ae140,
> > com=3D2147766277, data=3DVariable "data" is not available.
> > ) at /usr/src/sys/fs/devfs/devfs_vnops.c:659
> > #24 0xffffffff80573d96 in kern_ioctl (td=3D0xffffff000fa09000, fd=3D3,
> > com=3D2147766277, data=3D0xffffff00027d05c0 "") at file.h:262
> > #25 0xffffffff80573fdd in ioctl (td=3D0xffffff000fa09000,
> > uap=3D0xffffff803d104bf0)
> > at /usr/src/sys/kern/sys_generic.c:678
> > #26 0xffffffff80819367 in syscall (frame=3D0xffffff803d104c80)
> > at /usr/src/sys/amd64/amd64/trap.c:945
> > #27 0xffffffff807ff641 in Xfast_syscall ()
> > at /usr/src/sys/amd64/amd64/exception.S:374
> > #28 0x000000080073c38c in ?? ()
> > Previous frame inner to this frame (corrupt stack?)
> > (kgdb)
>=20
> This was fixed in r210304 - you can upgrade to 8-STABLE.
>=20

Thanks for the information! I'll give STABLE a try and report back...

--=20
Lars Engels
E-Mail: lars.engels@0x20.net =09

--1LKvkjL3sHcu1TtY
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iEYEARECAAYFAkyFyrcACgkQKc512sD3afj0bQCfTSy/ZXNh29O8k2iMpoypDpkV
+RMAniI59P8WfoBat9+4WDdwLVkh29Ko
=NyKp
-----END PGP SIGNATURE-----

--1LKvkjL3sHcu1TtY--



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