Jump to content

Intel 536 modem (Solved)


Trio3b
 Share

Recommended Posts

2/4/2005

 

Newbie installing Intel controller- based internal PCI dialup modem (no DSL in my area). Have already had success with external serial modem install in Mandrake Linux 10.0 Kppp, but could not log on due to AOL incompatibility with Linux. Tried pengAOL dialer. Spent about a week ..... that fizzled out. Would like to try this modem and have found other ISP. Have installed modem in PC

 

Have copied the following Linux modem driver files from supplied CD to:

/home/mark/Linux/Intel-536ep-443

Intel-536ep-443-M82.tgz

Intel-536ep-443-R72.tgz

Intel-536ep-443-S80.tgz

Intel-536ep-443.tgz

Am not quite sure which file to use, but started with the last one. Install reads as follows:

1. logon as root

OK

2. extract the archive into a directory with "tar -zxvf <archivename>.tgz"

[root@localhost Linux]# tar -zxvf Intel-536ep-443.tgz

 

output:

Intel-536ep-443/

Intel-536ep-443/Intel-536ep-443/

Intel-536ep-443/Intel-536ep-443/coredrv/

Intel-536ep-443/Intel-536ep-443/coredrv/536epcore.lib

Intel-536ep-443/Intel-536ep-443/coredrv/clmmain.c

Intel-536ep-443/Intel-536ep-443/coredrv/coredrv.c

Intel-536ep-443/Intel-536ep-443/coredrv/makefile

Intel-536ep-443/Intel-536ep-443/coredrv/rts.c

Intel-536ep-443/Intel-536ep-443/coredrv/task.c

Intel-536ep-443/Intel-536ep-443/coredrv/uart.c

Intel-536ep-443/Intel-536ep-443/coredrv/wwh_dflt.c

Intel-536ep-443/Intel-536ep-443/inc/

Intel-536ep-443/Intel-536ep-443/inc/hamcore.h

Intel-536ep-443/Intel-536ep-443/inc/hamdefs.h

Intel-536ep-443/Intel-536ep-443/inc/rts.h

Intel-536ep-443/Intel-536ep-443/inc/sys_ver.h

Intel-536ep-443/Intel-536ep-443/inc/tasker.h

Intel-536ep-443/Intel-536ep-443/inc/uart.h

Intel-536ep-443/Intel-536ep-443/inc/wwh_dflt.h

Intel-536ep-443/Intel-536ep-443/serialdrv/

Intel-536ep-443/Intel-536ep-443/serialdrv/clmdrvr.c

Intel-536ep-443/Intel-536ep-443/serialdrv/gpl.txt

Intel-536ep-443/Intel-536ep-443/serialdrv/makefile

Intel-536ep-443/Intel-536ep-443/serialdrv/pci.c

Intel-536ep-443/Intel-536ep-443/serialdrv/vssver.scc

Intel-536ep-443/Intel-536ep-443/536ep-boot

Intel-536ep-443/Intel-536ep-443/536ep-inst

Intel-536ep-443/Intel-536ep-443/hamregistry

Intel-536ep-443/Intel-536ep-443/license.txt

Intel-536ep-443/Intel-536ep-443/makefile

Intel-536ep-443/Intel-536ep-443/readme.txt

Intel-536ep-443/Intel-536ep-443/vssver.scc

Intel-536ep-443/Intel-536ep-443/Intel-536ep-443.tgz.sig

3. cd into the directory it created.

[root@localhost Linux]# cd Intel-536ep-443

4. Type: make clean

[root@localhost Intel-536ep-443]# make clean

 

output:

cd coredrv; make clean

make[1]: Entering directory `/home/mark/Linux/Intel-536ep-443/coredrv'

rm -f *.o *~ core

make[1]: Leaving directory `/home/mark/Linux/Intel-536ep-443/coredrv'

cd serialdrv; make clean

make[1]: Entering directory `/home/mark/Linux/Intel-536ep-443/serialdrv'

rm -f *.o *~ core

make[1]: Leaving directory `/home/mark/Linux/Intel-536ep-443/serialdrv'

rm -f *.o

rm -f *.o

[root@localhost Intel-536ep-443]# make 536ep

if [ -a /boot/vmlinuz.version.h ]; then \

cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h; fi

cd coredrv; make \

"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" \

536ep;

make[1]: Entering directory `/home/mark/Linux/Intel-536ep-443/coredrv'

cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o coredrv.o coredrv.c

In file included from ../inc/hamdefs.h:48,

from ../inc/hamcore.h:39,

from coredrv.c:33:

/usr/include/linux/version.h:2:2: #error "======================================================="

/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"

/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."

/usr/include/linux/version.h:5:2: #error ""

/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"

/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"

/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"

/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"

/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"

/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"

/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."

/usr/include/linux/version.h:13:2: #error ""

/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"

/usr/include/linux/version.h:15:2: #error ""

/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"

/usr/include/linux/version.h:17:2: #error ""

/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"

/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"

/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"

/usr/include/linux/version.h:21:2: #error ""

/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"

/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h"

/usr/include/linux/version.h:24:2: #error ""

/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"

/usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:"

/usr/include/linux/version.h:27:2: #error ""

/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include"

/usr/include/linux/version.h:29:2: #error ""

/usr/include/linux/version.h:30:2: #error " instead of"

/usr/include/linux/version.h:31:2: #error ""

/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"

/usr/include/linux/version.h:33:2: #error ""

/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly."

/usr/include/linux/version.h:35:2: #error "======================================================="

In file included from /usr/include/linux/cpumask.h:8,

from /usr/include/linux/sched.h:14,

from coredrv.c:35:

/usr/include/linux/bitmap.h: In function `bitmap_shift_right':

/usr/include/linux/bitmap.h:85: error: `__shr_tmp' undeclared (first use in this function)

/usr/include/linux/bitmap.h:85: error: (Each undeclared identifier is reported only once

/usr/include/linux/bitmap.h:85: error: for each function it appears in.)

/usr/include/linux/bitmap.h: In function `bitmap_shift_left':

/usr/include/linux/bitmap.h:98: error: `__shl_tmp' undeclared (first use in this function)

In file included from /usr/include/linux/sched.h:14,

from coredrv.c:35:

/usr/include/linux/cpumask.h:10:5: missing binary operator before token "("

/usr/include/linux/cpumask.h:34:5: missing binary operator before token "("

In file included from /usr/include/asm/siginfo.h:4,

from /usr/include/linux/signal.h:7,

from /usr/include/linux/sched.h:24,

from coredrv.c:35:

/usr/include/asm-generic/siginfo.h: At top level:

/usr/include/asm-generic/siginfo.h:53: error: size of array `_pad' is too large

In file included from /usr/include/linux/gfp.h:4,

from /usr/include/linux/slab.h:15,

from /usr/include/linux/percpu.h:4,

from /usr/include/linux/sched.h:30,

from coredrv.c:35:

/usr/include/linux/mmzone.h:333: error: parse error before '(' token

/usr/include/linux/mmzone.h:334: error: parse error before numeric constant

In file included from /usr/include/linux/module.h:20,

from coredrv.c:37:

/usr/include/asm/module.h:54:2: #error unknown processor family

In file included from coredrv.c:40:

/usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory

coredrv.c:47:41: missing binary operator before token "("

coredrv.c:99:40: missing binary operator before token "("

coredrv.c:111:41: missing binary operator before token "("

coredrv.c: In function `kcli':

coredrv.c:285: warning: implicit declaration of function `cli'

coredrv.c: In function `ksave_flags':

coredrv.c:290: warning: implicit declaration of function `save_flags'

coredrv.c: In function `krestore_flags':

coredrv.c:295: warning: implicit declaration of function `restore_flags'

make[1]: *** [coredrv.o] Error 1

make[1]: Leaving directory `/home/mark/Linux/Intel-536ep-443/coredrv'

make: *** [536ep] Error 2

 

:wall:

Am now at this point and could use some help. Please keep in mind I have no experience with CLI and am not so good with syntax and spaces.....

Thank you :cheeky:

Edited by Trio3b
Link to comment
Share on other sites

OK, installed kernel headers per urpmi and got a little further:

these are install instructions for the modem drivers

1. login as ROOT

2. extract the archive into a directory with "tar -zxvf <archivename>.tgz"

3. cd into the directory it created.

4. Type: make clean

5. Type: make 536ep

6. Type: make install-536ep

7. When you restart the computer,Tye: bash 536ep-inst

 

 

step 3

[root@localhost Linux]# cd Intel-536ep-443

 

step 4

[root@localhost Intel-536ep-443]# make clean

cd coredrv; make clean

make[1]: Entering directory `/home/mark/Linux/Intel-536ep-443/coredrv'

rm -f *.o *~ core

make[1]: Leaving directory `/home/mark/Linux/Intel-536ep-443/coredrv'

cd serialdrv; make clean

make[1]: Entering directory `/home/mark/Linux/Intel-536ep-443/serialdrv'

rm -f *.o *~ core

make[1]: Leaving directory `/home/mark/Linux/Intel-536ep-443/serialdrv'

rm -f *.o

rm -f *.o

 

step 5

[root@localhost Intel-536ep-443]# make 536ep

if [ -a /boot/vmlinuz.version.h ]; then \

cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h; fi

cd coredrv; make \

"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" \

536ep;

make[1]: Entering directory `/home/mark/Linux/Intel-536ep-443/coredrv'

cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o coredrv.o coredrv.c

In file included from coredrv.c:40:

/lib/modules/2.6.3-7mdk/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory

coredrv.c: In function `kcli':

coredrv.c:285: warning: implicit declaration of function `cli'

coredrv.c: In function `ksave_flags':

coredrv.c:290: warning: implicit declaration of function `save_flags'

coredrv.c: In function `krestore_flags':

coredrv.c:295: warning: implicit declaration of function `restore_flags'

make[1]: *** [coredrv.o] Error 1

make[1]: Leaving directory `/home/mark/Linux/Intel-536ep-443/coredrv'

make: *** [536ep] Error 2

[root@localhost Intel-536ep-443]# [root@localhost Linux]# cd Intel-536ep-443

bash: [root@localhost: command not found

[root@localhost Intel-536ep-443]# [root@localhost Intel-536ep-443]# make clean

bash: [root@localhost: command not found

[root@localhost Intel-536ep-443]# cd coredrv; make clean

rm -f *.o *~ core

[root@localhost coredrv]# make[1]: Entering directory `/home/mark/Linux/Intel-536ep-443/coredrv'

> rm -f *.o *~ core

> make[1]: Leaving directory `/home/mark/Linux/Intel-536ep-443/coredrv'

> cd serialdrv; make clean

> make[1]: Entering directory `/home/mark/Linux/Intel-536ep-443/serialdrv'

bash: command substitution: line 1: unexpected EOF while looking for matching `''

bash: command substitution: line 4: syntax error: unexpected end of file

bash: make[1]:: command not found

[root@localhost coredrv]# rm -f *.o *~ core

[root@localhost coredrv]# make[1]: Leaving directory `/home/mark/Linux/Intel-536ep-443/serialdrv'

> rm -f *.o

> rm -f *.o

> [root@localhost Intel-536ep-443]# make 536ep

> if [ -a /boot/vmlinuz.version.h ]; then \

> cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h; fi

> cd coredrv; make \

> "PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" \

> 536ep;

> make[1]: Entering directory `/home/mark/Linux/Intel-536ep-443/coredrv'

> cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o coredrv.o coredrv.c

> In file included from coredrv.c:40:

> /lib/modules/2.6.3-7mdk/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory

> coredrv.c: In function `kcli':

bash: command substitution: line 1: unexpected EOF while looking for matching `''

bash: command substitution: line 6: syntax error: unexpected end of file

bash: command substitution: line 1: syntax error near unexpected token `fi'

bash: command substitution: line 1: `/build/include/linux/version.h; fi'

bash: make[1]:: command not found

[root@localhost coredrv]# coredrv.c:285: warning: implicit declaration of function `cli'

> coredrv.c: In function `ksave_flags':

> coredrv.c:290: warning: implicit declaration of function `save_flags'

bash: command substitution: line 1: unexpected EOF while looking for matching `''

bash: command substitution: line 3: syntax error: unexpected end of file

bash: coredrv.c:285:: command not found

[root@localhost coredrv]# coredrv.c: In function `krestore_flags':

> coredrv.c:295: warning: implicit declaration of function `restore_flags'

> make[1]: *** [coredrv.o] Error 1

> make[1]: Leaving directory `

 

thanks for the install kernel source tip. Where do I go from here? :juggle:

Thanks

Link to comment
Share on other sites

[root@localhost Intel-536ep-443]# [root@localhost Linux]# cd Intel-536ep-443

bash: [root@localhost: command not found

 

Is this a command you're running yourself, or is generated by some script?

 

It's sending your shell prompt to the shell, obviously generating garbage!

Link to comment
Share on other sites

[root@localhost Intel-536ep-443]# [root@localhost Linux]# cd Intel-536ep-443

bash: [root@localhost: command not found

 

Is this a command you're running yourself, or is generated by some script?

 

It's sending your shell prompt to the shell, obviously generating garbage!

 

sorry, I should be more clear about what I put in and what comes out! I did not enter this command. The last one I entered was the

[root@localhost Intel-536ep-443]# make 536ep

as per the installation instructions and the rest of it is what got spit back out.

Any help would be appreciated. I have spent close to a month on this (no DSL here), and am fading fast. (yes I know about external serial modems being easier, but would like to learn this also).

Thanks

Link to comment
Share on other sites

Make sure the kernel-source you installed is kernel-source-2.6

 

urpmi kernel-source-2.6

 

They changed the naming convention and you have to explicitly install

kernel-source-2.6 or it gives you a 2.4 kernel source. It's crazy, but that's how it is.

Link to comment
Share on other sites

Make sure the kernel-source you installed is kernel-source-2.6

 

urpmi kernel-source-2.6

 

They changed the naming convention and you have to explicitly install

kernel-source-2.6 or it gives you a 2.4 kernel source. It's crazy, but that's how it is.

 

 

Uh oh. Just read the docs with the modem stating compatible with kernel 2.4.x and does not say if compatible with newer kernels. I am pretty sure the MandrakeLinux 10.0 is 2.6.3-7

I typed in urpmi kernel-source-2.6

output: everything already installed

As you can see from my previous post, there is trouble after the 'make 536ep' command.

Thanks for any help

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...