From owner-freebsd-hackers Mon Jun 21 13:49:10 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from gatekeeper.ctxuk.citrix.com (gatekeeper.ctxuk.citrix.com [195.153.38.114]) by hub.freebsd.org (Postfix) with ESMTP id 2D0A814F42 for ; Mon, 21 Jun 1999 13:49:00 -0700 (PDT) (envelope-from KevinQ@ctxuk.citrix.com) Received: from sh.ctxuk.citrix.com (sh.ctxuk.citrix.com [10.30.224.4]) by gatekeeper.ctxuk.citrix.com (8.8.7/BSCF-1.7) with ESMTP id VAA14716 for ; Mon, 21 Jun 1999 21:48:59 +0100 (BST) Received: from ukmail1.ctxuk.citrix.com (ukmail1.ctxuk.citrix.com [10.30.224.36]) by sh.ctxuk.citrix.com (8.8.7/BSCF-1.7) with ESMTP id VAA19942 for ; Mon, 21 Jun 1999 21:48:57 +0100 (BST) Received: by ukmail1.ctxuk.citrix.com with Internet Mail Service (5.5.2232.9) id ; Mon, 21 Jun 1999 21:48:57 +0100 Message-ID: From: "Kevin Quinlan (UK)" To: freebsd-hackers@freebsd.org Subject: Kernel crashes using FreeBSD 3.1 (reproduceable) Date: Mon, 21 Jun 1999 21:48:46 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2232.9) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I asked this question on freebsd-questions a couple of weeks ago, got a couple of answers and then I was away from work for a couple of weeks. One answer that I got suggested that I ask this forum, so here goes: I have a standard Dell Poweredge 2300 running FreeBSD 3.1. When running cvsup on this machine, the kernel crashes every time about a minute after starting cvsup. The kernel that was used in generating the following traces and dmesg output, is a custom kernel, but the problem is just as reproduceable with the Generic kernel. I have checked the disks using the utility built in to the Adaptec controller, but this has not revealed any problems with the disks. I have checked the bug database at freebsd.org, and there are a couple of references to similar crashes, but no recommended fixes or patches. I cannot build a current kernel as I can't get cvsup to copy the files over, so I am interested if anyone knows what causes this problem, and if there are any known fixes or workarounds. Thanks Kevin Quinlan dmesg output: Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.1-RELEASE #2: Wed Jun 2 18:20:26 BST 1999 root@unixmon:/usr/src/sys/compile/PRODUCTION Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 332387832 Hz CPU: Pentium II/Xeon/Celeron (332.39-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x651 Stepping=1 Features=0x183fbff> real memory = 134217728 (131072K bytes) avail memory = 127397888 (124412K bytes) Preloaded elf kernel "kernel" at 0xf02fc000. eisa0: Probing for devices on the EISA bus Probing for devices on PCI bus 0: Correcting Natoma config for non-SMP chip0: rev 0x02 on pci0.0.0 chip1: rev 0x15 on pci0.13.0 ahc0: rev 0x00 int a irq 14 on pci0.15.0 ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs xl0: <3Com 3c905 Fast Etherlink XL 10/100BaseTX> rev 0x00 int a irq 15 on pci0.18.0 xl0: Ethernet address: 00:60:08:66:7f:ec xl0: autoneg complete, link status good (half-duplex, 10Mbps) vga0: rev 0x40 on pci0.20.0 Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=0x0> atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 irq 12 on isa psm0: model Generic PS/2 mouse, device ID 0 sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A pcm0 not found fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in ppc0 at 0x378 irq 7 on isa ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode nlpt0: on ppbus 0 nlpt0: Interrupt-driven port ppi0: on ppbus 0 plip0: on ppbus 0 vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface IP packet filtering initialized, divert enabled, rule-based forwarding enabled, logging limited to 100 packets/entry Waiting 15 seconds for SCSI devices to settle changing root device to da0s1a da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled da0: 8683MB (17783249 512 byte sectors: 255H 63S/T 1106C) da1 at ahc0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled da1: 8683MB (17783249 512 byte sectors: 255H 63S/T 1106C) WARNING: / was not properly dismounted cd0 at ahc0 bus 0 target 5 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 10.0MB/s transfers (10.0MHz, offset 15) cd0: Attempt to query device size failed: NOT READY, Medium not present debug kernel output after running: /usr/local/etc/cvsup/update.sh Fatal Trap 12: page fault while in kernel mode fault virtual address = 0x40 fault code = supervisor read, page not present instruction pointer = 0x8:0xf0204f1c stack pointer = 0x10:0xf654acd8 frame pointer = 0x10:0xf654ad64 code segment = base 0x0, limit 0xffff, type 0x1b, DPL 0, pres 1, def 32, gran 1 processor eflags = interrupt enabled, resume, IOPL=0 current process = 1468 (cvsup) interuppt mask = kernel: type 12 trap, code=0 stopped at ffs_getpages+0x100: cmpw $0x2,0x40(%edx) trace: ffs_getpages(f654ae6c,f654f080,9000,0,f654aee8) at ffs_getpages+0x100 _end(f654aebc) at 0xf0b78485 vnode_pager_getpages(f6544e58,f654af18,9,0,f654af58) at vnode_pager_getpages+0x4e vm_pager_get_pages(f6544e58,f654af18,9,0) at vm_pager_get_pages+0x1f vm_fault(f64bdb00,28515000,1,0,f64b9520) at vm_fault+0x464 trap_pfault(f654afbc,1,28515000) at trap_pfault+0xd6 trap(27,27,82afc68,82afc68,8270a78) at trap+0x1aa calltrap() at calltrap+0x1c --- trap 0xc, eip=0x8087622, esp=0x8270a54, ebp=0x8270a78 --- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message