Altera_Forum
Honored Contributor
19 years agosmc91x driver in uClinux-dist
Hi,
i am currently trying the uClinux-dist-20060803 on custom board (with the SMC91C11) with ethernet based applications. It works very well so far. After some time i noticed the following messages on the console: <div class='quotetop'>QUOTE </div> --- Quote Start --- eth0: fubar (rxlen 0 status 6576 eth0: fubar (rxlen 0 status 0 eth0: fubar (rxlen 0 status 2641 eth0: fubar (rxlen 0 status 0[/b] --- Quote End --- it comes from the smc91x driver: You can find it in the smc_recv function: Please look for. if (unlikely(packet_len < 6 || status & RS_ERRORS)) {
if (status & RS_TOOLONG && packet_len <= (1514 + 4 + 6)) {
/* accept VLAN packets */
status &= ~RS_TOOLONG;
goto back;
}
if (packet_len < 6) {
/* bloody hardware */
printk(KERN_ERR "%s: fubar (rxlen %u status %x\n",
dev->name, packet_len, status);
status |= RS_TOOSHORT;
} it's something wrong with packet length of incoming messages. did anyone else see this messages? However those messages didn't break my system. So uClinux still seems to run well; no reboots or strange behaviour of the system. Thank you. Helmchen