From owner-freebsd-current@FreeBSD.ORG Thu Sep 24 06:09:02 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89AEB106566B for ; Thu, 24 Sep 2009 06:09:02 +0000 (UTC) (envelope-from xi@borderworlds.dk) Received: from kazon.borderworlds.dk (kazon.borderworlds.dk [213.239.213.48]) by mx1.freebsd.org (Postfix) with ESMTP id 4D6488FC13 for ; Thu, 24 Sep 2009 06:09:02 +0000 (UTC) Received: from talaxian.borderworlds.dk (localhost [127.0.0.1]) by kazon.borderworlds.dk (Postfix) with ESMTP id 0136117089; Thu, 24 Sep 2009 08:09:00 +0200 (CEST) Message-ID: <4ABB0CFC.4050105@borderworlds.dk> Date: Thu, 24 Sep 2009 08:09:00 +0200 From: Christian Laursen Organization: The Border Worlds User-Agent: Thunderbird 2.0.0.23 (X11/20090822) MIME-Version: 1.0 To: "Paul B. Mahol" References: <4AB913B3.1050709@borderworlds.dk> <3a142e750909230102tfee2bact6c165ee97da0c7eb@mail.gmail.com> <3a142e750909231500o6d875b1dj3b6cba12483a84b3@mail.gmail.com> In-Reply-To: <3a142e750909231500o6d875b1dj3b6cba12483a84b3@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: Regression with ndis and rt2860 on 8.0-RC1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2009 06:09:02 -0000 Paul B. Mahol wrote: > On 9/23/09, Paul B. Mahol wrote: >> On 9/22/09, Christian Laursen wrote: >>> Hi, >>> >>> Some days ago I upgraded my Asus Eee 1000H from 7.2-RELEASE to 8.0-BETA4 >>> and then to 8.0-RC1 as of this morning. >>> >>> Since the Ralink Wireless NIC is not supported with a native driver I >>> have been using ndis for a long time on 7.x without any issues. >>> >>> After upgrading to 8.0 I regenerated the module from the sys and inf >>> files. >> What version of kernel files was used? > > I will reapeat this again. > Is module regenerated using 8.0 kernel source? Yes, the module is generated from the same sources under /usr/src that I used for builiding the world and kernel. > Could you also post output of following commands from gdb(1) prompt: > [I prefer textdump(4) instead of pictures] I did try to get the machine to do a dump, but in the few cases where it actually started dumping it froze before it completed. > cd /boot/your_kernel && gdb > > and now type: > > (gdb) file kernel > (gdb) file if_ndis.ko > press y > (gdb) l *ieee80211_new_state+0xb > (gdb) l *ndis_ticktask+0x184 (gdb) l *ieee80211_new_state+0xb 0xc073ae6b is in ieee80211_new_state (/usr/src/sys/net80211/ieee80211_proto.c:1881). 1876 1877 int 1878 ieee80211_new_state(struct ieee80211vap *vap, 1879 enum ieee80211_state nstate, int arg) 1880 { 1881 struct ieee80211com *ic = vap->iv_ic; 1882 int rc; 1883 1884 IEEE80211_LOCK(ic); 1885 rc = ieee80211_new_state_locked(vap, nstate, arg); (gdb) l *ndis_ticktask+0x184 0x85a4 is in ndis_ticktask (/usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:1748). 1743 NDIS_UNLOCK(sc); 1744 if (sc->ndis_80211) { 1745 ndis_getstate_80211(sc); 1746 ieee80211_new_state(vap, IEEE80211_S_RUN, -1); 1747 } 1748 NDIS_LOCK(sc); 1749 if_link_state_change(sc->ifp, LINK_STATE_UP); 1750 } 1751 1752 if (sc->ndis_link == 1 && -- Christian Laursen