From owner-freebsd-current@FreeBSD.ORG Wed Feb 8 15:34:28 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DFF9316A420 for ; Wed, 8 Feb 2006 15:34:28 +0000 (GMT) (envelope-from Cy.Schubert@komquats.com) Received: from spqr.komquats.com (S0106002078125c0c.gv.shawcable.net [24.108.150.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76F3A43D48 for ; Wed, 8 Feb 2006 15:34:27 +0000 (GMT) (envelope-from Cy.Schubert@komquats.com) Received: from cwsys.cwsent.com (cwsys [10.1.1.1]) by spqr.komquats.com (Postfix) with ESMTP id BBED34C5C5 for ; Wed, 8 Feb 2006 07:34:25 -0800 (PST) Received: from cwsys (localhost [127.0.0.1]) by cwsys.cwsent.com (8.13.4/8.13.4) with ESMTP id k18FYOFe075677 for ; Wed, 8 Feb 2006 07:34:24 -0800 (PST) (envelope-from Cy.Schubert@komquats.com) Message-Id: <200602081534.k18FYOFe075677@cwsys.cwsent.com> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.0.4 From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.komquats.com/ To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 08 Feb 2006 07:34:24 -0800 Sender: Cy.Schubert@komquats.com Subject: Panic In mi_switch+0x7e X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Cy Schubert List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2006 15:34:29 -0000 I issue the reboot command and the system panics and drops into DDB. Rebooting... /boot/kernel/kernel text=0x2e7b04 data=0x39924+0x2ef28 syms=[0x4+0x44260+0x4+0x560a3] no such file or directory \ Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel] in 52 seconds... Type '?' for a list of commands, 'help' for more detailed help. OK include /boot/cwtest/current | cwtest/current loader file selected unload complete currdev set to disk2s1a: /boot/kernel/kernel text=0x4e5698 data=0x84cc0+0xa02ac syms=[0x4+0x68770+0x4+0x7fd36] new kernel has been loaded OK boot -d GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb KDB: enter: Boot flags requested debugger [thread pid 0 tid 0 ] Stopped at kdb_enter+0x2b: nop db> c Copyright (c) 1992-2006 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 7.0-CURRENT #0: Tue Feb 7 19:56:45 PST 2006 root@cwsys:/export/obj/opt/src/cvs-current/src/sys/GENERIC WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium/P54C (119.75-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping = 12 Features=0x1bf real memory = 83886080 (80 MB) avail memory = 72331264 (68 MB) Intel Pentium detected, installing workaround for F00F bug npx0: [FAST] npx0: on motherboard npx0: INT 16 interface cpu0 on motherboard pcib0: pcibus 0 on motherboard pci0: on pcib0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0 x376,0xf000-0xf00f at device 7.1 on pci0 ata0: on atapci0 ata1: on atapci0 xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0x6000-0x607f mem 0xe1001000-0xe100107f irq 5 at device 18.0 on pci0 miibus0: on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:50:da:80:28:96 ahc0: port 0x6100-0x61ff mem 0xe1000000-0xe1000fff irq 5 at device 19.0 on pci0 ahc0: [GIANT-LOCKED] aic7870: Single Channel A, SCSI Id=7, 16/253 SCBs vgapci0: port 0x6200-0x62ff mem 0xe0000000-0xe0ffffff,0xe1002000-0xe1002fff irq 9 at device 20.0 on pci0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xca7ff,0xdc000-0xd ffff pnpid ORM0000 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] ed0 at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0 ed0: Ethernet address: 00:40:05:55:fe:74 ed0: type NE2000 (16 bit) fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 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, console sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 aha1 at port 0x330-0x333 irq 11 drq 5 on isa0 aha1: AHA-1542CF FW Rev. C.0 (ID=45) SCSI Host Adapter, SCSI ID 7, 16 CCBs aha1: [GIANT-LOCKED] unknown: can't assign resources (port) unknown: can't assign resources (memory) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) Timecounter "TSC" frequency 119753276 Hz quality 800 Timecounters tick every 10.000 msec Waiting 5 seconds for SCSI devices to settle ad0: 408MB at ata0-master WDMA1 ad2: 76351MB at ata1-master WDMA2 acd0: CDROM at ata1-slave PIO4 da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da0: 1030MB (2110812 512 byte sectors: 64H 32S/T 1030C) da1 at ahc0 bus 0 target 2 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 10.000MB/s transfers (10.000MHz, offset 8) da1: 810MB (1660299 512 byte sectors: 64H 32S/T 810C) Trying to mount root from ufs:/dev/ad2s1a Loading configuration files. /dev/ad0s1b is smaller than physical memory Entropy harvesting: interrupts ethernet point_to_point kickstart. swapon: adding /dev/ad0s1b as swap device swapon: /dev/da0s1b: No such file or directory swapon: adding /dev/da1s1b as swap device swapon: adding /dev/ad2s1b as swap device Starting file system checks: /dev/ad2s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ad2s1a: clean, 181318 free (782 frags, 22567 blocks, 0.2% fragmentation) /dev/da1s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/da1s1a: clean, 507827 free (5611 frags, 62777 blocks, 0.8% fragmentation) /dev/ad0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ad0s1a: clean, 262049 free (1097 frags, 32619 blocks, 0.3% fragmentation) /dev/ad2s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ad2s1e: clean, 2533185 free (6633 frags, 315819 blocks, 0.2% fragmentation)/dev/da0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/da0s1a: clean, 230364 free (3012 frags, 28419 blocks, 0.6% fragmentation) /dev/ad2s1g: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ad2s1g: clean, 27765390 free (91046 frags, 3459293 blocks, 0.1% fragmentation) /dev/da0s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/da0s1e: clean, 177150 free (5022 frags, 21516 blocks, 1.1% fragmentation) mount option is unknown mount_mfs: mount exited with error code 1 Setting hostname: cwtest. vfs.nfsrv.async: 0 -> 1 xl0: link state changed to UP ed0: flags=8843 mtu 1500 inet6 fe80::240:5ff:fe55:fe74%ed0 prefixlen 64 tentative scopeid 0x2 inet 10.1.1.2 netmask 0xffffff00 broadcast 10.1.1.255 ether 00:40:05:55:fe:74 xl0: flags=8843 mtu 1500 options=9 inet6 fe80::250:daff:fe80:2896%xl0 prefixlen 64 tentative scopeid 0x1 inet 10.1.2.2 netmask 0xffffff00 broadcast 10.1.2.255 ether 00:50:da:80:28:96 media: Ethernet autoselect (10baseT/UTP) status: active lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 add net default: gateway 10.1.2.254 Additional routing options:. Starting devd. Mounting NFS file systems:. Creating and/or trimming log files:. Starting syslogd. Checking for core dump on /dev/ad0s1b... savecore: no dumps found Starting rpcbind. Setting NIS domain: cwsent.com. Starting ypxfrd. Starting ypserv. Starting ypbind. NFS access cache time=0 Starting amd. Clearing /tmp. ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib /usr/local/krb5/lib /usr/local/libdata/ldconfig/mysql a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout /usr/local/lib/aout /usr/local/krb5/lib/aout ldconfig: /usr/lib/aout: No such file or directory Starting mountd. Feb 8 07:23:38 cwtest mountd[405]: bad exports list line /dsk02 Feb 8 07:23:39 cwtest mountd[405]: -alldirs requested but /foobar is not a filesystem mountpoint Feb 8 07:23:39 cwtest mountd[405]: bad exports list line /foobar -alldirs -maproot Starting nfsd. Starting timed. Starting local daemons:removing old files: /var/preserve /tmp /var/tmp. loading kernel modules: aout. starting local daemons:. . Starting lpd. Updating motd. Configuring syscons: keyrate blanktime screensaver. Starting sshd. Starting sendmail. Initial i386 initialization:. Additional ABI support: linux. Starting cron. Local package initialization:. Additional TCP options:. /etc/rc.d/sysctl: WARNING: sysctl debug.watchdog.timeout does not exist. Starting inetd. Starting background file system checks in 60 seconds. Wed Feb 8 07:24:08 PST 2006 Access to, or unauthorized use of data on this computer by any person other than authorized person(s) or owner(s) of an account is strictly prohibited and may result in legal action against such person. FreeBSD/i386 (cwtest) (console) login: Feb 8 07:24:37 cwtest reboot: rebooted by root FFFFFWaiting (max 60 seconds) for system process `vnlru' to stop...done Waiting (max 60 seconds) for system process `bufdaemon' to stop...done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining...1 0 1 0 0 done All buffers synced. Uptime: 2m26s (da1:ahc0:0:2:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (da1:ahc0:0:2:0): Sense Error Code 0x80 at block no. 2097152 (decimal) kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x0 fault code = supervisor write, page not present instruction pointer = 0x20:0xc067a1fe stack pointer = 0x28:0xc6ee19fc frame pointer = 0x28:0xc6ee1a44 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 594 (reboot) [thread pid 594 tid 100071 ] Stopped at mi_switch+0x7e: addl %eax,0(%eax) db> trace Tracing pid 594 tid 100071 td 0xc18b91a0 mi_switch(0,0,0,1,c6ee0e6c) at mi_switch+0x7e db> show registers cs 0x20 ds 0x28 es 0x28 fs 0x8 ss 0x28 eax 0 ecx 0xc18b91a0 edx 0xc6ee1d90 ebx 0x1745c0b8 esp 0xc6ee19fc ebp 0xc6ee1a44 esi 0xc19c82ec edi 0xc18b91a0 eip 0xc067a1fe mi_switch+0x7e efl 0x90086 dr0 0 dr1 0 dr2 0 dr3 0 dr4 0xffff0ff0 dr5 0x400 dr6 0xffff0ff0 dr7 0x400 mi_switch+0x7e: addl %eax,0(%eax) db> Cheers, Cy Schubert Web: http://www.komquats.com and http://www.bcbodybuilder.com FreeBSD UNIX: Web: http://www.FreeBSD.org BC Government: "Lift long enough and I believe arrogance is replaced by humility and fear by courage and selfishness by generosity and rudeness by compassion and caring." -- Dave Draper