Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jan 2005 10:59:56 -0500
From:      James Snow <snow@teardrop.org>
To:        Volker Kindermann <ml@ps102.de>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: ThinkPad X40 (2371-H9U) - Atheros attach fails?
Message-ID:  <20050116155956.GA37160@teardrop.org>
In-Reply-To: <41EA3BE5.3090406@ps102.de>
References:  <20050116085836.GA34477@teardrop.org> <41EA3BE5.3090406@ps102.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jan 16, 2005 at 11:03:17AM +0100, Volker Kindermann wrote:
> >
> >ath0: <Atheros 5212> mem 0xd0200000-0xd020ffff irq 21 at device 2.0 on pci2
> >ath0: mac 5.9 phy 4.3 5ghz radio 3.6
> >ath0: unable to collect channel list from hal
> 
> according to the man page this error should not happen. Did you load the 
> wlan and ath_hal devices as well?

The wlan module appears to already be present. Immediately after
booting:

x40# kldload wlan
kldload: can't load wlan: File exists
x40# kldstat
Id Refs Address    Size     Name
1    5 0xc0400000 5cdad8   kernel
2    1 0xc09ce000 5844     snd_ich.ko
3    2 0xc09d4000 1d4fc    sound.ko
4   14 0xc09f2000 537f0    acpi.ko

I believe this means it's compiled into the kernel. 

The ath_hal module is loaded automatically when if_ath is loaded. But
even if I load ath_hal first and then if_ath, I see the same problem:

x40# kldload ath_hal
x40# kldload if_ath
x40# kldstat
Id Refs Address    Size     Name
 1    8 0xc0400000 5cdad8   kernel
 2    1 0xc09ce000 5844     snd_ich.ko
 3    2 0xc09d4000 1d4fc    sound.ko
 4   14 0xc09f2000 537f0    acpi.ko
 5    2 0xc1fcf000 25000    ath_hal.ko
 6    1 0xc2015000 a000     if_ath.ko

And in /var/log/messages:

ath0: <Atheros 5212> mem 0xd0200000-0xd020ffff irq 21 at device 2.0 on pci2
ath0: mac 5.9 phy 4.3 5ghz radio 3.6
ath0: unable to collect channel list from hal
device_attach: ath0 attach returned 22

I have also tried booting with ACPI disabled but still see the same
problem.


-Snow



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050116155956.GA37160>