LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Mount / unmount / ejecting CD/DVD makes LAN disconnect & reconnect...! (https://www.linuxquestions.org/questions/slackware-14/mount-unmount-ejecting-cd-dvd-makes-lan-disconnect-and-reconnect-535202/)

GrapefruiTgirl 03-06-2007 06:10 PM

Mount / unmount / ejecting CD/DVD makes LAN disconnect & reconnect...!
 
:scratch:
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 :scratch:

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)

H_TeXMeX_H 03-06-2007 09:35 PM

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 :D

GrapefruiTgirl 03-06-2007 09:44 PM

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 :D

SV

Jeiku 03-06-2007 09:49 PM

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? :)

GrapefruiTgirl 03-06-2007 09:54 PM

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!

Jeiku 03-06-2007 10:01 PM

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:)

H_TeXMeX_H 03-06-2007 10:05 PM

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.

GrapefruiTgirl 03-06-2007 10:30 PM

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

Jeiku 03-06-2007 10:34 PM

urgh, doesn't sound good! Probably something kernel level and/or a bad motherboard :-/

GrapefruiTgirl 03-06-2007 10:48 PM

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.


All times are GMT -5. The time now is 08:38 PM.