Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2007 14:06:15 -0400
From:      =?UTF-8?B?6Z+T5a625qiZIEJpbGwgSGFja2Vy?= <askbill@conducive.net>
To:        freebsd-current@freebsd.org
Subject:   Re: kernel panic in 7.0-BETA1
Message-ID:  <47277297.3030407@conducive.net>
In-Reply-To: <4726A59F.4060002@cryptomonkeys.com>
References:  <20071029190208.GD78150@bunrab.catwhisker.org> <4726A59F.4060002@cryptomonkeys.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Louis Kowolowski wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I've been getting these for about 2wks now.  I see nothing in
> /var/log/messages.  System just hangs and the screen goes black.  I'm in
> X so I can't see what is on the console.

If you redirect console messages in /etc/syslog.conf to /var/log/console.log, 
then tail -f that from a separate ssh login, you will not be as 'blind' to what 
is happening behind that 'X' screen.

See also /var/log/messages, var/log/all.log & friends... Sometimes the culprit 
is even in /var/log/maillog.  Overloaded SpamAssassin or such are just examples.

Running top -SH in yet-another ssh session can't hurt, either....

Quite often a line or three of such log entries will tell the tale w/o the need 
for divining cores or dumps at all, and will at the least paint a picture as to 
what was going on immediately preceding the fault.

HTH,

Bill


 > I enabled crash dumps and I'm
> pasting the lastest backtrace.  Is there anything else I can provide?
> 
> Thanks!
> 
> dmesg:
> 
> Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation.
> FreeBSD 7.0-BETA1 #6: Thu Oct 25 15:58:10 PDT 2007
>     root@dyn-2-201.pgp.com:/usr/obj/usr/src/sys/MONTEZUMA
> Timecounter "i8254" frequency 1193167 Hz quality 0
> CPU: Intel(R) Core(TM)2 CPU         T7600  @ 2.33GHz (2327.49-MHz
> 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x6f6  Stepping = 6
> 
> Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
>   Features2=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
>   AMD Features=0x20100000<NX,LM>
>   AMD Features2=0x1<LAHF>
>   Cores per package: 2
> real memory  = 3219980288 (3070 MB)
> avail memory = 3145494528 (2999 MB)
> ACPI APIC Table: <LENOVO TP-79   >
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
>  cpu0 (BSP): APIC ID:  0
>  cpu1 (AP): APIC ID:  1
> ACPI Warning (tbfadt-0505): Optional field "Gpe1Block" has zero address
> or length:        0    102C/0 [20070320]
> ioapic0: Changing APIC ID to 1
> ioapic0 <Version 2.0> irqs 0-23 on motherboard
> kbd1 at kbdmux0
> ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
> cryptosoft0: <software crypto> on motherboard
> acpi0: <LENOVO TP-79> on motherboard
> acpi0: [ITHREAD]
> acpi_ec0: <Embedded Controller: GPE 0x1c, ECDT> port 0x62,0x66 on acpi0
> acpi0: Power Button (fixed)
> acpi0: reservation of 0, a0000 (3) failed
> acpi0: reservation of 100000, bff00000 (3) failed
> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
> acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on
> acpi0
> Timecounter "HPET" frequency 14318180 Hz quality 900
> cpu0: <ACPI CPU> on acpi0
> est0: <Enhanced SpeedStep Frequency Control> on cpu0
> p4tcc0: <CPU Frequency Thermal Control> on cpu0
> cpu1: <ACPI CPU> on acpi0
> est1: <Enhanced SpeedStep Frequency Control> on cpu1
> p4tcc1: <CPU Frequency Thermal Control> on cpu1
> acpi_lid0: <Control Method Lid Switch> on acpi0
> acpi_button0: <Sleep Button> on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
> pci1: <ACPI PCI bus> on pcib1
> vgapci0: <VGA-compatible display> port 0x2000-0x20ff mem
> 0xd0000000-0xdfffffff,0xee100000-0xee10ffff irq 16 at device 0.0 on pci1
> pcm0: <Intel 82801G High Definition Audio Controller> mem
> 0xee400000-0xee403fff irq 17 at device 27.0 on pci0
> pcm0: [ITHREAD]
> pcib2: <ACPI PCI-PCI bridge> irq 20 at device 28.0 on pci0
> pci2: <ACPI PCI bus> on pcib2
> em0: <Intel(R) PRO/1000 Network Connection Version - 6.5.3> port
> 0x3000-0x301f mem 0xee000000-0xee01ffff irq 16 at device 0.0 on pci2
> em0: Ethernet address: 00:16:41:58:25:48
> em0: [ITHREAD]
> pcib3: <ACPI PCI-PCI bridge> irq 21 at device 28.1 on pci0
> pci3: <ACPI PCI bus> on pcib3
> ath0: <Atheros 5212> mem 0xedf00000-0xedf0ffff irq 17 at device 0.0 on pci3
> ath0: [ITHREAD]
> ath0: using obsoleted if_watchdog interface
> ath0: Ethernet address: 00:16:cf:7b:0d:0d
> ath0: mac 10.3 phy 6.1 radio 10.2
> pcib4: <ACPI PCI-PCI bridge> irq 22 at device 28.2 on pci0
> pci4: <ACPI PCI bus> on pcib4
> pcib5: <ACPI PCI-PCI bridge> irq 23 at device 28.3 on pci0
> pci12: <ACPI PCI bus> on pcib5
> uhci0: <UHCI (generic) USB controller> port 0x1800-0x181f irq 16 at
> device 29.0 on pci0
> uhci0: [GIANT-LOCKED]
> uhci0: [ITHREAD]
> usb0: <UHCI (generic) USB controller> on uhci0
> usb0: USB revision 1.0
> uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
> uhub0: 2 ports with 2 removable, self powered
> uhci1: <UHCI (generic) USB controller> port 0x1820-0x183f irq 17 at
> device 29.1 on pci0
> uhci1: [GIANT-LOCKED]
> uhci1: [ITHREAD]
> usb1: <UHCI (generic) USB controller> on uhci1
> usb1: USB revision 1.0
> uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
> uhub1: 2 ports with 2 removable, self powered
> uhci2: <UHCI (generic) USB controller> port 0x1840-0x185f irq 18 at
> device 29.2 on pci0
> uhci2: [GIANT-LOCKED]
> uhci2: [ITHREAD]
> usb2: <UHCI (generic) USB controller> on uhci2
> usb2: USB revision 1.0
> uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
> uhub2: 2 ports with 2 removable, self powered
> uhci3: <UHCI (generic) USB controller> port 0x1860-0x187f irq 19 at
> device 29.3 on pci0
> uhci3: [GIANT-LOCKED]
> uhci3: [ITHREAD]
> usb3: <UHCI (generic) USB controller> on uhci3
> usb3: USB revision 1.0
> uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
> uhub3: 2 ports with 2 removable, self powered
> ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem
> 0xee404000-0xee4043ff irq 19 at device 29.7 on pci0
> ehci0: [GIANT-LOCKED]
> ehci0: [ITHREAD]
> usb4: EHCI version 1.0
> usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
> usb4: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0
> usb4: USB revision 2.0
> uhub4: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb4
> uhub4: 8 ports with 8 removable, self powered
> pcib6: <ACPI PCI-PCI bridge> at device 30.0 on pci0
> pci21: <ACPI PCI bus> on pcib6
> cbb0: <TI1510 PCI-CardBus Bridge> mem 0xe4300000-0xe4300fff irq 16 at
> device 0.0 on pci21
> cardbus0: <CardBus bus> on cbb0
> pccard0: <16-bit PCCard bus> on cbb0
> cbb0: [ITHREAD]
> isab0: <PCI-ISA bridge> at device 31.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <Intel ICH7 UDMA100 controller> port
> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1880-0x188f at device 31.1 on pci0
> ata0: <ATA channel 0> on atapci0
> ata0: [ITHREAD]
> ata1: <ATA channel 1> on atapci0
> ata1: [ITHREAD]
> atapci1: <Intel ICH7M SATA300 controller> port
> 0x18c8-0x18cf,0x18ac-0x18af,0x18c0-0x18c7,0x18a8-0x18ab,0x18b0-0x18bf
> mem 0xee404400-0xee4047ff irq 16 at device 31.2 on pci0
> atapci1: [ITHREAD]
> atapci1: AHCI Version 01.10 controller with 4 ports detected
> ata2: <ATA channel 0> on atapci1
> ata2: [ITHREAD]
> ata3: <ATA channel 1> on atapci1
> ata3: port not implemented
> ata3: [ITHREAD]
> ata4: <ATA channel 2> on atapci1
> ata4: port not implemented
> ata4: [ITHREAD]
> ata5: <ATA channel 3> on atapci1
> ata5: port not implemented
> ata5: [ITHREAD]
> pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
> acpi_tz0: <Thermal Zone> on acpi0
> acpi_tz1: <Thermal Zone> on acpi0
> speaker0: <PC speaker> port 0x61 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]
> atkbd0: [ITHREAD]
> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: [GIANT-LOCKED]
> psm0: [ITHREAD]
> psm0: model Generic PS/2 mouse, device ID 0
> sio0: configured irq 3 not in bitmap of probed irqs 0
> sio0: port may not be enabled
> battery0: <ACPI Control Method Battery> on acpi0
> acpi_acad0: <AC Adapter> on acpi0
> acpi_ibm0: <IBM ThinkPad ACPI Extras> on acpi0
> sio0: configured irq 3 not in bitmap of probed irqs 0
> sio0: port may not be enabled
> pmtimer0 on isa0
> orm0: <ISA Option ROMs> at iomem
> 0xc0000-0xcffff,0xd0000-0xd0fff,0xd1000-0xd1fff,0xdc000-0xdffff,0xe0000-0xeffff
> pnpid ORM0000 on isa0
> 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: 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
> sio0: [FILTER]
> 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
> ugen0: <Broadcom Corp BCM2045B, class 224/1, rev 2.00/1.00, addr 2> on uhub3
> ugen1: <STMicroelectronics Biometric Coprocessor, class 0/0, rev
> 1.00/0.01, addr 3> on uhub3
> NULL mp in getnewvnode()
> Timecounters tick every 1.000 msec
> ad0: 238475MB <WDC WD2500BEVS-00UST0 01.01A01> at ata0-master UDMA100
> ad4: 238475MB <WDC WD2500BEVS-00UST0 01.01A01> at ata2-master SATA150
> pcm0: <HDA Codec: Analog Devices AD1981HD>
> pcm0: <HDA Driver Revision: 20071020_0048>
> SMP: AP CPU #1 Launched!
> Trying to mount root from ufs:/dev/ad4s1a
> 
> 
> kgdb output:
> 
> [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:
> 
> 
> Fatal trap 12: page fault while in kernel mode
> cpuid = 0; apic id = 00
> fault virtual address   = 0x0
> fault code              = supervisor write, page not present
> instruction pointer     = 0x20:0xc0712901
> stack pointer           = 0x28:0xe8e88824
> frame pointer           = 0x28:0xe8e88850
> code segment            = base 0x0, limit 0xfffff, type 0x1b
>                         = DPL 0, pres 1, def32 1, gran 1
> processor eflags        = interrupt enabled, resume, IOPL = 0
> current process         = 1437 (gkrellm)
> trap number             = 12
> panic: page fault
> cpuid = 0
> Uptime: 5h5m16s
> Physical memory: 3058 MB
> Dumping 153 MB: 138 122 106 90 74 58 42 26 10
> 
> #0  doadump () at pcpu.h:195
> 195             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
> (kgdb) backtrace
> #0  doadump () at pcpu.h:195
> #1  0xc07461aa in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
> #2  0xc074649c in panic (fmt=Variable "fmt" is not available.
> ) at /usr/src/sys/kern/kern_shutdown.c:563
> #3  0xc0a26704 in trap_fatal (frame=0xe8e887e4, eva=0)
>     at /usr/src/sys/i386/i386/trap.c:872
> #4  0xc0a26975 in trap_pfault (frame=0xe8e887e4, usermode=0, eva=0)
>     at /usr/src/sys/i386/i386/trap.c:785
> #5  0xc0a272c1 in trap (frame=0xe8e887e4) at
> /usr/src/sys/i386/i386/trap.c:463
> #6  0xc0a0e33b in calltrap () at /usr/src/sys/i386/i386/exception.s:139
> #7  0xc0712901 in clone_create (cdp=0xc0db3f74, csw=0xc0db2fa0,
> up=0xe8e88874,
>     dp=0xe8e88940, extra=0) at /usr/src/sys/kern/kern_conf.c:938
> #8  0xc0da3eae in ?? ()
> #9  0xc0db3f74 in ?? ()
> #10 0xc0db2fa0 in ?? ()
> #11 0xe8e88874 in ?? ()
> #12 0xe8e88940 in ?? ()
> #13 0x00000000 in ?? ()
> #14 0xc0ab29b5 in ?? ()
> #15 0xc0d3511e in ?? ()
> #16 0xffffffff in ?? ()
> #17 0xc0da3e48 in ?? ()
> #18 0xc66e4400 in ?? ()
> #19 0xe8e88950 in ?? ()
> #20 0xc06e0adc in devfs_lookup (ap=0x0)
>     at /usr/src/sys/fs/devfs/devfs_vnops.c:627
> Previous frame identical to this frame (corrupt stack?)
> (kgdb)
> 
> - --
> 
> Louis Kowolowski                                louisk@cryptomonkeys.com
> Cryptomonkeys:                      http://www.cryptomonkeys.com/~louisk
> 
> Everyone is a genius.  It's just that some people are too stupid to
> realize it.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.4 (FreeBSD)
> 
> iD8DBQFHJqWeZk0r6oAkN7YRAiUOAJsEzMjvY/e2rKFPP6/w4pQVh7NIGQCfRp39
> 18ZPUy4iDgE1hJ7KC8QXs7c=
> =kHMs
> -----END PGP SIGNATURE-----
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
> 




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