On Wed, Jan 21, 2015 at 12:21:46PM -0500, j...@johnmerriam.net wrote:
> >Synopsis:    bce(4) infinite loop of descriptor error
> >Category:    kernel
> >Environment:
>       System      : OpenBSD 5.7
>       Details     : OpenBSD 5.7-beta (GENERIC.MP) #0: Tue Jan 20 12:38:44 EST 
> 2015
>                        
> r...@test.johnmerriam.net:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 
>       Architecture: OpenBSD.amd64
>       Machine     : amd64
> >Description:
>       If I try to use the bce(4) on-board Broadcom NIC in OpenBSD 
>       I get bce0: descriptor error repeated on the console in an 
>       infinite loop. The machine is unusable once it gets stuck in 
>       the infinite loop and a power cycle is required. It looks to 
>       me like the descriptor error infinite loop is occurring in 
>       the bce_intr() function in sys/dev/pci/if_bce.c but I don't 
>       see how to diagnose/fix it further. I am currently using a 
>       rl(4) add-in NIC to make the machine usable. It is running 
>       -current amd64 from CVS sync'ed 1/20/2015.
> >How-To-Repeat:
>       ifconfig bce0 up
> >Fix:
>       Using a different add-in NIC makes the machine usable but 
>       being able to use the on-board NIC would be nice.
> 
> 
> dmesg:
> OpenBSD 5.7-beta (GENERIC.MP) #0: Tue Jan 20 12:38:44 EST 2015
>     r...@test.johnmerriam.net:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 3437608960 (3278MB)
> avail mem = 3342286848 (3187MB)

Try putting less than 1GB of memory in your machine and see if that
fixes it. IIRC the chip cannot do DMA access to memory above 1GB.

There is supposed to be a bounce buffer in bce to cope with
systems with more than 1GB but perhaps it is broken.

Reply via email to