PROBLEM: Using raid0,1 moduls not possible in kernel 2.2.16

From: Helmut Kreiser, Linux + VMS Admin, GSI Darmstadt , H.Kreiser@gsi.de, Tel.: (kreiser@axp602.gsi.de)
Date: Fri Jun 16 2000 - 02:56:16 EST


[1.] Using raid0,1 moduls not possible in kernel 2.2.16

[2.] The following problem was found on two different systems. we can't use the
     kernel 2.2.16 for we are using software raid0

     mounting a /dev/md device (either raid0 or raid1, i've checked) is not
     possible in Kernel 2.2.16.
     raid's were used with 2.0.36 and 2.2.13-2.2.15 without any problems.
     creating:
        mdcreate -c8k raid0 /dev/md0 /dev/sdb1 /dev/sdc1
        mdadd -a
        mdrun -a
        mount /dev/md0 /mountpoint

        mdcreate -c4k raid1 /dev/md1 /dev/sdd1 /dev/sde1
        mkraid << EOF
          # Mirror Raid configuration /dev/md1
          raiddev /dev/md1
          raid-level 1
          nr-raid-disks 2
          nr-spare-disks 0
          device /dev/sdd1
          raid-disk 0
          device /dev/sde1
          raid-disk 1
EOF
        mdadd -a
        mdrun -a

     the following was done with the raid0:
     during mount the following essage appeared endless, stopping not possible:

 REGISTER_DEV sdb1 to md0 done
 REGISTER_DEV sdc1 to md0 done
 raid0 : Allocating 8 bytes for hash.
 VFS: grow_buffers: size = 65536
 VFS: grow_buffers: size = 65536
 VFS: grow_buffers: size = 65536
 VFS: grow_buffers: size = 65536
 VFS: grow_buffers: size = 65536
 VFS: grow_buffers: size = 65536
 VFS: grow_buffers: size = 65536
 VFS: grow_buffers: size = 65536
 VFS: grow_buffers: size = 65536
 ......

     we tried it a few times, and the grow_buffer size changed between 8192,
     65536 and 131072

[3.] modules: raid0, raid1
[4.] Linux dvlx01 2.2.16 #2 SMP Wed Jun 14 17:20:00 CEST 2000 i686 unknown

[6.] -
[7.] Environment:
[7.1] Linux dvlx01 2.2.16 #2 SMP Wed Jun 14 17:20:00 CEST 2000 i686 unknown
      Kernel modules 2.1.121
      Gnu C 2.7.2.3
      Binutils 2.9.1.0.19
      Linux C Library ..
      Dynamic Linker (ld.so) 1.9.10
      ls: /usr/lib/libg++.so: No such file or directory
      Procps 1.2.9
      Mount 2.9g
      Net-tools (1998-03-02)
      Kbd 0.96
      Sh-utils 1.16
[7.2] processor : 0
      vendor_id : GenuineIntel
      cpu family : 6
      model : 3
      model name : Pentium II (Klamath)
      stepping : 4
      cpu MHz : 265.913
      cache size : 512 KB
      fdiv_bug : no
      hlt_bug : no
      sep_bug : no
      f00f_bug : no
      coma_bug : no
      fpu : yes
      fpu_exception : yes
      cpuid level : 2
      wp : yes
      flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
                        cmov mmx
      bogomips : 530.84

      processor : 1
      vendor_id : GenuineIntel
      cpu family : 6
      model : 3
      model name : Pentium II (Klamath)
      stepping : 4
      cpu MHz : 265.913
      cache size : 512 KB
      fdiv_bug : no
      hlt_bug : no
      sep_bug : no
      f00f_bug : no
      coma_bug : no
      fpu : yes
      fpu_exception : yes
      cpuid level : 2
      wp : yes
      flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
                        cmov mmx
      bogomips : 530.84
[7.3] raid1 6188 0 (unused)
      raid0 1764 0 (unused)
      nfs 26956 8 (autoclean)
      lockd 29576 0 (autoclean) [nfs]
      sunrpc 50132 1 (autoclean) [nfs lockd]
      sk98lin 102028 1
      es1371 29240 0
      soundcore 2412 4 [es1371]
[7.4] Attached devices:
      Host: scsi0 Channel: 00 Id: 01 Lun: 00
        Vendor: QUANTUM Model: VIKING II 4.5WLS Rev: 4110
        Type: Direct-Access ANSI SCSI revision: 02
      Host: scsi0 Channel: 00 Id: 02 Lun: 00
        Vendor: QUANTUM Model: VIKING II 4.5WLS Rev: 4110
        Type: Direct-Access ANSI SCSI revision: 02
      Host: scsi0 Channel: 00 Id: 05 Lun: 00
        Vendor: PIONEER Model: DVD-ROM DVD-303 Rev: 1.09
        Type: CD-ROM ANSI SCSI revision: 02
      Host: scsi0 Channel: 00 Id: 09 Lun: 00
        Vendor: QUANTUM Model: VIKING II 4.5WLS Rev: 4110
        Type: Direct-Access ANSI SCSI revision: 02
      Host: scsi1 Channel: 00 Id: 02 Lun: 00
        Vendor: SEAGATE Model: ST19171W Rev: 8102
        Type: Direct-Access ANSI SCSI revision: 02
      Host: scsi1 Channel: 00 Id: 03 Lun: 00
        Vendor: SEAGATE Model: ST19171W Rev: 8102
        Type: Direct-Access ANSI SCSI revision: 02
      Host: scsi1 Channel: 00 Id: 06 Lun: 00
        Vendor: SONY Model: CD-RW CRX140S Rev: 1.0e
        Type: CD-ROM ANSI SCSI revision: 04

Regards
Helmut Kreiser

------------------------------------------------------------------------
        G S I -- Gesellschaft fuer Schwerionenforschung

      Dr. Helmut Kreiser e-Mail: h.kreiser@gsi.de
      -DV&EE- Computing
System Manager DEC/OpenVMS and Linux
      Bldg. Sued C, 1.251
          Planckstr.1 Tel.: 49-(0)6159-71-2517
       D-64291 Darmstadt Fax.: 49-(0)6159-71-2986
------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:11 EST