From owner-freebsd-stable@FreeBSD.ORG Tue Nov 29 23:03:48 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4964616A41F for ; Tue, 29 Nov 2005 23:03:48 +0000 (GMT) (envelope-from stable@dino.sk) Received: from bsd.dino.sk (bsd.dino.sk [213.215.72.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id D876C43D72 for ; Tue, 29 Nov 2005 23:03:47 +0000 (GMT) (envelope-from stable@dino.sk) Received: from home.dino.sk ([213.215.74.194]) (AUTH: PLAIN milan, SSL: TLSv1/SSLv3,128bits,RC4-MD5) by bsd.dino.sk with esmtp; Wed, 30 Nov 2005 00:03:45 +0100 id 000000AC.438CDE51.00015D81 From: Milan Obuch To: freebsd-stable@freebsd.org Date: Wed, 30 Nov 2005 00:03:20 +0100 User-Agent: KMail/1.8.3 References: <200511291539.41294.lists@jnielsen.net> In-Reply-To: <200511291539.41294.lists@jnielsen.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511300003.23367.stable@dino.sk> Subject: Re: wireless, ndis problems on Compaq TC1000 Tablet running 6-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Nov 2005 23:03:48 -0000 On Tuesday 29 November 2005 21:39, John Nielsen wrote: > After successfully installing FreeBSD 6.0 on a Compaq TC1000 Tablet PC (and > updating it to yesterday's -STABLE), I am trying to get the built-in > wireless to work. The wi(4) driver does not attach to it. Under Windows, > the card shows up as a "Compaq 802.11b WLAN Mini-PCI" card (although it is > not in the user-accessible Mini-PCI slot). Pciconf gives this: > > none4@pci0:10:0: class=0x020000 card=0x00d30e11 chip=0x05061114 > rev=0x11 hdr=0x00 > vendor = 'Atmel Corp.' > device = 'AT76C506 802.11b Wireless Network Adaptor' > class = network > subclass = ethernet > > (Full pciconf -lv output attached). > > My first question: is there a chance it would be trivial to make this card > work with the wi(4) driver? ISTR reading this morning that this was a > Prism chip, although now I can't find that again. > Your pciconf output shows actual device - AT76C506. Unfortunately, datasheet available only under NDA, driver available only for Linux (see at atmelwlandriver.sf.net). Need binary firmware as well... I would like to see it supported, but I see no way without much work. > Undaunted, I moved on to ndis(4). Using wine(1), I was able to extract a > driver from SP23100.exe, obtained from hp's website.[1] I fed > netcwl200.inf and cwl200.sys to ndisgen(8), and was rewarded with a > successfully compiled cwl200_sys.ko. > > Unfortunately, the machine panics as soon as the module is loaded, with the > following output (transcribed by hand, typos possible): > All I got was just the same, maybe not exactly, but gross outcome is it does not work. Out of ideas, no help. Sorry. > tablet# kldload cwl200_sys > isab1: at device 7.4 on pci0 > device_attach: isab1 attach returned 6 > no match for swprintf > isab1: at device 7.4 on pci0 > device_attach: isab1 attach returned 6 > ndis0: port 0x1c00-0x1cff mem > 0xe8030000-0xe803ffff at device 10.0 on pci0 > ndis0: NDIS API version: 5.1 > ntoskrnl dummy called... > ntoskrnl dummy called... > > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x0 > fault code = supervisor write, page not present > instruction pointer = 0x20:0xc3bf70d8 > stack pointer = 0x28:0xd6cbc62c > frame pointer = 0x28:0xd6cbc844 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 571 (kldload) > trap number = 12 > panic: page fault > > Which leads to my second question: should ndis be expected to work with > this device? Assuming the answer is yes, what else can I do to track down > the problem? A complete (verbose) dmesg from the system is attached. > > Any input will be much appreciated. Thanks! > > JN > > [1] See > http://h18007.www1.hp.com/support/files/Compaqtabletpc/us/download/19836.ht >ml By the way, how did you install 6.0 there? I am working with TC1000 too, but it looks almost impossible to install FreeBSD without keyboard. Just would like to know possibilities - I tried 7.0 but ACPI does not work (does not boot even, only with ACPI disabled). Regards, Milan