Re: The impossibility of software raid1
On Tue, Aug 28, 2001 at 06:58:08PM +1000, Herbert Xu wrote:
> On Tue, Aug 28, 2001 at 02:40:08PM +1000, Craig Small wrote:
> > On Sat, Aug 25, 2001 at 11:27:13AM +1000, Craig Small wrote:
> > > Compiling 2.4.9 and with gcc 3.0 gives me a nice reiserfs partition that
> > > works, that's the good news.
> > >
> > So... then I put the partition back to ext2
> > Now mutt dies, and cp
> > Aug 28 14:25:26 fozzie kernel: Unable to handle kernel paging request at virtual address ffff6c02404e09ac
> > Aug 28 14:25:26 fozzie kernel: cp(7124): Oops 0
> > Aug 28 14:25:26 fozzie kernel: pc = [raid1_read_balance+360/576] ra = [raid1_make_request+956/1200] ps = 0000
> > Aug 28 14:25:26 fozzie kernel: v0 = fffffc000f93680c t0 = 0000000000000008 t1 =
>
> If that's with gcc 3.0, please post the disassembly of the relevant file
> and the complete oops message.
OK, it was comilied with gcc 3.0
I'm going to write all this up and stick it on a web page so that others
know what to do here, the documentation in the kernel source is out of
date.
My inexperienced guess is it tried to load a value from ffff6c02404e09ac
and died.
I'm looking at the pc field
System.map says:
fffffc00004b2970 t raid1_read_balance
I'm assuming I add 360 to this, or 0x168. Which is 4b2ad8. Can you tell
me what 360/576 means? I've only ever got real addresses here before.
fffffc00004b2a8c: 00 00 e0 2f unop
fffffc00004b2a90: 21 01 96 43 subl at,t8,t0
fffffc00004b2a94: 43 06 18 43 s8addq t10,t10,t2
fffffc00004b2a98: 22 05 e1 43 negq t0,t1
fffffc00004b2a9c: 00 04 f7 47 mov t9,v0
fffffc00004b2aa0: c2 08 21 44 cmovge t0,t0,t1
fffffc00004b2aa4: 43 14 60 40 s4addq t2,0,t2
fffffc00004b2aa8: 10 00 10 23 lda t10,16(a0)
fffffc00004b2aac: 17 04 f9 47 mov t11,t9
fffffc00004b2ab0: 16 00 5f 40 addl t1,zero,t8
fffffc00004b2ab4: 00 00 e0 2f unop
fffffc00004b2ab8: 1f 04 ff 47 nop
fffffc00004b2abc: 00 00 e0 2f unop
fffffc00004b2ac0: 1f 00 e0 ec ble t6,0xfffffc00004b2b40
fffffc00004b2ac4: dc ff c6 20 lda t5,-36(t5)
fffffc00004b2ac8: 27 31 e0 40 subl t6,0x1,t6
fffffc00004b2acc: 00 00 e0 2f unop
fffffc00004b2ad0: 02 04 06 43 addq t10,t5,t1
fffffc00004b2ad4: 05 04 06 40 addq v0,t5,t4
fffffc00004b2ad8: 00 00 22 a0 ldl t0,0(t1)
fffffc00004b2adc: 08 00 20 e4 beq t0,0xfffffc00004b2b00
fffffc00004b2ae0: e0 03 30 a0 ldl t0,992(a0)
Here is one of the oops messages.
Aug 28 14:25:26 fozzie kernel: Unable to handle kernel paging request at virtual address ffff6c02404e09ac
Aug 28 14:25:26 fozzie kernel: cp(7124): Oops 0
Aug 28 14:25:26 fozzie kernel: pc = [raid1_read_balance+360/576] ra = [raid1_make_request+956/1200] ps = 0000
Aug 28 14:25:26 fozzie kernel: v0 = fffffc000f93680c t0 = 0000000000000008 t1 = ffff6c02404e09ac
Aug 28 14:25:26 fozzie kernel: t2 = ffff700230baa1b0 t3 = 0000000000000000 t4 = ffff6c02404e09a8
Aug 28 14:25:26 fozzie kernel: t5 = ffff700230baa19c t6 = 0000000000000001 t7 = fffffc0001f94000
Aug 28 14:25:26 fozzie kernel: s0 = fffffc000684fe60 s1 = 0000000000000000 s2 = fffffc000f936800
Aug 28 14:25:26 fozzie kernel: s3 = fffffc000684fe60 s4 = fffffc000e154cc0 s5 = fffffc000684fe60
Aug 28 14:25:26 fozzie kernel: s6 = 0000000000001000
Aug 28 14:25:26 fozzie kernel: a0 = fffffc000f936800 a1 = fffffc000684fe60 a2 = 0000000000000000
Aug 28 14:25:26 fozzie kernel: a3 = fffffc0001f97c50 a4 = fffffc0001f97c38 a5 = 0000000000000008
Aug 28 14:25:26 fozzie kernel: t8 = 0000000000000008 t9 = fffffc000f936808 t10= fffffc000f936810
Aug 28 14:25:26 fozzie kernel: t11= fffffc000f936808 pv = fffffc000055a800 at = 00000000012ce278
Aug 28 14:25:26 fozzie kernel: gp = fffffc0000624608 sp = fffffc0001f97bf8
Aug 28 14:25:26 fozzie kernel: Trace:fffffc00004b5a24 fffffc0000431f44 fffffc0000432084 fffffc0000351c28 fffffc000034ffa0 fffffc000037f750 fffffc000034ffa0 fffffc0000345d74 fffffc0000345cb0 fffffc000037f110 fffffc0000339a84 fffffc000033a054 fffffc000033a3a8 fffffc000033a2b0 fffffc000034d32c fffffc0000310b20
Aug 28 14:25:26 fozzie kernel: Code: ece0001f 20c6ffdc 40e03127 2fe00000 43060402 40060405 <a0220000> e4200008
--
Craig Small VK2XLZ GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.eye-net.com.au/ <csmall@eye-net.com.au>
MIEEE <csmall@ieee.org> Debian developer <csmall@debian.org>
Reply to: