Internet connection work for 5 min get slow and stop
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i grepped the source and "wait_for_cmd_done" shows-up in the eepro100 driver, not the e100... so i guess you're using the eepro100 driver now - i'm not sure if the above ucode stuff would apply to that driver (it might, though)...
from /usr/src/linux-2.6.15.5/drivers/net/eepro100.c:
Code:
/* How to wait for the command unit to accept a command.
Typically this takes 0 ticks. */
static inline unsigned char wait_for_cmd_done(struct net_device *dev,
struct speedo_private *sp)
{
int wait = 1000;
void __iomem *cmd_ioaddr = sp->regs + SCBCmd;
unsigned char r;
do {
udelay(1);
r = ioread8(cmd_ioaddr);
} while(r && --wait >= 0);
if (wait < 0)
printk(KERN_ALERT "%s: wait_for_cmd_done timeout!\n", dev->name)
;
return r;
}
hi, the ucode parameter was meant to be used with the linux 2.4 e100 kernel modules and I use a linux 2.6 kernel. That was what was written on the website. I tried to do modprobe e100 ucode=0, it didn't work I was prompt that ucode was not a valid parameter. I tried to use insmod, and it was saying that there was no ucode symbol.
I then opened the code myself (e100.c) and inside the code, there was instruction on how to get the same effect that ucode=0 by changing the value of certain constant inside the code, but I was still left with the same problem.
Well this is pretty tough one to fix.
It came to my mind that it could be a hardware problem, but nope, because it was working fine under windows.
Right now I am running with the vanilla linux kernel, but it does not fix anything. I guess there must be another process not really compatible with my hardware, or must I have a different type of ethernet card in my thinkpad t23 not fully supported by the linux driver.
It is very hard to say.
I had a thinkpad t21, I should have switched the ethernet card before selling it on ebay, maybe it would have worked with the thinkpad t21 ethernet card, since it uses a different serie of ethernet card.
Thank you so much for your suggestion, please there are still welcomed.
I will be trying to keep on figuring out what is wrong.
how'd it go man?? still now luck?? i was just browsing through the 2.6.16 git tree and saw that there's been a very recent patch included for some e100 issues... i don't know if this will do the trick for you cuz i haven't looked into it but perhaps it might, so i thought i'd give you a heads-up... here's the patch:
Hi Guys,
Sorry for not responding lately. I was still desperatly having problem with my ethernet.
I never found a way to fix. Nothing had worked for it. I only had to replace my ethernet card, after having to reinstall gentoo completely in my laptop. Imagine. Gentoo itself, kde, and all the the software that I had and backups. It was so time consuming for nothing.
The only think that I can say is that, my ethernet card is not supported by linux. I bought another one ebay, using this time the mini PCI and everything is working very good.
Finally a working connection !!!
I am still learning to write drivers for linux, hopefully one day I will be able to fix drivers myself and write better drivers for linux.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.