Re: HPT302 (Rocket133) Issues

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 09 April 2003 08:03 am, Brian Hanks wrote:

> Why is the second WD drive showing with 16 heads instead of 255 like
> all of my other drives?  Something seemed a bit strange.  So, I started
> to try to install the Highpoint drivers instead of the standard
> drivers. Unfortunately, they won't compile because they provide a
> pre-compiled hpt302lib.o file that was compiled with gcc version 2.
>
> Any thoughts on how one might find a solution to this problem?

The module won't build, or can't be installed?
It builds fine here, once the Makefile is edited to define a sane kernel
source directory. I don't have a rocket133 to test the module with
however.

$ cat /etc/redhat-release
Red Hat Linux release 9 (Shrike)

I downloaded the file hpt302-opensource-v10.tgz
$ tar -xvzf hpt302-opensource-v10.tgz

Edited the Makefile, changing:
KERNELDIR = /usr/src/linux

to:
KERNELDIR = /lib/modules/`uname -r`/build

It builds like so:
$ make
gcc -DHIGHPOINT -DDRIVER_VERSION=\"1.0\" -DMODVERSIONS -DMODULE -DLINUX
- -D__KERNEL__=1 -DCONFIG_PCI -D__BOOT_KERNEL_SMP=0 -D__BOOT_KERNEL_UP=1
- -O2 -I/lib/modules/`uname -r`/build/include -I/lib/modules/`uname
- -r`/build/include/asm-i386 -I/lib/modules/`uname -r`/build/drivers/scsi
- -Wall -Wstrict-prototypes -fomit-frame-pointer  -c hpt.c
hpt.c: In function `hpt_set_device_offline':
hpt.c:470: warning: deprecated use of label at end of compound statement
hpt.c: In function `TaskQueue':
hpt.c:569: warning: deprecated use of label at end of compound statement
ld -m elf_i386 -r hpt302lib.o hpt.o -o hpt302.o

$ /sbin/modinfo hpt302.o
filename:    hpt302.o
description: "Driver for HPT302"
author:      "HighPoint Technologies, Inc."
license:     <none>

Note that no license is defined in the source code, so the resulting
module will taint the kernel.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+lMOGn/07WoAb/SsRAkHiAJ9fXf1AzBTttedxDbvDduEGoz3YewCdE6fB
gsoLErUKdxmi5SSbFTsszpY=
=MsC/
-----END PGP SIGNATURE-----





[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux