Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Problem sa podešavanjem modema Intel 537

[es] :: Linux mreže :: Problem sa podešavanjem modema Intel 537

[ Pregleda: 1834 | Odgovora: 1 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

dk86

Član broj: 60829
Poruke: 9
*.ptt.yu.



Profil

icon Problem sa podešavanjem modema Intel 53705.09.2005. u 20:14 - pre 226 meseci
Instalirao sam sistem Fedora Core 3 i imam problema sa podešavanjem modema "Intel 537 Data fax V.90 Modem". Skinuo sam drajvere sa net-a i sledio uputstva:
-prešao sam u folder u koji sam extractovao sadržaj paketa
-ukucao "make clean"
-ukucao "make 537"
-ukucao "make install"

Shell pokazuje sledece:

---------------------------------
[root@localhost modem]# make clean
cd coredrv; make clean
make[1]: Entering directory `/home/darjan/DK/modem/coredrv'
rm -f *.ko *.o *~ core
make[1]: Leaving directory `/home/darjan/DK/modem/coredrv'
rm -f *.o *.ko
[root@localhost modem]# make 537
if [ -a /boot/vmlinuz.version.h ]; then \
cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h; fi
if [ ]; then \
cd coredrv; make TARGET=TARGET_CATAWBA KERNEL_SOURCE_PATH= "PSTN_DEF=-DTARGET_CATAWBA -DTARGET_LINUX -DLINUX" 537core; \
else \
cd coredrv; make TARGET=TARGET_CATAWBA KERNEL_INCLUDES=/lib/modules/`uname -r`/build/include \
"PSTN_DEF=-DTARGET_CATAWBA -DTARGET_LINUX -DLINUX" 537core; \
fi ;
make[1]: Entering directory `/home/darjan/DK/modem/coredrv'
cc -DTARGET_CATAWBA -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -DTARGET_CATAWBA -c -o coredrv.o coredrv.c
In file included from /lib/modules/2.6.9-1.667/build/include/linux/config.h:4,
from hamdefs.h:49,
from hamcore.h:48,
from coredrv.c:33:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace
In file included from /lib/modules/2.6.9-1.667/build/include/asm/thread_info.h:16,
from /lib/modules/2.6.9-1.667/build/include/linux/thread_info.h:21,
from /lib/modules/2.6.9-1.667/build/include/linux/spinlock.h:12,
from /lib/modules/2.6.9-1.667/build/include/linux/capability.h:45,
from /lib/modules/2.6.9-1.667/build/include/linux/sched.h:7,
from /lib/modules/2.6.9-1.667/build/include/linux/smp_lock.h:5,
from /lib/modules/2.6.9-1.667/build/include/linux/hardirq.h:5,
from /lib/modules/2.6.9-1.667/build/include/linux/delay.h:13,
from coredrv.c:34:
/lib/modules/2.6.9-1.667/build/include/asm/processor.h:67: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/lib/modules/2.6.9-1.667/build/include/asm/processor.h:67: error: requested alignment is not a constant
In file included from /lib/modules/2.6.9-1.667/build/include/linux/irq.h:20,
from /lib/modules/2.6.9-1.667/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.9-1.667/build/include/linux/hardirq.h:6,
from /lib/modules/2.6.9-1.667/build/include/linux/delay.h:13,
from coredrv.c:34:
/lib/modules/2.6.9-1.667/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /lib/modules/2.6.9-1.667/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.9-1.667/build/include/linux/hardirq.h:6,
from /lib/modules/2.6.9-1.667/build/include/linux/delay.h:13,
from coredrv.c:34:
/lib/modules/2.6.9-1.667/build/include/linux/irq.h:68: error: requested alignment is not a constant
/lib/modules/2.6.9-1.667/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.6.9-1.667/build/include/linux/irq.h:72,
from /lib/modules/2.6.9-1.667/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.9-1.667/build/include/linux/hardirq.h:6,
from /lib/modules/2.6.9-1.667/build/include/linux/delay.h:13,
from coredrv.c:34:
/lib/modules/2.6.9-1.667/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
In file included from /lib/modules/2.6.9-1.667/build/include/linux/hardirq.h:6,
from /lib/modules/2.6.9-1.667/build/include/linux/delay.h:13,
from coredrv.c:34:
/lib/modules/2.6.9-1.667/build/include/asm/hardirq.h:13: error: requested alignment is not a constant
In file included from /lib/modules/2.6.9-1.667/build/include/linux/module.h:23,
from coredrv.c:37:
/lib/modules/2.6.9-1.667/build/include/asm/module.h:59:2: #error unknown processor family
coredrv.c:73: warning: conflicting types for built-in function 'putchar'
coredrv.c: In function `open':
coredrv.c:356: warning: passing arg 2 of `request_irq' from incompatible pointer type
coredrv.c: In function `schedule_background_event':
coredrv.c:549: warning: implicit declaration of function `queue_task'
coredrv.c:549: error: structure has no member named `tqueue'
coredrv.c:549: error: `tq_immediate' undeclared (first use in this function)
coredrv.c:549: error: (Each undeclared identifier is reported only once
coredrv.c:549: error: for each function it appears in.)
coredrv.c:550: warning: implicit declaration of function `mark_bh'
coredrv.c:550: error: `IMMEDIATE_BH' undeclared (first use in this function)
coredrv.c: In function `interruptible_sleep_on_persistReadQ':
coredrv.c:706: warning: `interruptible_sleep_on' is deprecated (declared at /lib/modules/2.6.9-1.667/build/include/linux/wait.h:290)
make[1]: *** [coredrv.o] Error 1
make[1]: Leaving directory `/home/darjan/DK/modem/coredrv'
make: *** [537] Error 2
[root@localhost modem]# make install
if [ -a /boot/vmlinuz.version.h ]; then \
cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h; fi
if [ ]; then \
cd coredrv; make TARGET=TARGET_CATAWBA KERNEL_SOURCE_PATH= "PSTN_DEF=-DTARGET_CATAWBA -DTARGET_LINUX -DLINUX" 537core; \
else \
cd coredrv; make TARGET=TARGET_CATAWBA KERNEL_INCLUDES=/lib/modules/`uname -r`/build/include \
"PSTN_DEF=-DTARGET_CATAWBA -DTARGET_LINUX -DLINUX" 537core; \
fi ;
make[1]: Entering directory `/home/darjan/DK/modem/coredrv'
cc -DTARGET_CATAWBA -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -DTARGET_CATAWBA -c -o coredrv.o coredrv.c
In file included from /lib/modules/2.6.9-1.667/build/include/linux/config.h:4,
from hamdefs.h:49,
from hamcore.h:48,
from coredrv.c:33:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace
In file included from /lib/modules/2.6.9-1.667/build/include/asm/thread_info.h:16,
from /lib/modules/2.6.9-1.667/build/include/linux/thread_info.h:21,
from /lib/modules/2.6.9-1.667/build/include/linux/spinlock.h:12,
from /lib/modules/2.6.9-1.667/build/include/linux/capability.h:45,
from /lib/modules/2.6.9-1.667/build/include/linux/sched.h:7,
from /lib/modules/2.6.9-1.667/build/include/linux/smp_lock.h:5,
from /lib/modules/2.6.9-1.667/build/include/linux/hardirq.h:5,
from /lib/modules/2.6.9-1.667/build/include/linux/delay.h:13,
from coredrv.c:34:
/lib/modules/2.6.9-1.667/build/include/asm/processor.h:67: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/lib/modules/2.6.9-1.667/build/include/asm/processor.h:67: error: requested alignment is not a constant
In file included from /lib/modules/2.6.9-1.667/build/include/linux/irq.h:20,
from /lib/modules/2.6.9-1.667/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.9-1.667/build/include/linux/hardirq.h:6,
from /lib/modules/2.6.9-1.667/build/include/linux/delay.h:13,
from coredrv.c:34:
/lib/modules/2.6.9-1.667/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /lib/modules/2.6.9-1.667/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.9-1.667/build/include/linux/hardirq.h:6,
from /lib/modules/2.6.9-1.667/build/include/linux/delay.h:13,
from coredrv.c:34:
/lib/modules/2.6.9-1.667/build/include/linux/irq.h:68: error: requested alignment is not a constant
/lib/modules/2.6.9-1.667/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.6.9-1.667/build/include/linux/irq.h:72,
from /lib/modules/2.6.9-1.667/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.9-1.667/build/include/linux/hardirq.h:6,
from /lib/modules/2.6.9-1.667/build/include/linux/delay.h:13,
from coredrv.c:34:
/lib/modules/2.6.9-1.667/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
In file included from /lib/modules/2.6.9-1.667/build/include/linux/hardirq.h:6,
from /lib/modules/2.6.9-1.667/build/include/linux/delay.h:13,
from coredrv.c:34:
/lib/modules/2.6.9-1.667/build/include/asm/hardirq.h:13: error: requested alignment is not a constant
In file included from /lib/modules/2.6.9-1.667/build/include/linux/module.h:23,
from coredrv.c:37:
/lib/modules/2.6.9-1.667/build/include/asm/module.h:59:2: #error unknown processor family
coredrv.c:73: warning: conflicting types for built-in function 'putchar'
coredrv.c: In function `open':
coredrv.c:356: warning: passing arg 2 of `request_irq' from incompatible pointer type
coredrv.c: In function `schedule_background_event':
coredrv.c:549: warning: implicit declaration of function `queue_task'
coredrv.c:549: error: structure has no member named `tqueue'
coredrv.c:549: error: `tq_immediate' undeclared (first use in this function)
coredrv.c:549: error: (Each undeclared identifier is reported only once
coredrv.c:549: error: for each function it appears in.)
coredrv.c:550: warning: implicit declaration of function `mark_bh'
coredrv.c:550: error: `IMMEDIATE_BH' undeclared (first use in this function)
coredrv.c: In function `interruptible_sleep_on_persistReadQ':
coredrv.c:706: warning: `interruptible_sleep_on' is deprecated (declared at /lib/modules/2.6.9-1.667/build/include/linux/wait.h:290)
make[1]: *** [coredrv.o] Error 1
make[1]: Leaving directory `/home/darjan/DK/modem/coredrv'
make: *** [537] Error 2
[root@localhost modem]#

--------------------------------


Ocigledno je da dolazi do odredene greške, ali pošto sam totalni pocetnik u Linux-u, ne znam kako da to ispravim.

Molim za pomoc!!!
Unapred - HVALA!
 
Odgovor na temu

BastardX

Član broj: 58381
Poruke: 328
*.donet.co.yu.



Profil

icon Re: Problem sa podešavanjem modema Intel 53707.09.2005. u 18:39 - pre 226 meseci
Mozes pogledati ovaj post sa linmodems
http://linmodems.technion.ac.il/archive-fifth/msg00541.html
Ovde mozes videti komandu kojom je ovaj covek podesio kernel heder.
Takodje pogledaj dali si skinuo pravi drajver za tvoj modem.Najbolje idi iz pocetka i skeniraj modem sa skriptom.
 
Odgovor na temu

[es] :: Linux mreže :: Problem sa podešavanjem modema Intel 537

[ Pregleda: 1834 | Odgovora: 1 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.