RE: ATA RAID Promise PDC20276

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yoram,

On my box, fdisk -l /dev/ataraid/d0 gives :

Disk /dev/ataraid/d0: 255 heads, 63 sectors, 4866 cylinders
Units = cylinders of 16065 * 512 bytes

           Device Boot    Start       End    Blocks   Id  System
/dev/ataraid/d0p1             1        13    104391   83  Linux
/dev/ataraid/d0p2            14       144   1052257+  82  Linux swap
/dev/ataraid/d0p3           145       275   1052257+  83  Linux
/dev/ataraid/d0p4           276      4863  36853110   8e  Linux LVM

I suspect that you are missing the kernel append lines for ide settings:
ide2=0xd800,0xdc02 ide3=0xe000,0xe402

This might be different for your particular board (probably not though)
so check the HOWTO for how to get those values - anyone using a
different mobo or add-in card should check the values! If those are ok,
then ataraid and pdcraid should know where the controller lives, and be
able to use it. Start by adding the append line, then reboot, load the
raid modules and see what happens.

To make the initrd image (if you don't have compiled-in drivers), just
cd /boot, then run:

mkinitrd -v <your new image name> <the kernel you are using>

Watch the output for what modules it's using, and if pdcraid and ataraid
aren't there, do it again, but tell it which modules to add using the -m
switch (I think - I'm not using RH, but mkinitrd -h will tell you what
to use). Once that's made, you can edit lilo.conf, or grub.conf, to use
the new initrd.

This should all work with the standard 2.4.18 kernel, but 2.4.19 should
give better performance.

For your reference:

Here's my /etc/fstab - I use LVM, so where I have /dev/system/usr, you
might have /dev/ataraid/d0p3 or something.

/dev/ataraid/d0p3       /       reiserfs        defaults 1 2
/dev/cdrecorder         /media/cdrecorder       auto   
ro,noauto,user,exec 0 0
/dev/cdrom              /media/cdrom    auto    ro,noauto,user,exec 0 0
/dev/ataraid/d0p1       /boot   reiserfs        defaults        1 2
devpts                  /dev/pts        devpts  defaults 0 0
/dev/system/home        /home   reiserfs        defaults 1 2
/dev/fd0                /media/floppy   auto    noauto,user,sync 0 0
/dev/system/opt         /opt    reiserfs        defaults 1 2
proc                    /proc   proc    defaults 0 0
/dev/system/root        /root   reiserfs        defaults 1 2
/dev/system/tmp         /tmp    reiserfs        defaults 1 2
/dev/system/usr         /usr    reiserfs        defaults 1 2
/dev/system/var         /var    reiserfs        defaults 1 2
/dev/ataraid/d0p2       swap    swap    pri=42 0 0


Here's my complete /etc/lilo.conf (but I think RedHat uses grub by
default)

boot    = /dev/ataraid/d0
install = /boot/boot.b
map     = /boot/map
read-only
menu-scheme = Wg:kw:Wg:Wg
lba32
prompt
timeout = 80
message = /boot/message

  image  = /boot/vmlinuz-2.4.19-rc1
  label  = 2.4.19-rc1
  root   = /dev/ataraid/d0p3
  vga    = 791
  initrd = /boot/initrd-2.4.19-rc1
  append = "apic nousb apm=off acpi=off ide2=0xd800,0xdc02
ide3=0xe000,0xe402 hda=ide-scsi mem=nopentium"

  image  = /boot/vmlinuz
  label  = original
  root   = /dev/ataraid/d0p3
  vga    = 791
  initrd = /boot/initrd
  append = "apic nousb apm=off acpi=off ide2=0xd800,0xdc02
ide3=0xe000,0xe402 hda=ide-scsi"

  image  = /boot/vmlinuz.suse
  label  = failsafe
  root   = /dev/ataraid/d0p3
  vga    = 791
  initrd = /boot/initrd.suse
  append = "ide=nodma nousb apm=off acpi=off apic apm=off acpi=off
ide2=0xd800,0xdc02 ide3=0xe000,0xe402 hda=ide-scsi"
  optional

  image  = /boot/memtest.bin
  label  = memtest86

On Wed, 2002-08-07 at 12:55, yoram@xxxxxxxxxxxx wrote:
> Every way I try, there is no way I can get it to run on 2.3.19. Others on
> this group seemed to have failed miserably also. Please can you be more
> specific about what you did.
> 
> Please bear in mind that I have a crash course (google groups) in
> recompiling the lkernel and that you are talking to a Linux novice. How do I
> make a new initrd image?
> 
> ---
> 
> I didn't modify the fstab yet, all I did is try get information on the
> device by
> 
> fdisk -lu /dev/ataraid/d0 (don't work)
> fdisk -lu /dev/hdg (work)
> fdisk -lu /dev/hde (work)
> 





[Index of Archives]     [Linux RAID]     [Linux Device Mapper]     [Linux IDE]     [Linux SCSI]     [Kernel]     [Linux Books]     [Linux Admin]     [GFS]     [RPM]     [Yosemite Campgrounds]     [AMD 64]

  Powered by Linux