kern/129316: kernel panic (pcpu.h:195; support.s:499)

Denis backspace at ua.fm
Sun Nov 30 15:00:07 PST 2008


>Number:         129316
>Category:       kern
>Synopsis:       kernel panic (pcpu.h:195; support.s:499)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 30 23:00:05 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Denis
>Release:        7.0-RELEASE
>Organization:
>Environment:
# uname -a
FreeBSD hostname 7.0-RELEASE FreeBSD 7.0-RELEASE #5: Fri Nov 28 13:43:00 EET 2008     admin at hostname:/usr/src/sys/i386/compile/GATE  i386
>Description:
Problem occurs probably because of malfunction of sio subsystem with NetMos NM9845 Quad UART.

Backtrace and other potentially needed information below.

# kgdb kernel.debug /log/crash/vmcore.4
[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 = 1; apic id = 01
fault virtual address   = 0x14
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc082e6e6
stack pointer           = 0x28:0xf13fdc20
frame pointer           = 0x28:0xf13fdc50
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         = 35 (swi0: sio)
trap number             = 12
panic: page fault
cpuid = 1
Uptime: 3h40m37s
Physical memory: 503 MB
Dumping 126 MB: 111 95 79 63 47 31 15

#0  doadump () at pcpu.h:195
195             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) bt
#0  doadump () at pcpu.h:195
#1  0xc0667823 in boot (howto=260) at ../../../kern/kern_shutdown.c:409
#2  0xc0667ae9 in panic (fmt=Variable "fmt" is not available.
) at ../../../kern/kern_shutdown.c:563
#3  0xc083051c in trap_fatal (frame=0xf13fdbe0, eva=20) at ../../../i386/i386/trap.c:899
#4  0xc0830780 in trap_pfault (frame=0xf13fdbe0, usermode=0, eva=20) at ../../../i386/i386/trap.c:812
#5  0xc0831139 in trap (frame=0xf13fdbe0) at ../../../i386/i386/trap.c:490
#6  0xc0817f9b in calltrap () at ../../../i386/i386/exception.s:139
#7  0xc082e6e6 in generic_bcopy () at ../../../i386/i386/support.s:498
Previous frame inner to this frame (corrupt stack?)
(kgdb) list 0xc082e6e6
Function "0xc082e6e6" not defined.
(kgdb) list *0xc082e6e6
0xc082e6e6 is at ../../../i386/i386/support.s:499.
494             cmpl    %ecx,%eax                       /* overlapping && src < dst? */
495             jb      1f
496
497             shrl    $2,%ecx                         /* copy by 32-bit words */
498             cld                                     /* nope, copy forwards */
499             rep
500             movsl
501             movl    20(%esp),%ecx
502             andl    $3,%ecx                         /* any bytes left? */
503             rep
(kgdb)


# cat /var/run/dmesg.boot
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (2010.32-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x40fb2  Stepping = 2
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x2001<SSE3,CX16>
  AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
  AMD Features2=0x1f<LAHF,CMP,SVM,ExtAPIC,CR8>
  Cores per package: 2
real memory  = 536805376 (511 MB)
avail memory = 514695168 (490 MB)
ACPI APIC Table: <Nvidia AWRDACPI>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
<<<< skip >>>>
puc0: <NetMos NM9845 Quad UART and 1284 Printer port> port 0xb400-0xb407,0xb000-0xb007,0xac00-0xac07,0xa800-0xa807,0xa400-0xa407,0xa000-0xa00f irq 18 at device 10.0 on pci1
puc0: [FILTER]
sio0 on puc0
sio0: type 16550A
sio0: [FILTER]
sio1 on puc0
sio1: type 16550A
sio1: [FILTER]
sio2 on puc0
sio2: type 16550A
sio2: [FILTER]
sio3 on puc0
sio3: type 16550A
sio3: [FILTER]
ppc0: <Parallel port> on puc0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode


# pciconf -l
none0 at pci0:0:0:0:       class=0x050000 card=0xcb8410de chip=0x036910de rev=0xa1 hdr=0x00
isab0 at pci0:0:1:0:       class=0x060100 card=0x34051565 chip=0x036310de rev=0xa2 hdr=0x00
none1 at pci0:0:1:1:       class=0x0c0500 card=0x34051565 chip=0x036810de rev=0xa2 hdr=0x00
none2 at pci0:0:1:2:       class=0x050000 card=0x34051565 chip=0x036a10de rev=0xa2 hdr=0x00
ohci0 at pci0:0:2:0:       class=0x0c0310 card=0x34051565 chip=0x036c10de rev=0xa1 hdr=0x00
ehci0 at pci0:0:2:1:       class=0x0c0320 card=0x34051565 chip=0x036d10de rev=0xa2 hdr=0x00
atapci0 at pci0:0:4:0:     class=0x01018a card=0x34051565 chip=0x036e10de rev=0xa1 hdr=0x00
atapci1 at pci0:0:5:0:     class=0x010185 card=0x54031565 chip=0x037f10de rev=0xa2 hdr=0x00
atapci2 at pci0:0:5:1:     class=0x010185 card=0x54031565 chip=0x037f10de rev=0xa2 hdr=0x00
pcib1 at pci0:0:6:0:       class=0x060401 card=0x00000000 chip=0x037010de rev=0xa2 hdr=0x01
none3 at pci0:0:6:1:       class=0x040300 card=0x820a1565 chip=0x037110de rev=0xa2 hdr=0x00
nfe0 at pci0:0:8:0:        class=0x068000 card=0x25031565 chip=0x037310de rev=0xa2 hdr=0x00
pcib2 at pci0:0:11:0:      class=0x060400 card=0x000010de chip=0x037410de rev=0xa2 hdr=0x01
pcib3 at pci0:0:12:0:      class=0x060400 card=0x000010de chip=0x037410de rev=0xa2 hdr=0x01
pcib4 at pci0:0:13:0:      class=0x060400 card=0x000010de chip=0x037810de rev=0xa2 hdr=0x01
pcib5 at pci0:0:14:0:      class=0x060400 card=0x000010de chip=0x037510de rev=0xa2 hdr=0x01
pcib6 at pci0:0:15:0:      class=0x060400 card=0x000010de chip=0x037710de rev=0xa2 hdr=0x01
hostb0 at pci0:0:24:0:     class=0x060000 card=0x00000000 chip=0x11001022 rev=0x00 hdr=0x00
hostb1 at pci0:0:24:1:     class=0x060000 card=0x00000000 chip=0x11011022 rev=0x00 hdr=0x00
hostb2 at pci0:0:24:2:     class=0x060000 card=0x00000000 chip=0x11021022 rev=0x00 hdr=0x00
hostb3 at pci0:0:24:3:     class=0x060000 card=0x00000000 chip=0x11031022 rev=0x00 hdr=0x00
vgapci0 at pci0:1:7:0:     class=0x030000 card=0x8a015333 chip=0x8a015333 rev=0x01 hdr=0x00
rl0 at pci0:1:8:0: class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 hdr=0x00
vr0 at pci0:1:9:0: class=0x020000 card=0x14051186 chip=0x31061106 rev=0x86 hdr=0x00
puc0 at pci0:1:10:0:       class=0x070002 card=0x00041000 chip=0x98459710 rev=0x01 hdr=0x00

Kernel options:
options         SMP
options         SCHED_4BSD
options         PREEMPTION
options         IPFIREWALL
options         IPFIREWALL_FORWARD
options         IPFIREWALL_VERBOSE
options         IPFIREWALL_VERBOSE_LIMIT=5
options         IPDIVERT
options         IPFILTER
options         DUMMYNET
options         MSIZE=256
options         TTYHOG=4096
options         DEVICE_POLLING
options         HZ=1000
options         GEOM_MIRROR
options         NETGRAPH
options         NETGRAPH_SOCKET
options         NETGRAPH_IFACE
options         NETGRAPH_PPP
options         NETGRAPH_BPF
options         NETGRAPH_VJC
options         NETGRAPH_KSOCKET
device          acpi
device          puc
>How-To-Repeat:
Use NetMos NM9845 Quad UART as multiport for dial-in server.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list