From owner-freebsd-stable Sun Feb 25 3: 9: 3 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.ZSEA.zp.ua (ZSEA.zp.ua [212.8.40.5]) by hub.freebsd.org (Postfix) with ESMTP id 30BC637B4EC for ; Sun, 25 Feb 2001 03:08:28 -0800 (PST) (envelope-from laa@laa.zp.ua) Received: (from laa@localhost) by mx1.ZSEA.zp.ua (8.11.1/8.11.1) id f1PB8Gg00562; Sun, 25 Feb 2001 13:08:16 +0200 (EET) (envelope-from laa@laa.zp.ua) Date: Sun, 25 Feb 2001 13:08:16 +0200 From: "Alexandr A. Listopad" To: stable@freebsd.org Cc: Alexandr Listopad , "Gennady P. Kolomoets" , Sergey Lapin , "Foma N. Gad" Subject: trap 12... Message-ID: <20010225130816.A500@laa.zp.ua> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="82I3+IH0IqGh5yIs" Content-Disposition: inline Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I have spontanious reboots of my FreeBSD box. (I downgrade it to 4.1RC1, from -STABLE). I try to change NICs, but it not help me... I have dump kernel crash (it is in attachment). Also I put dmesg.boot and kernel config files. Please, help me solve this problem. -- Laa --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="DEBUG.log" Script started on Sun Feb 25 13:02:20 2001 13:02:20 root@eagle # gdb -k 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". (kgdb) symbol-file kernel.debug Reading symbols from kernel.debug...done. (kgdb) exec-file /var/crash/kernel.0 (kgdb) core-file /var/crash/vmcore.0 SMP 2 cpus IdlePTD 3440640 initial pcb at 2c5b00 panicstr: from debugger panic messages: --- Fatal trap 12: page fault while in kernel mode mp_lock = 00000002; cpuid = 0; lapic.id = 00000000 fault virtual address = 0xaac0d10c fault code = supervisor read, page not present instruction pointer = 0x8:0xc017c1d8 stack pointer = 0x10:0xff806ec4 frame pointer = 0x10:0xff806ed8 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 = Idle interrupt mask = <- SMP: XXX Fatal trap 12: page fault while in kernel mode mp_lock = 00000002; cpuid = 0; lapic.id = 00000000 fault virtual address = 0xaac0d10c fault code = supervisor read, page not present instruction pointer = 0x8:0xc017c1d8 stack pointer = 0x10:0xff806ec4 frame pointer = 0x10:0xff806ed8 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = trace trap, interrupt enabled, resume, IOPL = 0 current process = Idle interrupt mask = <- SMP: XXX Fatal trap 12: page fault while in kernel mode mp_lock = 00000002; cpuid = 0; lapic.id = 00000000 fault virtual address = 0xaac0d10c fault code = supervisor read, page not present instruction pointer = 0x8:0xc017c1d8 stack pointer = 0x10:0xff806ec4 frame pointer = 0x10:0xff806ed8 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = trace trap, interrupt enabled, resume, IOPL = 0 current process = Idle interrupt mask = <- SMP: XXX Fatal trap 12: page fault while in kernel mode mp_lock = 00000002; cpuid = 0; lapic.id = 00000000 fault virtual address = 0xaac0d10c fault code = supervisor read, page not present instruction pointer = 0x8:0xc017c1d8 stack pointer = 0x10:0xff806ec4 frame pointer = 0x10:0xff806ed8 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = trace trap, interrupt enabled, resume, IOPL = 0 current process = Idle interrupt mask = <- SMP: XXX Fatal trap 12: page fault while in kernel mode mp_lock = 00000002; cpuid = 0; lapic.id = 00000000 fault virtual address = 0xaac0d10c fault code = supervisor read, page not present instruction pointer = 0x8:0xc017c1d8 stack pointer = 0x10:0xff806ec4 frame pointer = 0x10:0xff806ed8 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = trace trap, interrupt enabled, resume, IOPL = 0 current process = Idle interrupt mask = <- SMP: XXX Fatal trap 12: page fault while in kernel mode mp_lock = 00000002; cpuid = 0; lapic.id = 00000000 fault virtual address = 0xaac0d10c fault code = supervisor read, page not present instruction pointer = 0x8:0xc017c1d8 stack pointer = 0x10:0xff806ec4 frame pointer = 0x10:0xff806ed8 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = trace trap, interrupt enabled, resume, IOPL = 0 current process = Idle interrupt mask = <- SMP: XXX Fatal trap 12: page fault while in kernel mode mp_lock = 00000002; cpuid = 0; lapic.id = 00000000 fault virtual address = 0xaac0d10c fault code = supervisor read, page not present instruction pointer = 0x8:0xc017c1d8 stack pointer = 0x10:0xff806ec4 frame pointer = 0x10:0xff806ed8 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 = Idle interrupt mask = <- SMP: XXX Fatal trap 12: page fault while in kernel mode mp_lock = 00000002; cpuid = 0; lapic.id = 00000000 fault virtual address = 0xaac0d10c fault code = supervisor read, page not present instruction pointer = 0x8:0xc017c1d8 stack pointer = 0x10:0xff806ec4 frame pointer = 0x10:0xff806ed8 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = trace trap, interrupt enabled, resume, IOPL = 0 current process = Idle interrupt mask = <- SMP: XXX Fatal trap 12: page fault while in kernel mode mp_lock = 00000002; cpuid = 0; lapic.id = 00000000 fault virtual address = 0xaac0d10c fault code = supervisor read, page not present instruction pointer = 0x8:0xc017c1d8 stack pointer = 0x10:0xff806ec4 frame pointer = 0x10:0xff806ed8 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 = Idle interrupt mask = <- SMP: XXX Fatal trap 12: page fault while in kernel mode mp_lock = 00000002; cpuid = 0; lapic.id = 00000000 fault virtual address = 0xaac0d10c fault code = supervisor read, page not present instruction pointer = 0x8:0xc017c1d8 stack pointer = 0x10:0xff806ec4 frame pointer = 0x10:0xff806ed8 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = trace trap, interrupt enabled, resume, IOPL = 0 current process = Idle interrupt mask = <- SMP: XXX Fatal trap 12: page fault while in kernel mode mp_lock = 00000002; cpuid = 0; lapic.id = 00000000 fault virtual address = 0xaac0d10c fault code = supervisor read, page not present instruction pointer = 0x8:0xc017c1d8 stack pointer = 0x10:0xff806ec4 frame pointer = 0x10:0xff806ed8 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = trace trap, interrupt enabled, resume, IOPL = 0 current process = Idle interrupt mask = <- SMP: XXX Fatal trap 12: page fault while in kernel mode mp_lock = 00000002; cpuid = 0; lapic.id = 00000000 fault virtual address = 0xaac0d10c fault code = supervisor read, page not present instruction pointer = 0x8:0xc017c1d8 stack pointer = 0x10:0xff806ec4 frame pointer = 0x10:0xff806ed8 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = trace trap, interrupt enabled, resume, IOPL = 0 current process = Idle interrupt mask = <- SMP: XXX panic: from debugger mp_lock = 00000002; cpuid = 0; lapic.id = 00000000 panic: from debugger mp_lock = 00000003; cpuid = 0; lapic.id = 00000000 boot() called on cpu#0 Uptime: 31m55s dumping to dev #da/0x20001, offset 262144 dump 256 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 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 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 ../../kern/kern_shutdown.c:469 469 if (dumping++) { (kgdb) where #0 dumpsys () at ../../kern/kern_shutdown.c:469 #1 0xc015cd3b in boot (howto=260) at ../../kern/kern_shutdown.c:309 #2 0xc015d105 in panic (fmt=0xc0272d34 "from debugger") at ../../kern/kern_shutdown.c:556 #3 0xc0131b85 in db_panic (addr=-1072184872, have_addr=0, count=1, modif=0xff806d28 "") at ../../ddb/db_command.c:433 #4 0xc0131b25 in db_command (last_cmdp=0xc02a40fc, cmd_table=0xc02a3f5c, aux_cmd_tablep=0xc02c19ec) at ../../ddb/db_command.c:333 #5 0xc0131bea in db_command_loop () at ../../ddb/db_command.c:455 #6 0xc0133cf7 in db_trap (type=12, code=0) at ../../ddb/db_trap.c:71 #7 0xc0247181 in kdb_trap (type=12, code=0, regs=0xff806e84) at ../../i386/i386/db_interface.c:158 #8 0xc0259cc2 in trap_fatal (frame=0xff806e84, eva=2864763148) at ../../i386/i386/trap.c:946 #9 0xc0259959 in trap_pfault (frame=0xff806e84, usermode=0, eva=2864763148) at ../../i386/i386/trap.c:844 #10 0xc02594af in trap (frame={tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 2076, tf_esi = -1062564608, tf_ebp = -8360232, tf_isp = -8360272, tf_ebx = -1430204160, tf_edx = -1644167169, tf_ecx = -1062506496, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1072184872, tf_cs = 8, tf_eflags = 66438, tf_esp = -836854284, tf_ss = -836854400}) at ../../i386/i386/trap.c:443 #11 0xc017c1d8 in sbdrop (sb=0xce1e9df4, len=5584) at ../../kern/uipc_socket2.c:791 #12 0xc017c060 in sbflush (sb=0xce1e9df4) at ../../kern/uipc_socket2.c:767 #13 0xc017bb29 in sbrelease (sb=0xce1e9df4, so=0xce1e9d80) at ../../kern/uipc_socket2.c:449 #14 0xc0179093 in sofree (so=0xce1e9d80) at ../../kern/uipc_socket.c:260 #15 0xc01b3657 in in_pcbdetach (inp=0xce4f1440) at ../../netinet/in_pcb.c:535 #16 0xc01c2139 in tcp_close (tp=0xce4f1500) at ../../netinet/tcp_subr.c:711 #17 0xc01c1f2c in tcp_drop (tp=0xce4f1500, errno=60) at ../../netinet/tcp_subr.c:548 #18 0xc01c2b38 in tcp_timer_rexmt (xtp=0xce4f1500) at ../../netinet/tcp_timer.c:377 #19 0xc0162a9d in softclock () at ../../kern/kern_timeout.c:131 (kgdb) quit 13:03:05 root@eagle # exit Script done on Sun Feb 25 13:03:06 2001 --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=Eagle machine i386 #cpu I586_CPU cpu I686_CPU ident Eagle maxusers 256 options NMBCLUSTERS=4096 options MAXMEM="(256*1024)" makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options MFS #Memory Filesystem options NFS #Network Filesystem options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM #Rate limit bad replies options KBD_INSTALL_CDEV # install a CDEV entry in /dev options SOFTUPDATES # To make an SMP kernel, the next two are needed options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O device isa device pci # Floppy drives device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 # ATA and ATAPI devices device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering #options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices # SCSI Controllers device ahc # AHA2940 and onboard AIC7xxx devices # SCSI peripherals device scbus # SCSI bus (required) device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device psm0 at atkbdc? irq 12 device vga0 at isa? # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? flags 0x100 # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Power management support (see LINT for more options) device apm0 at nexus? disable flags 0x20 # Advanced Power Management # Serial (COM) ports device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 ## MOXA: options "COM_MULTIPORT" device sio4 at isa? port 0x280 flags 0x701 device sio5 at isa? port 0x288 flags 0x701 device sio6 at isa? port 0x290 flags 0x701 device sio7 at isa? port 0x298 flags 0x701 irq 5 # Parallel port #device ppc0 at isa? irq 7 #device ppbus # Parallel port bus (required) #device lpt # Printer #device plip # TCP/IP over parallel #device ppi # Parallel port interface device #device vpo # Requires scbus and da # PCI Ethernet NICs. #device fxp # Intel EtherExpress PRO/100B (82557, 82558) device rl device miibus # Pseudo devices - the number indicates how many units to allocated. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device speaker pseudo-device ppp 5 # Kernel PPP pseudo-device tun 5 # Packet tunnel. pseudo-device pty 256 # Pseudo-ttys (telnet etc) pseudo-device md # Memory "disks" pseudo-device vn pseudo-device gzip options KTRACE #kernel tracing # The `bpf' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! pseudo-device bpf 4 #Berkeley packet filter ## Custom adds [laa]: options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=10000 options IPFIREWALL_DEFAULT_TO_ACCEPT options IPFIREWALL_FORWARD #enable transparent proxy support options IPDIVERT options DUMMYNET options TCP_DROP_SYNFIN options TCP_RESTRICT_RST options INCLUDE_CONFIG_FILE options DDB options PPP_BSDCOMP options PPP_DEFLATE options PPP_FILTER options SC_HISTORY_SIZE=3000 options SC_MOUSE_CHAR=0x3 options SC_NORM_REV_ATTR=(FG_RED|BG_BLACK) options SC_NORM_ATTR="(FG_GREEN|BG_BLACK)" options SC_KERNEL_CONS_ATTR=(FG_LIGHTRED|BG_BLACK) options SC_KERNEL_CONS_REV_ATTR=(FG_LIGHTMAGENTA|BG_BLACK) options SC_TWOBUTTON_MOUSE --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.boot" Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.2-RC1 #0: Sat Feb 24 11:47:33 EET 2001 root@Eagle.zgia.zp.ua:/usr/src/sys/compile/Eagle Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (601.37-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x673 Stepping = 3 Features=0x383fbff real memory = 268435456 (262144K bytes) avail memory = 257302528 (251272K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 IOAPIC #0 intpin 16 -> irq 10 IOAPIC #0 intpin 17 -> irq 9 IOAPIC #0 intpin 18 -> irq 7 IOAPIC #0 intpin 19 -> irq 11 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Pentium Pro MTRR support enabled md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib2: at device 1.0 on pci0 pci1: on pcib2 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at 7.2 Timecounter "PIIX" frequency 3579545 Hz chip1: port 0x440-0x44f at device 7.3 on pci0 ahc0: port 0xe400-0xe4ff mem 0xffafe000-0xffafefff irq 10 at device 14.0 on pci0 aic7890/91: Wide Channel A, SCSI Id=7, 32/255 SCBs fxp0: port 0xef00-0xef3f mem 0xff900000-0xff9fffff,0xffafd000-0xffafdfff irq 9 at device 16.0 on pci0 fxp0: Ethernet address 00:03:47:23:0a:29 fxp1: port 0xee80-0xeebf mem 0xff700000-0xff7fffff,0xffafc000-0xffafcfff irq 7 at device 18.0 on pci0 fxp1: Ethernet address 00:03:47:1d:38:16 pci0: at 20.0 irq 11 pcib1: on motherboard pci2: on pcib1 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A sio4 at port 0x280-0x287 flags 0x701 on isa0 sio4: type 16550A (multiport) sio5 at port 0x288-0x28f flags 0x701 on isa0 sio5: type 16550A (multiport) sio6 at port 0x290-0x297 flags 0x701 on isa0 sio6: type 16550A (multiport) sio7 at port 0x298-0x29f irq 5 flags 0x701 on isa0 sio7: type 16550A (multiport master) APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via IOAPIC #0 intpin 2 IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging limited to 10000 packets/entry by default DUMMYNET initialized (000608) SMP: AP CPU #1 Launched! ata0-slave: ata_command: timeout waiting for intr ata0-slave: identify failed acd0: CDROM at ata0-master using PIO4 Waiting 5 seconds for SCSI devices to settle Mounting root from ufs:da0s1a da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled da0: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C) da1 at ahc0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da1: 4340MB (8888924 512 byte sectors: 255H 63S/T 553C) da2 at ahc0 bus 0 target 2 lun 0 da2: Fixed Direct Access SCSI-2 device da2: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da2: 4340MB (8888924 512 byte sectors: 255H 63S/T 553C) --82I3+IH0IqGh5yIs-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message