Re: iwn firmware load fails in Sony VPCCA25FX

2012-02-08 Thread Mihai Popescu
>Whoops. Spoke too soon. Failing again.
>
>nwid ***
>wpakey 
>inet 192.168.0.235 255.255.255.0 NONE

>Yet commenting the last line and adding dhcp works fine.

>--
>Ed Ahlsen-Girard
>Ft. Walton Beach FL

Check your wireless side of the router or the access point and note
the range for DHCP addresses. Some offer addresses in x.x.x.100 -
x.x.x.150 range, but there are a few with x.x.x.200 - x.x.x.254. You
can take a fixed IP outside of those ranges then, eventually different
from other fixed already allocated addresses to avoid overlapping and
double addressing.
I used this in hostname.xxx0 (note the sequence), but I'm not sure if
order matters:

inet x.x.x.x x.x.x.x NONE nwid *** wpakey 



Re: iwn firmware load fails in Sony VPCCA25FX

2012-02-06 Thread eagirard
On Sat, 4 Feb 2012 21:17:44 +0200, Ed Ahlsen-Girard 
 wrote:
>Mihai Popescu  wrote:
>
>> How did you install the firmware?
>> 
>> I've run once in troubles with an iwi0 interface because I messed up
>> the .tgz firmware file unpack. I never used a laptop with wireless and
>> OpenBSD so I was not aware that I need to download some firmware
>> files.
>> I don't remember what exactly I did wrong, the files were there but I
>> got the same error with load. I saw the run of /usr/sbin/fw_update at
>> boot time.
>> I've deleted the firmware files that I've installed from /etc/firmware
>> and run this script by hand. Then it was fine for iwi to load.
>> 
>
>Just ran that script and after a reboot the fixed address works fine.
>Thanks!
>
>-- 
>
>Edward Ahlsen-Girard
>Ft Walton Beach, FL
>
>

Whoops. Spoke too soon. Failing again.

nwid ***
wpakey 
inet 192.168.0.235 255.255.255.0 NONE

Yet commenting the last line and adding dhcp works fine.

--
Ed Ahlsen-Girard
Ft. Walton Beach FL



Re: iwn firmware load fails in Sony VPCCA25FX

2012-02-05 Thread Ed Ahlsen-Girard
On Sat, 4 Feb 2012 21:17:44 +0200
Mihai Popescu  wrote:

> How did you install the firmware?
> 
> I've run once in troubles with an iwi0 interface because I messed up
> the .tgz firmware file unpack. I never used a laptop with wireless and
> OpenBSD so I was not aware that I need to download some firmware
> files.
> I don't remember what exactly I did wrong, the files were there but I
> got the same error with load. I saw the run of /usr/sbin/fw_update at
> boot time.
> I've deleted the firmware files that I've installed from /etc/firmware
> and run this script by hand. Then it was fine for iwi to load.
> 

Just ran that script and after a reboot the fixed address works fine.
Thanks!

-- 

Edward Ahlsen-Girard
Ft Walton Beach, FL



Re: iwn firmware load fails in Sony VPCCA25FX

2012-02-05 Thread Ed Ahlsen-Girard
On Sat, 4 Feb 2012 21:17:44 +0200
Mihai Popescu  wrote:

> How did you install the firmware?
> 
> I've run once in troubles with an iwi0 interface because I messed up
> the .tgz firmware file unpack. I never used a laptop with wireless and
> OpenBSD so I was not aware that I need to download some firmware
> files.
> I don't remember what exactly I did wrong, the files were there but I
> got the same error with load. I saw the run of /usr/sbin/fw_update at
> boot time.
> I've deleted the firmware files that I've installed from /etc/firmware
> and run this script by hand. Then it was fine for iwi to load.
> 

I installed with the package tools.

The good news: it's working now with DHCP.

The bad news: I didn't make notes, so I don't remember exactly what
MADE it work. I spent a bit of time running ifconfig iwn0 scan (and
getting frustrated) both with and without debug. What made it work may
have been specifying dhcp, because the other bad news is that assigning
a fixed IPv4 address still does not work: ifconfig will report the
address as bound to the interface, but the router shows the connection
as being at 0.0.0.0. Works OK to get to things on my own subnet, but
not so well otherwise.

Failing hostname.iwn0 (sanitized) below signature. This hostname.iwn0
was generated using ifconfig commands.

-- 

Edward Ahlsen-Girard
Ft Walton Beach, FL

nwid ***
wpakey 
inet 192.168.0.235 255.255.255.0 NONE



Re: iwn firmware load fails in Sony VPCCA25FX

2012-02-04 Thread Mihai Popescu
How did you install the firmware?

I've run once in troubles with an iwi0 interface because I messed up
the .tgz firmware file unpack. I never used a laptop with wireless and
OpenBSD so I was not aware that I need to download some firmware
files.
I don't remember what exactly I did wrong, the files were there but I
got the same error with load. I saw the run of /usr/sbin/fw_update at
boot time.
I've deleted the firmware files that I've installed from /etc/firmware
and run this script by hand. Then it was fine for iwi to load.



Re: iwn firmware load fails in Sony VPCCA25FX

2012-02-04 Thread Tomas Bodzar
On Sat, Feb 4, 2012 at 5:34 PM, Ed Ahlsen-Girard  wrote:
> A Sony Vaio (VPCCA25FX) cannot configure its Intel WiFi Link 1000,
> complaining thusly:
>
> iwn0: could not read firmware
> iwn0: error, 2, could not read firmware iwn-1000

from man iwn

iwn%d: could not load firmware  An attempt to load the firmware into the
 adapter failed.  The driver will reset the hardware.

from man ifconfig

 debug   Enable driver-dependent debugging code; usually, this
 turns on extra console error logging.

so try it if it will bring more details

>
> I have installed iwn-firmware-5.6. There is a /etc/firmware/iwn-1000
> file present, 335056 bytes, dated Dec 31, permissions 400, owned
> root:bin.
>
> I changed permissions to 600 to match the other firmware files, but
> ifconfig status still says no network. ifconfig scan finds the networks
> that I know are nearby.
>
> Dmesg below the signature. What have I missed?
>
> --
>
> Edward Ahlsen-Girard
> Ft Walton Beach, FL
>
>
> OpenBSD 5.1-beta (GENERIC.MP) #196: Thu Feb B 2 02:20:47 MST 2012
> B  B dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 8496082944 (8102MB)
> avail mem = 8255762432 (7873MB)
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb3a0 (17 entries)
> bios0: vendor American Megatrends Inc. version "R1100V2" date 04/15/2011
> bios0: Sony Corporation VPCCA25FX
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP APIC HPET SSDT SLIC MCFG SSDT SSDT ECDT SSDT
> acpi0: wakeup devices B0D4(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3)\
> USB5(S3) USB6(S3) USB7(S3) EHC1(S3) EHC2(S3) PXSX(S3) PXSX(S3) PXSX(S3)
> RP03(S3) PXSX(S3) RP04(S3) PWRB(S4) acpitimer0 at acpi0: 3579545 Hz, 24
> bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0:
> apid 0 (boot processor) cpu0: Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz,
> 2295.15 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,PCLMUL,\
> MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,\
> POPCNT,XSAVE,AVX,NXE,LONG,LAHF
> cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 99MHz
> cpu1 at mainbus0: apid 2 (application processor)
> cpu1: Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz, 2294.79 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,PCLMUL,\
> MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,\
> POPCNT,XSAVE,AVX,NXE,LONG,LAHF
> cpu1: 256KB 64b/line 8-way L2 cache cpu2 at mainbus0: apid 1
> (application processor) cpu2: Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz,
> 2294.79 MHz cpu2:
> 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,PCLMUL,\
> MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,\
> POPCNT,XSAVE,AVX,NXE,LONG,LAHF
> cpu2: 256KB 64b/line 8-way L2 cache cpu3 at mainbus0: apid 3
> (application processor) cpu3: Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz,
> 2294.79 MHz cpu3:
> 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,PCLMUL,\
> MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,\
> POPCNT,XSAVE,AVX,NXE,LONG,LAHF
> cpu3: 256KB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 2 pa
> 0xfec0, version 20, 24 pins acpihpet0 at acpi0: 14318179 Hz
> acpimcfg0 at acpi0 addr 0xf800, bus 0-63
> acpiec0 at acpi0
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (PEG0)
> acpiprt2 at acpi0: bus 1 (RP01)
> acpiprt3 at acpi0: bus 2 (RP02)
> acpiprt4 at acpi0: bus 3 (RP03)
> acpiprt5 at acpi0: bus 4 (RP04)
> acpicpu0 at acpi0: C1, PSS
> acpicpu1 at acpi0: C1, PSS
> acpicpu2 at acpi0: C1, PSS
> acpicpu3 at acpi0: C1, PSS
> acpitz0 at acpi0: critical temperature is 96 degC
> acpitz1 at acpi0: critical temperature is 96 degC
> acpibat0 at acpi0: BAT0 type LiOn oem "Sony Corp."
> acpiac0 at acpi0: AC unit online
> acpibtn0 at acpi0: LID0
> acpibtn1 at acpi0: PWRB
> acpivideo0 at acpi0: GFX0
> acpivout0 at acpivideo0: DD02
> cpu0: Enhanced SpeedStep 2294 MHz: speeds: 2301, 2300, 1800, 1600,
> 1400, 1200, 1000, 800 MHz pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
> vga1 at pci0 dev 2 function 0 "Intel GT2 Video" rev 0x09
> 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 0xe000, size 0x1000
> inteldrm0 at vga1: apic 2 int 16
> drm0 at inteldrm0
> "Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
> ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x04: apic 2
> int 16 usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> azalia0 at pci0 dev 27 function 0 "I

iwn firmware load fails in Sony VPCCA25FX

2012-02-04 Thread Ed Ahlsen-Girard
A Sony Vaio (VPCCA25FX) cannot configure its Intel WiFi Link 1000,
complaining thusly:

iwn0: could not read firmware
iwn0: error, 2, could not read firmware iwn-1000

I have installed iwn-firmware-5.6. There is a /etc/firmware/iwn-1000
file present, 335056 bytes, dated Dec 31, permissions 400, owned
root:bin.

I changed permissions to 600 to match the other firmware files, but
ifconfig status still says no network. ifconfig scan finds the networks
that I know are nearby.

Dmesg below the signature. What have I missed?

-- 

Edward Ahlsen-Girard
Ft Walton Beach, FL


OpenBSD 5.1-beta (GENERIC.MP) #196: Thu Feb  2 02:20:47 MST 2012
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8496082944 (8102MB)
avail mem = 8255762432 (7873MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb3a0 (17 entries)
bios0: vendor American Megatrends Inc. version "R1100V2" date 04/15/2011
bios0: Sony Corporation VPCCA25FX
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC HPET SSDT SLIC MCFG SSDT SSDT ECDT SSDT
acpi0: wakeup devices B0D4(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3)\
USB5(S3) USB6(S3) USB7(S3) EHC1(S3) EHC2(S3) PXSX(S3) PXSX(S3) PXSX(S3)
RP03(S3) PXSX(S3) RP04(S3) PWRB(S4) acpitimer0 at acpi0: 3579545 Hz, 24
bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0:
apid 0 (boot processor) cpu0: Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz,
2295.15 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,PCLMUL,\
MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,\
POPCNT,XSAVE,AVX,NXE,LONG,LAHF
cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 99MHz
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz, 2294.79 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,PCLMUL,\
MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,\
POPCNT,XSAVE,AVX,NXE,LONG,LAHF
cpu1: 256KB 64b/line 8-way L2 cache cpu2 at mainbus0: apid 1
(application processor) cpu2: Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz,
2294.79 MHz cpu2:
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,PCLMUL,\
MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,\
POPCNT,XSAVE,AVX,NXE,LONG,LAHF
cpu2: 256KB 64b/line 8-way L2 cache cpu3 at mainbus0: apid 3
(application processor) cpu3: Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz,
2294.79 MHz cpu3:
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,PCLMUL,\
MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,\
POPCNT,XSAVE,AVX,NXE,LONG,LAHF
cpu3: 256KB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 2 pa
0xfec0, version 20, 24 pins acpihpet0 at acpi0: 14318179 Hz
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG0)
acpiprt2 at acpi0: bus 1 (RP01)
acpiprt3 at acpi0: bus 2 (RP02)
acpiprt4 at acpi0: bus 3 (RP03)
acpiprt5 at acpi0: bus 4 (RP04)
acpicpu0 at acpi0: C1, PSS
acpicpu1 at acpi0: C1, PSS
acpicpu2 at acpi0: C1, PSS
acpicpu3 at acpi0: C1, PSS
acpitz0 at acpi0: critical temperature is 96 degC
acpitz1 at acpi0: critical temperature is 96 degC
acpibat0 at acpi0: BAT0 type LiOn oem "Sony Corp."
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD02
cpu0: Enhanced SpeedStep 2294 MHz: speeds: 2301, 2300, 1800, 1600,
1400, 1200, 1000, 800 MHz pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
vga1 at pci0 dev 2 function 0 "Intel GT2 Video" rev 0x09
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 0xe000, size 0x1000
inteldrm0 at vga1: apic 2 int 16
drm0 at inteldrm0
"Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x04: apic 2
int 16 usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 6 Series HD Audio" rev 0x04:
msi azalia0: codecs: Realtek ALC269, Intel/0x2805, using Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 6 Series PCIE" rev 0xb4: msi
pci1 at ppb0 bus 1
iwn0 at pci1 dev 0 function 0 "Intel WiFi Link 1000" rev 0x00: msi,\
MIMO 1T2R, BGS, address FOO
ppb1 at pci0 dev 28 function 1 "Intel 6
Series PCIE" rev 0xb4: msi pci2 at ppb1 bus 2
sdhc0 at pci2 dev 0 function 0 "Ricoh 5U823 SD/MMC" rev 0x04: apic 2
int 17 sdmmc0 at sdhc0
vendor "Ricoh", unknown product 0xe232 (class system subclass
miscellaneous, rev 0x04) at pci2 dev 0 functi