if_bfe and > 1 GB of ram is now fixed (fwd)
Mikko Työläjärvi
mbsd at pacbell.net
Sun Apr 30 22:23:07 UTC 2006
On Sun, 30 Apr 2006, Mike Silbersack wrote:
>
> On Sun, 30 Apr 2006, Mikko Työläjärvi wrote:
>
>> Great! However, it does not quite work for me (on -current as of
>> yesterday, with version 1.36 of if_bfe.c). Busdma wants a lock
>> function:
>>
>> panic: driver error: busdma dflt_lock called
>>
>> Using busdma_lock_mutex() and &sc->bfe_mtx results in watchdog
>> timeouts, lots of LORs and no network traffic, so some other lock is
>> apparently needed.
>>
>> Any ideas?
>
> Hm. My bfe machine is running 6.x, so I tested under that only. Can you try
> setting hw.mem=1000M to see if that causes the panic to temporarily go away?
> I'm interested to see if the new code panics only when > 1GB of ram is
> present or if it panics all the time now. :)
Verfied that limiting RAM still works. I guess the code path that
needs the locking isn't being triggered, as it seems to deal with
bounce buffers.
Actually, even with 2G I can get an address via DHCP, do DNS lookups,
ping some hosts and even have a short telnet session without problems.
But starting a web browser or running cvsup instantly results in the
above panic.
/Mikko
More information about the freebsd-mobile
mailing list