Announcement

Collapse
No announcement yet.

How set up my controller card

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How set up my controller card

    I am new to Kubuntu but not computing in general. I work as professional developer in windows. So in this environment I flounder and would appreciate help please.

    I have a fresh computer with only 7.10 on it, Installed from a live CD.

    My problem is how to install the Raid Card. I have the install CD which has linux driver modules and even source of this and instructions. The instructions are for Red Hat and Mandrake so I thought consult the web. That ended up in FUD because even though there was a thread about it on UbuntuForums it involved recompiling the kernel. That does not really worry me but at this early I feel confident that I will manage to stuff it some how!

    The thread was concerned with 7.04 so I installed 7.10 in the vain hope it would detect the card and enable it but no such luck!

    So please someone how should I proceed?

    Hardware
    ------------------------------------------
    CPU Intel Pentium Dual Core CPU, 1.6 GHz, FSB 800MHz, 1MB Cache, 65W, Socket LGA775
    Mother Board Gigabyte GA-P31-S3L 1333MHz FSB ATX
    Video NVDIA Gigabyte GV-NX72G512P2 GF 7200GS PCI-E 256MB
    Memory Kingston KVR800D2N5K2/1G 1GB KIT 800MHz DDR2 NON ECC 240pin UNBUFFERED DIMM
    TV Card FusionHDTV DVB-T Dual Express
    InnoVision DM8401-R ATA133 Raid Card chip IT8212
    80Gb IDE disk system
    Two 279Gb IDE disks configured as one drive of nearly 600Gb.

    #2
    Re: How set up my controller card

    This isn't something I know much about setting up under linux but since no one else is responding I will try to help where I can.

    Firstly, so we are clear, you have already installed linux on a single 80GB drive connected to another controller and you want to create a raid setup with two additional drives connected to your innovision card?

    This system is clean so there is no present raid setup or data to protect?

    It appears as if that innovision card is a true hardware raid card, rather than some software raid setup. Do you know whether I am wrong about this?

    If it is hardware raid are you sure it isn't presently recognized? They can show up as /dev/rd or /dev/sd* (such as /dev/sda)

    For example if you

    ls /dev/rd

    and

    ls /dev/sd*

    Do you get any output?


    If it is really software raid then I think the best approach would involve partitioning the two drives separately and using mdadm to configure them into raid.

    I can give links to some of this after you give feedback on the above.

    Comment


      #3
      Re: How set up my controller card

      Thanks for your response.

      My main board which seems usual these day has only one IDE connection. On that I have a 80Gb drive and a DVD reader. Then innovision controller with two 300gb drives. Yes it is clean and most hardware new, disks are not, also clean system.

      I tried your suggestions:-
      mikehmc@hmcfred:~$ ls /dev/sda
      /dev/sda
      mikehmc@hmcfred:~$ sudo ls /dev/sda
      [sudo] password for mikehmc:
      /dev/sda
      mikehmc@hmcfred:~$ ls /dev/rd
      ls: /dev/rd: No such file or directory
      mikehmc@hmcfred:~$ sudo ls /dev/rd
      ls: /dev/rd: No such file or directory
      mikehmc@hmcfred:~$ sudo -i
      root@hmcfred:~# ls /dev/sd*
      /dev/sda /dev/sda1 /dev/sda2 /dev/sda5

      I think the sda on the system disk.
      The Innovision card has instructions to install a module for Red Hat or Mandrake, this is probably the simplist path. I also have stuff that says I should rebuild the kernel.

      Comment


        #4
        Re: How set up my controller card

        In a terminal window (paste the output in this thread):

        Code:
        lspci
        and

        Code:
        lshw

        Comment


          #5
          Re: How set up my controller card

          lspci
          ---------------------
          00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 02)
          00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (rev 02)
          00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
          00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
          00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
          00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
          00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
          00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
          00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
          00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
          00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
          00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
          00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
          00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
          01:00.0 VGA compatible controller: nVidia Corporation G72 [GeForce 7300 SE] (rev a1)
          03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
          04:00.0 RAID bus controller: Integrated Technology Express, Inc. IT/ITE8212 Dual channel ATA RAID controller (rev 13)
          04:02.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
          04:02.2 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05)
          ------------------------------------
          lshw
          ------------------------------------
          hmcfred
          description: Desktop Computer
          product: P31-DS3L
          vendor: Gigabyte Technology Co., Ltd.
          width: 32 bits
          capabilities: smbios-2.4 dmi-2.4
          configuration: boot=normal chassis=desktop uuid=00000000-0000-0000-0000-001D7D913CFE
          *-core
          description: Motherboard
          product: P31-DS3L
          vendor: Gigabyte Technology Co., Ltd.
          physical id: 0
          version: x.x
          *-firmware
          description: BIOS
          vendor: Award Software International, Inc.
          physical id: 0
          version: F1 (07/19/2007)
          size: 128KB
          capacity: 448KB
          capabilities: pci pnp apm upgrade shadowing cdboot bootselect edd int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi usb ls120boot zipboot biosbootspecification
          *-cpu
          description: CPU
          product: Intel(R) Pentium(R) Dual CPU E2140 @ 1.60GHz
          vendor: Intel Corp.
          physical id: 4
          bus info: cpu@0
          version: 6.15.13
          serial: 0000-06FD-0000-0000-0000-0000
          slot: Socket 775
          size: 1600MHz
          capacity: 4GHz
          width: 64 bits
          clock: 200MHz
          capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx x86-64 constant_tsc pni monitor ds_cpl est tm2 ssse3 cx16 xtpr lahf_lm cpufreq
          configuration: id=0
          *-cache:0
          description: L1 cache
          physical id: a
          slot: Internal Cache
          size: 64KB
          capacity: 64KB
          capabilities: synchronous internal write-back
          *-cache:1
          description: L2 cache
          physical id: b
          slot: External Cache
          size: 1MB
          capacity: 2MB
          capabilities: synchronous internal write-back
          *-logicalcpu:0
          description: Logical CPU
          physical id: 0.1
          width: 64 bits
          capabilities: logical
          *-logicalcpu:1
          description: Logical CPU
          physical id: 0.2
          width: 64 bits
          capabilities: logical
          *-memory
          description: System Memory
          physical id: 1b
          slot: System board or motherboard
          size: 1GB
          *-bank:0
          description: DIMM 667 MHz (1.5 ns)
          physical id: 0
          slot: A0
          size: 512MB
          width: 64 bits
          clock: 667MHz (1.5ns)
          *-bank:1
          description: DIMM [empty]
          physical id: 1
          slot: A1
          *-bank:2
          description: DIMM 667 MHz (1.5 ns)
          physical id: 2
          slot: A2
          size: 512MB
          width: 64 bits
          clock: 667MHz (1.5ns)
          *-bank:3
          description: DIMM [empty]
          physical id: 3
          slot: A3
          *-pci
          description: Host bridge
          product: 82G33/G31/P35/P31 Express DRAM Controller
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 02
          width: 32 bits
          clock: 33MHz
          *-pci:0
          description: PCI bridge
          product: 82G33/G31/P35/P31 Express PCI Express Root Port
          vendor: Intel Corporation
          physical id: 1
          bus info: pci@0000:00:01.0
          version: 02
          width: 32 bits
          clock: 33MHz
          capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
          configuration: driver=pcieport-driver
          *-display
          description: VGA compatible controller
          product: G72 [GeForce 7300 SE]
          vendor: nVidia Corporation
          physical id: 0
          bus info: pci@0000:01:00.0
          version: a1
          width: 64 bits
          clock: 33MHz
          capabilities: pm msi pciexpress vga bus_master cap_list
          configuration: latency=0
          *-multimedia
          description: Audio device
          product: 82801G (ICH7 Family) High Definition Audio Controller
          vendor: Intel Corporation
          physical id: 1b
          bus info: pci@0000:00:1b.0
          version: 01
          width: 64 bits
          clock: 33MHz
          capabilities: pm msi pciexpress bus_master cap_list
          configuration: driver=HDA Intel latency=0 module=snd_hda_intel
          *-pci:1
          description: PCI bridge
          product: 82801G (ICH7 Family) PCI Express Port 1
          vendor: Intel Corporation
          physical id: 1c
          bus info: pci@0000:00:1c.0
          version: 01
          width: 32 bits
          clock: 33MHz
          capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
          configuration: driver=pcieport-driver
          *-pci:2
          description: PCI bridge
          product: 82801G (ICH7 Family) PCI Express Port 4
          vendor: Intel Corporation
          physical id: 1c.3
          bus info: pci@0000:00:1c.3
          version: 01
          width: 32 bits
          clock: 33MHz
          capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
          configuration: driver=pcieport-driver
          *-network
          description: Ethernet interface
          product: RTL8111/8168B PCI Express Gigabit Ethernet controller
          vendor: Realtek Semiconductor Co., Ltd.
          physical id: 0
          bus info: pci@0000:03:00.0
          logical name: eth0
          version: 01
          serial: 00:1d:7d:91:3c:fe
          size: 100MB/s
          capacity: 1GB/s
          width: 64 bits
          clock: 33MHz
          capabilities: pm vpd msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
          configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.2LK duplex=full ip=192.168.0.34 latency=0 link=yes module=r8169 multicast=yes port=twisted pair speed=100MB/s
          *-usb:0
          description: USB Controller
          product: 82801G (ICH7 Family) USB UHCI Controller #1
          vendor: Intel Corporation
          physical id: 1d
          bus info: pci@0000:00:1d.0
          version: 01
          width: 32 bits
          clock: 33MHz
          capabilities: uhci bus_master
          configuration: driver=uhci_hcd latency=0 module=uhci_hcd
          *-usb:1
          description: USB Controller
          product: 82801G (ICH7 Family) USB UHCI Controller #2
          vendor: Intel Corporation
          physical id: 1d.1
          bus info: pci@0000:00:1d.1
          version: 01
          width: 32 bits
          clock: 33MHz
          capabilities: uhci bus_master
          configuration: driver=uhci_hcd latency=0 module=uhci_hcd
          *-usb:2
          description: USB Controller
          product: 82801G (ICH7 Family) USB UHCI Controller #3
          vendor: Intel Corporation
          physical id: 1d.2
          bus info: pci@0000:00:1d.2
          version: 01
          width: 32 bits
          clock: 33MHz
          capabilities: uhci bus_master
          configuration: driver=uhci_hcd latency=0 module=uhci_hcd
          *-usb:3
          description: USB Controller
          product: 82801G (ICH7 Family) USB UHCI Controller #4
          vendor: Intel Corporation
          physical id: 1d.3
          bus info: pci@0000:00:1d.3
          version: 01
          width: 32 bits
          clock: 33MHz
          capabilities: uhci bus_master
          configuration: driver=uhci_hcd latency=0 module=uhci_hcd
          *-usb:4
          description: USB Controller
          product: 82801G (ICH7 Family) USB2 EHCI Controller
          vendor: Intel Corporation
          physical id: 1d.7
          bus info: pci@0000:00:1d.7
          version: 01
          width: 32 bits
          clock: 33MHz
          capabilities: pm ehci bus_master cap_list
          configuration: driver=ehci_hcd latency=0 module=ehci_hcd
          *-pci:3
          description: PCI bridge
          product: 82801 PCI Bridge
          vendor: Intel Corporation
          physical id: 1e
          bus info: pci@0000:00:1e.0
          version: e1
          width: 32 bits
          clock: 33MHz
          capabilities: pci subtractive_decode bus_master cap_list
          *-storage
          description: RAID bus controller
          product: IT/ITE8212 Dual channel ATA RAID controller
          vendor: Integrated Technology Express, Inc.
          physical id: 0
          bus info: pci@0000:04:00.0
          version: 13
          width: 32 bits
          clock: 66MHz
          capabilities: storage pm bus_master cap_list
          configuration: driver=pata_it821x latency=64 maxlatency=8 mingnt=8 module=pata_it821x
          *-multimedia:0 UNCLAIMED
          description: Multimedia video controller
          product: CX23880/1/2/3 PCI Video and Audio Decoder
          vendor: Conexant
          physical id: 2
          bus info: pci@0000:04:02.0
          version: 05
          width: 32 bits
          clock: 33MHz
          capabilities: vpd pm bus_master cap_list
          configuration: latency=32 maxlatency=55 mingnt=20
          *-multimedia:1
          description: Multimedia controller
          product: CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port]
          vendor: Conexant
          physical id: 2.2
          bus info: pci@0000:04:02.2
          version: 05
          width: 32 bits
          clock: 33MHz
          capabilities: pm bus_master cap_list
          configuration: driver=cx88-mpeg driver manager latency=32 maxlatency=88 mingnt=6 module=cx8802
          *-isa
          description: ISA bridge
          product: 82801GB/GR (ICH7 Family) LPC Interface Bridge
          vendor: Intel Corporation
          physical id: 1f
          bus info: pci@0000:00:1f.0
          version: 01
          width: 32 bits
          clock: 33MHz
          capabilities: isa bus_master cap_list
          configuration: latency=0
          *-ide
          description: IDE interface
          product: 82801G (ICH7 Family) IDE Controller
          vendor: Intel Corporation
          physical id: 1f.1
          bus info: pci@0000:00:1f.1
          logical name: scsi2
          version: 01
          width: 32 bits
          clock: 33MHz
          capabilities: ide bus_master emulated
          configuration: driver=ata_piix latency=0 module=ata_piix
          *-disk
          description: SCSI Disk
          product: ST380011A
          vendor: ATA
          physical id: 0.0.0
          bus info: scsi@2:0.0.0
          logical name: /dev/sda
          version: 3.04
          serial: 3JV02Q6R
          size: 74GB
          capabilities: partitioned partitioned:dos
          configuration: ansiversion=5
          *-volume:0
          description: Linux filesystem partition
          physical id: 1
          bus info: scsi@2:0.0.0,1
          logical name: /dev/sda1
          capacity: 71GB
          capabilities: primary bootable
          *-volume:1
          description: Extended partition
          physical id: 2
          bus info: scsi@2:0.0.0,2
          logical name: /dev/sda2
          size: 2957MB
          capacity: 2957MB
          capabilities: primary extended partitioned partitioned:extended
          *-logicalvolume
          description: Linux swap / Solaris partition
          physical id: 5
          logical name: /dev/sda5
          capacity: 2957MB
          capabilities: nofs
          *-cdrom
          description: DVD reader
          product: RW/DVD GCC-4320B
          vendor: HL-DT-ST
          physical id: 0.1.0
          bus info: scsi@2:0.1.0
          logical name: /dev/cdrom
          logical name: /dev/dvd
          logical name: /dev/scd0
          logical name: /dev/sr0
          version: 1.00
          capabilities: removable audio cd-r cd-rw dvd
          configuration: ansiversion=5 status=open
          *-serial UNCLAIMED
          description: SMBus
          product: 82801G (ICH7 Family) SMBus Controller
          vendor: Intel Corporation
          physical id: 1f.3
          bus info: pci@0000:00:1f.3
          version: 01
          width: 32 bits
          clock: 33MHz
          configuration: latency=0
          --------------------------------------------------------
          My that is a fair bit of information. The raid controller does get a mention. There are two things I have not mentioned. One is the main board has a built in sata raid controller (nothing connected) and I have not set the interrupts etc of the controller board they were just left as the standard default.

          Comment


            #6
            Re: How set up my controller card

            Hmm.

            Well based on the motherboard specs and the innovision card specs it appears as if the ITE8212 is indeed your innovision card.

            The card is recognized and the pata_it821x module appears to be loading. You should be able to confirm this with

            lsmod | grep 821

            No disks are showing up however. To confirm: you are sure that you went into the raid card's bios setup and configured correctly and didn't do something like go into the motherboard raid and configure that by mistake?

            I'll do some more research on this because I don't know why the system is not recognizing the drives. Everything that I am reading claims that newer distros should be able to handle this raid chip without additional work from the user, but there do seem to be people having problems. I haven't found a solid lead yet. I'll do what I can.


            Comment


              #7
              Re: How set up my controller card

              mikehmc@hmcfred:~$ lsmod | grep 821
              pata_it821x 12292 0
              libata 125168 3 ata_piix,pata_it821x,ata_generic

              I am sure I configured the right device since the hardware does see the disks and they are connected to the controller card. If my interrupts were not right then I assume I not have got this far. If this were windows or any OS in that line I would now need to partition the Raid drive and format. I can not see any way I can do that in Kubuntu. Is that my problem?
              I am now going to reboot and see what happens even though I am sure I have done that.

              Rebooted and had a look at settings.
              Controller interrupt is B (Hex) and master address D010 Slave D210. Is this right I thought IDE controllers were E or F? Is it different with Linux?

              Another thought is shouldn't a ide disk be on hda or hdb? I will look when I get home tonight

              Comment


                #8
                Re: How set up my controller card

                You might want to try booting from a live CD (the one you installed Kubuntu from will do, I think) and play around with QTParted (found under "System" in the menu". This is a partition editor that (should) have some options for RAID... as I'm still stuck back in the days of PATA, I can't help you any further than that!

                Comment


                  #9
                  Re: How set up my controller card

                  Okay tried QTParted and it found the drive I can see but nothing else.
                  ls /dev/hd* does not produce anything

                  Tried installing the module provided for DEB debian I guess, got.
                  root@hmcfred:/home/mikehmc# modprobe sd_mod
                  root@hmcfred:/home/mikehmc# insmod iteraid.o
                  insmod: error inserting 'iteraid.o': -1 Invalid module format

                  I have used fdisk to see what partitions are available and get:-

                  root@hmcfred:/home/mikehmc# fdisk -l

                  Disk /dev/sda: 80.0 GB, 80026361856 bytes
                  255 heads, 63 sectors/track, 9729 cylinders
                  Units = cylinders of 16065 * 512 = 8225280 bytes
                  Disk identifier: 0x21782177

                  Device Boot Start End Blocks Id System
                  /dev/sda1 * 1 9352 75119908+ 83 Linux
                  /dev/sda2 9353 9729 3028252+ 5 Extended
                  /dev/sda5 9353 9729 3028221 82 Linux swap / Solaris

                  So I wonder where sda3 and sda4 are?

                  I have to go away for the next 3 days so I will get back to this Monday. Feel the answer is just that I am ignorant of how it should be done.

                  Comment


                    #10
                    Re: How set up my controller card

                    Okay where do I go from here? Should I transfer to some other forum or am chasing a hopeless cause? Where would I find a solution?

                    Comment


                      #11
                      Re: How set up my controller card

                      I thought I had more time, but I have tried looking into this.

                      At a minimum the OS should be detecting that there is something attached to the card, but it isn't.
                      There are pretty good indications that people are having problems with pata_it821x. It also looks like the older it821x functions for them. In other words they didn't have problems in dapper, only from feisty on.

                      On your options:

                      The modules on your disk are likely not going to be useful for a new debian distro on the latest kernel.
                      On the issue of compiling your own from your disk files, again I suspect the code is old, perhaps even for 2.4 kernel.

                      I think your best 2 options(with the best first), are:

                      1. booting a livecd of dapper and seeing if sudo lshw and qt/gparted at least detect that there are drives connected.

                      2. trying
                      Code:
                      sudo modprobe -r pata_it821x
                      Code:
                      sudo modprobe pata_it821x noraid=1
                      If the drives are recognized with noraid set you could load the drivers nonraid and use linux software raid with the now recognized drives.

                      If you seek help elsewhere, like the ubuntu forums, could you give us links to those threads? I'm interested in keeping track of this and knowing what, if any, solution you find.

                      Comment


                        #12
                        Re: How set up my controller card

                        Unfortunately I have run out of time and will have to try another way. I have three IDE disks and a DVD reader. Modern boards have only one IDE so that covers my 80gb system disk and DVD. So how do I use my two 300gb IDE disks? I think have the skills (having been a programmer since 1975) to get them working but being inexperienced with Linux this will not be quick.

                        So my option now is to pull the drives out and transfer them to a Windows box. As it is fairly full I will still have to use the controller card. Transfer data and then use two SATA drives the IDE ones will replace. BTW Raid is not important I just want to get some large capacity drives in to this new Linux box which will be running MythTV soon I hope.

                        Thanks for your help sorry we were not successful.

                        Comment


                          #13
                          Re: How set up my controller card

                          "Transfer data..."

                          I was under the impression you weren't trying to salvage any data off the drives? If you are then I would certainly return the drives to whatever install they were under and back them up completely.


                          If raid isn't important you should be able to put the card into a non-raid mode. You could then try the modprobe instructions I gave above, to remove and then reload the module with the noraid option. Then run lshw and see if the drives are showing up. If they are you should be able to use them simply as additional individual drives.

                          Comment


                            #14
                            Re: How set up my controller card

                            I can't go back now. To set the record straight though the two IDE disks were empty. I need to get SATA drives so I put the two IDE disks into the W2K box and copied data from the SATA drives in that box to the empty IDE ones.

                            Then I have two SATA disks for the Linux box and no controller! I have already moved the disks to W2k box and transfered the data. W2K recognised the controller immediately I installed the driver, partioned and formatted. No problems!

                            So now I have two SATA only 250Gb each but oh well! Now do I just connect them and they work? Of course I have to enable the on board SATA but where to from there? I have get on with this quickly.

                            Comment


                              #15
                              Re: How set up my controller card

                              I think drivers are probably loaded by default even though you didn't have sata drives connected.

                              When you boot up run

                              lshw -C disk

                              and you will hopefully see all 4 of your drives.
                              At that point you can either mount them manually or people here will help with setting them up to be mounted on boot. This will require some fstab changes but shouldn't be a big issue if the drives are recognized.

                              Comment

                              Working...
                              X