Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Oct 2007 09:14:30 -0700 (PDT)
From:      Abdullah Ibn Hamad Al-Marri <wearabnet@yahoo.ca>
To:        Luis Neves <luis.neves@co.sapo.pt>, freebsd-mobile@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: 7.0 BETA1 and Thinkpad T61p : Wireless misadventure
Message-ID:  <461307.47075.qm@web33709.mail.mud.yahoo.com>

next in thread | raw e-mail | index | archive | help
----- Original Message ----=0A=0A> From: Luis Neves <luis.neves@co.sapo.pt>=
=0A=0A> To: freebsd-mobile@freebsd.org; freebsd-stable@freebsd.org=0A=0A> S=
ent: Friday, October 26, 2007 5:24:40 PM=0A=0A> Subject: 7.0 BETA1 and Thin=
kpad T61p : Wireless misadventure=0A=0A> =0A=0A> =0A=0A> Hi all.=0A=0A> So =
far I've failed to have a working wireless connection with=0A=0A> this=0A=
=0A>   combination.=0A=0A> =0A=0A> There are no FreeBSD drivers for the inc=
luded intel 4965AG card.=0A=0A> I've tried to use the ndiswrapper framework=
 without success.=0A=0A> The=0A=0A>   ndisgen wizard =0A=0A> runs without i=
ssues, but kldloading the driver freezes and reboots=0A=0A> the=0A=0A>   ma=
chine.=0A=0A> =0A=0A> I've also tried two cardbus devices.=0A=0A> =0A=0A> T=
he Cisco Aironet - AIR CB21AG (ath driver):=0A=0A> =0A=0A> Oct 26 13:30:27 =
t61p kernel: cardbus0: Expecting link target, got 0x0=0A=0A> Oct 26 13:30:2=
7 t61p kernel: ath0: =0A=0A> mem=0A=0A>   0xbfeb0000-0xbfebffff irq =0A=0A>=
 16 at device 0.0 on cardbus0=0A=0A> Oct 26 13:30:27 t61p kernel: ath0: [IT=
HREAD]=0A=0A> Oct 26 13:30:27 t61p kernel: ath0: unable to attach hardware;=
=0A=0A> HAL=0A=0A>   status 13=0A=0A> Oct 26 13:30:27 t61p kernel: device_a=
ttach: ath0 attach returned 6=0A=0A> =0A=0A> and the Conceptronic C54RC (ra=
l driver):=0A=0A> =0A=0A> Oct 26 13:40:59 t61p kernel: cardbus0: Expecting =
link target, got 0x0=0A=0A> Oct 26 13:40:59 t61p kernel: ral0:  mem =0A=0A>=
 0xbfeb0000-0xbfeb1fff irq 16 at device 0.0 on cardbus0=0A=0A> Oct 26 13:40=
:59 t61p kernel: ral0: MAC/BBP RT2560 (rev 0x00), RF RT2522=0A=0A> Oct 26 1=
3:40:59 t61p kernel: ral0: [ITHREAD]=0A=0A> Oct 26 13:41:40 t61p kernel: ra=
l0: could not read from BBP=0A=0A> Oct 26 13:41:40 t61p kernel: ral0: could=
 not write to BBP=0A=0A> Oct 26 13:41:40 t61p kernel: ral0: could not read =
from BBP=0A=0A> Oct 26 13:41:40 t61p kernel: ral0: could not write to BBP=
=0A=0A> Oct 26 13:41:40 t61p kernel: ral0: could not read from BBP=0A=0A> O=
ct 26 13:41:40 t61p last message repeated 99 times=0A=0A> Oct 26 13:41:40 t=
61p kernel: ral0: timeout waiting for BBP=0A=0A> =0A=0A> I'm running:=0A=0A=
> uname -a=0A=0A> FreeBSD t61p 7.0-BETA1 FreeBSD 7.0-BETA1 #0: Fri Oct 26 1=
3:10:37=0A=0A> WEST=0A=0A>   2007 =0A=0A> root@t61p:/usr/obj/usr/src/sys/GE=
NERIC  i386=0A=0A> =0A=0A> GENERIC kernel with ULE and without debugging.=
=0A=0A> =0A=0A> Is there anything I can do to diagnose these issues?=0A=0A>=
 =0A=0A> Thanks!=0A=0A> =0A=0A> -- =0A=0A> Luis Neves=0A=0A=0A=0A----------=
 Forwarded message ----------=0A=0AFrom: Marcin Simonides <marcin@studio4pl=
us.com>=0A=0ADate: Oct 18, 2007 7:32 PM=0A=0ASubject: Re: NDIS: intel 4965 =
panic=0A=0ATo: freebsd-drivers@freebsd.org=0A=0A=0A=0AMarcin Simonides wrot=
e:=0A=0A> I've tried using an XP ndis wrapper for my intel 4965 wifi adapte=
r.=0A=0A> After loading the driver the device is recognized and then kernel=
 panics=0A=0A> during driver attachement.=0A=0A[...]=0A=0A=0A=0APreviously =
I didn't mention that there are some functions missing from=0A=0Athe FreeBS=
D's NDIS api. These are:=0A=0A=0A=0ANdisIMCopySendPerPacketInfo=0A=0Astrnca=
t=0A=0AKeQuerySystemTime=0A=0AKeBugCheckEx=0A=0AKeTickCount=0A=0A=0A=0AWith=
 the help of NDIS reference and Linux ndiswrapper I have been able=0A=0Ato =
implement all but KeBugCheckEx (they are all rather simple but I=0A=0Acan't=
 be 100% sure they're correct and exported appropriately).=0A=0A=0A=0ANow I=
'm able to load the driver and don't get any of the "ntoskrnl dummy=0A=0Aca=
lled..." messages which probably means that there are no missing=0A=0Afunct=
ions the driver tries to call.=0A=0A=0A=0AUnfortunately I'm still left with=
 the:=0A=0Andis0: NDIS ERROR: 40001b7c (unknown error)=0A=0Aerror message a=
nd the device doesn't work.=0A=0A=0A=0Aifconfig ndis0 shows:=0A=0A=0A=0Andi=
s0: flags=3D8806<BROADCAST,DEBUG,SIMPLEX,MULTICAST> mtu 1500=0A=0A         =
ether 00:13:e8:64:aa:f7=0A=0A         media: IEEE 802.11 Wireless Ethernet =
autoselect=0A=0A         status: no carrier=0A=0A         ssid "" channel 1=
=0A=0A         authmode OPEN privacy OFF txpowmax 100 bmiss 7 protmode CTS=
=0A=0A=0A=0AThe LED indicating whether WLAN is on doesn't light up. Calling=
 ifconfig=0A=0Andis0 up results with the following kernel messages:=0A=0A=
=0A=0Andis0: NDIS ERROR: 40001b7c (unknown error)=0A=0Andis0: NDIS NUMERROR=
S: 2=0A=0Andis0: argptr: 0x56524457=0A=0Andis0: argptr: 0xdd=0A=0A=0A=0AAnd=
 that's all I have been able to achieve so far :)=0A=0A=0A=0AI'll try to re=
ad some more of NDIS specification, locate the source of=0A=0Athe aforement=
ioned error message and generally try to blindly find=0A=0Asomething.=0A=0A=
=0A=0AMaybe someone has some suggestions? Maybe I should also try to post m=
y=0A=0Aquestions to some other list?=0A=0A=0A=0AThe diff of my changes: htt=
p://marcin.studio4plus.com/ndis/ndis.diff=0A=0AAll changes are confined to =
the /usr/src/sys/compat/ndis directory. The=0A=0Afunctions I have added are=
 implemented in a quick and dirty way :)=0A=0A--=0A=0AMarcin Simonides=0A=
=0A=0A=0A---=0A=0ACheck it, it may work for you with ndis.=0A=0A=0A=0A=0A=
=0A =0A=0ARegards, =0A=0A-Abdullah Ibn Hamad Al-Marri=0A=0AArab Portal=0A=
=0Ahttp://www.WeArab.Net/=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A___________=
_______________________________________=0ADo You Yahoo!?=0ATired of spam?  =
Yahoo! Mail has the best spam protection around =0Ahttp://mail.yahoo.com 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?461307.47075.qm>