Installation of Intel 536EP Modem on Fedora Core 5

Discussion regarding the installation and configuration of Linux distributions.
Post Reply
Muhammad Saad
Battalion Havaldaar Major
Posts: 273
Joined: Sat Jan 27, 2007 11:07 pm
Location: Dera Ismail Khan, Pakistan
Contact:

Installation of Intel 536EP Modem on Fedora Core 5

Post by Muhammad Saad »

Assalam-o-Alaikum!

I am using Fedora Core 5. The kernel version is 2.6.15-1.2054_FC5. I downloaded a driver (Uncompiled, version 4.71) for my Intel 536EP Modem from intel.com. As the driver needs the kernel source, therefore I also installed the package kernel-devel-2.6.15-1.2054_FC5.i686.rpm that I downloaded from Fedora Core's web site. But when I tried to compile the driver, the result was as below:

[root@localhost saad]# cd ./Intel-536
[root@localhost Intel-536]# make clean
cd coredrv; make clean
make[1]: Entering directory `/home/saad/Intel-536/coredrv'
rm -f *.ko *.o *~ core
make[1]: Leaving directory `/home/saad/Intel-536/coredrv'
rm -f *.o *.ko
[root@localhost Intel-536]# make 536
Module precompile check
Current running kernel is: 2.6.15-1.2054_FC5
/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
uname -r|grep "2.6" && \
cd coredrv && make 536core_26 && \
cp Intel536.ko .. && cd .. && \
strip --strip-debug Intel536.ko && \
exit; \
ls Intel536.ko >/dev/null 2>&1 || uname -r | grep "2.6" && echo "Failed to build driver" && exit; \
if [ ]; then \
cd coredrv; make TARGET=TARGET_SELAH KERNEL_SOURCE_PATH= "PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \
else \
cd coredrv; make TARGET=TARGET_SELAH KERNEL_INCLUDES=/lib/modules/`uname -r`/build/include \
"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \
fi ; \
cp Intel536.o .. ; \
if [ -a /boot/vmlinuz.version.h ]; then \
cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h;\
fi
2.6.15-1.2054_FC5
make[1]: Entering directory `/home/saad/Intel-536/coredrv'
make -C /lib/modules/2.6.15-1.2054_FC5/build SUBDIRS=/home/saad/Intel-536/coredrv modules
make[2]: Entering directory `/usr/src/kernels/2.6.15-1.2054_FC5-i686'
CC [M] /home/saad/Intel-536/coredrv/coredrv.o
/home/saad/Intel-536/coredrv/coredrv.c:73: warning: data definition has no type or storage class
/home/saad/Intel-536/coredrv/coredrv.c:73: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL_NOVERS’
/home/saad/Intel-536/coredrv/coredrv.c:73: warning: parameter names (without types) in function declaration
/home/saad/Intel-536/coredrv/coredrv.c: In function ‘softcore_init_struct’:
/home/saad/Intel-536/coredrv/coredrv.c:339: warning: assignment from incompatible pointer type
/home/saad/Intel-536/coredrv/coredrv.c: In function ‘close’:
/home/saad/Intel-536/coredrv/coredrv.c:439: warning: implicit declaration of function ‘pm_unregister’
/home/saad/Intel-536/coredrv/coredrv.c: In function ‘send_data_to_user’:
/home/saad/Intel-536/coredrv/coredrv.c:587: error: ‘struct tty_struct’ has no member named ‘flip’
/home/saad/Intel-536/coredrv/coredrv.c:592: error: ‘struct tty_struct’ has no member named ‘flip’
/home/saad/Intel-536/coredrv/coredrv.c:593: error: ‘struct tty_struct’ has no member named ‘flip’
/home/saad/Intel-536/coredrv/coredrv.c:595: error: ‘struct tty_struct’ has no member named ‘flip’
/home/saad/Intel-536/coredrv/coredrv.c:596: error: ‘struct tty_struct’ has no member named ‘flip’
/home/saad/Intel-536/coredrv/coredrv.c:597: error: ‘struct tty_struct’ has no member named ‘flip’
/home/saad/Intel-536/coredrv/coredrv.c: In function ‘hamproc_write’:
/home/saad/Intel-536/coredrv/coredrv.c:684: warning: ignoring return value of ‘copy_from_user’, declared with attribute warn_unused_result
/home/saad/Intel-536/coredrv/coredrv.c: At top level:
/home/saad/Intel-536/coredrv/coredrv.c:880: warning: initialization makes integer from pointer without a cast
make[3]: *** [/home/saad/Intel-536/coredrv/coredrv.o] Error 1
make[2]: *** [_module_/home/saad/Intel-536/coredrv] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.15-1.2054_FC5-i686'
make[1]: *** [536core_26] Error 2
make[1]: Leaving directory `/home/saad/Intel-536/coredrv'
2.6.15-1.2054_FC5
Failed to build driver
[root@localhost Intel-536]#


I cannot understand what it means.
Please help me!
:?
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear Muhammad Saad,
Salam,

Download Intel Modem Driver from below link and try to recompile it.

FYI, http://downloadmirror.intel.com/df-supp ... FC3-up.tgz

Best Regards.
Farrukh Ahmed
Muhammad Saad
Battalion Havaldaar Major
Posts: 273
Joined: Sat Jan 27, 2007 11:07 pm
Location: Dera Ismail Khan, Pakistan
Contact:

Re:

Post by Muhammad Saad »

LinuxFreaK wrote:Dear Muhammad Saad,
Salam,

Download Intel Modem Driver from below link and try to recompile it.

FYI, http://downloadmirror.intel.com/df-supp ... FC3-up.tgz

Best Regards.
I have already tried that. It does not work.
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear Muhammad Saad,
Salam,

Download driver from below link and try again.

FYI, http://linmodems.technion.ac.il/package ... 1_2007.tgz

Best Regards.
Farrukh Ahmed
Muhammad Saad
Battalion Havaldaar Major
Posts: 273
Joined: Sat Jan 27, 2007 11:07 pm
Location: Dera Ismail Khan, Pakistan
Contact:

Post by Muhammad Saad »

I shall try it but I think some file is missing. If that is the case, then please guide me which package to install.
Muhammad Saad
Battalion Havaldaar Major
Posts: 273
Joined: Sat Jan 27, 2007 11:07 pm
Location: Dera Ismail Khan, Pakistan
Contact:

Post by Muhammad Saad »

I am downloading the complete kernel source from
http://download.fedora.redhat.com/pub/f ... C5.src.rpm

Its size is about 46 MB. It will take a few days to download it completely.
I hope it works....
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear Muhammad Saad,
Salam,
Muhammad Saad wrote:I am downloading the complete kernel source from
http://download.fedora.redhat.com/pub/f ... C5.src.rpm

Its size is about 46 MB. It will take a few days to download it completely.
I hope it works....
Just curios why you are downloading it. Don't you have kernel source in your installation CD's ?

Also what makes you think that by installing kernel-2.6.15-1.2054_FC5.src.rpm will solve your problem ?

Best Regards.
Farrukh Ahmed
Muhammad Saad
Battalion Havaldaar Major
Posts: 273
Joined: Sat Jan 27, 2007 11:07 pm
Location: Dera Ismail Khan, Pakistan
Contact:

Post by Muhammad Saad »

Fedora Core 5 CDs do not contain the kernel source. I need kernel source to install the driver.
Also look at the results in the beginning. This makes me think that installing the complete kernel source may solve my problem.

Wassalam!
Muhammad Saad
Battalion Havaldaar Major
Posts: 273
Joined: Sat Jan 27, 2007 11:07 pm
Location: Dera Ismail Khan, Pakistan
Contact:

Post by Muhammad Saad »

Thanks for your help.
I followed the link you provided me and found a suitable driver. Although the link that you provided was a broken file, but I got another driver from the same directory and it worked.
Now I donot have to download the whole 46 MB just to install my modem. :)

Thank you for your kind help once again...
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear Muhammad Saad,
Salam,
Muhammad Saad wrote:Thanks for your help. I followed the link you provided me and found a suitable driver. Although the link that you provided was a broken file, but I got another driver from the same directory and it worked. Now I donot have to download the whole 46 MB just to install my modem. :) Thank you for your kind help once again...
Pray For Me.

Best Regards.
Farrukh Ahmed
Post Reply