On 05/02/11 14:23, Edd Barrett wrote:
On Mon, May 02, 2011 at 11:02:41AM +0100, Stuart Henderson wrote:
On 2011/05/02 01:16, Edd Barrett wrote:
On Sun, May 01, 2011 at 08:10:56PM +0100, Stuart Henderson wrote:
On 2011/05/01 18:35, Edd Barrett wrote:
I have acquired a netboot (packard bell dot s), which I think uses this NIC. Is
there an updated diff?
Yes I just took the 2 minutes it took to apply it and fix
the minor conflicts and linewrapping issue with the diff.
Untested beyond "it builds".
Stu's diff seems to work,
kevlo's diff really..

although the first time i booted my bsd.rd I was
unable to install due to:

alc0: watchdog timeout (missed link)
I had a report of a system with alc(4) which only works if the
cable is connected at boot. Is that what happens for you too?
If so, try this, similar to freebsd r214542.
This change was already included in kevlo's diff. It does seem like it could
still be related to the link state. I managed to get another error by:

  * booting with no cable plugged in.
  * once the system is up, connect a cable
  * run dhclient alc0

  Then as DHREQUESTs were sent some kernel messages:

alc0: watchdog timeout
alc0: could not disable RxQ/TxQ (0x00000008)!
alc0: could not disable RxQ/TxQ MAC(0x00000008)!

Might give some clues?

After those messages, the interface does infact recieve a DHCP address and the
interface does work. So I would not let this hold back the commit.


Some hints :
http://marc.info/?l=openbsd-tech&m=129651174131694&w=2
http://dargor.servebeer.com/~dargor/openbsd/alc/ (very old diffs)

I have an alc device too, and would like to fix it. Starting from kevlo's diff I updated it some month ago to compile, and compared FreeBSD driver to add some more things, finding some bugs in their driver (reported and fixed in their tree). I now have a working alc, with and without cable at boot or after boot but I have to update my tree (lagging some months behind) and probably fix some conflicts before posting an up to date diff. It would help me if someone could answer my silly questions about differences between FreeBSD and OpenBSD internals, by the way. Slides at http://www.openbsd.org/papers/ were very useful but do not cover this :)

Reply via email to