From owner-freebsd-current Fri Jan 1 15:30:02 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA07731 for freebsd-current-outgoing; Fri, 1 Jan 1999 15:30:02 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA07661 for ; Fri, 1 Jan 1999 15:30:00 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.1/8.9.1) id PAA18171; Fri, 1 Jan 1999 15:29:20 -0800 (PST) (envelope-from dillon) Date: Fri, 1 Jan 1999 15:29:20 -0800 (PST) From: Matthew Dillon Message-Id: <199901012329.PAA18171@apollo.backplane.com> To: Garrett Wollman Cc: current@FreeBSD.ORG Subject: Re: object inconsistant state: RPC: 1, RC: 0 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :I just updated my kernel on one machine from about October to :yesterday's latest, and I'm suddenly getting a lot of these messages: : :Jan 1 15:50:40 xyz /kernel: object inconsistant state: RPC: 3, RC: 0 :Jan 1 15:50:40 xyz /kernel: object inconsistant state: RPC: 14, RC: 0 :Jan 1 15:50:40 xyz /kernel: object inconsistant state: RPC: 3, RC: 0 Try fsck'ing all your filesystems manually from single-user. It also looks like this code segment runs at splbio(), which is not high enough since vm_page_free() can mess with the vnode_tobefree list without using the vnode_free_list_slock. It needs to run at splvm() at the very least. Try changing: s = splbio(); to: s = splvm(); At around line 395 if kern/vfs_subr.c, in getnewvnode(). I dunno if this will solve the errors you are getting, though, since I run a pretty-heavily networked box and don't see these errors at all (and the difference between splbio() and splvm() is the addition of the network mask). If you can find some way to reproduce it on demand we might be able to track down exactly what is causing it. Are you using your network heavily? NFS (server or client)? -Matt :Jan 1 15:50:40 xyz /kernel: object inconsistant state: RPC: 14, RC: 0 :Jan 1 15:50:40 xyz /kernel: object inconsistant state: RPC: 36, RC: 0 :Jan 1 15:50:40 xyz /kernel: object inconsistant state: RPC: 36, RC: 0 :Jan 1 15:50:40 xyz /kernel: object inconsistant state: RPC: 1, RC: 0 :Jan 1 15:50:40 xyz /kernel: object inconsistant state: RPC: 1, RC: 0 :Jan 1 15:50:40 xyz /kernel: object inconsistant state: RPC: 42, RC: 0 :Jan 1 15:50:40 xyz /kernel: object inconsistant state: RPC: 42, RC: 0 :Jan 1 15:50:40 xyz /kernel: object inconsistant state: RPC: 2, RC: 0 :Jan 1 15:50:40 xyz /kernel: object inconsistant state: RPC: 2, RC: 0 :Jan 1 15:50:40 xyz /kernel: object inconsistant state: RPC: 2, RC: 0 :Jan 1 15:50:40 xyz /kernel: object inconsistant state: RPC: 2, RC: 0 : :...every time I access the filesystem (e.g., with `ls'). Since this :makes the machine unusable, I have for the moment commented out the :message. This message was added in rev. 1.134 (1998-02-23) by dyson :with a log message indicating that the condition should not occur. It :appeared to have been triggered (the first time) by a `ps' command. : :Anybody have any better ideas on what's going on here? For the :record, this is a dual-processor SMP, with nothing else special about :its configuration. : :Message buffer contains: : :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.0-CURRENT #11: Fri Jan 1 15:49:12 EST 1999 : root@xyz.lcs.mit.edu:/usr/src/sys/compile/XYZ :Timecounter "i8254" frequency 1193182 Hz :CPU: Pentium Pro (686-class CPU) : Origin = "GenuineIntel" Id = 0x619 Stepping=9 : Features=0xfbff :real memory = 268435456 (262144K bytes) :avail memory = 258490368 (252432K bytes) :Programming 24 pins in IOAPIC #0 :FreeBSD/SMP: Multiprocessor motherboard : cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfec08000 : cpu1 (AP): apic id: 4, version: 0x00040011, at 0xfec08000 : io0 (APIC): apic id: 13, version: 0x00170011, at 0xfec00000 :Preloaded elf kernel "kernel" at 0xf0255000. :Preloaded elf module "star_saver.ko" at 0xf025509c. :Probing for devices on PCI bus 0: :chip0: rev 0x02 on pci0.0.0 :chip1: rev 0x01 on pci0.18.0 :chip2: rev 0x01 on pci0.20.0 :Probing for devices on PCI bus 1: :ahc0: rev 0x00 int a irq 17 on pci1.5.0 :ahc0: Using left over BIOS settings :ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs :ed1: rev 0x00 int a irq 16 on pci1.8.0 :ed1: address 00:20:78:14:a1:4b, type NE2000 (16 bit) :fxp0: rev 0x01 int a irq 18 on pci1.10.0 :fxp0: Ethernet address 00:a0:c9:06:b2:1d :vga0: rev 0x22 on pci1.15.0 :Probing for devices on the ISA bus: :sc0 at 0x60-0x6f irq 1 on motherboard :sc0: VGA color <16 virtual consoles, flags=0x0> :ed0 not found at 0x280 :sio0 at 0x3f8-0x3ff irq 4 on isa :sio0: type 16550A :psm0 at 0x60-0x64 irq 12 on motherboard :psm0: model Generic PS/2 mouse, device ID 0 :fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa :fdc0: FIFO enabled, 8 bytes threshold :fd0: 1.44MB 3.5in :npx0 flags 0x1 on motherboard :npx0: INT 16 interface :APIC_IO: routing 8254 via 8259 on pin 0 :Waiting 2 seconds for SCSI devices to settle :SMP: AP CPU #1 Launched! :pt0 at ahc0 bus 0 target 6 lun 0 :pt0: Fixed Processor SCSI-2 device :pt0: 3.300MB/s transfers :sa0 at ahc0 bus 0 target 3 lun 0 :sa0: Removable Sequential Access SCSI-2 device :sa0: 5.0MB/s transfers (5.0MHz, offset 15) :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 (17783240 512 byte sectors: 64H 32S/T 8683C) :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: 4148MB (8496960 512 byte sectors: 64H 32S/T 4148C) :da2 at ahc0 bus 0 target 10 lun 0 :da2: Fixed Direct Access SCSI-2 device :da2: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled :da2: 4340MB (8888924 512 byte sectors: 64H 32S/T 4340C) :changing root device to da0s1a :(da0:ahc0:0:0:0): tagged openings now 64 :(da0:ahc0:0:0:0): tagged openings now 63 :cd0 at ahc0 bus 0 target 5 lun 0 :cd0: Removable CD-ROM SCSI-2 device :cd0: 4.901MB/s transfers (4.901MHz, offset 15) :cd0: Attempt to query device size failed: NOT READY, Medium not present : :[wow! I didn't realize that the PPro has a `somebody else's problem' :feature!] : :-GAWollman : :-- :Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same :wollman@lcs.mit.edu | O Siem / The fires of freedom :Opinions not those of| Dance in the burning flame :MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick : :To Unsubscribe: send mail to majordomo@FreeBSD.org :with "unsubscribe freebsd-current" in the body of the message : Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet Communications & God knows what else. (Please include original email in any response) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message