Anzeige:
Ergebnis 1 bis 3 von 3

Thema: sata Highpoint @ Suse 8.2

  1. #1
    Registrierter Benutzer
    Registriert seit
    Jul 2003
    Beiträge
    35

    sata Highpoint @ Suse 8.2

    Hi Leutz,

    viel txt, Danke schon einmal für Hilfe

    ich habe mir mein Suse 8.2 schon 2x verschossen.... weil der Controller nicht sauber läuft oder ich das System abgeschossen hatte.... schon beim Booten (sorry, ich bin lerne noch...). Ich hab mir die Anleitung schon zu oft durch und auch googln hat leider nicht viel gebracht.

    System: Suse 8.2, U2W SCSI mit einer 9 GB HDD - Highpoint 1540 mit 2x 120 GB als Raid 1 soll dazu

    Kernel: 2.4.20-4GB, grub bootloader

    Das System erkennt den Contoller automatisch.. und das ist mit ein Problem (Problem1), da er ataraid und hptraid laden will (meinen hpt374 nicht..). Auch die Einträge in der /boot/grub/menu.lst gaben nichts gebracht.
    Ich habe dann einfach mal frech den "Treiber" von Highpoint umbenannt und reinkopiert. Der Contoller wurde angenommen.. allerdings wurde ataraid + hptp374 geladen.. das war nicht super...

    Ich habe das System komplett neu aufgesetzt und jetzt will ich einfach keinen Fehler mehr machen. Vielleicht kann mir jemand helfen wo ich was vergessen habe. Ich habe vor allem Probleme beim Step 4 Punkt 2 (automatisches Laden des Treibers)

    1.) /boot/grub/menu.lst
    dort Einträge bearbeiten:

    title linux
    kernel (hd0,1)/boot/vmlinuz root=/dev/sda2 vga=0x314 acpi=off hdd=ide-scsi hddlun=0 splash=silent showopts (dazu) hde=noprobe hdf=noprobe hdg=noprobe hdh=noprobe hdi=noprobe hdj=noprobe hdk=noprobe hdl=noprobe (/dazu)
    initrd (hd0,1)/boot/initrd

    2.) PC ausmachen, Karte einbauen

    - 2.4.20-4GB/hpt374.o Driver for SuSE 8.2 2.4.20 UP kernel sollte der richtige sein ?
    - also nach lib/modules/2.4.20-4GB/kernel/drivers/scsi kopieren

    3.) Controller test0rn

    - insmod hpt374.o in der Shell ausführen und schauen ob der Contoller das mitmacht (er biept dann)
    soweit verstehe ich das

    4.) hpt374 automatisch starten lassen ..lilo... hab ich nicht oder finde es nicht. Ich habe grub als Bootloader

    - /etc/lilo.conf und /boot/initrd.suse finde ich nicht

    - an die initrd= linie komme ich über den Editor für /etc/sysconfig ran
    da steht im moment: aic7xxx reiserfs

    - wo/wie/was soll ich damit machen ?

    For SuSE 7.3/8.0/8.1/8.2
    # mkdir p /mnt/initrd/lib/modules/`uname r`/kernel/drivers/scsi
    # cp hpt374.o /mnt/initrd/lib/modules/`uname r`/kernel/drivers/scsi/
    # echo insmod hpt374 >> /mnt/initrd/linuxrc
    # umount /mnt/initrd
    # gzip c /tmp/initrd.ext2 > /boot/initrd.suse
    # cp /boot/initrd.suse /boot/initrd


    und hier den Auszug der Highpoint Anleitung (Support habe ich angeschrieben.. bisher nix zurück bekommen..)



    3 Installing RocketRAID 154x/1640 driver on an Existing System

    Step 1 Update Grub If you are currently running SuSe Linux 7.1/7.3/8.0/8.1up System, just go to Step 2.If you are currently running SuSE Linux 8.1 SMP System, you must update /boot/grub/menu.lst first.


    E.g. default=0 timeout=8 title Linux kernel (hd0,1)/vmlinux root=/dev/hda1 acpi=off initrd (hd0,1)/initrd

    If you are currently running SuSE Linux 8.2, you must update /boot/grub/menu.lst first. E.g.

    default=0
    timeout=8
    title Linux
    kernel (hd0,1)/vmlinux root=/dev/hda1 hde=noprobe hdf=noprobe hdg=noprobe hdh=noprobe hdi=noprobe hdj=noprobe hdk=noprobe hdl=noprobe
    initrd (hd0,1)/initrd

    Then reboot the system to make new kernel parameter take effect.

    Step 2 Obtain the Driver Module SuSE 7.1 Linux system may use version 2.2.18 kernel or version 2.4.0 kernel. You must first check your system to find which kernel it uses, and get the corresponding driver module for it:

    [X] 2.4.20-4GB/hpt374.o Driver for SuSE 8.2 2.4.20 UP kernel

    2.4.20-64GB-SMP/hpt374.o Driver for SuSE 8.2 2.4.20 SMP kernel
    2.4.20-4GB-athlon/hpt374.o Driver for SuSE 8.2 2.4.20 athlon UP kernel 2.4.20-64GB-SMP-athlon/hpt374.o Driver for SuSE 8.2 2.4.20 non-athlon SMP kernel Step 3

    Test the Driver Module You can test out the module to ensure that it works for your system by changing working directory to the location where hpt374.o resides and typing in the command "insmod hpt374.o". Sometimes insmod will report "unresolved symbols" when you attempt to load the module...

    1) with no SCSI .. but I have SCSI.. so -> 2)

    2) If you recompile the kernel with SCSI support and still receive the "unresolved symbols" error, it may be caused that you have configured symbol versioning in kernel. To correct it, recompile the kernel with symbol versioning not configured. Please refer to the kernel documents for more information.
    To ensure the module has been loaded successfully, you can check the driver status by typing in the command cat /proc/scsi/hpt374/x , where x is the filename you found under /proc/scsi/hpt374/. You should see the driver banner and a list of attached drives. You can now access the drives as a SCSI device (the first device is /dev/sda, then /dev/sdb, etc.).

    Example You have configured a RAID 0/1 array using 4 disks. It will be registered to system as device /dev/sda. You can use fdisk /dev/sda to create a partition on it, which will be /dev/sda1, and use mkfs /dev/sda1 to setup a file system on the partition. Then you can mount /dev/sda1 to somewhere to access it.

    Step 4 Configure System to Automatically Load the Driver Most likely, you will not want to type in "insmod hpt374.o" each time you boot up the system. Therefore you must install the module and tell the system about it. To install the module, type in the following commands (first change directory to where the proper hpt374.o can be located):

    If you are using SuSE 7.3/8.0/8.1/8.2, use

    # install -d /lib/modules/`uname r`/kernel/drivers/scsi
    # install -c hpt374.o /lib/modules/`uname r`/kernel/drivers/scsi

    Then you should inform the system when to load the module.

    1. (ich habe aber einen.. ergo -> 2.) If you have no other SCSI adapters installed, you can edit the file "/etc/modules.conf" and add the following lines:

    probeall block-major-8 scsi_mod sd_mod hpt374 options k hpt374 This tells the kernel to try loading the SCSI and HPT374 modules whenever it tries to access a SCSI device /dev/sd [a-z]. If you have SCSI support compiled in kernel, you may remove the "scsi_mod" and "sd_mod" from that line. Notice Upon your system configuration the modules configuration file may be another file, possibly deprecated "conf.modules" file. You may have to check which configuration file you use and modify the correct one. Now, reboot the system and try to type in the command "fdisk /dev/sda". The kernel should automatically load the RocketRAID 154x/1640 driver.

    2. If you use a SCSI adapter to boot the system, you cannot do as above since this may conflict with other SCSI devices. However, you can add the driver to the existing RAM disk image. First check which image file you are using by checking the initrd= line in file /etc/lilo.conf, the using the following commands (we assume the file is /boot/initrd.suse):

    # gzip dc /boot/initrd.suse > /tmp/initrd.ext2
    # mkdir /mnt/initrd
    # mount o loop /tmp/initrd.ext2 /mnt/initrd

    For SuSE 7.3/8.0/8.1/8.2
    # mkdir p /mnt/initrd/lib/modules/`uname r`/kernel/drivers/scsi
    # cp hpt374.o /mnt/initrd/lib/modules/`uname r`/kernel/drivers/scsi/
    # echo insmod hpt374 >> /mnt/initrd/linuxrc
    # umount /mnt/initrd
    # gzip c /tmp/initrd.ext2 > /boot/initrd.suse
    # cp /boot/initrd.suse /boot/initrd

    If you are using lilo to boot your system, use lilo command to reinstall RAM disk:
    # lilo

    Then reboot your system and the driver will be loaded.

  2. #2
    Registrierter Benutzer
    Registriert seit
    Jul 2003
    Beiträge
    35

  3. #3
    Registrierter Benutzer
    Registriert seit
    Jul 2003
    Beiträge
    35
    habe noch was gefunden. werde es heute mit einem Mix versuchen. und mich an diese Anleitung halten.

    http://lists.suse.com/archive/suse-l...-Jan/3769.html

    (boot/grub/menu.lst and replace "root=/dev/hda2" with "root=/dev/sda2" -
    actually make copies with new names for menu items that reference "hda" to
    allow you to boot using the IDE channel if problems arise.
    werde ich natürlich nicht machen...will ja weiterhin von SCSI aus booten und SATA nur als Datenplatte)


    wenn einer noch paar Tips hat.... Bitte

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •