Search Linux Wireless

Re: Setting up an AP @ 5 GHz 802.11a - hostapd refuses [Could not select hw_mode and channel. (-1)]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 10, 2012 at 10:15 PM, Andreas Hartmann
<andihartmann@xxxxxxxxxxxxxxx> wrote:
>
> Alfonso Fiore schrieb:
> > On Fri, Feb 10, 2012 at 7:54 AM, Andreas Hartmann
> [...]
> > # find / | grep ath5k.ko
> > /lib/modules/3.0.0-voyage/kernel/drivers/net/wireless/ath/ath5k/ath5k.ko
> > /lib/modules/3.0.0/updates/drivers/net/wireless/ath/ath5k/ath5k.ko
> > /root/compat-wireless-3.3-rc1-2/drivers/net/wireless/ath/ath5k/ath5k.ko
> > /root/compat-wireless-3.3-rc1-2/drivers/net/wireless/ath/ath5k/.ath5k.ko.cmd
> >
> > I tried depmod -a and also a simple reboot (which I always do after
> > make install) but the "updates" module is never loaded.
> >
> > Any idea?
>
> Sorry for being late. I worked on my machine and wasn't able to read any
> mails.
>
>
> I do have a config file for depmod in /etc/depmod.d called
> 00-system.conf, which has the following entries:

Hi Andreas,

I do not have a /etc/depmod.d folder. I imagine it is something about
my embedded distribution (voyage 0.8.0).

I asked for help there. I will post back is they have any suggestion.

I imagine there is a reason why this feature is not part of the distribution...

Still I'm happy to test.

# dpkg -l | grep module-init
ii  module-init-tools                  3.12-1
tools for managing Linux kernel modules

I created the folder and then /etc/depmod.d/00-system.conf same like yours.

then I run "depmod -a" but lsmod shows the ath5k module is not loaded.

If I overwrite the original .ko files I get this error:
ath5k: version magic '3.0.0 SMP preempt mod_unload 486 ' should be
'3.0.0-voyage SMP preempt mod_unload 486 '

if you have other ideas, I'm happy to try them!

thank you,
alfonso

>
> --------------------------------------------------------------------
> #
> # /etc/depmod.conf - configuration file for the depmod(8) command,
> # for its format see depmod.conf(5).
> #
> # Please don't edit this file, place your settings into the /etc/depmod.d
> # directory.
>
>
> # search order:
> # 1 updates/ (KMPs)
> # 2 extra/ (KMPs or manually compiled modules)
> # 3 weak-updates/ (KMPs built for older kernels)
> # 4 everything else
> search updates extra weak-updates built-in
>
> # do not generate modules.*map files
> make_map_files no
> ----------------------------------------------------------------------
>
> Version of my inittools is: module-init-tools-3.12-6.1.x86_64. I don't
> have a depmod.conf file.
>
> After creating / changing this file, issue depmod -a again!
>
>
>
> Hope that helps!
>
> Regards,
> Andreas
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux