Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Sep 1997 00:01:32 +0200
From:      Andreas Klemm <andreas@klemm.gtn.com>
To:        Steve Passe <smp@csn.net>
Cc:        smp@FreeBSD.ORG
Subject:   Re: HEADS UP: another set of changes.
Message-ID:  <19970901000132.27494@klemm.gtn.com>
In-Reply-To: <199708312125.PAA21626@Ilsa.StevesCafe.com>; from Steve Passe on Sun, Aug 31, 1997 at 03:25:58PM -0600
References:  <19970831231130.52301@klemm.gtn.com> <199708312125.PAA21626@Ilsa.StevesCafe.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Aug 31, 1997 at 03:25:58PM -0600, Steve Passe wrote:
> Hi,
> 
> > Yesterday evening and today evening my system hangs with a page fault.
> > 
> > I'm on CPU#1, I need to be on CPU#0, sleeping
> > timeout waiting for CPU#0!
> > syncing disks...
> > Fatal trap 12: page fault while in kernel mode
> > cpuid=1
> > lapic.id=0
> > fault virtual address	= 0x10
> > fault code		= supervisor-read, page not present
> > instruction pointer	= 0x8: 0xf0133110
> > stack pointer		= 0x10:0xff803c5c
> > frame pointer		= 0x10:0xff803c70
> > code segment		= base 0x0, limit 0xfffff, type=0x1b
> > 			= DPL0, pres 1, def 32 1, gran 1
> > processor eflags	= interrupt enabled, resume, IOPL = 0
> > current process		= Idle
> > mp_lock			= 01000004
> > interrupt mask		= tty <- SMP: XXX
> > trap number		= 12
> > panic: page fault
> > cpuid 1
> > 
> > This was the output I noticed yestwerday evening.
> > Today I cvsupped newly and build a new kernel.
> > When the panic happened today at about 10pm, I compared the
> > output with that above messages I wrote down, and everything
> > is nearly the same, only the instruction stack and frame pointer
> > were about off by one or two, because of the new kernel I think.
> > 
> > What do you need to have more, so that you can figure out, what's
> > going wrong ?
> 
> we need a trace.  also, it looks like it was shutting down when this happened?
> specifically while syncing disks.  had you down a shutdown, or did this happen
> by itself?  

I wasn't at the machine ... X11 was running and processes like
this:

11:59PM  up  1:06, 4 users, load averages: 2.25, 2.22, 2.13
USER             TTY FROM              LOGIN@  IDLE WHAT
andreas          v0  -                10:57PM     - xinit /home/andreas/.xinitr
andreas          p0  :0.0             10:57PM     8 -su (tcsh)
andreas          p2  :0.0             11:26PM    32 -tcsh (tcsh)
andreas          p3  :0.0             11:50PM     - w

USER      PID %CPU %MEM   VSZ  RSS  TT  STAT STARTED      TIME COMMAND
root      240 52.0  0.3   388  156 con- RN   10:56PM  59:30.20 ./rc5v2
root      238 27.5  0.4   388  228 con- SN   10:56PM  61:03.27 ./rc5v2
root        1  0.0  0.1   480   44  ??  Is   12:53AM   0:00.03 /sbin/init --
root        2  0.0  0.0     0    0  ??  DL   12:53AM   0:12.60  (pagedaemon)
root        3  0.0  0.0     0    0  ??  DL   12:53AM   0:00.00  (vmdaemon)
root        4  0.0  0.0     0    0  ??  DL   12:53AM   0:02.32  (update)
root       27  0.0  0.1 32488   68  ??  Is   12:56AM   0:00.21 mfs -o noatime -s 64000 /dev/sd1s1b /tmp (mount_mfs)
root       33  0.0  0.0   204    0  ??  Is   12:56AM   0:00.00 adjkerntz -i
root       72  0.0  0.5   224  288  ??  Ds   10:56PM   0:00.33 /usr/local/bin/bisdnd
root       98  0.0  0.5   216  312  ??  Ss   10:56PM   0:00.29 syslogd
root      104  0.0  0.5   408  288  ??  Ss   10:56PM   0:00.04 named -b /etc/namedb/named.boot
root      127  0.0  0.3   192  176  ??  Is   10:56PM   0:00.05 inetd
root      129  0.0  0.4   332  228  ??  Is   10:56PM   0:00.10 cron
root      132  0.0  0.2   212  112  ??  Is   10:56PM   0:00.01 lpd
root      135  0.0  0.4   564  252  ??  Is   10:56PM   0:00.06 sendmail: accepting connections on port 25 (sendmail)
root      193  0.0  0.4   912  252  ??  Ss   10:56PM   0:00.50 /usr/local/sbin/httpd
root      206  0.0  0.2   588   92 con- I    10:56PM   0:00.03 /usr/local/sbin/rplayd
root      211  0.0  0.0   492    0 con- I    10:56PM   0:00.01 /bin/sh /usr/local/sbin/RunCache
nobody    218  0.0  1.2  1928  776 con- S    10:56PM   0:01.75 squid -sY
root      219  0.0  0.3   316  156  ??  Is   10:56PM   0:00.84 /usr/local/sbin/sshd
nobody    229  0.0  0.2   264  108 con- I    10:56PM   0:00.02 (dnsserver) (dnsserver)
nobody    237  0.0  0.2   236  104  ??  Is   10:56PM   0:00.01 /usr/local/sbin/ftpget -S 1026
nobody    246  0.0  0.1   136   52  ??  I    10:56PM   0:00.01 (unlinkd) (unlinkd)
andreas   255  0.0  0.2   808  128  v0  Is   10:56PM   0:00.33 -tcsh (tcsh)
root      256  0.0  0.2   180   96  v1  Is+  10:56PM   0:00.02 /usr/libexec/getty Pc ttyv1
root      257  0.0  0.2   180   96  v2  Is+  10:56PM   0:00.02 /usr/libexec/getty Pc ttyv2
root      258  0.0  0.2   180   96  v3  Is+  10:56PM   0:00.02 /usr/libexec/getty Pc ttyv3
root      261  0.0  0.2   196  116  ??  S    10:56PM   0:00.06 (pinger) (pinger)
news      279  0.0  1.3  1580  844  ??  Is   10:56PM   0:01.90 /usr/local//etc/innd -p4 -r -i0
root      280  0.0  0.0   496    0  ??  I    10:56PM   0:00.00 /bin/sh /usr/local/etc/rc.news
root      282  0.0  0.2   512  112  ??  I    10:56PM   0:03.20 /bin/sh /usr/local/news/bin/innwatch
news      285  0.0  0.2   152   92  ??  I    10:56PM   0:00.09 /usr/local/news/bin/overchan
andreas   292  0.0  0.3   176  152  v0  I+   10:57PM   0:00.08 xinit /home/andreas/.xinitrc -- -auth /home/andreas/.Xauthority -bpp 16
root      305  0.0 10.6  5224 6684  ??  S    10:57PM   0:14.15 X :0 -auth /home/andreas/.Xauthority -bpp 16 (XF86_SVGA)
andreas   308  0.0  0.0   500    0  v0  I    10:57PM   0:00.03 sh /home/andreas/.xinitrc
andreas   318  0.0  0.6   424  388  v0  I    10:57PM   0:00.70 /usr/X11R6/bin/afterstep
andreas   319  0.0  0.3   180  192  v0  I    10:57PM   0:00.04 /usr/X11R6/lib/X11/afterstep/Animate 8 5 /home/andreas/.steprc 0 0
andreas   320  0.0  0.4   280  252  v0  I    10:57PM   0:00.28 /usr/X11R6/lib/X11/afterstep/Wharf 10 5 /home/andreas/.steprc 0 0
andreas   321  0.0  0.2   156  108  v0  I    10:57PM   0:00.04 /usr/X11R6/lib/X11/afterstep/Audio 12 5 /home/andreas/.steprc 0 0
andreas   323  0.0  0.4   204  244  v0  S    10:57PM   0:05.98 asclock -exe xlock -12 -shape -position -1-1
andreas   325  0.0  0.6   212  340  v0  S    10:57PM   0:00.15 xbiff
andreas   327  0.0  0.6   252  352  v0  S    10:57PM   0:00.25 xload
andreas   329  0.0  0.5   208  336  v0  I    10:57PM   0:00.12 /usr/X11R6/lib/X11/afterstep/Pager 13 4 /home/andreas/.steprc 0 8 0 0
andreas   330  0.0  0.8   292  472  v0  I    10:57PM   0:00.17 xpostit -T xpostit
root      337  0.0  1.0   744  656  v0  I    10:57PM   0:00.71 xterm -e su -
root      339  0.0  0.6  1084  388  p0  Is+  10:57PM   0:00.60 -su (tcsh)
root      381  0.0  1.2   256  744  p0  S    10:57PM   0:00.23 xconsole
root     1631  0.0  0.5   344  300  ??  Ss   11:00PM   0:00.20 nmbd
nobody   1656  0.0  0.5   976  308  ??  I    11:03PM   0:00.06 /usr/local/sbin/httpd
root     2399  0.0  1.0   744  600  v0  I    11:26PM   0:00.16 xterm
andreas  2400  0.0  0.3   808  164  p2  Is+  11:26PM   0:00.24 -tcsh (tcsh)
andreas  2408  0.0  4.6 14804 2912  v0  I    11:26PM   0:04.01 /usr/local/lib/netscape/netscape.bin
andreas  2410  0.0  0.6 10844  360  v0  I    11:26PM   0:00.09 (dns helper) (netscape.bin)
nobody   2415  0.0  0.5   972  308  ??  I    11:27PM   0:00.02 /usr/local/sbin/httpd
nobody   2418  0.0  0.4   912  252  ??  I    11:27PM   0:00.00 /usr/local/sbin/httpd
root     3388  0.0  2.6   508 1624  v0  S    11:50PM   0:00.35 xterm -e mutt
andreas  3389  0.0  1.4   700  852  p3  Is+  11:50PM   0:00.23 mutt
root     3671  0.0  0.0   172   12  ??  I    11:58PM   0:00.00 sleep 600
andreas  3672  0.0  0.3   496  172  p3  I+   11:58PM   0:00.01 sh -c /usr/bin/vi '/tmp/mutt-titan-3389-2'
andreas  3673  0.0  1.2   676  736  p3  S+   11:58PM   0:00.17 /usr/bin/vi /tmp/mutt-titan-3389-2
andreas  3679  0.0  1.4   744  900  p3  S+   11:59PM   0:00.17 tcsh -c ps -axuww
andreas  3680  0.0  0.0     0    0  p3  Z+   -         0:00.00  (vi)
andreas  3683  0.0  0.5   672  304  p3  R+   11:59PM   0:00.00 ps -axuww
root        0  0.0  0.0     0    0  ??  DLs  12:53AM   0:00.01  (swapper)

When I turned on the monitor I only saw the panic after it happened ....

So what now, do I need a serial console, because I always
run X11 or do I have to simply compile DDB into the kernel ???
Ot additionally config -g ???

	Andreas ///

-- 
Andreas Klemm | klemm.gtn.com - powered by
                    Symmetric MultiProcessor FreeBSD
                       http://www.freebsd.org/~fsmp/SMP/SMP.html
                          http://www.freebsd.org/~fsmp/SMP/benches.html



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