LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-01-2003, 10:54 AM   #1
Paul_Lee
Member
 
Registered: Jul 2001
Location: Cambridgeshire, England
Distribution: Ubuntu 13.10
Posts: 93

Rep: Reputation: 15
Unhappy My modem no longer works properly!


Hi all,
An annoying problem has cropped up, could anyone help please?!

A few days ago, we had a bit of a power outage. Now, when I log in, I get
a few messages saying that a portion of my disk has uncorrectable errors.
Anyway, thats not the main problem.

I can log into the internet using kppp (btw, I'm using SuSE 7.3) with no
problem, but when I log out and try and log back in, the "kppp" icon shows
the familiar lightning flash status, and then logs out. When I look at the log it
says
"Cannot open /dev/ttys0: Device or rescource busy"

Its as if the OS has got a lock on the modem even when I "hang up" and won't let go. If I try
and use wvdial from the command line, I get the above "Cannot open" message before I
can even type any command (ATZ etc.) in.

This has just started to happen today. I have tried switching the modem off and
then back, but this doesn't work; the only way to be able to log back onto my ISP
is to power down the PC and then up again....every time. Windows doesn't have this problem- I can
log on as and when I want.

How can I remedy the situation?

With best wishes

Paul

The contents of my kppp log file are as follows: (some irrelevant details snipped)

wvdial:-->WvDial: Internet dialer version 1.42
wvdial:-->Initializing Modem
wvdial:-->Sending: ATZ
wvdial: ATZ
wvdial: OK
wvdial:--> Sending: AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
wvdial: AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
wvdial:OK
wvdial:-->Model initialized
wvdial:-->Dialing BT Internet
<snip>
wvdial:-->pppd: Terminating on signal 15
wvdial: Caught signal#15! Attempting to exit gracefully...
wvdial:--> pppd: Script /detc/ppp/ip-down started
wvdial:--> pppd: Terminate Request(Message: "User Request")
wvdial:-->pppd: connent time 1.1 minutes
wvidal:-->Disconnecting at time <whatever>

Then, trying to reconnect

wvdial:--> WvDial: Internet dialer version 1.42
wvdial:-->Cannot open /dev/ttyS0: Device or resource busy
 
Old 09-01-2003, 11:03 AM   #2
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 65
Lightbulb file problems huh?

It may be that your file system problem does have something to do with it. It may be that one of the files is corrupt. Linux is file based remember?

I would try to fix the drive problem first, then see if the modem works.

Maybe someone else has a better idea?

 
Old 09-01-2003, 03:22 PM   #3
rolf
Member
 
Registered: Jul 2001
Location: Oakland, CA
Distribution: Mandriva 2010.2 x86_64
Posts: 186

Rep: Reputation: 33
Look under /var/lock for a stale modem lock file.
 
Old 09-02-2003, 08:43 AM   #4
Paul_Lee
Member
 
Registered: Jul 2001
Location: Cambridgeshire, England
Distribution: Ubuntu 13.10
Posts: 93

Original Poster
Rep: Reputation: 15
Hi Dalek and Rolf,
Thanks for your help. It seems things have got a bit worse since my last message!

When I log back into Linux, I find that I can't use the modem at all now! The log file says that "Device or resource busy"...I've done a ps -aux | grep ppp
(saves me sorting through all those other processes and the only one I find is /usr/bin/smpppd - and of course, if you kill this (as root), then ppp doesn't work anyway! I did this because a friend suggesting that a pppd process wasn't being killed between dials and re-dials.

I'm beginning to think that that power outage we had a few days ago did more damage than suspected. In addition to the multiple (but repeated) messages about "Uncorrectable Errors" (Linux still boots OK though), I am now getting messages on shut down saying things like httppd killproc: I/O error, CRON daemonkillproc: I/O error; kdmkillproc: I/O error etc. I only had time to scribble down a few of them.

I'm very wary about doing a FSCK on Linux. I know it can screw your OS up terribly, and I've only ever done it on Solaris (when it was somebody's elses machine so it was OK :-) ..in this latter case, Solaris wouldn't boot so a Fsck was necessary, but Linux grumbles a bit, spits out the same "end-request: I/O error {DriveReady SeekComplete Error}...{Uncorrectable Error}" message about 30 times but boots up.

Its enough to drive a man to drink!

Best wishes

Paul
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Power off no longer works davholla Linux - Hardware 13 07-26-2005 12:08 PM
CD-RW drive no longer works wmeler Linux - Hardware 8 02-27-2004 02:07 PM
Modem no longer works infornography Linux - General 3 11-07-2003 11:14 AM
Modem no longer works since I fixed it! funkenbooty Linux - Newbie 1 08-14-2003 07:34 AM
Ethernet no longer works... vthokiestm Linux - Networking 0 07-03-2003 01:34 PM


All times are GMT -5. The time now is 10:14 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration