It seems that the savecore is not working in my setup from the rc scripts.
However it seems to work when run by hand. Backtrace attached.
Galen
--- Galen Sampson <galen_sampson@yahoo.com> wrote:> Hello all,
>
> I recently upgraded to freebsd 4.8-p7. After noticing that gnome 2.4 was
in
> the ports tree I decided to install it. While getting sound to work I
> received
> a kernel panic while X was running. Unfortunately I cannot provide a back
> trace because savecore did not work (see messages below) and I do not have
> ddb.
>
> This panic was most definately caused by the settings in my bios related to
> PNP. I had "PNP enabled os" set to true. This resulted in many
messages
> about
> incorrect resource allocation (see below). When I attemted to unload the
> module the kernel paniced. After setting "PNP enabled os" to
false this is a
> non issue, but someone might want to fix it.
>
> regards,
> Galen
>
> P.S. How can I fix savecore? I have two ide drives, and a swap partition
on
> each drive (each swap partition is the same size).
>
> # See the fstab(5) manual page for important information on automatic
mounts
> # of network filesystems before modifying this file.
> #
> # Device Mountpoint FStype Options Dump
Pass#
> /dev/ad0s1b none swap sw 0 0
> /dev/ad2s1b none swap sw 0 0
>
> pcm related messages:
>
> Sep 19 11:29:05 amnesiac /kernel: pcm0: <AudioPCI ES1371-A> irq 11 at
device
> 12.0 on pci0
> Sep 19 11:29:05 amnesiac /kernel: pcm0: unable to map register space
> Sep 19 11:29:05 amnesiac /kernel: device_probe_and_attach: pcm0 attach
> returned
> 6
> Sep 19 11:29:05 amnesiac /kernel: pcm0: <AudioPCI ES1371-A> irq 11 at
device
> 12.0 on pci0
> Sep 19 11:29:05 amnesiac /kernel: pcm0: unable to map register space
> Sep 19 11:29:05 amnesiac /kernel: device_probe_and_attach: pcm0 attach
> returned
> 6
> Sep 19 11:29:20 amnesiac /kernel: linkerunload: attempt to unload file that
> was
> loaded by the kernel
>
> Kernel paniced
>
> after a reboot:
>
> Sep 19 11:43:21 amnesiac savecore: reboot after panic: page fault
> Sep 19 11:43:21 amnesiac savecore: /devel/freebsd/crash/bounds: No such
file
> or
> directory
> Sep 19 11:43:21 amnesiac savecore: writing compressed core to
> /devel/freebsd/crash/vmcore.0.gz
> Sep 19 11:43:21 amnesiac savecore: /devel/freebsd/crash/vmcore.0.gz:
Illegal
> seek
> Sep 19 11:43:21 amnesiac savecore: WARNING: vmcore may be incomplete
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to
"freebsd-stable-unsubscribe@freebsd.org"
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
-------------- next part --------------
Script started on Mon Sep 22 17:43:41 2003
galen@amnesiac$ gdb -k kernel.debug vmcore.6
GNU gdb 4.18 (FreeBSD)
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"...Deprecated
bfd_read called at
/devel/freebsd/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c
line 2627 in elfstab_build_psymtabs
Deprecated bfd_read called at
/devel/freebsd/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c
line 933 in fill_symbuf
IdlePTD at phsyical address 0x0032b000
initial pcb at physical address 0x0029fd20
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0xc15e20b8
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc15e20b8
stack pointer = 0x10:0xcb13deb0
frame pointer = 0x10:0xcb13dec4
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 = 95096 (kldunload)
interrupt mask = none
trap number = 12
panic: page fault
syncing disks... 33 8 8
done
Uptime: 3h48m3s
dumping to dev #ad/0x20001, offset 917504
dump ata0: resetting devices .. done
192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173
172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153
152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133
132 131 130 129 128 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 [CTRL-C to abort] [CTRL-C to
abort] [CTRL-C to abort] 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 dumpsys () at /devel/freebsd/src/sys/kern/kern_shutdown.c:487
487 if (dumping++) {
(kgdb) where
#0 dumpsys () at /devel/freebsd/src/sys/kern/kern_shutdown.c:487
#1 0xc01513b0 in boot (howto=256)
at /devel/freebsd/src/sys/kern/kern_shutdown.c:316
#2 0xc01517e4 in poweroff_wait (junk=0xc027610c, howto=-1071162321)
at /devel/freebsd/src/sys/kern/kern_shutdown.c:595
#3 0xc0240ec7 in trap_fatal (frame=0xcb13de70, eva=3244171448)
at /devel/freebsd/src/sys/i386/i386/trap.c:974
#4 0xc0240b89 in trap_pfault (frame=0xcb13de70, usermode=0, eva=3244171448)
at /devel/freebsd/src/sys/i386/i386/trap.c:867
#5 0xc024076b in trap (frame={tf_fs = -887947248, tf_es = -1072431088,
tf_ds = -1055653872, tf_edi = -1050176336, tf_esi = -1050176332,
tf_ebp = -887890236, tf_isp = -887890276, tf_ebx = 0,
tf_edx = -1050176796, tf_ecx = -1050176328, tf_eax = -1050795848,
tf_trapno = 12, tf_err = 0, tf_eip = -1050795848, tf_cs = 8,
tf_eflags = 66054, tf_esp = -1072427304, tf_ss = -1050176896})
at /devel/freebsd/src/sys/i386/i386/trap.c:466
#6 0xc15e20b8 in ?? ()
#7 0xc0141358 in linker_file_unload (file=0xc114d100)
at /devel/freebsd/src/sys/kern/kern_linker.c:434
#8 0xc01413b0 in linker_file_unload (file=0xc14e2a80)
at /devel/freebsd/src/sys/kern/kern_linker.c:442
#9 0xc01413b0 in linker_file_unload (file=0xc1171b00)
at /devel/freebsd/src/sys/kern/kern_linker.c:442
---Type <return> to continue, or q <return> to quit---
#10 0xc01417b5 in kldunload (p=0xcb0a1260, uap=0xcb13df80)
at /devel/freebsd/src/sys/kern/kern_linker.c:713
#11 0xc0241181 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47,
tf_edi = 2, tf_esi = -1077937810, tf_ebp = -1077938112,
tf_isp = -887889964, tf_ebx = 0, tf_edx = 0, tf_ecx = 0, tf_eax = 305,
tf_trapno = 12, tf_err = 2, tf_eip = 134514416, tf_cs = 31,
tf_eflags = 647, tf_esp = -1077939212, tf_ss = 47})
at /devel/freebsd/src/sys/i386/i386/trap.c:1175
#12 0xc0234c05 in Xint0x80_syscall ()
#13 0x804813e in ?? ()
(kgdb) quit
galen@amnesiac$ exit
Script done on Mon Sep 22 17:45:21 2003