Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Oct 2003 00:03:55 +0300 (EEST)
From:      Petri Helenius <pete@helenius.fi>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/58230: ata raid crashes in g_down
Message-ID:  <200310182103.h9IL3tLP087142@rms21.rommon.net>
Resent-Message-ID: <200310182110.h9ILADwU022671@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         58230
>Category:       kern
>Synopsis:       ata raid crashes in g_down
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 18 14:10:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Petri Helenius
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD  5.1-CURRENT FreeBSD 5.1-CURRENT #16: Sun Oct 12 19:41:04 GMT 2003     root@kompak.vuokselantie10.fi:/usr/src/sys/i386/compile/EMTEST  i386

	
>Description:
	When running the system with degraded ataraid set, it crashes in 
	make world
0xc0463d79 is in arstrategy (../../../dev/ata/ata-raid.c:832).
827                             buf1->drive = buf1->drive + rdp->width;
828                     }
829                 }
830                 buf1->bp.bio_disk = &AD_SOFTC(rdp->disks[buf1->drive])->disk;
831                 AR_STRATEGY((struct bio *)buf1);
832                 rdp->disks[buf1->drive].last_lba = buf1->bp.bio_pblkno + chunk;
833                 break;
834
835             default:
836                 printf("ar%d: unknown array type in arstrategy\n", rdp->lun);
(gdb) 
Suspended

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xa2e664f4
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc0463d79
stack pointer           = 0x10:0xcdaaebc4
frame pointer           = 0x10:0xcdaaec54
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         = 4 (g_down)
kernel: type 12 trap, code=0
Stopped at      arstrategy+0x939:       movl    %eax,0x24(%ebx,%ecx,8)
db> trace
arstrategy(c2bbb090,0,c06ae5c7,5c,0) at arstrategy+0x939
g_disk_start(c2b885a0,0,c06aeb6b,164,a) at g_disk_start+0x1a6
g_io_schedule_down(c12a2000,2,c06aed89,6e,c04e5f40) at g_io_schedule_down+0x1ac
g_down_procbody(0,cdaaed48,c06b0b1a,314,20aa) at g_down_procbody+0x48
fork_exit(c04e5f40,0,cdaaed48) at fork_exit+0xcf
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xcdaaed7c, ebp = 0 ---
db> 

>How-To-Repeat:
	
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310182103.h9IL3tLP087142>