Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Apr 2000 17:38:01 +0200 (CEST)
From:      Soren Schmidt <sos@freebsd.dk>
To:        vallo@matti.ee
Cc:        ticso@cicely.de (Bernd Walter), grog@lemis.com (Greg Lehey), freebsd-current@FreeBSD.ORG
Subject:   Re: Deadlock with vinum raid5
Message-ID:  <200004021538.RAA15130@freebsd.dk>
In-Reply-To: <20000402171700.A69460@myhakas.matti.ee> from Vallo Kallaste at "Apr 2, 2000 05:17:00 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
It seems Vallo Kallaste wrote:
> On Sun, Apr 02, 2000 at 03:39:35PM +0200, Vallo Kallaste <vallo@myhakas.matti.ee> wrote:
> 
> > I hook up serial console to get full traceback next time, but I don't
> > have any knowledge for further analysis.
> 
> Here's full traceback, environment is all same, except the filesystem is
> mounted with async (before it was default, which is nosync I guess):
> 
> sh-2.03# cd /usr
> sh-2.03# pax -r -pe -f /mnt/usr.pax 

This the exact problem I'm seeing here.
Turning on INVARIANTS in the kernel shows that free'd malloc space
are being reused when vinum is in the game :( 

> Fatal trap 12: page fault while in kernel mode
> fault virtual address   = 0x4
> fault code              = supervisor read, page not present
> instruction pointer     = 0x8:0xc0fa0ef4
> stack pointer           = 0x10:0xc0244a84
> frame pointer           = 0x10:0xc0244aa0
> 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         = Idle
> interrupt mask          = bio 
> kernel: type 12 trap, code=0
> Stopped at      complete_rqe+0x18:      movl    0x4(%eax),%edx
> db> trace
> complete_rqe(c1069020,c0f04000,c1882f00,0,c1882f00) at complete_rqe+0x18
> biodone(c1069020,c0f04034,c1069020,c0ed4180,0) at biodone+0x53
> ad_interrupt(c1882f00,0,0,c02051e5,c0ed4180) at ad_interrupt+0x2e2
> ata_intr(c0ed4180,0,c00f0010,c0690010,ffff0010) at ata_intr+0xca
> Xresume14() at Xresume14+0x2b
> --- interrupt, eip = 0xc020e5ae, esp = 0xc0244b54, ebp = 0 ---
> default_halt() at default_halt+0x2
> db> ps
>   pid   proc     addr    uid  ppid  pgrp  flag stat wmesg   wchan   cmd
>    40 cc3a5440 cd747000    0     6    40 004006  3  getblk c62d1cd0 pax
>    15 cc3a5100 cd74d000    0     1    15 000204  3   vinum c0fa0b68 vinum
>     6 cc3a55e0 cd744000    0     1     6 004086  3    wait cc3a55e0 bash
>     5 cc3a5780 cc3b2000    0     0     0 000204  3  vrlock   52f801 syncer
>     4 cc3a5920 cc3b0000    0     0     0 100204  3  vrlock   582001 bufdaemon
>     3 cc3a5ac0 cc3ae000    0     0     0 000204  3  psleep c026c3c0 vmdaemon
>     2 cc3a5c60 cc3ac000    0     0     0 100204  3  psleep c0254df8 pagedaemon
>     1 cc3a5e00 cc3aa000    0     0     1 004284  3    wait cc3a5e00 init
>     0 c0274640 c02d2000    0     0     0 000204  3   sched c0274640 swapper
> db> 
> 
> I can give access to my system which is connected over null-modem to
> this test box.
> -- 
> 
> Vallo Kallaste
> vallo@matti.ee
> 


-Søren


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?200004021538.RAA15130>