FedoraForum.org - Fedora Support Forums and Community
Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 42
  1. #16
    Join Date
    Oct 2008
    Location
    Kongsberg, Norway
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Rocketraid 2340

    Hi all

    I am trying to install drivers for rocketraid 2340 on two machines, but I can't get the make and make install to work.
    They keep complaining about missing directories

    [root@localhost linux]# make
    grep: /lib/modules/2.6.26.5-45.fc9.x86_64/build/include/linux/version.h: No such file or directory
    expr: syntax error
    ../../../inc/linux/Makefile.def:85: *** Only kernel 2.4/2.6 is supported but you use 2.. Stop.

    What gives?
    Do I have to extract these files into a special directory?
    The manual says I can use 'make' with no preparations for 2.6 and above...

    here's my uname -a
    Linux localhost.localdomain 2.6.26.5-45.fc9.x86_64 #1 SMP Sat Sep 20 03:23:12 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux

    I am quite new to this level of Linux

  2. #17
    Join Date
    Mar 2005
    Location
    Terre Haute, IN
    Posts
    261
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do this:

    yum -y install kernel-devel-2.6.26.5-45.fc9.x86_64

    That should take care of you!

    Andy
    F18

  3. #18
    Join Date
    Oct 2008
    Location
    Kongsberg, Norway
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Lightbulb

    Thanks a lot Diesel that did help me quite a bit, I also reinstalled FC9 (with dev this time) to get Kernel 2.6.25 'make' (on this driver) obviously does not work in 2.6.26

    I still get one error though

    Code:
    [root@localhost linux]# make install
    make[1]: Entering directory `/usr/src/kernels/2.6.25-14.fc9.x86_64'
      CC [M]  /tmp/rr2340-linux-src-v1.5/product/rr2340/linux/.build/os_linux.o
      CC [M]  /tmp/rr2340-linux-src-v1.5/product/rr2340/linux/.build/osm_linux.o
      CC [M]  /tmp/rr2340-linux-src-v1.5/product/rr2340/linux/.build/div64.o
      CC [M]  /tmp/rr2340-linux-src-v1.5/product/rr2340/linux/.build/hptinfo.o
      CC [M]  /tmp/rr2340-linux-src-v1.5/product/rr2340/linux/.build/config.o
      LD [M]  /tmp/rr2340-linux-src-v1.5/product/rr2340/linux/.build/rr2340.o
      Building modules, stage 2.
      MODPOST 1 modules
    WARNING: could not find /tmp/rr2340-linux-src-v1.5/product/rr2340/linux/.build/.him_rr2340.o.cmd for /tmp/rr2340-linux-src-v1.5/product/rr2340/linux/.build/him_rr2340.o
      LD [M]  /tmp/rr2340-linux-src-v1.5/product/rr2340/linux/.build/rr2340.ko
    make[1]: Leaving directory `/usr/src/kernels/2.6.25-14.fc9.x86_64'
    /tmp/rr2340-linux-src-v1.5/osm/linux/install.sh: line 15: modinfo: command not found
    Can not get kernel version from rr2340.ko.
    make: *** [install] Error 1
    This is the last straw for me, I can't waste much more time on this, wish I knew this stuff better

  4. #19
    Join Date
    Oct 2008
    Location
    Kongsberg, Norway
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I guess this is the line causing the trouble:
    Code:
    WARNING: could not find /tmp/rr2340-linux-src-v1.5/product/rr2340/linux/.build/.him_rr2340.o.cmd for /tmp/rr2340-linux-src-v1.5/product/rr2340/linux/.build/him_rr2340.o
    him_rr2340.o and .him_rr2340.o.cmd is there, but the cmd file has no content when I open it in gedit.

    my new signature line:
    I wish I was better at this stuff

    Edit:
    Hmmmm, should I get something if I input 'modinfo -F' in a terminal?
    modinfo -F /tmp/rr2340-linux-src-v1.5/product/rr2340/linux/rr2340.ko gives a 'command not found'
    modprobe rr2340 and modprobe megaraid gives the same, 'command not found'

    Is this correct?
    Last edited by hagen; 7th October 2008 at 08:53 AM.

  5. #20
    Join Date
    Mar 2005
    Location
    Terre Haute, IN
    Posts
    261
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Mmmm, try this:

    yum groupinstall "Development Tools"

    Andy
    F18

  6. #21
    Join Date
    Oct 2008
    Location
    Kongsberg, Norway
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No packages in any requested group available to install or update
    I did a full reinstall with all of the dev stuff yesterday.
    I pasted the kernel version manually into the script in place of the variable, and the drivermodule was then made in the correct location, but I could not get it to work since none of the 'mod' commands works.

    I did an install of Ubuntu to check, and there modinfo works (but there I would be back to exploding the source tree as that was my first problem here as well)

    I will try to install the 32 bit version of FC9
    I wish I knew this stuff better

  7. #22
    Join Date
    Oct 2008
    Location
    Kongsberg, Norway
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I installed Ubuntu server 08041 and ubuntu desktop (like a GUI).
    with what I have learned here it works, because there modinfo and modprobe works.
    I would rather use Fedora though
    I wish I knew this stuff better

  8. #23
    Join Date
    Sep 2007
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by hagen
    Thanks a lot Diesel that did help me quite a bit, I also reinstalled FC9 (with dev this time) to get Kernel 2.6.25 'make' (on this driver) obviously does not work in 2.6.26

    I still get one error though

    Code:
    [root@localhost linux]# make install
    make[1]: Entering directory `/usr/src/kernels/2.6.25-14.fc9.x86_64'
      CC [M]  /tmp/rr2340-linux-src-v1.5/product/rr2340/linux/.build/os_linux.o
      CC [M]  /tmp/rr2340-linux-src-v1.5/product/rr2340/linux/.build/osm_linux.o
      CC [M]  /tmp/rr2340-linux-src-v1.5/product/rr2340/linux/.build/div64.o
      CC [M]  /tmp/rr2340-linux-src-v1.5/product/rr2340/linux/.build/hptinfo.o
      CC [M]  /tmp/rr2340-linux-src-v1.5/product/rr2340/linux/.build/config.o
      LD [M]  /tmp/rr2340-linux-src-v1.5/product/rr2340/linux/.build/rr2340.o
      Building modules, stage 2.
      MODPOST 1 modules
    WARNING: could not find /tmp/rr2340-linux-src-v1.5/product/rr2340/linux/.build/.him_rr2340.o.cmd for /tmp/rr2340-linux-src-v1.5/product/rr2340/linux/.build/him_rr2340.o
      LD [M]  /tmp/rr2340-linux-src-v1.5/product/rr2340/linux/.build/rr2340.ko
    make[1]: Leaving directory `/usr/src/kernels/2.6.25-14.fc9.x86_64'
    /tmp/rr2340-linux-src-v1.5/osm/linux/install.sh: line 15: modinfo: command not found
    Can not get kernel version from rr2340.ko.
    make: *** [install] Error 1
    This is the last straw for me, I can't waste much more time on this, wish I knew this stuff better
    I had the same problem. I can't remember exactly how I fixed it but it was easy.

    First make sure /sbin is in your path, i.e.:

    export PATH=$PATH:/sbin

    If that doesn't work you could go into rr232x-linux-src-v1.8/osm/linux/install.sh and replace modinfo with /sbin/modifno.

    I seem to recall that for some odd reason /sbin isn't in the path when the install script is run... or something... but you are almost there!

  9. #24
    Join Date
    Oct 2008
    Location
    Kongsberg, Norway
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Orp
    export PATH=$PATH:/sbin

    If that doesn't work you could go into rr232x-linux-src-v1.8/osm/linux/install.sh and replace modinfo with /sbin/modinfo.
    Bingo, that did it, not sure wich of them worked as I put both into the install.sh file.
    Atleast it did complete, and with the brand spanking new kernel to boot.

    The start of the install.sh file is now changed to this
    Code:
    #!/bin/sh
    
    if test "${KERNEL_VER-set}" = set; then echo "KERNEL_VER is not set"; exit 1; fi
    if test "${TARGETNAME-set}" = set; then echo "TARGETNAME is not set"; exit 1; fi
    PWD=`pwd`
    export PATH=$PATH:/sbin
    case ${KERNEL_VER} in
    	2.4 )
    	OBJ=o
    	MODVER=`/sbin/modinfo -f%{kernel_version} ${PWD}/${TARGETNAME}.${OBJ}`
    	;;
    	2.6 )
    	OBJ=ko
    	MODVER=`/sbin/modinfo -F vermagic ${PWD}/${TARGETNAME}.${OBJ} | cut -d' ' -f1`
    	;;
    esac
    
    echo " "
    echo "${KERNEL_VER}"
    echo "${TARGETNAME}"
    
    (and so on)
    For those with the same problem as me, now to uninstall all the stuff I tried
    Perhaps even a clean install to start from scratch.

    Thanks a ton guys
    I wish I knew this stuff better

  10. #25
    Join Date
    Oct 2007
    Location
    Canada
    Age
    43
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have the same error on 1740 source code.
    However, im not sure if i have been able to follow all of the directions here...

    Code:
    [root@localhost linux]# make
    make[1]: Entering directory `/usr/src/kernels/2.6.26.5-45.fc9.i686'
      CC [M]  /root/rr174x-linux-src-v2.1/product/rr1740pm/linux/.build/os_linux.o
      CC [M]  /root/rr174x-linux-src-v2.1/product/rr1740pm/linux/.build/osm_linux.o
      CC [M]  /root/rr174x-linux-src-v2.1/product/rr1740pm/linux/.build/div64.o
      CC [M]  /root/rr174x-linux-src-v2.1/product/rr1740pm/linux/.build/hptinfo.o
      CC [M]  /root/rr174x-linux-src-v2.1/product/rr1740pm/linux/.build/config.o
      LD [M]  /root/rr174x-linux-src-v2.1/product/rr1740pm/linux/.build/rr174x.o
      Building modules, stage 2.
      MODPOST 1 modules
    WARNING: could not find /root/rr174x-linux-src-v2.1/product/rr1740pm/linux/.build/.him_rr1740pm.o.cmd for /root/rr174x-linux-src-v2.1/product/rr1740pm/linux/.build/him_rr1740pm.o
      LD [M]  /root/rr174x-linux-src-v2.1/product/rr1740pm/linux/.build/rr174x.ko
    make[1]: Leaving directory `/usr/src/kernels/2.6.26.5-45.fc9.i686'
    [root@localhost linux]#
    Any ideas? i tried modifying the /osm/install.sh but this gave same warning. I'm did not follow the part about pasting the kernel version in the script... which script?

    Thanks
    Kyle

  11. #26
    Join Date
    Mar 2005
    Location
    Terre Haute, IN
    Posts
    261
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Kyle, that warning is nothing, use "make install" after that and you should be good.
    F18

  12. #27
    Join Date
    Oct 2007
    Location
    Canada
    Age
    43
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    interesting when i did this initially the adapter would just beep (like a system beep but from the board), i updated to the latest kernel via yum and re made the module and it worked thanks!

  13. #28
    Oil_Fan Guest
    You know this is a really good card... It's nice and fast, data transfers are quick. Too bad the drivers won't keep up. I finally got a around to installing the latest driver. Then had Fedora update everything including the kernel.

    If I boot into the new kernel (2.6.27), it freaks out during boot. Basically it looks like the driver isn't loading or something to that effect. It sends me to a command prompt. If I run a fsck, it complains about a 'Bad magic number in super-block'. So I try to run ef2fsck on all the backup copies of superblock but that doesn't work. Either a short read error or it complains about the format of the command.

    But what is messed up, I am able to boot into the old 2.6.24 kernel just fine. I guess I'll just wait until another Highpoint updates the driver...again.

  14. #29
    Join Date
    Oct 2008
    Location
    Kongsberg, Norway
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Oil_Fan
    But what is messed up, I am able to boot into the old 2.6.24 kernel just fine. I guess I'll just wait until another Highpoint updates the driver...again.
    Is the OS installed on the raid?
    If not you should be able to just go trough the "Make" and "make install" 'cycle'¨.
    I wish I knew this stuff better

  15. #30
    Oil_Fan Guest
    Quote Originally Posted by hagen
    Is the OS installed on the raid?
    If not you should be able to just go trough the "Make" and "make install" 'cycle'¨.
    The OS is on a separate drive. The raid is only for data. I was able to get the driver installed but I don't think it's compatible with the current kernel of Fedora.

    One question...ummm... 'cycle'??

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Highpoint RocketRAID 454
    By janand2 in forum Hardware
    Replies: 0
    Last Post: 13th June 2006, 08:36 AM
  2. HighPoint RocketRaid 464 FC4
    By sas in forum Hardware
    Replies: 2
    Last Post: 15th March 2006, 11:50 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •