iwi(4) firmware v3.0 does not work in -current(24/8/2006)

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

iwi(4) firmware v3.0 does not work in -current(24/8/2006)

Sideris Michael-2
I know it is -current and probably not everything is meant to work
smoothly and I am also aware that this damn firmware is not supported by
OpenBSD devs. Here are the facts though. I am running the latest
snapshot and I have installed v3.0 of the required proprietary firmware.
When I do ifconfig -M iwi0 I get this:

iwi0: timeout waiting for firmware initialization to complete
iwi0: could not load boot firmware
iwi0: timeout waiting for firmware initialization to complete
iwi0: could not load boot firmware

Keep in mind that v2.3 works well under OpenBSD -stable. So, if you are
planning to join -current any time soon I can verify that your wireless
card is not going to work.

Reply | Threaded
Open this post in threaded view
|

Re: iwi(4) firmware v3.0 does not work in -current(24/8/2006)

Brad Smith-14
On Sun, Aug 27, 2006 at 06:43:54PM +0300, Sideris Michael wrote:

> I know it is -current and probably not everything is meant to work
> smoothly and I am also aware that this damn firmware is not supported by
> OpenBSD devs. Here are the facts though. I am running the latest
> snapshot and I have installed v3.0 of the required proprietary firmware.
> When I do ifconfig -M iwi0 I get this:
>
> iwi0: timeout waiting for firmware initialization to complete
> iwi0: could not load boot firmware
> iwi0: timeout waiting for firmware initialization to complete
> iwi0: could not load boot firmware
>
> Keep in mind that v2.3 works well under OpenBSD -stable. So, if you are
> planning to join -current any time soon I can verify that your wireless
> card is not going to work.

No idea what is going on with your system, but the iwi(4) driver in
-current definitely DOES work with the 3.0 firmware. You should have
at least posted this with a dmesg.

Reply | Threaded
Open this post in threaded view
|

Re: iwi(4) firmware v3.0 does not work in -current(24/8/2006)

Sideris Michael-2
In reply to this post by Sideris Michael-2
On Sun, Aug 27, 2006 at 06:56:45PM +0200, Damien Bergamini wrote:

> If you have the ability to build a -current kernel, could you please
> try to revert src/sys/arch/i386/pci/pci_bus_fixup.c to rev 1.8 ?
> This seems to be an interrupt routing problem.
> Do you use custom pcibios flags?
>
> Thanks,
> Damien
>
> |I know it is -current and probably not everything is meant to work
> | smoothly and I am also aware that this damn firmware is not supported by
> | OpenBSD devs. Here are the facts though. I am running the latest
> | snapshot and I have installed v3.0 of the required proprietary firmware.
> | When I do ifconfig -M iwi0 I get this:
> |
> | iwi0: timeout waiting for firmware initialization to complete
> | iwi0: could not load boot firmware
> | iwi0: timeout waiting for firmware initialization to complete
> | iwi0: could not load boot firmware
> |
> | Keep in mind that v2.3 works well under OpenBSD -stable. So, if you are
> | planning to join -current any time soon I can verify that your wireless
> | card is not going to work.

I don't use any custom flags for the record. And yes it doesn't work for
me on my Sony Vaio VGN-FS215S. Maybe it works for others but for me it
doesn't. I will fetch -current though and I will try to revert to the
older version you refer to. Last but not least, my dmesg:

OpenBSD 4.0-beta (GENERIC) #1088: Thu Aug 24 15:46:30 MDT 2006
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1.86GHz ("GenuineIntel" 686-class) 1.87 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2
cpu0: Enhanced SpeedStep 1867 MHz (1308 mV): speeds: 1867, 1600, 1333, 1067, 800 MHz
real mem  = 535261184 (522716K)
avail mem = 480325632 (469068K)
using 4256 buffers containing 26865664 bytes (26236K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(92) BIOS, date 03/11/05, BIOS32 rev. 0 @ 0xfd6b0, SMBIOS rev. 2.34 @ 0xdc010 (17 entries)
bios0: Sony Corporation VGN-FS215S
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xfd6b0/0x950
pcibios0: PCI BIOS has 16 Interrupt Routing table entries
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801FBM LPC" rev 0x00)
pcibios0: PCI bus #7 is the last bus
bios0: ROM list: 0xc0000/0xee00! 0xdc000/0x4000! 0xe0000/0x4000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82915GM/PM/GMS Host" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82915PM/GM PCIE" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "NVIDIA GeForce Go 6200" rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
azalia0 at pci0 dev 27 function 0 "Intel 82801FB HD Audio" rev 0x03: irq 11
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: Realtek ALC260 (rev. 3.0), HDA version 1.0
azalia0: codec: 0x04x/0x14f1 (rev. 0.0), HDA version 0.9
azalia0: codec[1]: No support for modem function groups
azalia0: codec[1]: No audio function groups
audio0 at azalia0
uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x03: irq 5
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x03: irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x03: irq 3
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x03: irq 11
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x03: irq 5
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb1 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xd3
pci2 at ppb1 bus 6
cbb0 at pci2 dev 3 function 0 "TI PCI7420 CardBus" rev 0x00pci_intr_map: no mapping for pin A
: couldn't map interrupt
"TI PCI7x20 FireWire" rev 0x00 at pci2 dev 3 function 2 not configured
vendor "TI", unknown product 0xac8f (class mass storage subclass miscellaneous, rev 0x00) at pci2 dev 3 function 3 not configured
iwi0 at pci2 dev 4 function 0 "Intel PRO/Wireless 2200BG" rev 0x05: irq 4, address 00:12:f0:42:31:02
fxp0 at pci2 dev 8 function 0 "Intel 82801FBM LAN" rev 0x03, i82562: irq 7, address 00:01:4a:5c:6a:f2
inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801FBM LPC" rev 0x03: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801FB IDE" rev 0x03: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <TOSHIBA MK1031GAS>
wd0: 16-sector PIO, LBA48, 95396MB, 195371568 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <SONY, DVD RW DW-D56A, PFS2> SCSI0 5/cdrom removable
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x03: irq 10
iic0 at ichiic0
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
biomask ef6d netmask effd ttymask ffff
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
umass0 at uhub4 port 5 configuration 1 interface 0
umass0: Apple iPod, rev 2.00/0.02, addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets
sd0 at scsibus1 targ 1 lun 0: <Apple, iPod, 1.62> SCSI0 0/direct removable
sd0: 1953MB, 1953 cyl, 64 head, 32 sec, 512 bytes/sec, 3999744 sec total
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
iwi0: timeout waiting for firmware initialization to complete
iwi0: could not load boot firmware
iwi0: timeout waiting for firmware initialization to complete
iwi0: could not load boot firmware

Reply | Threaded
Open this post in threaded view
|

Re: iwi(4) firmware v3.0 does not work in -current(24/8/2006)

Sideris Michael-2
Compiling a kernel with src/sys/arch/i386/pci/pci_bus_fixup.c v1.8 did
not work. I still get the same error. Any other ideas/suggestions?

Reply | Threaded
Open this post in threaded view
|

Re: iwi(4) firmware v3.0 does not work in -current(24/8/2006)

Sideris Michael-2
On Mon, Aug 28, 2006 at 06:34:18PM +0200, Damien Bergamini wrote:
> Could you try to revert all the src/sys/dev/pci/if_iwi* files to the
> OPENBSD_3_9_BASE CVS tag?
> If it works, it is a problem in iwi(4).  If it doesn't work, there's
> a problem with something else in the system.
>
> Thanks,
> Damien

The kernel fails to compile reverting to OPENBSD_3_9_BASE. Here is the
output:

/usr/src/sys/dev/pci/if_iwi.c: In function `iwi_frame_intr':
/usr/src/sys/dev/pci/if_iwi.c:880: error: too few arguments to function `bpf_mtap'
/usr/src/sys/dev/pci/if_iwi.c: In function `iwi_tx_start':
/usr/src/sys/dev/pci/if_iwi.c:1148: error: too few arguments to function `bpf_mtap'
/usr/src/sys/dev/pci/if_iwi.c: In function `iwi_start':
/usr/src/sys/dev/pci/if_iwi.c:1279: error: too few arguments to function `bpf_mtap'
/usr/src/sys/dev/pci/if_iwi.c:1288: error: too few arguments to function `bpf_mtap'
*** Error code 1