Subject: Re: Using RAIDframe disk in xenu
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Yoshito Komatsu <ykomatsu@akaumigame.org>
List: port-xen
Date: 05/15/2005 08:44:09
Hello,
Thank you for your reply.
Manuel Bouyer wrote:
>On Sun, May 08, 2005 at 11:54:36PM +0900, Yoshito Komatsu wrote:
>
>
>>rf_DoAccess(c0aa200,72,1,401,0) at netbsd:rf_DoAccess+0x40
>>raidstart(c0aa2000,c0b07000,0,0,1) at netbsd:raidstart+0x28f
>>raidstrategy(c0b07000,1,c0a4c118,c0acc800,c09d1084) at
>>netbsd:raidstrategy+0x136
>>ccdstart(c0a6d000,c09cd000,0,c0a4c118,c0a4c118) at netbsd:ccdstart+0x137
>>ccdstrategy(c09cd000,1,1,c09cd07c,0) at netbsd:ccdstrategy+0x142
>>xbdback_do_io(c09cd000,c09cd000,c0720dc0,c0212b42,c0a4c118) at
>>
>>
>
>OK, this is the problem. ccd will call the raidframe strategy from interrupt
>context, and raidframe isn't expecting that. If you remplace this ccd with
>a raid0 it should work.
>I'll try to get ccd on top of raid fixed, though.
>
>
I replace a ccd with a raid0, but Domain-0 panic still occured.
panic: pool_get: rf_rad_pl: must have NOWAIT
Stopped at netbsd:cpu_Debugger+0x4: leave
cpu_Debugger(99,9974eb9c,98e5dea1,1,c0657c4c) at netbsd:cpu_Debugger+0x4
panic(c05bb5c0,c0569d73,340000,c1bcf948,18) at netbsd:panic+0x121
pool_get(c0657c4c,2,c2102f5c,a,0) at netbsd:pool_get+0xf9
rf_AllocRaidAccDesc(c1b5e000,72,1,0,1) at netbsd:rf_AllocRaidAccDesc+0x30
rf_DoAccess(c1b5e000,72,1,1,0) at netbsd:rf_DoAccess+0x40
raidstart(c1b5e000,c18ad000,c0801d60,c03ed981,c1b87000) at
netbsd:raidstart+0x28f
raidstrategy(c18ad000,1,1,c18ad07c,0) at netbsd:raidstrategy+0x136
xbdback_do_io(c18ad000,c18ad000,c0801dc0,c0212b42,c1b07118) at
netbsd:xbdback_do_io+0x78
xbdback_io(c212c500,cc4df080,c0800000,c03d0b3c,8) at netbsd:xbdback_io+0x17a
xbdback_evthandler(c212c500,c0801e4c,c0801e14,c0901e20,989680) at
netbsd:xbdback_evthandler+0xa2
evtchn_do_event(10,c0801e4c,0,3b9a0000,c032ca00) at
netbsd:evtchn_do_event+0xbc
do_hypervisor_callback(c0801e4c,0,3b9a9911,31,11) at
netbsd:do_hypervisor_callback+0xb8
hypervisor_callback(c0666340,0,ffffffff,c031d2f9,c0666500) at
netbsd:hypervisor_callback+0x64
cpu_switch(c0666500,0,312,c0801f58,0) at netbsd:cpu_switch+0x107
ltsleep(c0666500,0,312,c0801f58,0) at netbsd:ltsleep+0x3fb
uvm_scheduler(c0666320,0,c066a65c,c0573969,1) at netbsd:uvm_scheduler+0x10f
main(0,0,0,0,0) at netbsd:main+0x739
ds 0x11
es 0x11
fs 0x31
gs 0x11
edi 0x1
esi 0x100
ebp 0xc0801bd0
ebx 0x1
edx 0x1
ecx 0xffffffe0
eax 0x258c
eip 0xc03c177c cpu_Debugger+0x4
cs 0x9
eflags 0x1202
esp 0xc0801db0
ss 0x11
netbsd:cpu_Debugger+0x4: leave
Stopped at netbsd:cpu_Debugger+0x4: leave
db>
Are there any clues?
Regards,
--
Yoshito Komatsu