Monday, October 24, 2005

AT-2916T on OpenBSD box

i never know if it's gonna be nightmare for me, first time i use it it seems ok ... but when i deeply use it ... the trouble was begin. This interface going "watch dog time out" in random time and unpredictable, i connect the "sk" interface to my 10/100 switch cause i didn't have gigabit switch.

It's confuse me for several month, and finaly i make dirty editing to the kernel source, I eliminate the watchdog function :P it's kind 'sick' but the interface was work fine for several week, i use those 2 "sk" as bridge limiter with hfsc disciplin.

Last login: Mon Oct 24 22:45:46 2005 from 192.168.25.25
OpenBSD 3.7 (btx) #2: Thu Oct 13 13:43:16 WIT 2005

@btx ~ #
@btx ~ # /usr/sys/dev/pci/if_sk.c

line : 1793

void
sk_watchdog(struct ifnet *ifp)
{
struct sk_if_softc *sc_if = ifp->if_softc;

printf("%s: watchdog timeout .. sorry seems to be the hardest word\n", sc_if->sk_dev.dv_xname);
// ifp->if_flags &= ~IFF_RUNNING;
// sk_init(sc_if);
}

No comments: