Date: Tue, 1 Mar 2005 21:37:32 +0100 From: Filippo Forti <filippo.forti@fastwebnet.it> To: freebsd-current@freebsd.org Cc: freebsd-acpi@freebsd.org Subject: Panic on suspend Message-ID: <20050301203732.GB684@portatile.fastwebnet.it> In-Reply-To: <20050301203005.GA684@portatile.fastwebnet.it> References: <20050301203005.GA684@portatile.fastwebnet.it>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, I got a fully reproduceable panic while trying to suspend (to S3) on my laptop. FreeBSD is -CURRENT from Monday. I'm using a modified DSDT which used to work before I updated on Monday. dmesg from after reboot is attacched. Here comes gbd output Fatal trap 12: page fault while in vm86 mode fault virtual address = 0x2000 fault code = user write, page not present instruction pointer = 0xc000:0x5195 stack pointer = 0x0:0xfe4 frame pointer = 0x0:0x0 code segment = base 0x600005, limit 0x2, type 0x11 = DPL 1, pres 0, def32 0, gran 0 processor eflag = interrupt enabled, resume, mv86, IOPL = 0 current process = 1046 (acpiconf) [thread pid 1046 tid 100084] Stopped at 0x5159: *** error reading from address 5159 *** db> tr Tracing pid 1046 tid 100084 td 0xc27645c0 (null)(ff000e2c3,f000ff53,f000ff54,f00092da) at 0x5195 _end(ccce4fab,b638f354,3a6c5da3,ec956de5,fe6dff6c) at 0xf000ff53 db> where Tracing pid 1046 tid 100084 td 0xc27645c0 kdb_enter(c08d00f2,c08e69ce,c08cbfd1,c08ee7f9,2b8) at kdb_enter+0x31 witness_checkorder(c2cc2a54,9,c08ee7f9,2b8,0) at witness_checkorder+0xc9 _mtx_lock_flags(c2cc2a54,0,c08ee7f9,2b8,0) at _mtx_lock_flags+0x85 trap_pfault(c0c21fa8,0,2000,c0c21fa8,2000) at trap_pfault+0xa1 trap (0,0,0,1000,0) at trap+0x34b calltrap() at calltrap+0x5 ---trap 0xc, eip = 0x5195, esp = 0xc0c21fe8, ebp = 0 --- db> next panic: blockable sleep lock (sleep mutex) process lock @ /usr/src/sys/i386/i386/trap.c:696 KDB: enter: panic After 2 instructions (0 loads, 0 stores), [thread 1046 tid 1000084] stopped at kdb_enter+0x31: ret Thanks for your help Filippo Copyright (c) 1992-2005 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 6.0-CURRENT #0: Tue Mar 1 00:29:12 CET 2005 root@portatile.fastwebnet.it:/usr/obj/usr/src/sys/PORTATILE WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2790.72-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xbfebf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> real memory = 1073152000 (1023 MB) avail memory = 1041317888 (993 MB) ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413) ACPI: overriding DSDT/SSDT with custom table ACPI-0377: *** Info: Table [DSDT] replaced by host OS npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface acpi0: <PTLTD RSDT> on motherboard acpi0: Power Button (fixed) acpi_ec0: <Embedded Controller: GPE 0x1c> port 0x66,0x62 on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: <ACPI CPU (2 Cx states)> on acpi0 acpi_throttle0: <ACPI CPU Throttling> on cpu0 acpi_button0: <Sleep Button> on acpi0 acpi_lid0: <Control Method Lid Switch> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci_link0: <ACPI PCI Link LNKC> irq 0 on acpi0 pci_link1: <ACPI PCI Link LNKB> irq 10 on acpi0 pci_link2: <ACPI PCI Link LNKA> irq 10 on acpi0 pci_link3: <ACPI PCI Link LNKD> irq 11 on acpi0 pci_link4: <ACPI PCI Link LNKH> irq 10 on acpi0 pci0: <ACPI PCI bus> on pcib0 agp0: <Intel 82845G host to AGP bridge> mem 0xe8000000-0xefffffff at device 0.0 on pci0 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 pci1: <display, VGA> at device 0.0 (no driver attached) uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0x1cc0-0x1cdf irq 10 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0x1ce0-0x1cff irq 11 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ehci0: <EHCI (generic) USB 2.0 controller> mem 0xe0000000-0xe00003ff irq 10 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci_pci_attach: companion usb0 ehci_pci_attach: companion usb1 usb2: EHCI version 1.0 usb2: companion controllers, 2 ports each: usb0 usb1 usb2: <EHCI (generic) USB 2.0 controller> on ehci0 usb2: USB revision 2.0 uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: single transaction translator uhub2: 4 ports with 4 removable, self powered pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci_link5: <ACPI PCI Link LNKF> irq 0 on acpi0 pci_link6: <ACPI PCI Link LNKG> irq 0 on acpi0 pci_link7: <ACPI PCI Link LNKE> irq 0 on acpi0 pci2: <ACPI PCI bus> on pcib2 bfe0: <Broadcom BCM4401 Fast Ethernet> mem 0xe0204000-0xe0205fff irq 10 at device 1.0 on pci2 miibus0: <MII bus> on bfe0 bmtphy0: <BCM4401 10/100baseTX PHY> on miibus0 bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bfe0: Ethernet address: 00:0b:db:18:b5:9c cbb0: <TI4510 PCI-CardBus Bridge> irq 10 at device 4.0 on pci2 cardbus0: <CardBus bus> on cbb0 pccard0: <16-bit PCCard bus> on cbb0 fwohci0: <1394 Open Host Controller Interface> mem 0xe0200000-0xe0203fff,0xe0206000-0xe02067ff irq 10 at device 4.1 on pci2 fwohci0: OHCI version 1.10 (ROM=0) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:c0:4f:38:02:dc:d4:10 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: <IEEE1394(FireWire) bus> on fwohci0 fwe0: <Ethernet over FireWire> on firewire0 if_fwe0: Fake Ethernet address: 02:c0:4f:dc:d4:10 fwe0: Ethernet address: 02:c0:4f:dc:d4:10 fwe0: if_start running deferred for Giant sbp0: <SBP-2/SCSI over FireWire> on firewire0 fwohci0: Initiate bus reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH4 UDMA100 controller> port 0x2020-0x202f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: <serial bus, SMBus> at device 31.3 (no driver attached) pcm0: <Intel ICH4 (82801DB)> port 0x1c80-0x1cbf,0x1400-0x14ff mem 0xe0000800-0xe00008ff,0xe0000c00-0xe0000dff irq 10 at device 31.5 on pci0 pcm0: [GIANT-LOCKED] pcm0: <SigmaTel STAC9750/51 AC97 Codec> pci0: <simple comms> at device 31.6 (no driver attached) acpi_tz0: <Thermal Zone> on acpi0 acpi_button1: <Power Button> 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 Synaptics Touchpad, device ID 0 acpi_acad0: <AC Adapter> on acpi0 acpi_cmbat0: <Control Method Battery> on acpi0 pmtimer0 on isa0 orm0: <ISA Option ROMs> at iomem 0xe0000-0xe3fff,0xdf800-0xdffff,0xd0000-0xd17ff,0xcf000-0xcffff,0xc0000-0xcefff on isa0 ppc0: parallel port not found. 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 2790719580 Hz quality 800 Timecounters tick every 1.000 msec acd0: CDRW <HL-DT-STCD-RW/DVD-ROM GCC-4240N/D110> at ata0-master UDMA33 ad2: 38154MB <IC25N040ATCS05-0/CS4OA63A> [77520/16/63] at ata1-master UDMA100 cd0 at ata0 bus 0 target 0 lun 0 cd0: <HL-DT-ST RW/DVD GCC-4240N D110> Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/ad2s1a WARNING: / was not properly dismounted WARNING: /usr was not properly dismounted /usr: mount pending error: blocks 16 files 1 WARNING: /var was not properly dismounted WARNING: /var/log was not properly dismounted
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050301203732.GB684>