1137 lines
20 KiB
HTML
1137 lines
20 KiB
HTML
<HTML
|
||
><HEAD
|
||
><TITLE
|
||
>FAQ/Troubleshooting</TITLE
|
||
><META
|
||
NAME="GENERATOR"
|
||
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
|
||
REL="HOME"
|
||
TITLE="PCTel HSP MicroModem Configuration mini-HOWTO"
|
||
HREF="index.html"><LINK
|
||
REL="PREVIOUS"
|
||
TITLE="A few other points that must be noted."
|
||
HREF="ot.html"><LINK
|
||
REL="NEXT"
|
||
TITLE="Appendix"
|
||
HREF="appendix.html"></HEAD
|
||
><BODY
|
||
CLASS="SECT1"
|
||
BGCOLOR="#FFFFFF"
|
||
TEXT="#000000"
|
||
LINK="#0000FF"
|
||
VLINK="#840084"
|
||
ALINK="#0000FF"
|
||
><DIV
|
||
CLASS="NAVHEADER"
|
||
><TABLE
|
||
SUMMARY="Header navigation table"
|
||
WIDTH="100%"
|
||
BORDER="0"
|
||
CELLPADDING="0"
|
||
CELLSPACING="0"
|
||
><TR
|
||
><TH
|
||
COLSPAN="3"
|
||
ALIGN="center"
|
||
>PCTel HSP MicroModem Configuration mini-HOWTO</TH
|
||
></TR
|
||
><TR
|
||
><TD
|
||
WIDTH="10%"
|
||
ALIGN="left"
|
||
VALIGN="bottom"
|
||
><A
|
||
HREF="ot.html"
|
||
ACCESSKEY="P"
|
||
>Prev</A
|
||
></TD
|
||
><TD
|
||
WIDTH="80%"
|
||
ALIGN="center"
|
||
VALIGN="bottom"
|
||
></TD
|
||
><TD
|
||
WIDTH="10%"
|
||
ALIGN="right"
|
||
VALIGN="bottom"
|
||
><A
|
||
HREF="appendix.html"
|
||
ACCESSKEY="N"
|
||
>Next</A
|
||
></TD
|
||
></TR
|
||
></TABLE
|
||
><HR
|
||
ALIGN="LEFT"
|
||
WIDTH="100%"></DIV
|
||
><DIV
|
||
CLASS="SECT1"
|
||
><H1
|
||
CLASS="SECT1"
|
||
><A
|
||
NAME="TROUBLE"
|
||
></A
|
||
>8. FAQ/Troubleshooting</H1
|
||
><P
|
||
>Here is a set of common problems that you may face, along with their possible solutions.</P
|
||
><DIV
|
||
CLASS="SECT2"
|
||
><H2
|
||
CLASS="SECT2"
|
||
><A
|
||
NAME="AEN640"
|
||
></A
|
||
>8.1. Compiling Problems</H2
|
||
><DIV
|
||
CLASS="QANDASET"
|
||
><DL
|
||
><DT
|
||
>8.1.1. <A
|
||
HREF="trouble.html#AEN644"
|
||
>I get a <TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
>configure: error: You must have linux kernel >= 2.4.0 installed</TT
|
||
> during ./configure</A
|
||
></DT
|
||
><DT
|
||
>8.1.2. <A
|
||
HREF="trouble.html#AEN658"
|
||
>I get a <TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
>/usr/src/linux/include/linux/modversions.h : no such file or directory</TT
|
||
></A
|
||
></DT
|
||
><DT
|
||
>8.1.3. <A
|
||
HREF="trouble.html#AEN674"
|
||
> I get a <TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
>permission denied</TT
|
||
> error while running <B
|
||
CLASS="COMMAND"
|
||
>bash$ make install</B
|
||
></A
|
||
></DT
|
||
><DT
|
||
>8.1.4. <A
|
||
HREF="trouble.html#AEN682"
|
||
>I have gcc 3 and while compiling, I get an error which goes like this
|
||
<TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
><command line>:1:13: multi-line string literals are deprecated
|
||
make[3]: *** [ptserial.o] Error 1</TT
|
||
>.</A
|
||
></DT
|
||
><DT
|
||
>8.1.5. <A
|
||
HREF="trouble.html#AEN702"
|
||
>I have RedHat 8.0/Mandrake 9.0, and I am having troubles compiling the drivers.</A
|
||
></DT
|
||
></DL
|
||
><DIV
|
||
CLASS="QANDAENTRY"
|
||
><DIV
|
||
CLASS="QUESTION"
|
||
><P
|
||
><A
|
||
NAME="AEN644"
|
||
></A
|
||
><B
|
||
>8.1.1. </B
|
||
>I get a <TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
>configure: error: You must have linux kernel >= 2.4.0 installed</TT
|
||
> during ./configure</P
|
||
></DIV
|
||
><DIV
|
||
CLASS="ANSWER"
|
||
><P
|
||
><B
|
||
> </B
|
||
><A
|
||
NAME="PATCH-CONFIGURE"
|
||
></A
|
||
>
|
||
If this occurs, you will have to patch your configure script. Download the file <TT
|
||
CLASS="FILENAME"
|
||
>configure.patch</TT
|
||
> from <A
|
||
HREF="http://www.peacefulaction.org/sayamindu/configure.patch"
|
||
TARGET="_top"
|
||
>here</A
|
||
> and give the command </P
|
||
><P
|
||
><B
|
||
CLASS="COMMAND"
|
||
>cat configure.patch | patch -p0</B
|
||
>
|
||
<DIV
|
||
CLASS="NOTE"
|
||
><P
|
||
></P
|
||
><TABLE
|
||
CLASS="NOTE"
|
||
WIDTH="100%"
|
||
BORDER="0"
|
||
><TR
|
||
><TD
|
||
WIDTH="25"
|
||
ALIGN="CENTER"
|
||
VALIGN="TOP"
|
||
><IMG
|
||
SRC="../images/note.gif"
|
||
HSPACE="5"
|
||
ALT="Note"></TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="TOP"
|
||
><P
|
||
>I am supposing that you are in the pctel-0.9.6 directory, and the <TT
|
||
CLASS="FILENAME"
|
||
>configure.patch</TT
|
||
> is also in that directory</P
|
||
></TD
|
||
></TR
|
||
></TABLE
|
||
></DIV
|
||
></P
|
||
></DIV
|
||
></DIV
|
||
><DIV
|
||
CLASS="QANDAENTRY"
|
||
><DIV
|
||
CLASS="QUESTION"
|
||
><P
|
||
><A
|
||
NAME="AEN658"
|
||
></A
|
||
><B
|
||
>8.1.2. </B
|
||
>I get a <TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
>/usr/src/linux/include/linux/modversions.h : no such file or directory</TT
|
||
></P
|
||
></DIV
|
||
><DIV
|
||
CLASS="ANSWER"
|
||
><P
|
||
><B
|
||
> </B
|
||
>You need to have your kernel source installed under <TT
|
||
CLASS="FILENAME"
|
||
>/usr/src/linux/ </TT
|
||
> </P
|
||
><P
|
||
>If you have the kernel source installed somewhere else, just make the appropriate symlink. (see section <A
|
||
HREF="ot.html#KERNELSRC"
|
||
>7.7 </A
|
||
>for more information)
|
||
If you have that installed under <TT
|
||
CLASS="FILENAME"
|
||
>/usr/src/linux/ </TT
|
||
>, run</P
|
||
><P
|
||
><B
|
||
CLASS="COMMAND"
|
||
>bash$
|
||
make config</B
|
||
></P
|
||
><P
|
||
><B
|
||
CLASS="COMMAND"
|
||
>bash$
|
||
make dep</B
|
||
></P
|
||
><P
|
||
>in <TT
|
||
CLASS="FILENAME"
|
||
>/usr/src/linux/ </TT
|
||
></P
|
||
></DIV
|
||
></DIV
|
||
><DIV
|
||
CLASS="QANDAENTRY"
|
||
><DIV
|
||
CLASS="QUESTION"
|
||
><P
|
||
><A
|
||
NAME="AEN674"
|
||
></A
|
||
><B
|
||
>8.1.3. </B
|
||
> I get a <TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
>permission denied</TT
|
||
> error while running <B
|
||
CLASS="COMMAND"
|
||
>bash$ make install</B
|
||
></P
|
||
></DIV
|
||
><DIV
|
||
CLASS="ANSWER"
|
||
><P
|
||
><B
|
||
> </B
|
||
>You need to be logged in as root while doing <B
|
||
CLASS="COMMAND"
|
||
>bash$ make install</B
|
||
></P
|
||
></DIV
|
||
></DIV
|
||
><DIV
|
||
CLASS="QANDAENTRY"
|
||
><DIV
|
||
CLASS="QUESTION"
|
||
><P
|
||
><A
|
||
NAME="AEN682"
|
||
></A
|
||
><B
|
||
>8.1.4. </B
|
||
>I have gcc 3 and while compiling, I get an error which goes like this
|
||
<TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
><command line>:1:13: multi-line string literals are deprecated
|
||
make[3]: *** [ptserial.o] Error 1</TT
|
||
>.</P
|
||
></DIV
|
||
><DIV
|
||
CLASS="ANSWER"
|
||
><P
|
||
><B
|
||
> </B
|
||
><A
|
||
NAME="GCC3"
|
||
></A
|
||
>
|
||
This should not happen anymore since the pctel-0.9.6 driver was released to address this issue. However, if you
|
||
still face such a problem, (with an older driver or something like that), you will have to edit the file
|
||
<TT
|
||
CLASS="FILENAME"
|
||
><your pctel directory>src/ptserial/Makefile</TT
|
||
>.
|
||
In that file, find out the line which says</P
|
||
><P
|
||
><TABLE
|
||
BORDER="0"
|
||
BGCOLOR="#E0E0E0"
|
||
WIDTH="100%"
|
||
><TR
|
||
><TD
|
||
><FONT
|
||
COLOR="#000000"
|
||
><PRE
|
||
CLASS="PROGRAMLISTING"
|
||
>CFLAGS = -D__KERNEL__ -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -D$(HAL_TARGET) $(AUDIO_ROUTING) -DBUILD_SYSTEM=\""$(BUILD_SYSTEM)\"" -DGCC_VERSION=\""$(GCC_VERSION)\"" -I$(top_srcdir)/include -I$(KERNEL_INCLUDES) -include $(KERNEL_INCLUDES)/linux/modversions.h</PRE
|
||
></FONT
|
||
></TD
|
||
></TR
|
||
></TABLE
|
||
></P
|
||
><P
|
||
>and change that to</P
|
||
><P
|
||
><TABLE
|
||
BORDER="0"
|
||
BGCOLOR="#E0E0E0"
|
||
WIDTH="100%"
|
||
><TR
|
||
><TD
|
||
><FONT
|
||
COLOR="#000000"
|
||
><PRE
|
||
CLASS="PROGRAMLISTING"
|
||
>CFLAGS = -D__KERNEL__ -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -D$(HAL_TARGET) $(AUDIO_ROUTING) -DBUILD_SYSTEM=\""$(BUILD_SYSTEM)\"" -DGCC_VERSION=\""$(GCC_VERSION)\"" -I$(top_srcdir)/include -I$(KERNEL_INCLUDES) -include $(KERNEL_INCLUDES)/linux/modversions.h</PRE
|
||
></FONT
|
||
></TD
|
||
></TR
|
||
></TABLE
|
||
></P
|
||
><P
|
||
>....and then recompile.</P
|
||
><DIV
|
||
CLASS="TIP"
|
||
><P
|
||
></P
|
||
><TABLE
|
||
CLASS="TIP"
|
||
WIDTH="100%"
|
||
BORDER="0"
|
||
><TR
|
||
><TD
|
||
WIDTH="25"
|
||
ALIGN="CENTER"
|
||
VALIGN="TOP"
|
||
><IMG
|
||
SRC="../images/tip.gif"
|
||
HSPACE="5"
|
||
ALT="Tip"></TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="TOP"
|
||
><P
|
||
>If you cannot find the file <TT
|
||
CLASS="FILENAME"
|
||
>src/ptserial/Makefile</TT
|
||
>, then run the <SPAN
|
||
CLASS="APPLICATION"
|
||
>configure</SPAN
|
||
> script, and try again.</P
|
||
></TD
|
||
></TR
|
||
></TABLE
|
||
></DIV
|
||
><P
|
||
>Alternatively, you may also try out the pre-compiled (distro specific) drivers at
|
||
<A
|
||
HREF="http://www.geocities.com/jcmp3/"
|
||
TARGET="_top"
|
||
>http://www.geocities.com/jcmp3/</A
|
||
>. Just note that I have not personally
|
||
tested out these drivers, and I don't know much about them.</P
|
||
></DIV
|
||
></DIV
|
||
><DIV
|
||
CLASS="QANDAENTRY"
|
||
><DIV
|
||
CLASS="QUESTION"
|
||
><P
|
||
><A
|
||
NAME="AEN702"
|
||
></A
|
||
><B
|
||
>8.1.5. </B
|
||
>I have RedHat 8.0/Mandrake 9.0, and I am having troubles compiling the drivers.</P
|
||
></DIV
|
||
><DIV
|
||
CLASS="ANSWER"
|
||
><P
|
||
><B
|
||
> </B
|
||
>See the answer to the <A
|
||
HREF="trouble.html#GCC3"
|
||
>previous</A
|
||
> question (8.1.4).</P
|
||
></DIV
|
||
></DIV
|
||
></DIV
|
||
></DIV
|
||
><DIV
|
||
CLASS="SECT2"
|
||
><H2
|
||
CLASS="SECT2"
|
||
><A
|
||
NAME="AEN707"
|
||
></A
|
||
>8.2. Problems while loading the modules.</H2
|
||
><DIV
|
||
CLASS="QANDASET"
|
||
><DL
|
||
><DT
|
||
>8.2.1. <A
|
||
HREF="trouble.html#AEN711"
|
||
>I get <TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
>unresolved symbols....</TT
|
||
> messages while loading the modules</A
|
||
></DT
|
||
><DT
|
||
>8.2.2. <A
|
||
HREF="trouble.html#AEN751"
|
||
>I get an <TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
>Operation not permitted</TT
|
||
> error while trying to load the drivers</A
|
||
></DT
|
||
><DT
|
||
>8.2.3. <A
|
||
HREF="trouble.html#AEN760"
|
||
>I get a <TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
>Warning: loading /lib/modules/2.4.19/misc/ptserial.o will taint the kernel: non-GPL license - GPL linked with proprietary libraries</TT
|
||
> message while loading the modules.</A
|
||
></DT
|
||
><DT
|
||
>8.2.4. <A
|
||
HREF="trouble.html#AEN769"
|
||
>I get a <TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
>The module you are trying to load (/lib/modules/2.4.18-14/misc/pctel.o) is compiled with a gcc
|
||
version 2 compiler, while the kernel you are running is compiled with a gcc version 3 compiler. This is known to not work.</TT
|
||
> message while loading the modules.</A
|
||
></DT
|
||
></DL
|
||
><DIV
|
||
CLASS="QANDAENTRY"
|
||
><DIV
|
||
CLASS="QUESTION"
|
||
><P
|
||
><A
|
||
NAME="AEN711"
|
||
></A
|
||
><B
|
||
>8.2.1. </B
|
||
>I get <TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
>unresolved symbols....</TT
|
||
> messages while loading the modules</P
|
||
></DIV
|
||
><DIV
|
||
CLASS="ANSWER"
|
||
><P
|
||
><B
|
||
> </B
|
||
>Firstly, check that you are loading <SPAN
|
||
CLASS="APPLICATION"
|
||
>ptserial.o</SPAN
|
||
> only after loading pctel.o.</P
|
||
><P
|
||
>If that does not solve the problem, then probably you have compiled your modules for the wrong kernel version. Check your kernel version
|
||
with the command</P
|
||
><P
|
||
><B
|
||
CLASS="COMMAND"
|
||
>bash$
|
||
uname -r</B
|
||
></P
|
||
><P
|
||
>and then verify if you have the right files in <TT
|
||
CLASS="FILENAME"
|
||
>/usr/src/linux </TT
|
||
>.</P
|
||
><P
|
||
>Moreover, if you have a running kernel for a uniprocessor machine and have kernel source in <TT
|
||
CLASS="FILENAME"
|
||
>/usr/src/linux/ </TT
|
||
>
|
||
that is configured for smp support, then you will get unresolved symbols. A method to check whether you have a smp supporting source is by
|
||
running <B
|
||
CLASS="COMMAND"
|
||
>bash$
|
||
make menuconfig </B
|
||
>
|
||
in <TT
|
||
CLASS="FILENAME"
|
||
>/usr/src/linux/ </TT
|
||
>
|
||
and seeing whether smp support is selected.</P
|
||
><P
|
||
>Another way to get rid of the unresolved symbols problem is to use the fixscript package from
|
||
<A
|
||
HREF="http://linmodems.technion.ac.il/pctel-linux/fixscript.gz"
|
||
TARGET="_top"
|
||
>http://linmodems.technion.ac.il/pctel-linux/fixscript.gz</A
|
||
></P
|
||
><P
|
||
>The procedure is to:</P
|
||
><P
|
||
>Unpack the downloaded file with</P
|
||
><P
|
||
><B
|
||
CLASS="COMMAND"
|
||
>bash$
|
||
gzip -d fixscript.gz</B
|
||
></P
|
||
><P
|
||
>Make it executable with</P
|
||
><P
|
||
><B
|
||
CLASS="COMMAND"
|
||
>bash$
|
||
chmod +x fixscript</B
|
||
></P
|
||
><P
|
||
>Run it with</P
|
||
><P
|
||
><B
|
||
CLASS="COMMAND"
|
||
>bash$
|
||
./fixscript old_module.o new_module.o</B
|
||
></P
|
||
><P
|
||
>This will create the new module, which you can try to load
|
||
with</P
|
||
><P
|
||
><B
|
||
CLASS="COMMAND"
|
||
>bash$
|
||
insmod new_module.o</B
|
||
></P
|
||
><P
|
||
>If fixscript reports an error like</P
|
||
><P
|
||
><TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
>objcopy: --redefine-sym: Symbol x is target of more than one redefinition</TT
|
||
></P
|
||
><P
|
||
>then, fixscript can not help you.</P
|
||
><P
|
||
>The best method is of course, to fix your kernel source and recompile the drivers.</P
|
||
><P
|
||
>Make sure that you do a</P
|
||
><P
|
||
><B
|
||
CLASS="COMMAND"
|
||
>bash$
|
||
make clean</B
|
||
></P
|
||
><P
|
||
>before recompiling.</P
|
||
></DIV
|
||
></DIV
|
||
><DIV
|
||
CLASS="QANDAENTRY"
|
||
><DIV
|
||
CLASS="QUESTION"
|
||
><P
|
||
><A
|
||
NAME="AEN751"
|
||
></A
|
||
><B
|
||
>8.2.2. </B
|
||
>I get an <TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
>Operation not permitted</TT
|
||
> error while trying to load the drivers</P
|
||
></DIV
|
||
><DIV
|
||
CLASS="ANSWER"
|
||
><P
|
||
><B
|
||
> </B
|
||
>You will have to be logged in as root to load the drivers, otherwise, you can also type in the</P
|
||
><P
|
||
><B
|
||
CLASS="COMMAND"
|
||
>bash$
|
||
su</B
|
||
></P
|
||
><P
|
||
>command and then load the drivers.</P
|
||
></DIV
|
||
></DIV
|
||
><DIV
|
||
CLASS="QANDAENTRY"
|
||
><DIV
|
||
CLASS="QUESTION"
|
||
><P
|
||
><A
|
||
NAME="AEN760"
|
||
></A
|
||
><B
|
||
>8.2.3. </B
|
||
>I get a <TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
>Warning: loading /lib/modules/2.4.19/misc/ptserial.o will taint the kernel: non-GPL license - GPL linked with proprietary libraries</TT
|
||
> message while loading the modules.</P
|
||
></DIV
|
||
><DIV
|
||
CLASS="ANSWER"
|
||
><P
|
||
><B
|
||
> </B
|
||
>This message is just to inform you that you are loading a proprietary module which is not supported
|
||
by the Linux kernel developers. It also serves as a warning that the drivers have not been officially
|
||
tested with the kernel, and may cause problems, and tells you that you should not send bug reports to the
|
||
kernel developers if you face system instability or any other problems after loading these proprietary
|
||
drivers.
|
||
<DIV
|
||
CLASS="NOTE"
|
||
><P
|
||
></P
|
||
><TABLE
|
||
CLASS="NOTE"
|
||
WIDTH="100%"
|
||
BORDER="0"
|
||
><TR
|
||
><TD
|
||
WIDTH="25"
|
||
ALIGN="CENTER"
|
||
VALIGN="TOP"
|
||
><IMG
|
||
SRC="../images/note.gif"
|
||
HSPACE="5"
|
||
ALT="Note"></TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="TOP"
|
||
><P
|
||
>Just remember that this is <EM
|
||
> not </EM
|
||
> a error message - it just informs you that
|
||
you are using an unsupported module.</P
|
||
></TD
|
||
></TR
|
||
></TABLE
|
||
></DIV
|
||
></P
|
||
></DIV
|
||
></DIV
|
||
><DIV
|
||
CLASS="QANDAENTRY"
|
||
><DIV
|
||
CLASS="QUESTION"
|
||
><P
|
||
><A
|
||
NAME="AEN769"
|
||
></A
|
||
><B
|
||
>8.2.4. </B
|
||
>I get a <TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
>The module you are trying to load (/lib/modules/2.4.18-14/misc/pctel.o) is compiled with a gcc
|
||
version 2 compiler, while the kernel you are running is compiled with a gcc version 3 compiler. This is known to not work.</TT
|
||
> message while loading the modules.</P
|
||
></DIV
|
||
><DIV
|
||
CLASS="ANSWER"
|
||
><P
|
||
><B
|
||
> </B
|
||
>Try to load the modules with the commands with <B
|
||
CLASS="COMMAND"
|
||
>insmod -f pctel</B
|
||
> and <B
|
||
CLASS="COMMAND"
|
||
>insmod -f ptserial</B
|
||
>
|
||
instead of the plain <B
|
||
CLASS="COMMAND"
|
||
>insmod pctel</B
|
||
> and <B
|
||
CLASS="COMMAND"
|
||
>insmod ptserial</B
|
||
>.</P
|
||
><P
|
||
><DIV
|
||
CLASS="WARNING"
|
||
><P
|
||
></P
|
||
><TABLE
|
||
CLASS="WARNING"
|
||
WIDTH="100%"
|
||
BORDER="0"
|
||
><TR
|
||
><TD
|
||
WIDTH="25"
|
||
ALIGN="CENTER"
|
||
VALIGN="TOP"
|
||
><IMG
|
||
SRC="../images/warning.gif"
|
||
HSPACE="5"
|
||
ALT="Warning"></TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="TOP"
|
||
><P
|
||
>Just remember that this is not a very nice hack.</P
|
||
></TD
|
||
></TR
|
||
></TABLE
|
||
></DIV
|
||
></P
|
||
></DIV
|
||
></DIV
|
||
></DIV
|
||
></DIV
|
||
><DIV
|
||
CLASS="SECT2"
|
||
><H2
|
||
CLASS="SECT2"
|
||
><A
|
||
NAME="AEN781"
|
||
></A
|
||
>8.3. General modem based problems.</H2
|
||
><DIV
|
||
CLASS="QANDASET"
|
||
><DL
|
||
><DT
|
||
>8.3.1. <A
|
||
HREF="trouble.html#AEN785"
|
||
>I get a <TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
>/dev/modem no such device</TT
|
||
> error.</A
|
||
></DT
|
||
><DT
|
||
>8.3.2. <A
|
||
HREF="trouble.html#AEN816"
|
||
> My dialer gives a <TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
>No Carrier </TT
|
||
> error</A
|
||
></DT
|
||
><DT
|
||
>8.3.3. <A
|
||
HREF="trouble.html#AEN824"
|
||
>I get a <TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
> No Dialtone </TT
|
||
> message.</A
|
||
></DT
|
||
><DT
|
||
>8.3.4. <A
|
||
HREF="trouble.html#AEN839"
|
||
>I get a <TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
>Modem Busy</TT
|
||
> error.</A
|
||
></DT
|
||
></DL
|
||
><DIV
|
||
CLASS="QANDAENTRY"
|
||
><DIV
|
||
CLASS="QUESTION"
|
||
><P
|
||
><A
|
||
NAME="AEN785"
|
||
></A
|
||
><B
|
||
>8.3.1. </B
|
||
>I get a <TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
>/dev/modem no such device</TT
|
||
> error.</P
|
||
></DIV
|
||
><DIV
|
||
CLASS="ANSWER"
|
||
><P
|
||
><B
|
||
> </B
|
||
>First of all, check if you really have the drivers loaded. You can do this by the command</P
|
||
><P
|
||
><B
|
||
CLASS="COMMAND"
|
||
>bash$ lsmod</B
|
||
></P
|
||
><P
|
||
>This command lists all the modules that you have loaded, and if you see something like</P
|
||
><P
|
||
><TABLE
|
||
BORDER="1"
|
||
BGCOLOR="#E0E0E0"
|
||
WIDTH="100%"
|
||
><TR
|
||
><TD
|
||
><FONT
|
||
COLOR="#000000"
|
||
><PRE
|
||
CLASS="SCREEN"
|
||
>Module Size Used by
|
||
ptserial 47472 0 (unused)
|
||
pctel 1211808 0 [ptserial]</PRE
|
||
></FONT
|
||
></TD
|
||
></TR
|
||
></TABLE
|
||
></P
|
||
><P
|
||
>then, the modules are correctly loaded.</P
|
||
><P
|
||
>If not, just load them and retry.</P
|
||
><P
|
||
>Also check whether the file /dev/modem is symlinked to /dev/ttyS15</P
|
||
><P
|
||
>Remember, even if msdos or Microsoft Windows tells you that the modem is in com 3 or com 4, in GNU/Linux the driver makes it appear in
|
||
/dev/ttyS15 (the Microsoft equivalent of which will be com 16!!)</P
|
||
><P
|
||
>If you are in doubt, I suggest that you re-create the device files by the commands</P
|
||
><P
|
||
><B
|
||
CLASS="COMMAND"
|
||
>bash$
|
||
rmmod ptserial</B
|
||
></P
|
||
><P
|
||
><B
|
||
CLASS="COMMAND"
|
||
>bash$
|
||
rmmod pctel</B
|
||
></P
|
||
><P
|
||
><B
|
||
CLASS="COMMAND"
|
||
>bash$ rm /dev/ttyS15 <20>/dev/modem</B
|
||
></P
|
||
><P
|
||
><B
|
||
CLASS="COMMAND"
|
||
>bash$
|
||
mknod /dev/ttyS15 c 62 79</B
|
||
></P
|
||
><P
|
||
>NOTE: the numbers after /devttyS15 are distribution specific, and the c 62 79 works for Red Hat
|
||
Linux and derivatives. If you have any other distribution, please check your documentations.</P
|
||
><P
|
||
><B
|
||
CLASS="COMMAND"
|
||
>bash$
|
||
chgrp uucp /dev/ttyS15</B
|
||
></P
|
||
><P
|
||
><B
|
||
CLASS="COMMAND"
|
||
>bash$
|
||
chmod 666 <20>/dev/ttyS15</B
|
||
></P
|
||
><P
|
||
><B
|
||
CLASS="COMMAND"
|
||
>bash$
|
||
ln -s /dev/ttyS15 /dev/modem</B
|
||
></P
|
||
></DIV
|
||
></DIV
|
||
><DIV
|
||
CLASS="QANDAENTRY"
|
||
><DIV
|
||
CLASS="QUESTION"
|
||
><P
|
||
><A
|
||
NAME="AEN816"
|
||
></A
|
||
><B
|
||
>8.3.2. </B
|
||
> My dialer gives a <TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
>No Carrier </TT
|
||
> error</P
|
||
></DIV
|
||
><DIV
|
||
CLASS="ANSWER"
|
||
><P
|
||
><B
|
||
> </B
|
||
>This is a bug with the drivers for the kernel 2.4x series</P
|
||
><P
|
||
>Refer to section <A
|
||
HREF="ot.html#BUG"
|
||
>7.6 </A
|
||
>for more information.</P
|
||
></DIV
|
||
></DIV
|
||
><DIV
|
||
CLASS="QANDAENTRY"
|
||
><DIV
|
||
CLASS="QUESTION"
|
||
><P
|
||
><A
|
||
NAME="AEN824"
|
||
></A
|
||
><B
|
||
>8.3.3. </B
|
||
>I get a <TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
> No Dialtone </TT
|
||
> message.</P
|
||
></DIV
|
||
><DIV
|
||
CLASS="ANSWER"
|
||
><P
|
||
><B
|
||
> </B
|
||
> This is usually solved by adding <B
|
||
CLASS="COMMAND"
|
||
> ATX3 </B
|
||
> to your modem init strings.
|
||
The process of adding the ATX3 init string varies depending on the dialer you are using.
|
||
For example, if you are using <SPAN
|
||
CLASS="APPLICATION"
|
||
>wvdial</SPAN
|
||
>, you need to add X3 at the end
|
||
of the <TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
>Init2</TT
|
||
> line in the file <TT
|
||
CLASS="FILENAME"
|
||
>/etc/wvdial.conf</TT
|
||
>.
|
||
On the other hand, if you are using <SPAN
|
||
CLASS="APPLICATION"
|
||
>KPPP</SPAN
|
||
>, you will have to add ATX3 in
|
||
the <TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
>Initialization String 1</TT
|
||
> field, which can be found in the
|
||
<TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
>Modem Commands</TT
|
||
> section of the <TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
> Modem</TT
|
||
>
|
||
of the <TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
>Setup</TT
|
||
> dialogue box of KPPP.</P
|
||
></DIV
|
||
></DIV
|
||
><DIV
|
||
CLASS="QANDAENTRY"
|
||
><DIV
|
||
CLASS="QUESTION"
|
||
><P
|
||
><A
|
||
NAME="AEN839"
|
||
></A
|
||
><B
|
||
>8.3.4. </B
|
||
>I get a <TT
|
||
CLASS="COMPUTEROUTPUT"
|
||
>Modem Busy</TT
|
||
> error.</P
|
||
></DIV
|
||
><DIV
|
||
CLASS="ANSWER"
|
||
><P
|
||
><B
|
||
> </B
|
||
>First of all, check if the drivers are loaded or not and then see, if any program is using the modem.
|
||
If everything seems to be all right, try to find out the irq of your modem with the command</P
|
||
><P
|
||
><B
|
||
CLASS="COMMAND"
|
||
>bash$
|
||
lspci -v</B
|
||
></P
|
||
><P
|
||
>If the irq listed is obviously incorrect (like 0) (or does not tally with your M$-Windows configuration) then either use the <SPAN
|
||
CLASS="APPLICATION"
|
||
>setserial</SPAN
|
||
> command</P
|
||
><P
|
||
><B
|
||
CLASS="COMMAND"
|
||
>bash$
|
||
setserial /dev/ttyS15 irq * </B
|
||
>(where * is the irq of your modem)</P
|
||
><P
|
||
>or fiddle with the BIOS settings (see section <A
|
||
HREF="ot.html#BIOS"
|
||
> 7.8</A
|
||
>)</P
|
||
><P
|
||
>Another possibilty may be that your sound modules are conflicting with the PCTel modules. Refer to section <A
|
||
HREF="ot.html#SOUND"
|
||
>7.10 </A
|
||
> for this.</P
|
||
></DIV
|
||
></DIV
|
||
></DIV
|
||
></DIV
|
||
><DIV
|
||
CLASS="SECT2"
|
||
><H2
|
||
CLASS="SECT2"
|
||
><A
|
||
NAME="AEN854"
|
||
></A
|
||
>8.4. I have a problem that is not listed in this section. What do I do?</H2
|
||
><P
|
||
>The output of the command</P
|
||
><P
|
||
><B
|
||
CLASS="COMMAND"
|
||
>bash$
|
||
tail /var/log/messages</B
|
||
> </P
|
||
><P
|
||
>will give you a lot of information if anything goes wrong
|
||
The normal output should be something like this</P
|
||
><P
|
||
><TABLE
|
||
BORDER="1"
|
||
BGCOLOR="#E0E0E0"
|
||
WIDTH="100%"
|
||
><TR
|
||
><TD
|
||
><FONT
|
||
COLOR="#000000"
|
||
><PRE
|
||
CLASS="SCREEN"
|
||
>Nov 11 10:50:24 localhost kernel: PCTel device[00:09.0](0x48) found "PCTel Inc HSP MicroModem 56 (rev 01)", iobase=0xe400, irq=12.
|
||
Nov 11 10:50:24 localhost kernel: PCTel driver version 0.9.5 [5.05c-4.27.215 (09-14-2001)] (PCT789) (2002-01-31) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled.
|
||
Nov 11 10:50:24 localhost kernel: PCTel driver built on [Linux 2.4.18-14 i686 i686 "2.4.18-14 <132114>"] with gcc-gcc (GCC) 3.2
|
||
20020903 (Red Hat Linux 8.0 3.2-7).
|
||
Nov 11 10:50:24 localhost kernel: ttyS15 at 0xe400 (irq = 12) is a PCTel</PRE
|
||
></FONT
|
||
></TD
|
||
></TR
|
||
></TABLE
|
||
></P
|
||
><P
|
||
>Mail the output you get to the <TT
|
||
CLASS="EMAIL"
|
||
><<A
|
||
HREF="mailto:discuss@linmodems.org"
|
||
>discuss@linmodems.org</A
|
||
>></TT
|
||
> list( more on this in section <A
|
||
HREF="appendix.html#MAILINGLIST"
|
||
>9.2.2</A
|
||
>), and wait for a reply.</P
|
||
></DIV
|
||
></DIV
|
||
><DIV
|
||
CLASS="NAVFOOTER"
|
||
><HR
|
||
ALIGN="LEFT"
|
||
WIDTH="100%"><TABLE
|
||
SUMMARY="Footer navigation table"
|
||
WIDTH="100%"
|
||
BORDER="0"
|
||
CELLPADDING="0"
|
||
CELLSPACING="0"
|
||
><TR
|
||
><TD
|
||
WIDTH="33%"
|
||
ALIGN="left"
|
||
VALIGN="top"
|
||
><A
|
||
HREF="ot.html"
|
||
ACCESSKEY="P"
|
||
>Prev</A
|
||
></TD
|
||
><TD
|
||
WIDTH="34%"
|
||
ALIGN="center"
|
||
VALIGN="top"
|
||
><A
|
||
HREF="index.html"
|
||
ACCESSKEY="H"
|
||
>Home</A
|
||
></TD
|
||
><TD
|
||
WIDTH="33%"
|
||
ALIGN="right"
|
||
VALIGN="top"
|
||
><A
|
||
HREF="appendix.html"
|
||
ACCESSKEY="N"
|
||
>Next</A
|
||
></TD
|
||
></TR
|
||
><TR
|
||
><TD
|
||
WIDTH="33%"
|
||
ALIGN="left"
|
||
VALIGN="top"
|
||
>A few other points that must be noted.</TD
|
||
><TD
|
||
WIDTH="34%"
|
||
ALIGN="center"
|
||
VALIGN="top"
|
||
> </TD
|
||
><TD
|
||
WIDTH="33%"
|
||
ALIGN="right"
|
||
VALIGN="top"
|
||
>Appendix</TD
|
||
></TR
|
||
></TABLE
|
||
></DIV
|
||
></BODY
|
||
></HTML
|
||
> |