Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87142 - EEPROM MAC address is invalid - kernel 2.6.11
Summary: EEPROM MAC address is invalid - kernel 2.6.11
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Drake (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-03-29 10:13 UTC by VeXocide
Modified: 2005-05-09 10:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The dmesg (dmesg,9.34 KB, text/plain)
2005-04-01 23:35 UTC, VeXocide
Details

Note You need to log in before you can comment on or make changes to this bug.
Description VeXocide 2005-03-29 10:13:59 UTC
*** EEPROM MAC address is invalid.
3c59x : vortex_probe1 fails. Returns -22 

that's what i get with some boots, and the nic just doesn't work

Reproducible: Sometimes
Steps to Reproduce:
1. use kernel 2.6.11-r3 (with 2005.0 livecd)
2. boot
3. wait and see if it works or nor

it's about every other boot that the problem occurs
Actual Results:  
*** EEPROM MAC address is invalid.
3c59x : vortex_probe1 fails. Returns -22 

and nic doesn't work

Expected Results:  
Nic just working as it should
Comment 1 VeXocide 2005-03-31 06:23:59 UTC
It's not only the 2.9.11 kernel, the 2.6.9(-r2 i think) which came with the 2004.3 livecd which did not have a problem before, has it now too. I think it might be because of the udev (used devfs before), but i'm not sure.

I've also reboot bout 10 times, and it does happen every other boot. btw, i'm not the only one with this problem so it's not the card that's broken.
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2005-03-31 08:41:36 UTC
Is this an onboard network adapter or a PCI card? Have you ever got it running with any kernel?
Comment 3 VeXocide 2005-03-31 10:17:24 UTC
It is a pci card. I have had it running with a 2004.3 install (the pc is not connected to internet, so never updated much). It did work with the 2.6.9 (gentoo-dev-sources then) kernel that came the livecd. Never had any problems with it.
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2005-03-31 11:12:13 UTC
Can you please attach the full dmesg output?
Comment 5 VeXocide 2005-04-01 23:35:46 UTC
Created attachment 55078 [details]
The dmesg

The dmesg you asked for, srry it's a little slow...
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2005-04-02 16:50:53 UTC
Please try reverting this patch:

http://linux.bkbits.net:8080/linux-2.6/gnupatch@4217e4e8FEk8U4JJ470dzP7JxlayOQ

with:

    cd /usr/src/linux
    patch -p1 -R -i /path/to/above/patch

Rebuild kernel, copy to boot partition as usual, and let us know how you get on.
Comment 7 VeXocide 2005-04-03 00:56:58 UTC
Right, I'll give it a go and let you know.
Comment 8 VeXocide 2005-04-03 06:17:37 UTC
I did an emerge -C gentoo-sources, rm -rf /usr/src/linux-2.6.11-bla, emerge gentoo-sources, to make sure nothing was messed up. Applied the patch as instructed, copied over the .config from my boot partition and make && make modules_install. Copied the stuff to the right places. Rebooted bout 4 times and it worked every time. Looks like this fixed it, at least for me anyhow. Thanks, VeXocide.
Comment 9 Daniel Drake (RETIRED) gentoo-dev 2005-04-03 06:34:42 UTC
Reopening as this isn't the "correct" fix (I don't think) and we need to find the real one :)
Comment 10 VeXocide 2005-04-03 10:32:36 UTC
OK, but it is a step in the right way :), though I'm still wondering why it was every other boot...
Comment 11 Daniel Drake (RETIRED) gentoo-dev 2005-04-13 09:17:35 UTC
Any updates on this? We recieved a patch via email but you have not yet responded.
Comment 12 VeXocide 2005-04-13 09:39:21 UTC
Oh, coz your patch got it working, i didn't try the new patch, if you would like me to do so anyways, please let me know.
Comment 13 Daniel Drake (RETIRED) gentoo-dev 2005-04-13 09:58:11 UTC
I won't apply that patch into the tree because it will break other devices. Please revert that one and try the patch sent by Daniel Ritz
Comment 14 VeXocide 2005-04-13 10:03:24 UTC
How can i revert it ?

Just use
cd /usr/src/linux
patch -p1 -R -i /path/to/above/patch
without the -R ?

btw, you can contact me at habraken@yahoo.com, to stop a shitload of useless messages going around.
Comment 15 Daniel Drake (RETIRED) gentoo-dev 2005-04-13 15:39:50 UTC
Yes.

And please keep things on this bug unless they are in response to the other mails lying around. Makes it easier for future reference and I won't forget about it.
Comment 16 Daniel Drake (RETIRED) gentoo-dev 2005-04-30 05:56:45 UTC
Bump. Still haven't recieved a response to the mail and patch sent by Daniel Ritz.
Comment 17 Daniel Drake (RETIRED) gentoo-dev 2005-05-04 15:46:36 UTC
Someone else helped him track down the problem. Please test this patch against 2.6.11 and let me know if it fixes it:

http://lkml.org/lkml/diff/2005/4/17/66/2
Comment 18 VeXocide 2005-05-05 04:18:44 UTC
Sorry bout it, i just had the new pc running neatly and wanted to test the thing, but then b0rked my ext3 filesystem and now i have to start from scratch, but as i will be recompiling my kernel anyways, i'll patch it and let you know
Comment 19 VeXocide 2005-05-05 08:18:50 UTC
oh, just one little thing, how do i apply the patch ?
Comment 20 VeXocide 2005-05-06 02:34:32 UTC
I used:
# cd /usr/src/linux
# patch -p1 -i /path/to/the/patch

compiled the kernel and it WORKS :)
did a warm and a cold reboot and no problems at all !
Comment 21 Daniel Drake (RETIRED) gentoo-dev 2005-05-09 10:08:44 UTC
Included in gentoo-sources-2.6.11-r8