Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Mar 2004 17:02:15 -0800 (PST)
From:      Julian Elischer <julian@elischer.org>
To:        Bill Paul <wpaul@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/compat/ndis kern_ndis.c ndis_var.h       ntoskrnl_var.h subr_ndis.c subr_ntoskrnl.c src/sys/dev/if_ndis         if_ndis.c
Message-ID:  <Pine.BSF.4.21.0403201659410.11551-100000@InterJet.elischer.org>
In-Reply-To: <200403202339.i2KNdhQI069350@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On Sat, 20 Mar 2004, Bill Paul wrote:

> wpaul       2004/03/20 15:39:43 PST
> 
>   
>   - In if_ndis.c, most drivers don't accept NDIS_80211_AUTHMODE_AUTO,
>     but NDIS_80211_AUTHMODE_SHARED may not be right in some cases,
>     so for now always use NDIS_80211_AUTHMODE_OPEN.
>   
>   NOTE: There is still one problem with the Intel 2200BG driver: it
>   happens that the kernel stack in Windows is larger than the kernel
>   stack in FreeBSD. The 2200BG driver sometimes eats up more than 2
>   pages of stack space, which can lead to a double fault panic.
>   For the moment, I got things to work by adding the following to
>   my kernel config file:
>   
>   options         KSTACK_PAGES=8
>   
>   I'm pretty sure 8 is too big; I just picked this value out of a hat
>   as a test, and it happened to work, so I left it. 4 pages might be
>   enough. Unfortunately, I don't think you can dynamically give a
>   thread a larger stack, so I'm not sure how to handle this short of
>   putting a note in the man page about it and dealing with the flood
>   of mail from people who never read man pages.

Actually kernel threads can dynamically change to a different kstack
and allocate themselves a bigger one.. I forget where it is used but I
remember that htere is codde in exit to clean up teh extra kernel stack
if it is being used..

Is this running as  a kernel thread or on a user's kernel thread stack?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0403201659410.11551-100000>