LinuxQuestions.org
Help answer threads with 0 replies.
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, 02:30 PM   #31
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377

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 06:38 PM.
 
Old 03-05-2006, 08: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, 09:51 AM   #33
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
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, 07: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


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

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

All times are GMT -5. The time now is 02:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration