Date: Mon, 15 Feb 1999 23:34:37 +0200 (SAST) From: Khetan Gajjar <khetan@chain.freebsd.os.org.za> To: current@FreeBSD.ORG Subject: Problems in VM structure ? Message-ID: <Pine.BSF.4.05.9902152325310.518-100000@chain.freebsd.os.org.za>
next in thread | raw e-mail | index | archive | help
Hi. I saw that my 4-CURRENT box from 8 February dropped to ddb after my last make world. I rebuilt world today, and the same problem is occuring. These problems started occuring after Matt Dillon's changes to the VM system. What is worrying/troubling is that in single user mode, the machine is stable, and manages to build world without a problem. When booted into multi-user mode, it's stable and usable for anywhere from 1 to 3 hours, and then panics. There are no active users on at the time, and the machine is not heavily loaded (0.0-0.2) I suspected a hardware error, so swopped all the RAM from a production machine, and it still produces the same fault. The error is panic: vm_fault: fault on nofault entry, addr : f2572000 Debugger ("panic") Stopped at Debuger+0x37: movl $0,in_Debugger When I hit c, I get this : Syncing disks... Fatal trap 12 : page fault while in kernel mode fault virtual address = 0x100008 fault code = supervisor read, page not present instruction pointer = 0x8:0xf0145d98 stack pointer = 0x10:0xf79b97fc frame pointer = 0x10:0xf79b9810 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 = 2035 (sendmail) interrupt mask = net tty bio cam kernel: type 12 trap, code=0 stopped at softclock+0x48: cmpl %esi,0x8 (%ecx) Does anyone know what this means ? The machine was idle at the time - I'm the only user, and it isn't used as a public access server. The process varies, sometimes httpd, other times sendmail. I am using CAM, softupdates and NFS (not heavily though). I haven't seen anything like this on -current or -hackers, and searching the mailing lists didn't reveal anything relevant. The only "non standard" thing I'm doing is disabling the vfs reallockblks that was causing the machine to panic months ago. I re-enabled it, and it still does the same thing. So, that's not it. I'm doing this by issuing /sbin/sysctl -w vfs.ffs.doreallocblks=0 on boot up. My kernel config and dmesg is listed below. TIA! dmesg ----- Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #0: Mon Feb 15 12:50:24 SAST 1999 root@chain.freebsd.os.org.za:/usr/src/sys/compile/CHAIN Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 200455997 Hz CPU: Pentium/P54C (200.46-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping=12 Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8> real memory = 67108864 (65536K bytes) avail memory = 62050304 (60596K bytes) Preloaded elf kernel "kernel" at 0xf02c9000. ccd0-1: Concatenated disk drivers Probing for devices on PCI bus 0: chip0: <Host to PCI bridge (vendor=1039 device=5591)> rev 0x02 on pci0.0.0 ide_pci0: <PCI IDE controller (busmaster capable)> rev 0xd0 int a irq 14 on pci0.0.1 chip1: <SiS 85c503> rev 0x01 on pci0.1.0 chip2: <PCI to PCI bridge (vendor=1039 device=0001)> rev 0x00 on pci0.2.0 vga0: <S3 Trio graphics accelerator> rev 0x53 int a irq 10 on pci0.9.0 de0: <Digital 21041 Ethernet> rev 0x11 int a irq 5 on pci0.13.0 de0: SMC 21041 [10Mb/s] pass 1.1 de0: address 00:00:c0:f9:2f:c8 Probing for devices on PCI bus 1: Probing for PnP devices: 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 IntelliMouse, device ID 3 sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa ide_pci: generic_dmainit 01f0:0: warning, IDE controller timing not set wdc0: unit 0 (wd0): <WDC AC21000H>, DMA, 32-bit, multi-block-16 wd0: 1033MB (2116800 sectors), 2100 cyls, 16 heads, 63 S/T, 512 B/S ide_pci: generic_dmainit 01f0:1: warning, IDE controller timing not set wdc0: unit 1 (wd1): <QUANTUM FIREBALL1080A>, DMA, 32-bit, multi-block-8 wd1: 1039MB (2128896 sectors), 2112 cyls, 16 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa ide_pci: generic_dmainit 0170:0: warning, IDE controller timing not set wdc1: unit 0 (wd2): <ST32140A>, DMA, 32-bit, multi-block-32 wd2: 2015MB (4127760 sectors), 4095 cyls, 16 heads, 63 S/T, 512 B/S ppc0 at 0x378 irq 7 on isa ppc0: Winbond chipset (NIBBLE-only) in COMPATIBLE mode plip0: <PLIP network interface> on ppbus 0 ppi0: <generic parallel i/o> on ppbus 0 aha0 at 0x330-0x333 irq 11 drq 6 on isa aha0: AHA-1542CF FW Rev. C.0 (ID=45) SCSI Host Adapter, SCSI ID 7, 16 CCBs npx0 on motherboard npx0: INT 16 interface vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa de0: enabling 10baseT port Intel Pentium detected, installing workaround for F00F bug IP packet filtering initialized, divert enabled, rule-based forwarding disabled, logging limited to 100 packets/entry de0 XXX: driver didn't set ifq_maxlen lo0 XXX: driver didn't set ifq_maxlen Waiting 2 seconds for SCSI devices to settle changing root device to wd1s1a da0 at aha0 bus 0 target 2 lun 0 da0: <QUANTUM LPS540S 5900> Fixed Direct Access SCSI-2 device da0: 3.300MB/s transfers da0: 516MB (1057616 512 byte sectors: 64H 32S/T 516C) da1 at aha0 bus 0 target 4 lun 0 da1: <CONNER CFA540S 14B1> Fixed Direct Access SCSI-2 device da1: 3.300MB/s transfers da1: 515MB (1056708 512 byte sectors: 64H 32S/T 515C) WARNING: / was not properly dismounted cd0 at aha0 bus 0 target 6 lun 0 cd0: <YAMAHA CRW4260 1.0q> Removable CD-ROM SCSI-2 device cd0: 3.300MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates Kernel config ------------- #bus devices controller isa0 controller pnp0 controller pci0 #scsi code + adapter controller aha0 at isa? port ? cam irq ? controller scbus0 #processor stuff machine "i386" cpu "I386_CPU" cpu "I486_CPU" cpu "I586_CPU" cpu "I686_CPU" ident CHAIN options MATH_EMULATE #Support for x87 emulation options "PQ_LARGECACHE" #enable 512kb+ l2 cache support device npx0 at isa? port IO_NPX irq 13 #performance stuff maxusers 256 options "NMBCLUSTERS=4096" options FAILSAFE #Be conservative options "CMD640" # work around CMD640 chip deficiency #networking pseudo-device loop pseudo-device ether pseudo-device tun 1 options INET #InterNETworking #filesystems options FFS #Berkeley Fast Filesystem options NFS #Network Filesystem options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options SOFTUPDATES #console stuff pseudo-device splash pseudo-device pty 128 options UCONSOLE #Allow users to grab the console options SYSVSHM options SYSVSEM options SYSVMSG options VESA options XSERVER # support for X server controller atkbdc0 at isa? port IO_KBD tty device atkbd0 at isa? tty irq 1 device psm0 at isa? tty irq 12 device vga0 at isa? port ? conflicts device sc0 at isa? tty #misc kernel tie ins pseudo-device gzip # Exec gzipped a.out's options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE options DDB options SPX_HACK options "IBCS2" #build ibcs2 into kernel options "COMPAT_LINUX" #build linux into kernel options "VM86" #posix code options "P1003_1B" options "_KPOSIX_PRIORITY_SCHEDULING" options "_KPOSIX_VERSION=199309L" #security stuff options IPFIREWALL #firewall options IPFIREWALL_VERBOSE #print information about # dropped packets options "IPFIREWALL_VERBOSE_LIMIT=100" #limit verbosity options IPDIVERT options "ICMP_BANDLIM" options "MD5" pseudo-device bpfilter 2 #Berkeley packet filter pseudo-device snp 2 #disk stuff pseudo-device ccd 2 config kernel root on wd0 #floppy controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 disk fd0 at fdc0 drive 0 #primary ide channel controller wdc0 at isa? port "IO_WD1" bio irq 14 flags 0xa0ffa0ff disk wd0 at wdc0 drive 0 disk wd1 at wdc0 drive 1 #secondary ide channel controller wdc1 at isa? port "IO_WD2" bio irq 15 flags 0xa0ffa0ff disk wd2 at wdc1 drive 0 disk wd3 at wdc1 drive 1 #scsi devices device da0 device cd0 device pass0 #other devices #network card device de0 #serial port device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 device sio1 at isa? port "IO_COM2" tty irq 3 #parallel port device ppc0 at isa? port? net irq 7 controller ppbus0 device nlpt0 at ppbus? device plip0 at ppbus? device ppi0 at ppbus? --- Khetan Gajjar (!kg1779) * khetan@iafrica.com ; khetan@os.org.za http://www.os.org.za/~khetan * Talk/Finger khetan@chain.freebsd.os.org.za FreeBSD enthusiast * http://www2.za.freebsd.org/ Security-wise, NT is a OS with a "kick me" sign taped to it To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9902152325310.518-100000>