Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jan 2002 21:48:51 -0500
From:      David Gilbert <dgilbert@velocet.ca>
To:        freebsd-stable@freebsd.org
Subject:   STABLE crashing sometime _after_ resume.
Message-ID:  <15415.47891.138936.600745@trooper.velocet.net>

next in thread | raw e-mail | index | archive | help
For some time, I've had trouble with -STABLE crashing sometime after
resuming on my laptop.  The crash occurs within a minute or two after
resuming; it's normally coincident with network traffic (say IRC
reconnecting); and it always happens after the pccard (wi0) probes and
attaches and after dhcp has sync'd.

So... I finally got around to putting debug symbols in the kernel and
waiting for the crash again.  I'm attaching the gdb -k output here.  I
don't know what the large number (15 thru 33) of unresolved stack
frames are --- are they kld things?  I have the following things
loaded:

[1:1:301]root@canoe:~> kldstat
Id Refs Address    Size     Name
 1    5 0xc0100000 2b88e4   kernel
 2    1 0xc03b9000 75c0     if_wi.ko
 3    1 0xc187b000 7000     linprocfs.ko
 4    2 0xc1922000 14000    linux.ko
 5    1 0xc18ee000 2000     rtc.ko

... anyways... I'd like to track down this problem.  Any ideas where
to start?

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xe18ad804
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc03bb6c8
stack pointer           = 0x10:0xd00dbd24
frame pointer           = 0x10:0xd00dbd30
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         = 55958 (soffice.bin)
interrupt mask          = 
trap number             = 12
panic: page fault

(kgdb) bt
#0  dumpsys () at ../../kern/kern_shutdown.c:473
#1  0xc016166b in boot (howto=256) at ../../kern/kern_shutdown.c:313
#2  0xc0161a40 in poweroff_wait (junk=0xc02db22c, howto=-1070748337)
    at ../../kern/kern_shutdown.c:581
#3  0xc028671e in trap_fatal (frame=0xd00dbce4, eva=3783972868)
    at ../../i386/i386/trap.c:956
#4  0xc02863f1 in trap_pfault (frame=0xd00dbce4, usermode=0, eva=3783972868)
    at ../../i386/i386/trap.c:849
#5  0xc0285fdb in trap (frame={tf_fs = -1071251440, tf_es = 16, tf_ds = 16, 
      tf_edi = 500, tf_esi = -1037639680, tf_ebp = -804405968, 
      tf_isp = -804406000, tf_ebx = 0, tf_edx = -510994428, 
      tf_ecx = -962165808, tf_eax = -962165808, tf_trapno = 12, tf_err = 0, 
      tf_eip = -1069828408, tf_cs = 8, tf_eflags = 66050, 
      tf_esp = -1037639680, tf_ss = -1069829312}) at ../../i386/i386/trap.c:448
#6  0xc03bb6c8 in ?? ()
#7  0xc03bb380 in ?? ()
#8  0xc016749d in softclock () at ../../kern/kern_timeout.c:131
#9  0xc027bedf in doreti_swi ()
#10 0xc0299ee6 in __udivdi3 (a=4994391729494, b=16364)
    at ../../libkern/udivdi3.c:50
#11 0xc0160cbe in calcru (p=0xd000f260, up=0xd00dbed4, sp=0xd00dbedc, ip=0x0)
    at ../../kern/kern_resource.c:569
#12 0xc18ec120 in ?? ()
#13 0xc02869c9 in syscall2 (frame={tf_fs = -1078001617, tf_es = -804454353, 
      tf_ds = -1078001617, tf_edi = 138265600, tf_esi = 100, 
      tf_ebp = -1077939740, tf_isp = -804405292, tf_ebx = -1077939756, 
      tf_edx = 717472908, tf_ecx = 159066228, tf_eax = 43, tf_trapno = 22, 
      tf_err = 2, tf_eip = 717087693, tf_cs = 31, tf_eflags = 518, 
      tf_esp = -1077939780, tf_ss = 47}) at ../../i386/i386/trap.c:1155
#14 0xc027aac5 in Xint0x80_syscall ()
#15 0x2c5328d5 in ?? ()
#16 0x2c45b332 in ?? ()
#17 0x2c270565 in ?? ()
#18 0x2c2704d5 in ?? ()
#19 0x2a06d93e in ?? ()
#20 0x2a06d751 in ?? ()
#21 0x2a193ebc in ?? ()
#22 0x2a193d59 in ?? ()
#23 0x2a19b3f8 in ?? ()
#24 0x2a068f6b in ?? ()
#25 0x2a068eb5 in ?? ()
#26 0x28f63449 in ?? ()
#27 0x28192db5 in ?? ()
#28 0x80513a3 in ?? ()
#29 0x28f5b04b in ?? ()
#30 0x80512da in ?? ()
#31 0x2a06acf1 in ?? ()
#32 0x2a192eb5 in ?? ()
#33 0x2ab661eb in ?? ()
(kgdb)

Dave.

-- 
============================================================================
|David Gilbert, Velocet Communications.       | Two things can only be     |
|Mail:       dgilbert@velocet.net             |  equal if and only if they |
|http://daveg.ca                              |   are precisely opposite.  |
=========================================================GLO================

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




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