wvdial upgrade causes system crash with ltmodem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wvdial (Ubuntu) |
Confirmed
|
High
|
Simon Law |
Bug Description
Binary package hint: wvdial
I upgraded initially using aptitude which led to a complete freeze while upgrading wvdial. I rebooted and tried the same (update by aptitude then dpkg --configure -a) from console which led once more to a locked up system.
Jim Dunlap (syedburns) wrote : | #1 |
wilderness wanderer (jdmfilter-spam) wrote : | #2 |
<aol> ME TOO! </aol>
Changed in wvdial: | |
status: | Unconfirmed → Confirmed |
SteveGotthardt (gotthardt) wrote : | #3 |
Just tossing in that I hard lock on initial synaptic update and also configure -a on A22p thinkpad. Had to hold power button to reboot.
Diego Cortassa (diego-cortassa) wrote : | #4 |
Same here on a Dell Inspiron 8000 with Dapper with last updates.
Did some debug:
the problem arise wen dpkg configures the package running "/var/lib/
Running a "sudo wvdialconf /etc/wvdial.conf" manually locks the compuer again:
-------
[999] diego@caladan ~> sudo wvdialconf /etc/wvdial.conf
Editing '/etc/wvdial.conf'.
Scanning your serial ports for a modem.
Modem Port Scan<*1>: Scanning ttyLTM0 first, /dev/modem is a link to it.
-------
and the computer freezes again.... LT modem dirver seems to be the problem...
Bye
Diego.
Wolfgang (wt-lists) wrote : | #5 |
Upgrade on my installation does not lead to "freeze", but the update process idles 'till I kill the "wvdialconf" process.
A manual start of "wvdial /etc/wvdial.conf" brings the following output:
root@kisterl:~# wvdialconf /etc/wvdial.conf
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
ttyS1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S2 S3 S4 S5 S6 S7 S8 S9
Modem Port Scan<*1>: S10 S11 S12 S13 S14 S15 S16 S17
Modem Port Scan<*1>: S18 S19 S20 S21 S22 S23 S24 S25
Modem Port Scan<*1>: S26 S27 S28 S29 S30 S31 S32 S33
Modem Port Scan<*1>: S34 S35 S36 S37 S38 S39 S40 S41
Modem Port Scan<*1>: S42 S43 S44 S45 S46 S47
WvModem<*1>: Cannot get information for serial port.
The process sits there and eats up CPU untill I kill the process... This is the output of "ps -ef"
root 8490 8227 87 13:03 pts/1 00:23:41 wvdialconf /etc/wvdial.conf
Fabian Köster (maestro-alubia) wrote : | #6 |
Same problem here.
Changed in wvdial: | |
assignee: | nobody → sfllaw |
Kurt (e-mail-elmar-boos) wrote : | #7 |
Dell Ispirion 8100 - same Problem
Casey Greene (casey-s-greene) wrote : | #8 |
Inspiron 8000, same issue.
Fabian Köster (maestro-alubia) wrote : | #9 |
Oh, can it be a dell problem? I am using a Dimension 8300
It has a lot of Intel-standard components. I think it is a Intel 875P mainboard with Intel ICH5 Chipset. I do not really know what wvdial does but it seems to search for modems, doesn't it? As far as I know my mainboard does not have any modem-chips on it...
dresnu (dresnu) wrote : | #10 |
I had the same issue on a Compaq Evo n610c. I solved it(temporarily?) by running "sudo dpkg -r wvdial".
Macknal (mark-mcnally) wrote : | #11 |
Not that it matters, but experienced the exact same problem as the original poster. except that it successfully installed after dpkg --configure -a. Also if the ltserial module is not loaded, wvdial simply displays errors relating to a modem not existing. If ltserial is loaded, wvdial and wvdialconf both cause my system to freeze. I'm forced to cold boot.
Macknal (mark-mcnally) wrote : | #12 |
I failed to mention in my earlier report that I'm not using a DELL. I have an AMD Athlon 900 MHz on an ASUS mobo with 704 MB.
gnomnain (gnomnain) wrote : | #13 |
I had the same issue on a Compaq Evo n610c too and I solved it the same way. But I needed to remove ubuntu-desktop.
Simon Law (sfllaw) wrote : | #14 |
Hello people!
Can you run the following command in a terminal and write down the
output for this bug?
$ sudo wvdialconf /etc/wvdial.conf
It really sounds like a driver that doesn't like what WvDial is sending to
it.
Also, a copy of /var/log/udev attached to this bug would be superb!
https:/
Thanks!
gnomnain (gnomnain) wrote : | #15 |
I had the same issue on a Compaq Evo n610c too and I solved it the same way. But I needed to remove ubuntu-desktop.
gnomnain (gnomnain) wrote : | #16 |
oups sorry for my last comment. I don't know what I did.
Sorry, I can't run wvdialconf because I removed this package.
Jim Dunlap (syedburns) wrote : /var/log/udev | #17 |
Jim Dunlap (syedburns) wrote : Re: wvdial upgrade causes system crash | #18 |
wvdialconf /etc/wvdial.conf
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
Modem Port Scan<*1>: Scanning ttyLTM0 first, /dev/modem has a link to it.
...and there is where it hangs. I had to write down the output and manually reset from there.
I've included a copy of /var/log/udev.
Simon Law (sfllaw) wrote : | #19 |
Jim,
Could you please also run:
$ sudo strace wvdialconf /etc/wvdial.conf
And write out the last five lines of output?
I'm sorry to have you copy things by hand.
Thanks.
Diego Cortassa (diego-cortassa) wrote : My udev | #20 |
Hi Simon,
Running "sudo wvdialconf /etc/wvdial.conf" freezes the computer after outputting this:
-------
[999] diego@caladan ~> sudo wvdialconf /etc/wvdial.conf
Editing '/etc/wvdial.conf'.
Scanning your serial ports for a modem.
Modem Port Scan<*1>: Scanning ttyLTM0 first, /dev/modem is a link to it.
-------
here is my /var/log/udev attached !
Bye
Diego.
Jim Dunlap (syedburns) wrote : Re: wvdial upgrade causes system crash | #21 |
wvdialconf /etc/wvdial.conf
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
Modem Port Scan<*1>: Scanning ttyLTM0 first, /dev/modem has a link to it.
...and there is where it hangs. I had to write down the output and manually reset from there.
I've included a copy of /var/log/udev.
Simon Law (sfllaw) wrote : | #23 |
This bug is almost certainly related to bug 41991.
WvDial is tickling something in that driver. We need to
isolate what that would be.
Jim Dunlap (syedburns) wrote : | #24 |
I don't know what the deal is with the multiple posting. I apologize.
As for the handwriting, no worries: it's just a disclaimer if I get something wrong in the transcription.
$ sudo strace wvdialconf /etc/wvdial.conf
open("/
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
getpid() = 5548
write(4, 5548\n", 11) = 11
close(4) = 0
open("/
...and there it hangs.
Diego Cortassa (diego-cortassa) wrote : | #26 |
On my laptops keeps printing the same sequence many times and hangs:
-------
$ sudo strace wvdialconf /etc/wvdial.conf
[..... Scrolled out content.....]
nanosleep({0, 1000000}, NULL) = 0
waitpid(6235, 0xbf914d94, WNOHANG) = 0
read(4, 0xbf914e24, 1) = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 1000000}, NULL) = 0
waitpid(6235, 0xbf914d94, WNOHANG) = 0
read(4, 0xbf914e24, 1) = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 1000000}, NULL) = 0
waitpid(6235, 0xbf914d94, WNOHANG) = 0
read(4, 0xbf914e24, 1) = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 1000000},
[HANGS]
-------
I googled for the problem, seems like it is known :
wilderness wanderer (jdmfilter-spam) wrote : | #27 |
Simon,
I had previously uninstalled wvdial (and ubuntu-desktop which depends on it). When I tried to reinstall wvdial (via apt-get install) so that I could give you the output of wvdialconf, it hangs on the line:
Setting up wvdial (1.55-1ubuntu3)...
and I have to power-cycle the machine. This is on a Thinkpad T23. The modem is listed as ttyLTM0, so ltmodem.
I'll attach a copy of /var/log/udev.
wilderness wanderer (jdmfilter-spam) wrote : Thinkpad T23 2647-8RU "/var/log/udev" | #28 |
Simon Law (sfllaw) wrote : Re: wvdial upgrade causes system crash | #29 |
Jim,
That strace is very interesting. It points to the driver crashing on
an ioctl().
We might be able to work around this inside WvDial, but I'm not
sure. Have you had any experience compiling custom packages?
Thanks.
Simon Law (sfllaw) wrote : | #30 |
Also, could somebody follow the steps in
https:/
so that our kernel people have something to work off of?
Anders Olsson (anders-anderso) wrote : | #31 |
I had the same problem on a Thinkpad X23. I solved it by removing ltserial and ltmodem modules, then did dpkg --configure -a. I unfortunately can't follow the steps in DebuggingSystem
gnomnain (gnomnain) wrote : | #32 |
I can't use the Magic SysRq when the crash happen.
It seems to crash even if you are not root.
It hangs the same way as Jim Dunlap :
open("/
Jim Dunlap (syedburns) wrote : | #33 |
Simon,
Not too much I'm sorry to say. Still, I'd be happy to help with what I can.
Simon Law (sfllaw) wrote : | #34 |
Jim,
One thing to try, then, would be using the -386 kernel instead of the
-686. Does that crash your system?
Thanks.
wilderness wanderer (jdmfilter-spam) wrote : | #35 |
I produced the crash from the console and tried Alt+SysRq+1 followed by Alt+SysRq+t to get a trace, but nothing happened.
However, when I booted a 386 kernel, it does not crash.
Jim Dunlap (syedburns) wrote : | #36 |
Ok, I was using the -k7 kernel. I apt-get removed wvdial so that I could install -386. Once done, I was able to install wvdial using -386.
Roner (ron-regev) wrote : | #37 |
Bad news on a Toshiba Satellite A45-S151: the configuration process hangs on both the 686 and the 386 kernels; ltserial and ltmodem modules are not loaded at all. The machine does not freeze; the process can be stopped with Ctrl-C. I tried running a trace, and after a while I got this loop:
select(5, [4], [], [], {0, 500000}) = 1 (in [4], left {0, 341000})
read(4, "\377", 1023) = 1
select(5, [4], [], [], {0, 500000}) = 1 (in [4], left {0, 435000})
read(4, "\377", 1022) = 1
select(5, [4], [], [], {0, 500000}) = 1 (in [4], left {0, 250000})
read(4, "\377", 1021) = 1
select(5, [4], [], [], {0, 500000}) = 1 (in [4], left {0, 249000})
read(4, "\377", 1020) = 1
select(5, [4], [], [], {0, 500000}) = 1 (in [4], left {0, 250000})
read(4, "\377", 1019) = 1
select(5, [4], [], [], {0, 500000}) = 1 (in [4], left {0, 250000})
read(4, "\377", 1018) = 1
select(5, [4], [], [], {0, 500000}) = 1 (in [4], left {0, 249000})
read(4, "\377", 1017) = 1
select(5, [4], [], [], {0, 500000}) = 1 (in [4], left {0, 0})
read(4, "\377", 1016) = 1
select(5, [4], [], [], {0, 500000}) = 0 (Timeout)
It continued counting down all the way to 0, and then continued looping without counting down. Do you need any other info?
Roner (ron-regev) wrote : | #38 |
UPDATE: I managed to finish the setup on the 386 kernel, without any modems being detected (which is not too great, since my Toshiba has an internal modem). The culprit was my Socket Bluetooth CF Card; this card requires a patch to 8250.co which is based on the 2.4 kernel, and I was running an unpatched 2.6.15 kernel.
Fabian Köster (maestro-alubia) wrote : Dell Dimension 8300 /var/log/udev | #39 |
- Dell Dimension 8300 /var/log/udev Edit (293.8 KiB, text/plain)
Attaching my /var/log/udev of Dell Dimension 8300
Fabian Köster (maestro-alubia) wrote : Re: wvdial upgrade causes system crash | #40 |
My output of 'sudo strace wvdialconf /etc/wvdial.conf' has this loop:
gettimeofday(
write(3, "\r\r\r\r\r", 5) = -1 EAGAIN (Resource temporarily unavailable)
read(3, 0xbfc6db50, 1024) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], [3], [], {0, 0}) = 1 (out [3], left {0, 0})
gettimeofday(
gnomnain (gnomnain) wrote : | #41 |
I think a piece of line is missing in the strace :
I tried a little C program that call open("/
Adam Conrad (adconrad) wrote : | #42 |
Can any (or all) of the people who are experiencing this bug try installing the linux-restricte
http://
And tell me if that helps in any way with being able to run the wvdialconf tests above? (would also be nice to know if the modem works with these modules)
gnomnain (gnomnain) wrote : | #43 |
Adam Conrad's patch doesn't work for me. I rebooted before trying wvdialconf but it crashed again.
gnomnain (gnomnain) wrote : | #44 |
Oops, I forgot to say i havent installed the others packages from http://
Macknal (mark-mcnally) wrote : Re: wvdial worked after rebuilding kernel | #45 |
I downloaded ltmodem source (ltmodem-2.6-8alk) and compiled against the kernel headers for the image I have installed (linux-
I then rebuilt and installed a new kernel image (kernel-
From this, I conclude that either ltmodem doesn't play nice with SMP kernels or something went amiss with the lastest kernel build (which was updated earlier this week if I'm not mistaken). I have not yet tried Adam Conrads packages from above just yet.
Francis (ubuntu-bugzilla-fdnet) wrote : Re: wvdial upgrade causes system crash | #46 |
Crashed for me too... the crash blocked all my upgrades to be done, so I was not able to start a new gnome session after a reboot (once I type my login/pass, I only see the red background and my mouse on the screen) ...
I had to remove the package wvdial and continue my system upgrade to be able to open a new gnome session.
My system is running on the kernel -686 and my config is:
CPU: Intel Pentium IV 3.0E Ghz
Motherboard: Asus P4S800D-X
Memory: 2x512 DDR400 AZENRAM + 2x512 DDR400 Samsung = 2Go
CPU fan: Zalman CNPS7000B
Hard drives: Western Digital 160 Go with 8 Mo cache and Western Digital 120 Go with 8 Mo cache
Video card: Asus V9520 GeForce FX5200
Sound card: Creative Sound Blaster Live!
TV Tuner: ATI TV Wonder & ATI Remote Wonder
Power Supply: Thermaltake 420W
CD-R: LG CDR/DVD 52/24/52
DVD-R: LiteOn DVD-RW 8/4/12
LAN: Integrated (dead) and U.S. Robotics 7900
I removed the package, so I cannot test the wvdialconf thing.
Fabian Köster (maestro-alubia) wrote : | #47 |
For me the restricted-
Fabian Köster (maestro-alubia) wrote : | #48 |
For me the restricted-
Adam Conrad (adconrad) wrote : | #49 |
Okay, my packages were mainly just based on a hunch from some upstream notes about SMP support. Obviously, they didn't help one bit, so we're back to square 1.
Eric Johnson (eric-el-studio) wrote : | #50 |
The restricted-
This is clearly a problem with the ltmodem modules -- wvdial works fine with i386 kernel. It just hangs with the i686 one.
(Here's the original bug report: https:/
Standard kernel (Alt-SysRq) debugging tips show nothing. What next?
mstuehrenberg (maik-stuehrenberg) wrote : | #51 |
I had the same problem here on a Dell Inspiron 8100 (using a -686 kernel -- upgraded today via agt-get update/upgrade). By now I can boot the system but cannot remove the wvdial package or install the -386 kernel without running dpkg --configure -a, resulting in a lock. So what to do to motivate dpkg to omit the wvdial configuration?
Fabian Köster (maestro-alubia) wrote : | #52 |
For me wvdial does not work with the -386-kernel either.
Fabian Köster (maestro-alubia) wrote : | #53 |
... but I do not have a system crash as well. Configuring the wvdial-package just leeds to a interruptable loop. Can it be a different bug?
Maybe I will install the dapper rc later when I am at the affected machine and try reproducing the bug in a fresh environment.
wilderness wanderer (jdmfilter-spam) wrote : | #54 |
mstuehrenberg,
What worked for me as a temporary work-around is to remove wvdial with Synaptic (and let it mark ubuntu-desktop which depends on it), then reboot selecting the 386 kernel in the Grub menu and reinstall ubuntu-desktop (also marking wvdial). It then went through its configuration without crashing. I then switched back to the 686 kernel and further updates have applied without problem.
mstuehrenberg (maik-stuehrenberg) wrote : | #55 |
wilderness wanderer,
thanks, it worked. I installed the -386-kernel and removed wvdial for the time being.
Simon Law (sfllaw) wrote : | #56 |
maestro_alubia,
It looks like you have bug 46790.
Fabian Köster (maestro-alubia) wrote : | #57 |
Yes, Simon. I think you are right.
Thanks
Walter Banks (banksw) wrote : | #58 |
Not sure if it is a ltmodem problem but sys crashes with a Dell Optiplex gx400. did mem chk and attempted several upgrade/new installs with no luck. Newbie to breezy/dapper.
Aryding (aryding) wrote : | #59 |
This also occurred when upgrade from gutsy to hardy (alpha 4). Killing wvdial.conf file will fix the problem, by using ps -ef to find the process.
upgraded severity due to system lockup