Re: if_bfe and > 1 GB of ram is now fixed (fwd)

Mikko Työläjärvi <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
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

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.