From owner-freebsd-mobile@FreeBSD.ORG Sun Mar 23 09:09:07 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A09D7106566C for ; Sun, 23 Mar 2008 09:09:07 +0000 (UTC) (envelope-from mail@fototeck.ning.com) Received: from smtp.ning.com (smtp.ning.com [8.6.19.94]) by mx1.freebsd.org (Postfix) with ESMTP id 8A6108FC25 for ; Sun, 23 Mar 2008 09:09:07 +0000 (UTC) (envelope-from mail@fototeck.ning.com) Received: from [10.16.43.41] (port=39589 helo=z100093.ningops.com) by smtp.ning.com with esmtp (Exim 4.68) (envelope-from ) id 1JdLYD-0006dw-18 for freebsd-mobile@freebsd.org; Sun, 23 Mar 2008 08:27:33 +0000 Message-ID: <23223110.1206260853056.JavaMail.xncore@smtp> Date: Sun, 23 Mar 2008 08:27:33 +0000 (GMT) From: Fototeck To: Wlodzimierz Skiba MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-XN-UUID: 737f7719-74ee-4a8f-9a87-a8e54ae5451b Subject: Welcome to Fototeck... X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: do-not-reply@fototeck.ning.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Mar 2008 09:09:07 -0000 Welcome to Fototeck! Thank you for joining. You can sign in using your email address here: http://fototeck.ning.com/?xgsi=1 Thanks, Fototeck Fototeck Where photographers and models network From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 25 06:57:33 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16AA31065673 for ; Tue, 25 Mar 2008 06:57:33 +0000 (UTC) (envelope-from wbk@centrum24.pl) Received: from sentryrealestate.com (mail.sentryrealestate.com [75.144.201.217]) by mx1.freebsd.org (Postfix) with ESMTP id A29758FC18 for ; Tue, 25 Mar 2008 06:57:32 +0000 (UTC) (envelope-from wbk@centrum24.pl) Received: from centrum24.pl [67.33.194.179] by sentryrealestate.com with ESMTP (SMTPD-9.21) id ACB80D34; Tue, 25 Mar 2008 02:33:28 -0400 From: BZ WBK 24 To: freebsd-mobile@freebsd.org Date: 25 Mar 2008 01:39:22 -0500 Message-ID: <20080325013922.DFBEAF9C866653CA@centrum24.pl> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Uaktywnij konto BZ WBK 24! X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Mar 2008 06:57:33 -0000 [=] Uaktywnij konto BZ WBK 24 Aby uaktywnic konto BZ WBK 24, nalezy kliknac= ponizsze=20 lacze i wprowadzic Numer karty na wyswietlonej stronie w celu potwierdzen= ia BZ WBK 24. [1]Kliknij tutaj, aby=20 uaktywnic konto BZ WBK 24 mozesz rowniez potwierdzic, logujac= sie do swojego konta BZ WBK 24 pod adresem=20 https://www.centrum24.pl/bzwbk24.html = =2E Dziekujemy za korzystanie z systemu BZ WBK 24= ! Zespol BZ WBK 24. Bank Zachodni WBK S.A. [=] References 1. 3D"http://www.esesoata.gov.co/ssl/www.centrum24.pl/bzwbkonline/eSmar= From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 26 10:02:34 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BB44106566B for ; Wed, 26 Mar 2008 10:02:34 +0000 (UTC) (envelope-from johan@tausa.cc.uit.no) Received: from mux1.uit.no (mux1.uit.no [129.242.4.252]) by mx1.freebsd.org (Postfix) with ESMTP id CDC4E8FC24 for ; Wed, 26 Mar 2008 10:02:33 +0000 (UTC) (envelope-from johan@tausa.cc.uit.no) Received: from flode.cc.uit.no (flode.cc.uit.no [129.242.6.250]) by mux1.uit.no (8.13.8/8.13.6/Mux) with ESMTP id m2QA2V5S013865 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 26 Mar 2008 11:02:31 +0100 (CET) Received: from tausa.cc.uit.no (tausa.cc.uit.no [129.242.6.78]) by flode.cc.uit.no (8.13.3/8.13.3) with ESMTP id m2QA2hQb072583 for ; Wed, 26 Mar 2008 11:02:43 +0100 (CET) (envelope-from johan@tausa.cc.uit.no) Received: from tausa.cc.uit.no (localhost.cc.uit.no [127.0.0.1]) by tausa.cc.uit.no (8.14.2/8.14.2) with ESMTP id m2QA2VNZ036148 for ; Wed, 26 Mar 2008 11:02:31 +0100 (CET) (envelope-from johan@tausa.cc.uit.no) Message-Id: <200803261002.m2QA2VNZ036148@tausa.cc.uit.no> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: freebsd-mobile@freebsd.org In-reply-to: <200803181157.m2IBvBLb000594@tausa.cc.uit.no> References: <200803181157.m2IBvBLb000594@tausa.cc.uit.no> Comments: In-reply-to Johan Johansen message dated "Tue, 18 Mar 2008 12:57:11 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 26 Mar 2008 11:02:31 +0100 From: Johan Johansen X-Virus-Scanned: : ok X-Scanned-By: MIMEDefang 2.63 on 129.242.4.252 Subject: Re: if_wpi will not work for me X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2008 10:02:34 -0000 > My notebook is HP Compaq nc2400 running FreeBSD 7.0-RELEASE > > kldload if_wpi give me > Mar 18 10:29:34 juba kernel: wpi0: mem > 0xf0000000-0xf0000fff irq 16 at device 0.0 on pci8 > Mar 18 10:29:34 juba kernel: wpi0: could not allocate memory resource > Mar 18 10:29:34 juba kernel: device_attach: wpi0 attach returned 6 > > and ifconfig show no wpi0 > > I have not seen this behaviour mentioned before, so could anyone > give me some hints, please? > > mvh > > johan > Returning from my vacation, I notice that my problem is somewhat different from what some of you other guys describe. I cant get a wpi-device to work with at all. Booting without acpi makes no differens. Applying patch wpi_releng7.diff makes no differens. Before I load if_wpi, pciconf says none0@pci0:8:0:0: class=0x028000 card=0x135c103c chip=0x42228086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '10418086 Intel 3945ABG Wireless LAN controller' class = network and after wpi0@pci0:8:0:0: class=0x028000 card=0x135c103c chip=0x42228086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '10418086 Intel 3945ABG Wireless LAN controller' class = network but still no wpi0 present. So, would it help to buy more memory, and if I do, where should I put it? mvh johan From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 26 12:55:33 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB91B1065670 for ; Wed, 26 Mar 2008 12:55:33 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 68FD38FC24 for ; Wed, 26 Mar 2008 12:55:33 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from rebelion.Sisis.de ([193.31.10.34]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Wed, 26 Mar 2008 13:46:04 +0100 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id m2QChOij001803; Wed, 26 Mar 2008 13:43:24 +0100 (CET) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Wed, 26 Mar 2008 13:43:24 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Message-ID: <20080326124324.GA1756@rebelion.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-RELEASE (i386) X-OriginalArrivalTime: 26 Mar 2008 12:46:04.0308 (UTC) FILETIME=[5A704D40:01C88F3F] Cc: Subject: 7.0-RELEASE && panic after ~4 hours X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2008 12:55:33 -0000 Hello, Over the longs last weekend I've installed FreeBSD 7.0-REL on my laptop and around 200 ports; I point this out to say that the laptop run without any reboot from Friday morning to Monday evening at home in my WEP based Wifi-zone; on Thursday and today I'm working in my office from around 9 o'clock and each day after 4 hours the system panic'ed: Mar 25 09:02:43 rebelion syslogd: kernel boot file is /boot/kernel/kernel Mar 25 13:00:03 rebelion savecore: reboot after panic: clist reservation botch Mar 26 09:11:04 rebelion syslogd: kernel boot file is /boot/kernel/kernel Mar 26 13:22:29 rebelion savecore: reboot after panic: page fault the main difference between home and work is: WEP at home and WPA2 at work; as well I see in messages a lot of: Mar 26 08:24:51 rebelion kernel: iwi0: firmware stuck in state 4, resetting Mar 26 08:25:01 rebelion kernel: iwi0: firmware stuck in state 4, resetting Mar 26 08:25:11 rebelion kernel: iwi0: firmware stuck in state 4, resetting Mar 26 08:25:20 rebelion kernel: iwi0: firmware stuck in state 4, resetting Mar 26 08:25:31 rebelion kernel: iwi0: firmware stuck in state 4, resetting Mar 26 08:25:40 rebelion kernel: iwi0: firmware stuck in state 4, resetting Mar 26 08:42:05 rebelion kernel: iwi0: firmware stuck in state 4, resetting Mar 26 09:48:58 rebelion kernel: iwi0: firmware stuck in state 4, resetting Mar 26 10:54:08 rebelion kernel: iwi0: firmware stuck in state 4, resetting Mar 26 12:04:13 rebelion kernel: iwi0: firmware stuck in state 4, resetting Mar 26 12:21:17 rebelion kernel: iwi0: firmware stuck in state 4, resetting Mar 26 12:37:43 rebelion kernel: iwi0: firmware stuck in state 4, resetting Mar 26 12:54:17 rebelion kernel: iwi0: firmware stuck in state 4, resetting Before I was for more than a year on 6.2-REL and without any panic which was not caused by pulling out the PCMCIA UMTS card; so I think it is not a hardware issue; Any comments? matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on Usenet and in e-mail? From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 26 13:50:38 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A3F21065671; Wed, 26 Mar 2008 13:50:38 +0000 (UTC) (envelope-from a.j.werven@student.utwente.nl) Received: from mx.utwente.nl (unknown [IPv6:2001:610:1908:1000:204:23ff:feb7:b8fe]) by mx1.freebsd.org (Postfix) with ESMTP id CECCF8FC23; Wed, 26 Mar 2008 13:50:37 +0000 (UTC) (envelope-from a.j.werven@student.utwente.nl) Received: from [127.0.0.1] (vpn180115.student.utwente.nl [130.89.180.115]) by mx.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id m2QDkvNN021663; Wed, 26 Mar 2008 14:46:59 +0100 Message-ID: <47EA53D5.4070106@student.utwente.nl> Date: Wed, 26 Mar 2008 13:47:01 +0000 From: "Alphons \"Fonz\" van Werven" User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Matthias Apitz References: <20080326124324.GA1756@rebelion.Sisis.de> In-Reply-To: <20080326124324.GA1756@rebelion.Sisis.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact servicedesk@icts.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: a.j.werven@student.utwente.nl X-Spam-Status: No Cc: freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: 7.0-RELEASE && panic after ~4 hours X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2008 13:50:38 -0000 Matthias Apitz wrote: > the main difference between home and work is: WEP at home and WPA2 at > work; Which WiFi board are you using? Several drivers are known to cause panics when used with WPA. Alphons -- All right, that does it Bill [Donahue]. I'm pretty sure that killing Jesus is not very Christian. -- pope Benedict XVI, South Park episode #158 From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 26 13:58:47 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 849CD106564A; Wed, 26 Mar 2008 13:58:47 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 1EFA88FC16; Wed, 26 Mar 2008 13:58:46 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from rebelion.Sisis.de ([193.31.10.34]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Wed, 26 Mar 2008 15:01:24 +0100 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id m2QDwgEg053115; Wed, 26 Mar 2008 14:58:42 +0100 (CET) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Wed, 26 Mar 2008 14:58:42 +0100 From: Matthias Apitz To: Alphons Fonz van Werven Message-ID: <20080326135842.GA52899@rebelion.Sisis.de> References: <20080326124324.GA1756@rebelion.Sisis.de> <47EA53D5.4070106@student.utwente.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <47EA53D5.4070106@student.utwente.nl> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-RELEASE (i386) X-OriginalArrivalTime: 26 Mar 2008 14:01:24.0175 (UTC) FILETIME=[E07D45F0:01C88F49] Cc: freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: 7.0-RELEASE && panic after ~4 hours X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2008 13:58:47 -0000 El día Wednesday, March 26, 2008 a las 01:47:01PM +0000, Alphons Fonz van Werven escribió: > Matthias Apitz wrote: > > >the main difference between home and work is: WEP at home and WPA2 at > >work; > > Which WiFi board are you using? Several drivers are known to cause panics > when > used with WPA. sorry for not mention that: iwi0: mem 0xc8305000-0xc8305fff irq 18 at device 5.0 on pci6 iwi0: Ethernet address: 00:13:ce:a1:e6:81 iwi0: [ITHREAD] when it will crash tomorrow again, I will try it some days without Wifi and plug-in Ethernet; matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on Usenet and in e-mail? From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 26 14:06:54 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80CDD1065672 for ; Wed, 26 Mar 2008 14:06:54 +0000 (UTC) (envelope-from dan@langille.org) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) by mx1.freebsd.org (Postfix) with ESMTP id 12D2A8FC1C for ; Wed, 26 Mar 2008 14:06:53 +0000 (UTC) (envelope-from dan@langille.org) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id DC86F5089D for ; Wed, 26 Mar 2008 14:06:45 +0000 (GMT) X-Virus-Scanned: amavisd-new at unixathome.org Received: from nyi.unixathome.org ([127.0.0.1]) by localhost (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y4lVGkw8Ak-U for ; Wed, 26 Mar 2008 14:06:36 +0000 (GMT) Received: from [192.168.2.2] (ismtp.afilias.com [216.217.55.254]) by nyi.unixathome.org (Postfix) with ESMTPSA id 2DC5150899 for ; Wed, 26 Mar 2008 14:06:33 +0000 (GMT) Mime-Version: 1.0 (Apple Message framework v753) Content-Transfer-Encoding: 7bit Message-Id: <0319208F-8098-4EAA-B3DA-22C6FE1C02DD@langille.org> Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-mobile@freebsd.org From: Dan Langille Date: Wed, 26 Mar 2008 10:05:52 -0400 X-Mailer: Apple Mail (2.753) Subject: battery monitor with KDE 64 bit X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2008 14:06:54 -0000 Hi, I'm running 7.0 amd64 with KDE 3.5 sysutils/klaptopdaemon works only on i386 What battery monitor software are you using? -- Dan Langille -- http://www.langille.org/ dan@langille.org From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 26 14:55:09 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FF651065675 for ; Wed, 26 Mar 2008 14:55:09 +0000 (UTC) (envelope-from lme@FreeBSD.org) Received: from mail.0x20.net (mail.ipv6.0x20.net [IPv6:2001:aa8:fffb::3]) by mx1.freebsd.org (Postfix) with ESMTP id A71628FC23 for ; Wed, 26 Mar 2008 14:55:08 +0000 (UTC) (envelope-from lme@FreeBSD.org) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mail.0x20.net (Postfix) with ESMTP id C7D7E39E38; Wed, 26 Mar 2008 15:55:07 +0100 (CET) Received: from 193.109.238.110 ([193.109.238.110]) by 0x20.net (Horde MIME library) with HTTP; Wed, 26 Mar 2008 15:55:07 +0100 Message-ID: <20080326155507.wiubhspc04ok440g@0x20.net> Date: Wed, 26 Mar 2008 15:55:07 +0100 From: Lars Engels To: Dan Langille References: <0319208F-8098-4EAA-B3DA-22C6FE1C02DD@langille.org> In-Reply-To: <0319208F-8098-4EAA-B3DA-22C6FE1C02DD@langille.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=_5f6jelt11u4o"; protocol="application/pgp-signature"; micalg="pgp-sha1" Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) Cc: freebsd-mobile@freebsd.org Subject: Re: battery monitor with KDE 64 bit X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2008 14:55:09 -0000 This message is in MIME format and has been PGP signed. --=_5f6jelt11u4o Content-Type: text/plain; charset=ISO-8859-15; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit Quoting Dan Langille : > Hi, > > I'm running 7.0 amd64 with KDE 3.5 > > sysutils/klaptopdaemon works only on i386 > > What battery monitor software are you using? dbsd-battinfo from sysutils/desktopbsd-tools offers you a tray icon. sysutils/nbosd can show you battery info and cpu frequency on demand with and on screen display. Lars --=_5f6jelt11u4o Content-Type: application/pgp-signature Content-Description: PGP Digital Signature Content-Disposition: inline Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQBH6mPLKc512sD3afgRAh3EAJ9BCxFH9KAU6KIhz03EPm43Xej7ZwCgsngc o6kSfjVW4EBWcYFbTNZkQxA= =IQ29 -----END PGP SIGNATURE----- --=_5f6jelt11u4o-- From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 26 16:03:42 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24B33106567D for ; Wed, 26 Mar 2008 16:03:42 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id D83458FC12 for ; Wed, 26 Mar 2008 16:03:41 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id m2QG3bom058303 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 26 Mar 2008 09:03:38 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <47EA73D9.6050302@freebsd.org> Date: Wed, 26 Mar 2008 09:03:37 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: "Alphons \"Fonz\" van Werven" References: <20080326124324.GA1756@rebelion.Sisis.de> <47EA53D5.4070106@student.utwente.nl> In-Reply-To: <47EA53D5.4070106@student.utwente.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: Matthias Apitz , freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: 7.0-RELEASE && panic after ~4 hours X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2008 16:03:42 -0000 Alphons "Fonz" van Werven wrote: > Matthias Apitz wrote: > >> the main difference between home and work is: WEP at home and WPA2 at >> work; > > Which WiFi board are you using? Several drivers are known to cause > panics when > used with WPA. I am aware only of issues with USB adapters being removed while wpa_supplicant is running. This is a race in the usb code that I have worked around in the forthcoming vap code (not sure if the technique I used can be ported to RELENG_7). Regardless, for any issue to be pursued the usual info is required; the device identity, a stack trace, and if possible, debug msgs from the kernel prior to a problem (wlandebug enables net80211 msgs and every driver has a debug msg knob that may or may not require building a kernel w/ msgs enabled). iwi has most recently been tended by Andrew Thompson who is traveling so may not follow up for a bit (if sufficient info is provided). Sam From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 26 17:40:52 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5265B1065670; Wed, 26 Mar 2008 17:40:52 +0000 (UTC) (envelope-from a.j.werven@student.utwente.nl) Received: from mx.utwente.nl (unknown [IPv6:2001:610:1908:1000:204:23ff:feba:632a]) by mx1.freebsd.org (Postfix) with ESMTP id C76988FC17; Wed, 26 Mar 2008 17:40:51 +0000 (UTC) (envelope-from a.j.werven@student.utwente.nl) Received: from [127.0.0.1] (vpn181210.student.utwente.nl [130.89.181.210]) by mx.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id m2QHZ4li029195; Wed, 26 Mar 2008 18:35:06 +0100 Message-ID: <47EA8949.9070700@student.utwente.nl> Date: Wed, 26 Mar 2008 17:35:05 +0000 From: "Alphons \"Fonz\" van Werven" User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Sam Leffler References: <20080326124324.GA1756@rebelion.Sisis.de> <47EA53D5.4070106@student.utwente.nl> <47EA73D9.6050302@freebsd.org> In-Reply-To: <47EA73D9.6050302@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact servicedesk@icts.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: a.j.werven@student.utwente.nl X-Spam-Status: No Cc: Matthias Apitz , freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: 7.0-RELEASE && panic after ~4 hours X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2008 17:40:52 -0000 Sam Leffler wrote: > I am aware only of issues with USB adapters being removed while > wpa_supplicant is running. Actually, there's more I'm afraid. iwi: Don't know because I don't use that one. But it's a "cousin" of wpi and if I'm not mistaken it was the same person who initiated development of both drivers. wpi: No panics, but just doesn't work with wpa_supplicant at all (fails to associate). This is a known problem and people are working on it. Neither of these are USB adapters. rum: Works but panics after a while. PR has been filed, but seems to be stuck at feedback status (anyone know more about this one?). Alphons -- All right, that does it Bill [Donahue]. I'm pretty sure that killing Jesus is not very Christian. -- pope Benedict XVI, South Park episode #158 From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 26 17:47:14 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D5D11065677 for ; Wed, 26 Mar 2008 17:47:14 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.freebsd.org (Postfix) with ESMTP id 5CBA58FC33 for ; Wed, 26 Mar 2008 17:47:14 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTP id <0JYC00GBAMQPKDB0@osl1smout1.broadpark.no> for freebsd-mobile@freebsd.org; Wed, 26 Mar 2008 18:47:13 +0100 (CET) Received: from kg-work.kg4.no ([80.202.173.59]) by osl1sminn1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with SMTP id <0JYC00H2SMQOUL02@osl1sminn1.broadpark.no> for freebsd-mobile@freebsd.org; Wed, 26 Mar 2008 18:47:13 +0100 (CET) Date: Wed, 26 Mar 2008 18:47:12 +0100 From: Torfinn Ingolfsen To: freebsd-mobile@freebsd.org Message-id: <20080326184712.50100aac.torfinn.ingolfsen@broadpark.no> In-reply-to: <200803261002.m2QA2VNZ036148@tausa.cc.uit.no> References: <200803181157.m2IBvBLb000594@tausa.cc.uit.no> <200803261002.m2QA2VNZ036148@tausa.cc.uit.no> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; i386-portbld-freebsd6.3) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Subject: Re: if_wpi will not work for me X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2008 17:47:14 -0000 On Wed, 26 Mar 2008 11:02:31 +0100 Johan Johansen wrote: > Returning from my vacation, I notice that my problem is somewhat > different from what some of you other guys describe. I cant get a > wpi-device to work with at all. > > Booting without acpi makes no differens. > Applying patch wpi_releng7.diff makes no differens. > > Before I load if_wpi, pciconf says > none0@pci0:8:0:0: class=0x028000 card=0x135c103c > chip=0x42228086 rev=0x02 hdr=0x00 > vendor = 'Intel Corporation' > device = '10418086 Intel 3945ABG Wireless LAN controller' > class = network > and after > wpi0@pci0:8:0:0: class=0x028000 card=0x135c103c > chip=0x42228086 rev=0x02 hdr=0x00 > vendor = 'Intel Corporation' > device = '10418086 Intel 3945ABG Wireless LAN controller' > class = network > but still no wpi0 present. > > So, would it help to buy more memory, and if I do, where should I put > it? Just curious: why do you think that buying more memory will help? Because of the "cabn't allocate memory resource" message? AFAIU, that message indicates that there is something wrong with the way your acpi / bios tells FreeBSD what memory / how much memory it needs, not that the machine itself has too little memory. What is needed to find out more is the dmesg output from a verbose boot, preferably put up on the web somewhere, and with a link to it in your message here. Also, be sure to put up the complete dmesg output. For good mesasure, include the complete dmesg output of a normal boot as well, and 'pciconf -lv' output, and what more? You didn't say if your laptop is dual booting. If it is, and if the wpi network adapter is working in some other os, it will help if you can find out what resources (irq, memory ranges, etc) it uses in that other os. HTH -- Regards, Torfinn Ingolfsen From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 26 17:56:20 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82BDA1065680 for ; Wed, 26 Mar 2008 17:56:20 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 5BD388FC16 for ; Wed, 26 Mar 2008 17:56:20 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id m2QHuJnl059303 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 26 Mar 2008 10:56:19 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <47EA8E43.1080308@freebsd.org> Date: Wed, 26 Mar 2008 10:56:19 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: "Alphons \"Fonz\" van Werven" References: <20080326124324.GA1756@rebelion.Sisis.de> <47EA53D5.4070106@student.utwente.nl> <47EA73D9.6050302@freebsd.org> <47EA8949.9070700@student.utwente.nl> In-Reply-To: <47EA8949.9070700@student.utwente.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: Matthias Apitz , freebsd-mobile@freebsd.org Subject: Re: 7.0-RELEASE && panic after ~4 hours X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2008 17:56:20 -0000 Alphons "Fonz" van Werven wrote: > Sam Leffler wrote: > >> I am aware only of issues with USB adapters being removed while >> wpa_supplicant is running. > > Actually, there's more I'm afraid. > > iwi: Don't know because I don't use that one. But it's a "cousin" of > wpi and > if I'm not mistaken it was the same person who initiated > development of > both drivers. > > wpi: No panics, but just doesn't work with wpa_supplicant at all > (fails to > associate). This is a known problem and people are working on it. You said there were panics; please point me at PR's that show them or stop saying it. Also these drivers are completely different and linking them is uninformed. The problem with almost all the reports I've seen is they lack sufficient info to even respond. Understand that most all Intel wireless cards up to the 4965 have issues with firmware mis-design that make developing reliable drivers hard (even more so given Intel's unwillingness in helping anyone not using linux). For example the ipw+iwi drivers try to work around the fact there is no way to scan w/o also initiating an association. But if you try and change the security parameters between scan+associate there are races that can cause the firmware to crash. Most of the complaints I've seen are in this area--people running wpa_supplicant. > > Neither of these are USB adapters. > > rum: Works but panics after a while. PR has been filed, but seems to > be stuck > at feedback status (anyone know more about this one?). PR #? Unfortunately my rum card seems to have vanished. The committer looking after rum has been occupied which may explain the inaction. Sam From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 26 18:29:01 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D04E1106566B; Wed, 26 Mar 2008 18:29:01 +0000 (UTC) (envelope-from a.j.werven@student.utwente.nl) Received: from mx.utwente.nl (unknown [IPv6:2001:610:1908:1000:204:23ff:feba:6042]) by mx1.freebsd.org (Postfix) with ESMTP id DA89D8FC18; Wed, 26 Mar 2008 18:29:00 +0000 (UTC) (envelope-from a.j.werven@student.utwente.nl) Received: from [127.0.0.1] (vpn181210.student.utwente.nl [130.89.181.210]) by mx.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id m2QINfv1026560; Wed, 26 Mar 2008 19:23:53 +0100 Message-ID: <47EA94AD.5010400@student.utwente.nl> Date: Wed, 26 Mar 2008 18:23:41 +0000 From: "Alphons \"Fonz\" van Werven" User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Sam Leffler References: <20080326124324.GA1756@rebelion.Sisis.de> <47EA53D5.4070106@student.utwente.nl> <47EA73D9.6050302@freebsd.org> <47EA8949.9070700@student.utwente.nl> <47EA8E43.1080308@freebsd.org> In-Reply-To: <47EA8E43.1080308@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact servicedesk@icts.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: a.j.werven@student.utwente.nl X-Spam-Status: No Cc: Matthias Apitz , freebsd-mobile@freebsd.org Subject: Re: 7.0-RELEASE && panic after ~4 hours X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2008 18:29:01 -0000 Sam Leffler wrote: > You said there were panics; please point me at PR's that show them See below. > Understand that most all Intel wireless cards up to the 4965 have issues > with firmware mis-design that make developing reliable drivers hard (even > more so given Intel's unwillingness in helping anyone not using linux). I'm aware of that. Therefore, it wasn't my intent to criticise, merely to observe. >> rum: Works but panics after a while. PR has been filed, but seems to >> be stuck at feedback status (anyone know more about this one?). > PR #? Unfortunately my rum card seems to have vanished. The committer > looking after rum has been occupied which may explain the inaction. kern/120966 The PR was sent by somebody else, but I have the same problem and I can reproduce it, so if any additional info is needed I'd be more than happy to provide it. Regards, Alphons -- All right, that does it Bill [Donahue]. I'm pretty sure that killing Jesus is not very Christian. -- pope Benedict XVI, South Park episode #158 From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 26 19:45:03 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA1CA1065673; Wed, 26 Mar 2008 19:45:03 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (unknown [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 580E28FC22; Wed, 26 Mar 2008 19:45:03 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from crab.unsane.co.uk (crab.unsane.co.uk [10.0.0.111]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id m2QJj3x0061890 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 26 Mar 2008 19:45:03 GMT (envelope-from jhary@unsane.co.uk) Message-ID: <47EAA6B8.8030809@unsane.co.uk> Date: Wed, 26 Mar 2008 19:40:40 +0000 From: Vince User-Agent: Thunderbird 2.0.0.12 (X11/20080313) MIME-Version: 1.0 To: "Alphons \"Fonz\" van Werven" References: <20080326124324.GA1756@rebelion.Sisis.de> <47EA53D5.4070106@student.utwente.nl> <47EA73D9.6050302@freebsd.org> <47EA8949.9070700@student.utwente.nl> In-Reply-To: <47EA8949.9070700@student.utwente.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Matthias Apitz , Sam Leffler , freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: 7.0-RELEASE && panic after ~4 hours X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2008 19:45:04 -0000 Alphons "Fonz" van Werven wrote: > Sam Leffler wrote: > >> I am aware only of issues with USB adapters being removed while >> wpa_supplicant is running. > > Actually, there's more I'm afraid. > > iwi: Don't know because I don't use that one. But it's a "cousin" of wpi > and > if I'm not mistaken it was the same person who initiated > development of > both drivers. > > wpi: No panics, but just doesn't work with wpa_supplicant at all (fails to > associate). This is a known problem and people are working on it. > Not true. under 7-current for me wpa works on my wpi adapter. I have had one panic but havent been able to replicate it yet, (i'm only blaming the wireless because it hasnt paniced on wired. Vince > Neither of these are USB adapters. > > rum: Works but panics after a while. PR has been filed, but seems to be > stuck > at feedback status (anyone know more about this one?). > > Alphons > From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 26 20:11:39 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67531106566C; Wed, 26 Mar 2008 20:11:39 +0000 (UTC) (envelope-from a.j.werven@student.utwente.nl) Received: from mx.utwente.nl (unknown [IPv6:2001:610:1908:1000:204:23ff:feba:632a]) by mx1.freebsd.org (Postfix) with ESMTP id D85C88FC1A; Wed, 26 Mar 2008 20:11:38 +0000 (UTC) (envelope-from a.j.werven@student.utwente.nl) Received: from [127.0.0.1] (vpn181210.student.utwente.nl [130.89.181.210]) by mx.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id m2QK36li032475; Wed, 26 Mar 2008 21:03:07 +0100 Message-ID: <47EAABFB.8070008@student.utwente.nl> Date: Wed, 26 Mar 2008 20:03:07 +0000 From: "Alphons \"Fonz\" van Werven" User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Vince References: <20080326124324.GA1756@rebelion.Sisis.de> <47EA53D5.4070106@student.utwente.nl> <47EA73D9.6050302@freebsd.org> <47EA8949.9070700@student.utwente.nl> <47EAA6B8.8030809@unsane.co.uk> In-Reply-To: <47EAA6B8.8030809@unsane.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact servicedesk@icts.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: a.j.werven@student.utwente.nl X-Spam-Status: No Cc: Sam Leffler , Matthias Apitz , freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: 7.0-RELEASE && panic after ~4 hours X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2008 20:11:39 -0000 Vince wrote: > Not true. under 7-current for me wpa works on my wpi adapter. Care to elaborate on what you did? Because in my and some other people's cases we can't get wpi to work with wpa_supplicant no matter what we try. Alphons (as can be seen in some previous threads) -- All right, that does it Bill [Donahue]. I'm pretty sure that killing Jesus is not very Christian. -- pope Benedict XVI, South Park episode #158 From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 26 20:14:49 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C7D7106564A for ; Wed, 26 Mar 2008 20:14:49 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 546778FC22 for ; Wed, 26 Mar 2008 20:14:49 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id m2QKEmKJ060424 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 26 Mar 2008 13:14:48 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <47EAAEB8.6000204@freebsd.org> Date: Wed, 26 Mar 2008 13:14:48 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: "Alphons \"Fonz\" van Werven" References: <20080326124324.GA1756@rebelion.Sisis.de> <47EA53D5.4070106@student.utwente.nl> <47EA73D9.6050302@freebsd.org> <47EA8949.9070700@student.utwente.nl> <47EA8E43.1080308@freebsd.org> <47EA94AD.5010400@student.utwente.nl> In-Reply-To: <47EA94AD.5010400@student.utwente.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: Matthias Apitz , freebsd-mobile@freebsd.org Subject: Re: 7.0-RELEASE && panic after ~4 hours X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2008 20:14:49 -0000 Alphons "Fonz" van Werven wrote: > Sam Leffler wrote: > >> You said there were panics; please point me at PR's that show them > > See below. > >> Understand that most all Intel wireless cards up to the 4965 have issues >> with firmware mis-design that make developing reliable drivers hard >> (even >> more so given Intel's unwillingness in helping anyone not using linux). > > I'm aware of that. Therefore, it wasn't my intent to criticise, merely to > observe. > >>> rum: Works but panics after a while. PR has been filed, but seems to >>> be stuck at feedback status (anyone know more about this one?). > >> PR #? Unfortunately my rum card seems to have vanished. The >> committer looking after rum has been occupied which may explain the >> inaction. > > kern/120966 > > The PR was sent by somebody else, but I have the same problem and I can > reproduce it, so if any additional info is needed I'd be more than happy > to provide it. Looks like the driver isn't clearing pending xfer's properly. Unfortunately this is a good example of how there's insufficient info to make progress; the output of wpa_supplicant -d and/or wlandebug state+scan would help a lot (the latter more than the former). Unfortunately I can't do much until I locate my stick. Hopefully Kevin will re-appear and look at the issue. Sam From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 26 20:27:07 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 819F9106567C; Wed, 26 Mar 2008 20:27:07 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 41B948FC31; Wed, 26 Mar 2008 20:27:05 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47EAB19E.8010804@FreeBSD.org> Date: Wed, 26 Mar 2008 21:27:10 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Matthias Apitz References: <20080326124324.GA1756@rebelion.Sisis.de> In-Reply-To: <20080326124324.GA1756@rebelion.Sisis.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: 7.0-RELEASE && panic after ~4 hours X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2008 20:27:07 -0000 Matthias Apitz wrote: > Hello, > > Over the longs last weekend I've installed FreeBSD 7.0-REL on my laptop > and around 200 ports; I point this out to say that the laptop run > without any reboot from Friday morning to Monday evening at home in my > WEP based Wifi-zone; > > on Thursday and today I'm working in my office from around 9 o'clock and > each day after 4 hours the system panic'ed: > > Mar 25 09:02:43 rebelion syslogd: kernel boot file is /boot/kernel/kernel > Mar 25 13:00:03 rebelion savecore: reboot after panic: clist reservation botch > > Mar 26 09:11:04 rebelion syslogd: kernel boot file is /boot/kernel/kernel > Mar 26 13:22:29 rebelion savecore: reboot after panic: page fault > > the main difference between home and work is: WEP at home and WPA2 at > work; > > as well I see in messages a lot of: > > Mar 26 08:24:51 rebelion kernel: iwi0: firmware stuck in state 4, resetting > Mar 26 08:25:01 rebelion kernel: iwi0: firmware stuck in state 4, resetting > Mar 26 08:25:11 rebelion kernel: iwi0: firmware stuck in state 4, resetting > Mar 26 08:25:20 rebelion kernel: iwi0: firmware stuck in state 4, resetting > Mar 26 08:25:31 rebelion kernel: iwi0: firmware stuck in state 4, resetting > Mar 26 08:25:40 rebelion kernel: iwi0: firmware stuck in state 4, resetting > Mar 26 08:42:05 rebelion kernel: iwi0: firmware stuck in state 4, resetting > Mar 26 09:48:58 rebelion kernel: iwi0: firmware stuck in state 4, resetting > Mar 26 10:54:08 rebelion kernel: iwi0: firmware stuck in state 4, resetting > Mar 26 12:04:13 rebelion kernel: iwi0: firmware stuck in state 4, resetting > Mar 26 12:21:17 rebelion kernel: iwi0: firmware stuck in state 4, resetting > Mar 26 12:37:43 rebelion kernel: iwi0: firmware stuck in state 4, resetting > Mar 26 12:54:17 rebelion kernel: iwi0: firmware stuck in state 4, resetting > > Before I was for more than a year on 6.2-REL and without any panic which > was not caused by pulling out the PCMCIA UMTS card; so I think it is not > a hardware issue; > > Any comments? Please see http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html and file a PR. Kris From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 26 20:41:18 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 746DA1065672; Wed, 26 Mar 2008 20:41:18 +0000 (UTC) (envelope-from a.j.werven@student.utwente.nl) Received: from smtp.utwente.nl (unknown [IPv6:2001:610:1908:1000:204:23ff:feb5:7e66]) by mx1.freebsd.org (Postfix) with ESMTP id E36E18FC26; Wed, 26 Mar 2008 20:41:17 +0000 (UTC) (envelope-from a.j.werven@student.utwente.nl) Received: from [127.0.0.1] (vpn181210.student.utwente.nl [130.89.181.210]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id m2QKZSZJ027606; Wed, 26 Mar 2008 21:35:30 +0100 Message-ID: <47EAB391.2080106@student.utwente.nl> Date: Wed, 26 Mar 2008 20:35:29 +0000 From: "Alphons \"Fonz\" van Werven" User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Vince References: <20080326124324.GA1756@rebelion.Sisis.de> <47EA53D5.4070106@student.utwente.nl> <47EA73D9.6050302@freebsd.org> <47EA8949.9070700@student.utwente.nl> <47EAA6B8.8030809@unsane.co.uk> In-Reply-To: <47EAA6B8.8030809@unsane.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact servicedesk@icts.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: a.j.werven@student.utwente.nl X-Spam-Status: No Cc: Sam Leffler , Matthias Apitz , freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: 7.0-RELEASE && panic after ~4 hours X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2008 20:41:18 -0000 Vince wrote: > under 7-current Just noted the -current thingy. I'm running 7-release, with or without a patch by Andrew (2 kernels available). If it works with 7-current, perhaps there are some patches I missed? Alphons -- All right, that does it Bill [Donahue]. I'm pretty sure that killing Jesus is not very Christian. -- pope Benedict XVI, South Park episode #158 From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 26 20:45:18 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D16D11065753; Wed, 26 Mar 2008 20:45:18 +0000 (UTC) (envelope-from a.j.werven@student.utwente.nl) Received: from smtp.utwente.nl (unknown [IPv6:2001:610:1908:1000:204:23ff:feb5:7e66]) by mx1.freebsd.org (Postfix) with ESMTP id 4E6F18FC19; Wed, 26 Mar 2008 20:45:18 +0000 (UTC) (envelope-from a.j.werven@student.utwente.nl) Received: from [127.0.0.1] (vpn181210.student.utwente.nl [130.89.181.210]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id m2QKbmZJ028642; Wed, 26 Mar 2008 21:37:48 +0100 Message-ID: <47EAB41C.6040708@student.utwente.nl> Date: Wed, 26 Mar 2008 20:37:48 +0000 From: "Alphons \"Fonz\" van Werven" User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Sam Leffler References: <20080326124324.GA1756@rebelion.Sisis.de> <47EA53D5.4070106@student.utwente.nl> <47EA73D9.6050302@freebsd.org> <47EA8949.9070700@student.utwente.nl> <47EA8E43.1080308@freebsd.org> <47EA94AD.5010400@student.utwente.nl> <47EAAEB8.6000204@freebsd.org> In-Reply-To: <47EAAEB8.6000204@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact servicedesk@icts.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: a.j.werven@student.utwente.nl X-Spam-Status: No Cc: Matthias Apitz , freebsd-mobile@freebsd.org Subject: Re: 7.0-RELEASE && panic after ~4 hours X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2008 20:45:19 -0000 Sam Leffler wrote: > the output of wpa_supplicant -d and/or wlandebug > state+scan would help a lot (the latter more than the former). > > Unfortunately I can't do much until I locate my stick. Hopefully Kevin > will re-appear and look at the issue. In the meantime, I'll go find the necessary info but that's going to be later tonight. Alphons -- All right, that does it Bill [Donahue]. I'm pretty sure that killing Jesus is not very Christian. -- pope Benedict XVI, South Park episode #158 From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 26 21:35:55 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A6971065679 for ; Wed, 26 Mar 2008 21:35:55 +0000 (UTC) (envelope-from yousif@alumni.jmu.edu) Received: from coruscant.far-far-away.com (coruscant.far-far-away.us [70.91.196.65]) by mx1.freebsd.org (Postfix) with SMTP id F10E38FC34 for ; Wed, 26 Mar 2008 21:35:54 +0000 (UTC) (envelope-from yousif@alumni.jmu.edu) Received: (qmail 22147 invoked from network); 26 Mar 2008 17:37:42 -0400 Received: from unknown (HELO alderaan) (68.162.198.134) by coruscant.far-far-away.us with SMTP; 26 Mar 2008 17:37:42 -0400 Message-ID: From: "Yousif Hassan" To: "Torfinn Ingolfsen" , References: <200803181157.m2IBvBLb000594@tausa.cc.uit.no><200803261002.m2QA2VNZ036148@tausa.cc.uit.no> <20080326184712.50100aac.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20080326184712.50100aac.torfinn.ingolfsen@broadpark.no> Date: Wed, 26 Mar 2008 17:37:42 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6000.16480 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545 Cc: Subject: Re: if_wpi will not work for me X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2008 21:35:55 -0000 Torfinn Ingolfsen wrote: > Johan Johansen wrote: > >> Returning from my vacation, I notice that my problem is somewhat >> different from what some of you other guys describe. I cant get a >> wpi-device to work with at all. >> >> Booting without acpi makes no differens. >> Applying patch wpi_releng7.diff makes no differens. >> >> Before I load if_wpi, pciconf says >> none0@pci0:8:0:0: class=0x028000 card=0x135c103c >> chip=0x42228086 rev=0x02 hdr=0x00 >> vendor = 'Intel Corporation' >> device = '10418086 Intel 3945ABG Wireless LAN controller' >> class = network >> and after >> wpi0@pci0:8:0:0: class=0x028000 card=0x135c103c >> chip=0x42228086 rev=0x02 hdr=0x00 >> vendor = 'Intel Corporation' >> device = '10418086 Intel 3945ABG Wireless LAN controller' >> class = network >> but still no wpi0 present. >> >> So, would it help to buy more memory, and if I do, where should I put >> it? > > Just curious: why do you think that buying more memory will help? > Because of the "cabn't allocate memory resource" message? > AFAIU, that message indicates that there is something wrong with the > way your acpi / bios tells FreeBSD what memory / how much memory it > needs, not that the machine itself has too little memory. To wit, my experience has been that this message is innocuous. This has been confirmed by Ben, who wrote the driver. I used to get these messages but the wpi0 device would attach fine (it tends to get buried during bootup messages after all that scroll - check dmesg). In addition, Andrew's latest patches to -current and -stable resolve this message - it no longer appears for me. So Johan, do not buy more memory simply to solve this issue! Did you try those latest patches, and do you still see a problem? If your pciconf is reporting a "wpi0@...." in the device list, it seems improbable that the device didn't attach - in that case you'd have seen "noneX@..." This may be stating the obvious, but there are specific steps you need to do to enable this device, including accepting a license via /boot/loader.conf; did you follow them? Do you have a dmesg confirming that the device did not attach? Do you have the output of ifconfig for us to look at? --Y From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 26 22:45:40 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11AAD106566B; Wed, 26 Mar 2008 22:45:40 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (unknown [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 8DF5A8FC14; Wed, 26 Mar 2008 22:45:39 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from crab.unsane.co.uk (crab.unsane.co.uk [10.0.0.111]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id m2QMjclN064307 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 26 Mar 2008 22:45:38 GMT (envelope-from jhary@unsane.co.uk) Message-ID: <47EAD10B.3050409@unsane.co.uk> Date: Wed, 26 Mar 2008 22:41:15 +0000 From: Vince User-Agent: Thunderbird 2.0.0.12 (X11/20080313) MIME-Version: 1.0 To: "Alphons \"Fonz\" van Werven" References: <20080326124324.GA1756@rebelion.Sisis.de> <47EA53D5.4070106@student.utwente.nl> <47EA73D9.6050302@freebsd.org> <47EA8949.9070700@student.utwente.nl> <47EAA6B8.8030809@unsane.co.uk> <47EAABFB.8070008@student.utwente.nl> In-Reply-To: <47EAABFB.8070008@student.utwente.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Sam Leffler , Matthias Apitz , freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: 7.0-RELEASE && panic after ~4 hours X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2008 22:45:40 -0000 Alphons "Fonz" van Werven wrote: > Vince wrote: > >> Not true. under 7-current for me wpa works on my wpi adapter. > > Care to elaborate on what you did? Because in my and some other people's > cases > we can't get wpi to work with wpa_supplicant no matter what we try. > > Alphons (as can be seen in some previous threads) > Nothing special. Oh and Thats 7-STABLE not current (sorry was following 7 as current for ages and forgot its finally stable :) All i need to do is ifconfig wpi0 up then wpa_supplicant -i wpi0 -c /etc/wpa_supplicant.conf I can send my wpa_supplicant.conf if you like (but later as my wife is using that laptop booted into windows.) The laptop is a Dell Inspiron 640m Vince From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 26 23:03:45 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D72DD106564A; Wed, 26 Mar 2008 23:03:45 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (unknown [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 2A3F28FC1C; Wed, 26 Mar 2008 23:03:44 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from crab.unsane.co.uk (crab.unsane.co.uk [10.0.0.111]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id m2QN3kc2064539 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 26 Mar 2008 23:03:46 GMT (envelope-from jhary@unsane.co.uk) Message-ID: <47EAD54B.80505@unsane.co.uk> Date: Wed, 26 Mar 2008 22:59:23 +0000 From: Vince User-Agent: Thunderbird 2.0.0.12 (X11/20080313) MIME-Version: 1.0 To: "Alphons \"Fonz\" van Werven" References: <20080326124324.GA1756@rebelion.Sisis.de> <47EA53D5.4070106@student.utwente.nl> <47EA73D9.6050302@freebsd.org> <47EA8949.9070700@student.utwente.nl> <47EAA6B8.8030809@unsane.co.uk> <47EAB391.2080106@student.utwente.nl> In-Reply-To: <47EAB391.2080106@student.utwente.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Matthias Apitz , Sam Leffler , freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: 7.0-RELEASE && panic after ~4 hours X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2008 23:03:46 -0000 Alphons "Fonz" van Werven wrote: > Vince wrote: > >> under 7-current > > Just noted the -current thingy. I'm running 7-release, with or without a > patch by Andrew (2 kernels available). If it works with 7-current, perhaps > there are some patches I missed? > > Alphons > Entirely possible, I'm running these versions http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/wpi/?only_with_tag=RELENG_7 Doesnt look like the wpa_supplicant code has changed since 7-RELEASE http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/wpa/wpa_supplicant/?only_with_tag=RELENG_7 http://www.freebsd.org/cgi/cvsweb.cgi/src/contrib/wpa_supplicant/?only_with_tag=RELENG_7 or the underlying 80211 code http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/net80211/?only_with_tag=RELENG_7 Vince From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 26 23:26:04 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69C0A106564A; Wed, 26 Mar 2008 23:26:04 +0000 (UTC) (envelope-from a.j.werven@student.utwente.nl) Received: from mx.utwente.nl (unknown [IPv6:2001:610:1908:1000:204:23ff:feba:632a]) by mx1.freebsd.org (Postfix) with ESMTP id DA64C8FC17; Wed, 26 Mar 2008 23:26:03 +0000 (UTC) (envelope-from a.j.werven@student.utwente.nl) Received: from [127.0.0.1] (vpn181210.student.utwente.nl [130.89.181.210]) by mx.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id m2QNLuli018006; Thu, 27 Mar 2008 00:22:02 +0100 Message-ID: <47EADA95.2020004@student.utwente.nl> Date: Wed, 26 Mar 2008 23:21:57 +0000 From: "Alphons \"Fonz\" van Werven" User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Vince References: <20080326124324.GA1756@rebelion.Sisis.de> <47EA53D5.4070106@student.utwente.nl> <47EA73D9.6050302@freebsd.org> <47EA8949.9070700@student.utwente.nl> <47EAA6B8.8030809@unsane.co.uk> <47EAB391.2080106@student.utwente.nl> <47EAD54B.80505@unsane.co.uk> In-Reply-To: <47EAD54B.80505@unsane.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact servicedesk@icts.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: a.j.werven@student.utwente.nl X-Spam-Status: No Cc: Sam Leffler , Matthias Apitz , freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: 7.0-RELEASE && panic after ~4 hours X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2008 23:26:04 -0000 Vince wrote: >> there are some patches I missed? > Entirely possible, I'm running these versions Thanks Vince, I'll check it out tomorrow (as well as gathering debug info for the rum driver, btw), as it's getting quite late now. At the moment, I have FreeBSD on my laptop but I can't do much with it because I need the WiFi stuff (either wpi or rum, whichever works) for Internet access. But I've been using FreeBSD over the wire for years so there will be a small party when I can finally use my favorite OS again :-) Later, Alphons -- All right, that does it Bill [Donahue]. I'm pretty sure that killing Jesus is not very Christian. -- pope Benedict XVI, South Park episode #158 From owner-freebsd-mobile@FreeBSD.ORG Thu Mar 27 03:42:52 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B335E106564A for ; Thu, 27 Mar 2008 03:42:52 +0000 (UTC) (envelope-from ambrisko@ambrisko.com) Received: from mail.ambrisko.com (mail.ambrisko.com [64.174.51.43]) by mx1.freebsd.org (Postfix) with ESMTP id 860B68FC18 for ; Thu, 27 Mar 2008 03:42:52 +0000 (UTC) (envelope-from ambrisko@ambrisko.com) Received: from server2.ambrisko.com (HELO www.ambrisko.com) ([192.168.1.2]) by ironport2.ambrisko.com with ESMTP; 26 Mar 2008 20:07:10 -0700 Received: from ambrisko.com (localhost [127.0.0.1]) by www.ambrisko.com (8.14.1/8.12.11) with ESMTP id m2R3E7Nb087985; Wed, 26 Mar 2008 19:14:07 -0800 (PST) (envelope-from ambrisko@ambrisko.com) Received: (from ambrisko@localhost) by ambrisko.com (8.14.1/8.13.1/Submit) id m2R3E7TW087984; Wed, 26 Mar 2008 20:14:07 -0700 (PDT) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200803270314.m2R3E7TW087984@ambrisko.com> In-Reply-To: <0319208F-8098-4EAA-B3DA-22C6FE1C02DD@langille.org> To: Dan Langille Date: Wed, 26 Mar 2008 20:14:07 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL94b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Cc: freebsd-mobile@freebsd.org Subject: Re: battery monitor with KDE 64 bit X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2008 03:42:52 -0000 Dan Langille writes: | I'm running 7.0 amd64 with KDE 3.5 | | sysutils/klaptopdaemon works only on i386 | | What battery monitor software are you using? Try to convert it from APM to ACPI. This patch to sysutils/xbatt works for me on both i386/amd64. Index: Makefile =================================================================== RCS file: /cvs/ports/sysutils/xbatt/Makefile,v retrieving revision 1.15 diff -u -p -r1.15 Makefile --- Makefile 19 May 2007 20:23:41 -0000 1.15 +++ Makefile 27 Mar 2008 03:07:19 -0000 @@ -14,7 +14,7 @@ MASTER_SITES= http://www.clave.gr.jp/~et MAINTAINER= nobu@psrc.isac.co.jp COMMENT= Laptop battery status display for X11 -ONLY_FOR_ARCHS= i386 +ONLY_FOR_ARCHS= i386 amd64 USE_IMAKE= yes USE_XPM= yes --- /dev/null 2008-03-26 20:00:00.000000000 -0700 +++ files/patch-acpi 2007-03-21 15:06:19.000000000 -0700 @@ -0,0 +1,69 @@ +--- xbatt.c.orig Wed Mar 21 14:21:28 2007 ++++ xbatt.c Wed Mar 21 15:05:10 2007 +@@ -60,9 +60,13 @@ + #endif + + #ifdef __FreeBSD__ ++#include ++#include ++/* + # include + # define APMDEV21 "/dev/apm0" + # define APMDEV22 "/dev/apm" ++*/ + #endif + + #include "pixmaps/battery.xpm" +@@ -185,6 +189,7 @@ main( + XtAppContext appContext; + + #if !defined(NOAPM) && defined(__FreeBSD__) ++#if DJA + /* initialize APM Interface */ + if ((apmfd = open(APMDEV21, O_RDWR)) == -1) { + if ((apmfd = open(APMDEV22, O_RDWR)) == -1) { +@@ -194,6 +199,7 @@ main( + } + } + #endif ++#endif + + /* start X-Window session */ + XtSetLanguageProc( NULL, NULL, NULL ); +@@ -317,6 +323,7 @@ struct status getBatteryStatus() + { + struct status ret; + #ifdef __FreeBSD__ ++#if DJA + struct apm_info info; + + #ifndef NOAPM +@@ -370,6 +377,28 @@ struct status getBatteryStatus() + ret.charge = APM_STAT_BATT_HIGH; /* I only want to know, */ + /* chrging or not. */ + } ++#else ++ int remain, charge, len, error, junk; ++ ++ bzero(&ret, sizeof(ret)); ++ len = sizeof(remain); ++ error = sysctlbyname("hw.acpi.battery.life", ++ &remain, &len, NULL, 0); ++ if (error == 0) ++ remain == 0; ++ ++ len = sizeof(charge); ++ error = sysctlbyname("hw.acpi.battery.state", ++ &charge, &len, NULL, 0); ++ if (error == 0 && charge == 0) { ++ ret.acline = APM_STAT_LINE_ON; ++ ret.charge = APM_STAT_BATT_CHARGING; ++ } else { ++ ret.acline = APM_STAT_LINE_OFF; ++ ret.charge = APM_STAT_BATT_HIGH; ++ } ++ ret.remain = remain; ++#endif + #endif /* FreeBSD */ + + #ifdef __linux__ The #if DJA can be removed. I left it in to compare the old and new code. If this seems to be a reasonable approach then I can remove the DJA part and send it to the maintainer. Doug A. Doug A. From owner-freebsd-mobile@FreeBSD.ORG Thu Mar 27 04:03:13 2008 Return-Path: Delivered-To: freebsd-mobile@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D677D106566B for ; Thu, 27 Mar 2008 04:03:13 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from ns.kevlo.org (kevlo.org [220.128.136.52]) by mx1.freebsd.org (Postfix) with ESMTP id 110468FC37 for ; Thu, 27 Mar 2008 04:03:06 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from [127.0.0.1] (ns.kevlo.org [220.128.136.52]) by ns.kevlo.org (8.14.2/8.14.2) with ESMTP id m2R3RI1V016725; Thu, 27 Mar 2008 11:27:19 +0800 (CST) (envelope-from kevlo@FreeBSD.org) From: Kevin Lo To: Alphons Fonz van Werven In-Reply-To: <47EAAEB8.6000204@freebsd.org> References: <20080326124324.GA1756@rebelion.Sisis.de> <47EA53D5.4070106@student.utwente.nl> <47EA73D9.6050302@freebsd.org> <47EA8949.9070700@student.utwente.nl> <47EA8E43.1080308@freebsd.org> <47EA94AD.5010400@student.utwente.nl> <47EAAEB8.6000204@freebsd.org> Content-Type: text/plain; charset=UTF-8 Date: Thu, 27 Mar 2008 11:30:14 +0800 Message-Id: <1206588614.6146.23.camel@monet> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 8bit Cc: Matthias Apitz , Sam Leffler , freebsd-mobile@FreeBSD.org Subject: Re: 7.0-RELEASE && panic after ~4 hours X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2008 04:03:14 -0000 On 三, 2008-03-26 at 13:14 -0700, Sam Leffler wrote: > Alphons "Fonz" van Werven wrote: > > Sam Leffler wrote: > > > >> You said there were panics; please point me at PR's that show them > > > > See below. > > > >> Understand that most all Intel wireless cards up to the 4965 have issues > >> with firmware mis-design that make developing reliable drivers hard > >> (even > >> more so given Intel's unwillingness in helping anyone not using linux). > > > > I'm aware of that. Therefore, it wasn't my intent to criticise, merely to > > observe. > > > >>> rum: Works but panics after a while. PR has been filed, but seems to > >>> be stuck at feedback status (anyone know more about this one?). > > > >> PR #? Unfortunately my rum card seems to have vanished. The > >> committer looking after rum has been occupied which may explain the > >> inaction. > > > > kern/120966 > > > > The PR was sent by somebody else, but I have the same problem and I can > > reproduce it, so if any additional info is needed I'd be more than happy > > to provide it. > > Looks like the driver isn't clearing pending xfer's properly. > Unfortunately this is a good example of how there's insufficient info to > make progress; the output of wpa_supplicant -d and/or wlandebug > state+scan would help a lot (the latter more than the former). > > Unfortunately I can't do much until I locate my stick. Hopefully Kevin > will re-appear and look at the issue. Sorry to reply so late because I'm busy with my work. The backtrace of the kernel panic you got shows that the variable priv/data itself is null in rum_txeof() so the added check for data->m is a null pointer dereference itself. Would you simply add a null pointer to check for data/priv to the rum_txeof() function and see whether it improves the situation? Thanks. > Sam Kevin From owner-freebsd-mobile@FreeBSD.ORG Thu Mar 27 04:20:57 2008 Return-Path: Delivered-To: freebsd-mobile@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B5C9106566C; Thu, 27 Mar 2008 04:20:57 +0000 (UTC) (envelope-from a.j.werven@student.utwente.nl) Received: from mx.utwente.nl (unknown [IPv6:2001:610:1908:1000:204:23ff:feb7:b8fe]) by mx1.freebsd.org (Postfix) with ESMTP id D8A168FC1F; Thu, 27 Mar 2008 04:20:56 +0000 (UTC) (envelope-from a.j.werven@student.utwente.nl) Received: from [127.0.0.1] (vpn181210.student.utwente.nl [130.89.181.210]) by mx.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id m2R4KgNN010302; Thu, 27 Mar 2008 05:20:47 +0100 Message-ID: <47EB209B.4000203@student.utwente.nl> Date: Thu, 27 Mar 2008 04:20:43 +0000 From: "Alphons \"Fonz\" van Werven" User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Kevin Lo References: <20080326124324.GA1756@rebelion.Sisis.de> <47EA53D5.4070106@student.utwente.nl> <47EA73D9.6050302@freebsd.org> <47EA8949.9070700@student.utwente.nl> <47EA8E43.1080308@freebsd.org> <47EA94AD.5010400@student.utwente.nl> <47EAAEB8.6000204@freebsd.org> <1206588614.6146.23.camel@monet> In-Reply-To: <1206588614.6146.23.camel@monet> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact servicedesk@icts.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: a.j.werven@student.utwente.nl X-Spam-Status: No Cc: Matthias Apitz , Sam Leffler , freebsd-mobile@FreeBSD.org Subject: Re: 7.0-RELEASE && panic after ~4 hours X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2008 04:20:57 -0000 Kevin Lo wrote: > The backtrace of the kernel panic you got shows that the variable > priv/data itself is null in rum_txeof() That's exactly the function causing the panic. > Would you simply add a null pointer to check for data/priv to the > rum_txeof() function and see whether it improves the situation? Not tonight, due to consumption of a certain slightly narcotic carbon- hydroxic substance commonly found in liquid mood-enhancers. But I'll be on it tomorrow. Cheers, Fonz -- All right, that does it Bill [Donahue]. I'm pretty sure that killing Jesus is not very Christian. -- pope Benedict XVI, South Park episode #158 From owner-freebsd-mobile@FreeBSD.ORG Thu Mar 27 05:54:00 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F4DA106564A; Thu, 27 Mar 2008 05:54:00 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id C87118FC17; Thu, 27 Mar 2008 05:53:59 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from Macintosh-2.local ([10.0.0.196]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id m2R5rjXQ064087 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 26 Mar 2008 22:53:52 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <47EB3669.8090909@freebsd.org> Date: Wed, 26 Mar 2008 22:53:45 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Sepherosa Ziehau References: <20080326124324.GA1756@rebelion.Sisis.de> <47EA53D5.4070106@student.utwente.nl> <47EA73D9.6050302@freebsd.org> <47EA8949.9070700@student.utwente.nl> <47EA8E43.1080308@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-URT-Metrics: ebb.errno.com; whitelist Cc: Matthias Apitz , Andrew Thompson , Alphons Fonz van Werven , freebsd-mobile@freebsd.org Subject: Re: 7.0-RELEASE && panic after ~4 hours X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2008 05:54:00 -0000 Sepherosa Ziehau wrote: > On Thu, Mar 27, 2008 at 1:56 AM, Sam Leffler wrote: >> Alphons "Fonz" van Werven wrote: >> >>> Sam Leffler wrote: >> > >> >> I am aware only of issues with USB adapters being removed while >> >> wpa_supplicant is running. >> > >> > Actually, there's more I'm afraid. >> > >> > iwi: Don't know because I don't use that one. But it's a "cousin" of >> > wpi and >> > if I'm not mistaken it was the same person who initiated >> > development of >> > both drivers. >> > >> > wpi: No panics, but just doesn't work with wpa_supplicant at all >> > (fails to >> > associate). This is a known problem and people are working on it. >> >> You said there were panics; please point me at PR's that show them or >> stop saying it. Also these drivers are completely different and linking >> them is uninformed. >> >> The problem with almost all the reports I've seen is they lack >> sufficient info to even respond. Understand that most all Intel >> wireless cards up to the 4965 have issues with firmware mis-design that >> make developing reliable drivers hard (even more so given Intel's >> unwillingness in helping anyone not using linux). For example the >> ipw+iwi drivers try to work around the fact there is no way to scan w/o > > I can't comment on iwi. For ipw+1.3firmare and in STA mode, clearing > BSSID before starting the firmware can prevent firmware from > auth/assoc. However, the scan channel mask in STA mode is completely > ignored by firmware, but in IBSS mode, the scan channel mask is > obeyed. In dfly, I did following stuffs in the new driver (ipw was > dumped): > 1) before scanning (i.e. before starting the firmware; since once the > firmware is started, it will start scanning; scan command is actually > ignored), the BSSID is cleared > 2) After 802.11 generic layer has picked up the BSS to join, reinit > the firmware but this time set the BSSID of the selected BSS to > firmware. That's basically how my rewrite of ipw deals with the issue(s). I invalidate the state so the firmware cannot locate an ap to join. The problem however is that the firmware will continue to scan until the host resets state such that it can join. This "skid" leads to various issues that are made worse by the scan abort command not working reliably. I just did a rewrite of wi that takes a different tack that might also work for ipw. I set the card in monitor mode and scan using net80211 to handle the hard work. Once scan results are collected the driver then brings the firmware up and instructs it to join a specific bssid on a specific channel. I expect this will finally allow proper integration with wpa_supplicant. Sam From owner-freebsd-mobile@FreeBSD.ORG Thu Mar 27 06:03:03 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45CEB106566B for ; Thu, 27 Mar 2008 06:03:03 +0000 (UTC) (envelope-from sepherosa@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.250]) by mx1.freebsd.org (Postfix) with ESMTP id F16988FC13 for ; Thu, 27 Mar 2008 06:03:02 +0000 (UTC) (envelope-from sepherosa@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so91279anc.13 for ; Wed, 26 Mar 2008 23:02:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=I3ne8KRaRMZXuqYo6BrG0zjGCknVjhcEtp+on0pt2VU=; b=MpYVO0yKx2CiYXU1WWMEWnZrjULxbL2w8Z6qOKNCLPITU8FX+9VjSG/FSxbRNEk55O5v4rK8uhs7sCew80gHzjJBaWnSfXpAWSfR71WbX3/mJmkSuppEE+eh0x89Er3az4IUmzfgOwApyE472sGAhLNpK2LcaY9PUFnTAsw6aQE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=f9iz/a7jMZ7iTtpqgalNqJoQoqnI/orB+HfUjm7S7QLZmgXboKetena3fnVazTb8mDOPjzVRS8ClSEBQVa+jxl5kCIv+7q1ofIoJshXa4YVR2ksvgTEPkvoTNyAvhb7PNxmMZ4u4kk65MgA3rWoPlMKDrYnYizFzf9Lj76u6qm4= Received: by 10.101.1.12 with SMTP id d12mr2277784ani.31.1206596161301; Wed, 26 Mar 2008 22:36:01 -0700 (PDT) Received: by 10.100.8.19 with HTTP; Wed, 26 Mar 2008 22:36:01 -0700 (PDT) Message-ID: Date: Thu, 27 Mar 2008 13:36:01 +0800 From: "Sepherosa Ziehau" To: "Sam Leffler" In-Reply-To: <47EA8E43.1080308@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080326124324.GA1756@rebelion.Sisis.de> <47EA53D5.4070106@student.utwente.nl> <47EA73D9.6050302@freebsd.org> <47EA8949.9070700@student.utwente.nl> <47EA8E43.1080308@freebsd.org> Cc: Matthias Apitz , Andrew Thompson , Alphons Fonz van Werven , freebsd-mobile@freebsd.org Subject: Re: 7.0-RELEASE && panic after ~4 hours X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2008 06:03:03 -0000 On Thu, Mar 27, 2008 at 1:56 AM, Sam Leffler wrote: > Alphons "Fonz" van Werven wrote: > > > Sam Leffler wrote: > > > >> I am aware only of issues with USB adapters being removed while > >> wpa_supplicant is running. > > > > Actually, there's more I'm afraid. > > > > iwi: Don't know because I don't use that one. But it's a "cousin" of > > wpi and > > if I'm not mistaken it was the same person who initiated > > development of > > both drivers. > > > > wpi: No panics, but just doesn't work with wpa_supplicant at all > > (fails to > > associate). This is a known problem and people are working on it. > > You said there were panics; please point me at PR's that show them or > stop saying it. Also these drivers are completely different and linking > them is uninformed. > > The problem with almost all the reports I've seen is they lack > sufficient info to even respond. Understand that most all Intel > wireless cards up to the 4965 have issues with firmware mis-design that > make developing reliable drivers hard (even more so given Intel's > unwillingness in helping anyone not using linux). For example the > ipw+iwi drivers try to work around the fact there is no way to scan w/o I can't comment on iwi. For ipw+1.3firmare and in STA mode, clearing BSSID before starting the firmware can prevent firmware from auth/assoc. However, the scan channel mask in STA mode is completely ignored by firmware, but in IBSS mode, the scan channel mask is obeyed. In dfly, I did following stuffs in the new driver (ipw was dumped): 1) before scanning (i.e. before starting the firmware; since once the firmware is started, it will start scanning; scan command is actually ignored), the BSSID is cleared 2) After 802.11 generic layer has picked up the BSS to join, reinit the firmware but this time set the BSSID of the selected BSS to firmware. Best Regards, sephe -- Live Free or Die From owner-freebsd-mobile@FreeBSD.ORG Thu Mar 27 06:03:31 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 540561065671; Thu, 27 Mar 2008 06:03:31 +0000 (UTC) (envelope-from sziszi@bsd.hu) Received: from mail.rubicom.hu (mail.rubicom.hu [89.147.80.28]) by mx1.freebsd.org (Postfix) with ESMTP id 0AFEF8FC1F; Thu, 27 Mar 2008 06:03:30 +0000 (UTC) (envelope-from sziszi@bsd.hu) Received: from localhost ([127.0.0.1] helo=mail.rubicom.hu) by mail.rubicom.hu with smtp (Exim 4.63) (envelope-from ) id 1Jeke7-00073v-H7; Thu, 27 Mar 2008 06:27:27 +0100 Received: from ip5993549e.rubicom.hu ([89.147.84.158] helo=baranyfelhocske.buza.adamsfamily.xx) by mail.rubicom.hu with esmtp (Exim 4.63) (envelope-from ) id 1Jekdt-00071c-EJ; Thu, 27 Mar 2008 06:27:13 +0100 Received: from baranyfelhocske.buza.adamsfamily.xx (localhost [127.0.0.1]) by baranyfelhocske.buza.adamsfamily.xx (8.14.2/8.14.2) with ESMTP id m2R5RDKF002267; Thu, 27 Mar 2008 06:27:13 +0100 (CET) (envelope-from sziszi@bsd.hu) Received: (from sziszi@localhost) by baranyfelhocske.buza.adamsfamily.xx (8.14.2/8.14.2/Submit) id m2R5RDHS002266; Thu, 27 Mar 2008 06:27:13 +0100 (CET) (envelope-from sziszi@bsd.hu) X-Authentication-Warning: baranyfelhocske.buza.adamsfamily.xx: sziszi set sender to sziszi@bsd.hu using -f Date: Thu, 27 Mar 2008 06:27:13 +0100 From: Szilveszter Adam To: freebsd-mobile@freebsd.org, freebsd-questions@freebsd.org Message-ID: <20080327052713.GC1457@baranyfelhocske.buza.adamsfamily.xx> Mail-Followup-To: Szilveszter Adam , freebsd-mobile@freebsd.org, freebsd-questions@freebsd.org References: <20080326124324.GA1756@rebelion.Sisis.de> <47EA53D5.4070106@student.utwente.nl> <47EA73D9.6050302@freebsd.org> <47EA8949.9070700@student.utwente.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47EA8949.9070700@student.utwente.nl> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Subject: Re: 7.0-RELEASE && panic after ~4 hours X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2008 06:03:31 -0000 On Wed, Mar 26, 2008 at 05:35:05PM +0000, Alphons Fonz van Werven wrote: > Sam Leffler wrote: > >> I am aware only of issues with USB adapters being removed while >> wpa_supplicant is running. > > Actually, there's more I'm afraid. > > iwi: Don't know because I don't use that one. But it's a "cousin" of wpi and > if I'm not mistaken it was the same person who initiated development of > both drivers. You did not specifically name any problems, but I most decidedly cannot confirm brokenness with iwi, as it stands now. Earlier I also used to get firmware crashes (but I not only use WPA2, but also a hidden SSID, which may complicate matters even more) But these are gone with recent -CURRENT (and yes, this is 8-CURRENT in this case), I use it without probs right now. FWIW, I also had good results with ral(4) (but did not try ural(4)). -- Regards: Szilveszter ADAM Budapest Hungary From owner-freebsd-mobile@FreeBSD.ORG Thu Mar 27 06:33:01 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F17B4106568C for ; Thu, 27 Mar 2008 06:33:00 +0000 (UTC) (envelope-from sepherosa@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.243]) by mx1.freebsd.org (Postfix) with ESMTP id A64E38FC1D for ; Thu, 27 Mar 2008 06:33:00 +0000 (UTC) (envelope-from sepherosa@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so94290anc.13 for ; Wed, 26 Mar 2008 23:32:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=VZa9Kc5BOnPEAbauKWS8AW7Jut+pOgD5STe1FkoTdHI=; b=c+UZaMW25QinH9vA7B1HHXYwkuaPVcDfgnhlj9LKubY7iQ8BifNMNdgdQj1Pg9EqbziTqSN9etvyWWbw2QbkDuGZpKsGS51833YUs82s80r6HbkoIatp2M3Ot3kf34GyxcQ8zj4KTobTyWGrIU/Lj/t+nW7GjEmPp7qdvPXr7/A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=upN7aw9ghbPk9ueV+j4OrOOP6Fyu/XGrzlLIbIyR2V+dcNb4PYBKmZV4NMTsWQ4L/UwM/if1sbTQEElOGm2O8A63dXsDhw7DkRwHH+qB96AJjjL+loCNyc7s5t368jXWmWHxwntNHc0SkozNDKeEsnqMYtBHn/bNOWwIoOMbm2M= Received: by 10.100.249.9 with SMTP id w9mr2366143anh.63.1206599579819; Wed, 26 Mar 2008 23:32:59 -0700 (PDT) Received: by 10.100.8.19 with HTTP; Wed, 26 Mar 2008 23:32:59 -0700 (PDT) Message-ID: Date: Thu, 27 Mar 2008 14:32:59 +0800 From: "Sepherosa Ziehau" To: "Sam Leffler" In-Reply-To: <47EB3669.8090909@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080326124324.GA1756@rebelion.Sisis.de> <47EA53D5.4070106@student.utwente.nl> <47EA73D9.6050302@freebsd.org> <47EA8949.9070700@student.utwente.nl> <47EA8E43.1080308@freebsd.org> <47EB3669.8090909@freebsd.org> Cc: Matthias Apitz , Andrew Thompson , Alphons Fonz van Werven , freebsd-mobile@freebsd.org Subject: Re: 7.0-RELEASE && panic after ~4 hours X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2008 06:33:01 -0000 On Thu, Mar 27, 2008 at 1:53 PM, Sam Leffler wrote: > > Sepherosa Ziehau wrote: > > On Thu, Mar 27, 2008 at 1:56 AM, Sam Leffler wrote: > >> Alphons "Fonz" van Werven wrote: > >> > >>> Sam Leffler wrote: > >> > > >> >> I am aware only of issues with USB adapters being removed while > >> >> wpa_supplicant is running. > >> > > >> > Actually, there's more I'm afraid. > >> > > >> > iwi: Don't know because I don't use that one. But it's a "cousin" of > >> > wpi and > >> > if I'm not mistaken it was the same person who initiated > >> > development of > >> > both drivers. > >> > > >> > wpi: No panics, but just doesn't work with wpa_supplicant at all > >> > (fails to > >> > associate). This is a known problem and people are working on it. > >> > >> You said there were panics; please point me at PR's that show them or > >> stop saying it. Also these drivers are completely different and linking > >> them is uninformed. > >> > >> The problem with almost all the reports I've seen is they lack > >> sufficient info to even respond. Understand that most all Intel > >> wireless cards up to the 4965 have issues with firmware mis-design that > >> make developing reliable drivers hard (even more so given Intel's > >> unwillingness in helping anyone not using linux). For example the > >> ipw+iwi drivers try to work around the fact there is no way to scan w/o > > > > I can't comment on iwi. For ipw+1.3firmare and in STA mode, clearing > > BSSID before starting the firmware can prevent firmware from > > auth/assoc. However, the scan channel mask in STA mode is completely > > ignored by firmware, but in IBSS mode, the scan channel mask is > > obeyed. In dfly, I did following stuffs in the new driver (ipw was > > dumped): > > 1) before scanning (i.e. before starting the firmware; since once the > > firmware is started, it will start scanning; scan command is actually > > ignored), the BSSID is cleared > > 2) After 802.11 generic layer has picked up the BSS to join, reinit > > the firmware but this time set the BSSID of the selected BSS to > > firmware. > > That's basically how my rewrite of ipw deals with the issue(s). I > invalidate the state so the firmware cannot locate an ap to join. The > problem however is that the firmware will continue to scan until the > host resets state such that it can join. This "skid" leads to various > issues that are made worse by the scan abort command not working reliably. I stop the firmware completely if I want to make some configuration changes. Rest of the ways like what Intel's Linux driver does promise to give a firmware fatal error. My way obvious does not work with bgscan :( > > I just did a rewrite of wi that takes a different tack that might also > work for ipw. I set the card in monitor mode and scan using net80211 to I tried that way, when I wrote the new driver for ipw2100. It does not work on certain parts though: some parts can't hear packets or receive junked packets on channels above 11 when in monitor mode, but these parts work (e.g. scan) just fine in STA mode on channels above 11. Linux's intel driver uses different channel mask (different location in EEPROM) for IBSS and monitor mode, this channel mask contains less channels than the BSS channel mask. Though IBSS mode just works fine on all BSS channels listed in BSS channel mask, monitor mode only work on channels listed in the other channel mask. BTW, do you also imply that you inject scan probe packets in monitor mode ;)? Best Regards, sephe > handle the hard work. Once scan results are collected the driver then > brings the firmware up and instructs it to join a specific bssid on a > specific channel. I expect this will finally allow proper integration > with wpa_supplicant. > > Sam > > -- Live Free or Die From owner-freebsd-mobile@FreeBSD.ORG Thu Mar 27 14:28:13 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A2D51065677 for ; Thu, 27 Mar 2008 14:28:13 +0000 (UTC) (envelope-from Benjamin.Close@clearchain.com) Received: from ipmail01.adl6.internode.on.net (ipmail01.adl6.internode.on.net [203.16.214.146]) by mx1.freebsd.org (Postfix) with ESMTP id 894B68FC26 for ; Thu, 27 Mar 2008 14:28:12 +0000 (UTC) (envelope-from Benjamin.Close@clearchain.com) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjEFADRG60d5LTqG/2dsb2JhbACBWqlJ X-IronPort-AV: E=Sophos;i="4.25,563,1199626200"; d="scan'208";a="70270829" Received: from ppp121-45-58-134.lns11.adl2.internode.on.net (HELO mail.clearchain.com) ([121.45.58.134]) by ipmail01.adl6.internode.on.net with ESMTP; 28 Mar 2008 00:42:53 +1030 Received: from [192.168.155.54] (taurus.internal.clearchain.com [192.168.155.54]) (authenticated bits=0) by mail.clearchain.com (8.14.2/8.14.2) with ESMTP id m2RECNNh003805 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 28 Mar 2008 00:42:24 +1030 (CST) (envelope-from Benjamin.Close@clearchain.com) Message-ID: <47EBAB5A.8070203@clearchain.com> Date: Fri, 28 Mar 2008 00:42:42 +1030 From: Benjamin Close User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Yousif Hassan References: <200803181157.m2IBvBLb000594@tausa.cc.uit.no><200803261002.m2QA2VNZ036148@tausa.cc.uit.no> <20080326184712.50100aac.torfinn.ingolfsen@broadpark.no> In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.92.1, clamav-milter version 0.92.1 on pegasus.clearchain.com X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (mail.clearchain.com [192.168.154.1]); Fri, 28 Mar 2008 00:42:25 +1030 (CST) Cc: freebsd-mobile@freebsd.org Subject: Re: if_wpi will not work for me X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2008 14:28:13 -0000 Yousif Hassan wrote: > Torfinn Ingolfsen wrote: >> Johan Johansen wrote: >> >>> Returning from my vacation, I notice that my problem is somewhat >>> different from what some of you other guys describe. I cant get a >>> wpi-device to work with at all. >>> >>> Booting without acpi makes no differens. >>> Applying patch wpi_releng7.diff makes no differens. >>> >>> Before I load if_wpi, pciconf says >>> none0@pci0:8:0:0: class=0x028000 card=0x135c103c >>> chip=0x42228086 rev=0x02 hdr=0x00 >>> vendor = 'Intel Corporation' >>> device = '10418086 Intel 3945ABG Wireless LAN controller' >>> class = network >>> and after >>> wpi0@pci0:8:0:0: class=0x028000 card=0x135c103c >>> chip=0x42228086 rev=0x02 hdr=0x00 >>> vendor = 'Intel Corporation' >>> device = '10418086 Intel 3945ABG Wireless LAN controller' >>> class = network >>> but still no wpi0 present. >>> >>> So, would it help to buy more memory, and if I do, where should I put >>> it? >> >> Just curious: why do you think that buying more memory will help? >> Because of the "cabn't allocate memory resource" message? >> AFAIU, that message indicates that there is something wrong with the >> way your acpi / bios tells FreeBSD what memory / how much memory it >> needs, not that the machine itself has too little memory. > > To wit, my experience has been that this message is innocuous. This > has been confirmed by Ben, who wrote the driver. I used to get these > messages but the wpi0 device would attach fine (it tends to get buried > during bootup messages after all that scroll - check dmesg). In > addition, Andrew's latest patches to -current and -stable resolve this > message - it no longer appears for me. So Johan, do not buy more > memory simply to solve this issue! > > Did you try those latest patches, and do you still see a problem? > > If your pciconf is reporting a "wpi0@...." in the device list, it > seems improbable that the device didn't attach - in that case you'd > have seen "noneX@..." This may be stating the obvious, but there are > specific steps you need to do to enable this device, including > accepting a license via /boot/loader.conf; did you follow them? Do > you have a dmesg confirming that the device did not attach? Do you > have the output of ifconfig for us to look at? I believe there is two issues here. The innocent message is: // wpi0: bus_dmamem_alloc failed to align memory properly. //This is handled by the driver and the driver version now in -Current/RELENG_7 has a proper fix preventing this from occurring. However, // // wpi0: could not allocate memory resource device_attach: wpi0 attach returned 6 Is caused by pci memory not being available. This seems to be occurring on pci-pci bridges on some laptops and will render you without a wpi device showing up. At present the cause is unknown but I'm working to try and fix it. It's not actually driver related but pci bus related. Also, adding more memory won't help fix the problem. Cheers, Benjamin From owner-freebsd-mobile@FreeBSD.ORG Thu Mar 27 15:51:46 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58093106564A for ; Thu, 27 Mar 2008 15:51:46 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id D8E398FC24 for ; Thu, 27 Mar 2008 15:51:45 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id m2RFpgAn068492 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Mar 2008 08:51:44 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <47EBC28E.4040803@freebsd.org> Date: Thu, 27 Mar 2008 08:51:42 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: Sepherosa Ziehau References: <20080326124324.GA1756@rebelion.Sisis.de> <47EA53D5.4070106@student.utwente.nl> <47EA73D9.6050302@freebsd.org> <47EA8949.9070700@student.utwente.nl> <47EA8E43.1080308@freebsd.org> <47EB3669.8090909@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-Misty-Metrics: ebb.errno.com; whitelist Cc: freebsd-mobile@freebsd.org Subject: Re: 7.0-RELEASE && panic after ~4 hours X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2008 15:51:46 -0000 Sepherosa Ziehau wrote: > On Thu, Mar 27, 2008 at 1:53 PM, Sam Leffler wrote: > > I just did a rewrite of wi that takes a different tack that might also >> work for ipw. I set the card in monitor mode and scan using net80211 to >> > > I tried that way, when I wrote the new driver for ipw2100. It does > not work on certain parts though: some parts can't hear packets or > receive junked packets on channels above 11 when in monitor mode, but > these parts work (e.g. scan) just fine in STA mode on channels above > 11. > Linux's intel driver uses different channel mask (different location > in EEPROM) for IBSS and monitor mode, this channel mask contains less > channels than the BSS channel mask. Though IBSS mode just works fine > on all BSS channels listed in BSS channel mask, monitor mode only work > on channels listed in the other channel mask. > > BTW, do you also imply that you inject scan probe packets in monitor mode ;)? > I can for wi; that's why I did the experiment. I haven't tested a wide variety of cards (my Lucent cards are AWOL) but it works so far on various Intersil/Prism cards. On older cards like the MA401 scanning is slower than using firmware as I sometimes don't see traffic on a channel for a scan but since these cards are 11b only it doesn't seem like a big deal (i.e. very few channels to visit). The other thing I did was drop support for Symbol cards as the driver did numerous handstands to accomodate it. The result is that wi is now one of the smallest drivers in lines of code. Sam From owner-freebsd-mobile@FreeBSD.ORG Thu Mar 27 15:55:19 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40F871065670 for ; Thu, 27 Mar 2008 15:55:19 +0000 (UTC) (envelope-from dan@langille.org) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) by mx1.freebsd.org (Postfix) with ESMTP id 16A0A8FC16 for ; Thu, 27 Mar 2008 15:55:18 +0000 (UTC) (envelope-from dan@langille.org) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id AD6FD50A92; Thu, 27 Mar 2008 15:55:14 +0000 (GMT) X-Virus-Scanned: amavisd-new at unixathome.org Received: from nyi.unixathome.org ([127.0.0.1]) by localhost (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2RaDLTASgYqo; Thu, 27 Mar 2008 15:55:09 +0000 (GMT) Received: from [192.168.2.5] (ismtp.afilias.com [216.217.55.254]) by nyi.unixathome.org (Postfix) with ESMTPSA id 715A350A85; Thu, 27 Mar 2008 15:55:05 +0000 (GMT) In-Reply-To: <200803270314.m2R3E7TW087984@ambrisko.com> References: <200803270314.m2R3E7TW087984@ambrisko.com> Mime-Version: 1.0 (Apple Message framework v753) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Dan Langille Date: Thu, 27 Mar 2008 11:54:33 -0400 To: Doug Ambrisko X-Mailer: Apple Mail (2.753) Cc: freebsd-mobile@freebsd.org Subject: Re: battery monitor with KDE 64 bit X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2008 15:55:19 -0000 On Mar 26, 2008, at 11:14 PM, Doug Ambrisko wrote: > Dan Langille writes: > | I'm running 7.0 amd64 with KDE 3.5 > | > | sysutils/klaptopdaemon works only on i386 > | > | What battery monitor software are you using? > > Try to convert it from APM to ACPI. This patch to sysutils/xbatt > works for me on both i386/amd64. > > Index: Makefile > =================================================================== > RCS file: /cvs/ports/sysutils/xbatt/Makefile,v Good idea. The following works: export WITH_ACPI make install \o/ No conversion necessary. :) Thank you for the idea. -- Dan Langille -- http://www.langille.org/ dan@langille.org From owner-freebsd-mobile@FreeBSD.ORG Thu Mar 27 16:26:53 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7CA21065670 for ; Thu, 27 Mar 2008 16:26:53 +0000 (UTC) (envelope-from ambrisko@ambrisko.com) Received: from mail.ambrisko.com (mail.ambrisko.com [64.174.51.43]) by mx1.freebsd.org (Postfix) with ESMTP id C7BDD8FC15 for ; Thu, 27 Mar 2008 16:26:53 +0000 (UTC) (envelope-from ambrisko@ambrisko.com) Received: from server2.ambrisko.com (HELO www.ambrisko.com) ([192.168.1.2]) by ironport2.ambrisko.com with ESMTP; 27 Mar 2008 09:19:55 -0700 Received: from ambrisko.com (localhost [127.0.0.1]) by www.ambrisko.com (8.14.1/8.12.11) with ESMTP id m2RGQqpG032432; Thu, 27 Mar 2008 08:26:52 -0800 (PST) (envelope-from ambrisko@ambrisko.com) Received: (from ambrisko@localhost) by ambrisko.com (8.14.1/8.13.1/Submit) id m2RGQqv1032431; Thu, 27 Mar 2008 09:26:52 -0700 (PDT) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200803271626.m2RGQqv1032431@ambrisko.com> In-Reply-To: To: Dan Langille Date: Thu, 27 Mar 2008 09:26:52 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL94b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Cc: freebsd-mobile@freebsd.org Subject: Re: battery monitor with KDE 64 bit X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2008 16:26:54 -0000 Dan Langille writes: | On Mar 26, 2008, at 11:14 PM, Doug Ambrisko wrote: | > Dan Langille writes: | > | I'm running 7.0 amd64 with KDE 3.5 | > | | > | sysutils/klaptopdaemon works only on i386 | > | | > | What battery monitor software are you using? | > | > Try to convert it from APM to ACPI. This patch to sysutils/xbatt | > works for me on both i386/amd64. | > | > Index: Makefile | > =================================================================== | > RCS file: /cvs/ports/sysutils/xbatt/Makefile,v | | Good idea. The following works: | | export WITH_ACPI | make install | | \o/ | | No conversion necessary. :) Thank you for the idea. That was easy! Doug A. From owner-freebsd-mobile@FreeBSD.ORG Fri Mar 28 11:37:24 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 567C21065674 for ; Fri, 28 Mar 2008 11:37:24 +0000 (UTC) (envelope-from johan@tausa.cc.uit.no) Received: from mux1.uit.no (mux1.uit.no [129.242.4.252]) by mx1.freebsd.org (Postfix) with ESMTP id BB9808FC16 for ; Fri, 28 Mar 2008 11:37:23 +0000 (UTC) (envelope-from johan@tausa.cc.uit.no) Received: from flode.cc.uit.no (flode.cc.uit.no [129.242.6.250]) by mux1.uit.no (8.13.8/8.13.6/Mux) with ESMTP id m2SBbLKe076919 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 28 Mar 2008 12:37:21 +0100 (CET) Received: from tausa.cc.uit.no (tausa.cc.uit.no [129.242.6.78]) by flode.cc.uit.no (8.13.3/8.13.3) with ESMTP id m2SBbXh5091875 for ; Fri, 28 Mar 2008 12:37:33 +0100 (CET) (envelope-from johan@tausa.cc.uit.no) Received: from tausa.cc.uit.no (localhost.cc.uit.no [127.0.0.1]) by tausa.cc.uit.no (8.14.2/8.14.2) with ESMTP id m2SBbL1F044376 for ; Fri, 28 Mar 2008 12:37:21 +0100 (CET) (envelope-from johan@tausa.cc.uit.no) Message-Id: <200803281137.m2SBbL1F044376@tausa.cc.uit.no> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: freebsd-mobile@freebsd.org In-reply-to: <47EBAB5A.8070203@clearchain.com> References: <200803181157.m2IBvBLb000594@tausa.cc.uit.no> <200803261002.m2QA2VNZ036148@tausa.cc.uit.no> <20080326184712.50100aac.torfinn.ingolfsen@broadpark.no> <47EBAB5A.8070203@clearchain.com> Comments: In-reply-to Benjamin Close message dated "Fri, 28 Mar 2008 00:42:42 +1030." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 28 Mar 2008 12:37:21 +0100 From: Johan Johansen X-Virus-Scanned: : ok X-Scanned-By: MIMEDefang 2.63 on 129.242.4.252 Subject: Re: if_wpi will not work for me X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Mar 2008 11:37:24 -0000 > I believe there is two issues here. The innocent message is: > > // wpi0: bus_dmamem_alloc failed to align memory properly. > > //This is handled by the driver and the driver version now in > -Current/RELENG_7 has a proper fix preventing this from occurring. > > However, // > > // wpi0: could not allocate memory resource > device_attach: wpi0 attach returned 6 > > Is caused by pci memory not being available. This seems to be occurring > on pci-pci bridges on some laptops and will render you without a wpi > device showing up. > At present the cause is unknown but I'm working to try and fix it. It's > not actually driver related but pci bus related. > > Also, adding more memory won't help fix the problem. > > Cheers, > Benjamin > Nice, then I know it is not necessarily my fault this is not working. Thank you. And also thanks to you other guys trying to help. I'll just stick to my old Wavelan Silver card for now. My network admin will be grumpy, but him I can handle. mvh Johan From owner-freebsd-mobile@FreeBSD.ORG Fri Mar 28 16:44:06 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70E7C106566B for ; Fri, 28 Mar 2008 16:44:06 +0000 (UTC) (envelope-from dan@langille.org) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) by mx1.freebsd.org (Postfix) with ESMTP id 36F7F8FC24 for ; Fri, 28 Mar 2008 16:44:06 +0000 (UTC) (envelope-from dan@langille.org) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id D7C5D5082E for ; Fri, 28 Mar 2008 16:44:01 +0000 (GMT) X-Virus-Scanned: amavisd-new at unixathome.org Received: from nyi.unixathome.org ([127.0.0.1]) by localhost (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lOPso5998cgu for ; Fri, 28 Mar 2008 16:43:56 +0000 (GMT) Received: from [192.168.2.5] (ismtp.afilias.com [216.217.55.254]) by nyi.unixathome.org (Postfix) with ESMTPSA id A8FBF5082C for ; Fri, 28 Mar 2008 16:43:56 +0000 (GMT) Mime-Version: 1.0 (Apple Message framework v753) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-mobile@freebsd.org From: Dan Langille Date: Fri, 28 Mar 2008 12:43:24 -0400 X-Mailer: Apple Mail (2.753) Subject: ThinkPad X61s functions keys X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Mar 2008 16:44:06 -0000 Hi, Running FreeBSD 7.0-RELEASE on a ThinkPad X61s. Some keys do not work: - volume adjustment - screen brightness (FN HOME, FN END) The keyboard light does work (FN-PgUp) as does Numeric Lock (FN ScrLk). What can I do to help diagnose the issue so we can get these functions working? -- Dan Langille -- http://www.langille.org/ dan@langille.org From owner-freebsd-mobile@FreeBSD.ORG Fri Mar 28 23:34:09 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB43B106566B for ; Fri, 28 Mar 2008 23:34:09 +0000 (UTC) (envelope-from eculp@encontacto.net) Received: from ns2.bafirst.com (72-12-2-19.static.networktel.net [72.12.2.19]) by mx1.freebsd.org (Postfix) with ESMTP id 8AC758FC21 for ; Fri, 28 Mar 2008 23:34:09 +0000 (UTC) (envelope-from eculp@encontacto.net) Received: from HOME.encontacto.net ([189.129.17.152]) by ns2.bafirst.com with esmtp; Fri, 28 Mar 2008 18:23:56 -0500 id 000D4C57.47ED7E0C.00000E70 Received: from localhost (localhost [127.0.0.1]) (uid 80) by HOME.encontacto.net with local; Fri, 28 Mar 2008 17:23:56 -0600 id 0004AC19.47ED7E0C.000014F2 Received: from 172.16.0.2 ([172.16.0.2]) by intranet.encontacto.net (Horde Framework) with HTTP; Fri, 28 Mar 2008 18:23:56 -0500 Message-ID: <20080328182356.109157ydl6kozuo0@intranet.encontacto.net> Date: Fri, 28 Mar 2008 18:23:56 -0500 From: eculp To: freebsd-mobile MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (5.0-cvs) Subject: 802.11 Wireless Problem with Atheros 5424/2424 on Current AMD64 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Mar 2008 23:34:10 -0000 On an Acer 5520/5679 laptop, I don't see a way to get wireless working. I'm running: FreeBSD ed.local.net.mx 8.0-CURRENT FreeBSD 8.0-CURRENT #71: Fri Mar 28 05:18:46 CST 2008 root@ed.local.net.mx:/usr/obj/usr/src/sys/ENCONTACTO amd64 The dmesg shows it detected but can't attach: ath0: mem 0xf2200000-0xf220ffff irq 19 at device 0.0 on pci5 ath0: [ITHREAD] ath0: unable to attach hardware; HAL status 13 device_attach: ath0 attach returned 6 Verbose dmesg at http://encontacto.net/share/dmesg.txt pcionf -lv shows: ath0@pci0:5:0:0: class=0x020000 card=0x04281468 chip=0x001c168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR5006 family 802.11abg Wireless NIC' class = network subclass = ethernet Any suggestions will be appreciated. I even bought a linksys WUSB54GR and then found that there isn't a driver for that model either. Thanks for any help, ed From owner-freebsd-mobile@FreeBSD.ORG Sat Mar 29 01:53:17 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0BBD0106564A for ; Sat, 29 Mar 2008 01:53:17 +0000 (UTC) (envelope-from gamato@users.sf.net) Received: from slimak.dkm.cz (smtp.dkm.cz [62.24.64.34]) by mx1.freebsd.org (Postfix) with SMTP id 9E2868FC20 for ; Sat, 29 Mar 2008 01:53:16 +0000 (UTC) (envelope-from gamato@users.sf.net) Received: (qmail 80723 invoked by uid 0); 29 Mar 2008 01:26:35 -0000 Received: from r5h118.net.upc.cz (HELO ?192.168.111.2?) (86.49.7.118) by smtp.dkm.cz with SMTP; 29 Mar 2008 01:26:35 -0000 Message-ID: <47ED9AC5.4050505@users.sf.net> Date: Sat, 29 Mar 2008 02:26:29 +0100 From: martinko User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.12) Gecko/20080305 SeaMonkey/1.1.8 MIME-Version: 1.0 To: freebsd-bluetooth@freebsd.org, freebsd-mobile@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Logitech V470 Bluetooth Mouse on FreeBSD ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2008 01:53:17 -0000 Hallo lists, I'm considering buying Logitech V470 Bluetooth Mouse. Does anyone have any experience with using this mouse on FreeBSD please ? Cheers, Martin PS: Please CC me as I'm not on the lists. From owner-freebsd-mobile@FreeBSD.ORG Sat Mar 29 13:38:41 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEED8106566B for ; Sat, 29 Mar 2008 13:38:41 +0000 (UTC) (envelope-from dan@langille.org) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) by mx1.freebsd.org (Postfix) with ESMTP id 02B698FC1E for ; Sat, 29 Mar 2008 13:38:40 +0000 (UTC) (envelope-from dan@langille.org) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id 1F4FB50899; Sat, 29 Mar 2008 13:38:36 +0000 (GMT) X-Virus-Scanned: amavisd-new at unixathome.org Received: from nyi.unixathome.org ([127.0.0.1]) by localhost (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gFH1YLLXhPHy; Sat, 29 Mar 2008 13:38:33 +0000 (GMT) Received: from laptop.unixathome.org (129-2-175-74.wireless.umd.edu [129.2.175.74]) by nyi.unixathome.org (Postfix) with ESMTPSA id C58385088A; Sat, 29 Mar 2008 13:38:32 +0000 (GMT) Message-ID: <47EE4615.5060409@langille.org> Date: Sat, 29 Mar 2008 09:37:25 -0400 From: Dan Langille Organization: The FreeBSD Diary User-Agent: Thunderbird 2.0.0.12 (X11/20080321) MIME-Version: 1.0 To: Alberto Rizzi , freebsd-mobile@freebsd.org References: <47ED5BF7.2000109@fastmail.fm> In-Reply-To: <47ED5BF7.2000109@fastmail.fm> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: ThinkPad X61s functions keys X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2008 13:38:41 -0000 Alberto Rizzi wrote: > Dan Langille ha scritto: >> Hi, >> >> Running FreeBSD 7.0-RELEASE on a ThinkPad X61s. >> >> Some keys do not work: >> >> - volume adjustment >> - screen brightness (FN HOME, FN END) >> >> The keyboard light does work (FN-PgUp) as does >> Numeric Lock (FN ScrLk). >> >> What can I do to help diagnose the issue so we can get these >> functions working? >> > Have the same problem with a Thinkpad T61 > If you read man acpi_ibm there is a partial solution > > You have to load acpi_ibm at boot. Add > acpi_ibm_load="YES" > to /boot/loader.conf $ kldstat Id Refs Address Size Name 1 10 0xffffffff80100000 ac6c08 kernel 2 1 0xffffffff80bc7000 1a670 snd_hda.ko 3 2 0xffffffff80be2000 673b8 sound.ko 4 1 0xffffffff80c4a000 53d0 acpi_ibm.ko 5 1 0xffffffffb1694000 4b61 i915.ko 6 1 0xffffffffb1699000 d5d8 drm.ko > Then activate event passing to devd. Add > dev.acpi_ibm.0.events=1 > to /etc/sysctl.conf $ sysctl dev.acpi_ibm.0.events dev.acpi_ibm.0.events: 1 > > Then tell devd that you want to get events. Add > notify 10 { > match "system" "ACPI"; > match "subsystem" "IBM"; > action "/usr/local/sbin/acpi_oem_exec.sh $notify ibm"; It seems that this script is never invoked. > } > > to /etc/devd.conf > > Now you have to create that script > ---------- > #!/bin/sh > NOTIFY=`echo $1` > ECHO="echo" > CALC="bc" > > case ${NOTIFY} in > 0x10) > LEVEL=`sysctl -n dev.acpi_ibm.0.lcd_brightness` > PERCENT=`${ECHO} "${LEVEL} + 1" | ${CALC}` > MESSAGE="brightness level ${PERCENT}" > sysctl dev.acpi_ibm.0.lcd_brightness=${PERCENT} > ;; > 0x11) > LEVEL=`sysctl -n dev.acpi_ibm.0.lcd_brightness` > PERCENT=`${ECHO} "${LEVEL} - 1" | ${CALC}` > MESSAGE="brightness level ${PERCENT}" > sysctl dev.acpi_ibm.0.lcd_brightness=${PERCENT} > ;; > *) > ;; > esac > echo `date` >> /tmp/prova > ${ECHO} ${LEVEL} ${NOTIFY} ${MESSAGE} >> /tmp/prova > exit 0 > > ------- > If you leave the last two debug line, with a tail -f /tmp/prova you can > check the events sent to devd. Nothing hits /tmp/prova I ran this loop while pressing keys: while true; do clear; sysctl dev.acpi_ibm.0; date; sleep 1; done dev.acpi_ibm.0.%desc: IBM ThinkPad ACPI Extras dev.acpi_ibm.0.%driver: acpi_ibm dev.acpi_ibm.0.%location: handle=\_SB_.PCI0.LPC_.EC__.HKEY dev.acpi_ibm.0.%pnpinfo: _HID=IBM0068 _UID=0 dev.acpi_ibm.0.%parent: acpi0 dev.acpi_ibm.0.initialmask: 2060 dev.acpi_ibm.0.availmask: 16777215 dev.acpi_ibm.0.events: 0 dev.acpi_ibm.0.eventmask: 2060 dev.acpi_ibm.0.hotkey: 3491 dev.acpi_ibm.0.lcd_brightness: 0 dev.acpi_ibm.0.volume: 7 dev.acpi_ibm.0.mute: 0 dev.acpi_ibm.0.thinklight: 0 dev.acpi_ibm.0.bluetooth: 0 dev.acpi_ibm.0.wlan: 1 dev.acpi_ibm.0.fan_speed: 3815 dev.acpi_ibm.0.fan_level: 0 dev.acpi_ibm.0.fan: 1 dev.acpi_ibm.0.thermal: 41 47 47 38 33 -1 30 -1 Sat Mar 29 09:30:09 EDT 2008 I can get dev.acpi_ibm.0.thinklight to change when turning off/on the think light. I can get dev.acpi_ibm.0.hotkey to change between two values: 2467 and 3491 That's it. Nothing else. > With this script you can change the brightness both under console and > under xorg but you are bound to 8 levels (0 - 7) > If you want 100 levels you can use xbacklight under xorg only and modify > the script to use xbacklight instead of sysctl > > Mute and volume keys don't send events to devd: I don't know why but if > I press mute it works and dev.acpi_ibm.0.mute becomes 1 > If I press volume up or down, dev.acpi_ibm.0.mute becomes 0 From owner-freebsd-mobile@FreeBSD.ORG Sat Mar 29 15:25:58 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D6F5106566B for ; Sat, 29 Mar 2008 15:25:58 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id 827178FC30 for ; Sat, 29 Mar 2008 15:25:55 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id CAA19095; Sun, 30 Mar 2008 02:25:31 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 30 Mar 2008 02:25:30 +1100 (EST) From: Ian Smith To: Dan Langille In-Reply-To: <47EE4615.5060409@langille.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Alberto Rizzi , freebsd-mobile@freebsd.org Subject: Re: ThinkPad X61s functions keys X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2008 15:25:58 -0000 On Sat, 29 Mar 2008, Dan Langille wrote: > Alberto Rizzi wrote: > > Dan Langille ha scritto: > >> Hi, > >> > >> Running FreeBSD 7.0-RELEASE on a ThinkPad X61s. > >> > >> Some keys do not work: > >> > >> - volume adjustment > >> - screen brightness (FN HOME, FN END) > >> > >> The keyboard light does work (FN-PgUp) as does > >> Numeric Lock (FN ScrLk). > >> > >> What can I do to help diagnose the issue so we can get these > >> functions working? > >> > > Have the same problem with a Thinkpad T61 > > If you read man acpi_ibm there is a partial solution > > > > You have to load acpi_ibm at boot. Add > > acpi_ibm_load="YES" > > to /boot/loader.conf > > $ kldstat > Id Refs Address Size Name > 1 10 0xffffffff80100000 ac6c08 kernel > 2 1 0xffffffff80bc7000 1a670 snd_hda.ko > 3 2 0xffffffff80be2000 673b8 sound.ko > 4 1 0xffffffff80c4a000 53d0 acpi_ibm.ko > 5 1 0xffffffffb1694000 4b61 i915.ko > 6 1 0xffffffffb1699000 d5d8 drm.ko > > > > Then activate event passing to devd. Add > > dev.acpi_ibm.0.events=1 > > to /etc/sysctl.conf > > $ sysctl dev.acpi_ibm.0.events > dev.acpi_ibm.0.events: 1 Does needs to be 1, but your loop script below shows it set (reverted?) to 0, so devd events would not be invoked. > > Then tell devd that you want to get events. Add > > notify 10 { > > match "system" "ACPI"; > > match "subsystem" "IBM"; > > action "/usr/local/sbin/acpi_oem_exec.sh $notify ibm"; > > It seems that this script is never invoked. Not without having dev.acpi_ibm.0.events=1 anyway. Suggest also checking Beto's examples which might help you debug it: http://lists.freebsd.org/mailman/htdig/freebsd-mobile/2006-August/008959.html http://lists.freebsd.org/pipermail/freebsd-mobile/2006-August/008948.html and which I notice executes scripts like: action "/bin/sh -c /home/betom/bin/do_acpi_suspend.sh"; which might help if your script wasn't set executable? and uses /usr/local/etc/devd for devd conf files, as an alternative. HTH, Ian > > } > > > > to /etc/devd.conf > > > > Now you have to create that script > > ---------- > > #!/bin/sh > > NOTIFY=`echo $1` > > ECHO="echo" > > CALC="bc" > > > > case ${NOTIFY} in > > 0x10) > > LEVEL=`sysctl -n dev.acpi_ibm.0.lcd_brightness` > > PERCENT=`${ECHO} "${LEVEL} + 1" | ${CALC}` > > MESSAGE="brightness level ${PERCENT}" > > sysctl dev.acpi_ibm.0.lcd_brightness=${PERCENT} > > ;; > > 0x11) > > LEVEL=`sysctl -n dev.acpi_ibm.0.lcd_brightness` > > PERCENT=`${ECHO} "${LEVEL} - 1" | ${CALC}` > > MESSAGE="brightness level ${PERCENT}" > > sysctl dev.acpi_ibm.0.lcd_brightness=${PERCENT} > > ;; > > *) > > ;; > > esac > > echo `date` >> /tmp/prova > > ${ECHO} ${LEVEL} ${NOTIFY} ${MESSAGE} >> /tmp/prova > > exit 0 > > > > ------- > > If you leave the last two debug line, with a tail -f /tmp/prova you can > > check the events sent to devd. > > Nothing hits /tmp/prova > > I ran this loop while pressing keys: > > while true; do clear; sysctl dev.acpi_ibm.0; date; sleep 1; done > > dev.acpi_ibm.0.%desc: IBM ThinkPad ACPI Extras > dev.acpi_ibm.0.%driver: acpi_ibm > dev.acpi_ibm.0.%location: handle=\_SB_.PCI0.LPC_.EC__.HKEY > dev.acpi_ibm.0.%pnpinfo: _HID=IBM0068 _UID=0 > dev.acpi_ibm.0.%parent: acpi0 > dev.acpi_ibm.0.initialmask: 2060 > dev.acpi_ibm.0.availmask: 16777215 > dev.acpi_ibm.0.events: 0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ > dev.acpi_ibm.0.eventmask: 2060 > dev.acpi_ibm.0.hotkey: 3491 > dev.acpi_ibm.0.lcd_brightness: 0 > dev.acpi_ibm.0.volume: 7 > dev.acpi_ibm.0.mute: 0 > dev.acpi_ibm.0.thinklight: 0 > dev.acpi_ibm.0.bluetooth: 0 > dev.acpi_ibm.0.wlan: 1 > dev.acpi_ibm.0.fan_speed: 3815 > dev.acpi_ibm.0.fan_level: 0 > dev.acpi_ibm.0.fan: 1 > dev.acpi_ibm.0.thermal: 41 47 47 38 33 -1 30 -1 > Sat Mar 29 09:30:09 EDT 2008 > > > I can get dev.acpi_ibm.0.thinklight to change when turning off/on the think > light. > > I can get dev.acpi_ibm.0.hotkey to change between two values: 2467 and 3491 > > That's it. Nothing else. > > > With this script you can change the brightness both under console and > > under xorg but you are bound to 8 levels (0 - 7) > > If you want 100 levels you can use xbacklight under xorg only and modify > > the script to use xbacklight instead of sysctl > > > > Mute and volume keys don't send events to devd: I don't know why but if > > I press mute it works and dev.acpi_ibm.0.mute becomes 1 > > If I press volume up or down, dev.acpi_ibm.0.mute becomes 0 From owner-freebsd-mobile@FreeBSD.ORG Sat Mar 29 15:32:19 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8537A106566B for ; Sat, 29 Mar 2008 15:32:19 +0000 (UTC) (envelope-from dan@langille.org) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) by mx1.freebsd.org (Postfix) with ESMTP id E92238FC1B for ; Sat, 29 Mar 2008 15:32:18 +0000 (UTC) (envelope-from dan@langille.org) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id 47BA150858; Sat, 29 Mar 2008 15:32:14 +0000 (GMT) X-Virus-Scanned: amavisd-new at unixathome.org Received: from nyi.unixathome.org ([127.0.0.1]) by localhost (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zEyYYj2XSrc6; Sat, 29 Mar 2008 15:32:10 +0000 (GMT) Received: from laptop.unixathome.org (129-2-175-74.wireless.umd.edu [129.2.175.74]) by nyi.unixathome.org (Postfix) with ESMTPSA id C552450840; Sat, 29 Mar 2008 15:32:09 +0000 (GMT) Message-ID: <47EE60B6.8070703@langille.org> Date: Sat, 29 Mar 2008 11:31:02 -0400 From: Dan Langille Organization: The FreeBSD Diary User-Agent: Thunderbird 2.0.0.12 (X11/20080321) MIME-Version: 1.0 To: Ian Smith References: In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Cc: Alberto Rizzi , freebsd-mobile@freebsd.org Subject: Re: ThinkPad X61s functions keys X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2008 15:32:19 -0000 Ian Smith wrote: > On Sat, 29 Mar 2008, Dan Langille wrote: > > Alberto Rizzi wrote: > > > Dan Langille ha scritto: > > >> Hi, > > >> > > >> Running FreeBSD 7.0-RELEASE on a ThinkPad X61s. > > >> > > >> Some keys do not work: > > >> > > >> - volume adjustment > > >> - screen brightness (FN HOME, FN END) > > >> > > >> The keyboard light does work (FN-PgUp) as does > > >> Numeric Lock (FN ScrLk). > > >> > > >> What can I do to help diagnose the issue so we can get these > > >> functions working? > > >> > > > Have the same problem with a Thinkpad T61 > > > If you read man acpi_ibm there is a partial solution > > > > > > You have to load acpi_ibm at boot. Add > > > acpi_ibm_load="YES" > > > to /boot/loader.conf > > > > $ kldstat > > Id Refs Address Size Name > > 1 10 0xffffffff80100000 ac6c08 kernel > > 2 1 0xffffffff80bc7000 1a670 snd_hda.ko > > 3 2 0xffffffff80be2000 673b8 sound.ko > > 4 1 0xffffffff80c4a000 53d0 acpi_ibm.ko > > 5 1 0xffffffffb1694000 4b61 i915.ko > > 6 1 0xffffffffb1699000 d5d8 drm.ko > > > > > > > Then activate event passing to devd. Add > > > dev.acpi_ibm.0.events=1 > > > to /etc/sysctl.conf > > > > $ sysctl dev.acpi_ibm.0.events > > dev.acpi_ibm.0.events: 1 > > Does needs to be 1, but your loop script below shows it set (reverted?) > to 0, so devd events would not be invoked. > > > > Then tell devd that you want to get events. Add > > > notify 10 { > > > match "system" "ACPI"; > > > match "subsystem" "IBM"; > > > action "/usr/local/sbin/acpi_oem_exec.sh $notify ibm"; > > > > It seems that this script is never invoked. > > Not without having dev.acpi_ibm.0.events=1 anyway. Good catch. Thank you. It is 1. The copy/paste was done outside my testing. Despite the /etc/sysctl.conf entry, I must set this value manually as it is always zero after boot. > Suggest also checking Beto's examples which might help you debug it: > > http://lists.freebsd.org/mailman/htdig/freebsd-mobile/2006-August/008959.html > > http://lists.freebsd.org/pipermail/freebsd-mobile/2006-August/008948.html I'll have a look there. Thank you. > and which I notice executes scripts like: > action "/bin/sh -c /home/betom/bin/do_acpi_suspend.sh"; > > which might help if your script wasn't set executable? and uses > /usr/local/etc/devd for devd conf files, as an alternative. It is chmod +x: $ ls -l /usr/local/sbin/acpi_oem_exec.sh -rwxr-xr-x 1 root wheel 640 Mar 28 22:44 /usr/local/sbin/acpi_oem_exec.sh > > HTH, Ian > > > > > } > > > > > > to /etc/devd.conf > > > > > > Now you have to create that script > > > ---------- > > > #!/bin/sh > > > NOTIFY=`echo $1` > > > ECHO="echo" > > > CALC="bc" > > > > > > case ${NOTIFY} in > > > 0x10) > > > LEVEL=`sysctl -n dev.acpi_ibm.0.lcd_brightness` > > > PERCENT=`${ECHO} "${LEVEL} + 1" | ${CALC}` > > > MESSAGE="brightness level ${PERCENT}" > > > sysctl dev.acpi_ibm.0.lcd_brightness=${PERCENT} > > > ;; > > > 0x11) > > > LEVEL=`sysctl -n dev.acpi_ibm.0.lcd_brightness` > > > PERCENT=`${ECHO} "${LEVEL} - 1" | ${CALC}` > > > MESSAGE="brightness level ${PERCENT}" > > > sysctl dev.acpi_ibm.0.lcd_brightness=${PERCENT} > > > ;; > > > *) > > > ;; > > > esac > > > echo `date` >> /tmp/prova > > > ${ECHO} ${LEVEL} ${NOTIFY} ${MESSAGE} >> /tmp/prova > > > exit 0 > > > > > > ------- > > > If you leave the last two debug line, with a tail -f /tmp/prova you can > > > check the events sent to devd. > > > > Nothing hits /tmp/prova > > > > I ran this loop while pressing keys: > > > > while true; do clear; sysctl dev.acpi_ibm.0; date; sleep 1; done > > > > dev.acpi_ibm.0.%desc: IBM ThinkPad ACPI Extras > > dev.acpi_ibm.0.%driver: acpi_ibm > > dev.acpi_ibm.0.%location: handle=\_SB_.PCI0.LPC_.EC__.HKEY > > dev.acpi_ibm.0.%pnpinfo: _HID=IBM0068 _UID=0 > > dev.acpi_ibm.0.%parent: acpi0 > > dev.acpi_ibm.0.initialmask: 2060 > > dev.acpi_ibm.0.availmask: 16777215 > > dev.acpi_ibm.0.events: 0 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ An unfortunate paste. I assure you, it is 1. > > dev.acpi_ibm.0.eventmask: 2060 > > dev.acpi_ibm.0.hotkey: 3491 > > dev.acpi_ibm.0.lcd_brightness: 0 > > dev.acpi_ibm.0.volume: 7 > > dev.acpi_ibm.0.mute: 0 > > dev.acpi_ibm.0.thinklight: 0 > > dev.acpi_ibm.0.bluetooth: 0 > > dev.acpi_ibm.0.wlan: 1 > > dev.acpi_ibm.0.fan_speed: 3815 > > dev.acpi_ibm.0.fan_level: 0 > > dev.acpi_ibm.0.fan: 1 > > dev.acpi_ibm.0.thermal: 41 47 47 38 33 -1 30 -1 > > Sat Mar 29 09:30:09 EDT 2008 > > > > > > I can get dev.acpi_ibm.0.thinklight to change when turning off/on the think > > light. > > > > I can get dev.acpi_ibm.0.hotkey to change between two values: 2467 and 3491 > > > > That's it. Nothing else. > > > > > With this script you can change the brightness both under console and > > > under xorg but you are bound to 8 levels (0 - 7) > > > If you want 100 levels you can use xbacklight under xorg only and modify > > > the script to use xbacklight instead of sysctl > > > > > > Mute and volume keys don't send events to devd: I don't know why but if > > > I press mute it works and dev.acpi_ibm.0.mute becomes 1 > > > If I press volume up or down, dev.acpi_ibm.0.mute becomes 0 > > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" From owner-freebsd-mobile@FreeBSD.ORG Sat Mar 29 16:39:37 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48D9A1065677 for ; Sat, 29 Mar 2008 16:39:37 +0000 (UTC) (envelope-from sarumont@mail.sigil.org) Received: from mail.sigil.org (mail.sigil.org [69.13.51.5]) by mx1.freebsd.org (Postfix) with ESMTP id 2573A8FC13 for ; Sat, 29 Mar 2008 16:39:37 +0000 (UTC) (envelope-from sarumont@mail.sigil.org) Received: from localhost (localhost [127.0.0.1]) by mail.sigil.org (Postfix) with ESMTP id 44721508E6 for ; Sat, 29 Mar 2008 11:20:41 -0500 (CDT) X-Virus-Scanned: amavisd-new at sigil.org Received: from mail.sigil.org ([127.0.0.1]) by localhost (mail.sigil.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id eysFqlUu3g+p for ; Sat, 29 Mar 2008 11:20:36 -0500 (CDT) Received: by mail.sigil.org (Postfix, from userid 1001) id 2325E508A8; Sat, 29 Mar 2008 11:20:36 -0500 (CDT) Date: Sat, 29 Mar 2008 11:20:36 -0500 From: Richard Kolkovich To: freebsd-mobile@freebsd.org Message-ID: <20080329162035.GB24239@snobol> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD snobol 7.0-BETA2 i386 X-Composed-With: vim User-Agent: Mutt/1.5.17 (2007-11-01) Subject: Re: ThinkPad X61s functions keys X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2008 16:39:37 -0000 On Fri, Mar 28, 2008 at 12:43:24PM -0400, Dan Langille wrote: > Hi, > > Running FreeBSD 7.0-RELEASE on a ThinkPad X61s. > > Some keys do not work: > > - volume adjustment > - screen brightness (FN HOME, FN END) > > The keyboard light does work (FN-PgUp) as does > Numeric Lock (FN ScrLk). > > What can I do to help diagnose the issue so we can get these > functions working? > > -- > Dan Langille -- http://www.langille.org/ > dan@langille.org > Dan, FWIW, my T43p has never required any special treatment in FreeBSD or Linux for the volume adjustment, brightness adjustment or thinklight keys to work. Granted, without acpi_ibm I cannot control those things via software. -- Richard Kolkovich sarumont@sigil.org From owner-freebsd-mobile@FreeBSD.ORG Sat Mar 29 17:20:43 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34024106566B for ; Sat, 29 Mar 2008 17:20:43 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id B206F8FC1B for ; Sat, 29 Mar 2008 17:20:42 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so769655fgg.35 for ; Sat, 29 Mar 2008 10:20:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=zbHgj4VLoEyXWguI5e1dU+9KCXx+IPz4xY69stY5tfI=; b=qt3GqTYFKD3/7LYZApvVuZ7R98bZfcKUxGFhHy+cI6z39+mtdQhqu1RusSlneB3lZu/eQGzq4p8dmip4o7Y0/LX7Kbsp9Ba/k92rqVOKEs4+ibAbXka6x0bLiLKM+TnzdEQ07hZ6OuLWJyBWnA6HWEm/8/yGNJM/2Vg6V+yPvfQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hWb/LiyIAyKpEp4EccjfF6cG5W47UmtLqqu31t4lVLLYpK9slNR3tb8ADn3cNyHt6PVbR3EanEFYImWynxqs2zI+AngTvULJYBwbZYh4TLGCgWRWVhc/OeQPcjvY8ojFP1zoA+mc5oN9RjztCl6Dlirz/i7jh9cSXQ+g8+/E6N0= Received: by 10.86.28.5 with SMTP id b5mr2811029fgb.76.1206809648902; Sat, 29 Mar 2008 09:54:08 -0700 (PDT) Received: by 10.86.71.15 with HTTP; Sat, 29 Mar 2008 09:54:08 -0700 (PDT) Message-ID: Date: Sat, 29 Mar 2008 09:54:08 -0700 From: "Maksim Yevmenkin" To: martinko In-Reply-To: <47ED9AC5.4050505@users.sf.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47ED9AC5.4050505@users.sf.net> Cc: freebsd-bluetooth@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: Logitech V470 Bluetooth Mouse on FreeBSD ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2008 17:20:43 -0000 Martin, > I'm considering buying Logitech V470 Bluetooth Mouse. > Does anyone have any experience with using this mouse on FreeBSD please ? chances are it will work. i personally never tried this particular model, but bluetooth mice from different manufacturers (for example apple and microsoft) are known to work. thanks, max From owner-freebsd-mobile@FreeBSD.ORG Sat Mar 29 17:38:56 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5ED9106566B for ; Sat, 29 Mar 2008 17:38:56 +0000 (UTC) (envelope-from dan@langille.org) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) by mx1.freebsd.org (Postfix) with ESMTP id 6FC948FC14 for ; Sat, 29 Mar 2008 17:38:56 +0000 (UTC) (envelope-from dan@langille.org) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id CBF9650858; Sat, 29 Mar 2008 17:38:51 +0000 (GMT) X-Virus-Scanned: amavisd-new at unixathome.org Received: from nyi.unixathome.org ([127.0.0.1]) by localhost (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v9SIW3ue81C6; Sat, 29 Mar 2008 17:38:49 +0000 (GMT) Received: from laptop.unixathome.org (129-2-175-74.wireless.umd.edu [129.2.175.74]) by nyi.unixathome.org (Postfix) with ESMTPSA id 3D03F5083F; Sat, 29 Mar 2008 17:38:48 +0000 (GMT) Message-ID: <47EE7C86.9080802@langille.org> Date: Sat, 29 Mar 2008 13:29:42 -0400 From: Dan Langille Organization: The FreeBSD Diary User-Agent: Thunderbird 2.0.0.12 (X11/20080321) MIME-Version: 1.0 To: Richard Kolkovich , freebsd-mobile@freebsd.org References: <20080329162035.GB24239@snobol> In-Reply-To: <20080329162035.GB24239@snobol> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: ThinkPad X61s functions keys X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2008 17:38:56 -0000 Richard Kolkovich wrote: > On Fri, Mar 28, 2008 at 12:43:24PM -0400, Dan Langille wrote: >> Hi, >> >> Running FreeBSD 7.0-RELEASE on a ThinkPad X61s. >> >> Some keys do not work: >> >> - volume adjustment >> - screen brightness (FN HOME, FN END) >> >> The keyboard light does work (FN-PgUp) as does >> Numeric Lock (FN ScrLk). >> >> What can I do to help diagnose the issue so we can get these >> functions working? >> >> -- >> Dan Langille -- http://www.langille.org/ >> dan@langille.org >> > > Dan, > > FWIW, my T43p has never required any special treatment in FreeBSD or Linux for > the volume adjustment, brightness adjustment or thinklight keys to work. Granted, > without acpi_ibm I cannot control those things via software. > With my T41, acpi_ibm was all I needed. From owner-freebsd-mobile@FreeBSD.ORG Sat Mar 29 22:32:58 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65236106564A for ; Sat, 29 Mar 2008 22:32:58 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.freebsd.org (Postfix) with ESMTP id 20FEB8FC13 for ; Sat, 29 Mar 2008 22:32:58 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTP id <0JYI00MPZJYWFRC0@osl1smout1.broadpark.no> for freebsd-mobile@freebsd.org; Sat, 29 Mar 2008 23:32:56 +0100 (CET) Received: from kg-work.kg4.no ([80.202.173.59]) by osl1sminn1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with SMTP id <0JYI00JUQJYTEUU4@osl1sminn1.broadpark.no> for freebsd-mobile@freebsd.org; Sat, 29 Mar 2008 23:32:56 +0100 (CET) Date: Sat, 29 Mar 2008 23:32:52 +0100 From: Torfinn Ingolfsen To: freebsd-mobile@freebsd.org Message-id: <20080329233252.e6052fb0.torfinn.ingolfsen@broadpark.no> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; i386-portbld-freebsd6.3) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Subject: ThinkPad 380ED - PC Card controller not supported in FreeBSd 7.0? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2008 22:32:58 -0000 I have an old IBM ThinkPad 380ED[1] on which I run FreeBSD[2]. FreeBSD 4.11 worls great, as long as I enable pccard and configure it correctly. So I tried FreeBSd 7.0-release, but it seems that the PC Card controller (or bridge or whatever) isn't detected. from 'pciconf -lv': none1@pci0:0:19:0: class=0x060500 card=0x00000000 chip=0x11001013 rev=0x07 hdr=0x00 vendor = 'Cirrus Logic' device = 'CL-PD6729 PCI-to-PC Card host adapter' class = bridge subclass = PCI-PCMCIA Under FreeBSD 4.11 this is detected as: pcic0@pci0:19:0: class=0x060500 card=0x00000000 chip=0x11001013 rev=0x07 hdr=0x00 vendor = 'Cirrus Logic' device = 'CL-PD6729 PCI-to-PC Card host adapter' class = bridge subclass = PCI-PCMCIA And the man page for pcic(4) [3] under 4.11 documents it as supported. The same man page for 7.0 is a bit confusing: [4]. It says that this is supported, but in the bugs section says that it doesnt work at all. pcic doesn't work at all in 7.0? More info as well as normal and verbose dmesgoutputs in [2]. Any hints on getting this oldie working? References: 1) http://tingox.googlepages.com/tp380ed 2) http://tingox.googlepages.com/tp380ed_freebsd 3) http://www.freebsd.org/cgi/man.cgi?query=pcic&manpath=FreeBSD+4.11-RELEASE 4) http://www.freebsd.org/cgi/man.cgi?query=pcic&manpath=FreeBSD+7.0-RELEASE -- Regards, Torfinn Ingolfsen