Subject: Re: wi:kernel: supervisor trap integer divide fault, in gettick()
To: Hubert Feyrer <hubert@feyrer.de>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: current-users
Date: 04/24/2006 12:07:35
On Mon, 24 Apr 2006 17:57:57 +0200 (CEST), Hubert Feyrer
<hubert@feyrer.de> wrote:

> 
> 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:
> 
That's interesting -- I see no division operations in
arch/i386/isa/clock.c:gettick()....

		--Steven M. Bellovin, http://www.cs.columbia.edu/~smb