ath(4) at boot time

Francis Gudin fgudin at nerim.net
Wed Jul 18 13:12:56 PDT 2007


Hi,

On 2007-07-18, Sepherosa Ziehau <sepherosa at gmail.com> wrote:
> mmm, I think the modules are not correctly loaded.  What's your
> kldstat output when you logged in the box but before the second
> 'kldload if_ath'?

Indeed, ath(4) modules aren't there:

> kldstat 
Id Refs Address    Size     Name
 1    6 0xc0100000 41318c   kernel
 5    1 0xc0525000 27eac    wlan.ko
 6    1 0xc0587000 5bb34    acpi.ko
 7    1 0xc98c0000 7000     linprocfs.ko
 8    1 0xc9b2f000 17000    linux.ko

But loader(8) seems to take care of them:

OK lsmod -v
 0x100000: /kernel (elf kernel, 0x41318c)
  modules: crypto.1 sound.1 snd_t4dwave.1 usb.1 pci.1 agp.1 pccard.1
procfs.1 cd9660.1 sbp.1 fwe.1 firewire.1 exca.1 cardbus.1
      0x0002, 0x34
      0x0005, 0x4
      0x0004, 0x4
      0x0003, 0x4
 0x514000: /modules/if_ath.ko (elf module, 0x10a68)
  modules: if_ath.1 
      0x0002, 0x34
      0xc001, 0x11
      0xc001, 0x15
      0xc001, 0x14
      0x0005, 0x4
      0x0004, 0x4
      0x0003, 0x4
 0x525000: /modules/wlan.ko (elf module, 0x27eac)
  modules: wlan.1 
      0x0002, 0x34
      0xc001, 0x13
      0x0005, 0x4
      0x0004, 0x4
      0x0003, 0x4
 0x54d000: /modules/ath_rate.ko (elf module, 0x45f4)
  modules: ath_rate.1 
      0x0002, 0x34
      0xc001, 0x11
      0xc001, 0x14
      0x0005, 0x4
      0x0004, 0x4
0x0003, 0x4
 0x552000: /modules/ath_hal.ko (elf module, 0x342d0)
  modules: ath_hal.1 
      0x0002, 0x34
      0x0005, 0x4
      0x0004, 0x4
      0x0003, 0x4

I saw something I didn't notice before, while cleaning up the script(1)
from 'boot -v':
(uploaded onto http://fgudin.nerim.net/files/boot_capture)

Preloaded elf kernel "/kernel" at 0xc05e4000.
Preloaded elf module "/modules/if_ath.ko" at 0xc05e421c.
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
link_elf: symbol ieee80211_iterate_nodes undefined
link_elf_load_file: cannot load 'ath_rate' from filesystem this early
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Preloaded elf module "/modules/wlan.ko" at 0xc05e42c4.
Preloaded elf module "/modules/acpi.ko" at 0xc05e44c0.

Let me point that it isn't a critical issue to me, just a minor
annoyance. I understand there are more important ongoing work due to the
scheduled release and I wouldn't be hurted if this "bug" waits a bit.

Thanks for your support, anyway, Sephe.

Best regards,
--
Francis





More information about the Users mailing list