hello everybody, i was waiting for your help from last one month,but unable to succeeded with the modem intel 537EP driver installation, i have RHEL4,kernel 2.6.9-5EL ,i have tested all the drivers i ahve from linmodem and amigo website gave me and the intel drivers. facing problems. erorrs............. if someone think its a problem with the fat filesystem i ahve tried on the linux native filesystem and still the same problem,and also i have installed the required lib and source code, like kernel-devel,kernel sourse code,and other dependences.. this is the only thing which stoping me using my linux and stuck to the Micro$oft and being the passive user.............................. waiting for your help.............. 537_boot config_check hamregistry license.txt readme.txt usrsound 537_inst coredrv inc makefile serialdrv [root@myhost intel-537-2.27.39.0]# make clean cd coredrv; make clean make[1]: Entering directory `/mnt/vfat/Downloads/intel-537-2.27.39.0/coredrv' rm -f *.o *~ core make[1]: Leaving directory `/mnt/vfat/Downloads/intel-537-2.27.39.0/coredrv' cd serialdrv; make clean make[1]: Entering directory `/mnt/vfat/Downloads/intel-537-2.27.39.0/serialdrv' rm -f *.o *~ core make[1]: Leaving directory `/mnt/vfat/Downloads/intel-537-2.27.39.0/serialdrv' rm -f *.o rm -f *.o [root@myhost intel-537-2.27.39.0]# export MODEM_TYPE=537 [root@myhost intel-537-2.27.39.0]# 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; \ cd ../serialdrv; make TARGET=TARGET_CATAWBA KERNEL_SOURCE_PATH= card=CARD_TJ320 \ "PSTN_DEF=-DTARGET_CATAWBA -DTARGET_LINUX -DLINUX" 537; \ else \ cd coredrv; make TARGET=TARGET_CATAWBA KERNEL_INCLUDES=/lib/modules/`uname -r`/build/include \ "PSTN_DEF=-DTARGET_CATAWBA -DTARGET_LINUX -DLINUX" 537core; \ cd ../serialdrv; make TARGET=TARGET_CATAWBA KERNEL_INCLUDES=/lib/modules/`uname -r`/build/include card=CARD_TJ320 \ "PSTN_DEF=-DTARGET_CATAWBA -DTARGET_LINUX -DLINUX" 537; \ fi ; make[1]: Entering directory `/mnt/vfat/Downloads/intel-537-2.27.39.0/coredrv' cc -DTARGET_CATAWBA -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -c -o coredrv.o coredrv.c In file included from /lib/modules/2.6.9-5.EL/build/include/linux/irq.h:20, from /lib/modules/2.6.9-5.EL/build/include/asm/hardirq.h:6, from /lib/modules/2.6.9-5.EL/build/include/linux/hardirq.h:6, from /lib/modules/2.6.9-5.EL/build/include/linux/delay.h:13, from coredrv.c:34: /lib/modules/2.6.9-5.EL/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory In file included from /lib/modules/2.6.9-5.EL/build/include/asm/hardirq.h:6, from /lib/modules/2.6.9-5.EL/build/include/linux/hardirq.h:6, from /lib/modules/2.6.9-5.EL/build/include/linux/delay.h:13, from coredrv.c:34: /lib/modules/2.6.9-5.EL/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function) In file included from /lib/modules/2.6.9-5.EL/build/include/linux/irq.h:72, from /lib/modules/2.6.9-5.EL/build/include/asm/hardirq.h:6, from /lib/modules/2.6.9-5.EL/build/include/linux/hardirq.h:6, from /lib/modules/2.6.9-5.EL/build/include/linux/delay.h:13, from coredrv.c:34: /lib/modules/2.6.9-5.EL/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function) coredrv.c:73: warning: conflicting types for built-in function 'putchar' coredrv.c: In function `get_pci_info_537': coredrv.c:198: warning: return makes pointer from integer without a cast coredrv.c: In function `open': coredrv.c:282: warning: passing arg 2 of `request_irq' from incompatible pointer type coredrv.c: In function `schedule_background_event': coredrv.c:462: warning: implicit declaration of function `queue_task' coredrv.c:462: error: structure has no member named `tqueue' coredrv.c:462: error: `tq_immediate' undeclared (first use in this function) coredrv.c:462: error: (Each undeclared identifier is reported only once coredrv.c:462: error: for each function it appears in.) coredrv.c:463: warning: implicit declaration of function `mark_bh' coredrv.c:463: error: `IMMEDIATE_BH' undeclared (first use in this function) coredrv.c: At top level: coredrv.c:520: warning: `MODULE_PARM_' is deprecated (declared at /lib/modules/2.6.9-5.EL/build/include/linux/module.h:552) coredrv.c: In function `interruptible_sleep_on_persistReadQ': coredrv.c:635: warning: `interruptible_sleep_on' is deprecated (declared at /lib/modules/2.6.9-5.EL/build/include/linux/wait.h:290) make[1]: *** [coredrv.o] Error 1 make[1]: Leaving directory `/mnt/vfat/Downloads/intel-537-2.27.39.0/coredrv' make[1]: Entering directory `/mnt/vfat/Downloads/intel-537-2.27.39.0/serialdrv' cc -DTARGET_CATAWBA -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -c -o softserial.o softserial.c In file included from /lib/modules/2.6.9-5.EL/build/include/linux/irq.h:20, from /lib/modules/2.6.9-5.EL/build/include/asm/hardirq.h:6, from /lib/modules/2.6.9-5.EL/build/include/linux/hardirq.h:6, from /lib/modules/2.6.9-5.EL/build/include/linux/interrupt.h:11, from /lib/modules/2.6.9-5.EL/build/include/linux/serialP.h:26, from softserial.h:55, from softserial.c:38: /lib/modules/2.6.9-5.EL/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory In file included from /lib/modules/2.6.9-5.EL/build/include/asm/hardirq.h:6, from /lib/modules/2.6.9-5.EL/build/include/linux/hardirq.h:6, from /lib/modules/2.6.9-5.EL/build/include/linux/interrupt.h:11, from /lib/modules/2.6.9-5.EL/build/include/linux/serialP.h:26, from softserial.h:55, from softserial.c:38: /lib/modules/2.6.9-5.EL/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function) In file included from /lib/modules/2.6.9-5.EL/build/include/linux/irq.h:72, from /lib/modules/2.6.9-5.EL/build/include/asm/hardirq.h:6, from /lib/modules/2.6.9-5.EL/build/include/linux/hardirq.h:6, from /lib/modules/2.6.9-5.EL/build/include/linux/interrupt.h:11, from /lib/modules/2.6.9-5.EL/build/include/linux/serialP.h:26, from softserial.h:55, from softserial.c:38: /lib/modules/2.6.9-5.EL/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function) softserial.c: In function `init_module': softserial.c:60: warning: implicit declaration of function `pci_present' softserial.c: In function `softserial_register_tty': softserial.c:99: warning: assignment makes integer from pointer without a cast softserial.c:100: error: structure has no member named `table' softserial.c: In function `softserial_open': softserial.c:161: error: `MOD_IN_USE' undeclared (first use in this function) softserial.c:161: error: (Each undeclared identifier is reported only once softserial.c:161: error: for each function it appears in.) softserial.c:163: error: `MOD_INC_USE_COUNT' undeclared (first use in this function) softserial.c:169: error: structure has no member named `device' softserial.c:169: error: request for member `minor_start' in something not a structure or union softserial.c:177: error: structure has no member named `normal_termios' softserial.c:187: error: structure has no member named `tqueue' softserial.c:188: error: structure has no member named `tqueue' softserial.c:189: error: structure has no member named `session' softserial.c:189: error: structure has no member named `session' softserial.c:190: error: structure has no member named `pgrp' softserial.c:190: error: structure has no member named `pgrp' softserial.c:205: error: `MOD_DEC_USE_COUNT' undeclared (first use in this function) softserial.c: In function `softserial_close': softserial.c:222: error: `MOD_IN_USE' undeclared (first use in this function) softserial.c:224: error: `MOD_DEC_USE_COUNT' undeclared (first use in this function) make[1]: *** [softserial.o] Error 1 make[1]: Leaving directory `/mnt/vfat/Downloads/intel-537-2.27.39.0/serialdrv' make: *** [537] Error 2 [root@myhost intel-537-2.27.39.0]# vim modem compiling 2 files to edit [root@myhost intel-537-2.27.39.0]# regards. On 12/19/06, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> wrote:
Blann, The "make install" command does also include the "make" I didn't want to continue through to the install component, as I don't have the modem hardware on my System. Now that the driver is properly installed, try a test as root: # wvdialconf wvtest Which should find the modem through the /dev/modem --> link Edit in your personal info with: # gedit wvtest to a final form like that below. The try a dialout with: # wvdial --config wvtest MarvS [Dialer Defaults] Baud = 115200 Modem = /dev/537 Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Modem Type = Analog Modem Phone = 3015560020 ISDN = 0 Username = LoginName Password = YourPassWord On 12/18/06, blann <blann@xxxxxxxxxxx> wrote: > I think I am moving forward: > 1) used: touch/usr/src/kernels/2.6.18-1.2798.fc6-i686/include/linux/config.h > This was supposed to create an empty config.h file, since the make failed > due to missing file. > > I then did the make clean,export MODEM_TYPE=537EP, make 537, and install. > These were all done from the directory of the untarred intel driver > file.( I first tried moving the > intel535.ko file to the /usr/src/kernels/2.6.18-1.2798.fc6-i686/ sub > directory before > issueing install, that did not work. Doing it over just using the intel > driver directory (as root), > first issueing 'make clean', then after make 537 andafter the 'make > install' the result is: > > rm -f /etc/hamregistry.bin > bash 537_inst > running kernel 2.6.18-1.2798.fc6 > installing hamregistry, used for.... > " usrsound, a soft... > " 537 module > install REDHAT 537 boot script and links > starting modules and utilities > done > > That sounds encouraging, tho some of the messages following the 'make 537' > command were unsettling . > I tried the suggested tests: > ls -l /dev/modem > lrwxlrxrwx 1 root root 10 dec18 9:10 /dev/modem-> /dev/537 > ls -l /dev/537* > crw-rw-rw- 1 root root 240, 1 dec 18 9:10 /dev/537 > crw------- 1 root root 240, 1 dec 18 9:10 /dev/5370 > (I note that I should change permission on the 5370 file, but continued > testing as root) > > So this looks encouraging to a neophyte; I next tried the wvdial software to > try to connect; it hung up unable > to make a connection. I must spend more time going over that aspect. It did > at one point say that it could > not detect a modem. > > Does it seem from the installation output as tho the modem installation was > a success? I did get a file intel537ko before > issueing the 'install 537' command. > > Thanks for advising if my present problem is getting the system to find the > driver, rather than the earlier step of > producing the driver. > > Marshall > > ----- Original Message ----- > From: "Marvin Stodolsky" <marvin.stodolsky@xxxxxxxxx> > To: "blann" <blann@xxxxxxxxxxx> > Cc: <discuss@xxxxxxxxxxxxx>; "Philippe Vouters" > <philippe.Vouters@xxxxxxxxxxx> > Sent: Sunday, December 17, 2006 3:15 PM > Subject: Re: Fw: FC6 install intel 537EP > > > > Blann, > > > > RE: > This is the location which you should specify for the > > compilation of Intel537.ko > > ---------- > > No. The "make 537" process looks the kernel-headers needed to unite > > with the modem specific code in intel-537EP_secure-2.60.80.1/ > > An expected position tested is in folders named: > > /usr/src/linux* or /usr/src/kernel* or through a symbolic > > link:/ib/modules/kernel-version/build --> > > as it may be located in diverse other places on diverse Systems. > > > > The /usr/src/kernels/kernel_version/ folder used by fedora is an > > innovation in using the intermediate /kernels/ folder. This novelty > > "Philippe Vouters" <philippe.Vouters@xxxxxxxxxxx> hasn't entered into > > the makefile search script yet. That is why you had to enter it "by > > hand". > > > > On my Ubuntu system with a 2.6.17 kernel, I ran: > > /usr/src/modules/intel-537EP_secure-2.60.80.1$ make clean > > Lacking Intel537 modem hardware the autodetect failed, so I compensated > > with: > > $ export MODEM_TYPE=537EP > > Then ran a successful compile with: > > $ make 537 > > see details below. THe product is > > $ ls -l *.ko > > -rw-r--r-- 1 marv marv 4217168 2006-12-17 12:15 Intel537.ko > > > > On your system the compile failed at: > > ----------------- > > make[2]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6-i686' > > CC [M] /root/intel-537EP_secure-2.60.80.1/coredrv/coredrv.o > > In file included from > > /root/intel-537EP_secure-2.60.80.1/coredrv/hamcore.h:45, > > from > > /root/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:33: > > /root/intel-537EP_secure-2.60.80.1/coredrv/hamdefs.h:49:28: error: > > linux/config.h: > > ---------------- > > On my system, this file is present at > > /usr/src/linux-source-2.6.17/include/linux/config.h > > > > I did install the FC6 headers-devel package system (forcible) onto my > > Ubuntu system: > > /usr/src/kernels/2.6.18-1.2798.fc6-i686 > > and checked therein for include/linux/config.h > > It is indeed missing, and that is why the compile failed on your System. > > > > So this seems to be a FC6 bug, that is NOT resident in FC5 > > Because in a FC5 installation on my laptop, there is the ounterpart > > /usr/src/kernels/2.6.17-1.2187_FC5-i686/include/linux/config.h > > and I have run the Intel537.ko therein successfully. > > > > Perhaps some of our Fedora experts will have a suggestion on how to > > manage the linux/config.h absense in FC6. > > > > MarvS > > > > $ make 537 > > Module precompile check > > Current running kernel is: 2.6.17.13-marv2 > > /lib/modules... autoconf.h exists > > diff: /boot/vmlinuz.autoconf.h: No such file or directory > > autoconf.h matches running kernel > > diff: /boot/vmlinuz.version.h: No such file or directory > > version.h matches running kernel > > 2.6.17.13-marv2 > > make[1]: Entering directory > > `/usr/src/modules/intel-537EP_secure-2.60.80.1/coredrv' > > make -C /lib/modules/2.6.17.13-marv2/build > > SUBDIRS=/usr/src/modules/intel-537EP_secure-2.60.80.1/coredrv modules > > make[2]: Entering directory `/usr/src/linux-source-2.6.17' > > CC [M] /usr/src/modules/intel-537EP_secure-2.60.80.1/coredrv/coredrv.o > > CC [M] /usr/src/modules/intel-537EP_secure-2.60.80.1/coredrv/clmmain.o > > CC [M] /usr/src/modules/intel-537EP_secure-2.60.80.1/coredrv/rts.o > > CC [M] /usr/src/modules/intel-537EP_secure-2.60.80.1/coredrv/task.o > > CC [M] /usr/src/modules/intel-537EP_secure-2.60.80.1/coredrv/uart.o > > CC [M] /usr/src/modules/intel-537EP_secure-2.60.80.1/coredrv/wwh_dflt.o > > CC [M] /usr/src/modules/intel-537EP_secure-2.60.80.1/coredrv/locks.o > > CC [M] > > /usr/src/modules/intel-537EP_secure-2.60.80.1/coredrv/softserial_io.o > > CC [M] > > /usr/src/modules/intel-537EP_secure-2.60.80.1/coredrv/softserial_ioctl.o > > CC [M] > > /usr/src/modules/intel-537EP_secure-2.60.80.1/coredrv/softserial.o > > CC [M] > > /usr/src/modules/intel-537EP_secure-2.60.80.1/coredrv/afedsp_int.o > > LD [M] /usr/src/modules/intel-537EP_secure-2.60.80.1/coredrv/Intel537.o > > Building modules, stage 2. > > MODPOST > > WARNING: could not find > > /usr/src/modules/intel-537EP_secure-2.60.80.1/coredrv/.537core.lib.cmd > > for /usr/src/modules/intel-537EP_secure-2.60.80.1/coredrv/537core.lib > > CC > > /usr/src/modules/intel-537EP_secure-2.60.80.1/coredrv/Intel537.mod.o > > LD [M] /usr/src/modules/intel-537EP_secure-2.60.80.1/coredrv/Intel537.ko > > make[2]: Leaving directory `/usr/src/linux-source-2.6.17' > > make[1]: Leaving directory > > `/usr/src/modules/intel-537EP_secure-2.60.80.1/coredrv' > > > > > > On 12/17/06, blann <blann@xxxxxxxxxxx> wrote: > >> > >> Thanks for last suggestions. Downloaded the kernel-devel package and > >> tried > >> the installation, > >> only to get an 'already installed' message- so did not proceed further on > >> that tack. > >> I tried, starting with 'make clean', the installation again logged in as > >> root, and using the # export MODEM_TYPE= 537EP > >> before the ' make 537'. I append the output which indicates a failure to > >> compile the driver. > >> > >> I performed these operations in directory /root/Intel*. > >> > >> I do not understand the suggestion " > >> /usr/src/kernels/2.6.18-1.2798.fc6-i686 > >> This is the location > >> which you should specify for the compilation of Intel537.ko" > >> Where do I specify compilation location? Does the makefile not do that? > >> If > >> so, does one go into and modify that > >> file? And is it correct that I will get no compilation until the cause of > >> the errors is corrected? > >> > >> In the 'readme' from Philippe Vouters there is in 1/ a caution about the > >> CONFIG SMP definition. > >> I found the following references in the subdirectory- none of which I > >> understand: > >> > >> define CONFIG_X86_SMP1 > >> define CONFIG_SUSPEND_SMP1 > >> define CONFIG_X86_FIND_SMP_CONFIG 1 > >> define CONFIG_SMP 1 > >> > >> I do not know if this constitutes the definition mismatch in the caution. > >> Incidentally- I ran my FC6 install > >> using the option acpi=off. Hope this is not the cause of my problems. > >> Once again, thank you for your help- Marshall > >> ----- Original Message ----- > >> From: "blann" <blann@xxxxxxxxxxx> > >> To: <blann@xxxxxxxxxxx> > >> Sent: Saturday, December 16, 2006 5:51 AM > >> Subject: Fw: FC6 install intel 537EP > >> > >> > >> > > >> > ----- Original Message ----- > >> > From: "Marvin Stodolsky" <marvin.stodolsky@xxxxxxxxx> > >> > To: "blann" <blann@xxxxxxxxxxx> > >> > Cc: "Linmodems" <discuss@xxxxxxxxxxxxx> > >> > Sent: Saturday, December 16, 2006 7:22 AM > >> > Subject: Re: FC6 install intel 537EP > >> > > >> > > >> >> Blann > >> >> > >> >> kernel-headers are FileNames.h, in scripting language. > >> >> Some are installed to /usr/include/ and are called upon by executable > >> >> files. > >> >> > >> >> kernel-source is multipotential, and can be used to generate a > >> >> varierty of distinct kernel+module sets, depending upon the > >> >> configuration settings. The configuration of your kernel is > >> >> /boot/config-2.6.18-1.2798.fc6 > >> >> > >> >> This configuration was used to generate the LARGE set of filenames.h > >> >> set included in (Thanks Antonio) > >> >> ftp://ftp.linux.ncsu.edu/pub/fedora/linux/core/6/i386/os/Fedora/RPMS/kernel-devel-2.6.18-1.2798.fc6.i686.rpm > >> >> It has ALL the header files which were assembled, prior to their > >> >> compilation into your kernel : vmlinuz-2.6.18-1.2798.fc6 > >> >> If is also necessary to compile any add in drivers. > >> >> > >> >> After download this package can be installed with > >> >> # rpm -i ker*.rpm > >> >> and the resultant base folder will be: > >> >> /usr/src/kernels/2.6.18-1.2798.fc6-i686/ > >> >> This is the location which you should specify for the compilation of > >> >> Intel537.ko > >> >> There likely is a symbolic link to this base folder: > >> >> /iib/modules/2.6.18-1.2798.fc6/build > >> >> which could be alternatively used (mostly I work under Debian/Ubuntu) > >> >> > >> >> MarvS > >> >> > >> >> > >> >> > >> >> On 12/16/06, blann <blann@xxxxxxxxxxx> wrote: > >> >>> I re-installed my FC6 OS to be sure that I had not corrupted it with > >> >>> my > >> >>> FC2 > >> >>> driver attempt. > >> >>> I downloaded the intel-537EP_secure-2.60.80.1_09_2006.tgz file > >> >>> I checked my install log and found that I had installed kernel > >> >>> headers > >> >>> 2.6.18-1.2798.fc6 > >> >>> and the same kernel source. > >> >>> After un-compressing the file, I checked that the readme file was > >> >>> essentially the same as downloaded earlier > >> >>> for the fc2 attempt. > >> >>> > >> >>> I do not understand the suggestion:" Make sure your computer has all > >> >>> the > >> >>> prerequisites.....and your /usr/src/kernel > >> >>> /'uname -r' /include/linux/aotoconf.h does match your processor > >> >>> configuration. With this , check especially for: > >> >>> $grep SMP /usr/src/kernels/'uname -r'/include/linux/autoconf.h for > >> >>> CONFIG_SMP defined whereas your computer only contains a single > >> >>> processor............... Sorry, don't understand these comments. > >> >>> > >> >>> I logged on as root, went to the directory where the untarred files > >> >>> were > >> >>> stored, gave the > >> >>> #make clean > >> >>> #export MODEM TYPE=537EP > >> >>> #make 537 > >> >>> > >> >>> The following output resulted: > >> >>> > >> >>> rm -f /etc/hamregistry.bin > >> >>> bash 537_inst > >> >>> running kernel 2.618-1.2798.fc6 > >> >>> installing hamregistry,used for persistent storage > >> >>> installing usrsound, a soft buzzer > >> >>> installing 537 module > >> >>> install: cannot stat 'Intel537.ko':no such file or directory > >> >>> make:***[install] Error1 > >> >>> > >> >>> Instructions kindly sent by Philippe (I can't locate his return > >> >>> address) > >> >>> requested a file from running dmesg- > >> >>> if I understood- so I append the file. Please advise how I might > >> >>> proceed- > >> >>> thanks-Marshall > >> >>> > >> >>> > >> >>> > >> > > >> > > >> > >> > >> > > > > >
-- -- Raheel Kaghzi 92-333-7103250.