LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 03-05-2006, 01:30 PM   #31
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380

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;
}

Last edited by win32sux; 03-05-2006 at 05:38 PM.
 
Old 03-05-2006, 07:45 PM   #32
ftwilliam
LQ Newbie
 
Registered: Mar 2006
Distribution: Gentoo
Posts: 18

Original Poster
Rep: Reputation: 0
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.

Thanks again
 
Old 03-17-2006, 08:51 AM   #33
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
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:

http://www.kernel.org/git/?p=linux/k...d1feadc493d850
 
Old 03-20-2006, 06:43 PM   #34
ftwilliam
LQ Newbie
 
Registered: Mar 2006
Distribution: Gentoo
Posts: 18

Original Poster
Rep: Reputation: 0
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.
 
  


Reply



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
Slow Internet Connection when Connecting to Internet on Browsers lennysokol Linux - Networking 8 04-09-2011 04:29 PM
New Fedora Internet connection slow slow slow matrim Fedora 9 07-29-2005 01:39 PM
2 min. internet connection and login problems neoAThome Mandriva 12 01-20-2005 11:27 AM
what commands do I use to start and stop my internet connection? babyboss Slackware 2 10-17-2004 01:35 PM
Internet Conecction begins to slow down and thewn stop emilioestevezz Linux - Networking 2 04-07-2004 06:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:37 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration