No psm with if_ath on current

From: Kevin Oberman <oberman_at_es.net>
Date: Wed, 11 Oct 2006 14:19:41 -0700
I seem to hit lots of weird ones and this one is.

If I boot with if_ath loaded, my laptop does not find the mouse. If I
load if_ath after boot, everything seems to be fine.

I am running on a Lenovo T43 running current of 9/30. No APIC.

I compared boot-v output I found some big clues as to what is happening,
but I am far from sure if I am seeing a cause or a symptom.

First, the diff:
8,17c8,20
< Preloaded elf kernel "/boot/kernel/kernel" at 0xc0846000.
< Preloaded elf module "/boot/kernel/vesa.ko" at 0xc0846234.
< Preloaded elf module "/boot/kernel/snd_ich.ko" at 0xc08462e0.
< Preloaded elf module "/boot/kernel/sound.ko" at 0xc084638c.
< Preloaded elf module "/boot/kernel/acpi_video.ko" at 0xc0846438.
< Preloaded elf module "/boot/kernel/acpi.ko" at 0xc08464e8.
< Preloaded elf module "/boot/kernel/cpufreq.ko" at 0xc0846594.
< Preloaded elf module "/boot/kernel/acpi_ibm.ko" at 0xc0846640.
< Preloaded elf module "/boot/kernel/wlan_wep.ko" at 0xc08466f0.
< Calibrating clock(s) ... i8254 clock: 1193180 Hz
---
> Preloaded elf kernel "/boot/kernel/kernel" at 0xc088d000.
> Preloaded elf module "/boot/kernel/vesa.ko" at 0xc088d234.
> Preloaded elf module "/boot/kernel/snd_ich.ko" at 0xc088d2e0.
> Preloaded elf module "/boot/kernel/sound.ko" at 0xc088d38c.
> Preloaded elf module "/boot/kernel/acpi_video.ko" at 0xc088d438.
> Preloaded elf module "/boot/kernel/acpi.ko" at 0xc088d4e8.
> Preloaded elf module "/boot/kernel/cpufreq.ko" at 0xc088d594.
> Preloaded elf module "/boot/kernel/acpi_ibm.ko" at 0xc088d640.
> Preloaded elf module "/boot/kernel/wlan_wep.ko" at 0xc088d6f0.
> Preloaded elf module "/boot/kernel/if_ath.ko" at 0xc088d7a0.
> Preloaded elf module "/boot/kernel/ath_hal.ko" at 0xc088d84c.
> Preloaded elf module "/boot/kernel/ath_rate.ko" at 0xc088d8f8.
> Calibrating clock(s) ... i8254 clock: 1193175 Hz
47a51
> ath_rate: version 1.2 <SampleRate bit-rate selection algorithm>
49d52
< io: <I/O>
64a68,69
> io: <I/O>
> ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
124c129
< ACPI timer: 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/2 -> 10
---
> ACPI timer: 1/2 1/2 1/2 1/2 1/2 1/2 1/2 1/2 1/2 1/2 -> 10
470c475,491
< pci11: <network, ethernet> at device 2.0 (no driver attached)
---
> ath0: <Atheros 5212> mem 0xb4000000-0xb400ffff irq 11 at device 2.0 on pci11
> ath0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xb4000000
> ath0: [MPSAFE]
> ath0: bpf attached
> ath0: Ethernet address: 00:14:a4:60:f2:e3
> ath0: bpf attached
> ath0: bpf attached
> ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
> ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
> ath0: mac 5.9 phy 4.3 radio 3.6
> ath0: Use hw queue 1 for WME_AC_BE traffic
> ath0: Use hw queue 0 for WME_AC_BK traffic
> ath0: Use hw queue 2 for WME_AC_VI traffic
> ath0: Use hw queue 3 for WME_AC_VO traffic
> ath0: Use hw queue 8 for CAB traffic
> ath0: Use hw queue 9 for beacons
490,491c511,512
< pcm0: sndbuf_setmap 3e68f000, 4000; 0xe3cbb000 -> 3e68f000
< pcm0: sndbuf_setmap 3e68b000, 4000; 0xe3cbf000 -> 3e68b000
---
> pcm0: sndbuf_setmap 3e667000, 4000; 0xe3ce4000 -> 3e667000
> pcm0: sndbuf_setmap 3e65e000, 4000; 0xe3ce8000 -> 3e65e000
527,533c548
< psmcpnp0: <PS/2 mouse port> irq 12 on acpi0
< psm0: current command byte:0047
< psm0: <PS/2 Mouse> flags 0x2000 irq 12 on atkbdc0
< psm0: [GIANT-LOCKED]
< psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons
< psm0: config:00002000, flags:00000008, packet size:3
< psm0: syncmask:c0, syncbits:00
---
> acpi_ibm0: <IBM ThinkPad ACPI Extras> irq 12 on acpi0
549d563
< acpi_ibm0: <IBM ThinkPad ACPI Extras> on acpi0

The kernel is loading at a different address and so are all modules. I
have no idea why of if this indicates anything.

acpi_timer is 1/1 without if_ath and 1/2 with it. This is totally
meaningless to me and probably irrelevant. I suspect the pcm diff is
also irrelevant.

The final one is acpi_ibm0. When ath is loaded, it grabs IRQ12 which
would normally handle psm0. If ath is not present, it is already tied to
psm0 and acpi_ibm lists no IRQ at all. Even without an IRQ, it seems to
work fine.

Can anyone suggest what might be going on here?

I'd be happy to provide other data if you can tell me what would help.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman_at_es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751

Received on Wed Oct 11 2006 - 19:20:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:01 UTC