From owner-freebsd-stable@FreeBSD.ORG Wed Apr 19 02:21:43 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD05316A402 for ; Wed, 19 Apr 2006 02:21:43 +0000 (UTC) (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 74DE443D58 for ; Wed, 19 Apr 2006 02:21:42 +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 813DC4C5CE for ; Tue, 18 Apr 2006 19:21:41 -0700 (PDT) Received: from cwsys (localhost [127.0.0.1]) by cwsys.cwsent.com (8.13.6/8.13.6) with ESMTP id k3J2Cmfl011934 for ; Tue, 18 Apr 2006 19:14:24 -0700 (PDT) (envelope-from Cy.Schubert@komquats.com) Message-Id: <200604190214.k3J2Cmfl011934@cwsys.cwsent.com> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.komquats.com/ To: freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 18 Apr 2006 19:12:48 -0700 Sender: Cy.Schubert@komquats.com Subject: AHC Panic X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Cy Schubert List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Apr 2006 02:21:43 -0000 I've finally been able to capture the panic, as now it occurs even with DDB configured. Of the six machines I have running 6.1-RC (CVSupped today), this is the only one that does this. /boot/kernel/kernel text=0x30c488 data=0x3b6a0+0x3170c syms=[0x4+0x46430+0x4+0x58da4] no such file or directory - Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb 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 6.1-RC #0: Tue Apr 18 17:26:44 PDT 2006 root@cwsys:/export/obj/opt/src/cvs-stable6/src/sys/DEBUG 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 = 72531968 (69 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,0x376,0xf000-0xf00f at device 7.1 on pci0 ata0: on atapci0 ata1: on atapci0 ahc0: port 0x6000-0x60ff mem 0xe1000000-0xe1000fff irq 12 at device 19.0 on pci0 ahc0: [GIANT-LOCKED] aic7870: Single Channel A, SCSI Id=7, 16/253 SCBs pci0: at device 20.0 (no driver attached) pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xca7ff,0xdc000-0xdffff 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 fd1: <1200-KB 5.25" drive> on fdc0 drive 1 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 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 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) ed1: at port 0x220-0x23f irq 5 on isa0 ed1: Ethernet address: 00:e0:29:7d:84:0b ed1: type RTL8019 (16 bit) Timecounter "TSC" frequency 119752915 Hz quality 800 Timecounters tick every 10.000 msec ad0: 408MB at ata0-master WDMA1 ad2: 76351MB at ata1-master WDMA2 acd0: CDROM at ata1-slave PIO4 Waiting 5 seconds for SCSI devices to settle 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) cd0 at ata1 bus 0 target 1 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 16.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/ad0s1a Loading configuration files. kernel dumps on /dev/ad2s1b Entropy harvesting: interrupts ethernet point_to_point kickstart. swapon: adding /dev/ad0s1b as swap device swapon: adding /dev/da0s1b as swap device swapon: adding /dev/da1s1b as swap device swapon: adding /dev/ad2s1b as swap device Starting file system checks: /dev/ad0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ad0s1a: clean, 103068 free (772 frags, 12787 blocks, 0.2% fragmentation) fsck: /dev/da1s1a in fstab more than once! /dev/ad2s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ad2s1e: clean, 2532761 free (6993 frags, 315721 blocks, 0.3% fragmentation)/dev/ad2s1g: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/da1s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ad2s1g: clean, 35322687 free (74535 frags, 4406019 blocks, 0.1% fragmentation) /dev/da1s1a: clean, 508234 free (6146 frags, 62761 blocks, 0.8% fragmentation) /dev/da0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/da0s1a: clean, 224734 free (670 frags, 28008 blocks, 0.1% fragmentation) /dev/ad2s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ad2s1a: clean, 123038 free (1206 frags, 15229 blocks, 0.3% fragmentation) /dev/da0s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/da0s1e: clean, 177737 free (1441 frags, 22037 blocks, 0.3% fragmentation) Setting hostname: cwtest. vfs.nfsrv.async: 0 -> 1 ed0: flags=8843 mtu 1500 inet6 fe80::240:5ff:fe55:fe74%ed0 prefixlen 64 tentative scopeid 0x1 inet 10.1.1.2 netmask 0xffffff00 broadcast 10.1.1.255 ether 00:40:05:55:fe:74 ed1: flags=8843 mtu 1500 inet6 fe80::2e0:29ff:fe7d:840b%ed1 prefixlen 64 tentative scopeid 0x2 inet 10.1.2.2 netmask 0xffffff00 broadcast 10.1.2.255 ether 00:e0:29:7d:84:0b media: Ethernet autoselect (10baseT/UTP) lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 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/ad2s1b... savecore: reboot after panic: page fault Apr 18 18:50:06 cwtest savecore: reboot after panic: page fault savecore: no dump, not enough free space on device (75202 available, need 81542)savecore: unsaved dumps found but not saved Initial i386 initialization:. Additional ABI support: linux/compat/linux/sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Read-only file system . 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/graphviz /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. Apr 18 18:50:23 cwtest mountd[422]: bad exports list line /dsk02 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. 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. Tue Apr 18 18:50:35 PDT 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: Apr 18 19:05:08 cwtest rA AAWaiting (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 1 0 0 0 0 done All buffers synced. Uptime: 15m49s (da0:ahc0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (da0:ahc0:0:0:0): Sense Error Code 0xa0 at block no. -1073741792 (decimal) Fatal trap 12: page fault while in kernel mode fault virtual address = 0x4 fault code = supervisor read, page not present instruction pointer = 0x20:0xc043ee58 stack pointer = 0x28:0xc6aadc40 frame pointer = 0x28:0xc6aadc40 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 = 22 (irq12: ahc0) [thread pid 22 tid 100024 ] Stopped at xpt_freeze_devq+0x18: movl 0x4(%eax),%eax db> tr Tracing pid 22 tid 100024 td 0xc1619600 xpt_freeze_devq(c16c8300,1) at xpt_freeze_devq+0x18 ahc_handle_seqint(c1583800,71) at ahc_handle_seqint+0x224 ahc_platform_intr(c1583800) at ahc_platform_intr+0x20a ithread_execute_handlers(c1618624,c1589780) at ithread_execute_handlers+0x125 ithread_loop(c16156a0,c6aadd38) at ithread_loop+0x56 fork_exit(c0524560,c16156a0,c6aadd38) at fork_exit+0x6f fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xc6aadd6c, ebp = 0 --- db> show registers cs 0x20 ds 0x28 es 0x28 fs 0x8 ss 0x28 eax 0 ecx 0xc16c8300 edx 0xc16c6634 ebx 0xc6abd200 esp 0xc6aadc40 ebp 0xc6aadc40 esi 0xc1583800 edi 0xc161e1c0 eip 0xc043ee58 xpt_freeze_devq+0x18 efl 0x90282 dr0 0 dr1 0 dr2 0 dr3 0 dr4 0xffff0ff0 dr5 0x400 dr6 0xffff0ff0 dr7 0x400 xpt_freeze_devq+0x18: movl 0x4(%eax),%eax db> -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org e**(i*pi)+1=0