Skip site navigation (1)Skip section navigation (2)
Date:      09 May 2002 21:21:41 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-stable@freebsd.org
Subject:   APM Pain
Message-ID:  <1020945104.533.3.camel@chowder.dons.net.au>

next in thread | raw e-mail | index | archive | help
I recently updated my laptop to -stable (around the beginning of May).
Unfortunately I now can't suspend without crashing during suspend, or on
resume :(

I have been unable to catch the panic on suspend as it starts
suspending, crashes, starts dumping, and then the BIOS turns the power
off. On resume it tries to start dumping but panic's again :(

If I boot (with a debug kernel) and go single user I get the following 
[chowder 21:18] ~ >sudo gdb -k /var/crash/*.2 
GNU gdb 4.18
Copyright 1998 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-unknown-freebsd"...
IdlePTD at phsyical address 0x00376000
initial pcb at physical address 0x002834c0
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x44
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0c9787f
stack pointer           = 0x10:0xccc6eab8
frame pointer           = 0x10:0xccc6eae4
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         = 85 (mount_nfs)
interrupt mask          = none
trap number             = 12
panic: page fault

syncing disks... 24 24 2 2 
done
Uptime: 2m7s

dumping to dev #ad/0x40001, offset 147632
dump ata0: resetting devices .. done
127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110
109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89
88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41
40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17
16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 
---
#0  dumpsys () at ../../kern/kern_shutdown.c:487
487             if (dumping++) {
(kgdb) bt
#0  dumpsys () at ../../kern/kern_shutdown.c:487
#1  0xc01527f3 in boot (howto=256) at ../../kern/kern_shutdown.c:316
#2  0xc0152c31 in panic (fmt=0xc02563ac "%s") at
../../kern/kern_shutdown.c:595
#3  0xc02121b3 in trap_fatal (frame=0xccc6ea78, eva=68) at
../../i386/i386/trap.c:966
#4  0xc0211e61 in trap_pfault (frame=0xccc6ea78, usermode=0, eva=68) at
../../i386/i386/trap.c:859
#5  0xc0211a07 in trap (frame={tf_fs = -1071775728, tf_es = -65520,
tf_ds = 16, 
      tf_edi = -1061264320, tf_esi = -870019584, tf_ebp = -859378972,
tf_isp = -859379036, 
      tf_ebx = -1066040320, tf_edx = 0, tf_ecx = 0, tf_eax =
-1061395216, tf_trapno = 12, 
      tf_err = 0, tf_eip = -1060538241, tf_cs = 8, tf_eflags = 66134,
tf_esp = -870019584, 
      tf_ss = -1061395216}) at ../../i386/i386/trap.c:458
#6  0xc0c9787f in ?? ()
#7  0xc0c98455 in ?? ()
#8  0xc0ca1ea1 in ?? ()
#9  0xc0ca24fb in ?? ()
#10 0xc0ca1935 in ?? ()
#11 0xc0ca171d in ?? ()
#12 0xc01827cb in mount (p=0xc7c2b5a0, uap=0xccc6ef80) at
../../kern/vfs_syscalls.c:314
#13 0xc0212469 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47,
tf_edi = -1077937344, 
      tf_esi = 134687640, tf_ebp = -1077937256, tf_isp = -859377708,
tf_ebx = -1077938400, 
      tf_edx = 0, tf_ecx = 0, tf_eax = 21, tf_trapno = 7, tf_err = 2,
tf_eip = 134522624, 
      tf_cs = 31, tf_eflags = 582, tf_esp = -1077938500, tf_ss = 47})
    at ../../i386/i386/trap.c:1167
#14 0xc0205855 in Xint0x80_syscall ()
#15 0x8048135 in ?? ()

[chowder 21:20] ~ >kldstat   
Id Refs Address    Size     Name
 1   15 0xc0100000 1f57d0   kernel
 2    1 0xc02f6000 d7a8     if_wi.ko
 3    1 0xc0304000 8c90     snd_maestro3.ko
 4    1 0xc030d000 18650    snd_pcm.ko
 5    1 0xc0326000 1e4f4    usb.ko
 6    1 0xc0345000 5104     ugen.ko
 7    1 0xc034b000 3d6c     ums.ko
 8    1 0xc034f000 a488     agp.ko
 9    1 0xc0c47000 d000     msdos.ko
10    1 0xc0c75000 6000     procfs.ko
11    1 0xc0c7e000 7000     linprocfs.ko
12    1 0xc0cd4000 8000     if_fxp.ko
13    1 0xc0cdd000 e000     miibus.ko
14    1 0xc0d04000 4d000    nfs.ko
15    1 0xc0e64000 14000    linux.ko

I'm more than happy to run tests etc if someone wants a victim^Wtester..

I'll be twiddling my thumbs doing a binary source search if you want to
help :)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 9A8C 569F 685A D928 5140  AE4B 319B 41F4 5D17 FDD5


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?1020945104.533.3.camel>