LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-06-2007, 06:10 PM   #1
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Question Mount / unmount / ejecting CD/DVD makes LAN disconnect & reconnect...!



Shortly ago, while browsing the contents of some CDs and DVDs, I noticed my LAN/ethernet seemed to be having intermittent disconnects & reconnects.
I determined soon after that it was happening when I ejected or unmounted a disc, even when using the eject button on the unit(s).
Anyone ever had this happen? Any clue why?
I have since rebooted, and the problem is gone, but I have a suspicion that using WINE earlier to do some optical-disc related things may have led to some 'wires' being crossed somewhere. Does that seem plausible?
I did have to hdparm -w (reset) both CD-drives after quitting WINE because the drives were not mounting properly in Linux; they both worked fine after that, but the LAN stuff started around the same time.

Searching LQ and Gooooooooooogle turned up nothing.
Hints or suggestions/ideas appreciated.

Sasha

Stuff involved:
MSI MS6580 Max V2.0 w/ Intel P4 & current BIOS
BENQ/Acer DVP1650P DVD-ROM
MSI MS8352M CDR/RW
Slack-11 2.6.20 w/KDE
Wine 9.3.2 (the new one)
 
Old 03-06-2007, 09:35 PM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
you weren't running wine as root were you ? if not, then this should not have happened. If you were, then maybe it is possible. Technically even for one session as non-root it may also be remotely possible.

Really, I have never heard of such a thing ... what does network have to do with ejecting a CD ?

Something like magic / more magic
 
Old 03-06-2007, 09:44 PM   #3
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Nope, I was running the wine stuff as me (user), not as root.
And no idea what network gear has to do with the CD drives.. I just *guess* that maybe wine allowed some memory and/or IDE bus stuff to be rearranged or remapped or whatever, and the changes didn't get totally undone upon exiting wine, resulting in confusion to the system.
Just speculation here..
It is wine after all, which is a 'little bit of Windows' (and beta to boot), and from experience it doesn't take much Windows to screw stuff up

SV
 
Old 03-06-2007, 09:49 PM   #4
Jeiku
Member
 
Registered: Jul 2005
Posts: 64

Rep: Reputation: 18
nice speculation hehe

Can you post some logs from around the time? Maybe try and recreate the problem and run wine in debug and post the info?
 
Old 03-06-2007, 09:54 PM   #5
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Hmmm.. Well, note that the weirdness began AFTER I was done using wine, and began using the CD drives under Linux control again. I dunno that running wine in debug would learn us anything, however I WILL check thru the logs for the time-period of the weirdness, and if I see anything remotely interesting I will post it!
 
Old 03-06-2007, 10:01 PM   #6
Jeiku
Member
 
Registered: Jul 2005
Posts: 64

Rep: Reputation: 18
Quote:
Originally Posted by GrapefruiTgirl
Hmmm.. Well, note that the weirdness began AFTER I was done using wine, and began using the CD drives under Linux control again. I dunno that running wine in debug would learn us anything, however I WILL check thru the logs for the time-period of the weirdness, and if I see anything remotely interesting I will post it!
Very strange.. would love to see some logs so good luck
 
Old 03-06-2007, 10:05 PM   #7
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
I've had a lot of strange things happen because wine screwed with things. I remember at one point it messed up xserver and made it display all sorts of strange colored lines. Since then (about 1 year ago), I have resolved never to use wine again unless absolutely necessary.
 
Old 03-06-2007, 10:30 PM   #8
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
UPDATE: I have a bunch of 'extra' logging set up around my system, so I have a record of literally everything going on. I just cruised through the stuff from the time frame when I was using wine till the time I reset the drives and then rebooted.
While I don't see anything **specifically** tying CD-drive operations to LAN operations, I DO see a LARGE whack of various IO, Sensekey, Buffer, error-this and error-that, all coming from the DVD drive, interspersed with door-open and door-closed messages.
Meanwhile, in between these large chunks of such errors, there are long scrawls of ethernet activity recorded, and then the whole process starts again: HDD (dvd) errors, followed by LAN activity.
For the time being, I will leave it at this: the wine left behind screwy IO stuff, and/or screwy IRQ settings, which caused general IO interference.
In a couple days, when ISO #2 of FreeBSD is done downloading, I will be repeating the exact same routine as I did today: Using Infra-Recorder under wine, burning the ISO, and quitting wine.
Before I start I will clear the logs out, and have a fresh record of all activity during the time span, and if the same weirdness recurs I will then post the logs.
Prolly it'll be about 2 days from now.
Stay tuned LOL
SV
 
Old 03-06-2007, 10:34 PM   #9
Jeiku
Member
 
Registered: Jul 2005
Posts: 64

Rep: Reputation: 18
urgh, doesn't sound good! Probably something kernel level and/or a bad motherboard :-/
 
Old 03-06-2007, 10:48 PM   #10
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Motherboard is good, of that I'm fairly certain. I don't think it's a hardware problem. I have found optical drive errors to be common since starting to use Linux. Plus, I have some discs which I sometimes can't mount because of their formt, so I have seen many such errors.
I mean, I was putting Windows CD's into the drives under Linux today too, so I am not suprised to see CD drive errors.
I'm not alarmed by that alone.
Overall, the system is stable like a rock (quite different from with Windows), and I haven't had any odd behaviour until I ran wine today. :P
We shall see anyhow I will post logs after the next 'test'
SV
PS- There are kernel messages in the logs too, I log the kernel separately, but there wasn't too much in there of importance.
 
  


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
Unmount when disconnect usb driver jargren Suse/Novell 2 08-17-2006 01:32 PM
Should I unmount usb disk before disconnect? jargren Linux - General 12 08-17-2006 12:14 PM
SSH on LAN - server disconnect geek745 Linux - Networking 13 02-28-2006 04:28 PM
External USB DVD combo drive keep ejecting by itself nnsg Linux - Hardware 0 06-24-2004 10:05 AM
Ejecting DVD Disk CBT Linux - Hardware 5 01-12-2003 11:46 PM


All times are GMT -5. The time now is 08:30 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