From: MOLNAR Ingo <[EMAIL PROTECTED]>

> kernel 2.1.125 and 2.0.35. (a 2.1.127 port will follow as soon as 2.1.127
> gets out) Also this package contains a prototype (kernel-space and MD

I did follwing operations...
 
# cd /usr/src
# rm -rf ./linux
# bzip2 -cd linux-2.1.127.tar.bz2 | tar xf -
# cd linux
# bzip2 -cd ../raid0145-19981108-2.1.127.bz2 | patch -p1

And I found errors.

# find . -name "*.rej" -print
./drivers/block/md.c.rej

"make bzImage" stopped with...

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2 
-malign-jumps=2 -malign-functions=2 -DCPU=686   -DEXPORT_SYMTAB -c md.c
md.c: In function `md_do_sync':
md.c:3277: `SPEED_LIMIT' undeclared (first use this function)
md.c:3277: (Each undeclared identifier is reported only once
md.c:3277: for each function it appears in.)
md.c:3287: `percent' undeclared (first use this function)
md.c:3212: warning: unused variable `is_idle'
md.c:3211: warning: unused variable `max_write_errors'
md.c:3211: warning: unused variable `max_read_errors'
md.c:3262: label `diff_blocksize' used but not defined
md.c:3240: warning: label `retry_read' defined but not used
md.c: In function `mdsyncd':
md.c:3312: `md_superblock_t' undeclared (first use this function)
md.c:3312: `sb' undeclared (first use this function)
md.c:3312: warning: statement with no effect
md.c:3313: `md_descriptor_t' undeclared (first use this function)
md.c:3313: `spare' undeclared (first use this function)
md.c:3313: warning: statement with no effect
md.c:3314: parse error before `unsigned'
md.c:3316: `md_dev' undeclared (first use this function)
md.c:3316: warning: value computed is not used
md.c:3316: `MAX_MD_DEV' undeclared (first use this function)
md.c:3316: increment of pointer to unknown structure
md.c:3316: arithmetic on pointer to an incomplete type
md.c:3317: dereferencing pointer to incomplete type
md.c:3323: warning: passing arg 1 of `get_spare' from incompatible pointer type
md.c:3325: dereferencing pointer to incomplete type
md.c:3327: dereferencing pointer to incomplete type
md.c:3327: `SPARE_WRITE' undeclared (first use this function)
md.c:3329: warning: passing arg 1 of `md_do_sync' from incompatible pointer type
md.c:3329: too few arguments to function `md_do_sync'
md.c:3329: `MD_FAULTY_DEVICE' undeclared (first use this function)
md.c:3330: dereferencing pointer to incomplete type
md.c:3330: `SPARE_INACTIVE' undeclared (first use this function)
md.c:3333: `flags' undeclared (first use this function)
md.c:3335: dereferencing pointer to incomplete type
md.c:3335: `SPARE_ACTIVE' undeclared (first use this function)
md.c:3336: `MD_SYNC_DEVICE' undeclared (first use this function)
md.c:3337: `MD_ACTIVE_DEVICE' undeclared (first use this function)
md.c:3340: dereferencing pointer to incomplete type
md.c: In function `md_init':
md.c:3476: `md_do_recovery' undeclared (first use this function)
md.c:3480: `md_notifier' undeclared (first use this function)
md.c: At top level:
md.c:3174: warning: `cache_drop_behind' defined but not used
md.c:3189: warning: `is_mddev_idle' defined but not used
make[3]: *** [md.o] Error 1

Any help?

--------------------------
ps. running report! :-)

[Machine Spec] P6-200 Dual CPU w/ linux-2.1.126 and raid0145 patch.

pro:/proc# uname -a
Linux pro 2.1.126 #1 SMP Sat Nov 7 02:07:55 JST 1998 i686 unknown

pro:/proc# cat mdstat 
Personalities : [raid5] [translucent] 
read_ahead 128 sectors
md0 : active raid5 sdf1[4] sde1[3] sdd1[2] sdc1[1] sdb1[0] 0 blocks level 5, 128k 
chunk, algorithm 0 [5/5] [UUUUU]
unused devices: <none>

pro:/etc# df
Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/sda1            2027309  867256  1055270     45%   /
/dev/md0             8083967 5451479  2213391     71%   /home

pro:/etc# cat raidtab 
# sample raiddev configuration file
raiddev /dev/md0
    raid-level                5
    nr-raid-disks             5
    nr-spare-disks            0
    nr-spare-disks            0
    chunk-size                128

    device                    /dev/sdb1
    raid-disk                 0
    device                    /dev/sdc1
    raid-disk                 1
    device                    /dev/sdd1
#    spare-disk                0
    raid-disk                 2
    device                    /dev/sde1
    raid-disk                 3
    device                    /dev/sdf1
    raid-disk                 4

 WWWWW  [EMAIL PROTECTED]
 |O-O|  Hisaaki Shibata @ Fukuoka-shi
0( ^ )0 P-mail:050-419-3233
   ~    http://his.linux.or.jp/

Reply via email to