Regression with ndis and rt2860 on 8.0-RC1
Christian Laursen
xi at borderworlds.dk
Thu Sep 24 06:09:02 UTC 2009
Paul B. Mahol wrote:
> On 9/23/09, Paul B. Mahol <onemda at gmail.com> wrote:
>> On 9/22/09, Christian Laursen <xi at borderworlds.dk> 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
More information about the freebsd-current
mailing list