Posts: 903
plvera
Joined: 11 Oct 2008
#1
Hello:
This is a very odd problem. Antix 8.2 or 8.5 boot up fine and it finds my ethernet connection, however, the connection drops after about 30 sec and I cannot reconnect. Rebooting will bring it back up again.

I've apt-get purge wicd but that did not fix it.

I first noticed it with 8.2 last night, then installed 8.5 and I'm still getting it. The network seems to be fine since other computers (wireless) do not have this problem. I've tried to reset the connection manually with dhclient and no luck.

Any suggestions??

thanks
Pedro

EDIT: I connected my old laptop (runnig Antix core) to the router and that ethernet connection does not drop. So, router is not the problem. Odd.

FURTHER EDIT: Antix 7.5 live-cd has no problem with ethernet. Antix 8.5 live cd cannot connect. ceni sees the card and tries to configure it but gives up.
Posts: 516
oldhoghead
Site Admin
Joined: 01 Oct 2007
#2
Pedro,

Can you post inxi -F on the rig dropping the connection?
Laptop or Desktop?

cheers,
oldhoghead
Posts: 903
plvera
Joined: 11 Oct 2008
#3
OHH:

Can't run inxi in Antix 7.5. Guess it wasn't included back then?
Here's lspci
demo@mepis1:~$ lspci
00:00.0 Host bridge: Intel Corporation 82850 850 (Tehama) Chipset Host Bridge (MCH) (rev 04)
00:01.0 PCI bridge: Intel Corporation 82850 850 (Tehama) Chipset AGP Bridge (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 04)
00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 04)
00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 Controller (rev 04)
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 04)
00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus Controller (rev 04)
00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 04)
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AS [Radeon 9550]
01:00.1 Display controller: ATI Technologies Inc RV350 AS [Radeon 9550] (Secondary)
02:07.0 Ethernet controller: Davicom Semiconductor, Inc. 21x4x DEC-Tulip compatible 10/100 Ethernet (rev 31)
02:08.0 Modem: Broadcom Corporation BCM4212 v.90 56k modem (rev 02)
02:09.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 0a)
02:09.1 Input device controller: Creative Labs SB Live! Game Port (rev 0a)

I noticed only with Antix 7.5 live-cd that I'm getting some I/O errors during boot. So, it's possible the disk is going bad. Does not account for Antix 7.5 working with the ethernet card but not 8.5.

thanks
Posts: 516
oldhoghead
Site Admin
Joined: 01 Oct 2007
#4
Pedro,

Trying to wrap my head around this, are 8.2 and 8.5 installed? And they won't keep a connection? But with the livecd and 7.5 you can connect?
Have you done any upgrades? If so may have affected your nic.
That particular nic I'm familiar with, have it on a Dell desktop.
The only way I could get connected was to issue as root in terminal
of course replace the eth0 with whatever your interface is:

Code: Select all

modprobe -r tulip
modprobe -r dmfe
modprobe -i dmfe
ifdown eth0
ifup eth0
cheers,
oldhoghead
Posts: 903
plvera
Joined: 11 Oct 2008
#5
OHH:

Thanks for the suggestions. I'll try them when I get home. Right now, I'm at work in Windoze world.

In terms of the sequence of events:

1) Had 8.2 running:
-went to open CC and said that I had to run dpkg -a

2) After that noticed problem with connection
- rebooting kept giving me some errors I had not noticed before

3) Installed 8.5 (clean install) into a different hardrive from 8.2

4) In both 8.2 and 8.5 the ethernet connection stays up for maybe 30 secs
-ceni can't bring it back up
-rebooting does (but again only for < 1 min)

5) 7.5 live-cd works fine with ethernet, but 8.5 does not
-so it's not the card (I though the card may be bad)
-noticed I/O errors messages in some blocks (goes by fast) during 7.5 live cd
-maybe drive is going?

6) Router is fine since another computer using ethernet does not drop (8.5 core) and other computers using wireless are not having problems.

I'll try the commands you suggested later today and post what happens.

Thanks for the help.
Pedro
Posts: 516
oldhoghead
Site Admin
Joined: 01 Oct 2007
#6
Ok, thanks that clarifies it. If you can connect with 7.5 and not 8.5 then it's probably new kernel or nic driver conflict, causing the problem. I would doubt that hd is an issue. You can always hit fn-scrolllock (which works on my dell laptop) when your booting if the error messages are flying by too fast to read, that will halt boot process until you hit fn-scrolllock again, if I have some anomaly and I see that they are not in dmesg, or /var/log/bootlogd or any of the other logs this is a handy way to look at those processes & error messages.
Let me know if the modprobe works, if so then you will have to blacklist the conflicting drivers and include those commands so they are read on bootup.

cheers,
oldhoghead
Posts: 903
plvera
Joined: 11 Oct 2008
#7
Hi Ohh:

You're a genius!!

Those commands worked, at least so far. I'm in 8.5 and still connected.

Any ideas on how to figure out which drivers are conflicting?

thanks a lot!
Pedro

EDIT:
Got the same results with antix 8.2, so I should blacklist tulip and let dmfe run?
I guess blacklist tulip at /etc/modprobe.d/blacklist.conf?

thanks.
Posts: 516
oldhoghead
Site Admin
Joined: 01 Oct 2007
#8
Pedro,

You can run lsmod to see what drivers are loading, then blacklist the offending one,
in :
/etc/modprobe.d/blacklist.conf

then place your needed drivers in
/etc/modules

and reboot

cheers,
oldhoghead
Posts: 903
plvera
Joined: 11 Oct 2008
#9
Ohh:
Thanks for the information. However, I've blacklisted both tulip and dmfe in blacklist.conf and tulip still ends up loading (after doing reboot and lsmod).

any other places where one blacklists modules?
thanks
Pedro
Posts: 1,228
secipolla
Joined: 15 Jun 2008
#10
Hi folks, I was trying to remember that file, /etc/modules. Shouldn't turboStar put his sound drivers there too? post16390.html#p16390
Posts: 516
oldhoghead
Site Admin
Joined: 01 Oct 2007
#11
plvera,


As root open you fav editor and :

Blacklist the tulip driver in /etc/modprobe.d/blacklist.conf

blacklist tulip

save and exit, then

in /etc/modules add:

dmfe

save and exit, then reboot.


edit: secipolla, yes that is the place he should put the sound drivers

cheers,
oldhoghead
Posts: 903
plvera
Joined: 11 Oct 2008
#12
Ohh:

That was one the things I had tried before. I tried it again and tulip still manges to load, even after being blacklisted.

thanks
Pedro
Posts: 516
oldhoghead
Site Admin
Joined: 01 Oct 2007
#13
Pedro,

Dug this up from an old post at MepisLovers, might work, might not, but worth a try.

Create a file named net in /etc/modprobe.d

and in that file put

install dmfe /sbin/modprobe --ignore-install tulip

of course as root and then reboot and see what happens

cheers,
oldhoghead
Posts: 903
plvera
Joined: 11 Oct 2008
#14
Hi Ohh:
thanks for the suggestion. I tried it and still the same problem, also I'm getting a new message now everytime I modprobe:

# modprobe -r tulip
WARNING: All config files need .conf: /etc/modprobe.d/net, it will be ignored in a future release

is it time to just write a script and done with this?
thanks
Pedro
Posts: 516
oldhoghead
Site Admin
Joined: 01 Oct 2007
#15
Yes,

I guess so, just remove that net file, maybe cookdav or Davo at mepislovers could help with a script, I know nada about scripts

cheers,
oldhoghead