Koozali.org: home of the SME Server

Highpoint OpenSource Drivers Available

Kelvin

Highpoint OpenSource Drivers Available
« on: April 20, 2002, 09:52:59 AM »
Hi All,

Highpoint has released the open sourced drivers for their controllers. We can now compile drivers to work with SME 5.1.2.

However, does anyone know how to create a linux driver disk for SME for these drivers ? We will need one created before SME will recognise and install directly onto the drives connected to the highpoint controller.

If I recall correctly, Charlie Brady was kind enough to work on the drivers for the Adaptec 2400A controller. Perhaps Charlie could help us with this too ?


Regards,

Kelvin

Paul van Dun

Re: Highpoint OpenSource Drivers Available
« Reply #1 on: April 21, 2002, 02:02:38 AM »
Hello Kelvin,


I've pulled my HPT370A out of the closet as soon as I read your message, made a  fresh install on my testserver and I've installed the make command.
I've ran the command make in the i-bay which holds the downloaded files from highpoint and it came up whith two files named hpt.o and hpt37.o.
when I issued the command depmod -a; insmod hpt37x2.o the output was this:

depmod: *** Unresolved symbols in /lib/modules/2.2.19-7.0.8/misc/ipsec.o
depmod: *** Unresolved symbols in /lib/modules/2.2.19-7.0.8/scsi/megaide.o

Now the question is what does this error mean, and how to resolve it ?

When I issued the command fdisk /dev/sdb thru /dev/sdd it all came out negative so maybe it has something to do with the errors mentioned above, but I think it will bring me closer to finally use my HPT370A in E-smith 5.12 instead of 4.12

BTW this above error is also displayed when I try to compile a driver for my gigabit NIC so maybe someone can solve 2 problems in one time.


Best regards,


Paul van Dun

Kelvin

Re: Highpoint OpenSource Drivers Available
« Reply #2 on: April 21, 2002, 03:46:21 AM »
Hi Paul,

depmod: *** Unresolved symbols in /lib/modules/2.2.19-7.0.8/misc/ipsec.o
depmod: *** Unresolved symbols in /lib/modules/2.2.19-7.0.8/scsi/megaide.o

I've been getting these messages since I can't remember when -- I think from memory from even before I applied Blade 1 for SME 5.1.2 -- has nothing to do with the Highpoint drivers. It appears on ALL my production and test servers.

By the way, did you try /dev/sda ?

I'm still waiting to see if someone can help package the compiled drivers into a RedHat / SME driver disk format so that I can do a clean install directly onto the RAID drives. I can't seem to find any info about how to build a driver disk. In windows, driver disks are basically controlled by entries in an .inf file. Can anyone help out on this ?

Kelvin.

rk

depmod bug?
« Reply #3 on: April 21, 2002, 09:48:52 AM »
I am having the same depmod error, but in a completely different context.  I am trying to run pppd for an incoming connection, and when I issue a depmod -a command I get the same:

[root@www /root]# /sbin/depmod -a
depmod: *** Unresolved symbols in /lib/modules/2.2.19-7.0.8/misc/ipsec.o
depmod: *** Unresolved symbols in /lib/modules/2.2.19-7.0.8/scsi/megaide.o

I beleive there is something misconfigured in the base install.  This came from a fresh 5.1.2 install from cd.  I looked through the boards, and it looks like a couple of other people are having this problem as well.  Can someone shed some light on this?  It looks like a more general problem with the libraries and depmod.

rk

jeff

Re: Highpoint OpenSource Drivers Available
« Reply #4 on: April 22, 2002, 06:51:54 AM »
I too have been trying to implement the High-Point raid controller on SME 5.12. I have been able to successfully compile the device drivers for linux 2.2.19-7.0.8 (whew...), and I believe I have successfully created a driver disk in the correct format for RedHat (required uncompressing modules.cgz, adding new directories & driver ELF file, then recompressing).

I am able to install directly to my raid0+1 array - ALMOST... (see update below)

To save others considerable effort, I have posted a zip file containing the entire contents of a HPT374 driver disk for RedHat (including the e-smith 2.2.19-7.0.8 kernel version.)

You may download it from my website at www.jeffandsteph.com/highpoint/hpt374.zip.  Just unzip the files to a blank ms-dos formatted floppy.

I'm honestly not sure how to correctly use a driver disk with the e-smith kickstart process (as there are no opportunities to select additional drivers), but I can tell you how I loaded the driver during the install.

1) have your raid array installed and configured using the Highpoint bios utility.
2) start the SME 5.12 install process from cd-rom.
3) type accept at the first prompt (to load the boot image)
4) when you get to the license agreement, switch to console 2 [Alt-F2]
5) insert the highpoint floppy and mount: # mount -t vfat /dev/fd0 /mnt/floppy
6) load the driver: # insmod /mnt/floppy/hpt374.o
7) Switch back to console 1 [Alt-F1], accept the license and continue the install.

UPDATE: Here's where I'm still "expanding" my knowledge of linux boot process. (any help would be appreciated ;) SME successfully installed directly onto the raid array, but the kernel boot image still doesn't know how to deal with raid controller. I.e. the kernel starts, detects the processor, drives & other hardware, but panics because it can not mount root (because it doesn't know about the new device driver yet.) - the proverbial chicken & the egg problem. I suspect I can modify the modules file reference by the boot image, but I'm still working on a way to successfully do that.  Will keep everyone informed.

I look forward to our mutual success.

At your service,
Jeff

Kelvin

Re: Highpoint OpenSource Drivers Available
« Reply #5 on: April 22, 2002, 09:09:56 AM »
Jeff,

To tell SME that you have a driver disk, type in

accept dd

at the initial screen instead of just accept.

Does your driver disk also have the support module for the hpt370 / 370A ?

Kelvin

Kelvin

Re: Highpoint OpenSource Drivers Available
« Reply #6 on: April 22, 2002, 03:03:33 PM »
Hi Jeff,

I just tried your driver disk but SME still reports that it is not a valid Red Hat Linux driver disk.

Could you post how you uncompressed and recompressed the modules.cgz file and any other info you might have about the driver disk format ? I would like to try it as well to see if I can come up with a working driver disk.

Kelvin

Kelvin

Re: Highpoint OpenSource Drivers Available
« Reply #7 on: April 22, 2002, 04:33:10 PM »
Hi all,

To anyone who might be interested, I just posted a how-to for creating a proper install time driver disk to support the HPT370 cards.

Hope it is useful for some of you.

Cheers !

Kelvin

Paul van Dun

Re: Highpoint OpenSource Drivers Available
« Reply #8 on: April 23, 2002, 12:30:30 AM »
I'll be glad to test as soon as possible but one of my hdd's crashed so I sent it back to my reseller, and in the mean time I ripped apart my case to give it a nice paintjob.
But Kelvin another question are you able to compile a driver disk for a gigabit lancard ?
I'm still out of luck with compiling the correct driver.


best regards,


Paul van Dun
The Netherlands

D.Garrett

Re: Highpoint OpenSource Drivers Available
« Reply #9 on: May 16, 2002, 07:10:39 AM »
I must be stuck in proxy cache hell.....BUT I can not find this "How To"

Can someone post a link please.

Thanks Kelvin for your work :)

vartan

Re: Highpoint OpenSource Drivers Available
« Reply #10 on: June 13, 2002, 04:46:27 PM »
Hello

I am not sure to understand where your how-to stands ?
I didn't find it on e-smith.org.
I have a 370A controler and I would really like to use it in mirror configuration.
Thanks

Kelvin

Re: Highpoint OpenSource Drivers Available
« Reply #11 on: June 13, 2002, 04:55:04 PM »

Vartanian

Re: Highpoint OpenSource Drivers Available
« Reply #12 on: June 18, 2002, 02:32:02 PM »
I have not been able to get a succesfull installation

I created the floppy disk with the driver as in Kelvin's how-to,
I creating a RAID 1 partition using the HighPoint bios,
but during e-smith installation, I get this message :
"No drives found
 An error has occured - no valid devices were found on which to create new filesystems. Please check your hardware ..."

Maybe the hpt37x2.o I got is not working properly ?

Could someone send me his driver files (especially the hpt37x2.o) ?
my mail : vartan@NOSPAMnerim.net

Thanks very much.

Kelvin

Re: Highpoint OpenSource Drivers Available
« Reply #13 on: June 18, 2002, 03:47:06 PM »
Hi Laurent,

During installation of SME, when you were presented with the initial setup screen, did you remember to enter :

accept dd

instead of just 'accept' ?

Kelvin

Vartanian

Re: Highpoint OpenSource Drivers Available
« Reply #14 on: June 18, 2002, 08:27:03 PM »
Yes, I did. (accept dd)
The installation process asked me for a floppy disk with the drivers.
A windows appeared twice (is this ok) about the installation of the hpt37x2.o
but then I got the window
"No drives found
 An error has occured - no valid devices were found on which to create new
filesystems. Please check your hardware etc."

One day, maybe, I'll get all this working properly ... ?