论坛风格切换切换到宽版
  • 1116阅读
  • 2回复

[问题求助]platinum 帮帮我,万分感谢 我把说明文件贴出来了。 [复制链接]

上一主题 下一主题
 
发帖
2032
C币
-60525
威望
390
贡献值
1
银元
-5
铜钱
4497
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
REDME说明档:
-----------------------------.---.-----------------------------------------------        . .
               Copyright (c) 2002-2003 VIA Technologies Inc.       .     . [成人用品]
    .     .                                                                            杀毒
             VIA RAID Linux Dri..ver Software Package ReadMe.txt                 .                 .
                  .            .                                          教育
    This readme fil.e is to provid.e the information of VIA RAID Linux Driver    美容
    Package.. VIA Technologies assumes no respon.sibility for any errors in电脑
    this. docume.nt and no part of this document may be. reproduced, transmitted,    外汇
    or translated into any language,or in any form .with.out the prior writ.ten     健康
    permission. of VIA Technologies Inco.rporated.<性病>
  
              Package Version 1.00 / ReadMe Version 1.00 .                .         .                                   .
-------------.---------------.-------------------------------------------.--------服务器
  T.his RAID driver can now support 3 kin.d of VIA RAID Controllers, include     美容
VT6410,VT.6420/8237, VT642.1. It s.upports RAID type 0, 1, span, 0+1(needs 4 hard disk).            建材
  VIA VT6410 is a ATA RAID contro.ller, supports up to four ATA hard disk.s..
  .VIA VT6420/8237 is a SAT.A RAID controller..
  VIA VT6.421 supports two SA.TA and two ATA hard disks.    美容
  .This "VIA RAID Linux Driver Package" is provided for drive..rs installations,.
which are needed when using th.e above VIA RAID C.ontrollers.(        游戏          )


                      .  .     CONTENTS.
     =.===.========================================学习
1)  System Requir.ements           鲜花
2)  So.ftware Package Content.s             汽车
3)  Driver Insta.llation            杀毒
4) . Insta.ll Operating System RedHat linux教育
5)  Notes
     ==.===================================.=======.

1) System Re.quirements(广告)

    You should have a.t least one VIA R.AID controller.    健康

  .  System BIO.S must integrates VIA RAID BIOS if you want to install OS健康
.   on RAID Controller.--- 印刷

    Suppor.ts up to four hard disk drives, which all support .LBA address.外贸

   . Supp.orts the following Operating Systems:.
      Linux

2) .Software Package Conte.nts .

    The decompressed software packag.e in.cludes the following files: .

/Driver
    vi.apubraid.c  viamraid. open source file.
    vi.apubraid.h<性病>
    .viaprvdef.h  .
    viaprvmraid..o    .viamraid library file            杀毒
    viaprvraidm64..o.  lib file for SuSE 64 bit    健康
    Makefile   .   Mak.efile             汽车
    dd.sh        script to make RedHat d.rive.r disk.
    patch.pl     patch s.cript for Mandrake 9.2 .driver disk.    美容
    PACK.AGES.PY    for RedHa.t 7.2 update disk only   外贸
    driverdisk.txt A document abo.ut how do I inst.all Linux onto the RAID.

ReadMe.txt.      This file, pr.ovides informa.tion on this Linux Driver Package           女人


3)  Dri.ver Installation教育
    
    ===================.====.==    美容
    == Driv.er Ins.tallation ==域名
    ========.=========.========          婚庆
*Pre-Install
    The package include source code. files, so we need to c.ompile a driver 外贸
  according .to your kernel versi.on.    健康
    Befor.e begin to compile, make su.re that外贸
      1. You have installed the kernel source packa..ge健康
      2. K.ernel .source default .directory is /usr/src/linux, please check it..
      .   If your default ker.nel source directory is not /usr/src/linux, 投资
.        create a link:外贸
           # ln -s linux2.4 l.inu.x             电子
      3. Assume you. have unzi.p this package to a diretory /tmp/viamraid<性病>
*Compil.e/Install健康
    1. compile the file, .viamraid..o is the driver we need             汽车
        # cd /tmp/viamraid/.driver..
        # make
      
    2. In.stall the driver健康
       . # make install(        游戏          )
    
    3. To. use the driv.er, type:           鲜花
.       #modp.robe viamraid            杀毒
    .   If there are n.o other SCSI cards on the. system, /dev/sda, sdb ... are --------------彩票
     our .devices.             电子

    4. To unus.e the dri.ver, type:.
   .     #rmmod viamraid域名
    

4)  Inst.all .Operating System RedHat.

     .To install RedHat Li.nux onto the RAID control.ler, we must have a driver 外贸
   disk.
     1.. Prepare a drive.r disk:.
      The dd.sh is a shell. script that help users to make driver d..isk easier    健康
         # cd /t.mp/viamraid./driver(广告)
         # chm.od +x dd.sh             电子
   .      # ./dd.sh.
      Now .dd.sh will create a driverdisk image file: driver.disk/viamraid.i.mg           婚庆
       .Insert a blank fl.oppy disk and type          婚庆
         # dd if=driverdisk/v.iamra.id.img of=/dev/fd0.
.     Driverdisk i.s OK now.         --- 印刷

     2.. Install OS:电脑
         Boot from redhat in.stall CD, when. it prompt "boot:", type:投资
           linux .dd 学习
         Or
     .      linux expert <性病>
       * Pat.ch for RedH.at 7.2.
         Because RedHat 7..2 need a update dis.k in.stead of driverdisk to install           建材
        .. we need to type "linux .dd updates" instead of "linux dd"                 .

5.) Notes (TroubleShootin.gs)(广告)
        1). After I compile the driver succes.sfull.y, and run "make .install",服务器
         or try to instal.l driver by ."modprobe viamraid",module. loading fails域名
         and show. message like this: ".your kernel is 2.4.19, but the .module             杀毒
         is com.pil.ed for 2.4.19-athlon", why?.
            Perhaps your CPU is. Pentium 4,. but you .kernel source configured               乙肝
            CPU type as a.thlon, do .the following             电子
       .     #cd /us.r/src/linux.
            #make. menuconfig  ;here chan.ge .the "processor type" to be the same.
            as y.our system, then reco.mpile the driver.             电子
        2). For SuSE.64bit linux, please make sure that your CPU type i.s. 64bit.服务器
  .    .     So, its better to .
            .#make .nenuconfig            杀毒
           to change the CPU t.ype .to X86_64bit before compile the driver.          婚庆
================.====================下面还有一个说明:不知道是哪一个的了。This is t.he document describes how I instal.l linux onto o.ur RAID controller.             电子
If you have any suggestion./ques.tions, contact me with dol.pherdu@viatech.com.cn    外汇

Here is what you should know before .we c.an begin.              乙肝
a.). Kernel for installation(boot from CDROM.) is not the same as the normal            建材
kernel, so we need to compile drivers for both kernel versio.n. For e.xample,.
for redhat9.0, th.e ke.rnel from CDROM boot is 2.4.20-8BOOT, but after电脑
  installation,. boot from h.ard disk, the kernel version is 2.4.20.-8. We will投资
  use XX..XX to refer to the kernel version number..
b). Before i.nsta.llation, we must load th.e driver for BOOT kernel, to recognize.
our ha.rd disk. The method is no.t standard for different linux vendors.    健康
c). After installation, .we need to boot. from hard disk. Because kernel is     外汇
instal.led on our RAID har.d disk, we must load driver module before kernel            女人
init. This is done by a image. file "initrd", the ini.trd i.s a filesystem image.
which .should contain the dri.ver information.--- 印刷
   We can see .this initrd fi.le under /boo.t/ directory, and boot loader(both 外贸
grub and lilo) have an op.tio.n "initrd = ourinitrdfile".电脑
   After installation,. we should .add our driv.er module to this initrd file, 电脑
unfortunately, the method is not standard. t.oo..

That'.s all. W.e'll discuss the details for each specific linux.          婚庆

1). RedHat 9.0
          There is a standar.d wa.y to create RedHat driver disk., I've put it             杀毒
        into. a script, dd.sh, wh.ich has been mentioned in the readme.txt.教育
          a). r.un ./dd.sh, you will get a image file named viamraid.i.mg.
          b). Insert a bl.ank fl.oppy, and run学习
               #dd if=driverdisk/viamraid.img of=/d.ev./fd0电脑
             the. dr.iver disk is ready.<性病>
          c). Install RedHat.9.0, boot from RH9.0 cd, w.hen it pr.ompt: "boot:",.
           type "linux expert", then following the install ins.truc.tions..
            
2). Mandrake 9..1.
        1. modify dd.sh, search "BOOTPARA",and ch.ange i.t.服务器
           . BOOTPARA="-e BOOT=1" --> BOOTPARA=."-e NOMODVER=1".
        2. ./dd.sh -->get.. 2 file, here XXX is. version number, DO remeber to 投资
        re.place it with the real ver.sion number, for mdk9.1, XXX is              乙肝
        2.4.21.-0.13mdk(广告)
               driverd.isk/viamraid.o.XXXB.OOT.
               driverd.isk/vi.amraid.o.XXX           建材
.       3. copy the normal driver to system module. path           婚庆
          note: If there is no direct.ory .named misc, create it yourself.--------------彩票
          #.cp viamraid.o.XXX /lib/modules/.XXX/misc/viamraid.o    外汇
        4. make a initrd image file., wh.ich include our driver. .
          #mkinitrd initr.draid.img --preload scsi_.mod --preload sd_mod --preload viamrai.d XXX外贸
        5. insert a f.loppy, ext2 form.at,and 教育
    .      mount ./dev/fd0 /mnt/floppy           建材
     .     cp driverdisk/viamraid.o..XXXBOOT /mnt/floppy/viamraid_BOOT.o.
   .      . cp initrdraid.img /mnt/floppy/域名
         . umount /dev/fd0             汽车
        
        The.n, driver disk .OK学习
        
        I.nstall(        游戏          )
  .       1. when boot from i.nstall CD, press F1, and input.
        .    linux expert             电子
.        2. when prompted for a "third part driver", ins.ert the floppy,学习
          press OK, and choose viamr.aid_BOOT.o to i.nstall.--- 印刷
   .      3. install nor.mall.y untill the last step, prompted for reboot, do NOT.
      .    reboot now, press CTRL-ALT-F2 to th.e second terminal     美容
          and i.nse.rt. the floppy disk then, replace the default initrd.img file.
          with the one we prepared.(here, assu.me your roo.t健康
          filesystem has been mounted. o.n /mnt)          婚庆
           m.ou.nt /dev/fd0 /mnt/mnt    外汇
.          cp /mnt/mnt/initrdraid.img /mnt/boot/init.rd.img.
          
.        5. press C.TRL-ALT-F7 back to install screen, and press reboot..

3). SuSE 8.2
        . 1. compile a driver for i386 CPU type, this is for BOOT kernel..电脑
..          #cd /usr/src/linux学习
           #make me.n.uconfig ;change the CPU type here to i386域名
           #make de.p虚拟主机
          back to our source co.de directory, make a drive.r域名
       .    #make.
          copy viamraid.o to. a fl.oppy disk.(VFAT)             汽车
        .   #mount /dev/.fd0 /mnt/floppy             汽车
           #cp viamraid.o /mn.t/floppy/via.mraid_BOOT.o虚拟主机
        2. c.ompile a driver for your. current CPU           女人
           #cd /usr./src./linux外贸
           #make menuconfig ;change the CPU t.ype according to your CPU..--- 印刷
           #ma.ke dep           鲜花
        .  back to our source code directory, .make a driver虚拟主机
      .     #make
          copy viamraid.o to a fl.opp.y disk.(VFAT).
           #cp viamraid.o. /mnt/floppy./viamraid.o外贸
        3. boot from .cdrom, when prompt to select langu.age, press投资
          CTR.L-ALT-F2,. insert the floppy, run    外汇
         .   #mkdir aa           女人
    .        #mount /.dev/fd0 /aa             电子
  .      .    #insmod /aa/viamraid_BOOT.o服务器
          press CTRL-ALT-F7 .to continu.e域名
.       4.. after reboot, when prompt to select language, do (3) again域名
          when prompt where to boot from, select. "Boot installed s.ystem".电影
       . 5. when asked to. enter password for root, press CTRL-ALT-F2,           女人
   .        #mount /d.ev/fd0 /media/floppy    美容
           #cp /media/floppy/viamraid.o /lib/modules/`una.me -r`/mis.c/.
           #vi /etc/sysconfig/kernel  ;change varialbe. INITRD_.MODULES to.
               ;.include viamraid. like t.his: INITRD_MODULES="viamraid reiserfs".
.          #mkinitrd[成人用品]
           #umount /dev/..fd0.
          pre.ss CTRL-ALT-F7 to finish the normal .install.             汽车

Note: For VIA K8 Platform, please complier .the two CPU type driver al.l named as "viamra.id.o" and copy two floppy to. install OS.域名

4). RedFlag. 4.0.
        Driver disk for RedFl.ag is th.e same as RedHat, but the RedFlag4.0.
        kernel source is stra.nge, we cannt build a. suitable driver fo.r BOOT,     外汇
.       whatever compile .option we use..
        
         The kernel ver.sion for RedHat9.0 and RedFla.g4.0 is the same,both--- 印刷
      .  2..4.20-8. but the symbols version is not the same.虚拟主机
        And I found that, the BOOT kern.el for RedFlag4.0 and Red.Hat9.0 is .the .
        same, so I use t.he. driver made for RedHat9.0 to install.服务器
         1.compile a dri.ver for install using R.edHat9.0 source健康
          #make  c.lean投资
  .        #make -e BOOT=1电脑
      .    #cp viamraid.o driverdisk/.viamraid.o-2.4.20-8BOOT.
         2.compile a driver for normal boo.t u.sing RedFlag4.0 source[成人用品]
    .      #make clean            杀毒
  .        #make (        游戏          )
.      .   #cp viamraid.o driverdisk/viamraid.o-2.4.20-8           女人
         3.make a driverdisk usin.g the above 2 .files, same way as RedHat..
       .   using the following shell script. Note., the RedFlag driverdisk mus.t     外汇
          be. VFAT filesyste.m.(        游戏          )
     .   #!/bin/bash(广告)
        MODN.AME=viamraid.
      .  BASE=`uname -r`.
        
   .     cd driverdisk.
        #make the driv.erdisk im.age.
     .   mkdir mountpoint域名
        mkdir. workdir电影
    .    dd if=/dev/zero of=${MODNAME}.img bs=1k cou.nt=512           建材
        echo y |m.kdosfs. ${MODNAME}.img--- 印刷
        mount -o loop ${MODNAME}.img. mountpo.int            杀毒
        .cd mountpoint--------------彩票
        echo "${MODNAME}.o:scsi_mo.d..o sd_mod.o" >modules.dep服务器
        echo "0x1106        0x3249       . \"${MODNAME}\"        \"VIATECH|VIA VT6421 RAID Con.tro.ller\"" >pcitable.
        echo "0.x1106        0x3149    .    \"${MODNAME}\"        \"VIATECH|VIA .VT6420 RAID Controller\"" >>pcitable              乙肝
        echo "0x1106   .     0x3164        \."${MODNAME}\"        \"VIATECH|VIA VT6410 RAID Co.ntroller\"" >>pcitable           女人
.       echo "Version 0" >. modinfo投资
        echo "${MOD.NAME}" >> mod.info.
   .     ec.ho "    scsi" >> modinfo.
        echo "    \"Raid contro.l.ler,VIA technologies.\"" >> modinfo          婚庆
        echo. "1." > rhdd-6.1.
        cd ../.workdir             电子
        mkdir ${BASE.}BOOT虚拟主机
        .mkdir ${BASE}域名
        cp ../${MODNAME}.o-.${BASE}BOOT ${BASE}BOOT/${MODNAME.}.o    健康
        cp ../${MODNAME}.o-${BASE} ${BASE}./${MODNAME.}.o健康
        find -name "*.o" -type f | cpio -.o --format=crc .| gzip -9 > ../mountpoint./modules.cgz教育
        cd ..
     .   umount. ${MODNAME}.img--------------彩票
        
      .   4. viamraid.img is the image file for driver dis.k.外贸
         5. Insert a blank fl.oppy, and .run            杀毒
              . #dd if.=driverdisk/viamraid.img of=/dev/fd0.
         .    the driver disk is read.y.健康
         6. Install RedHat9.0, boot f.rom RH9.0 cd, when it prompt: ".boot:",              乙肝
    .       type "linux expert", then followi.ng the install instructions.           建材
            
        

5.). Mandrake 9.2            杀毒
        1. prepare a blank floppy, forma.t it to VFAT file sy.stem.            杀毒
       . 2. compile 2 driver, for BOOT and for UP, in the driver .sou.rce directory.
    .     #mount /dev/fd0 /mnt/flo.ppy服务器
    .     #make 教育
     .    #.cp viamraid.o /mnt/floppy/viamraid_up.o
         #make .clean域名
         #make -e N.OMODVER=.1虚拟主机
   .      #cp viamraid.o /mnt/floppy/viamraid_B.OOT.o.
        3. copy the patch.pl .file to the .floppy.
.        #cp patch.pl /m.nt/floppy/              乙肝
  ..       #umount /mnt/floppy              乙肝
        4. the driver disk is OK, .when install, after boot. from the CD, 投资
        Press "F1", .insert the fl.oppy,健康
        .type "patch", then follow the install instru.ctions..

6). SuSE .9.0 for x86_64外贸
         1. com.pile a driver for ."generic x86_64" CPU type            杀毒
    .       #cd /usr/src/l.inux域名
           #make menuconfig ;change  CPU type to "ge.neric .x86_64".(        游戏          )
           .#make dep投资
    .      back to our source cod.e directory, make a driver            杀毒
           #ma.ke.
          copy viamra.id.o to a flopp.y disk.(VFAT)投资
           #cp viamraid..o /mnt/floppy/viam.raid.o.
        2. .boot from cdrom, when prompt to select language, pres.s(广告)
          CTRL-ALT-F2, insert. the floppy,. run.
     .       #mkdir aa           鲜花
         .   #mount /dev/fd.0 /aa           建材
        . .   #insmod /aa/viamraid.o             汽车
      .    press CTRL-ALT-F7 to con.tinue虚拟主机
        3. after reboot, when prompt to sel.ect language, do (2) .again教育
   .       when prompt .where to boot from, select "Boot installed system"..
        4. when asked to enter password for root, pre.ss C.TRL-ALT-F2,            杀毒
           #mount /dev/fd.0. /media/floppy--------------彩票
           #cp /media/flopp.y/viamraid.o /lib/modules/`uname -r`./misc/.
           #vi /etc/sysconfig/kernel  ;change varia.lbe INITRD_MODUL.ES to(        游戏          )
      .         ;include viamraid like this: I.NITRD_MODULES="v.iamraid reiserfs jbd"(        游戏          )
           .#.mkinitrd                       .
          press C.TRL-ALT-F.7 to finish the normal install..
           ;If system appears "Can't determine dependencies .of module viamraidjgb. Is this. modules.d.ep up to date" message. Pleas.e CTRL-ALT-F7 to finish the normal install. And run command "mkin.itrd" again in terminal.学习
我也安照这个说明做了一个盘,不行。帮帮我老.师,急急!!!.!!             汽车

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
发帖
1962
C币
-193675
威望
342
贡献值
1
银元
0
铜钱
4344
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-13
Re:platinum
我看了一下,还是比较简单的,不知你哪里遇到问题了
另外,请修改标题(标题不明确),否则违反版规会被锁贴的

离线bearfish.
发帖
1951
C币
-199201
威望
361
贡献值
1
银元
-3
铜钱
4388
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-13
Re:platinum
啊。老师就是老师。果然历害。我重新发一贴,修改一下。
快速回复
限100 字节
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
 
上一个 下一个