Date: Sun, 8 May 2011 19:33:45 +1000 From: richo <richo@psych0tik.net> To: Adrian Chadd <adrian@freebsd.org> Cc: freebsd-wireless@freebsd.org Subject: Re: Ath issues on -CURRENT > Mar 31 Message-ID: <20110508093344.GA46619@solitaire.psych0tik.net> In-Reply-To: <BANLkTikcYyOyXLCi_yiLTvQ%2BF%2B7wCthW8A@mail.gmail.com> References: <20110508082212.GA72727@solitaire.psych0tik.net> <BANLkTikcYyOyXLCi_yiLTvQ%2BF%2B7wCthW8A@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] >On 8 May 2011 16:22, richo <richo@psych0tik.net> wrote: >> Hi, >> >> I use an atheros based pccard nic on my laptop with 9-CURRENT. >> >> The last time I was able to build a working kernel was 20 march (the current >> kernel I'm using is=20 >> FreeBSD solitaire.psych0tik.net 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r219786:= >> ?Sun Mar 20 15:26:26 EST 2011 ? ? richo@solitaire.psych0tik.net:/usr/obj/us= >> r/src/sys/GENERIC ?i386 >> >> a few weeks later UPDATING included this message: >> 20110331: >> ? ? ath(4) has been split into bus- and device- modules. if_ath contains >> ? the HAL, the TX rate control and the network device code. if_ath_pci >> contains the PCI bus glue. For Atheros MIPS embedded systems, if_ath_a >> ? ? contains the AHB glue. Users need to load both if_ath_pci and if_ath >> ? in order to use ath on everything else. >> >> TO REPEAT: if_ath_ahb is not needed for normal users. Normal users onl >> ? ? need to load if_ath and if_ath_pci for ath(4) operation. >> >> I'm still using default config, but any kernels I build panic if I boot with >> the NIC plugged in. They boot fine with it unplugged, but if I plug in the >> card >> it immediately panics. >> >> Booting with verbose logging on, I see this (I typed this out by hand after >> writing it down, so it's possible that it's slightly incorrect. I did double >> check it, though): >> >> pcib2: allocated memory range (0xf6010000-0xf601ffff) for rid 10 of >> pci0:3:0:0 >> unkown: Lazy allovation of 0x10000 bytes rid 0x10 type 3 at 0xf6010000 >> cbb0 Opening memory: >> cbb0 Normal: (0xg6010000-0xf601ffff) >> cbb0: Opening memory: >> panic: duplcate map 10 >> >> I have confirmed with pciconf -l that pci0:3:0:0 is my ath nic. >> >> I have the backtrace, but I only wrote down the function names. I can write >> down the whole lot if it will help though. >> On 08/05/11 17:04 +0800, Adrian Chadd wrote: >Is it somehow loading in two copies of the driver? > >Can you please build a kernel without if_ath and if_ath_pci, then load >those as modules? > > >Adrian > Certainly That's a really good idea, I'm wishing I'd thought of it. I will try now. Should I be building ath_hal as a module as well? richo -- richo || Today's excuse: Feature not yet implemented [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iQEcBAEBAgAGBQJNxmN3AAoJEIKiWz6J5yQV1yQH/jVTyy6LKoKe2asS8AUtC3jD xpO9TIt1EpmzIzZ11hW3ddvjZ6mj+qWXnDc5p+5l/Dhm4v2fFevXpfgwaDbdFd4+ OO8NSI7LcHdJm2Bs/rK51h9b9dlzcrtjMi5oVt2EZmOWQLo5uJ+GORIGOt+mfXUn zAmjnvVLNcGHqooGGgTwjYZmIbflEHb6mEGJnEaERyyIMt/X1vgWgO53PATNd2C3 M+PACYUA+hyYkDOwqeYnS4B/LcFrfnsnAIj+mIzP3OkT+FrV+s5z31p/E35GsDu0 I6peUYOJgaVhtj7ZL6d7zXSqr0X9nUn1+IiJGI4feYRr7esy+JhW0ol3GX6jvno= =IzSG -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110508093344.GA46619>
