[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [linux-team] Problème rézo
On 29-Aug-98 Emmanuel Gilmont wrote:
>> eth0: 3Com 3c905B Cyclone 100baseTx at 0x6100, ***INVALID CHECKSUM 002f***
>> 00:10:4b:45:71:2d, IRQ 11
***INVALID CHECKSUM 002f***, ca devrait fortement t'interpeller, surtout comme
c'est écrit là, ca a l'air menacant. Ce qui cause l'affichage de cela, c'est ce
moceau de code dans linux/drivers/net/3c59x.c:
------------------------------------------
for (i = 0; i < 0x18; i++)
checksum ^= eeprom[i];
checksum = (checksum ^ (checksum >> 8)) & 0xff;
if (checksum != 0x00) {
while (i < 0x21)
checksum ^= eeprom[i++];
checksum = (checksum ^ (checksum >> 8)) & 0xff;
}
if (checksum != 0x00)
printk(" ***INVALID CHECKSUM %4.4x*** ", checksum);
-----------------------------------------
En clair, on calcule un checksum sur l'EEprom de ta carte, et on vérifie qu'il
soit correcte. Puisque ce n'est pas le cas, tu es en droit d'attendre un
comportement déficient et/ou instable de ta carte.
Sinon, ca doit marcher. Chez moi, ca marche ainsi.
---
Member of the ACM. Look http://www.acm.org
||| | Emmanuel Tychon
O-O | nic-hdl: ET99-RIPE, nic-irc: kosinus
(_) |
oOO-----OOo | Don't be assimilated, use Linux!
| Linux | |
\-------/ | PGP key on http://pgp.ai.mit.edu
---------
This message was send by Majordomo 1.94.3. Please repport problems to
manu@rtfm.be. If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.