From owner-freebsd-current Thu Oct 10 4:36:21 2002 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 6969637B401 for ; Thu, 10 Oct 2002 04:36:18 -0700 (PDT) Received: from fisher.vip.uk.com (fisher.vip.uk.com [194.176.218.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EDE843E8A for ; Thu, 10 Oct 2002 04:36:12 -0700 (PDT) (envelope-from mtm98@linuxdriven.net) Received: from modem-131-41-60-62.vip.uk.com ([62.60.41.131] helo=uriel.fakedomain.net) by fisher.vip.uk.com with esmtp (Exim 3.35 #2) id 17zbbg-0001XB-00 for current@freebsd.org; Thu, 10 Oct 2002 12:35:57 +0100 Received: from uriel.fakedomain.net (localhost [127.0.0.1]) by uriel.fakedomain.net (8.12.6/8.12.3) with ESMTP id g9ABbLij000968 for ; Thu, 10 Oct 2002 12:37:28 +0100 (BST) (envelope-from mtm98@uriel.fakedomain.net) Received: (from mtm98@localhost) by uriel.fakedomain.net (8.12.6/8.12.3/Submit) id g9ABb8Qs000965 for current@freebsd.org; Thu, 10 Oct 2002 12:37:08 +0100 (BST) (envelope-from mtm98) Date: Thu, 10 Oct 2002 12:37:07 +0100 From: Michael McGoldrick To: current@freebsd.org Subject: GEOM related swap errors Message-ID: <20021010113707.GA824@uriel.fakedomain.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Since GEOM became default, I've been getting a lot of errors like these: Oct 9 17:02:19 uriel kernel: swap_pager: I/O error - pageout failed; blkno 3240 ,size 4096, error 5 Oct 9 17:02:19 uriel kernel: swap_pager: I/O error - pageout failed; blkno 1254 4,size 8192, error 5 Oct 9 17:02:19 uriel kernel: swap_pager: I/O error - pageout failed; blkno 1257 6,size 8192, error 5 These seem to go away when the kernel is built with NO_GEOM. I added a panic just below this message in swap_pager.c - backtrace attached. I haven't really looked at it yet and I won't be able to use this machine for a few hours. Any assistance appreciated. -- Michael McGoldrick: mmcgoldrick@linuxdriven.net --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=debug Content-Transfer-Encoding: quoted-printable Script started on Thu Oct 10 12:20:07 2002 uriel# gdb -k /usr/obj/usr/src/sys/URIEL/kernel.debug vmcore.0=0D=0D GNU gdb 5.2.0 (FreeBSD) 20020627=0D Copyright 2002 Free Software Foundation, Inc.=0D GDB is free software, covered by the GNU General Public License, and you ar= e=0D welcome to change it and/or distribute copies of it under certain condition= s.=0D Type "show copying" to see the conditions.=0D There is absolutely no warranty for GDB. Type "show warranty" for details.= =0D This GDB was configured as "i386-undermydesk-freebsd"...=0D panic: bremfree: bp 0xc4aac768 not locked=0D panic messages:=0D ---=0D panic: Damn swap error!=0D =0D =0D syncing disks... panic: bremfree: bp 0xc4aac768 not locked=0D Uptime: 2m40s=0D pfs_vncache_unload(): 1 entries remaining=0D Dumping 127 MB=0D ata1: resetting devices ..=0D ata1: mask=3D03 ostat0=3D50 ostat2=3D7f=0D ad2: ATAPI 00 00=0D ata1-slave: ATAPI 7f 7f=0D ata1: mask=3D03 stat0=3D50 stat1=3D7f=0D ad2: ATA 01 a5=0D ata1-slave: ATA 2d 7f=0D ata1: devices=3D01=0D ad2: success setting PIO4 on Acer chip=0D done=0D 16 32 48 64 80 96 112=0D ---=0D #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:223=0D 223 dumping++;=0D (kgdb) bt=0D #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:223=0D #1 0xc0222165 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:3= 55=0D #2 0xc02223b3 in panic () at /usr/src/sys/kern/kern_shutdown.c:508=0D #3 0xc0261177 in bremfree (bp=3D0xc4aac768) at /usr/src/sys/kern/vfs_bio.c= :632=0D #4 0xc0262c98 in vfs_bio_awrite (bp=3D0x3) at /usr/src/sys/kern/vfs_bio.c:= 1633=0D #5 0xc01ec777 in spec_fsync (ap=3D0xc982eac8)=0D at /usr/src/sys/fs/specfs/spec_vnops.c:459=0D #6 0xc01ebc18 in spec_vnoperate (ap=3D0x0)=0D at /usr/src/sys/fs/specfs/spec_vnops.c:124=0D #7 0xc0318569 in VOP_FSYNC (vp=3D0x0, cred=3D0x0, waitfor=3D0, td=3D0x0)=0D at vnode_if.h:612=0D #8 0xc0317c77 in ffs_sync (mp=3D0xc23c8200, waitfor=3D2, cred=3D0xc0bbae80= , =0D td=3D0xc03f2740) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1155=0D #9 0xc0274fa8 in sync (td=3D0xc03f2740, uap=3D0x0)=0D at /usr/src/sys/kern/vfs_syscalls.c:130=0D #10 0xc0221dac in boot (howto=3D256) at /usr/src/sys/kern/kern_shutdown.c:2= 64=0D #11 0xc02223b3 in panic () at /usr/src/sys/kern/kern_shutdown.c:508=0D #12 0xc0325c89 in swp_pager_async_iodone (bp=3D0xc4a9b1a8)=0D at /usr/src/sys/vm/swap_pager.c:1471=0D #13 0xc0264a51 in bufdone (bp=3D0xc4a9b1a8) at /usr/src/sys/kern/vfs_bio.c:= 2983=0D #14 0xc0264924 in bufdonebio (bp=3D0x0) at /usr/src/sys/kern/vfs_bio.c:2931= =0D #15 0xc02646c9 in biodone (bp=3D0x0) at /usr/src/sys/kern/vfs_bio.c:2831=0D #16 0xc01ee13e in g_dev_done (bp2=3D0xc28fe300)=0D ---Type to continue, or q to quit---=0D at /usr/src/sys/geom/geom_dev.c:353=0D #17 0xc02646c9 in biodone (bp=3D0x0) at /usr/src/sys/kern/vfs_bio.c:2831=0D #18 0xc01f07f0 in g_io_schedule_up (tp=3D0xc0bd1d00)=0D at /usr/src/sys/geom/geom_io.c:343=0D #19 0xc01f09e8 in g_up_procbody () at /usr/src/sys/geom/geom_kern.c:91=0D #20 0xc020e835 in fork_exit (callout=3D0xc01f0960 , arg=3D0x= 0, =0D frame=3D0x0) at /usr/src/sys/kern/kern_fork.c:851=0D (kgdb) uriel# ^D=08=08exit=0D Script done on Thu Oct 10 12:21:49 2002 --2oS5YaxWCcQjTEyO-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message