Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Haighpoint HPT302 (Rocket133)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
d0minus
Tux's lil' helper
Tux's lil' helper


Joined: 25 Apr 2005
Posts: 90
Location: Ukraine

PostPosted: Mon Apr 10, 2006 10:13 am    Post subject: Haighpoint HPT302 (Rocket133) Reply with quote

Немогу никак скомпелировать драйвер, постоянно выдайот ошыбку
Code:

make KERNELDIR=/usr/src/linux-2.6.15-gentoo-r1 NON_RAID=1
make -C /usr/src/linux-2.6.15-gentoo-r1 SUBDIRS=`pwd` modules
make[1]: Entering directory `/usr/src/linux-2.6.15-gentoo-r1'

  WARNING: Symbol version dump /usr/src/linux-2.6.15-gentoo-r1/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /root/ptp302/hpt.o
In file included from include/linux/module.h:10,
                 from /root/ptp302/hpt.c:5:
include/linux/sched.h:4:37: asm/param.h: No such file or directory
In file included from include/linux/types.h:13,
                 from include/linux/capability.h:16,
                 from include/linux/sched.h:7,
                 from include/linux/module.h:10,
                 from /root/ptp302/hpt.c:5:
include/linux/posix_types.h:47:29: asm/posix_types.h: No such file or directory
In file included from include/linux/capability.h:16,
                 from include/linux/sched.h:7,
                 from include/linux/module.h:10,
                 from /root/ptp302/hpt.c:5:
include/linux/types.h:14:23: asm/types.h: No such file or directory
In file included from include/linux/capability.h:16,
                 from include/linux/sched.h:7,
                 from include/linux/module.h:10,
                 from /root/ptp302/hpt.c:5:
include/linux/types.h:18: error: parse error before "__kernel_dev_t"
include/linux/types.h:18: warning: type defaults to `int' in declaration of `__kernel_dev_t'
include/linux/types.h:18: warning: data definition has no type or storage class
include/linux/types.h:21: error: parse error before "dev_t"
include/linux/types.h:21: warning: type defaults to `int' in declaration of `dev_t'
include/linux/types.h:21: warning: data definition has no type or storage class
include/linux/types.h:22: error: parse error before "ino_t"
include/linux/types.h:22: warning: type defaults to `int' in declaration of `ino_t'
include/linux/types.h:22: warning: data definition has no type or storage class
include/linux/types.h:23: error: parse error before "mode_t"
include/linux/types.h:23: warning: type defaults to `int' in declaration of `mode_t'
include/linux/types.h:23: warning: data definition has no type or storage class
include/linux/types.h:24: error: parse error before "nlink_t"
include/linux/types.h:24: warning: type defaults to `int' in declaration of `nlink_t'
include/linux/types.h:24: warning: data definition has no type or storage class
include/linux/types.h:25: error: parse error before "off_t"
include/linux/types.h:25: warning: type defaults to `int' in declaration of `off_t'
include/linux/types.h:25: warning: data definition has no type or storage class
include/linux/types.h:26: error: parse error before "pid_t"
include/linux/types.h:26: warning: type defaults to `int' in declaration of `pid_t'
include/linux/types.h:26: warning: data definition has no type or storage class
include/linux/types.h:27: error: parse error before "daddr_t"
include/linux/types.h:27: warning: type defaults to `int' in declaration of `daddr_t'
include/linux/types.h:27: warning: data definition has no type or storage class
include/linux/types.h:29: error: parse error before "suseconds_t"
include/linux/types.h:29: warning: type defaults to `int' in declaration of `suseconds_t'
include/linux/types.h:29: warning: data definition has no type or storage class
include/linux/types.h:30: error: parse error before "timer_t"
include/linux/types.h:30: warning: type defaults to `int' in declaration of `timer_t'
include/linux/types.h:30: warning: data definition has no type or storage class
include/linux/types.h:31: error: parse error before "clockid_t"
include/linux/types.h:31: warning: type defaults to `int' in declaration of `clockid_t'
include/linux/types.h:31: warning: data definition has no type or storage class
include/linux/types.h:35: error: parse error before "uid_t"
include/linux/types.h:35: warning: type defaults to `int' in declaration of `uid_t'
include/linux/types.h:35: warning: data definition has no type or storage class
include/linux/types.h:36: error: parse error before "gid_t"
include/linux/types.h:36: warning: type defaults to `int' in declaration of `gid_t'
include/linux/types.h:36: warning: data definition has no type or storage class
include/linux/types.h:37: error: parse error before "uid16_t"
include/linux/types.h:37: warning: type defaults to `int' in declaration of `uid16_t'
include/linux/types.h:37: warning: data definition has no type or storage class
include/linux/types.h:38: error: parse error before "gid16_t"
include/linux/types.h:38: warning: type defaults to `int' in declaration of `gid16_t'
include/linux/types.h:38: warning: data definition has no type or storage class
include/linux/types.h:42: error: parse error before "old_uid_t"
include/linux/types.h:42: warning: type defaults to `int' in declaration of `old_uid_t'
include/linux/types.h:42: warning: data definition has no type or storage class
include/linux/types.h:43: error: parse error before "old_gid_t"
include/linux/types.h:43: warning: type defaults to `int' in declaration of `old_gid_t'
include/linux/types.h:43: warning: data definition has no type or storage class
include/linux/types.h:55: error: parse error before "loff_t"
include/linux/types.h:55: warning: type defaults to `int' in declaration of `loff_t'
include/linux/types.h:55: warning: data definition has no type or storage class
include/linux/types.h:64: error: parse error before "size_t"
include/linux/types.h:64: warning: type defaults to `int' in declaration of `size_t'
include/linux/types.h:64: warning: data definition has no type or storage class
include/linux/types.h:69: error: parse error before "ssize_t"
include/linux/types.h:69: warning: type defaults to `int' in declaration of `ssize_t'
include/linux/types.h:69: warning: data definition has no type or storage class
include/linux/types.h:74: error: parse error before "ptrdiff_t"
include/linux/types.h:74: warning: type defaults to `int' in declaration of `ptrdiff_t'
include/linux/types.h:74: warning: data definition has no type or storage class
include/linux/types.h:79: error: parse error before "time_t"
include/linux/types.h:79: warning: type defaults to `int' in declaration of `time_t'
include/linux/types.h:79: warning: data definition has no type or storage class
include/linux/types.h:84: error: parse error before "clock_t"
include/linux/types.h:84: warning: type defaults to `int' in declaration of `clock_t'
include/linux/types.h:84: warning: data definition has no type or storage class
include/linux/types.h:89: error: parse error before "caddr_t"
--cut--
include/linux/sched.h:385: error: storage size of `shared_pending' isn't known
include/linux/sched.h:448: error: storage size of `rlim' isn't known
include/linux/sched.h:762: error: storage size of `start_time' isn't known
include/linux/sched.h:791: error: storage size of `thread' isn't known
include/linux/sched.h:803: error: storage size of `pending' isn't known
include/linux/stat.h:68: error: storage size of `atime' isn't known
include/linux/stat.h:69: error: storage size of `mtime' isn't known
include/linux/stat.h:70: error: storage size of `ctime' isn't known
include/linux/device.h:224: error: storage size of `uevent_attr' isn't known
include/linux/pci.h:113: error: storage size of `dev' isn't known
include/linux/fs.h:288: error: storage size of `ia_atime' isn't known
include/linux/fs.h:289: error: storage size of `ia_mtime' isn't known
include/linux/fs.h:290: error: storage size of `ia_ctime' isn't known
include/linux/quota.h:226: error: storage size of `dq_dqb' isn't known
include/linux/fs.h:371: error: storage size of `bd_sem' isn't known
include/linux/fs.h:372: error: storage size of `bd_mount_sem' isn't known
include/linux/fs.h:447: error: storage size of `i_atime' isn't known
include/linux/fs.h:448: error: storage size of `i_mtime' isn't known
include/linux/fs.h:449: error: storage size of `i_ctime' isn't known
include/linux/fs.h:456: error: storage size of `i_sem' isn't known
include/linux/fs.h:457: error: storage size of `i_alloc_sem' isn't known
include/linux/fs.h:483: error: storage size of `inotify_sem' isn't known
include/linux/fs.h:604: error: storage size of `f_owner' isn't known
include/linux/fs.h:792: error: storage size of `s_umount' isn't known
include/linux/fs.h:793: error: storage size of `s_lock' isn't known
include/linux/fs.h:822: error: storage size of `s_vfs_rename_sem' isn't known
include/scsi/scsi_device.h:138: error: storage size of `sdev_gendev' isn't known
include/scsi/scsi_device.h:139: error: storage size of `sdev_classdev' isn't known
make[2]: *** [/root/ptp302/hpt.o] Error 1
make[1]: *** [_module_/root/ptp302] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.15-gentoo-r1'
make: *** [default] Error 2

делал всьо по ридми
кажетса мне что я должен какието модули включить в ядро
етот девайс мне нужен чтобы подключить ещо 2 винта не включая рейд
Back to top
View user's profile Send private message
d0minus
Tux's lil' helper
Tux's lil' helper


Joined: 25 Apr 2005
Posts: 90
Location: Ukraine

PostPosted: Mon Apr 10, 2006 10:32 am    Post subject: Reply with quote

но когда я использую ядро 2.4 компиляцыя проходит успешно
Code:
make KERNELDIR=/usr/src/linux
gcc -DDRIVER_VERSION=\"1.2\" -DMODVERSIONS -DMODULE -DLINUX -D_LINUX_ -D__KERNEL__=1 -DCONFIG_PCI  -Wall -O2 -Wstrict-prototypes -fomit-frame-pointer -I. -I/usr/src/linux/include -I/usr/src/linux/drivers/scsi -c hpt.c -o hpt.o
In file included from /usr/src/linux/include/asm/semaphore.h:39,
                 from /usr/src/linux/include/linux/fs.h:199,
                 from /usr/src/linux/include/linux/capability.h:17,
                 from /usr/src/linux/include/linux/binfmts.h:5,
                 from /usr/src/linux/include/linux/sched.h:9,
                 from hpt.c:18:
/usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
/usr/src/linux/include/asm/system.h:171: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/src/linux/include/asm/system.h:171: warning: dereferencing type-punned pointer will break strict-aliasing rules
ld -r hpt.o -o hpt302.o
Back to top
View user's profile Send private message
046
Apprentice
Apprentice


Joined: 21 Jul 2004
Posts: 231
Location: Yaroslavl, Russia

PostPosted: Mon Apr 10, 2006 7:09 pm    Post subject: Reply with quote

:)
Ты бы с этого и начинал, что пытаешься пихнуть модуль для 2.4 в 2.6

Очень вероятно что ничего не получится. Это же не просто цифирки, там же кучу всего поменяли :)

Короче у тебя 3 варианта.
1. Пользоваться 2.4 (если компьютер - сервер, то вполне нормально)
2. Найти драйвер для текущего ядра (убедившись что его там ещё нет, а он там уже вполне может быть)
3. Написать[поправить] самому или найти того кто это сделает
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum