Date: Thu, 10 Oct 2002 12:37:07 +0100 From: Michael McGoldrick <mmcgoldrick@linuxdriven.net> To: current@freebsd.org Subject: GEOM related swap errors Message-ID: <20021010113707.GA824@uriel.fakedomain.net>
next in thread | raw e-mail | index | archive | help
--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 <return> to continue, or q <return> 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 <g_up_procbody>, 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021010113707.GA824>