Date: Mon, 22 Jan 2001 16:45:57 -0800 From: Ben Lovett <blovett@bsdguru.com> To: stable@freebsd.org Subject: Re: Pagefaults occuring randomly Message-ID: <20010122164556.A1772@venus.homenet> In-Reply-To: <979918898.3a68603253893@webmail.harmonic.co.il>; from roman@harmonic.co.il on Fri, Jan 19, 2001 at 05:41:38PM %2B0200 References: <20010118142944.A580@bsdguru.com> <979918898.3a68603253893@webmail.harmonic.co.il>
next in thread | previous in thread | raw e-mail | index | archive | help
--hHWLQfXTYDoKhP50 Content-Type: multipart/mixed; boundary="MGYHOYXEY6WxJCY8" Content-Disposition: inline --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Well.. Finally it has happened again, and I had a dumpdev setup. Attached is the output of the kernel debug session.. I hope I did this correctly, so if there is anythign that I missed, I would be more than happy to redo the debug. I have attached the output to this message, and will send a copy of the vmcore and kernel if neccessary upon request. Thanks once again for your time. -ben Roman Shterenzon (roman@harmonic.co.il) wrote: > Please read http://www.freebsd.org/handbook/kerneldebug.html > and create a PR with all the needed information. >=20 > Quoting Ben Lovett <blovett@bsdguru.com>: >=20 > > Hello, > >=20 > > Recently, I have been having random page faults, and the application > > that caused the fault is always random, or none at all, just idle. > > These can occur after 2 days uptime, to 5 hours.. This is on a Toshiba > > Satellite 2505CDS running 4.2-STABLE as of Sunday, January 14, 2001. > > They also occured on this same system running 4.2-STABLE as of about a > > month and a half ago. I don't remember the exact date I cvsup'd. > >=20 > > Attached is a output of the most recent dmesg log with the reason it > > page faulted. I hope this can help, and if there is *anything* somebody > > would like me to show them, within reason of course, I'd be more than > > happy to oblige. > >=20 > > Thanks for your time! > > --=20 > > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- > > Ben Lovett printf("Hello world!); > > don4r return 0; > > don4r@bsdguru.com > > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- > > Speak softly and carry a cellular phone. > >=20 --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=kernel-debug Content-Transfer-Encoding: quoted-printable Script started on Mon Jan 22 14:50:39 2001 Erase is backspace.=0D TERM=3Dcons25 (25 80)=0D =0D People who develop the habit of thinking of themselves as world=0D citizens are fulfilling the first requirement of sanity in our time.=0D -- Norman Cousins=0D =0D root-venus> cd /usr/obj/usr/src/sys/VENUS/=0D root-venus> gdb -k=0D GNU gdb 4.18=0D Copyright 1998 Free Software Foundation, Inc.=0D GDB is free software, covered by the GNU General Public License, and you ar= e=0D welcome to change it and/or distribute copies of it under certain condition= s.=0D Type "show copying" to see the conditions.=0D There is absolutely no warranty for GDB. Type "show warranty" for details.= =0D This GDB was configured as "i386-unknown-freebsd".=0D (kgdb) symbol-file kernel.debug=0D Reading symbols from kernel.debug...done.=0D (kgdb) exec-file /var/crash/kernel.2=0D (kgdb) core-file /var/crash/vmcore.2=0D IdlePTD 4472832=0D initial pcb at 38f740=0D panicstr: from debugger=0D panic messages:=0D ---=0D Fatal trap 12: page fault while in kernel mode=0D fault virtual address =3D 0x2020206c=0D fault code =3D supervisor read, page not present=0D instruction pointer =3D 0x8:0xc01e72f8=0D stack pointer =3D 0x10:0xc4214f68=0D frame pointer =3D 0x10:0xc4214f88=0D code segment =3D base 0x0, limit 0xfffff, type 0x1b=0D =3D DPL 0, pres 1, def32 1, gran 1=0D processor eflags =3D interrupt enabled, resume, IOPL =3D 0=0D current process =3D 9775 (aterm)=0D interrupt mask =3D =0D trap number =3D 12=0D panic: page fault=0D =0D syncing disks... 18 18 13 5 =0D done=0D Uptime: 17h44m46s=0D =0D dumping to dev #ad/0x20001, offset 335744=0D dump ata0: resetting devices .. done=0D 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 failed, reason: aborted from console=0D Automatic reboot in 15 seconds - press a key on the console to abort=0D --> Press a key on the console to reboot <--=0D Rebooting...=0D Copyright (c) 1992-2001 The FreeBSD Project.=0D Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994=0D The Regents of the University of California. All rights reserved.=0D FreeBSD 4.2-STABLE #0: Mon Jan 15 18:43:35 PST 2001=0D root@luna:/usr/obj/usr/src/sys/VENUS=0D Timecounter "i8254" frequency 1193182 Hz=0D CPU: Pentium/P55C (quarter-micron) (233.29-MHz 586-class CPU)=0D Origin =3D "GenuineIntel" Id =3D 0x581 Stepping =3D 1=0D Features=3D0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>=0D real memory =3D 33619968 (32832K bytes)=0D avail memory =3D 28626944 (27956K bytes)=0D Preloaded elf kernel "kernel" at 0xc0425000.=0D Intel Pentium detected, installing workaround for F00F bug=0D md0: Malloc disk=0D apm0: <APM BIOS> on motherboard=0D apm: found APM BIOS v1.2, connected at v1.2=0D npx0: <math processor> on motherboard=0D npx0: INT 16 interface=0D pcib0: <Host to PCI bridge> on motherboard=0D pci0: <PCI bus> on pcib0=0D pci0: <Chips & Technologies 65555 SVGA controller> at 4.0=0D pci0: <NEC uPD 9210 USB controller> at 11.0 irq 11=0D chip1: <Toshiba Fast Infra Red controller> port 0xffe0-0xffff irq 11 at dev= ice 17.0 on pci0=0D isa0: <ISA bus> on motherboard=0D fdc0: <NEC 765 or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0=0D fd0: <1440-KB 3.5" drive> on fdc0 drive 0=0D ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0=0D ata1 at port 0x170-0x177,0x376 irq 15 on isa0=0D atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0=0D atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0=0D kbd0 at atkbd0=0D psm0: <PS/2 Mouse> irq 12 on atkbdc0=0D psm0: model GlidePoint, device ID 0=0D vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0=0D sc0: <System console> at flags 0x100 on isa0=0D sc0: VGA <16 virtual consoles, flags=3D0x300>=0D pcic0: <Intel i82365> at port 0x3e0 iomem 0xd0000 irq 10 on isa0=0D pcic0: management irq 10=0D pccard0: <PC Card bus -- kludge version> on pcic0=0D pccard1: <PC Card bus -- kludge version> on pcic0=0D sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0=0D sio0: type 16550A=0D sio1: configured irq 3 not in bitmap of probed irqs 0=0D ppc0: parallel port not found.=0D pcm0: <OPL3-SAx (YMF719)> at port 0x530-0x537,0x370-0x371 irq 5 drq 1 flags= 0xc100 on isa0=0D IPsec: Initialized Security Association Processing.=0D IP Filter: v3.4.8 initialized. Default =3D pass all, Logging =3D enabled=0D pccard: card inserted, slot 0=0D pccard: card inserted, slot 1=0D ata1-slave: ata_command: timeout waiting for intr=0D ata1-slave: identify failed=0D ad0: 2067MB <TOSHIBA MK2104MAV> [4200/16/63] at ata0-master BIOSPIO=0D acd0: CDROM <CD-220EA> at ata1-master using BIOSPIO=0D Mounting root from ufs:/dev/ad0s1a=0D WARNING: / was not properly dismounted=0D ed0 at port 0x320-0x33f irq 3 slot 0 on pccard0=0D ed0: address 00:e0:98:78:fc:6d, type Linksys (16 bit) =0D sio4 at port 0x2f8-0x2ff irq 9 slot 1 on pccard1=0D sio4: type 16550A=0D ed0: detached=0D stray irq 3=0D pccard: card disabled, slot 0=0D sio4: unloaded=0D sio4: detached=0D pccard: card disabled, slot 1=0D resumed from suspended mode (slept 00:12:52)=0D ata0: resetting devices .. done=0D ata1: resetting devices .. done=0D pccard: card inserted, slot 0=0D pccard: card inserted, slot 1=0D sio4 at port 0x2f8-0x2ff irq 9 slot 1 on pccard1=0D sio4: type 16550A=0D ed0 at port 0x320-0x33f irq 3 slot 0 on pccard0=0D ed0: address 00:e0:98:78:fc:6d, type Linksys (16 bit) =0D ed0: detached=0D stray irq 3=0D pccard: card disabled, slot 0=0D sio4: unloaded=0D sio4: detached=0D pccard: card disabled, slot 1=0D resumed from suspended mode (slept 00:00:57)=0D ata0: resetting devices .. done=0D ata1: resetting devices .. done=0D pccard: card inserted, slot 0=0D pccard: card inserted, slot 1=0D sio4 at port 0x2f8-0x2ff irq 9 slot 1 on pccard1=0D sio4: type 16550A=0D ed0 at port 0x320-0x33f irq 3 slot 0 on pccard0=0D ed0: address 00:e0:98:78:fc:6d, type Linksys (16 bit) =0D ed0: promiscuous mode enabled=0D ed0: NIC memory corrupt - invalid packet length 1=0D ed0: promiscuous mode disabled=0D =0D =0D Fatal trap 12: page fault while in kernel mode=0D fault virtual address =3D 0x123da=0D fault code =3D supervisor read, page not present=0D instruction pointer =3D 0x8:0xc01e730d=0D stack pointer =3D 0x10:0xc033fbfc=0D frame pointer =3D 0x10:0xc033fc1c=0D code segment =3D base 0x0, limit 0xfffff, type 0x1b=0D =3D DPL 0, pres 1, def32 1, gran 1=0D processor eflags =3D interrupt enabled, resume, IOPL =3D 3=0D current process =3D Idle=0D interrupt mask =3D =0D panic: from debugger=0D panic: from debugger=0D Uptime: 33m53s=0D =0D dumping to dev #ad/0x20001, offset 335744=0D dump ata0: resetting devices .. done=0D 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 =0D ---=0D #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:469=0D 469 if (dumping++) {=0D (kgdb) where=0D #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:469=0D #1 0xc018b83b in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:3= 09=0D #2 0xc018bbd1 in panic (fmt=3D0xc02fab94 "from debugger")=0D at /usr/src/sys/kern/kern_shutdown.c:556=0D #3 0xc0141e1d in db_panic (addr=3D-1071746291, have_addr=3D0, count=3D-1, = =0D modif=3D0xc033fa68 "") at /usr/src/sys/ddb/db_command.c:433=0D #4 0xc0141dbd in db_command (last_cmdp=3D0xc0345f4c, cmd_table=3D0xc0345da= c, =0D aux_cmd_tablep=3D0xc038a8f0) at /usr/src/sys/ddb/db_command.c:333=0D #5 0xc0141e82 in db_command_loop () at /usr/src/sys/ddb/db_command.c:455=0D #6 0xc0143f8f in db_trap (type=3D12, code=3D0) at /usr/src/sys/ddb/db_trap= .c:71=0D #7 0xc02d0546 in kdb_trap (type=3D12, code=3D0, regs=3D0xc033fbbc)=0D at /usr/src/sys/i386/i386/db_interface.c:158=0D #8 0xc02df62c in trap_fatal (frame=3D0xc033fbbc, eva=3D74714)=0D at /usr/src/sys/i386/i386/trap.c:946=0D #9 0xc02df305 in trap_pfault (frame=3D0xc033fbbc, usermode=3D0, eva=3D7471= 4)=0D at /usr/src/sys/i386/i386/trap.c:844=0D #10 0xc02dee7b in trap (frame=3D{tf_fs =3D 16, tf_es =3D 16, tf_ds =3D 16, = =0D tf_edi =3D -65536, tf_esi =3D 0, tf_ebp =3D -1070334948, tf_isp =3D -= 1070335000, =0D tf_ebx =3D -1064378368, tf_edx =3D -1059952256, tf_ecx =3D -106437830= 8, =0D tf_eax =3D 74676, tf_trapno =3D 12, tf_err =3D 0, tf_eip =3D -1071746= 291, =0D tf_cs =3D 8, tf_eflags =3D 78342, tf_esp =3D -1064378368, tf_ss =3D 0= })=0D at /usr/src/sys/i386/i386/trap.c:443=0D #11 0xc01e730d in ip_input (m=3D0xc08ee000)=0D at /usr/src/sys/netinet/ip_input.c:492=0D ---Type <return> to continue, or q <return> to quit--- =08=1B[K=0D #12 0xc01e764f in ipintr () at /usr/src/sys/netinet/ip_input.c:759=0D (kgdb) help=0D List of classes of commands:=0D =0D aliases -- Aliases of other commands=0D breakpoints -- Making program stop at certain points=0D data -- Examining data=0D files -- Specifying and examining files=0D internals -- Maintenance commands=0D obscure -- Obscure features=0D running -- Running the program=0D stack -- Examining the stack=0D status -- Status inquiries=0D support -- Support facilities=0D tracepoints -- Tracing of program execution without stopping the program=0D user-defined -- User-defined commands=0D =0D Type "help" followed by a class name for a list of commands in that class.= =0D Type "help" followed by command name for full documentation.=0D Command name abbreviations are allowed if unambiguous.=0D (kgdb) s=08 =08=07bt=0D #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:469=0D #1 0xc018b83b in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:3= 09=0D #2 0xc018bbd1 in panic (fmt=3D0xc02fab94 "from debugger")=0D at /usr/src/sys/kern/kern_shutdown.c:556=0D #3 0xc0141e1d in db_panic (addr=3D-1071746291, have_addr=3D0, count=3D-1, = =0D modif=3D0xc033fa68 "") at /usr/src/sys/ddb/db_command.c:433=0D #4 0xc0141dbd in db_command (last_cmdp=3D0xc0345f4c, cmd_table=3D0xc0345da= c, =0D aux_cmd_tablep=3D0xc038a8f0) at /usr/src/sys/ddb/db_command.c:333=0D #5 0xc0141e82 in db_command_loop () at /usr/src/sys/ddb/db_command.c:455=0D #6 0xc0143f8f in db_trap (type=3D12, code=3D0) at /usr/src/sys/ddb/db_trap= .c:71=0D #7 0xc02d0546 in kdb_trap (type=3D12, code=3D0, regs=3D0xc033fbbc)=0D at /usr/src/sys/i386/i386/db_interface.c:158=0D #8 0xc02df62c in trap_fatal (frame=3D0xc033fbbc, eva=3D74714)=0D at /usr/src/sys/i386/i386/trap.c:946=0D #9 0xc02df305 in trap_pfault (frame=3D0xc033fbbc, usermode=3D0, eva=3D7471= 4)=0D at /usr/src/sys/i386/i386/trap.c:844=0D #10 0xc02dee7b in trap (frame=3D{tf_fs =3D 16, tf_es =3D 16, tf_ds =3D 16, = =0D tf_edi =3D -65536, tf_esi =3D 0, tf_ebp =3D -1070334948, tf_isp =3D -= 1070335000, =0D tf_ebx =3D -1064378368, tf_edx =3D -1059952256, tf_ecx =3D -106437830= 8, =0D tf_eax =3D 74676, tf_trapno =3D 12, tf_err =3D 0, tf_eip =3D -1071746= 291, =0D tf_cs =3D 8, tf_eflags =3D 78342, tf_esp =3D -1064378368, tf_ss =3D 0= })=0D at /usr/src/sys/i386/i386/trap.c:443=0D #11 0xc01e730d in ip_input (m=3D0xc08ee000)=0D at /usr/src/sys/netinet/ip_input.c:492=0D ---Type <return> to continue, or q <return> to quit--- =08=1B[K=0D #12 0xc01e764f in ipintr () at /usr/src/sys/netinet/ip_input.c:759=0D (kgdb) quit=0D root-venus> exit=0D exit=0D Script done on Mon Jan 22 14:52:29 2001 --MGYHOYXEY6WxJCY8-- --hHWLQfXTYDoKhP50 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6bNREfHaK+uurIAQRApWxAJ4i0kMw7e+4JO0xRqPa0UdFvmiknACg0llV un3bVZnLHRnqGuLi0/PhDXk= =QEkB -----END PGP SIGNATURE----- --hHWLQfXTYDoKhP50-- 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?20010122164556.A1772>