Re: no link for athn(4) on Macbook2,1

2013-04-22 Thread Zé Loff
On Sun, Apr 14, 2013 at 04:33:55PM -0500, Carson Chittom wrote:
 I have an old Macbook2,1 (dmesg below) that I've slapped OpenBSD on for
 purposes of just having something to check my email from.  Its wireless
 card is picked up during the install as athn(4), the firmware was
 installed on first boot, and /etc/hostname.athn0 is configured with my
 local wireless network's details.  But when I boot the laptop, all I get
 is athn0..no link Though msk(4) of course works fine, so I used a
 wired connection to update to -stable, to see if that would fix things;
 it didn't.
 
 I searched the archives for every combination of macbook, athn, and
 wireless I could think of, but I didn't see anything directly related
 (mostly I came up with stuff about weirdness with the intel driver under
 X, which I also see on this Macbook but don't care about since a console
 is sufficient to run Emacs and check my email).
 
 Am I doing something wrong?  Should I upgrade to a snapshot?  Any advice
 welcome--I'd like for this laptop not to be tethered to a cable.
 

Do you get any device timeouts? I just got a athn card on ebay whose MAC
address says it came from Apple, and that is all I get on an old(-ish)
Asus L3S and on a Soekris net4801.

Incidentally, the card turns out to be a bit of a current hog. The
net4801 doesn't even complete POST with a 9.9VA power source (which it
does without the card), but booted fine with 12VA.

-- 



Re: no link for athn(4) on Macbook2,1

2013-04-22 Thread Zé Loff
On Mon, Apr 22, 2013 at 06:37:32PM +0100, Zé Loff wrote:
 On Sun, Apr 14, 2013 at 04:33:55PM -0500, Carson Chittom wrote:
  I have an old Macbook2,1 (dmesg below) that I've slapped OpenBSD on for
  purposes of just having something to check my email from.  Its wireless
  card is picked up during the install as athn(4), the firmware was
  installed on first boot, and /etc/hostname.athn0 is configured with my
  local wireless network's details.  But when I boot the laptop, all I get
  is athn0..no link Though msk(4) of course works fine, so I used a
  wired connection to update to -stable, to see if that would fix things;
  it didn't.
  
  I searched the archives for every combination of macbook, athn, and
  wireless I could think of, but I didn't see anything directly related
  (mostly I came up with stuff about weirdness with the intel driver under
  X, which I also see on this Macbook but don't care about since a console
  is sufficient to run Emacs and check my email).
  
  Am I doing something wrong?  Should I upgrade to a snapshot?  Any advice
  welcome--I'd like for this laptop not to be tethered to a cable.
  
 
 Do you get any device timeouts? I just got a athn card on ebay whose MAC
 address says it came from Apple, and that is all I get on an old(-ish)
 Asus L3S and on a Soekris net4801.
 
 Incidentally, the card turns out to be a bit of a current hog. The
 net4801 doesn't even complete POST with a 9.9VA power source (which it
 does without the card), but booted fine with 12VA.

Strike that. Sunny weather brought a nice active link (on the
Soekris). Go figure.



no link for athn(4) on Macbook2,1

2013-04-14 Thread Carson Chittom
I have an old Macbook2,1 (dmesg below) that I've slapped OpenBSD on for
purposes of just having something to check my email from.  Its wireless
card is picked up during the install as athn(4), the firmware was
installed on first boot, and /etc/hostname.athn0 is configured with my
local wireless network's details.  But when I boot the laptop, all I get
is athn0..no link Though msk(4) of course works fine, so I used a
wired connection to update to -stable, to see if that would fix things;
it didn't.

I searched the archives for every combination of macbook, athn, and
wireless I could think of, but I didn't see anything directly related
(mostly I came up with stuff about weirdness with the intel driver under
X, which I also see on this Macbook but don't care about since a console
is sufficient to run Emacs and check my email).

Am I doing something wrong?  Should I upgrade to a snapshot?  Any advice
welcome--I'd like for this laptop not to be tethered to a cable.

Here's the dmesg:

OpenBSD 5.2-stable (GENERIC.MP) #0: Sat Apr 13 13:16:10 CDT 2013
car...@peregrine.my.domain:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2113896448 (2015MB)
avail mem = 2035314688 (1941MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe (37 entries)
bios0: vendor Apple Inc. version MB21.88Z.00A5.B07.0706270922 date 06/27/07
bios0: Apple Inc. MacBook2,1
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET APIC MCFG ASF! SBST ECDT SSDT SSDT SSDT
acpi0: wakeup devices ADP1(S3) LID0(S3) PXS1(S4) PXS2(S4) USB1(S3) USB2(S3) 
USB3(S3) USB4(S3) USB7(S3) EC__(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz, 1995.37 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF
cpu0: 4MB 64b/line 16-way L2 cache
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz, 1995.00 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF
cpu1: 4MB 64b/line 16-way L2 cache
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpimcfg0 at acpi0 addr 0xf000, bus 0-255
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (RP01)
acpiprt2 at acpi0: bus 2 (RP02)
acpiprt3 at acpi0: bus 3 (PCIB)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 15253732082930497 type 15253732284385612 oem 
15253732284387396
acpivideo0 at acpi0: GFX0
cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2000, 1833, 1667, 1500, 1333, 1000 
MHz
memory map conflict 0x7ef0/0x10
memory map conflict 0x7f00/0x100
memory map conflict 0xf00f8000/0x1000
memory map conflict 0xfed1c000/0x4000
memory map conflict 0xfffb/0x3
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03
vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0x8000, size 0x1000
inteldrm0 at vga1: apic 1 int 16
drm0 at inteldrm0
Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured
vendor Intel, unknown product 0x27a3 (class DASP subclass Time and Frequency, 
rev 0x03) at pci0 dev 7 function 0 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: msi
azalia0: codecs: Sigmatel STAC9220/1
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: msi
pci1 at ppb0 bus 1
mskc0 at pci1 dev 0 function 0 Marvell Yukon 88E8053 rev 0x22, Yukon-2 EC 
rev. A3 (0x2): apic 1 int 16
msk0 at mskc0 port A: address 00:17:f2:dd:07:47
eephy0 at msk0 phy 0: 88E Gigabit PHY, rev. 2
ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: msi
pci2 at ppb1 bus 2
athn0 at pci2 dev 0 function 0 Atheros AR5418 rev 0x01: apic 1 int 17
athn0: MAC AR5418 rev 2, RF AR5133 (2T3R), ROM rev 4, address 00:1b:63:04:40:c2
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 1 int 21
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 1 int 19
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 1 int 18
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 1 int 16
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 1 int 21
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb2 at