From owner-freebsd-mobile@FreeBSD.ORG Sun Oct 21 00:30:36 2007 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 B918116A417; Sun, 21 Oct 2007 00:30:36 +0000 (UTC) (envelope-from SRS0=53fc7473d7010d9152ac5774c2c403a7279a90e9=494=es.net=oberman@es.net) Received: from postal1.es.net (postal4.es.net [IPv6:2001:400:6000:1::66]) by mx1.freebsd.org (Postfix) with ESMTP id BABDC13C45A; Sun, 21 Oct 2007 00:30:35 +0000 (UTC) (envelope-from SRS0=53fc7473d7010d9152ac5774c2c403a7279a90e9=494=es.net=oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal4.es.net (Postal Node 4) with ESMTP (SSL) id AKZ85233; Sat, 20 Oct 2007 17:30:33 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id D2DA04500E; Sat, 20 Oct 2007 17:30:32 -0700 (PDT) To: freebsd-mobile@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1192926632_61216P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Sat, 20 Oct 2007 17:30:32 -0700 From: "Kevin Oberman" Message-Id: <20071021003032.D2DA04500E@ptavv.es.net> X-Sender-IP: 198.128.4.29 X-Sender-Domain: es.net X-Recipent: ;; X-Sender: X-To_Name: X-To_Domain: freebsd.org X-To: freebsd-mobile@freebsd.org X-To_Email: freebsd-mobile@freebsd.org X-To_Alias: freebsd-mobile Cc: sam@freebsd.org Subject: Problems running ath with bgscan enabled 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: Sun, 21 Oct 2007 00:30:36 -0000 --==_Exmh_1192926632_61216P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Ever since the update of the HAL and the new 802.11 code a few months ago (in current), I have been having problems, especially when I was in locations with multiple APs available. The problem was periodic loss of association. If I was at home where I can usually only see a couple of APs, the problem would occur an average of about 10 times a day with re-association in about 10 seconds, sometimes less. This is annoying, but not very disruptive. When away from home and in an urban location where there are several APs, both the frequency of the loss of connectivity and the time to re-associate increase. Last week at the NANOG meeting there were 4 conference b/g APs and 4 11a APS seen at all times along with the hotel's tmobile and a couple of random ones. Only the two conference SSIDs (nanog-arin and nanog-arin-a) were in my wpa_supplicant.conf file. My bgscan interval was the default 300 and almost every 5 minutes I would lose connectivity, often for over a minute. When I made the association between the bgscan interval and the drop-outs, I did an "ifconfig ath0 -bgscan" and things stabilized immediately. No further problems. ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) ath0: mem 0xb4000000-0xb400ffff irq 11 at device 2.0 on pci11 ath0: mac 5.9 phy 4.3 radio 3.6 This is really not acceptable for default behavior as it won't be clear to many how to fix it. Is it expected or is something wrong? Thanks! -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1192926632_61216P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFHGp2okn3rs5h7N1ERAkGeAKCwqYHp1EgvPaGEdcpFiZmVFf3+0gCfcL7c XEzONYOrG6fbM6FGi/wLr4w= =wKtB -----END PGP SIGNATURE----- --==_Exmh_1192926632_61216P-- From owner-freebsd-mobile@FreeBSD.ORG Sun Oct 21 13:27:51 2007 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 23EFD16A420 for ; Sun, 21 Oct 2007 13:27:51 +0000 (UTC) (envelope-from zkolic@sbb.co.yu) Received: from smtp1.sbb.co.yu (smtp1.sbb.co.yu [82.117.194.21]) by mx1.freebsd.org (Postfix) with ESMTP id 63A4213C4C5 for ; Sun, 21 Oct 2007 13:27:48 +0000 (UTC) (envelope-from zkolic@sbb.co.yu) Received: from mycenae.net (cable-89-216-165-200.dynamic.sbb.co.yu [89.216.165.200]) by smtp1.sbb.co.yu (8.13.7/8.13.7) with ESMTP id l9L592OB019523; Sun, 21 Oct 2007 07:09:02 +0200 Received: by mycenae.net (Postfix, from userid 1001) id C4928B959; Sun, 21 Oct 2007 07:11:17 +0200 (CEST) Date: Sun, 21 Oct 2007 07:11:17 +0200 From: Zoran Kolic To: Kevin Oberman Message-ID: <20071021051117.GA907@mycenae.net> References: <20071020133944.GB826@faust.net> <20071020232936.0B19045010@ptavv.es.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071020232936.0B19045010@ptavv.es.net> X-SMTP-Vilter-Version: 1.3.2 X-SBB-Virus-Status: clean X-SBB-Spam-Score: 3.1 X-SBB-Spam-Level: XXXXXX Cc: freebsd-mobile@freebsd.org Subject: Re: Powerd not working with C2D CPUs ? 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: Sun, 21 Oct 2007 13:27:51 -0000 > > > dev.cpu.0.freq_levels: 2001/32000 2000/31000 1750/27125 1600/22000 > > > 1400/19250 1200/13000 1050/11375 900/9750 800/10000 700/8750 600/7500 > > > 500/6250 400/5000 300/3750 > > > dev.cpufreq.0.%driver: cpufreq > > Nope. cpufreq still must be added or loaded. Some laptops (including my > T43 with updated BIOS) seem to show this and powerd works on them > without powerd. If I load powerd, I lose all of the energy values and > ACPI thinks that the top CPU speed is 1500, not 2000. In other words, > loading cpufreq breaks power management. Maybe those lines in rc.conf culd help: performance_cx_lowest="LOW" economy_cx_lowest="LOW" My old celeron M of 1400 works happily at 174 and never gets over 30 C. Cpufreq in kernel and powerd loaded. 6.2. Zoran From owner-freebsd-mobile@FreeBSD.ORG Sun Oct 21 13:35:09 2007 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 5AAEC16A418 for ; Sun, 21 Oct 2007 13:35:09 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 0257A13C4B8 for ; Sun, 21 Oct 2007 13:34:52 +0000 (UTC) (envelope-from sam@errno.com) Received: from sam-lefflers-powerbook-g4-15.local ([10.0.0.178]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id l9L32Zcr016314 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 20 Oct 2007 20:02:35 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <471AC14A.9060806@errno.com> Date: Sat, 20 Oct 2007 20:02:34 -0700 From: Sam Leffler Organization: Errno Consulting User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Kevin Oberman References: <20071021003032.D2DA04500E@ptavv.es.net> In-Reply-To: <20071021003032.D2DA04500E@ptavv.es.net> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-DCC-dcc-servers-Metrics: om; whitelist Cc: freebsd-mobile@freebsd.org Subject: Re: Problems running ath with bgscan enabled 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: Sun, 21 Oct 2007 13:35:09 -0000 Kevin Oberman wrote: > Ever since the update of the HAL and the new 802.11 code a few months > ago (in current), I have been having problems, especially when I was in > locations with multiple APs available. > > The problem was periodic loss of association. If I was at home where I > can usually only see a couple of APs, the problem would occur an > average of about 10 times a day with re-association in about 10 seconds, > sometimes less. This is annoying, but not very disruptive. > > When away from home and in an urban location where there are several > APs, both the frequency of the loss of connectivity and the time to > re-associate increase. Last week at the NANOG meeting there were 4 > conference b/g APs and 4 11a APS seen at all times along with the > hotel's tmobile and a couple of random ones. Only the two conference > SSIDs (nanog-arin and nanog-arin-a) were in my wpa_supplicant.conf > file. > > My bgscan interval was the default 300 and almost every 5 minutes I > would lose connectivity, often for over a minute. When I made the > association between the bgscan interval and the drop-outs, I did an > "ifconfig ath0 -bgscan" and things stabilized immediately. No further > problems. > > ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) > ath0: mem 0xb4000000-0xb400ffff irq 11 at device 2.0 on pci11 > ath0: mac 5.9 phy 4.3 radio 3.6 > > This is really not acceptable for default behavior as it won't be clear > to many how to fix it. Is it expected or is something wrong? > > Thanks! There hasn't been a hal change in a long time. bgscan works by telling the ap your station is in power save mode, leaving the channel briefly, and then returning. I have not seen any issues with it w/ or w/o wpa_supplicant. Maybe you can provide some information to help diagnose this? I see nothing helpful like a log from wpa_supplicant or statistics. Sam From owner-freebsd-mobile@FreeBSD.ORG Sun Oct 21 13:52:09 2007 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 B957F16A46C for ; Sun, 21 Oct 2007 13:52:09 +0000 (UTC) (envelope-from frankstaals@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 1D6F413C4B0 for ; Sun, 21 Oct 2007 13:52:05 +0000 (UTC) (envelope-from frankstaals@gmx.net) Received: (qmail invoked by alias); 21 Oct 2007 12:51:45 -0000 Received: from ip176-173-59-62.adsl.versatel.nl (EHLO Rena.FStaals.net) [62.59.173.176] by mail.gmx.net (mp037) with SMTP; 21 Oct 2007 14:51:45 +0200 X-Authenticated: #25365336 X-Provags-ID: V01U2FsdGVkX18II8tZdK8IR16gwt+AIYG7NloAcApeTAEgcMKf8P tdVNcaT1kretCu Message-ID: <471B4B5C.7040402@gmx.net> Date: Sun, 21 Oct 2007 14:51:40 +0200 From: Frank Staals User-Agent: Thunderbird 2.0.0.6 (X11/20070929) MIME-Version: 1.0 To: Zoran Kolic References: <20071020120010.5935F16A500@hub.freebsd.org> <20071020133944.GB826@faust.net> In-Reply-To: <20071020133944.GB826@faust.net> X-Y-GMX-Trusted: 0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-mobile@freebsd.org Subject: Re: Powerd not working with C2D CPUs ? 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: Sun, 21 Oct 2007 13:52:10 -0000 Zoran Kolic wrote: >> root@Rena.FStaals.net:/usr/obj/usr/src/sys/GENERIC i386 >> >> dev.cpu.0.freq_levels: 2001/32000 2000/31000 1750/27125 1600/22000 >> 1400/19250 1200/13000 1050/11375 900/9750 800/10000 700/8750 600/7500 >> 500/6250 400/5000 300/3750 >> dev.cpufreq.0.%driver: cpufreq >> > > Interesting. So, cpufreq is now part of generic kernel? > If not, how did you get here? > Well that surprised me too when I was setting up my laptop; My machine automatically used a kernel config with SMP on and 'device cpufreq' in it. The Kernel's ident is 'GENERIC'; I didn't edit anything in the GENERIC config file. But I'm not sure if cpufreq is loaded by default on any machine, seems to be unnecessary to me at first glance. > I saw reports on this list regarding c2d cpus. Current > was 7. Could you describe bios options, since a lot of > people concider such laptop in near future? > > Zoran > > I'm not sure If I understand/understood completely what you meant but no special. I didn't see any bios options to change CPU-speed of any kind. It's more an overview of system specifications as far as I could see. Only a couple options to edit basic settings as boot sequence, wifi-enable, blootooth enable etc. > _______________________________________________ > 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" > > -- -Frank Staals From owner-freebsd-mobile@FreeBSD.ORG Sun Oct 21 17:56:27 2007 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 EA8FF16A419 for ; Sun, 21 Oct 2007 17:56:27 +0000 (UTC) (envelope-from asstec@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.freebsd.org (Postfix) with ESMTP id 5840C13C48A for ; Sun, 21 Oct 2007 17:56:26 +0000 (UTC) (envelope-from asstec@matik.com.br) Received: from ap-h.matik.com.br (ap-h.matik.com.br [200.152.83.36]) by msrv.matik.com.br (8.14.1/8.13.1) with ESMTP id l9L2XT56069641; Sun, 21 Oct 2007 00:33:29 -0200 (BRT) (envelope-from asstec@matik.com.br) From: AT Matik Organization: Infomatik To: freebsd-mobile@freebsd.org Date: Sun, 21 Oct 2007 00:33:22 -0200 User-Agent: KMail/1.9.7 References: <20071021003032.D2DA04500E@ptavv.es.net> In-Reply-To: <20071021003032.D2DA04500E@ptavv.es.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200710210033.22682.asstec@matik.com.br> X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on msrv.matik.com.br X-Virus-Status: Clean Cc: Subject: Re: Problems running ath with bgscan enabled 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: Sun, 21 Oct 2007 17:56:28 -0000 On Saturday 20 October 2007 22:30:32 Kevin Oberman wrote: > > My bgscan interval was the default 300 and almost every 5 minutes I > would lose connectivity, often for over a minute. When I made the > association between the bgscan interval and the drop-outs, I did an > "ifconfig ath0 -bgscan" and things stabilized immediately. No further > problems. > > ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) > ath0: mem 0xb4000000-0xb400ffff irq 11 at device 2.0 on > pci11 ath0: mac 5.9 phy 4.3 radio 3.6 > > This is really not acceptable for default behavior as it won't be clear > to many how to fix it. Is it expected or is something wrong? > I believe it is so but as you already did, when you like to associate only = to=20 the AP of your wpa config you should set -bgscan and eventually 'roaming=20 manual' also, if I am not wrong this is described in ifconfig's manpage Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-mobile@FreeBSD.ORG Sun Oct 21 19:18:15 2007 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 5050D16A418 for ; Sun, 21 Oct 2007 19:18:15 +0000 (UTC) (envelope-from Tad1214@aol.com) Received: from imo-m13.mail.aol.com (imo-m13.mx.aol.com [64.12.136.172]) by mx1.freebsd.org (Postfix) with ESMTP id 2966D13C4CE for ; Sun, 21 Oct 2007 19:18:14 +0000 (UTC) (envelope-from Tad1214@aol.com) Received: from Tad1214@aol.com by imo-m13.mx.aol.com (mail_out_v38_r9.3.) id n.bea.1e2b2be9 (34945) for ; Sun, 21 Oct 2007 15:08:26 -0400 (EDT) Received: from Cardinal.donnelly.servebeer.com. (c-24-131-143-17.hsd1.mn.comcast.net [24.131.143.17]) by cia-da05.mx.aol.com (v119.12) with ESMTP id MAILCIADA056-8881471ba3a93c3; Sun, 21 Oct 2007 15:08:25 -0400 Message-ID: <471BA3A4.3070907@aol.com> Date: Sun, 21 Oct 2007 14:08:20 -0500 From: Thomas Donnelly User-Agent: Thunderbird 2.0.0.6 (X11/20070828) MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AOL-IP: 24.131.143.17 X-Mailer: Unknown (No Version) X-Spam-Flag: NO Subject: Inspiron XPS Subwoofer 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: Sun, 21 Oct 2007 19:18:15 -0000 Hello, I have a Dell Inspiron XPS and so far I have gotten almost everything I wanted to get working, working. But I am stuck. I noticed that when playing music it sounded really tinny compared to Linux/Windows, and I realized it was because it isn't using the subwoofer in the battery. What do I need to do to get this to work? I am using snd_ich as the driver. dmesg & sndstat below. Thanks! -=Tom Donnelly sndstat Cardinal# cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xf8fff800, 0xf8fff400 irq 17 bufsz 16384 kld snd_ich (1p/1r/3v channels duplex default) dmesg Cardinal# dmesg Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-STABLE #5: Wed Sep 5 18:25:42 CDT 2007 TDonnelly@Cardinal.donnelly.servebeer.com.:/usr/obj/usr/src/sys/CARDINAL Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.40GHz (3391.51-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf25 Stepping = 5 Features=0xbfebfbff Features2=0x4400> Logical CPUs per core: 2 real memory = 2147131392 (2047 MB) avail memory = 2096193536 (1999 MB) ACPI APIC Table: ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 acpi_acad0: on acpi0 battery0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xf0000000-0xf7ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 acpi_video0: port 0xc000-0xc0ff mem 0xe0000000-0xefffffff,0xfcff0000-0xfcffffff irq 16 at device 0.0 on pci1 uhci0: port 0xbf80-0xbf9f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xbf60-0xbf7f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xbf40-0xbf5f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xbf20-0xbf3f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xf8fffc00-0xf8ffffff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered pcib2: at device 30.0 on pci0 pci2: on pcib2 bge0: mem 0xfaff0000-0xfaffffff irq 18 at device 0.0 on pci2 miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge0: Ethernet address: 00:11:43:61:73:7c cbb0: at device 1.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pci2: at device 1.1 (no driver attached) ath0: mem 0xfafd0000-0xfafdffff irq 17 at device 3.0 on pci2 ath0: Ethernet address: 00:90:96:91:74:8a ath0: mac 5.6 phy 4.1 radio 1.7 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xbfa0-0xbfaf at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 pcm0: port 0xd800-0xd8ff,0xdc40-0xdc7f mem 0xf8fff800-0xf8fff9ff,0xf8fff400-0xf8fff4ff irq 17 at device 31.5 on pci0 pcm0: acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model GlidePoint, device ID 0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 3391512136 Hz quality 800 Timecounters tick every 1.000 msec ad0: 57231MB at ata0-master UDMA100 acd0: CDRW at ata1-master UDMA33 Trying to mount root from ufs:/dev/ad0s2a fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8 module_register: module pci/radeon already exists! Module pci/radeon failed to register: 17 ath0: link state changed to UP From owner-freebsd-mobile@FreeBSD.ORG Mon Oct 22 01:45:42 2007 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 CABCE16A418 for ; Mon, 22 Oct 2007 01:45:42 +0000 (UTC) (envelope-from alex.kovalenko@verizon.net) Received: from vms044pub.verizon.net (vms044pub.verizon.net [206.46.252.44]) by mx1.freebsd.org (Postfix) with ESMTP id B7F4B13C4B5 for ; Mon, 22 Oct 2007 01:45:42 +0000 (UTC) (envelope-from alex.kovalenko@verizon.net) Received: from [10.0.3.231] ([70.21.163.71]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JQA0076ZI7CPDD1@vms044.mailsrvcs.net> for freebsd-mobile@freebsd.org; Sun, 21 Oct 2007 20:45:13 -0500 (CDT) Date: Sun, 21 Oct 2007 21:45:03 -0400 From: "Alexandre \"Sunny\" Kovalenko" In-reply-to: <471AC14A.9060806@errno.com> To: Sam Leffler Message-id: <1193017503.844.14.camel@RabbitsDen> MIME-version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port Content-type: text/plain Content-transfer-encoding: 7bit References: <20071021003032.D2DA04500E@ptavv.es.net> <471AC14A.9060806@errno.com> Cc: freebsd-mobile@freebsd.org Subject: Re: Problems running ath with bgscan enabled 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: Mon, 22 Oct 2007 01:45:42 -0000 On Sat, 2007-10-20 at 20:02 -0700, Sam Leffler wrote: > Kevin Oberman wrote: > > Ever since the update of the HAL and the new 802.11 code a few months > > ago (in current), I have been having problems, especially when I was in > > locations with multiple APs available. > > > > The problem was periodic loss of association. If I was at home where I > > can usually only see a couple of APs, the problem would occur an > > average of about 10 times a day with re-association in about 10 seconds, > > sometimes less. This is annoying, but not very disruptive. > > > > When away from home and in an urban location where there are several > > APs, both the frequency of the loss of connectivity and the time to > > re-associate increase. Last week at the NANOG meeting there were 4 > > conference b/g APs and 4 11a APS seen at all times along with the > > hotel's tmobile and a couple of random ones. Only the two conference > > SSIDs (nanog-arin and nanog-arin-a) were in my wpa_supplicant.conf > > file. > > > > My bgscan interval was the default 300 and almost every 5 minutes I > > would lose connectivity, often for over a minute. When I made the > > association between the bgscan interval and the drop-outs, I did an > > "ifconfig ath0 -bgscan" and things stabilized immediately. No further > > problems. > > > > ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) > > ath0: mem 0xb4000000-0xb400ffff irq 11 at device 2.0 on pci11 > > ath0: mac 5.9 phy 4.3 radio 3.6 > > > > This is really not acceptable for default behavior as it won't be clear > > to many how to fix it. Is it expected or is something wrong? > > > > Thanks! > > There hasn't been a hal change in a long time. bgscan works by telling > the ap your station is in power save mode, leaving the channel briefly, > and then returning. I have not seen any issues with it w/ or w/o > wpa_supplicant. > > Maybe you can provide some information to help diagnose this? I see > nothing helpful like a log from wpa_supplicant or statistics. > > Sam > _______________________________________________ > 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" This is "me too" and the question. The question is: where did sysctl dev.ath.0.debug go? I have defined ATH_DEBUG in if_ath.c and rebuilt the module, but id did not seem to appear. I understand that log, produced with that sysctl set to 0x00040000, would be the first thing you need to look into the issue, so if you would nudge me in the proper direction, I will be happy to produce it. I have two stations in my house and experience the problem, Kevin describes, on the regular basis. Turning off bgscan helped enormously (thank you, Kevin). -- Alexandre "Sunny" Kovalenko. From owner-freebsd-mobile@FreeBSD.ORG Mon Oct 22 02:39:15 2007 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 1D4C816A417 for ; Mon, 22 Oct 2007 02:39:15 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id E2DA413C4BE for ; Mon, 22 Oct 2007 02:39:14 +0000 (UTC) (envelope-from sam@errno.com) 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 l9M2cuAv023889 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 21 Oct 2007 19:38:57 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <471C0D40.7050303@errno.com> Date: Sun, 21 Oct 2007 19:38:56 -0700 From: Sam Leffler User-Agent: Thunderbird 2.0.0.6 (X11/20070814) MIME-Version: 1.0 To: AT Matik References: <20071021003032.D2DA04500E@ptavv.es.net> <200710210033.22682.asstec@matik.com.br> In-Reply-To: <200710210033.22682.asstec@matik.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-Rhyolite-Metrics: o.com; whitelist Cc: freebsd-mobile@freebsd.org Subject: Re: Problems running ath with bgscan enabled 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: Mon, 22 Oct 2007 02:39:15 -0000 AT Matik wrote: > On Saturday 20 October 2007 22:30:32 Kevin Oberman wrote: > >> My bgscan interval was the default 300 and almost every 5 minutes I >> would lose connectivity, often for over a minute. When I made the >> association between the bgscan interval and the drop-outs, I did an >> "ifconfig ath0 -bgscan" and things stabilized immediately. No further >> problems. >> >> ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) >> ath0: mem 0xb4000000-0xb400ffff irq 11 at device 2.0 on >> pci11 ath0: mac 5.9 phy 4.3 radio 3.6 >> >> This is really not acceptable for default behavior as it won't be clear >> to many how to fix it. Is it expected or is something wrong? >> >> > > I believe it is so but as you already did, when you like to associate only to > the AP of your wpa config you should set -bgscan and eventually 'roaming > manual' also, if I am not wrong this is described in ifconfig's manpage > > wpa_supplicant works fine w/ bgscan. When the bgscan's complete wpa_supplicant receives an event and retrieves the scan results. It then decides whether or not to roam. There is no need to manually configure the device. OTOH the scanning+roaming code in wpa_supplicant is very simplistic and I don't have a lot of experience with how well it does roaming. I believe it will only join ap's that are listed in the config file so it shouldn't roam arbitrarily. Without a log it's virtually impossible to comment on reports/complaints. And even w/ a wpa_supplicant log it's also useful to understand if there are other events that trigger scanning and/or roaming--like beacon miss events. Hence the need for logs and statistics. Sam From owner-freebsd-mobile@FreeBSD.ORG Mon Oct 22 02:53:24 2007 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 0EA0116A418 for ; Mon, 22 Oct 2007 02:53:24 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id D62A013C465 for ; Mon, 22 Oct 2007 02:53:23 +0000 (UTC) (envelope-from sam@errno.com) Received: from sam-lefflers-powerbook-g4-15.local ([10.0.0.178]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id l9M2r6LK023979 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 21 Oct 2007 19:53:06 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <471C1092.1030209@errno.com> Date: Sun, 21 Oct 2007 19:53:06 -0700 From: Sam Leffler Organization: Errno Consulting User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: "Alexandre \"Sunny\" Kovalenko" References: <20071021003032.D2DA04500E@ptavv.es.net> <471AC14A.9060806@errno.com> <1193017503.844.14.camel@RabbitsDen> In-Reply-To: <1193017503.844.14.camel@RabbitsDen> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-DCC-Rhyolite-Metrics: o.com; whitelist Cc: freebsd-mobile@freebsd.org Subject: Re: Problems running ath with bgscan enabled 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: Mon, 22 Oct 2007 02:53:24 -0000 Alexandre "Sunny" Kovalenko wrote: > On Sat, 2007-10-20 at 20:02 -0700, Sam Leffler wrote: >> Kevin Oberman wrote: >>> Ever since the update of the HAL and the new 802.11 code a few months >>> ago (in current), I have been having problems, especially when I was in >>> locations with multiple APs available. >>> >>> The problem was periodic loss of association. If I was at home where I >>> can usually only see a couple of APs, the problem would occur an >>> average of about 10 times a day with re-association in about 10 seconds, >>> sometimes less. This is annoying, but not very disruptive. >>> >>> When away from home and in an urban location where there are several >>> APs, both the frequency of the loss of connectivity and the time to >>> re-associate increase. Last week at the NANOG meeting there were 4 >>> conference b/g APs and 4 11a APS seen at all times along with the >>> hotel's tmobile and a couple of random ones. Only the two conference >>> SSIDs (nanog-arin and nanog-arin-a) were in my wpa_supplicant.conf >>> file. >>> >>> My bgscan interval was the default 300 and almost every 5 minutes I >>> would lose connectivity, often for over a minute. When I made the >>> association between the bgscan interval and the drop-outs, I did an >>> "ifconfig ath0 -bgscan" and things stabilized immediately. No further >>> problems. >>> >>> ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) >>> ath0: mem 0xb4000000-0xb400ffff irq 11 at device 2.0 on pci11 >>> ath0: mac 5.9 phy 4.3 radio 3.6 >>> >>> This is really not acceptable for default behavior as it won't be clear >>> to many how to fix it. Is it expected or is something wrong? >>> >>> Thanks! >> There hasn't been a hal change in a long time. bgscan works by telling >> the ap your station is in power save mode, leaving the channel briefly, >> and then returning. I have not seen any issues with it w/ or w/o >> wpa_supplicant. >> >> Maybe you can provide some information to help diagnose this? I see >> nothing helpful like a log from wpa_supplicant or statistics. >> >> Sam >> _______________________________________________ >> 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" > This is "me too" and the question. The question is: where did sysctl > dev.ath.0.debug go? I have defined ATH_DEBUG in if_ath.c and rebuilt the > module, but id did not seem to appear. I understand that log, produced > with that sysctl set to 0x00040000, would be the first thing you need to > look into the issue, so if you would nudge me in the proper direction, I > will be happy to produce it. I have two stations in my house and > experience the problem, Kevin describes, on the regular basis. Turning > off bgscan helped enormously (thank you, Kevin). > ath debug msgs are at the wrong level, you want things at the net80211 layer. I can't tell you why you're having problems turning on ath debug msgs, I do it all the time either by setting ATH_DEBUG in a kernel config file or in the module Makefile. Sam From owner-freebsd-mobile@FreeBSD.ORG Mon Oct 22 03:14:53 2007 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 CA3C416A41A for ; Mon, 22 Oct 2007 03:14:53 +0000 (UTC) (envelope-from Tad1214@aol.com) Received: from imo-m20.mx.aol.com (imo-m20.mx.aol.com [64.12.137.1]) by mx1.freebsd.org (Postfix) with ESMTP id 7DE1B13C4BC for ; Mon, 22 Oct 2007 03:14:52 +0000 (UTC) (envelope-from Tad1214@aol.com) Received: from Tad1214@aol.com by imo-m20.mx.aol.com (mail_out_v38_r9.3.) id n.ce5.1f38bf20 (52334) for ; Sun, 21 Oct 2007 23:13:51 -0400 (EDT) Received: from Cardinal.donnelly.servebeer.com. (c-24-131-143-17.hsd1.mn.comcast.net [24.131.143.17]) by ciaaol-d05.mail.aol.com (v119.12) with ESMTP id MAILCIAAOLD058-cc6e471c156fe8; Sun, 21 Oct 2007 23:13:51 -0400 Message-ID: <471C1569.8080509@aol.com> Date: Sun, 21 Oct 2007 22:13:45 -0500 From: Thomas Donnelly User-Agent: Thunderbird 2.0.0.6 (X11/20070828) MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AOL-IP: 24.131.143.17 X-Mailer: Unknown (No Version) X-Spam-Flag: NO Subject: Inspiron XPS sound 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: Mon, 22 Oct 2007 03:14:53 -0000 Hello, I have a Dell Inspiron XPS and so far I have gotten almost everything I wanted to get working, working. But I am stuck. I noticed that when playing music it sounded really tinny compared to Linux/Windows, and I realized it was because it isn't using the subwoofer in the battery. What do I need to do to get this to work? I am using snd_ich as the driver. dmesg & sndstat below. Thanks! -=Tom Donnelly sndstat Cardinal# cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xf8fff800, 0xf8fff400 irq 17 bufsz 16384 kld snd_ich (1p/1r/3v channels duplex default) dmesg Cardinal# dmesg Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-STABLE #5: Wed Sep 5 18:25:42 CDT 2007 TDonnelly@Cardinal.donnelly.servebeer.com.:/usr/obj/usr/src/sys/CARDINAL Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.40GHz (3391.51-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf25 Stepping = 5 Features=0xbfebfbff Features2=0x4400> Logical CPUs per core: 2 real memory = 2147131392 (2047 MB) avail memory = 2096193536 (1999 MB) ACPI APIC Table: ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 acpi_acad0: on acpi0 battery0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xf0000000-0xf7ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 acpi_video0: port 0xc000-0xc0ff mem 0xe0000000-0xefffffff,0xfcff0000-0xfcffffff irq 16 at device 0.0 on pci1 uhci0: port 0xbf80-0xbf9f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xbf60-0xbf7f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xbf40-0xbf5f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xbf20-0xbf3f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xf8fffc00-0xf8ffffff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered pcib2: at device 30.0 on pci0 pci2: on pcib2 bge0: mem 0xfaff0000-0xfaffffff irq 18 at device 0.0 on pci2 miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge0: Ethernet address: 00:11:43:61:73:7c cbb0: at device 1.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pci2: at device 1.1 (no driver attached) ath0: mem 0xfafd0000-0xfafdffff irq 17 at device 3.0 on pci2 ath0: Ethernet address: 00:90:96:91:74:8a ath0: mac 5.6 phy 4.1 radio 1.7 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xbfa0-0xbfaf at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 pcm0: port 0xd800-0xd8ff,0xdc40-0xdc7f mem 0xf8fff800-0xf8fff9ff,0xf8fff400-0xf8fff4ff irq 17 at device 31.5 on pci0 pcm0: acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model GlidePoint, device ID 0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 3391512136 Hz quality 800 Timecounters tick every 1.000 msec ad0: 57231MB at ata0-master UDMA100 acd0: CDRW at ata1-master UDMA33 Trying to mount root from ufs:/dev/ad0s2a fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8 module_register: module pci/radeon already exists! Module pci/radeon failed to register: 17 ath0: link state changed to UP From owner-freebsd-mobile@FreeBSD.ORG Mon Oct 22 05:59:17 2007 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 BA89A16A41B for ; Mon, 22 Oct 2007 05:59:17 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 6F6DA13C491 for ; Mon, 22 Oct 2007 05:59:16 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 4574 invoked from network); 22 Oct 2007 00:59:09 -0500 Received: from 124-170-158-48.dyn.iinet.net.au (HELO localhost) (124.170.158.48) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 22 Oct 2007 00:59:09 -0500 Date: Mon, 22 Oct 2007 15:59:06 +1000 From: Norberto Meijome To: freebsd-mobile@freebsd.org, tad1214@aol.com Message-ID: <20071022155906.42815305@meijome.net> In-Reply-To: <471BA3A4.3070907@aol.com> References: <471BA3A4.3070907@aol.com> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: Re: Inspiron XPS Subwoofer 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: Mon, 22 Oct 2007 05:59:17 -0000 On Sun, 21 Oct 2007 14:08:20 -0500 Thomas Donnelly wrote: > Hello, > > I have a Dell Inspiron XPS and so far I have gotten almost everything I > wanted to get working, working. But I am stuck. I noticed that when > playing music it sounded really tinny compared to Linux/Windows, and I > realized it was because it isn't using the subwoofer in the battery. > What do I need to do to get this to work? I am using snd_ich as the > driver. dmesg & sndstat below. > > Thanks! > -=Tom Donnelly Hey Tom, if you dont get much traction here, try in -mobile@ B _________________________ {Beto|Norberto|Numard} Meijome "Ninety percent of the time things turn out worse than you thought they would. The other ten percent of the time you had no right to expect that much." Augustine I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-mobile@FreeBSD.ORG Mon Oct 22 06:00:08 2007 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 06B0C16A419 for ; Mon, 22 Oct 2007 06:00:08 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id AECDC13C491 for ; Mon, 22 Oct 2007 06:00:07 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 4676 invoked from network); 22 Oct 2007 00:59:52 -0500 Received: from 124-170-158-48.dyn.iinet.net.au (HELO localhost) (124.170.158.48) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 22 Oct 2007 00:59:51 -0500 Date: Mon, 22 Oct 2007 15:59:49 +1000 From: Norberto Meijome To: freebsd-mobile@freebsd.org Message-ID: <20071022155949.0e75f546@meijome.net> In-Reply-To: <20071022155906.42815305@meijome.net> References: <471BA3A4.3070907@aol.com> <20071022155906.42815305@meijome.net> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: tad1214@aol.com Subject: Re: Inspiron XPS Subwoofer 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: Mon, 22 Oct 2007 06:00:08 -0000 On Mon, 22 Oct 2007 15:59:06 +1000 Norberto Meijome wrote: > if you dont get much traction here, try in -mobile@ err... -multimedia@ i meant.... sorry, B _________________________ {Beto|Norberto|Numard} Meijome Mind over matter: if you don't mind, it doesn't matter I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-mobile@FreeBSD.ORG Mon Oct 22 13:34:39 2007 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7ACC16A417 for ; Mon, 22 Oct 2007 13:34:39 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from s200aog12.obsmtp.com (s200aog12.obsmtp.com [207.126.144.126]) by mx1.freebsd.org (Postfix) with SMTP id 1721F13C4B2 for ; Mon, 22 Oct 2007 13:34:38 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from source ([217.206.187.80]) by eu1sys200aob012.postini.com ([207.126.147.11]) with SMTP; Mon, 22 Oct 2007 13:34:20 UTC Received: from [10.0.0.89] (bill.mintel.co.uk [10.0.0.89]) by rodney.mintel.co.uk (Postfix) with ESMTP id DBD3F181423 for ; Mon, 22 Oct 2007 14:01:20 +0100 (BST) Message-ID: <471C9F20.5090109@tomjudge.com> Date: Mon, 22 Oct 2007 14:01:20 +0100 From: Tom Judge User-Agent: Thunderbird 1.5.0.13 (X11/20070824) MIME-Version: 1.0 To: mobile@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: ACPI Attach (acpi_ibm) stops mouse from working 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: Mon, 22 Oct 2007 13:34:39 -0000 Hi, I have recently setup an IBM/Lenovo T43 with RELENG_7 as of mid last week, however I have a problem with the acpi_ibm module. If I add acpi_ibm_load="YES" to loader.conf I get the following message during boot: psm0: unable to allocate IRQ This is followed by a message stating that the acpi_ibm module has attached to IRQ 12. If I remove this module from loader.conf and boot the system the mouse attaches and works as expected. If I then kldload acpi_ibm the module attaches to acpi0. Is there any way to make this work without loading the acpi module after boot? Thanks Tom From owner-freebsd-mobile@FreeBSD.ORG Mon Oct 22 15:19:31 2007 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 E0D5B16A418 for ; Mon, 22 Oct 2007 15:19:30 +0000 (UTC) (envelope-from SRS0=f2a818dc674f57de6ce9455cebc964d24fec7f74=496=es.net=oberman@es.net) Received: from postal1.es.net (postal4.es.net [IPv6:2001:400:6000:1::66]) by mx1.freebsd.org (Postfix) with ESMTP id 0781E13C4A3 for ; Mon, 22 Oct 2007 15:19:29 +0000 (UTC) (envelope-from SRS0=f2a818dc674f57de6ce9455cebc964d24fec7f74=496=es.net=oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal4.es.net (Postal Node 4) with ESMTP (SSL) id BZP28628; Mon, 22 Oct 2007 08:19:28 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 5BCC54500E; Mon, 22 Oct 2007 08:19:27 -0700 (PDT) To: Sam Leffler In-Reply-To: Your message of "Sun, 21 Oct 2007 19:38:56 PDT." <471C0D40.7050303@errno.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1193066367_38958P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Mon, 22 Oct 2007 08:19:27 -0700 From: "Kevin Oberman" Message-Id: <20071022151927.5BCC54500E@ptavv.es.net> X-Sender-IP: 198.128.4.29 X-Sender-Domain: es.net X-Recipent: ; ; ; X-Sender: X-To_Name: Sam Leffler X-To_Domain: errno.com X-To: Sam Leffler X-To_Email: sam@errno.com X-To_Alias: sam Cc: AT Matik , freebsd-mobile@freebsd.org Subject: Re: Problems running ath with bgscan enabled 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: Mon, 22 Oct 2007 15:19:31 -0000 --==_Exmh_1193066367_38958P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > Date: Sun, 21 Oct 2007 19:38:56 -0700 > From: Sam Leffler > Sender: owner-freebsd-mobile@freebsd.org > > AT Matik wrote: > > On Saturday 20 October 2007 22:30:32 Kevin Oberman wrote: > > > >> My bgscan interval was the default 300 and almost every 5 minutes I > >> would lose connectivity, often for over a minute. When I made the > >> association between the bgscan interval and the drop-outs, I did an > >> "ifconfig ath0 -bgscan" and things stabilized immediately. No further > >> problems. > >> > >> ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) > >> ath0: mem 0xb4000000-0xb400ffff irq 11 at device 2.0 on > >> pci11 ath0: mac 5.9 phy 4.3 radio 3.6 > >> > >> This is really not acceptable for default behavior as it won't be clear > >> to many how to fix it. Is it expected or is something wrong? > >> > >> > > > > I believe it is so but as you already did, when you like to associate only to > > the AP of your wpa config you should set -bgscan and eventually 'roaming > > manual' also, if I am not wrong this is described in ifconfig's manpage > > > > > > wpa_supplicant works fine w/ bgscan. When the bgscan's complete > wpa_supplicant receives an event and retrieves the scan results. It > then decides whether or not to roam. There is no need to manually > configure the device. > > OTOH the scanning+roaming code in wpa_supplicant is very simplistic and > I don't have a lot of experience with how well it does roaming. I > believe it will only join ap's that are listed in the config file so it > shouldn't roam arbitrarily. Without a log it's virtually impossible to > comment on reports/complaints. And even w/ a wpa_supplicant log it's > also useful to understand if there are other events that trigger > scanning and/or roaming--like beacon miss events. Hence the need for > logs and statistics. Exactly what statistics should I be collecting? I am assuming scan, but is there anything else? assoc? Or is there some other statistic you need? -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1193066367_38958P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFHHL9/kn3rs5h7N1ERAmAoAKC4LjOp8jCRcY3OifGnVkkRtfpU4wCggEZS I1aLEnWFsELqw49fONLLSv8= =jNlq -----END PGP SIGNATURE----- --==_Exmh_1193066367_38958P-- From owner-freebsd-mobile@FreeBSD.ORG Mon Oct 22 16:29:40 2007 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 728E416A469 for ; Mon, 22 Oct 2007 16:29:40 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from s200aog14.obsmtp.com (s200aog14.obsmtp.com [207.126.144.128]) by mx1.freebsd.org (Postfix) with SMTP id 356F613C49D for ; Mon, 22 Oct 2007 16:29:38 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from source ([217.206.187.80]) by eu1sys200aob014.postini.com ([207.126.147.11]) with SMTP; Mon, 22 Oct 2007 16:29:23 UTC Received: from [10.0.0.89] (bill.mintel.co.uk [10.0.0.89]) by rodney.mintel.co.uk (Postfix) with ESMTP id 0B7E6181421 for ; Mon, 22 Oct 2007 17:04:53 +0100 (BST) Message-ID: <471CCA24.4080400@tomjudge.com> Date: Mon, 22 Oct 2007 17:04:52 +0100 From: Tom Judge User-Agent: Thunderbird 1.5.0.13 (X11/20070824) MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: ACPI Attach (acpi_ibm) stops mouse from working 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: Mon, 22 Oct 2007 16:29:40 -0000 Hi, I have recently setup an IBM/Lenovo T43 with RELENG_7 as of mid last week, however I have a problem with the acpi_ibm module. If I add acpi_ibm_load="YES" to loader.conf I get the following message during boot: psm0: unable to allocate IRQ This is followed by a message stating that the acpi_ibm module has attached to IRQ 12. If I remove this module from loader.conf and boot the system the mouse attaches and works as expected. If I then kldload acpi_ibm the module attaches to acpi0. Is there any way to make this work without loading the acpi module after boot? Thanks Tom From owner-freebsd-mobile@FreeBSD.ORG Tue Oct 23 06:50:31 2007 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 5882F16A418 for ; Tue, 23 Oct 2007 06:50:31 +0000 (UTC) (envelope-from prabu@hackinthebox.org) Received: from prometheus.interunix.net (prometheus.interunix.net [202.190.74.58]) by mx1.freebsd.org (Postfix) with SMTP id B842D13C4B6 for ; Tue, 23 Oct 2007 06:50:30 +0000 (UTC) (envelope-from prabu@hackinthebox.org) Received: (qmail 4763 invoked by uid 1012); 23 Oct 2007 06:23:40 -0000 Received: from 202.190.74.58 by prometheus.interunix.net (envelope-from , uid 1010) with qmail-scanner-1.25-st-qms (clamdscan: 0.87/3227. spamassassin: 3.1.8. perlscan: 1.25-st-qms. Clear:RC:0(202.190.74.58):SA:0(-103.9/5.0):. Processed in 4.150923 secs); 23 Oct 2007 06:23:40 -0000 X-Spam-Status: No, hits=-103.9 required=5.0 X-Spam-Report: SA TESTS -100 USER_IN_WHITELIST From: address is in the user's white-list 0.0 DK_POLICY_SIGNSOME Domain Keys: policy says domain signs some mails -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.5 AWL AWL: From: address is in the auto white-list X-Antivirus-INTERUNIX-Mail-From: prabu@hackinthebox.org via prometheus.interunix.net X-Antivirus-INTERUNIX: 1.25-st-qms (Clear:RC:0(202.190.74.58):SA:0(-103.9/5.0):. Processed in 4.150923 secs Process 4747) Received: from unknown (HELO ?192.168.0.3?) (prabu@interunix.net@202.190.74.58) by prometheus.interunix.net with SMTP; 23 Oct 2007 06:23:36 -0000 Message-ID: <471D9329.5050300@hackinthebox.org> Date: Tue, 23 Oct 2007 14:22:33 +0800 From: Praburaajan User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: system-admins@research.att.com, freebsd-mobile@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: CFP for HITBSecConf2008 - Dubai now open 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, 23 Oct 2007 06:50:31 -0000 The CFP for HITBSecConf2008 - Dubai is now open. Our 2008 event is expected to attract over 300 attendees from around the EMEA region and will see keynote speakers Bruce Schneier (Founder and CTO, BT Counterpane) and Jeremiah Grossman (Founder and CTO, White Hat Security). The event is supported and endorsed by the UAE Telecommunications and Regulatory Authority. Being a deep-knowledge technical conference, talks that are more technical or that discuss new and never before seen attack methods are of more interest than a subject that has been covered several times before. Summaries not exceeding 250 words should be submitted (in plain text format) to cfp@hackinthebox.org for review and possible inclusion in the programme. Submissions are due no later than 1st January 2008. Topics of interest include, but are not limited to the following: # 3G/3.5G/4G Cellular Networks # Apple / OS X vulnerabilities # SS7/Backbone telephony networks # Smart Card Security and Biometric Systems # UMTS, HSDPA, GPRS and CDMA Security # Security of Wimax, WLAN, Bluetooth, GPS and other wireless technology # Analysis of network and security vulnerabilities # Firewall and Intrusion detection technology # Data Recovery and Incident Response # Network Protocol and Analysis # Analysis of malicious code # Applications of cryptographic techniques # Analysis of attacks against networks and machines # File system security PLEASE NOTE: We do not accept product or vendor related pitches. If your talk involves an advertisement for a new product or service your company is offering, please do not submit. Your submission should include: # Name, title, address, email and phone/contact number # Draft of the proposed presentation (in PDF or PowerPoint format), proof of concept for tools and exploits, etc. # Short biography, qualification, occupation, achievement and affiliations (limit 150 words). # Summary or abstract for your presentation (limit 250 words) # Time (max 60 minutes including time for discussion and questions) # Technical requirements (video, internet, wireless, audio, etc.) Each non-resident speaker will receive accommodation for 2 nights/ 3 days. For each non-resident speaker, HITB will cover travel expenses up to USD 1,000.00. HITBSecConf2008 - Dubai http://conference.hitb.org/hitbsecconf2008dubai/ HITBSecConf 2003,2004,2005,2006 Videos are now on Google Video http://www.hackinthebox.org/modules.php?op=modload&name=News&file=article&sid=24719&mode=thread&order=0&thold=0 From owner-freebsd-mobile@FreeBSD.ORG Tue Oct 23 16:30:27 2007 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 1A37816A418 for ; Tue, 23 Oct 2007 16:30:27 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id E5BFD13C494 for ; Tue, 23 Oct 2007 16:30:26 +0000 (UTC) (envelope-from sam@errno.com) 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 l9NGU7EC039788 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 23 Oct 2007 09:30:08 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <471E218F.4060907@errno.com> Date: Tue, 23 Oct 2007 09:30:07 -0700 From: Sam Leffler User-Agent: Thunderbird 2.0.0.6 (X11/20070814) MIME-Version: 1.0 To: Kevin Oberman References: <20071022151927.5BCC54500E@ptavv.es.net> In-Reply-To: <20071022151927.5BCC54500E@ptavv.es.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: AT Matik , freebsd-mobile@freebsd.org Subject: Re: Problems running ath with bgscan enabled 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, 23 Oct 2007 16:30:27 -0000 Kevin Oberman wrote: >> Date: Sun, 21 Oct 2007 19:38:56 -0700 >> From: Sam Leffler >> Sender: owner-freebsd-mobile@freebsd.org >> >> AT Matik wrote: >> >>> On Saturday 20 October 2007 22:30:32 Kevin Oberman wrote: >>> >>> >>>> My bgscan interval was the default 300 and almost every 5 minutes I >>>> would lose connectivity, often for over a minute. When I made the >>>> association between the bgscan interval and the drop-outs, I did an >>>> "ifconfig ath0 -bgscan" and things stabilized immediately. No further >>>> problems. >>>> >>>> ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) >>>> ath0: mem 0xb4000000-0xb400ffff irq 11 at device 2.0 on >>>> pci11 ath0: mac 5.9 phy 4.3 radio 3.6 >>>> >>>> This is really not acceptable for default behavior as it won't be clear >>>> to many how to fix it. Is it expected or is something wrong? >>>> >>>> >>>> >>> I believe it is so but as you already did, when you like to associate only to >>> the AP of your wpa config you should set -bgscan and eventually 'roaming >>> manual' also, if I am not wrong this is described in ifconfig's manpage >>> >>> >>> >> wpa_supplicant works fine w/ bgscan. When the bgscan's complete >> wpa_supplicant receives an event and retrieves the scan results. It >> then decides whether or not to roam. There is no need to manually >> configure the device. >> >> OTOH the scanning+roaming code in wpa_supplicant is very simplistic and >> I don't have a lot of experience with how well it does roaming. I >> believe it will only join ap's that are listed in the config file so it >> shouldn't roam arbitrarily. Without a log it's virtually impossible to >> comment on reports/complaints. And even w/ a wpa_supplicant log it's >> also useful to understand if there are other events that trigger >> scanning and/or roaming--like beacon miss events. Hence the need for >> logs and statistics. >> > > Exactly what statistics should I be collecting? I am assuming scan, but > is there anything else? assoc? Or is there some other statistic you need? > You said bgscan was causing interruptions in service. To diagnose why you need to see whether you are not re-joining the same ap for some reason. This can possibly happen because wpa_supplicant decides to roam (or net80211 in case you are not using wpa_supplicant) or because some event occurs to trigger a scan (e.g. a beacon miss). A wpa_supplicant log would likely be a first place to start. Past that you can turn on scan+roam debug msgs in net80211 w/ wlandebug. Otherwise you should look for beacon miss events that can trigger net80211 state changes; these are shown with wlandebug +state. Everything that you can observe with in-kernel debugging should also be counted in a statistic reported by wlanstats. So, as I said, you can either collect logs or you should be able to collect stats to help see what is happening. Sometimes stats are insufficient and you need logs. Diagnosis at the driver level is usually warranted only if you cannot see what you need at the higher levels. Remember that turning on too much debug info can affect realtime behaviour and alter operation of the system. FWIW my typical test for bgscan is to do something like this: 1. associate to an ap 2. ping host on the wired side of the ap 3. wait for bg scan to kick in If things are working correctly you should see no lost ping packets. You will see a short spike in the rtt for ping packets but bgscan should either be canceled or suppressed so long as there is network traffic. Sam From owner-freebsd-mobile@FreeBSD.ORG Tue Oct 23 19:09:41 2007 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 A37E116A419 for ; Tue, 23 Oct 2007 19:09:41 +0000 (UTC) (envelope-from asstec@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.freebsd.org (Postfix) with ESMTP id 3362B13C48A for ; Tue, 23 Oct 2007 19:09:40 +0000 (UTC) (envelope-from asstec@matik.com.br) Received: from ap-h.matik.com.br (ap-h.matik.com.br [200.152.83.36]) by msrv.matik.com.br (8.14.1/8.13.1) with ESMTP id l9NJ7k1H019219; Tue, 23 Oct 2007 17:07:46 -0200 (BRT) (envelope-from asstec@matik.com.br) From: AT Matik Organization: Infomatik To: freebsd-mobile@freebsd.org Date: Tue, 23 Oct 2007 17:07:32 -0200 User-Agent: KMail/1.9.7 References: <20071022151927.5BCC54500E@ptavv.es.net> <471E218F.4060907@errno.com> In-Reply-To: <471E218F.4060907@errno.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200710231707.33542.asstec@matik.com.br> X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on msrv.matik.com.br X-Virus-Status: Clean Cc: Subject: Re: Problems running ath with bgscan enabled 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, 23 Oct 2007 19:09:41 -0000 On Tuesday 23 October 2007 14:30:07 Sam Leffler wrote: > Kevin Oberman wrote: > > > > Exactly what statistics should I be collecting? I am assuming scan, but > > is there anything else? assoc? Or is there some other statistic you nee= d? > > You said bgscan was causing interruptions in service. To diagnose why > you need to see whether you are not re-joining the same ap for some > reason. This can possibly happen because wpa_supplicant decides to roam > (or net80211 in case you are not using wpa_supplicant) or because some > event occurs to trigger a scan (e.g. a beacon miss). A wpa_supplicant > log would likely be a first place to start. Past that you can turn on > scan+roam debug msgs in net80211 w/ wlandebug. Otherwise you should > look for beacon miss events that can trigger net80211 state changes; > these are shown with wlandebug +state. Everything that you can observe > with in-kernel debugging should also be counted in a statistic reported > by wlanstats. So, as I said, you can either collect logs or you should > be able to collect stats to help see what is happening. Sometimes stats > are insufficient and you need logs. > > Diagnosis at the driver level is usually warranted only if you cannot > see what you need at the higher levels. Remember that turning on too > much debug info can affect realtime behaviour and alter operation of the > system. > > FWIW my typical test for bgscan is to do something like this: > > 1. associate to an ap > 2. ping host on the wired side of the ap > 3. wait for bg scan to kick in > > If things are working correctly you should see no lost ping packets. > You will see a short spike in the rtt for ping packets but bgscan should > either be canceled or suppressed so long as there is network traffic. > well, do you know about the stumbler from net80211 tools which asks for=20 wlan_scan_monitor loading manually but this thing seems vanished?=20 Then I like to add, I guess you won't like it so much but I have abandoned= =20 ath_rate_sample but I'm trying it from time to time Reason is that ath_rate_sample suddenly disconnect and it needs a pretty l= ong=20 time to come back (either in a/b/g), so I guess Kevin's WPA thing might=20 suffer same. =20 Sometimes it can be forced with "ifconfig ath ssid whatever up" or sometime= s=20 adding mode. Specially in 11b environments with ath_rate_sample the card=20 suddenly tries 11g and get disconnected, even when 11b was set. Sometimes i= t=20 does not come back at all and only a reboot solves it so I guess something = at=20 hal level wrong? This last thing is happening only with 7 and I never had i= t=20 with releng_6 The disconnect happens normally after a beacon miss and sometime in idle st= ate=20 when the noise level goes up or when the AP is more busy and does not respo= nd=20 as usual releng_6 is kind more stable but 7 is really nervous and get me off n times= a=20 day, with _onoe I stay always connected and get higher throughput any time. Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-mobile@FreeBSD.ORG Wed Oct 24 03:24:05 2007 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 DFF1A16A41A for ; Wed, 24 Oct 2007 03:24:05 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id A55D213C4B0 for ; Wed, 24 Oct 2007 03:24:05 +0000 (UTC) (envelope-from sam@errno.com) Received: from sam-lefflers-powerbook-g4-15.local ([10.0.0.178]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id l9O3Nuf6044262 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 23 Oct 2007 20:23:56 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <471EBACC.5010009@errno.com> Date: Tue, 23 Oct 2007 20:23:56 -0700 From: Sam Leffler Organization: Errno Consulting User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: AT Matik References: <20071022151927.5BCC54500E@ptavv.es.net> <471E218F.4060907@errno.com> <200710231707.33542.asstec@matik.com.br> In-Reply-To: <200710231707.33542.asstec@matik.com.br> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-DCC-dcc-servers-Metrics: om; whitelist Cc: freebsd-mobile@freebsd.org Subject: Re: Problems running ath with bgscan enabled 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, 24 Oct 2007 03:24:06 -0000 AT Matik wrote: > On Tuesday 23 October 2007 14:30:07 Sam Leffler wrote: >> Kevin Oberman wrote: >>> Exactly what statistics should I be collecting? I am assuming scan, but >>> is there anything else? assoc? Or is there some other statistic you need? >> You said bgscan was causing interruptions in service. To diagnose why >> you need to see whether you are not re-joining the same ap for some >> reason. This can possibly happen because wpa_supplicant decides to roam >> (or net80211 in case you are not using wpa_supplicant) or because some >> event occurs to trigger a scan (e.g. a beacon miss). A wpa_supplicant >> log would likely be a first place to start. Past that you can turn on >> scan+roam debug msgs in net80211 w/ wlandebug. Otherwise you should >> look for beacon miss events that can trigger net80211 state changes; >> these are shown with wlandebug +state. Everything that you can observe >> with in-kernel debugging should also be counted in a statistic reported >> by wlanstats. So, as I said, you can either collect logs or you should >> be able to collect stats to help see what is happening. Sometimes stats >> are insufficient and you need logs. >> >> Diagnosis at the driver level is usually warranted only if you cannot >> see what you need at the higher levels. Remember that turning on too >> much debug info can affect realtime behaviour and alter operation of the >> system. >> >> FWIW my typical test for bgscan is to do something like this: >> >> 1. associate to an ap >> 2. ping host on the wired side of the ap >> 3. wait for bg scan to kick in >> >> If things are working correctly you should see no lost ping packets. >> You will see a short spike in the rtt for ping packets but bgscan should >> either be canceled or suppressed so long as there is network traffic. >> > > > well, do you know about the stumbler from net80211 tools which asks for > wlan_scan_monitor loading manually but this thing seems vanished? wlan_scan_monitor never existed. The complaint about the module not being present needs to be removed; it's a noop (there is no scanning in monitor mode, you must fix the channel). > > Then I like to add, I guess you won't like it so much but I have abandoned > ath_rate_sample but I'm trying it from time to time You're free to do what you want. Every test I've done shows sample superior to either of the alternatives. In particular I've run waterfall tests on a wired testbed with all 3 ath rate control algorithms and sample is easily the best of the lot. > > Reason is that ath_rate_sample suddenly disconnect and it needs a pretty long > time to come back (either in a/b/g), so I guess Kevin's WPA thing might > suffer same. "suddenly disconnects" means nothing to me. > > > Sometimes it can be forced with "ifconfig ath ssid whatever up" or sometimes > adding mode. Specially in 11b environments with ath_rate_sample the card > suddenly tries 11g and get disconnected, even when 11b was set. Sometimes it > does not come back at all and only a reboot solves it so I guess something at > hal level wrong? This last thing is happening only with 7 and I never had it > with releng_6 sample uses only negotiated rates; what you describe makes no sense but w/o real information there's little more one can say. However there was a bug in sample for a few days (maybe >1 week) that caused it to use incorrect rate indices but I fixed that; maybe that is what you're describing (there would have been a console msg about a bogus rate idx). > > The disconnect happens normally after a beacon miss and sometime in idle state > when the noise level goes up or when the AP is more busy and does not respond > as usual > > releng_6 is kind more stable but 7 is really nervous and get me off n times a > day, with _onoe I stay always connected and get higher throughput any time. Sorry but this really doesn't give me anything to go on and at this time I don't have time to chase anything but very specific issues. The time to bring up vague concerns like this was many months ago. Sam From owner-freebsd-mobile@FreeBSD.ORG Wed Oct 24 05:32:01 2007 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 13C4016A418 for ; Wed, 24 Oct 2007 05:32:00 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 82FBF13C465 for ; Wed, 24 Oct 2007 05:32:00 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8p) with ESMTP id 215814382-1834499 for multiple; Wed, 24 Oct 2007 00:17:27 -0400 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l9O4Er7A087307; Wed, 24 Oct 2007 00:14:56 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-mobile@freebsd.org Date: Tue, 23 Oct 2007 23:28:17 -0400 User-Agent: KMail/1.9.6 References: <471CCA24.4080400@tomjudge.com> In-Reply-To: <471CCA24.4080400@tomjudge.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710232328.18947.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Wed, 24 Oct 2007 00:14:56 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/4581/Tue Oct 23 22:50:45 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Tom Judge Subject: Re: ACPI Attach (acpi_ibm) stops mouse from working 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, 24 Oct 2007 05:32:01 -0000 On Monday 22 October 2007 12:04:52 pm Tom Judge wrote: > Hi, > > > I have recently setup an IBM/Lenovo T43 with RELENG_7 as of mid last > week, however I have a problem with the acpi_ibm module. > > If I add acpi_ibm_load="YES" to loader.conf I get the following message > during boot: > > psm0: unable to allocate IRQ > > This is followed by a message stating that the acpi_ibm module has > attached to IRQ 12. > > If I remove this module from loader.conf and boot the system the mouse > attaches and works as expected. If I then kldload acpi_ibm the module > attaches to acpi0. > > > Is there any way to make this work without loading the acpi module after > boot? Can you provide your acpidump as well as devinfo -rv output from both cases? (i.e. when it is loaded at boot and when it is kldloaded after boot) -- John Baldwin From owner-freebsd-mobile@FreeBSD.ORG Wed Oct 24 06:19:40 2007 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 70D7C16A420; Wed, 24 Oct 2007 06:19:40 +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 47A7E13C4A8; Wed, 24 Oct 2007 06:19:37 +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 QAA14832; Wed, 24 Oct 2007 16:19:15 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 24 Oct 2007 16:19:14 +1000 (EST) From: Ian Smith To: Richard Arends In-Reply-To: <20071016195550.GQ5484@shell.unixguru.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-acpi@freebsd.org, Markus Brueffer , Norberto Meijome , FreeBSD Mobile ML Subject: Re: Management of Thermal 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, 24 Oct 2007 06:19:40 -0000 On Tue, 16 Oct 2007, Richard Arends wrote (in freebsd-mobile): > On Wed, Oct 17, 2007 at 02:27:48AM +1000, Ian Smith wrote: > > Ian, > > > Just browsing: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/acpi_support/acpi_ibm.c > > > > What revision of that have you? It's not clear to me tha this fan level > > stuff, documented with rev 1.10, was ever MFC'd to 6-STABLE. If I'm > > diffing the right versions it appears that it wasn't, and the comment on > > 1.7.2.3 (6.X) says only 'MFC: 1.11, 1.12', but that seems not so, if I'm > > reading the diffs against any of those versions right (incl 1.14 @ 7.0) > > You are absolutely right. On my stable tree I MFC'ed the acpi_ibm a few times > myself. Totaly forget about it :) Now i'm running the normal acpi_ibm in stable > again and indeed the fan_level hook isn't there anymore. > > Adapting acpi_ibm to stable was not that hard but you can also try to run > RELENG_7, it is fairly stable at the moment :) Following up cc'd to acpi@ and the presumed maintainer: Over on -mobile we've been exploring ways to help Norberto stop his (6-STABLE) Thinkpad z60m from melting - well, regularly hitting critical thermal shutdown on larger builds - and these fan speed control sysctls came up, along with a neat perl daemon using them to control fan speed vs temperature setpoints (plus powerd-like cpu freq adjustment when it gets hotter than maximum fan speed control can manage). Running 7 sounds good, but is there any particular (API?) reason that - Add support for setting the fan control mode to manual or automatic - Add support for adjusting the fan speed if the fan control mode is manual from acpi_ibm.c rev 1.10, was not MFC'd to 6-STABLE? If not, any chance before 6.3? Cheers, Ian From owner-freebsd-mobile@FreeBSD.ORG Wed Oct 24 22:19:35 2007 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 8A8D416A418 for ; Wed, 24 Oct 2007 22:19:35 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from smtp803.mail.ird.yahoo.com (smtp803.mail.ird.yahoo.com [217.146.188.63]) by mx1.freebsd.org (Postfix) with SMTP id 034D813C4A8 for ; Wed, 24 Oct 2007 22:19:34 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: (qmail 77331 invoked from network); 24 Oct 2007 21:52:40 -0000 Received: from unknown (HELO ?192.168.1.2?) (thomasjudge@btinternet.com@86.139.235.242 with plain) by smtp803.mail.ird.yahoo.com with SMTP; 24 Oct 2007 21:52:40 -0000 X-YMail-OSG: GMVS2Q0VM1k.n2aGUgaWi04nDX_jCNip8tPoOy7oycQDlZfQQ2jiBJTi73W3DGwv7tBbbS2RVfJswTpbJc7.Pn8- Message-ID: <471FCE4C.70303@tomjudge.com> Date: Wed, 24 Oct 2007 23:59:24 +0100 From: Tom Judge User-Agent: Thunderbird 1.5.0.13 (X11/20070824) MIME-Version: 1.0 To: John Baldwin References: <471CCA24.4080400@tomjudge.com> <200710232328.18947.jhb@freebsd.org> In-Reply-To: <200710232328.18947.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: ACPI Attach (acpi_ibm) stops mouse from working 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, 24 Oct 2007 22:19:35 -0000 John Baldwin wrote: > On Monday 22 October 2007 12:04:52 pm Tom Judge wrote: >> Hi, >> >> >> I have recently setup an IBM/Lenovo T43 with RELENG_7 as of mid last >> week, however I have a problem with the acpi_ibm module. >> >> If I add acpi_ibm_load="YES" to loader.conf I get the following message >> during boot: >> >> psm0: unable to allocate IRQ >> >> This is followed by a message stating that the acpi_ibm module has >> attached to IRQ 12. >> >> If I remove this module from loader.conf and boot the system the mouse >> attaches and works as expected. If I then kldload acpi_ibm the module >> attaches to acpi0. >> >> >> Is there any way to make this work without loading the acpi module after >> boot? > > Can you provide your acpidump as well as devinfo -rv output from both cases? > (i.e. when it is loaded at boot and when it is kldloaded after boot) > Hi, After spending many hours trying to reproduce this I have narrowed it down to the order in which the modules are loaded (and by nature listed in /boot/loader.conf). It seems that the psm will only attach when acpi_ibm is listed at the end of loader.conf. I have run a sequence of tests and gathered the following data acpidump -dt devinfo -rv /var/run/dmesg.boot Kernel config (T43) The file names are in the format {data}-{acpi_ibm_load line number in loader.conf}-{good=psm attached/bad=psm failed to attach} The files are avaliable here: http://www.tomjudge.com/tmp/debug.tgz If you want any more information please let me know. Tom J From owner-freebsd-mobile@FreeBSD.ORG Wed Oct 24 23:49:29 2007 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 4FF8416A418 for ; Wed, 24 Oct 2007 23:49:29 +0000 (UTC) (envelope-from SRS0=c5331ae6673bf4dc2feda7a444f7bdfc84abe9b8=498=es.net=oberman@es.net) Received: from postal1.es.net (postal3.es.net [IPv6:2001:400:14:3::8]) by mx1.freebsd.org (Postfix) with ESMTP id DE03F13C48E for ; Wed, 24 Oct 2007 23:49:28 +0000 (UTC) (envelope-from SRS0=c5331ae6673bf4dc2feda7a444f7bdfc84abe9b8=498=es.net=oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP (SSL) id DHV60327; Wed, 24 Oct 2007 16:49:27 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 5DE354500E; Wed, 24 Oct 2007 16:49:27 -0700 (PDT) To: Tom Judge In-Reply-To: Your message of "Mon, 22 Oct 2007 17:04:52 BST." <471CCA24.4080400@tomjudge.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1193269767_5109P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Wed, 24 Oct 2007 16:49:27 -0700 From: "Kevin Oberman" Message-Id: <20071024234927.5DE354500E@ptavv.es.net> X-Sender-IP: 198.128.4.29 X-Sender-Domain: es.net X-Recipent: ;; X-Sender: X-To_Name: Tom Judge X-To_Domain: tomjudge.com X-To: Tom Judge X-To_Email: tom@tomjudge.com X-To_Alias: tom Cc: freebsd-mobile@freebsd.org Subject: Re: ACPI Attach (acpi_ibm) stops mouse from working 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, 24 Oct 2007 23:49:29 -0000 --==_Exmh_1193269767_5109P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > Date: Mon, 22 Oct 2007 17:04:52 +0100 > From: Tom Judge > Sender: owner-freebsd-mobile@freebsd.org > > Hi, > > > I have recently setup an IBM/Lenovo T43 with RELENG_7 as of mid last > week, however I have a problem with the acpi_ibm module. > > If I add acpi_ibm_load="YES" to loader.conf I get the following message > during boot: > > psm0: unable to allocate IRQ > > This is followed by a message stating that the acpi_ibm module has > attached to IRQ 12. > > If I remove this module from loader.conf and boot the system the mouse > attaches and works as expected. If I then kldload acpi_ibm the module > attaches to acpi0. > > > Is there any way to make this work without loading the acpi module after > boot? I have a T43 and see the same thing if I load drivers in /boot/loader.conf. I have seen it with both umass and it's USB brethren, and if_ath. If I build them into the kernel or load them after the system boots, there is no problem. Otherwise, no IRQ for the mouse (and no mouse). But you don't have to explicitly load ACPI. It's "magic" and automatically loads if you don't disable it in hints. If it loads that way, I have never had problems with the mouse. jhb had some ideas of what caused the problem, but I have never had time to pursue it and it is pretty rare. Try removing the load from /boot/loader.conf and see if it works and if you still get ACPI. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1193269767_5109P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFHH9oHkn3rs5h7N1ERAooWAKCZa8aTVJJwsqRd7tzBUQw2i60YpQCgoZjy ZNUMg6JtI+DR8o56wuo2kXA= =8tnR -----END PGP SIGNATURE----- --==_Exmh_1193269767_5109P-- From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 25 00:25:58 2007 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 D0D3516A46B; Thu, 25 Oct 2007 00:25:58 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 9DD7713C4E1; Thu, 25 Oct 2007 00:25:58 +0000 (UTC) (envelope-from sam@errno.com) 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 l9P0Ppw2053949 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 24 Oct 2007 17:25:52 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <471FE28F.50201@errno.com> Date: Wed, 24 Oct 2007 17:25:51 -0700 From: Sam Leffler User-Agent: Thunderbird 2.0.0.6 (X11/20070814) MIME-Version: 1.0 To: Tom Judge References: <471CCA24.4080400@tomjudge.com> <200710232328.18947.jhb@freebsd.org> <471FCE4C.70303@tomjudge.com> In-Reply-To: <471FCE4C.70303@tomjudge.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-Rhyolite-Metrics: o.com; whitelist Cc: freebsd-mobile@freebsd.org Subject: Re: ACPI Attach (acpi_ibm) stops mouse from working 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, 25 Oct 2007 00:25:58 -0000 Tom Judge wrote: > John Baldwin wrote: >> On Monday 22 October 2007 12:04:52 pm Tom Judge wrote: >>> Hi, >>> >>> >>> I have recently setup an IBM/Lenovo T43 with RELENG_7 as of mid last >>> week, however I have a problem with the acpi_ibm module. >>> >>> If I add acpi_ibm_load="YES" to loader.conf I get the following >>> message during boot: >>> >>> psm0: unable to allocate IRQ >>> >>> This is followed by a message stating that the acpi_ibm module has >>> attached to IRQ 12. >>> >>> If I remove this module from loader.conf and boot the system the >>> mouse attaches and works as expected. If I then kldload acpi_ibm >>> the module attaches to acpi0. >>> >>> >>> Is there any way to make this work without loading the acpi module >>> after boot? >> >> Can you provide your acpidump as well as devinfo -rv output from both >> cases? (i.e. when it is loaded at boot and when it is kldloaded >> after boot) >> > Hi, > > After spending many hours trying to reproduce this I have narrowed it > down to the order in which the modules are loaded (and by nature > listed in /boot/loader.conf). It seems that the psm will only attach > when acpi_ibm is listed at the end of loader.conf. > > I have run a sequence of tests and gathered the following data > > acpidump -dt > devinfo -rv > /var/run/dmesg.boot > Kernel config (T43) > > The file names are in the format {data}-{acpi_ibm_load line number in > loader.conf}-{good=psm attached/bad=psm failed to attach} > > The files are avaliable here: http://www.tomjudge.com/tmp/debug.tgz > > If you want any more information please let me know. FWIW I hit this same problem on a freshly installed t42. In my case acpi_ibm was not the last thing loaded but it was loaded by the loader. Sam From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 25 07:14:05 2007 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 C0CEF16A417 for ; Thu, 25 Oct 2007 07:14:05 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from smtp802.mail.ird.yahoo.com (smtp802.mail.ird.yahoo.com [217.146.188.62]) by mx1.freebsd.org (Postfix) with SMTP id 4118E13C4A3 for ; Thu, 25 Oct 2007 07:14:05 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: (qmail 92220 invoked from network); 25 Oct 2007 07:14:04 -0000 Received: from unknown (HELO ?192.168.1.2?) (thomasjudge@btinternet.com@86.139.235.242 with plain) by smtp802.mail.ird.yahoo.com with SMTP; 25 Oct 2007 07:14:03 -0000 X-YMail-OSG: 1JL.DnYVM1k18kGw8q7E9HybxQjhQwj0K1nez.ccMbeOCuv6 Message-ID: <472051E1.6020108@tomjudge.com> Date: Thu, 25 Oct 2007 09:20:49 +0100 From: Tom Judge User-Agent: Thunderbird 1.5.0.13 (X11/20070824) MIME-Version: 1.0 To: Kevin Oberman References: <20071024234927.5DE354500E@ptavv.es.net> In-Reply-To: <20071024234927.5DE354500E@ptavv.es.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: ACPI Attach (acpi_ibm) stops mouse from working 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, 25 Oct 2007 07:14:05 -0000 Kevin Oberman wrote: >> Date: Mon, 22 Oct 2007 17:04:52 +0100 >> From: Tom Judge >> Sender: owner-freebsd-mobile@freebsd.org >> >> Hi, >> >> >> I have recently setup an IBM/Lenovo T43 with RELENG_7 as of mid last >> week, however I have a problem with the acpi_ibm module. >> >> If I add acpi_ibm_load="YES" to loader.conf I get the following message >> during boot: >> >> psm0: unable to allocate IRQ >> >> This is followed by a message stating that the acpi_ibm module has >> attached to IRQ 12. >> >> If I remove this module from loader.conf and boot the system the mouse >> attaches and works as expected. If I then kldload acpi_ibm the module >> attaches to acpi0. >> >> >> Is there any way to make this work without loading the acpi module after >> boot? > > I have a T43 and see the same thing if I load drivers in > /boot/loader.conf. I have seen it with both umass and it's USB brethren, > and if_ath. If I build them into the kernel or load them after the > system boots, there is no problem. Otherwise, no IRQ for the mouse (and > no mouse). > > But you don't have to explicitly load ACPI. It's "magic" and > automatically loads if you don't disable it in hints. If it loads that > way, I have never had problems with the mouse. > > jhb had some ideas of what caused the problem, but I have never had > time to pursue it and it is pretty rare. > > Try removing the load from /boot/loader.conf and see if it works and if > you still get ACPI. If I remove acpi_ibm_load="YES" from loader.conf I do indeed still get acpi. But what I don't get are access to the IBM acpi extensions such as being able to use the access button to launch applications. It all seems to be related to the order in which the modules are loaded. If acpi_ibm is loaded last then all is well, if not then it attaches to irq 12 clobbering the ps2 port for the mouse. Tom From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 25 07:17:29 2007 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 AE7FA16A417 for ; Thu, 25 Oct 2007 07:17:29 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from smtp809.mail.ird.yahoo.com (smtp809.mail.ird.yahoo.com [217.146.188.69]) by mx1.freebsd.org (Postfix) with SMTP id 2BD0D13C48E for ; Thu, 25 Oct 2007 07:17:28 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: (qmail 96651 invoked from network); 25 Oct 2007 07:17:24 -0000 Received: from unknown (HELO ?192.168.1.2?) (thomasjudge@btinternet.com@86.139.235.242 with plain) by smtp809.mail.ird.yahoo.com with SMTP; 25 Oct 2007 07:17:24 -0000 X-YMail-OSG: UGxyH8wVM1kDY5aGwb6gJa5M6sYj93VgguYGSILTXDJVFFbYRk8jQ.wAfn.Ht4y_FEW9l1t8lFv7b0K_gy5nVuA- Message-ID: <472052AA.3080606@tomjudge.com> Date: Thu, 25 Oct 2007 09:24:10 +0100 From: Tom Judge User-Agent: Thunderbird 1.5.0.13 (X11/20070824) MIME-Version: 1.0 To: Sam Leffler References: <471CCA24.4080400@tomjudge.com> <200710232328.18947.jhb@freebsd.org> <471FCE4C.70303@tomjudge.com> <471FE28F.50201@errno.com> In-Reply-To: <471FE28F.50201@errno.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: ACPI Attach (acpi_ibm) stops mouse from working 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, 25 Oct 2007 07:17:29 -0000 Sam Leffler wrote: > Tom Judge wrote: >> John Baldwin wrote: >>> On Monday 22 October 2007 12:04:52 pm Tom Judge wrote: >>>> Hi, >>>> >>>> >>>> I have recently setup an IBM/Lenovo T43 with RELENG_7 as of mid last >>>> week, however I have a problem with the acpi_ibm module. >>>> >>>> If I add acpi_ibm_load="YES" to loader.conf I get the following >>>> message during boot: >>>> >>>> psm0: unable to allocate IRQ >>>> >>>> This is followed by a message stating that the acpi_ibm module has >>>> attached to IRQ 12. >>>> >>>> If I remove this module from loader.conf and boot the system the >>>> mouse attaches and works as expected. If I then kldload acpi_ibm >>>> the module attaches to acpi0. >>>> >>>> >>>> Is there any way to make this work without loading the acpi module >>>> after boot? >>> >>> Can you provide your acpidump as well as devinfo -rv output from both >>> cases? (i.e. when it is loaded at boot and when it is kldloaded >>> after boot) >>> >> Hi, >> >> After spending many hours trying to reproduce this I have narrowed it >> down to the order in which the modules are loaded (and by nature >> listed in /boot/loader.conf). It seems that the psm will only attach >> when acpi_ibm is listed at the end of loader.conf. >> >> I have run a sequence of tests and gathered the following data >> >> acpidump -dt >> devinfo -rv >> /var/run/dmesg.boot >> Kernel config (T43) >> >> The file names are in the format {data}-{acpi_ibm_load line number in >> loader.conf}-{good=psm attached/bad=psm failed to attach} >> >> The files are avaliable here: http://www.tomjudge.com/tmp/debug.tgz >> >> If you want any more information please let me know. > > FWIW I hit this same problem on a freshly installed t42. In my case > acpi_ibm was not the last thing loaded but it was loaded by the loader. > > Sam > Just out of curiosity could you try adding acpi_ibm_load="YES" as the last line in loader.conf and rebooting? From my tests I think that it should work but there is only one way to find out..... Tom From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 25 15:29:06 2007 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 8BE4516A421 for ; Thu, 25 Oct 2007 15:29:06 +0000 (UTC) (envelope-from Tad1214@aol.com) Received: from imo-m23.mx.aol.com (imo-m23.mx.aol.com [64.12.137.4]) by mx1.freebsd.org (Postfix) with ESMTP id 2BED813C494 for ; Thu, 25 Oct 2007 15:29:06 +0000 (UTC) (envelope-from Tad1214@aol.com) Received: from Tad1214@aol.com by imo-m23.mx.aol.com (mail_out_v38_r9.3.) id n.ccb.1e3ec307 (49381) for ; Thu, 25 Oct 2007 11:28:57 -0400 (EDT) Received: from Cardinal.donnelly.servebeer.com. (mail.matrixcomm.com [216.17.53.130]) by ciaaol-d06.mail.aol.com (v119.12) with ESMTP id MAILCIAAOLD063-c0e54720b63828f; Thu, 25 Oct 2007 11:28:57 -0400 Message-ID: <4720B631.3080601@aol.com> Date: Thu, 25 Oct 2007 10:28:49 -0500 From: Thomas Donnelly User-Agent: Thunderbird 2.0.0.6 (X11/20070828) MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <471BA3A4.3070907@aol.com> <20071022155906.42815305@meijome.net> In-Reply-To: <20071022155906.42815305@meijome.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AOL-IP: 216.17.53.130 X-Mailer: Unknown (No Version) X-Spam-Flag: NO Subject: Re: Inspiron XPS Subwoofer 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, 25 Oct 2007 15:29:06 -0000 Norberto Meijome wrote: > On Sun, 21 Oct 2007 14:08:20 -0500 > Thomas Donnelly wrote: > > >> Hello, >> >> I have a Dell Inspiron XPS and so far I have gotten almost everything I >> wanted to get working, working. But I am stuck. I noticed that when >> playing music it sounded really tinny compared to Linux/Windows, and I >> realized it was because it isn't using the subwoofer in the battery. >> What do I need to do to get this to work? I am using snd_ich as the >> driver. dmesg & sndstat below. >> >> Thanks! >> -=Tom Donnelly >> > > Hey Tom, > if you dont get much traction here, try in -mobile@ > > B > > _________________________ > {Beto|Norberto|Numard} Meijome > > "Ninety percent of the time things turn out worse than you thought they would. > The other ten percent of the time you had no right to expect that much." > Augustine > > I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. > Solution found on -multimedia If your mixer has a "phout" control, would you try to change the level from 0 to any value? e.g.: | $ mixer | Mixer vol is currently set to 50:50 | Mixer bass is currently set to 70:70 | Mixer treble is currently set to 50:50 | Mixer pcm is currently set to 75:75 | Mixer speaker is currently set to 15:15 | Mixer line is currently set to 75:75 | Mixer mic is currently set to 0:0 | Mixer cd is currently set to 75:75 | Mixer rec is currently set to 0:0 | Mixer igain is currently set to 35:35 | Mixer line1 is currently set to 75:75 | Mixer phin is currently set to 0:0 | Mixer phout is currently set to 0:0 | Mixer video is currently set to 75:75 | Recording source: mic | $ mixer phout 100 | Setting the mixer phout from 0:0 to 100:100. | $ --- Watanabe Kazuhiro (CQG00620@nifty.ne.jp) From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 25 17:04:20 2007 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 6234216A417; Thu, 25 Oct 2007 17:04:20 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 0797B13C4A3; Thu, 25 Oct 2007 17:04:19 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8p) with ESMTP id 216059193-1834499 for multiple; Thu, 25 Oct 2007 13:06:21 -0400 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l9PH3aYV023513; Thu, 25 Oct 2007 13:03:41 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Tom Judge Date: Thu, 25 Oct 2007 12:34:58 -0400 User-Agent: KMail/1.9.6 References: <471CCA24.4080400@tomjudge.com> <200710232328.18947.jhb@freebsd.org> <471FCE4C.70303@tomjudge.com> In-Reply-To: <471FCE4C.70303@tomjudge.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710251234.59272.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Thu, 25 Oct 2007 13:03:41 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: njl@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: ACPI Attach (acpi_ibm) stops mouse from working 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, 25 Oct 2007 17:04:20 -0000 On Wednesday 24 October 2007 06:59:24 pm Tom Judge wrote: > John Baldwin wrote: > > On Monday 22 October 2007 12:04:52 pm Tom Judge wrote: > >> Hi, > >> > >> > >> I have recently setup an IBM/Lenovo T43 with RELENG_7 as of mid last > >> week, however I have a problem with the acpi_ibm module. > >> > >> If I add acpi_ibm_load="YES" to loader.conf I get the following message > >> during boot: > >> > >> psm0: unable to allocate IRQ > >> > >> This is followed by a message stating that the acpi_ibm module has > >> attached to IRQ 12. > >> > >> If I remove this module from loader.conf and boot the system the mouse > >> attaches and works as expected. If I then kldload acpi_ibm the module > >> attaches to acpi0. > >> > >> > >> Is there any way to make this work without loading the acpi module after > >> boot? > > > > Can you provide your acpidump as well as devinfo -rv output from both cases? > > (i.e. when it is loaded at boot and when it is kldloaded after boot) > > > Hi, > > After spending many hours trying to reproduce this I have narrowed it > down to the order in which the modules are loaded (and by nature listed > in /boot/loader.conf). It seems that the psm will only attach when > acpi_ibm is listed at the end of loader.conf. > > I have run a sequence of tests and gathered the following data > > acpidump -dt > devinfo -rv > /var/run/dmesg.boot > Kernel config (T43) > > The file names are in the format {data}-{acpi_ibm_load line number in > loader.conf}-{good=psm attached/bad=psm failed to attach} > > The files are avaliable here: http://www.tomjudge.com/tmp/debug.tgz > > If you want any more information please let me know. You BIOS makes your PS/2 mouse show up as an acpi_ibm(4) device which is your problem. acpi_ibm(4) looks for two different IDs: static char *ibm_ids[] = {"IBM0057", "IBM0068", NULL}; Your hotkey device shows up as "IBM0068": Device (HKEY) { Name (_HID, EisaId ("IBM0068")) ... } You mouse has a split personality and picks the "IBM" ID during boot via the MOU.MHID() method: Scope (\_SB) { Method (_INI, 0, NotSerialized) { ... \_SB.PCI0.LPC.MOU.MHID () ... } ... Device (MOU) { Name (_HID, EisaId ("IBM3780")) Name (_CID, 0x130FD041) Name (_CRS, ResourceTemplate () { IRQNoFlags () {12} }) Method (MHID, 0, NotSerialized) { If (\_SB.PCI0.LPC.PADD) { Store (0x80374D24, _HID) } Else { Store (0x57004D24, _HID) } } } ... } So, it starts out as "IBM3780", but if 'PADD' is zero (maybe changed via a BIOS setting?) it uses "IBM0057" which causes acpi_ibm(4) to attach to this device if it sees it before the psm(4) driver sees it. The linux acpi_ibm driver only attaches to IBM0068 FWIW. You can try removing "IBM0057" from the ID list in acpi_ibm.c, that should fix your mouse issue. -- John Baldwin From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 25 17:28:05 2007 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 37FA116A469 for ; Thu, 25 Oct 2007 17:28:05 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from s200aog12.obsmtp.com (s200aog12.obsmtp.com [207.126.144.126]) by mx1.freebsd.org (Postfix) with SMTP id D0A4C13C4C2 for ; Thu, 25 Oct 2007 17:28:02 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from source ([217.206.187.80]) by eu1sys200aob012.postini.com ([207.126.147.11]) with SMTP; Thu, 25 Oct 2007 17:28:01 UTC Received: from [10.0.0.89] (bill.mintel.co.uk [10.0.0.89]) by rodney.mintel.co.uk (Postfix) with ESMTP id BEA2D181422; Thu, 25 Oct 2007 18:28:00 +0100 (BST) Message-ID: <4720D21F.7050909@tomjudge.com> Date: Thu, 25 Oct 2007 18:27:59 +0100 From: Tom Judge User-Agent: Thunderbird 1.5.0.13 (X11/20070824) MIME-Version: 1.0 To: John Baldwin References: <471CCA24.4080400@tomjudge.com> <200710232328.18947.jhb@freebsd.org> <471FCE4C.70303@tomjudge.com> <200710251234.59272.jhb@freebsd.org> In-Reply-To: <200710251234.59272.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: njl@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: ACPI Attach (acpi_ibm) stops mouse from working 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, 25 Oct 2007 17:28:05 -0000 John Baldwin wrote: > On Wednesday 24 October 2007 06:59:24 pm Tom Judge wrote: >> John Baldwin wrote: >>> On Monday 22 October 2007 12:04:52 pm Tom Judge wrote: >>>> Hi, >>>> >>>> >>>> I have recently setup an IBM/Lenovo T43 with RELENG_7 as of mid last >>>> week, however I have a problem with the acpi_ibm module. >>>> >>>> If I add acpi_ibm_load="YES" to loader.conf I get the following message >>>> during boot: >>>> >>>> psm0: unable to allocate IRQ >>>> >>>> This is followed by a message stating that the acpi_ibm module has >>>> attached to IRQ 12. >>>> >>>> If I remove this module from loader.conf and boot the system the mouse >>>> attaches and works as expected. If I then kldload acpi_ibm the module >>>> attaches to acpi0. >>>> >>>> >>>> Is there any way to make this work without loading the acpi module after >>>> boot? >>> Can you provide your acpidump as well as devinfo -rv output from both > cases? >>> (i.e. when it is loaded at boot and when it is kldloaded after boot) >>> >> Hi, >> >> After spending many hours trying to reproduce this I have narrowed it >> down to the order in which the modules are loaded (and by nature listed >> in /boot/loader.conf). It seems that the psm will only attach when >> acpi_ibm is listed at the end of loader.conf. >> >> I have run a sequence of tests and gathered the following data >> >> acpidump -dt >> devinfo -rv >> /var/run/dmesg.boot >> Kernel config (T43) >> >> The file names are in the format {data}-{acpi_ibm_load line number in >> loader.conf}-{good=psm attached/bad=psm failed to attach} >> >> The files are avaliable here: http://www.tomjudge.com/tmp/debug.tgz >> >> If you want any more information please let me know. > > You BIOS makes your PS/2 mouse show up as an acpi_ibm(4) device which is your > problem. acpi_ibm(4) looks for two different IDs: > > static char *ibm_ids[] = {"IBM0057", "IBM0068", NULL}; > > Your hotkey device shows up as "IBM0068": > > Device (HKEY) > { > Name (_HID, EisaId ("IBM0068")) > ... > } > > You mouse has a split personality and picks the "IBM" ID during boot via the > MOU.MHID() method: > > Scope (\_SB) > { > Method (_INI, 0, NotSerialized) > { > ... > \_SB.PCI0.LPC.MOU.MHID () > ... > } > > ... > Device (MOU) > { > Name (_HID, EisaId ("IBM3780")) > Name (_CID, 0x130FD041) > Name (_CRS, ResourceTemplate () > { > IRQNoFlags () > {12} > }) > Method (MHID, 0, NotSerialized) > { > If (\_SB.PCI0.LPC.PADD) > { > Store (0x80374D24, _HID) > } > Else > { > Store (0x57004D24, _HID) > } > } > } > ... > } > > So, it starts out as "IBM3780", but if 'PADD' is zero (maybe changed via a > BIOS setting?) it uses "IBM0057" which causes acpi_ibm(4) to attach to this > device if it sees it before the psm(4) driver sees it. > > The linux acpi_ibm driver only attaches to IBM0068 FWIW. You can try > removing "IBM0057" from the ID list in acpi_ibm.c, that should fix your mouse > issue. > The only bios settings relevent to the mouse are whether to disable it, or have it automatically disabled if an external mouse is detected, presumable connected to the dock mouse port (which I don't have). Why would the psm/ibm_acpi attach order be changed by where abouts acpi_ibm_load is in loader.conf? Thanks for the help with this. Tom From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 25 17:39:25 2007 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 22D3316A5D9 for ; Thu, 25 Oct 2007 17:39:25 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id B18ED13C4B6 for ; Thu, 25 Oct 2007 17:39:24 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8p) with ESMTP id 216063953-1834499 for multiple; Thu, 25 Oct 2007 13:41:58 -0400 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l9PHdLgY023767; Thu, 25 Oct 2007 13:39:21 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-mobile@freebsd.org Date: Thu, 25 Oct 2007 13:39:15 -0400 User-Agent: KMail/1.9.6 References: <20071024234927.5DE354500E@ptavv.es.net> <472051E1.6020108@tomjudge.com> In-Reply-To: <472051E1.6020108@tomjudge.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710251339.16232.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Thu, 25 Oct 2007 13:39:21 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Tom Judge Subject: Re: ACPI Attach (acpi_ibm) stops mouse from working 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, 25 Oct 2007 17:39:25 -0000 On Thursday 25 October 2007 04:20:49 am Tom Judge wrote: > Kevin Oberman wrote: > >> Date: Mon, 22 Oct 2007 17:04:52 +0100 > >> From: Tom Judge > >> Sender: owner-freebsd-mobile@freebsd.org > >> > >> Hi, > >> > >> > >> I have recently setup an IBM/Lenovo T43 with RELENG_7 as of mid last > >> week, however I have a problem with the acpi_ibm module. > >> > >> If I add acpi_ibm_load="YES" to loader.conf I get the following message > >> during boot: > >> > >> psm0: unable to allocate IRQ > >> > >> This is followed by a message stating that the acpi_ibm module has > >> attached to IRQ 12. > >> > >> If I remove this module from loader.conf and boot the system the mouse > >> attaches and works as expected. If I then kldload acpi_ibm the module > >> attaches to acpi0. > >> > >> > >> Is there any way to make this work without loading the acpi module after > >> boot? > > > > I have a T43 and see the same thing if I load drivers in > > /boot/loader.conf. I have seen it with both umass and it's USB brethren, > > and if_ath. If I build them into the kernel or load them after the > > system boots, there is no problem. Otherwise, no IRQ for the mouse (and > > no mouse). > > > > But you don't have to explicitly load ACPI. It's "magic" and > > automatically loads if you don't disable it in hints. If it loads that > > way, I have never had problems with the mouse. > > > > jhb had some ideas of what caused the problem, but I have never had > > time to pursue it and it is pretty rare. > > > > Try removing the load from /boot/loader.conf and see if it works and if > > you still get ACPI. > > If I remove acpi_ibm_load="YES" from loader.conf I do indeed still get > acpi. But what I don't get are access to the IBM acpi extensions such > as being able to use the access button to launch applications. It all > seems to be related to the order in which the modules are loaded. If > acpi_ibm is loaded last then all is well, if not then it attaches to irq > 12 clobbering the ps2 port for the mouse. I just committed a fix. You can fix it locally by removing the IBM0057 ID from acpi_ibm.c. -- John Baldwin From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 25 18:00:50 2007 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 7011B16A46C for ; Thu, 25 Oct 2007 18:00:50 +0000 (UTC) (envelope-from SRS0=734d6c34bf44665d567534190cfe44cf40fbbddc=499=es.net=oberman@es.net) Received: from postal1.es.net (postal4.es.net [IPv6:2001:400:6000:1::66]) by mx1.freebsd.org (Postfix) with ESMTP id A062213C4AA for ; Thu, 25 Oct 2007 18:00:47 +0000 (UTC) (envelope-from SRS0=734d6c34bf44665d567534190cfe44cf40fbbddc=499=es.net=oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal4.es.net (Postal Node 4) with ESMTP (SSL) id ECZ30645; Thu, 25 Oct 2007 11:00:45 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 1ECE045010; Thu, 25 Oct 2007 11:00:44 -0700 (PDT) To: Tom Judge In-Reply-To: Your message of "Thu, 25 Oct 2007 09:20:49 BST." <472051E1.6020108@tomjudge.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1193335244_44900P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Thu, 25 Oct 2007 11:00:44 -0700 From: "Kevin Oberman" Message-Id: <20071025180044.1ECE045010@ptavv.es.net> X-Sender-IP: 198.128.4.29 X-Sender-Domain: es.net X-Recipent: ;; X-Sender: X-To_Name: Tom Judge X-To_Domain: tomjudge.com X-To: Tom Judge X-To_Email: tom@tomjudge.com X-To_Alias: tom Cc: freebsd-mobile@freebsd.org Subject: Re: ACPI Attach (acpi_ibm) stops mouse from working 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, 25 Oct 2007 18:00:50 -0000 --==_Exmh_1193335244_44900P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > Date: Thu, 25 Oct 2007 09:20:49 +0100 > From: Tom Judge > > Kevin Oberman wrote: > >> Date: Mon, 22 Oct 2007 17:04:52 +0100 > >> From: Tom Judge > >> Sender: owner-freebsd-mobile@freebsd.org > >> > >> Hi, > >> > >> > >> I have recently setup an IBM/Lenovo T43 with RELENG_7 as of mid last > >> week, however I have a problem with the acpi_ibm module. > >> > >> If I add acpi_ibm_load="YES" to loader.conf I get the following message > >> during boot: > >> > >> psm0: unable to allocate IRQ > >> > >> This is followed by a message stating that the acpi_ibm module has > >> attached to IRQ 12. > >> > >> If I remove this module from loader.conf and boot the system the mouse > >> attaches and works as expected. If I then kldload acpi_ibm the module > >> attaches to acpi0. > >> > >> > >> Is there any way to make this work without loading the acpi module after > >> boot? > > > > I have a T43 and see the same thing if I load drivers in > > /boot/loader.conf. I have seen it with both umass and it's USB brethren, > > and if_ath. If I build them into the kernel or load them after the > > system boots, there is no problem. Otherwise, no IRQ for the mouse (and > > no mouse). > > > > But you don't have to explicitly load ACPI. It's "magic" and > > automatically loads if you don't disable it in hints. If it loads that > > way, I have never had problems with the mouse. > > > > jhb had some ideas of what caused the problem, but I have never had > > time to pursue it and it is pretty rare. > > > > Try removing the load from /boot/loader.conf and see if it works and if > > you still get ACPI. > > If I remove acpi_ibm_load="YES" from loader.conf I do indeed still get > acpi. But what I don't get are access to the IBM acpi extensions such > as being able to use the access button to launch applications. It all > seems to be related to the order in which the modules are loaded. If > acpi_ibm is loaded last then all is well, if not then it attaches to irq > 12 clobbering the ps2 port for the mouse. How odd. I can't see why acpi_ibm would effect IRQs in any way. Are you running with APIC? I am not. Here are the contents of my loader.conf file: #Increase PCM buffer for smoother sound hint.pcm.0.buffersize="16384" kern.maxfiles="25000" # Kick the mouse on resume hint.psm.0.flags="0x2000" # Disable TCC CPU throttling #hint.p4tcc.0.disabled="1" #hint.acpi_throttle.0.disabled="1" # The DVD/CD does DMA just fine hw.ata.atapi.dma="1" # Allow better power management of devices hw.pci.do_power_nodriver="2" hw.psm.synaptics_support="1" # Don't use cpufreq on this system! #cpufreq_load="YES" wlan_scan_sta_load="YES" # VESA allows full res VTYs (132x50 with mode 322) vesa_load="YES" # Support full disk encryption geom_eli_load="YES" # Support IBM ACPI extensions acpi_ibm_load="YES" # Load the sound driver snd_ich_load="YES" acpi_video_load="YES" # Support WEP on WiFi wlan_wep_load="YES" # Don't enable firewall at boot as it breaks IPv6 RDP/NDP #ipfw_load="YES" linux_load="YES" These entries are for a variety of things and some may not be appropriate or may be built into the kernel. I am running the latest available BIOS. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1193335244_44900P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFHINnMkn3rs5h7N1ERAj1eAKC0rhOJKBjEEQ3PP1p/8mpu+/Bi0gCgke+O n2XvKo369REtMf9XhOKN5bI= =xKh0 -----END PGP SIGNATURE----- --==_Exmh_1193335244_44900P-- From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 25 18:33:27 2007 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 3CF0C16A421 for ; Thu, 25 Oct 2007 18:33:27 +0000 (UTC) (envelope-from nate@root.org) Received: from root.org (root.org [67.118.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id F114C13C48E for ; Thu, 25 Oct 2007 18:33:26 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 57063 invoked from network); 25 Oct 2007 18:06:47 -0000 Received: from unknown (HELO ?192.168.1.77?) (nate-mail@71.141.139.72) by root.org with ESMTPA; 25 Oct 2007 18:06:47 -0000 Message-ID: <4720DB2F.3060006@root.org> Date: Thu, 25 Oct 2007 11:06:39 -0700 From: Nate Lawson User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Tom Judge References: <471CCA24.4080400@tomjudge.com> <200710232328.18947.jhb@freebsd.org> <471FCE4C.70303@tomjudge.com> <200710251234.59272.jhb@freebsd.org> <4720D21F.7050909@tomjudge.com> In-Reply-To: <4720D21F.7050909@tomjudge.com> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: ACPI Attach (acpi_ibm) stops mouse from working 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, 25 Oct 2007 18:33:27 -0000 Tom Judge wrote: > John Baldwin wrote: >> The linux acpi_ibm driver only attaches to IBM0068 FWIW. You can try >> removing "IBM0057" from the ID list in acpi_ibm.c, that should fix >> your mouse issue. >> > The only bios settings relevent to the mouse are whether to disable it, > or have it automatically disabled if an external mouse is detected, > presumable connected to the dock mouse port (which I don't have). > > Why would the psm/ibm_acpi attach order be changed by where abouts > acpi_ibm_load is in loader.conf? Don't worry about it. John just checked in a fix in -current. If you run that, you can cvsup and test, otherwise wait for the MFC. -- Nate From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 25 19:20:07 2007 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 224A216A614; Thu, 25 Oct 2007 19:20:07 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 72EC413C4B3; Thu, 25 Oct 2007 19:20:06 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8p) with ESMTP id 216081032-1834499 for multiple; Thu, 25 Oct 2007 15:22:19 -0400 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l9PJJVVV024502; Thu, 25 Oct 2007 15:19:42 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Tom Judge Date: Thu, 25 Oct 2007 15:19:24 -0400 User-Agent: KMail/1.9.6 References: <471CCA24.4080400@tomjudge.com> <200710251234.59272.jhb@freebsd.org> <4720D21F.7050909@tomjudge.com> In-Reply-To: <4720D21F.7050909@tomjudge.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710251519.24569.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Thu, 25 Oct 2007 15:19:42 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: njl@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: ACPI Attach (acpi_ibm) stops mouse from working 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, 25 Oct 2007 19:20:07 -0000 On Thursday 25 October 2007 01:27:59 pm Tom Judge wrote: > Why would the psm/ibm_acpi attach order be changed by where abouts > acpi_ibm_load is in loader.conf? Drivers are stored in linked lists in the kernel. They are added to the list when the driver is added via the SYSINIT() in DRIVER_MODULE(). The order of SYSINIT's with the same (subsystem, level) depends on the order the modules are loaded (and even the order that files are linked when the kernel is built.. since the Makefile has the files in alpha order, this means /dev/aaa will usually get probed before /dev/bbb if both are in the kernel for example), and since psm(4) and acpi_ibm(4) both returned the same probe priority for this device, the first driver to probe it "won". -- John Baldwin From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 25 20:53:29 2007 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 21EFF16A417 for ; Thu, 25 Oct 2007 20:53:29 +0000 (UTC) (envelope-from wisco.disco@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.236]) by mx1.freebsd.org (Postfix) with ESMTP id BEFFD13C491 for ; Thu, 25 Oct 2007 20:53:28 +0000 (UTC) (envelope-from wisco.disco@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so596477wra for ; Thu, 25 Oct 2007 13:53:28 -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:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=9/pPc4l9EY7JvxE4tT3woQ5VY/fuKpxDOl6wkfmI6lI=; b=jS89jjljmm+w5wrPyWTFKGiveIIFK8NjF6SOUSygIVVM1mzxQEtxT3XLJWTEcMm2rE1bOd5RUUBzycwiVx6h4MxKR27bUl+NlxwlpgGldS1wnoPmwyQajmvBRbxUQM0NO33fL/3d0nzzPK8++RrAlpTxnZxwfBojJUhlmTnE4AQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=bi2km+X5PcJrlOgdORfiYaA6fYdQVa+AMxFBI8P7quw/AjPnEFtlefWKkMELOPSXpmypyjLhSWxrkeLhBCU+sudXee40qYInNjdghiH/7k+gW+4PTo/DOY4j+J1juAWLAEdmdZN0vRBuZ4mhYXhc0TIjgjNUcOdiBFiZIloYDzk= Received: by 10.90.51.17 with SMTP id y17mr1812540agy.1193343934364; Thu, 25 Oct 2007 13:25:34 -0700 (PDT) Received: by 10.90.96.10 with HTTP; Thu, 25 Oct 2007 13:25:34 -0700 (PDT) Message-ID: Date: Thu, 25 Oct 2007 15:25:34 -0500 From: "Doug Poland" To: freebsd-mobile@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Intel 3945ABG with ipw driver on 7.0 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: doug@polands.org List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2007 20:53:29 -0000 Hello, I'm running a Compaq nx7400 with an Intel 3945AGB wireless NIC and am ready, willing, and able to test any drivers that are released for this NIC. -- Regards, Doug From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 25 23:38:11 2007 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 6955416A418 for ; Thu, 25 Oct 2007 23:38:11 +0000 (UTC) (envelope-from yousif@alumni.jmu.edu) Received: from coruscant.far-far-away.us (coruscant.far-far-away.us [70.91.196.65]) by mx1.freebsd.org (Postfix) with SMTP id E1FE613C48D for ; Thu, 25 Oct 2007 23:38:10 +0000 (UTC) (envelope-from yousif@alumni.jmu.edu) Received: (qmail 44771 invoked from network); 25 Oct 2007 19:06:14 -0400 Received: from kamino.far-far-away.us (HELO kamino) (192.168.0.9) by coruscant.far-far-away.us with SMTP; 25 Oct 2007 19:06:14 -0400 Message-ID: <876433E1498641309A00BB5BAF33BB3C@kamino> From: "Yousif Hassan" To: , References: In-Reply-To: Date: Thu, 25 Oct 2007 19:11:35 -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: Intel 3945ABG with ipw driver on 7.0 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Yousif Hassan List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2007 23:38:11 -0000 Try: http://www.clearchain.com/wiki/Wpi ----- Original Message ----- From: "Doug Poland" To: Sent: Thursday, October 25, 2007 4:25 PM Subject: Intel 3945ABG with ipw driver on 7.0 > Hello, > > I'm running a Compaq nx7400 with an Intel 3945AGB wireless NIC and am > ready, willing, and able to test any drivers that are released for > this NIC. > > > -- > Regards, > Doug > _______________________________________________ > 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 Thu Oct 25 23:44:12 2007 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 D8E4316A417; Thu, 25 Oct 2007 23:44:12 +0000 (UTC) (envelope-from SRS0=734d6c34bf44665d567534190cfe44cf40fbbddc=499=es.net=oberman@es.net) Received: from postal1.es.net (postal1.es.net [IPv6:2001:400:14:3::6]) by mx1.freebsd.org (Postfix) with ESMTP id 8BB1213C48E; Thu, 25 Oct 2007 23:44:10 +0000 (UTC) (envelope-from SRS0=734d6c34bf44665d567534190cfe44cf40fbbddc=499=es.net=oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id EHR62508; Thu, 25 Oct 2007 16:44:08 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 4C15E4500E; Thu, 25 Oct 2007 16:44:08 -0700 (PDT) To: John Baldwin In-Reply-To: Your message of "Thu, 25 Oct 2007 13:39:15 EDT." <200710251339.16232.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1193355848_44900P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Thu, 25 Oct 2007 16:44:08 -0700 From: "Kevin Oberman" Message-Id: <20071025234408.4C15E4500E@ptavv.es.net> X-Sender-IP: 198.128.4.29 X-Sender-Domain: es.net X-Recipent: ; ; ; X-Sender: X-To_Name: John Baldwin X-To_Domain: freebsd.org X-To: John Baldwin X-To_Email: jhb@freebsd.org X-To_Alias: jhb Cc: Tom Judge , freebsd-mobile@freebsd.org Subject: Re: ACPI Attach (acpi_ibm) stops mouse from working 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, 25 Oct 2007 23:44:12 -0000 --==_Exmh_1193355848_44900P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > From: John Baldwin > Date: Thu, 25 Oct 2007 13:39:15 -0400 > > On Thursday 25 October 2007 04:20:49 am Tom Judge wrote: > > Kevin Oberman wrote: > > >> Date: Mon, 22 Oct 2007 17:04:52 +0100 > > >> From: Tom Judge > > >> Sender: owner-freebsd-mobile@freebsd.org > > >> > > >> Hi, > > >> > > >> > > >> I have recently setup an IBM/Lenovo T43 with RELENG_7 as of mid last > > >> week, however I have a problem with the acpi_ibm module. > > >> > > >> If I add acpi_ibm_load="YES" to loader.conf I get the following message > > >> during boot: > > >> > > >> psm0: unable to allocate IRQ > > >> > > >> This is followed by a message stating that the acpi_ibm module has > > >> attached to IRQ 12. > > >> > > >> If I remove this module from loader.conf and boot the system the mouse > > >> attaches and works as expected. If I then kldload acpi_ibm the module > > >> attaches to acpi0. > > >> > > >> > > >> Is there any way to make this work without loading the acpi module after > > >> boot? > > > > > > I have a T43 and see the same thing if I load drivers in > > > /boot/loader.conf. I have seen it with both umass and it's USB brethren, > > > and if_ath. If I build them into the kernel or load them after the > > > system boots, there is no problem. Otherwise, no IRQ for the mouse (and > > > no mouse). > > > > > > But you don't have to explicitly load ACPI. It's "magic" and > > > automatically loads if you don't disable it in hints. If it loads that > > > way, I have never had problems with the mouse. > > > > > > jhb had some ideas of what caused the problem, but I have never had > > > time to pursue it and it is pretty rare. > > > > > > Try removing the load from /boot/loader.conf and see if it works and if > > > you still get ACPI. > > > > If I remove acpi_ibm_load="YES" from loader.conf I do indeed still get > > acpi. But what I don't get are access to the IBM acpi extensions such > > as being able to use the access button to launch applications. It all > > seems to be related to the order in which the modules are loaded. If > > acpi_ibm is loaded last then all is well, if not then it attaches to irq > > 12 clobbering the ps2 port for the mouse. > > I just committed a fix. You can fix it locally by removing the IBM0057 ID > from acpi_ibm.c. Yes! Thanks so much, John. This has been bugging me for months and the tie to acpi_ibm never dawned on me. I can confirm that his resolves the problem completely. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1193355848_44900P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFHISpIkn3rs5h7N1ERAtLmAJ0R1QoE6AciCHhiQf/zfoUgqfWIxwCfQ9Wu MPgAJWzSaxMdPzlmUzf+hiU= =bsOm -----END PGP SIGNATURE----- --==_Exmh_1193355848_44900P-- From owner-freebsd-mobile@FreeBSD.ORG Fri Oct 26 08:22:06 2007 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 60F8C16A41B for ; Fri, 26 Oct 2007 08:22:06 +0000 (UTC) (envelope-from deepak.karia@compuageindia.com) Received: from hclinfinet.com (mumbs1.hclinfinet.com [203.90.78.73]) by mx1.freebsd.org (Postfix) with SMTP id B558A13C4BB for ; Fri, 26 Oct 2007 08:22:05 +0000 (UTC) (envelope-from deepak.karia@compuageindia.com) Received: (qmail 9059 invoked from network); 26 Oct 2007 19:36:29 -0000 Received: from unknown (HELO cilmail.compuageindia.com) ([203.90.117.162]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 26 Oct 2007 19:36:29 -0000 From: deepak.karia@compuageindia.com X-Priority: 3 (Normal) Date: Fri, 26 Oct 2007 12:44:26 +0530 To: Claudia Message-ID: X-MIMETrack: Serialize by Router on CILMAIL/CIL(Release 7.0.1|January 17, 2006) at 10/26/2007 01:22:03 PM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Subject: Virus Found in message "Biohazard in teh USA and other countries!" 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, 26 Oct 2007 08:22:06 -0000 Symantec AntiVirus found a virus in an attachment you (Claudia ) sent to deepak.karia@compuageindia.com. To ensure the recipient(s) are able to use the files you sent, perform a virus scan on your computer, clean any infected files, then resend this attachment. Attachment: information.zip Virus name: Multiple viruses found. Please see individual log messages. Action taken: Clean failed : Quarantine succeeded : File status: Still contains 1 infected items From owner-freebsd-mobile@FreeBSD.ORG Fri Oct 26 09:57:27 2007 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 A583216A419 for ; Fri, 26 Oct 2007 09:57:27 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:1f1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 2B6FB13C4B2 for ; Fri, 26 Oct 2007 09:57:26 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from prawn.unsane.co.uk (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id l9Q9vTg8082356 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 26 Oct 2007 10:57:30 +0100 (BST) (envelope-from jhary@unsane.co.uk) Message-ID: <4721B9FA.2040208@unsane.co.uk> Date: Fri, 26 Oct 2007 10:57:14 +0100 From: Vince User-Agent: Thunderbird 2.0.0.6 (X11/20070816) MIME-Version: 1.0 To: Yousif Hassan References: <876433E1498641309A00BB5BAF33BB3C@kamino> In-Reply-To: <876433E1498641309A00BB5BAF33BB3C@kamino> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: doug@polands.org, freebsd-mobile@freebsd.org Subject: Re: Intel 3945ABG with ipw driver on 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: Fri, 26 Oct 2007 09:57:27 -0000 Yousif Hassan wrote: > Try: > http://www.clearchain.com/wiki/Wpi > And if you dont have access to the perforce repository, someone (I forget who now) wrote a handy little ruby script to scrape the webinterface to get the latest, I'll dig it out if you want it although I think its in the archives of mobile@ or drivers@ somewhere. It has debugging options that arent on in 7.0 by default so you might need to edit the makefile of the perforce version. Vince > ----- Original Message ----- From: "Doug Poland" > To: > Sent: Thursday, October 25, 2007 4:25 PM > Subject: Intel 3945ABG with ipw driver on 7.0 > > >> Hello, >> >> I'm running a Compaq nx7400 with an Intel 3945AGB wireless NIC and am >> ready, willing, and able to test any drivers that are released for >> this NIC. >> >> >> -- >> Regards, >> Doug >> _______________________________________________ >> 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" >> > _______________________________________________ > 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 Fri Oct 26 10:30:56 2007 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 5FBAE16A469 for ; Fri, 26 Oct 2007 10:30:56 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id C6F3113C4C2 for ; Fri, 26 Oct 2007 10:30:55 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: by nf-out-0910.google.com with SMTP id b2so698133nfb for ; Fri, 26 Oct 2007 03:30:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; bh=1rMQIS3rSSrw1blHkIfci2+fOPjTZP/yiP6kpCm5DkI=; b=i6y0PqrEzASLGfr8hDeHCad5wlnu/jkPMkpfeQ/ZJ5yyNbfARrPpXdiaa8xn/XA6L1Up2hdeZXSoNYyc46lV03v7PErVfRb+kppStW4ILL4O06hmf1THk2zF/uIu7AZ3UEf5E5LReCIpJohWdPgN3JwlkySTCaUhaiaASyWwUz4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=lgnXDYzH1fE+tFLVz8Y4B82Nm4Tuco7SAMhdMj+bxJHqUJdE6rmkOPd73th3fDmCc+c0OMAIuHrQnJUY/rTEuqd2IUhhs6pe9dGvNO7ftvlwt18aucij4ztXNicE5r8Uk/b/ZkPbSrq3fna8fk1NZD6JDtUtV1ysHTEFf/eEU4g= Received: by 10.78.81.20 with SMTP id e20mr2145509hub.1193394653535; Fri, 26 Oct 2007 03:30:53 -0700 (PDT) Received: from ?127.0.0.1? ( [217.206.187.79]) by mx.google.com with ESMTPS id k5sm3525747nfh.2007.10.26.03.30.50 (version=SSLv3 cipher=RC4-MD5); Fri, 26 Oct 2007 03:30:51 -0700 (PDT) From: Tom Evans To: Vince In-Reply-To: <4721B9FA.2040208@unsane.co.uk> References: <876433E1498641309A00BB5BAF33BB3C@kamino> <4721B9FA.2040208@unsane.co.uk> Content-Type: multipart/mixed; boundary="=-mNq1sjStdI6zjy/m2UfV" Date: Fri, 26 Oct 2007 11:30:48 +0100 Message-Id: <1193394648.2001.62.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 FreeBSD GNOME Team Port X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: doug@polands.org, Yousif Hassan , freebsd-mobile@freebsd.org Subject: Re: Intel 3945ABG with ipw driver on 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: Fri, 26 Oct 2007 10:30:56 -0000 --=-mNq1sjStdI6zjy/m2UfV Content-Type: text/plain Content-Transfer-Encoding: 7bit On Fri, 2007-10-26 at 10:57 +0100, Vince wrote: > Yousif Hassan wrote: > > Try: > > http://www.clearchain.com/wiki/Wpi > > > And if you dont have access to the perforce repository, someone (I > forget who now) wrote a handy little ruby script to scrape the > webinterface to get the latest, I'll dig it out if you want it although > I think its in the archives of mobile@ or drivers@ somewhere. It has > debugging options that arent on in 7.0 by default so you might need to > edit the makefile of the perforce version. > > Vince Yo! Ben was going to put it up on the wiki, but he's a busy man, and I don't mind resending this. All the archives seem to have munged storing this when I send it PGP signed, so this is unsigned => take a good read of the script to confirm it isn't a nasty. Hopefully this will mean it gets linked. I really need some web space :o Requires www/rubygem-hpricot . Cheers Tom --=-mNq1sjStdI6zjy/m2UfV-- From owner-freebsd-mobile@FreeBSD.ORG Fri Oct 26 13:55:46 2007 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 C6FB916A41B for ; Fri, 26 Oct 2007 13:55:46 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:1f1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 3125E13C48A for ; Fri, 26 Oct 2007 13:55:46 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from prawn.unsane.co.uk (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id l9QDtnn9085844 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 26 Oct 2007 14:55:50 +0100 (BST) (envelope-from jhary@unsane.co.uk) Message-ID: <4721F1D7.9040804@unsane.co.uk> Date: Fri, 26 Oct 2007 14:55:35 +0100 From: Vince User-Agent: Thunderbird 2.0.0.6 (X11/20070816) MIME-Version: 1.0 To: Tom Evans References: <876433E1498641309A00BB5BAF33BB3C@kamino> <4721B9FA.2040208@unsane.co.uk> <1193394648.2001.62.camel@localhost> In-Reply-To: <1193394648.2001.62.camel@localhost> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: doug@polands.org, Yousif Hassan , freebsd-mobile@freebsd.org Subject: Re: Intel 3945ABG with ipw driver on 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: Fri, 26 Oct 2007 13:55:46 -0000 Tom Evans wrote: > On Fri, 2007-10-26 at 10:57 +0100, Vince wrote: >> Yousif Hassan wrote: >>> Try: >>> http://www.clearchain.com/wiki/Wpi >>> >> And if you dont have access to the perforce repository, someone (I >> forget who now) wrote a handy little ruby script to scrape the >> webinterface to get the latest, I'll dig it out if you want it although >> I think its in the archives of mobile@ or drivers@ somewhere. It has >> debugging options that arent on in 7.0 by default so you might need to >> edit the makefile of the perforce version. >> >> Vince > > Yo! > Ben was going to put it up on the wiki, but he's a busy man, and I don't > mind resending this. > > All the archives seem to have munged storing this when I send it PGP > signed, so this is unsigned => take a good read of the script to confirm > it isn't a nasty. Hopefully this will mean it gets linked. I really need > some web space :o > > Requires www/rubygem-hpricot . > Just cause I didnt see the attachment (mailman stripping it it guess.) I've put it available at http://www.unsane.co.uk/~jhary/ruby/p4fetch.rb hope thats ok, let me know if not. Vince > Cheers > > Tom > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 Fri Oct 26 14:36:49 2007 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 ACD4016A41A; Fri, 26 Oct 2007 14:36:49 +0000 (UTC) (envelope-from luis.neves@co.sapo.pt) Received: from co.sapo.pt (smtp.corp.sapo.pt [194.65.95.225]) by mx1.freebsd.org (Postfix) with ESMTP id 412C413C491; Fri, 26 Oct 2007 14:36:48 +0000 (UTC) (envelope-from luis.neves@co.sapo.pt) Received: from [172.28.230.84] ([172.28.230.84]) by co.sapo.pt over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Fri, 26 Oct 2007 15:24:43 +0100 Message-ID: <4721F8A8.3010501@co.sapo.pt> Date: Fri, 26 Oct 2007 15:24:40 +0100 From: Luis Neves User-Agent: Thunderbird 2.0.0.6 (X11/20071017) MIME-Version: 1.0 To: freebsd-mobile@freebsd.org, freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 26 Oct 2007 14:24:43.0210 (UTC) FILETIME=[F39712A0:01C817DB] Cc: Subject: 7.0 BETA1 and Thinkpad T61p : Wireless misadventure 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, 26 Oct 2007 14:36:49 -0000 Hi all. So far I've failed to have a working wireless connection with this combination. There are no FreeBSD drivers for the included intel 4965AG card. I've tried to use the ndiswrapper framework without success. The ndisgen wizard runs without issues, but kldloading the driver freezes and reboots the machine. I've also tried two cardbus devices. The Cisco Aironet - AIR CB21AG (ath driver): Oct 26 13:30:27 t61p kernel: cardbus0: Expecting link target, got 0x0 Oct 26 13:30:27 t61p kernel: ath0: mem 0xbfeb0000-0xbfebffff irq 16 at device 0.0 on cardbus0 Oct 26 13:30:27 t61p kernel: ath0: [ITHREAD] Oct 26 13:30:27 t61p kernel: ath0: unable to attach hardware; HAL status 13 Oct 26 13:30:27 t61p kernel: device_attach: ath0 attach returned 6 and the Conceptronic C54RC (ral driver): Oct 26 13:40:59 t61p kernel: cardbus0: Expecting link target, got 0x0 Oct 26 13:40:59 t61p kernel: ral0: mem 0xbfeb0000-0xbfeb1fff irq 16 at device 0.0 on cardbus0 Oct 26 13:40:59 t61p kernel: ral0: MAC/BBP RT2560 (rev 0x00), RF RT2522 Oct 26 13:40:59 t61p kernel: ral0: [ITHREAD] Oct 26 13:41:40 t61p kernel: ral0: could not read from BBP Oct 26 13:41:40 t61p kernel: ral0: could not write to BBP Oct 26 13:41:40 t61p kernel: ral0: could not read from BBP Oct 26 13:41:40 t61p kernel: ral0: could not write to BBP Oct 26 13:41:40 t61p kernel: ral0: could not read from BBP Oct 26 13:41:40 t61p last message repeated 99 times Oct 26 13:41:40 t61p kernel: ral0: timeout waiting for BBP I'm running: uname -a FreeBSD t61p 7.0-BETA1 FreeBSD 7.0-BETA1 #0: Fri Oct 26 13:10:37 WEST 2007 root@t61p:/usr/obj/usr/src/sys/GENERIC i386 GENERIC kernel with ULE and without debugging. Is there anything I can do to diagnose these issues? Thanks! -- Luis Neves From owner-freebsd-mobile@FreeBSD.ORG Fri Oct 26 15:34:17 2007 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 7F21F16A419; Fri, 26 Oct 2007 15:34:17 +0000 (UTC) (envelope-from luis.neves@co.sapo.pt) Received: from co.sapo.pt (smtp.corp.sapo.pt [194.65.95.225]) by mx1.freebsd.org (Postfix) with ESMTP id 0EA0813C4B7; Fri, 26 Oct 2007 15:34:16 +0000 (UTC) (envelope-from luis.neves@co.sapo.pt) Received: from [172.28.230.84] ([172.28.230.84]) by co.sapo.pt over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Fri, 26 Oct 2007 16:34:15 +0100 Message-ID: <472208F4.2090004@co.sapo.pt> Date: Fri, 26 Oct 2007 16:34:12 +0100 From: Luis Neves User-Agent: Thunderbird 2.0.0.6 (X11/20071017) MIME-Version: 1.0 To: Yuri Lukin References: <4721F8A8.3010501@co.sapo.pt> <20071026144413.M17608@swaggi.com> In-Reply-To: <20071026144413.M17608@swaggi.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 26 Oct 2007 15:34:15.0118 (UTC) FILETIME=[AA3DB6E0:01C817E5] Cc: freebsd-stable@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: 7.0 BETA1 and Thinkpad T61p : Wireless misadventure 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, 26 Oct 2007 15:34:17 -0000 Yuri Lukin wrote: > On Fri, 26 Oct 2007 15:24:40 +0100, Luis Neves wrote > FWIW, I have a T61 (not the "p" version) with 7.0-PRERELEASE from Oct 15th and > have an integrated IBM miniPCI card that uses the ath driver without any problems: > > ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) > ath0: mem 0xdf2f0000-0xdf2fffff irq 17 at device 0.0 on pci3 > ath0: [ITHREAD] > ath0: using obsoleted if_watchdog interface > ath0: mac 10.3 phy 6.1 radio 10.2 > > You should have no issues using the CB21AG adapter under FreeBSD. I have > several of these and have used them as far back as 6.0-RELEASE on multiple > laptops without any issues. In fact, I just dug one up and inserted it into my > T61 and it attached to ath1: > > ath1: mem 0x88000000-0x8800ffff irq 16 at device 0.0 on cardbus0 > ath1: [ITHREAD] > ath1: using obsoleted if_watchdog interface > ath1: mac 5.6 phy 4.1 radio 3.6 Huumm... this is similar output to what i had last week, since then I've updated RAM to 4GB (a delicate process, I might have screwed up something) and updated FreeBSD a couple of times to the latest RELENG_7. >> I'm running: >> uname -a >> >> FreeBSD t61p 7.0-BETA1 FreeBSD 7.0-BETA1 #0: Fri Oct 26 13:10:37 >> WEST 2007 root@t61p:/usr/obj/usr/src/sys/GENERIC i386 >> >> GENERIC kernel with ULE and without debugging. >> >> Is there anything I can do to diagnose these issues? >> > > What does dmesg show for "ath" when you boot? Or can you post "pciconf -l -v"? cardbus: cbb0@pci0:21:0:0: class=0x060700 card=0x20c617aa chip=0x04761180 rev=0xba hdr=0x02 vendor = 'Ricoh Company, Ltd.' device = 'unknown Ricoh R/RL/5C476(II)' class = bridge subclass = PCI-CardBus "ral" card: ral0@pci0:22:0:0: class=0x028000 card=0x3c001948 chip=0x02011814 rev=0x01 hdr=0x00 vendor = 'Ralink Technology, Corp' device = '0x03011814 Zonet ZEW1601 (Ralink Chipset) 802.11b/g WLAN Card' class = network "ath" card ath0@pci0:22:0:0: class=0x020000 card=0xcb2114b9 chip=0x0013168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR5212, AR5213 802.11a/b/g Wireless Adapter' class = network subclass = ethernet Thanks for your help! -- Luis Neves From owner-freebsd-mobile@FreeBSD.ORG Fri Oct 26 15:45:34 2007 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 5753C16A543; Fri, 26 Oct 2007 15:45:34 +0000 (UTC) (envelope-from lists@swaggi.com) Received: from rusty.swaggy.net (rusty.swaggy.net [204.14.85.196]) by mx1.freebsd.org (Postfix) with ESMTP id 3071613C4BF; Fri, 26 Oct 2007 15:45:33 +0000 (UTC) (envelope-from lists@swaggi.com) Received: from localhost ([127.0.0.1] helo=swaggi.com) by rusty.swaggy.net with esmtp (Exim 4.67 (FreeBSD)) (envelope-from ) id 1IlQXe-000CFp-8o; Fri, 26 Oct 2007 10:52:07 -0400 From: "Yuri Lukin" To: Luis Neves , freebsd-mobile@freebsd.org, freebsd-stable@freebsd.org Date: Fri, 26 Oct 2007 10:52:06 -0400 Message-Id: <20071026144413.M17608@swaggi.com> In-Reply-To: <4721F8A8.3010501@co.sapo.pt> References: <4721F8A8.3010501@co.sapo.pt> X-Mailer: swaggi.com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Cc: Subject: Re: 7.0 BETA1 and Thinkpad T61p : Wireless misadventure 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, 26 Oct 2007 15:45:34 -0000 On Fri, 26 Oct 2007 15:24:40 +0100, Luis Neves wrote > Hi all. > So far I've failed to have a working wireless connection with this combination. > > There are no FreeBSD drivers for the included intel 4965AG card. > I've tried to use the ndiswrapper framework without success. The > ndisgen wizard runs without issues, but kldloading the driver > freezes and reboots the machine. I dont think there's any support for this card in FreeBSD just yet. > > I've also tried two cardbus devices. > > The Cisco Aironet - AIR CB21AG (ath driver): > > Oct 26 13:30:27 t61p kernel: cardbus0: Expecting link target, got 0x0 > > Oct 26 13:30:27 t61p kernel: ath0: mem 0xbfeb0000- > 0xbfebffff irq 16 at device 0.0 on cardbus0 > Oct 26 13:30:27 t61p kernel: ath0: [ITHREAD] > Oct 26 13:30:27 t61p kernel: ath0: unable to attach hardware; HAL > status 13 > Oct 26 13:30:27 t61p kernel: device_attach: ath0 attach returned 6 > FWIW, I have a T61 (not the "p" version) with 7.0-PRERELEASE from Oct 15th and have an integrated IBM miniPCI card that uses the ath driver without any problems: ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) ath0: mem 0xdf2f0000-0xdf2fffff irq 17 at device 0.0 on pci3 ath0: [ITHREAD] ath0: using obsoleted if_watchdog interface ath0: mac 10.3 phy 6.1 radio 10.2 You should have no issues using the CB21AG adapter under FreeBSD. I have several of these and have used them as far back as 6.0-RELEASE on multiple laptops without any issues. In fact, I just dug one up and inserted it into my T61 and it attached to ath1: ath1: mem 0x88000000-0x8800ffff irq 16 at device 0.0 on cardbus0 ath1: [ITHREAD] ath1: using obsoleted if_watchdog interface ath1: mac 5.6 phy 4.1 radio 3.6 > and the Conceptronic C54RC (ral driver): > I have no experience with these. > I'm running: > uname -a > > FreeBSD t61p 7.0-BETA1 FreeBSD 7.0-BETA1 #0: Fri Oct 26 13:10:37 > WEST 2007 root@t61p:/usr/obj/usr/src/sys/GENERIC i386 > > GENERIC kernel with ULE and without debugging. > > Is there anything I can do to diagnose these issues? > What does dmesg show for "ath" when you boot? Or can you post "pciconf -l -v"? -Yuri From owner-freebsd-mobile@FreeBSD.ORG Fri Oct 26 16:03:41 2007 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 9773916A417 for ; Fri, 26 Oct 2007 16:03:41 +0000 (UTC) (envelope-from yousif@alumni.jmu.edu) Received: from coruscant.far-far-away.us (coruscant.far-far-away.us [70.91.196.65]) by mx1.freebsd.org (Postfix) with SMTP id 279B113C4B0 for ; Fri, 26 Oct 2007 16:03:41 +0000 (UTC) (envelope-from yousif@alumni.jmu.edu) Received: (qmail 51795 invoked from network); 26 Oct 2007 11:58:24 -0400 Received: from pknat1.passkey.com (HELO ?192.168.16.253?) (68.162.198.134) by coruscant.far-far-away.us with SMTP; 26 Oct 2007 11:58:24 -0400 From: Yousif Hassan To: Luis Neves In-Reply-To: <4721F8A8.3010501@co.sapo.pt> References: <4721F8A8.3010501@co.sapo.pt> Content-Type: text/plain Date: Fri, 26 Oct 2007 12:03:41 -0400 Message-Id: <1193414621.96583.14.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: 7.0 BETA1 and Thinkpad T61p : Wireless misadventure X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yousif@alumni.jmu.edu List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2007 16:03:41 -0000 > There are no FreeBSD drivers for the included intel 4965AG card. > I've tried to use the ndiswrapper framework without success. The ndisgen wizard > runs without issues, but kldloading the driver freezes and reboots the machine. This occurs if the Windows driver contains function calls that have not been implemented in the ndiswrapper framework. Often, an older version of the Windows driver solves the issue. For Broadcom cards that use bcmwl5.sys, kernel crash is a frequent problem if the newer drivers are used, but the old drivers solve the issue. I don't know if the card you mention would even work with ndis, but it's a good first step that ndisgen wizard works. Trying an older version of the Windows driver *might* help, but only if this card is compatible with ndis framework in the first place. Good luck. From owner-freebsd-mobile@FreeBSD.ORG Fri Oct 26 16:41:13 2007 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 3DF5B16A4E7 for ; Fri, 26 Oct 2007 16:41:13 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: from web33709.mail.mud.yahoo.com (web33709.mail.mud.yahoo.com [68.142.201.206]) by mx1.freebsd.org (Postfix) with SMTP id F0F7813C49D for ; Fri, 26 Oct 2007 16:41:12 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: (qmail 47286 invoked by uid 60001); 26 Oct 2007 16:14:31 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=tzNhjAtjiI2iMak8GKkGvJjfJ+PeAU42XckiH2w+/fbSQLqF0mCkH4Z+oYkZWV7EGoGRl3BAB7jPBQLL1FAheDQRbh6pBb49qttGbOzarQVramUPtRa0vCjml0VehxIr8rjZJw7zWmCWNlvmgIuG0T2VcZyD+9WnlpU79m+2edY=; Received: from [86.62.225.4] by web33709.mail.mud.yahoo.com via HTTP; Fri, 26 Oct 2007 09:14:30 PDT X-Mailer: YahooMailRC/814.06 YahooMailWebService/0.7.134.12 Date: Fri, 26 Oct 2007 09:14:30 -0700 (PDT) From: Abdullah Ibn Hamad Al-Marri To: Luis Neves , freebsd-mobile@freebsd.org, freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-ID: <461307.47075.qm@web33709.mail.mud.yahoo.com> Cc: Subject: Re: 7.0 BETA1 and Thinkpad T61p : Wireless misadventure 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, 26 Oct 2007 16:41:13 -0000 ----- Original Message ----=0A=0A> From: Luis Neves = =0A=0A> To: freebsd-mobile@freebsd.org; freebsd-stable@freebsd.org=0A=0A> S= ent: Friday, October 26, 2007 5:24:40 PM=0A=0A> Subject: 7.0 BETA1 and Thin= kpad T61p : Wireless misadventure=0A=0A> =0A=0A> =0A=0A> Hi all.=0A=0A> So = far I've failed to have a working wireless connection with=0A=0A> this=0A= =0A> combination.=0A=0A> =0A=0A> There are no FreeBSD drivers for the inc= luded intel 4965AG card.=0A=0A> I've tried to use the ndiswrapper framework= without success.=0A=0A> The=0A=0A> ndisgen wizard =0A=0A> runs without i= ssues, but kldloading the driver freezes and reboots=0A=0A> the=0A=0A> ma= chine.=0A=0A> =0A=0A> I've also tried two cardbus devices.=0A=0A> =0A=0A> T= he Cisco Aironet - AIR CB21AG (ath driver):=0A=0A> =0A=0A> Oct 26 13:30:27 = t61p kernel: cardbus0: Expecting link target, got 0x0=0A=0A> Oct 26 13:30:2= 7 t61p kernel: ath0: =0A=0A> mem=0A=0A> 0xbfeb0000-0xbfebffff irq =0A=0A>= 16 at device 0.0 on cardbus0=0A=0A> Oct 26 13:30:27 t61p kernel: ath0: [IT= HREAD]=0A=0A> Oct 26 13:30:27 t61p kernel: ath0: unable to attach hardware;= =0A=0A> HAL=0A=0A> status 13=0A=0A> Oct 26 13:30:27 t61p kernel: device_a= ttach: ath0 attach returned 6=0A=0A> =0A=0A> and the Conceptronic C54RC (ra= l driver):=0A=0A> =0A=0A> Oct 26 13:40:59 t61p kernel: cardbus0: Expecting = link target, got 0x0=0A=0A> Oct 26 13:40:59 t61p kernel: ral0: mem =0A=0A>= 0xbfeb0000-0xbfeb1fff irq 16 at device 0.0 on cardbus0=0A=0A> Oct 26 13:40= :59 t61p kernel: ral0: MAC/BBP RT2560 (rev 0x00), RF RT2522=0A=0A> Oct 26 1= 3:40:59 t61p kernel: ral0: [ITHREAD]=0A=0A> Oct 26 13:41:40 t61p kernel: ra= l0: could not read from BBP=0A=0A> Oct 26 13:41:40 t61p kernel: ral0: could= not write to BBP=0A=0A> Oct 26 13:41:40 t61p kernel: ral0: could not read = from BBP=0A=0A> Oct 26 13:41:40 t61p kernel: ral0: could not write to BBP= =0A=0A> Oct 26 13:41:40 t61p kernel: ral0: could not read from BBP=0A=0A> O= ct 26 13:41:40 t61p last message repeated 99 times=0A=0A> Oct 26 13:41:40 t= 61p kernel: ral0: timeout waiting for BBP=0A=0A> =0A=0A> I'm running:=0A=0A= > uname -a=0A=0A> FreeBSD t61p 7.0-BETA1 FreeBSD 7.0-BETA1 #0: Fri Oct 26 1= 3:10:37=0A=0A> WEST=0A=0A> 2007 =0A=0A> root@t61p:/usr/obj/usr/src/sys/GE= NERIC i386=0A=0A> =0A=0A> GENERIC kernel with ULE and without debugging.= =0A=0A> =0A=0A> Is there anything I can do to diagnose these issues?=0A=0A>= =0A=0A> Thanks!=0A=0A> =0A=0A> -- =0A=0A> Luis Neves=0A=0A=0A=0A----------= Forwarded message ----------=0A=0AFrom: Marcin Simonides =0A=0ADate: Oct 18, 2007 7:32 PM=0A=0ASubject: Re: NDIS: intel 4965 = panic=0A=0ATo: freebsd-drivers@freebsd.org=0A=0A=0A=0AMarcin Simonides wrot= e:=0A=0A> I've tried using an XP ndis wrapper for my intel 4965 wifi adapte= r.=0A=0A> After loading the driver the device is recognized and then kernel= panics=0A=0A> during driver attachement.=0A=0A[...]=0A=0A=0A=0APreviously = I didn't mention that there are some functions missing from=0A=0Athe FreeBS= D's NDIS api. These are:=0A=0A=0A=0ANdisIMCopySendPerPacketInfo=0A=0Astrnca= t=0A=0AKeQuerySystemTime=0A=0AKeBugCheckEx=0A=0AKeTickCount=0A=0A=0A=0AWith= the help of NDIS reference and Linux ndiswrapper I have been able=0A=0Ato = implement all but KeBugCheckEx (they are all rather simple but I=0A=0Acan't= be 100% sure they're correct and exported appropriately).=0A=0A=0A=0ANow I= 'm able to load the driver and don't get any of the "ntoskrnl dummy=0A=0Aca= lled..." messages which probably means that there are no missing=0A=0Afunct= ions the driver tries to call.=0A=0A=0A=0AUnfortunately I'm still left with= the:=0A=0Andis0: NDIS ERROR: 40001b7c (unknown error)=0A=0Aerror message a= nd the device doesn't work.=0A=0A=0A=0Aifconfig ndis0 shows:=0A=0A=0A=0Andi= s0: flags=3D8806 mtu 1500=0A=0A = ether 00:13:e8:64:aa:f7=0A=0A media: IEEE 802.11 Wireless Ethernet = autoselect=0A=0A status: no carrier=0A=0A ssid "" channel 1= =0A=0A authmode OPEN privacy OFF txpowmax 100 bmiss 7 protmode CTS= =0A=0A=0A=0AThe LED indicating whether WLAN is on doesn't light up. Calling= ifconfig=0A=0Andis0 up results with the following kernel messages:=0A=0A= =0A=0Andis0: NDIS ERROR: 40001b7c (unknown error)=0A=0Andis0: NDIS NUMERROR= S: 2=0A=0Andis0: argptr: 0x56524457=0A=0Andis0: argptr: 0xdd=0A=0A=0A=0AAnd= that's all I have been able to achieve so far :)=0A=0A=0A=0AI'll try to re= ad some more of NDIS specification, locate the source of=0A=0Athe aforement= ioned error message and generally try to blindly find=0A=0Asomething.=0A=0A= =0A=0AMaybe someone has some suggestions? Maybe I should also try to post m= y=0A=0Aquestions to some other list?=0A=0A=0A=0AThe diff of my changes: htt= p://marcin.studio4plus.com/ndis/ndis.diff=0A=0AAll changes are confined to = the /usr/src/sys/compat/ndis directory. The=0A=0Afunctions I have added are= implemented in a quick and dirty way :)=0A=0A--=0A=0AMarcin Simonides=0A= =0A=0A=0A---=0A=0ACheck it, it may work for you with ndis.=0A=0A=0A=0A=0A= =0A =0A=0ARegards, =0A=0A-Abdullah Ibn Hamad Al-Marri=0A=0AArab Portal=0A= =0Ahttp://www.WeArab.Net/=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A___________= _______________________________________=0ADo You Yahoo!?=0ATired of spam? = Yahoo! Mail has the best spam protection around =0Ahttp://mail.yahoo.com From owner-freebsd-mobile@FreeBSD.ORG Fri Oct 26 17:40:24 2007 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 1E9A716A421; Fri, 26 Oct 2007 17:40:24 +0000 (UTC) (envelope-from lists@swaggi.com) Received: from rusty.swaggy.net (rusty.swaggy.net [204.14.85.196]) by mx1.freebsd.org (Postfix) with ESMTP id B10CD13C4B8; Fri, 26 Oct 2007 17:40:23 +0000 (UTC) (envelope-from lists@swaggi.com) Received: from localhost ([127.0.0.1] helo=swaggi.com) by rusty.swaggy.net with esmtp (Exim 4.67 (FreeBSD)) (envelope-from ) id 1IlT12-000CRT-Te; Fri, 26 Oct 2007 13:30:38 -0400 From: "Yuri Lukin" To: Luis Neves Date: Fri, 26 Oct 2007 13:30:36 -0400 Message-Id: <20071026172444.M64669@swaggi.com> In-Reply-To: <472208F4.2090004@co.sapo.pt> References: <4721F8A8.3010501@co.sapo.pt> <20071026144413.M17608@swaggi.com> <472208F4.2090004@co.sapo.pt> X-Mailer: swaggi.com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Cc: freebsd-stable@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: 7.0 BETA1 and Thinkpad T61p : Wireless misadventure 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, 26 Oct 2007 17:40:24 -0000 On Fri, 26 Oct 2007 16:34:12 +0100, Luis Neves wrote > > "ath" card > ath0@pci0:22:0:0: class=0x020000 card=0xcb2114b9 > chip=0x0013168c rev=0x01 hdr=0x00 vendor = 'Atheros > Communications Inc.' device = 'AR5212, AR5213 802.11a/b/g > Wireless Adapter' class = network subclass = ethernet > Your output is exactly the same as mine so the driver seemingly attaches and the part appears to be recognized. At which point do you see those messages? Can you build src/tools/tools/ath/athstats, run it and post the output here? -Yuri From owner-freebsd-mobile@FreeBSD.ORG Fri Oct 26 19:39:39 2007 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 7DDF916A46C for ; Fri, 26 Oct 2007 19:39:39 +0000 (UTC) (envelope-from doug@polands.org) Received: from ms-smtp-01.rdc-kc.rr.com (ms-smtp-01.rdc-kc.rr.com [24.94.166.115]) by mx1.freebsd.org (Postfix) with ESMTP id 3FC6513C494 for ; Fri, 26 Oct 2007 19:39:39 +0000 (UTC) (envelope-from doug@polands.org) Received: from corinth.polands.org (CPE-75-87-219-217.new.res.rr.com [75.87.219.217]) by ms-smtp-01.rdc-kc.rr.com (8.13.6/8.13.6) with ESMTP id l9QICv0r021884; Fri, 26 Oct 2007 13:12:57 -0500 (CDT) Received: from omnihp-rj45.polands.org (ammon.polands.org [172.16.1.7]) by corinth.polands.org (8.13.8/8.13.8) with ESMTP id l9QIGZnO045001; Fri, 26 Oct 2007 13:16:35 -0500 (CDT) (envelope-from doug@polands.org) Message-ID: <47222EDE.1090403@polands.org> Date: Fri, 26 Oct 2007 13:15:58 -0500 From: Doug Poland User-Agent: Thunderbird 2.0.0.6 (X11/20071020) MIME-Version: 1.0 To: Tom Evans References: <876433E1498641309A00BB5BAF33BB3C@kamino> <4721B9FA.2040208@unsane.co.uk> <1193394648.2001.62.camel@localhost> In-Reply-To: <1193394648.2001.62.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Scanned: ClamAV 0.88.4/4600/Fri Oct 26 09:02:30 2007 on corinth.polands.org X-Virus-Status: Clean Cc: Vince , Yousif Hassan , freebsd-mobile@freebsd.org Subject: Re: Intel 3945ABG with ipw driver on 7.0 (partial success) 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, 26 Oct 2007 19:39:39 -0000 Tom Evans wrote: > On Fri, 2007-10-26 at 10:57 +0100, Vince wrote: >> Yousif Hassan wrote: >>> Try: >>> http://www.clearchain.com/wiki/Wpi >>> >> And if you dont have access to the perforce repository, someone (I >> forget who now) wrote a handy little ruby script to scrape the >> webinterface to get the latest, I'll dig it out if you want it although >> I think its in the archives of mobile@ or drivers@ somewhere. It has >> debugging options that arent on in 7.0 by default so you might need to >> edit the makefile of the perforce version. >> Thanks, I fetched the 20070923-freebsd-wpi.tar.gz tarball, built both modules, set the sysctl and rebooted. The driver is very verbose and dumps thousands of lines to the console and /var/log/messages. I was able to: # ifconfig wpi0 ssid Imagination # dhclient wpi0 However, when I attempted to access the network, my system became completely unresponsive and I had to power off. I've attached, what I hope are, pertinent parts of messages. ===> dmesg kernel: wpi0: mem 0xf4000000-0xf4000fff irq 17 at device 0.0 on pci16 kernel: wpi0: Driver Revision 20070923 kernel: Size: 114688 - alignement 1 kernel: Memory, allocated & Aligned! kernel: Resetting the card - clearing any uploaded firmware kernel: wpi0: Hardware Revision (0x1) kernel: Size: 44 - alignement 4096 kernel: Memory, allocated & Aligned! kernel: Size: 245760 - alignement 4096 kernel: Memory, allocated & Aligned! kernel: Size: 16384 - alignement 16384 kernel: bus_dmamem_alloc failed to align memory properly. kernel: Memory Unaligned, trying again: 0 kernel: bus_dmamem_alloc failed to align memory properly. kernel: Memory Unaligned, trying again: 1 kernel: Memory, allocated & Aligned! kernel: Size: 93184 - alignement 16384 kernel: bus_dmamem_alloc failed to align memory properly. kernel: Memory Unaligned, trying again: 0 kernel: bus_dmamem_alloc failed to align memory properly. kernel: Memory Unaligned, trying again: 1 kernel: bus_dmamem_alloc failed to align memory properly. kernel: Memory Unaligned, trying again: 2 kernel: bus_dmamem_alloc failed to align memory properly. kernel: Memory Unaligned, trying again: 3 kernel: Memory, allocated & Aligned! kernel: Size: 16384 - alignement 16384 kernel: bus_dmamem_alloc failed to align memory properly. and on... ===> Assigned an SSID to the NIC and launched dhclient: kernel: Disabling Firmware execution kernel: NEWSTATE:INIT kernel: Resetting the card - clearing any uploaded firmware kernel: Attempting Loading Firmware from wpi_fw module kernel: kernel: Firmware Version: Major 2, Minor 14, Driver 4, kernel: runtime (text: 80524, data: 32768) init (text: 2668, data 32768) boot (text 900) kernel: kernel: rtext 0xf802020 kernel: rdata 0x0 kernel: itext 0xf802020 kernel: idata 0x0 kernel: btext 0xf802020 kernel: Loading microcode size 0x384 kernel: firmware status=0xffff0000, val=0x40400000, result=0x40400000 kernel: Status Match! - ntries = 0 kernel: notify qid=80 idx=0 flags=0 type=1 len=36 kernel: microcode alive notification version 10e02 alive 1 kernel: notify qid=80 idx=0 flags=0 type=1 len=36 kernel: microcode alive notification version 10e02 alive 1 kernel: Firmware loaded to driver successfully kernel: temperature -215 kernel: NEWSTATE:SCAN kernel: wpi_cmd 72 size 8 async 1 kernel: wpi_scan_start kernel: wpi_ops: command: 1 SCAN_START kernel: notify qid=4 idx=0 flags=0 type=72 len=4 kernel: cmd notification qid=4 idx=0 flags=0 type=72 len=4 kernel: wpi_ops: command: 8 CHAN kernel: wpi_cmd 119 size 32 async 0 kernel: ioctl sleeping... kernel: notify qid=4 idx=1 flags=0 type=119 len=4 kernel: cmd notification qid=4 idx=1 flags=0 type=119 len=4 kernel: kernel: wpi_cmd 155 size 12 async 0 kernel: notify qid=4 idx=2 flags=0 type=155 len=4 kernel: cmd notification qid=4 idx=2 flags=0 type=155 len=4 kernel: wpi_cmd 16 size 43 async 0 kernel: notify qid=4 idx=3 flags=0 type=16 len=4 kernel: cmd notification qid=4 idx=3 flags=0 type=16 len=4 kernel: chan 1/rate 12: power index 42 kernel: chan 1/rate 18: power index 42 kernel: chan 1/rate 24: power index 42 kernel: chan 1/rate 36: power index 42 kernel: chan 1/rate 48: power index 42 kernel: chan 1/rate 72: power index 42 kernel: chan 1/rate 96: power index 42 kernel: chan 1/rate 108: power index 43 kernel: chan 1/rate 2: power index 52 kernel: chan 1/rate 4: power index 52 kernel: chan 1/rate 11: power index 52 kernel: chan 1/rate 22: power index 52 kernel: wpi_cmd 151 size 52 async 0 kernel: notify qid=80 idx=1 flags=2 type=27 len=192 ===> Then it finds the WAP: kernel: Scanning Essid: "Imagination" kernel: Scanning 6 Passive: 0 kernel: notify qid=4 idx=17 flags=0 type=128 len=8 kernel: cmd notification qid=4 idx=17 flags=0 type=128 len=8 kernel: notify qid=80 idx=25 flags=0 type=130 len=24 kernel: scanning channel 6 status 1 kernel: notify qid=80 idx=26 flags=2 type=27 len=188 kernel: rx intr: idx=45 len=188 stat len=149 rssi=33 rate=a chan=6 tstamp=4217 kernel: notify qid=80 idx=27 flags=2 type=27 len=192 kernel: rx intr: idx=46 len=192 stat len=156 rssi=34 rate=a chan=6 tstamp=5737 kernel: notify qid=80 idx=28 flags=2 type=27 len=196 kernel: rx intr: idx=47 len=196 stat len=159 rssi=33 rate=a chan=6 tstamp=8406 kernel: notify qid=80 idx=29 flags=2 type=27 len=184 kernel: rx intr: idx=48 len=184 stat len=147 rssi=11 rate=a chan=6 tstamp=22117 kernel: notify qid=80 idx=30 flags=0 type=131 len=20 kernel: notify qid=80 idx=31 flags=0 type=132 len=16 kernel: scan finished nchan=1 status=1 chan=6 kernel: wpi_ops: command: 32 NEXT kernel: NEXT ===> When I attempt access the network: kernel: notify qid=83 idx=52 flags=2 type=27 len=192 kernel: rx intr: idx=9 len=192 stat len=156 rssi=48 rate=a chan=4 tstamp=3359210907070 kernel: notify qid=83 idx=53 flags=0 type=157 len=244 kernel: notify qid=83 idx=54 flags=2 type=27 len=196 kernel: rx intr: idx=11 len=196 stat len=158 rssi=48 rate=a chan=4 tstamp=3359211009482 kernel: notify qid=83 idx=55 flags=0 type=157 len=244 kernel: Temp in calibration is: -158 kernel: notify qid=83 idx=56 flags=2 type=27 len=196 kernel: rx intr: idx=13 len=196 stat len=158 rssi=47 rate=a chan=4 tstamp=3359211111885 kernel: notify qid=83 idx=57 flags=0 type=157 len=244 kernel: notify qid=83 idx=58 flags=2 type=27 len=192 kernel: rx intr: idx=15 len=192 stat len=156 rssi=48 rate=a chan=4 tstamp=3359211214266 kernel: notify qid=83 idx=59 flags=0 type=157 len=244 kernel: notify qid=83 idx=60 flags=2 type=27 len=192 kernel: rx intr: idx=17 len=192 stat len=156 rssi=48 rate=a chan=4 tstamp=3359211316671 kernel: notify qid=83 idx=61 flags=0 type=157 len=244 kernel: notify qid=83 idx=62 flags=2 type=27 len=192 kernel: rx intr: idx=19 len=192 stat len=156 rssi=42 rate=a chan=4 tstamp=3359211419323 kernel: notify qid=83 idx=63 flags=0 type=157 len=244 kernel: Temp in calibration is: -158 kernel: notify qid=83 idx=64 flags=2 type=27 len=192 kernel: rx intr: idx=21 len=192 stat len=156 rssi=42 rate=a chan=4 tstamp=3359211521473 kernel: notify qid=83 idx=65 flags=0 type=157 len=244 kernel: notify qid=83 idx=66 flags=2 type=27 len=148 kernel: rx intr: idx=23 len=148 stat len=110 rssi=42 rate=6e chan=4 tstamp=3359211521819 kernel: notify qid=83 idx=67 flags=2 type=27 len=196 kernel: rx intr: idx=24 len=196 stat len=158 rssi=47 rate=a chan=4 tstamp=3359211623881 kernel: notify qid=83 idx=68 flags=0 type=157 len=244 kernel: notify qid=83 idx=69 flags=2 type=27 len=192 kernel: rx intr: idx=26 len=192 stat len=156 rssi=48 rate=a chan=4 tstamp=3359211726271 kernel: notify qid=83 idx=70 flags=2 type=27 len=120 kernel: rx intr: idx=27 len=120 stat len=83 rssi=48 rate=6e chan=4 tstamp=3359211726558 kernel: notify qid=83 idx=71 flags=0 type=157 len=244 kernel: notify qid=83 idx=72 flags=2 type=27 len=132 kernel: rx intr: idx=29 len=132 stat len=94 rssi=48 rate=6e chan=4 tstamp=3359211726856 kernel: notify qid=83 idx=73 flags=2 type=27 len=112 kernel: rx intr: idx=30 len=112 stat len=74 rssi=48 rate=6e chan=4 tstamp=3359211727138 kernel: notify qid=83 idx=74 flags=2 type=27 len=192 kernel: rx intr: idx=31 len=192 stat len=156 rssi=47 rate=a chan=4 tstamp=3359211828666 kernel: notify qid=83 idx=75 flags=0 type=157 len=244 kernel: notify qid=83 idx=76 flags=2 type=27 len=192 kernel: rx intr: idx=33 len=192 stat len=156 rssi=47 rate=a chan=4 tstamp=3359211931305 kernel: notify qid=83 idx=77 flags=0 type=157 len=244 kernel: Temp in calibration is: -158 ===> machine freezes, have to power off. From owner-freebsd-mobile@FreeBSD.ORG Sat Oct 27 08:49:56 2007 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 0A7C616A47D for ; Sat, 27 Oct 2007 08:49:56 +0000 (UTC) (envelope-from frankstaals@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 6859913C4AC for ; Sat, 27 Oct 2007 08:49:55 +0000 (UTC) (envelope-from frankstaals@gmx.net) Received: (qmail invoked by alias); 27 Oct 2007 08:49:54 -0000 Received: from ip176-173-59-62.adsl.versatel.nl (EHLO Rena.FStaals.net) [62.59.173.176] by mail.gmx.net (mp039) with SMTP; 27 Oct 2007 10:49:54 +0200 X-Authenticated: #25365336 X-Provags-ID: V01U2FsdGVkX1+ACR0EudSAifSSCI6MmM9KD+XPc47kPwwPggK2LB trno0sd84T1sq9 Message-ID: <4722FBAF.60305@gmx.net> Date: Sat, 27 Oct 2007 10:49:51 +0200 From: Frank Staals User-Agent: Thunderbird 2.0.0.6 (X11/20070929) MIME-Version: 1.0 To: Doug Poland References: <876433E1498641309A00BB5BAF33BB3C@kamino> <4721B9FA.2040208@unsane.co.uk> <1193394648.2001.62.camel@localhost> <47222EDE.1090403@polands.org> In-Reply-To: <47222EDE.1090403@polands.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Tom Evans , Vince , Yousif Hassan , freebsd-mobile@freebsd.org Subject: Re: Intel 3945ABG with ipw driver on 7.0 (partial success) 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, 27 Oct 2007 08:49:56 -0000 Doug Poland wrote: > Tom Evans wrote: >> On Fri, 2007-10-26 at 10:57 +0100, Vince wrote: >>> Yousif Hassan wrote: >>>> Try: >>>> http://www.clearchain.com/wiki/Wpi >>>> >>> And if you dont have access to the perforce repository, someone (I >>> forget who now) wrote a handy little ruby script to scrape the >>> webinterface to get the latest, I'll dig it out if you want it although >>> I think its in the archives of mobile@ or drivers@ somewhere. It has >>> debugging options that arent on in 7.0 by default so you might need to >>> edit the makefile of the perforce version. >>> > Thanks, > > I fetched the 20070923-freebsd-wpi.tar.gz tarball, built both modules, > set the sysctl and rebooted. The driver is very verbose and dumps > thousands of lines to the console and /var/log/messages. I was able to: > > # ifconfig wpi0 ssid Imagination > # dhclient wpi0 > > However, when I attempted to access the network, my system became > completely unresponsive and I had to power off. I've attached, what I > hope are, pertinent parts of messages. > > > ===> machine freezes, have to power off. > > > _______________________________________________ > 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" > You might want to take a look dat this post: http://www.nabble.com/Intel-3945ABG-with-ipw-driver-on-CURRENT-tf4562715.html#a13043334 that patch fixed the bug I had with the wpi driver. Allthough it still hangs my system in a state which I'm not able to give any debug output. I mailed benjamin about it but he didn't know what the problem could be on the first glance. He was working on it though. Anyway it might help Regards, -- -Frank Staals