LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Intel 537ep modem not working in Mandriva LE2005 (https://www.linuxquestions.org/questions/mandriva-30/intel-537ep-modem-not-working-in-mandriva-le2005-322366/)

e.f84 05-11-2005 09:23 AM

Intel 537ep modem not working in Mandriva LE2005
 
hi to all,
I've installed Mandriva LE2005 on my pc. It works great but I can't compile modem drivers (INTEL 537EP).... when I used the mandrake 10.1 it worked fine, and I don't know why now there's this problem.
Someone can help me please?!:Pengy:

Simon Bridge 05-12-2005 02:28 AM

compile error please
 
Quote:

Originally posted by e.f84
I can't compile modem drivers (INTEL 537EP)...
The compile error would be useful here.

qheolet 05-12-2005 11:20 AM

Re: Intel 537ep modem not working in Mandriva LE2005
 
i got a the same problem some idea how i can fix that problem



Quote:

Originally posted by e.f84
hi to all,
I've installed Mandriva LE2005 on my pc. It works great but I can't compile modem drivers (INTEL 537EP).... when I used the mandrake 10.1 it worked fine, and I don't know why now there's this problem.
Someone can help me please?!:Pengy:


qheolet 05-12-2005 11:22 AM

Re: compile error please
 
Quote:

Originally posted by Simon Bridge
The compile error would be useful here.


the massage is somthing that it can not finde Module.....

Simon Bridge 05-13-2005 03:57 AM

well? ... have you tried locating this mysterious module by some other means?

Basically, nobody can help because the description of the problem is far too vague. (Imagine you are a mechanic and someone comes to you ands says "The car makes a noise I don't like." You would say, "What kind of noise?" - Then the driver says, "Oh, a loud one - sort of." !!

Please post the actual compile error - not some vague half-remembered somethings ... better still: recompile through all the steps - write down everything you did and what the output was, then post that.

qheolet 05-13-2005 07:26 AM

-->Basically, nobody can help because the description of the problem is far too vague.
Yes i understand, i am fresh in linux world and i love it


i got here the message of my error

running kernel 2.6.11-6mdk
installing hamregistry, used for persistant storage
installing usrsound, a soft buzzer
installing 537 module
mandrake 537_boot script
starting module and utilities
error loading Intel537
ERROR: Module Intel537 does not exist in /proc/modules
done

this is the message when type "Make Install"


thanks for your help...

Simon Bridge 05-13-2005 08:18 AM

/proc/modules contains a list of modules loaded into the kernel. This is the files read by lsmod when you want a list of modules - so check /proc/modules by doing lsmod | grep 537

You could try manually loading the module with modprobe.

But it may be instructive to look in the makefile from where there is a line like: "echo starting module and utilities" to where there is a line echoing the last error message. This will tell you what it is trying to do.

(Post it here if you get confused...)

Notice what a pain this is tho. This is because the 537 HaM is a winmodem! There was also trouble with the 536 chipset as well. Part of the problem comes from manufacturers including the unedited driver installation for linux with the card... but it won't always work as represented.

Further, the module (Intel537) is not open source. Including it in your kernel usually means that you cannt expect assistance from kernel developers if your kernel subsequently breaks. The kernel is said to be "contaminated".

These modems are usually treated as incompatable.

For almost the same rpice you can get a serial modem. These modems always work!

qheolet 05-14-2005 07:29 AM

(Post it here if you get confused...)

file:make install
Code:

install:
        rm -f /etc/hamregistry.bin
        bash 537_inst



file:537_inst
Code:

chmod 755 hamregistry usrsound

if [ -a /etc/mandrake-release ]; then
{
  if [ -a ./hamregistry.bin ]; then
  {
      mv -f /etc/hamregistry.bin /etc/hamregistry.bak
      cp ./hamregistry.bin /etc/hamregistry.bin
  }
  else
  {
      rm -f /etc/hamregistry.bin
  }
  fi
  echo installing hamregistry, used for persistant storage
  install -o root -g root -m 110 hamregistry /usr/sbin
  echo installing usrsound, a soft buzzer
  install -o root -g root -m 755 usrsound /usr/sbin
  echo installing 537 module
case $KERNVER in
  2.4*)
      install -o root -g root -m 664 Intel537.o ${CharModDir}/Intel537.o || exit 1
      ;;
  2.6*)
      install -o root -g root -m 664 Intel537.ko ${CharModDir}/Intel537.ko || exit 1

      ;;
esac

  echo mandrake 537_boot script
  install -o root -g root -m 110 537_boot /etc/rc.d/init.d || exit 1

  ln -s -f /etc/rc.d/init.d/537_boot /etc/rc.d/rc2.d/S99537_boot
  ln -s -f /etc/rc.d/init.d/537_boot /etc/rc.d/rc3.d/S99537_boot
  ln -s -f /etc/rc.d/init.d/537_boot /etc/rc.d/rc5.d/S99537_boot

the lines in bold i think there is the problem.

Simon Bridge 05-16-2005 12:49 AM

Nope, good guess, but that's not the immediate problem. All that part does is install the Intel537.o module if you have the 2.4 kernel and the Intel537.ko module if you have the 2.6 kernel. Whichever, will be installed with owner=root, group=root, octal permissions 664.

This part runs without a hitch... you can tell because the message:
"echo Mandrake 537 boot script" line is executed with no errors in front of it.
(All echo does is print what follows to the screen)

Somewhere there is a bit which says
"echo starting modules and utilities"

However, since the module would seem to be installed - you could try to hand load it with modprobe .... "modprobe Intel537"

I suspect that the makefile is trying to finish the installation by running the boot script (537_boot) and is either failing that or the boot script is failing to load the module.

qheolet 05-16-2005 07:02 AM

Quote:

Originally posted by Simon Bridge
Nope, good guess, but that's not the immediate problem. All that part does is install the Intel537.o module if you have the 2.4 kernel and the Intel537.ko module if you have the 2.6 kernel. Whichever, will be installed with owner=root, group=root, octal permissions 664.

This part runs without a hitch... you can tell because the message:
"echo Mandrake 537 boot script" line is executed with no errors in front of it.
(All echo does is print what follows to the screen)

Somewhere there is a bit which says
"echo starting modules and utilities"

However, since the module would seem to be installed - you could try to hand load it with modprobe .... "modprobe Intel537"

I suspect that the makefile is trying to finish the installation by running the boot script (537_boot) and is either failing that or the boot script is failing to load the module.

i am going to send you in the after noon the boot_537 file
i have the kernel 2.6.11.X

butch64 05-16-2005 11:02 AM

Help newbie needs help. I have a Dell 8400 with an Intel 537EP modem. I went to linuxmodems and discovered a software driver which I downloaded and followed the instructions in the readme file. The following is the output after following those instructions.

make clean
cd coredrv; make clean
make[1]: Entering directory `/home/bmoore/Download/intel-537EP_secure-2.60.80.1/coredrv'
rm -f *.ko *.o *~ core
make[1]: Leaving directory `/home/bmoore/Download/intel-537EP_secure-2.60.80.1/coredrv'
rm -f *.o *.ko

make 537
Module precompile check
Current running kernel is: 2.6.11-6mdksmp
/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.11-6mdksmp
make[1]: Entering directory `/home/Download/intel-537EP_secure-2.60.80.1/coredrv'
make -C /lib/modules/2.6.11-6mdksmp/build SUBDIRS=/home/Download/intel-537EP_secure-2.60.80.1/coredrv modules
make[2]: Entering directory `/usr/src/linux-2.6.11-6mdk'
CC [M] /home/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.o
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:70: warning: type defaults to `int' in declaration of `EXPORT_SYMBOL_NOVERS'
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:70: warning: parameter names (without types) in function declaration
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:70: warning: data definition has no type or storage class
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c: In function `open':
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:394: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c: In function `close':
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:416: warning: `pm_unregister' is deprecated (declared at include/linux/pm.h:111)
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c: In function `hamproc_write':
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:660: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c: At top level:
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:754: warning: initialization from incompatible pointer type
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:755: warning: initialization from incompatible pointer type
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c: In function `kScheduleDPC':
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:861: warning: implicit declaration of function `pm_access'
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c: In function `dspdrv_CommRamISR':
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:877: warning: function declaration isn't a prototype
CC [M] /home/Download/intel-537EP_secure-2.60.80.1/coredrv/clmmain.o
CC [M] /home/Download/intel-537EP_secure-2.60.80.1/coredrv/rts.o
CC [M] /home/Download/intel-537EP_secure-2.60.80.1/coredrv/task.o
CC [M] /home/Download/intel-537EP_secure-2.60.80.1/coredrv/uart.o
CC [M] /home/Download/intel-537EP_secure-2.60.80.1/coredrv/wwh_dflt.o
CC [M] /home/Download/intel-537EP_secure-2.60.80.1/coredrv/locks.o
CC [M] /home/Download/intel-537EP_secure-2.60.80.1/coredrv/softserial_io.o
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/softserial_io.c: In function `softserial_write':
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/softserial_io.c:94: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result
CC [M] /home/Download/intel-537EP_secure-2.60.80.1/coredrv/softserial_ioctl.o
CC [M] /home/Download/intel-537EP_secure-2.60.80.1/coredrv/softserial.o
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/softserial.c: In function `softserial_register_tty':
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/softserial.c:141: warning: assignment from incompatible pointer type
CC [M] /home/Download/intel-537EP_secure-2.60.80.1/coredrv/afedsp_int.o
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/afedsp_int.c:48: warning: function declaration isn't a prototype
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/afedsp_int.c:61: warning: initialization from incompatible pointer type
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/afedsp_int.c:65: warning: function declaration isn't a prototype
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/afedsp_int.c: In function `afe_Write':
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/afedsp_int.c:417: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/afedsp_int.c: In function `afe_Read':
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/afedsp_int.c:437: warning: ignoring return value of `copy_to_user', declared with attribute warn_unused_result
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/afedsp_int.c: At top level:
/home/Download/intel-537EP_secure-2.60.80.1/coredrv/afedsp_int.c:454: warning: initialization from incompatible pointer type
LD [M] /home/Download/intel-537EP_secure-2.60.80.1/coredrv/Intel537.o
Building modules, stage 2.
MODPOST
CC /home/Download/intel-537EP_secure-2.60.80.1/coredrv/Intel537.mod.o
LD [M] /home/Download/intel-537EP_secure-2.60.80.1/coredrv/Intel537.komake[2]: Leaving directory `/usr/src/linux-2.6.11-6mdk'
make[1]: Leaving directory `/home/Download/intel-537EP_secure-2.60.80.1/coredrv'

make install
rm -f /etc/hamregistry.bin
bash 537_inst
running kernel 2.6.11-6mdksmp
installing hamregistry, used for persistant storage
installing usrsound, a soft buzzer
installing 537 module
mandrake 537_boot script
starting module and utilities
error loading Intel537
ERROR: Module Intel537 does not exist in /proc/modules
done

The files and scripts have been copied to the correct destinations but no Intel537 module exists in /dev.
I accidently created a symbolic link between /dev/modem and /dev/ttyS2, how do I remove this symbolic link?

Simon Bridge 05-16-2005 11:51 PM

butch64: You can remove a symbolic link by deleting it ... :?

modules do not live in /dev. You shouldn't find any modules there!

When you boot, the boot script should automatically insert the module into the kernel ... watch the bootup messages, you'll see something like "537_boot .... [OK]" or something.

Your last error is exactly the same... and it will have the same solution. Stand by.

Alternatively you can do modprobe Intel537 ... or lsmod | grep 537 ... the first will insert the module if it isn't loaded the second will tell you iffin it's loaded.

qheolet 05-17-2005 06:54 AM

Quote:

Originally posted by qheolet
i am going to send you in the after noon the boot_537 file
i have the kernel 2.6.11.X


i search in all the files the header"echo starting modules and utilities" i did not find it

butch64 05-17-2005 08:44 AM

Simon I check the messages on that appear on boot up and 537_boot is absent. The script however is installed in /etc/rc.d/init.d.

Simon Bridge 05-17-2005 01:33 PM

qheolet: Are you sure that message isn't in the 537_boot script?

butch64: The boot script is supposed to load on boot - (well doh!) - so I guess it should be somewhere that init can see it. You could look for it in inittab ... or check the boot log in case you missed it. (It occurred right at the end in my system... just before the login and X starting up. So it was easy to miss.)

<sigh>
You all should be aware that I did not actually get this thing working. AFAIK: nobody has got these working. (No, I tell a lie, I know one person has got it working, but won't tell how :<)

I spent a bit longer than you guys have now, and baught a hardware modem. The previous HaM modem drivers from intel worked under mandrake - yeah that's right... but no other linux at all. Even when the modem was going (it dialled and connected) it would hang inexplicably.

I still think you should sell the modem to some windows drone - and stick with tried and true.


All times are GMT -5. The time now is 02:07 AM.