Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 2002 01:20:03 -0700 (PDT)
From:      FUJIMOTO Kou <fujimoto@j.dendai.ac.jp>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/43549: compiling gcc31 fails/crashes system with  CPUTYPE=athlon
Message-ID:  <200210010820.g918K3io099024@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/43549; it has been noted by GNATS.

From: FUJIMOTO Kou <fujimoto@j.dendai.ac.jp>
To: Kris Kennaway <kris@obsecurity.org>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: ports/43549: compiling gcc31 fails/crashes system with 
 CPUTYPE=athlon
Date: Tue, 01 Oct 2002 17:10:44 +0900

 Kris Kennaway wrote:
 
 > >       Making ports/editors/openoffice depends on ports/lang/gcc31,
 > >  but at first making it fails at expr.c with segmentation fault.
 > >  Forcing to proceed (I mean just type 'make' again) crashes OS.
 > 
 > It causes FreeBSD to panic?  That's very strange.
 
 My FreeBSD box is dual AthlonXP (not MP!), so this might cause 
 panic, isn't it?
 
 Here's an output of "gdb -k kernel.0 vmcore.0": 
 =====================================================================
 (gdb banner stuff snipped)
 
 (no debugging symbols found)...
 SMP 2 cpus
 IdlePTD at phsyical address 0x0039d000
 initial pcb at physical address 0x002f9620
 panicstr: page fault
 panic messages:
 ---
 Fatal trap 12: page fault while in kernel mode
 mp_lock = 01000002; cpuid = 1; lapic.id = 01000000
 fault virtual address   = 0x4c
 fault code              = supervisor read, page not present
 instruction pointer     = 0x8:0xc021c360
 stack pointer           = 0x10:0xd7f25e74
 frame pointer           = 0x10:0xd7f25e7c
 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         = 30188 (as)
 interrupt mask          = none <- SMP: XXX
 trap number             = 12
 panic: page fault
 mp_lock = 01000002; cpuid = 1; lapic.id = 01000000
 boot() called on cpu#1
 
 syncing disks... 34 7 
 done
 Uptime: 6d23h6m33s
 
 dumping to dev #ad/0x20001, offset 1048736
 dump ata0: resetting devices .. done
 511 510 509 508 507 506 505 504 503 502 501 500 499 498 497 496 495 494
 493 492 
 (snip)
 8 7 6 5 4 3 2 1 0 
 ---
 #0  0xc0151c02 in dumpsys ()
 (kgdb) where
 #0  0xc0151c02 in dumpsys ()
 #1  0xc01519d3 in boot ()
 #2  0xc0151e2c in poweroff_wait ()
 #3  0xc027c9e4 in trap_fatal ()
 #4  0xc027c675 in trap_pfault ()
 #5  0xc027c213 in trap ()
 #6  0xc021c360 in vm_page_lookup ()
 #7  0xc02147cc in vm_fault ()
 #8  0xc027c60e in trap_pfault ()
 #9  0xc027c0e7 in trap ()
 #10 0x804fdbb in ?? ()
 cannot read proc at 0
 (kgdb) 
 
 -- 
 FUJIMOTO Kou, Tokyo Denki University

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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