ral(4) cardbus crash

Joe Talbott josepht at cstone.net
Wed Jul 21 14:30:45 PDT 2010


On Wed, Jul 21, 2010 at 09:06:03PM +0200, Max Herrg?rd wrote:
> Max Herrg?rd wrote:
> 
> However, this happens when I try to use it:
> 
> bender# ifconfig ral0 up
> Jul 21 22:47:29 bender kernel: in6_ifattach_linklocal: failed to configure a link-local address on ral0 (errno=22)
> 
> bender# ifconfig wlan0 create wlandev ral0
> wlan0: MAC address: 00:08:a1:a4:8d:97
> 
> ...and then this crash comes when doing 'ifconfig wlan0 up':
> 
> Reading symbols from /usr/home/crash/kern.5...done.
> 
> Unread portion of the kernel message buffer:
> ral0: need multicast update callback
> panic: only BUS_DMA_NOWAIT is supported
> 
> Trace beginning at frame 0xc72ddb9c
> panic(ffffffff) at panic+0x8e
> panic(c062171c,c72ddc32,45e0d8,0,c723b0c0) at panic+0x8e
> bus_dmamap_load_mbuf_segment(c14b3840,0,c9708d00,c72ddc20,1,c72ddc48,0) at bus_dmamap_load_mbuf_segment+0x6d

In sys/dev/netif/ral/rt2661.c change the 0 at the end of the calls to
bus_dmamap_load_mbuf_segment to BUS_DMA_NOWAIT.

Thanks,
Joe





More information about the Bugs mailing list