[ENBD] fr1 hangs when trying to access raid device..

Peter T. Breuer enbd@lists.community.tummy.com
Wed, 5 Feb 2003 19:15:14 +0100 (MET)


"A month of sundays ago [Arve Emil Myr_s] wrote:"
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> >> > >>EIP; fad2449a <[fr1]fr1_promote_req+ba/120>   <=====
> >
> >OK, that's different. Near the end of promote_req.
> >
> >It really would be easier if you tried it on the natural major! Or
> >perhaps recompiled after setting FR1_MAJOR to 9 in the C file.
> 
> changed it in the .h file ,, didn't find it in .c

> >>EIP; fad2453a <[fr1]fr1_promote_req+ba/120>   <=====

Same error. Then the problem is unique to your setup.
I've just done it here with no problem.

  betty:/usr/oboe/ptb/lang/c/fr1/fr1-1.0% cat /proc/fr1stat 
  Personalities : [raid1] 
  read_ahead 4 sectors
  fr10 : active fr1 [dev 07:00][0] [dev 07:01][1]
        2048 blocks

   betty:/usr/oboe/ptb/lang/c/fr1/fr1-1.0% sudo dd if=/dev/zero of=/dev/fr10 count=100
   100+0 records in
   100+0 records out
   betty:/usr/oboe/ptb/lang/c/fr1/fr1-1.0% 

what I did was

  dd if=/dev/zero of=/tmp/core0 bs=1024k count=2
  dd if=/dev/zero of=/tmp/core1 bs=1024k count=2
  losetup /dev/loop0 /tmp/core0
  losetup /dev/loop1 /tmp/core1
  insmod ./fr1.o
  mkraid --dangerous-no-resync --really-force /dev/fr10
  cat /proc/fr1stat
  head -10c /dev/fr10
  dd if=/dev/zero of=/dev/fr10 count=100



But what stops you trying it on 240 like that? I'll try it on 9.

Peter