kern/92764: Kernel panic undef RELENG_6.

Josef Karthauser joe at tao.org.uk
Fri Feb 3 02:50:13 PST 2006


>Number:         92764
>Category:       kern
>Synopsis:       Kernel panic undef RELENG_6.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 03 10:50:12 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Josef Karthauser
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD genius.tao.org.uk 6.0-STABLE FreeBSD 6.0-STABLE #23: Sun Jan 22 19:30:58 GMT 2006 joe at genius.tao.org.uk:/usr/obj/usr/src/sys/GENIUS2 i386

fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
fwohci0: Initiate bus reset
wakeup from sleeping state (slept 00:51:32)
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x24
fault code		= supervisor read, page not present
instruction pointer	= 0x20:0xc0549724
stack pointer	        = 0x28:0xe35adc3c
frame pointer	        = 0x28:0xe35adc50
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= resume, IOPL = 0
current process		= 20 (irq9: pcm0 em0++++)
trap number		= 12
panic: page fault
Uptime: 2d17h30m22s
Dumping 1022 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 1023MB (261696 pages) 1007 991 975 959 943 927 911 895 879 863 847 831 815 799 783 767 751 735 719 703 687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15Copyright (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-STABLE #23: Sun Jan 22 19:30:58 GMT 2006
    joe at genius.tao.org.uk:/usr/obj/usr/src/sys/GENIUS2
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) M processor 1.70GHz (1694.51-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6d6  Stepping = 6
  Features=0xafe9fbbf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE>
  Features2=0x180<EST,TM2>
real memory  = 1072955392 (1023 MB)
avail memory = 1041043456 (992 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <SONY> on motherboard
acpi_ec0: <Embedded Controller: GPE 0x1c> port 0x62,0x66 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_perf0: <ACPI CPU Frequency Control> on cpu0
acpi_perf0: failed in PERF_STATUS attach
device_attach: acpi_perf0 attach returned 6
acpi_perf0: <ACPI CPU Frequency Control> on cpu0
acpi_perf0: failed in PERF_STATUS attach
device_attach: acpi_perf0 attach returned 6
acpi_throttle0: <ACPI CPU Throttling> on cpu0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82855 host to AGP bridge> mem 0xe0000000-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 0xe800-0xe81f irq 9 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 0xe880-0xe89f irq 4 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
uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0xec00-0xec1f irq 7 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0: <Intel 82801DB/DBL/DBM (ICH4) USB 2.0 controller> mem 0xff7ffc00-0xff7fffff irq 3 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: <Intel 82801DB/DBL/DBM (ICH4) USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
cbb0: <PCI-CardBus Bridge> at device 1.0 on pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
fwohci0: <1394 Open Host Controller Interface> mem 0xff6fe800-0xff6fefff,0xff6f8000-0xff6fbfff irq 3 at device 1.2 on pci2
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 08:00:46:03:01:a6:6a:ae
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 0a:00:46:a6:6a:ae
fwe0: Ethernet address: 0a:00:46:a6:6a:ae
fwe0: if_start running deferred for Giant
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
pci2: <mass storage> at device 1.3 (no driver attached)
pci2: <network> at device 2.0 (no driver attached)
em0: <Intel(R) PRO/1000 Network Connection Version - 3.2.18> port 0xdc00-0xdc3f mem 0xff6c0000-0xff6dffff,0xff6a0000-0xff6bffff irq 9 at device 3.0 on pci2
em0: Ethernet address: 08:00:46:da:f6:13
ohci0: <NEC uPD 9210 USB controller> mem 0xff6f7000-0xff6f7fff irq 9 at device 4.0 on pci2
ohci0: [GIANT-LOCKED]
usb4: OHCI version 1.0, legacy support
usb4: <NEC uPD 9210 USB controller> on ohci0
usb4: USB revision 1.0
uhub4: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub4: 3 ports with 3 removable, self powered
ohci1: <NEC uPD 9210 USB controller> mem 0xff6fc000-0xff6fcfff irq 9 at device 4.1 on pci2
ohci1: [GIANT-LOCKED]
usb5: OHCI version 1.0, legacy support
usb5: <NEC uPD 9210 USB controller> on ohci1
usb5: USB revision 1.0
uhub5: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub5: 2 ports with 2 removable, self powered
ehci1: <NEC uPD 720100 USB 2.0 controller> mem 0xff6fe400-0xff6fe4ff irq 7 at device 4.2 on pci2
ehci1: [GIANT-LOCKED]
usb6: EHCI version 1.0
usb6: companion controllers, 3 ports each: usb4 usb5
usb6: <NEC uPD 720100 USB 2.0 controller> on ehci1
usb6: USB revision 2.0
uhub6: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub6: 5 ports with 5 removable, self powered
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pcm0: <Intel ICH4 (82801DB)> port 0xee00-0xeeff,0xe000-0xe03f mem 0xff7ff800-0xff7ff9ff,0xff7ff400-0xff7ff4ff irq 9 at device 31.5 on pci0
pcm0: <Avance Logic ALC203 AC97 Codec>
pci0: <simple comms, generic modem> at device 31.6 (no driver attached)
acpi_button0: <Power Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 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 GlidePoint, device ID 0
acpi_sony0: <Sony notebook controller> on acpi0
acpi_sony0: PID 0
acpi_acad0: <AC Adapter> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xcffff 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 1694507670 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 95396MB <FUJITSU MHU2100AT 00000008> at ata0-master UDMA100
acd0: DVDR <SONY DVD RW DW-D56A/PFS3> at ata1-master UDMA33
GEOM_LABEL: Label for provider ad0s3 is msdosfs/STUFF.
GEOM_LABEL: Label for provider ad0s2d is ufs/var.
GEOM_LABEL: Label for provider ad0s2e is ufs/tmp.
GEOM_LABEL: Label for provider ad0s2f is ufs/usr.
GEOM_LABEL: Label for provider ad0s2g is ufs/data.
Trying to mount root from ufs:/dev/ad0s2a
WARNING: / was not properly dismounted
WARNING: /data was not properly dismounted
/data: mount pending error: blocks 4288 files 94
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
/var: mount pending error: blocks 4 files 1
dragon_saver: the console does not support M_VGA_CG320
module_register_init: MOD_LOAD (dragon_saver, 0xc5150c50, 0) error 19
vmmon: Module vmmon: registered with major=200 minor=0 tag=$Name: build-570 (3.2.x mvm) $
vmmon: Module vmmon: initialized

>Description:
	My laptop has been hanging after resuming from suspend a lot recently.

I caught a crash dump this time:

	genius# gdb -k /usr/obj/usr/src/sys/GENIUS2/kernel.debug /data/crash/vmcore.9 
	gdb: unrecognized option `-k'
	Use `gdb --help' for a complete list of options.
	genius# kgdb /usr/obj/usr/src/sys/GENIUS2/kernel.debug /data/crash/vmcore.9
	[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
	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 "i386-marcel-freebsd".

	Unread portion of the kernel message buffer:
	`æmÀœæmÀÀÁ      


	`îÁ€îÁDÐÁ ÍÄ`îÁÐÁ„ÐÁ°ÍÄ`îÁ@ÐÁÄÐÁÀÍÄ`îÁ€ÐÁÑÁÐÍÄ`îÁÀÐÁDÑÁàÍÄ`îÁÑÁ„ÑÁðÍÄ`îÁ@ÑÁÄÑÁÎÄ`îÁ€ÑÁÒÁÎÄ

	#0  doadump () at pcpu.h:165
	165     pcpu.h: No such file or directory.
		in pcpu.h
	(kgdb) bt
	#0  doadump () at pcpu.h:165
	#1  0xc0529cda in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399
	#2  0xc0529f70 in panic (fmt=0xc066f512 "%s")
	    at /usr/src/sys/kern/kern_shutdown.c:555
	#3  0xc064c284 in trap_fatal (frame=0xe35adbfc, eva=36)
	    at /usr/src/sys/i386/i386/trap.c:836
	#4  0xc064ba22 in trap (frame=
	      {tf_fs = -1068236792, tf_es = -480640984, tf_ds = -1068236760, tf_edi = -995506048, tf_esi = -995465728, tf_ebp = -480584624, tf_isp = -480584664, tf_ebx = -995467264, tf_edx = -995465728, tf_ecx = -993197888, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1068198108, tf_cs = 32, tf_eflags = 65666, tf_esp = 4, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:269
	#5  0xc063b3da in calltrap () at /usr/src/sys/i386/i386/exception.s:139
	#6  0xc0549724 in propagate_priority (td=0xc4aa6600)
	    at /usr/src/sys/kern/subr_turnstile.c:233
	#7  0xc0549ed2 in turnstile_wait (lock=0xc4cd00c0, owner=0xc4aa6600)
	    at /usr/src/sys/kern/subr_turnstile.c:628
	#8  0xc0520658 in _mtx_lock_sleep (m=0xc4cd00c0, tid=3299500032, opts=0, 
	    file=0xc07ac698 "/usr/src/sys/modules/sound/driver/ich/../../../../dev/sound/pci/ich.c", line=501) at /usr/src/sys/kern/kern_mutex.c:565
	#9  0xc05204bc in _mtx_lock_flags (m=0xc4cd00c0, opts=0, 
	    file=0xc07ac698 "/usr/src/sys/modules/sound/driver/ich/../../../../dev/sound/pci/ich.c", line=501) at /usr/src/sys/kern/kern_mutex.c:286


>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list