Subject: wi:kernel: supervisor trap integer divide fault, in gettick()
To: None <current-users@NetBSD.org>
From: Hubert Feyrer <hubert@feyrer.de>
List: current-users
Date: 04/24/2006 17:57:57
Booting a GENERIC_LAPTOP kernel from today on my Toshiba Portege 3440ct, I 
get the following kernel trap repeatably:

 	...
 	cbb1 at pci0 dev 11 function 1: Tohiba ToPIC95B PCI-Cardbus Bridge (rev. 0x07)
 	...
 	wi0 at pcmcia1 function 0: <TOSHIBA, Wireless LAN Card, Version 01.01, >
===>	wi:kernel: supervisor trap integer divide fault, code=0
===>	Stopped in pid 6.1 (cardslot1) at netbsd:gettick+0x1b: movzbl %eax,%eax
 	db>
 	db> bt
 	gettick
 	i8254_delay
 	wi_reset
 	wi_attach
 	wi_pcmcia_attach
 	config_attach_log
 	pcmcia_rescan
 	pcmcia_card_attach
 	cardslot_event_thread
 	db>

wi0 is one of the 'old' Lucent Orinocco Gold cards, just relabeled by
Toshiba. On NetBSD 2.1, this works fine:

 	cbb1 at pci0 dev 11 function 1: Toshiba ToPIC95B CardBus-PCI Bridge (rev. 0x07)
 	cbb1: interrupting at irq 11
 	cardslot1 at cbb1 slot 1 flags 0
 	cardbus1 at cardslot1: bus 2 device 0
 	pcmcia1 at cardslot1
 	wi0 at pcmcia1 function 0: TOSHIBA, Wireless LAN Card, Version 01.01
 	wi0: 802.11 address 00:02:2d:65:19:9e
 	wi0: using Lucent Technologies, WaveLAN/IEEE
 	wi0: Lucent Firmware: Station (6.10.1)
 	wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps

Is there anything special to know about wi(4)?

Thanks!


  - Hubert