Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 2007 04:45:51 GMT
From:      Haven Hash<havenster@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/107504: Page Fault when attempting to run most network applications (sshd, sendmail, etc)
Message-ID:  <200701040445.l044jpGm011748@www.freebsd.org>
Resent-Message-ID: <200701040450.l044o4o9069624@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         107504
>Category:       i386
>Synopsis:       Page Fault when attempting to run most network applications (sshd, sendmail, etc)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 04 04:50:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Haven Hash
>Release:        6.1-RELEASE cvsup'd to 6.2-PRERELEASE
>Organization:
self - home user
>Environment:
FreeBSD  6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Tue Jan  2 14:22:41 PST 2007     root@:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
I installed 6.1 RELEASE from cd and proceded to follow updating (builworld, buildkernel, mergemaster,etc) procedures from http://techstore.ie/phpBB2/viewtopic.php?p=338&; after encountering my current problem I redid the entire procedure from the handbook page at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

Whenever I would attempt to boot the system (pretty stock poweredge 2400) it would page fault on the first network service (sshd, sendmail, etc). I used FreeSBie to disable each of these services in rc.conf and was able to successfully boot and log in. Though if I attempt to run ssh, sshd, fetch, etc the same page fault occurs, though I can succesfully run ping, traceroute, and dhclient. I tried a different ethernet card with no effect. I followed the handbook instructions and make a kernel dump and savecore and attempted to debug the kernel with kgdb. The information I got from these operations is below:

Unread portion of the kernel message buffer:
kernel trap 12 with interrupts disabled

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x74
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc06983fd
stack pointer           = 0x28:0xe9279be0
frame pointer           = 0x28:0xe9279be4
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = resume, IOPL = 0
current process         = 3153 (sshd)
trap number             = 12
panic: page fault
Uptime: 21h51m42s
Dumping 1023 MB (2 chunks)
  chunk 0: 1MB (160 pages) ... ok
  chunk 1: 1023MB (261886 pages) 1008 992 976 960 944 928 912 896 8
80 864 848 832 816 800 784 768 752 736 720 704 688 672 656 640 624
608 592 576 560 544 528 512 496 480 464 448 432 416 400 384 368 352
 336 320 304 288 272 256 240 224 208 192 176 160 144 128 112 96 80
64 48 32 16

#0  doadump () at pcpu.h:165
165     pcpu.h: No such file or directory.
        in pcpu.h

I have some C programming experience and went to line 165 in pcpu.h but I was unsure what to do, the line was an assembly call and looked important.

I did not have this issue upon initial install so I'll probably just reinstall and go with the cd builds or try 6.2 RC2. 

I would be happy to provide the dump or more information upon request.
>How-To-Repeat:
Run most network applications on my particular setup and hardware.

>Fix:

I am a single user and this is not very important, I was just curious about what was going on, do not invest effort if this looks to be a fruitless effort.
>Release-Note:
>Audit-Trail:
>Unformatted:



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