Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101432 - wvdial insists: no dialtone with kernel 2.6.12-gentoo-r6
Summary: wvdial insists: no dialtone with kernel 2.6.12-gentoo-r6
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-05 06:14 UTC by subscryer
Modified: 2005-08-06 02:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description subscryer 2005-08-05 06:14:42 UTC
If I switch kernel to my 2.6.11-gentoo-r11 version everything works again and I
don't get "no dialtone" at all or I get it only a few times before the dialer works.

Reproducible: Always
Steps to Reproduce:
1. boot with 2.6.12
2. start slmodem
3. run wvdial

Actual Results:  
I receive "no dialtone" message at every connection attempt.

Expected Results:  
Dial to my isp

First emerge info

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.11-gentoo-r11 i686)
=================================================================
System uname: 2.6.11-gentoo-r11 i686 Intel(R) Pentium(R) M processor 1.50GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O3 -mcpu=pentium4 -pipe -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_GB.UTF-8"
LC_ALL=""
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi bash-completion berkdb bitmap-fonts cdparanoia cdr
cjk crypt cups curl dvd dvdr emboss encode esd fam flac foomaticdb fortran gd
gdbm gif gpm gtk gtk2 imagemagick imlib immqt-bc java jpeg junit kde libg++
libwww mad mikmod mmx motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam
pcmcia pdflib perl png python qt quicktime readline real samba sdl slang spell
sse sse2 ssl svga tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis
xine xml2 xmms xv xvid zlib linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS


now cat /etc/conf.d/slmodem
# Config file for /etc/init.d/slmodemd

DEV=/dev/ttySL0
COUNTRY=ITALY
GROUP=dialout

# The following symlink will be created if uncommented
#LN_DEV=/dev/modem

# Raise priority to reduce modem dropouts
NICE=-6

# ALSA Options:

# The following sets the ALSA (alsasound) init script to
# be a dependancy of the slmodem one. It does also provides
# ALSA support.
MODULE=alsa

# The modem hardware slot
# use "modem:0", "modem:1", etc.
HW_SLOT=hw:1

# Non-ALSA OPTIONS:

#  MODULE=slamr
# or
#  MODULE=slusb

# this file must be kept in sync with:
# /etc/devfs.d/slmodem (devfs)
# /etc/modules.d/slmodem (devfs)
# /etc/udev/rules.d/55-slmodem.rules (udev)
# /etc/udev/permissions.d/55-slmodem.permissions (udev)

and cat /etc/wvdial.conf

[Dialer Defaults]
Modem = /dev/ttySL0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Carrier Check = yes
Abort on No Dialtone = off
Stupid Mode = 1
Auto DNS = true
Country = Italy
Phone = x
Username = x
Password = x

And finally a few more words: my modem is a softmodem implemented by
intel8x0/intel8x0m via alsa (compiled as modules from kernel menuconfig), I
suspect the problem has to do with the driver version in the latest kernels as
slmodem and wvdial seem to work fine otherwise. Both are latest versions.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-08-05 06:22:07 UTC
I have no idea how is dialtone implemented or not implemented in Italy, but ATX3
tells the modem not to wait for dialtone.
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2005-08-05 06:30:27 UTC
did you tried to dial using a terminal program such as minicom? 
I haven't the vaguest idea how COUNTRY could influence functionality of a
softmodem, but ATDphonenum should work on any kind of modem, right?
Comment 3 subscryer 2005-08-05 09:16:20 UTC
Thanks for comments, I will surely try your suggestions and report if they work :)
Comment 4 subscryer 2005-08-05 09:52:48 UTC
Adding ATX3 as a third init string solved the problem so I tone down the
severity of the bug.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-08-05 09:58:42 UTC
(In reply to comment #4)
> Adding ATX3 as a third init string solved the problem so I tone down the
> severity of the bug.

Well, in that case this is not a bug. If you don't have dialtone in Italy (I
googled a bit and this seems to be the case), then you must always use this AT
command.
Comment 6 subscryer 2005-08-05 17:46:15 UTC
I'll leave this to your judgement, however I disagree. With the former kernel I
waited for dialtone (we have dialtone, or at least that's how we call it, our
phones aren't mute when you listen before dialing) and everything worked. I get
AT LEAST a very different behaviour, if this is not a bug, I'm glad, if it is it
should be fixed, either way I'd like to have a clarification :)
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-08-06 02:29:09 UTC
(In reply to comment #6)
> I'll leave this to your judgement, however I disagree. With the former kernel I
> waited for dialtone (we have dialtone, or at least that's how we call it, our
> phones aren't mute when you listen before dialing) and everything worked.

Well, it did not work, at least accoding to your original post:

> ... or I get it only a few times before the dialer works.

What you call "dialtone" is not what your modem accepts as dialtone. The fact
that your phone is not mute does not mean that you have the required dialtone
that your modem undestands. ATX3 command is the correct solution for these cases
and this is definitely not a kernel bug.