Here is a set of common problems that you may face, along with their possible solutions.
You need to have your kernel source installed under /usr/src/linux/
If you have the kernel source installed somewhere else, just make the appropriate symlink. (see section 7.6 for more information) If you have that installed under /usr/src/linux/ , run
bash$ make config
bash$ make dep
in /usr/src/linux/
Firstly, check that you are loading ptserial.o only after loading pctel.o.
and then verify if you have the right files in /usr/src/linux .
Another way to get rid of the unresolved symbols problem is to use the fixscript package from http://www.medres.ch/~jstifter/pctel/fixscript.gz
The procedure is to:
Unpack the downloaded file with
bash$ gzip -d fixscript.gz
Make it executable with
bash$ chmod +x fixscript
Run it with
bash$ ./fixscript old_module.o new_module.o
This will create the new module, which you can try to load with
bash$ insmod new_module.o
If fixscript reports an error like
objcopy: --redefine-sym: Symbol x is target of more than one redefinition
then, fixscript can not help you.
The best method is of course, to fix your kernel source and recompile the drivers.
Make sure that you do a
bash$ make clean
before recompiling.
First of all, check if you really have the drivers loaded. You can do this by the command
This command lists all the modules that you have loaded, and if you see something like
Module Size Used by ptserial 47472 0 (unused) pctel 1211808 0 [ptserial] |
then, the modules are correctly loaded.
If not, just load them and retry.
Also check whether the file /dev/modem is symlinked to /dev/ttyS15
If you are in doubt, I suggest that you re-create the device files by the commands
bash$ rm /dev/ttyS15 á/dev/modem
This is a bug with the drivers for the kernel 2.4x series
Refer to section 7.5 for more information.
PCTel device[00:09.0](0x48) found "PCTel Inc HSP MicroModem 56 (rev 01)", iobase=0xe400, irq=12. PCTel driver version 0.9.0 [5.05c-4.27.215 (09-14-2001)] (PCT789) (2002-01-31) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled. PCTel driver built on [Linux 2.4.18 i686 unknown "2.4.18 <132114>"] with gcc-2.96. ttyS15 at 0xe400 (irq = 12) is a PCTel |
Mail the output you get to the <discuss@linmodems.org> list( more on this in section 9.2.2), and wait for a reply.