Ivanovo Linux Users Group - Not logged in
Forum Help Search Login
Previous Next Up Topic Железо / Настраиваем железки / RAID bus controller: Promise Technology, Inc. PDC2 (8851 hits)
- By PAHA Date 29.05.07 10:52
значит пытаюся поставит дрова на данный раид ядро 2,6,21,1
значит как в доке запуская make а оно вылетает в конце с ошибкой

make
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c wrapper.c
cc1: /usr/src/linux/include/linux/modversions.h: No such file or directory
In file included from /usr/src/linux/include/asm/thread_info.h:16,
                 from /usr/src/linux/include/linux/thread_info.h:21,
                 from /usr/src/linux/include/linux/preempt.h:9,
                 from /usr/src/linux/include/linux/spinlock.h:49,
                 from /usr/src/linux/include/linux/vmalloc.h:4,
                 from /usr/src/linux/include/asm/io.h:49,
                 from wrapper.c:10:
/usr/src/linux/include/asm/processor.h:82: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/src/linux/include/asm/processor.h:82: error: requested alignment is not a constant
In file included from wrapper.c:10:
/usr/src/linux/include/asm/io.h: In function `virt_to_phys':
/usr/src/linux/include/asm/io.h:77: error: `CONFIG_PAGE_OFFSET' undeclared (first use in this function)
/usr/src/linux/include/asm/io.h:77: error: (Each undeclared identifier is reported only once
/usr/src/linux/include/asm/io.h:77: error: for each function it appears in.)
/usr/src/linux/include/asm/io.h: In function `phys_to_virt':
/usr/src/linux/include/asm/io.h:95: error: `CONFIG_PAGE_OFFSET' undeclared (first use in this function)
In file included from /usr/src/linux/include/linux/sched.h:51,
                 from wrapper.c:13:
/usr/src/linux/include/linux/jiffies.h:33:3: #error You lose.
/usr/src/linux/include/linux/jiffies.h:225:31: division by zero in #if
/usr/src/linux/include/linux/jiffies.h:225:31: division by zero in #if
/usr/src/linux/include/linux/jiffies.h:225:31: division by zero in #if
/usr/src/linux/include/linux/jiffies.h:225:31: division by zero in #if
/usr/src/linux/include/linux/jiffies.h:225:31: division by zero in #if
/usr/src/linux/include/linux/jiffies.h:225:31: division by zero in #if
/usr/src/linux/include/linux/jiffies.h:225:31: division by zero in #if
/usr/src/linux/include/linux/jiffies.h:225:31: division by zero in #if
/usr/src/linux/include/linux/jiffies.h:225:31: division by zero in #if
/usr/src/linux/include/linux/jiffies.h:225:31: division by zero in #if
/usr/src/linux/include/linux/jiffies.h:225:31: division by zero in #if
/usr/src/linux/include/linux/jiffies.h:225:31: division by zero in #if
/usr/src/linux/include/linux/jiffies.h:225:31: division by zero in #if
/usr/src/linux/include/linux/jiffies.h:225:31: division by zero in #if
/usr/src/linux/include/linux/jiffies.h:225:31: division by zero in #if
/usr/src/linux/include/linux/jiffies.h:225:31: division by zero in #if
In file included from wrapper.c:13:
/usr/src/linux/include/linux/sched.h: In function `dequeue_signal_lock':
/usr/src/linux/include/linux/sched.h:1310: warning: implicit declaration of function `local_irq_save'
/usr/src/linux/include/linux/sched.h:1312: warning: implicit declaration of function `local_irq_restore'
In file included from /usr/src/linux/include/linux/pagemap.h:7,
                 from /usr/src/linux/include/linux/blkdev.h:10,
                 from /usr/include/linux/blk.h:4,
                 from wrapper.c:16:
/usr/src/linux/include/linux/mm.h: In function `lowmem_page_address':
/usr/src/linux/include/linux/mm.h:538: error: `CONFIG_PAGE_OFFSET' undeclared (first use in this function)
In file included from /usr/src/linux/include/linux/module.h:21,
                 from /usr/src/linux/include/linux/blkdev.h:15,
                 from /usr/include/linux/blk.h:4,
                 from wrapper.c:16:
/usr/src/linux/include/asm/module.h:62:2: #error unknown processor family
In file included from /usr/include/linux/blk.h:5,
                 from wrapper.c:16:
/usr/include/linux/locks.h: In function `wait_on_buffer':
/usr/include/linux/locks.h:19: error: `BH_Lock' undeclared (first use in this function)
/usr/include/linux/locks.h:19: error: dereferencing pointer to incomplete type
/usr/include/linux/locks.h:19: error: dereferencing pointer to incomplete type
/usr/include/linux/locks.h: In function `lock_buffer':
/usr/include/linux/locks.h:25: error: `BH_Lock' undeclared (first use in this function)
/usr/include/linux/locks.h:25: error: dereferencing pointer to incomplete type
In file included from wrapper.c:16:
/usr/include/linux/blk.h: At top level:
/usr/include/linux/blk.h:58: error: syntax error before "dev"
/usr/include/linux/blk.h: In function `blkdev_dequeue_request':
/usr/include/linux/blk.h:89: error: dereferencing pointer to incomplete type
In file included from wrapper.c:17:
/usr/src/linux/include/linux/pci.h: In function `pci_register_driver':
/usr/src/linux/include/linux/pci.h:595: error: `KBUILD_MODNAME' undeclared (first use in this function)
In file included from /usr/src/linux/include/linux/pci.h:744,
                 from wrapper.c:17:
/usr/src/linux/include/asm/pci.h: In function `pci_dac_dma_to_page':
/usr/src/linux/include/asm/pci.h:72: warning: implicit declaration of function `__pfn_to_page'
/usr/src/linux/include/asm/pci.h:72: warning: return makes pointer from integer without a cast
make: *** [wrapper.o] Error 1

(сори забыл как код выделять)

что может чего подскажет в чём проблема ?
Parent By G0thic Date 29.05.07 11:29
А как дело обстоит с младшими ядрами? Компилится?
Когда кругозор человека сужается к минимуму, он называет это своей точкой зрения.
Parent By Bercut Date 30.05.07 05:40
текстовку от дров в студию
присоединяюсь к мыслям готика по поводу младших ядер
такая хрень творится когда дрова не подходят к версии ядра
русский язык подобен искуству кун-фу, и великий мастер никогда не применит его без необходимости...
Parent - By PAHA Date 30.05.07 06:03
http://www.linuxcenter.ru/lib/articles/hardware/rh8_tx2000_howto.phtml

ечли что а во тк ядру 2,6,21,1 ну и серии 2,6 оно собираться вобще не хотит, собрать под 2,4 получиться , но у меня ядро то 2,6 :-(
Parent By Bercut Date 31.05.07 06:41 Edited 31.05.07 06:45
вот и хренто весь до копейки
жди когда дрова новые будут
напиши разработчикам
а то что дрова не подошли это скорее хорошо
тк апи у ядер разный и еслибы оно подошло то пиши пропало чето не так

тебехоть есть чего ждать а мне даже и не знаю
будеть подердка ich8 в режиме раида или нет %(
русский язык подобен искуству кун-фу, и великий мастер никогда не применит его без необходимости...
Previous Next Up Topic Железо / Настраиваем железки / RAID bus controller: Promise Technology, Inc. PDC2 (8851 hits)

Powered by mwForum 2.12.0 © 1999-2007 Markus Wichitill

Page created in 0.122s with 10 database queries.