From owner-freebsd-mobile@FreeBSD.ORG Sun Oct 14 04:54:33 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 311F616A417 for ; Sun, 14 Oct 2007 04:54:33 +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 455BD13C461 for ; Sun, 14 Oct 2007 04:54:28 +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 OAA10585; Sun, 14 Oct 2007 14:54:18 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 14 Oct 2007 14:54:17 +1000 (EST) From: Ian Smith To: Norberto Meijome In-Reply-To: <20071011092346.22760529@meijome.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: 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: Sun, 14 Oct 2007 04:54:33 -0000 Hi Beto .. excuse the delay, small matter of a tennis-ball sized hail storm partly trashing my daughter's house and son's car in Lismore .. On Thu, 11 Oct 2007, Norberto Meijome wrote: > On Tue, 9 Oct 2007 03:21:20 +1000 (EST) > Ian Smith wrote: > > > On Mon, 8 Oct 2007, Norberto Meijome wrote: > > > On Mon, 8 Oct 2007 17:27:56 +1000 > > > Norberto Meijome wrote: > > > > > > > Hello everyone, > > > > is there any documentation / resource on how to configure properly the > > > > different methods for management of power/thermal related components/services? > > > > > > > > eg, > > > > acpi (acpi_thermal), and all the knobs via sysctl > > > > powerd > > > > cpufreq > > > > I've often wished there was :) There aren't even man pages for some > > components, acpi_throttle and acpi_perf being two I've tried following > > some of the code for recently. Most of it well over my head, but there > > be clues amongst the dragons. > > Hi Ian, > thanks for the email....let's see... > > First of all, I've been running since last night with Lars' initial suggestion : > cpufreq.ko loaded (not Lars' suggestion, but i can't do without this for > now....) powerd -a adaptive -b adaptive '-a adaptive -b adaptive' are the default options anyway. Or were in 6.1 and in 5.5-STABLE as at March, but I don't think that's changed. > Temperature when idle / normal desktop tasks is definitely lower , plugged to > AC, hovering on the 55-65 mark - GOOD!!! > > I have just checked the bios and, Power -> Adaptive Thermal Management -> > Scheme for AC was on 'maximise performance'. I've switched this to Balanced, > which is the same profile as set for 'running on batteries'. Will see how it > goes. I don't know whether (or how) the IBM BIOS settings still apply, or are entirely overridden, by FreeBSD's ACPI (and acpi_ibm) settings, or not. Maybe with the new stuff in 7.0 there's now a man page for acpi_ibm? :) > > If you don't solve this, check freebsd-acpi archives since say August > > for several too-hot scenarios. This recent one smells similar, and Lars > > also mentioned the Cx levels, it's been coming up a bit: > > ta, i'll check it... part of the trick is trying to come up with a reliable > test so we can compare the results.... I'm thinking a : cd /usr/src > make clean > # on another shell > run a tight loop recording (every 5 secs? ) cpu temperature, fan speed and > system load # start test > make buildworld > > see how it goes... > > Any other suggestions? I've been running a simple script showing cpu freq, load, cx_usage, battery state|life|time, acpi_ibm fan|thermal once a minute for ages, just to watch and learn, but I've had no overheating problems to prompt me to dig deeper. > > http://lists.freebsd.org/pipermail/freebsd-acpi/2007-October/004120.html > > > > | Also, see if you're using lower Cx levels for cpu idling. They can > > | make a big heat difference. > > | > > | performance_cx_lowest="LOW" > > | economy_cx_lowest="LOW" > > gotcha. OK, so these and the other 2 in /etc/defaults/rc.conf : > > performance_cx_lowest="HIGH" # Online CPU idle state > performance_cpu_freq="NONE" # Online CPU frequency > economy_cx_lowest="HIGH" # Offline CPU idle state > economy_cpu_freq="NONE" # Offline CPU frequency > > seem to be related to /etc/rc.d/power_profile. The power_profile script refers > to the 3 values of HIGH, LOW and NONE, though I can't see the knobs listed in > the defaults file (they are probably built on real time.. Yes, power_profile dynamicaly parses sysctls hw.acpi.cpu.cx_supported and dev.cpu.0.freq_levels for the first and last values for HIGH and LOW respectively and sets them according to the rc.conf values. NONE just leaves things alone on switching between AC and battery. So for _cx_lowest HIGH will be always be C1, LOW may be C2 or C3, depending. > > > > I am not sure whether / how to tell it to use EST properly. > > > > Might be acpi_perf instead? Which of these shows up in dmesg? > > est does : > est0: on cpu0 > and this too > p4tcc0: on cpu0 > > no mention of 'perf' anywhere (other than related to GIANT...) Ok, my T23 uses acpi_perf for its P3-M. Unless changed in 7.0: % man est No manual entry for est % man p4tcc No manual entry for p4tcc % man acpi_perf No manual entry for acpi_perf :( > > > > I can't feel the fans working really hard at all (maybe it's the way it's > > > > supposed > > > > to > > > > work? ) dev.acpi_ibm.0.fan_speed does report over 3K RPM ... > > > > My T23 fan runs near 5k, and is still pretty quiet, but that's pumping > > quite hot air onto my hand, steady at about 70C running 2000 invocations > > of rexxcps - lame I know; fully cpu intensive but hardly a buildworld. > > But then its P3-M is only rated at 1133MHz / 19100mW, with only a > > 2-speed auto down to 733/12500, so it's not so hard to cool > > well, that sounds pretty reasonable. Maybe because mine is the 'centrino' > platform, it uses less fans than previous? (no idea if the T23 is > centrino...i think it came out earlier.., but i could be wrong) . Much earlier - mine's dated 02/08: Intel(R) Pentium(R) III Mobile CPU 1133MHz > > My fan seems to come on at around 75C, no idea where that's set. I thought maybe that was a BIOS-controlled thing. Wish I knew. > man acpi_thermal : > hw.acpi.thermal.tz%d._ACx > Temperatures at which to switch to the corresponding active cool- > ing level. The lower the _ACx value, the higher the cooling > power. > > I haven't played with this one yet... trying to understand to which subsystem > each thing belongs to. Yeah it's fairly confusing, with only the code as docs .. but I really haven't looked at the state of play on -current, so may be pleasantly surprised. > > > > I played a bit with the knobs for *thermal*, but i am not entirely sure i'm > > > > improving things... in my sysctl i had (before disabling it all) > > > > > > > > # Lowest CPU frequency in MHz to offer to users > > > > debug.cpufreq.lowest=932 > > > > Does that work right? Are you displaying cpu freq in gkrellm or such? > > yes and yes (well, playing with other tools now, but effect is the same). but I > think it has to drop to 100 (well, lower than 932 at least).... it was heating > up too fast otherwise Alexandre "Sunny" Kovalenko's and Richard Arends' posts this morning our time have shed quite a bit of light. My T23's at 6.1-R and dev.acpi_ibm.0.fan and ..fan_speed are read-only, dunno about 6-STABLE? > > > > ## Custom values > > > > hw.acpi.thermal.user_override=1 > > > > hw.acpi.thermal.min_runtime=10 > > > > hw.acpi.thermal.polling_rate=5 > > > > hw.acpi.thermal.tz0.active=85C > > > > hw.acpi.thermal.tz0._PSV=90C > > > > Just curious re syntax - do these values read back right after setting? > > And if you're overriding, is that the right setting for .tz0.active ? > > No idea on both accounts... they were an initial test and didn't work too well > either. Thinking about it now, yeah, active should probably be lower And be a level, not a temperature .. > > but I'm well out of my depth here .. > > jon the club :) I guess it's time to update my T23 to 7.0 .. I was hoping to update the BIOS and EC first - seems I need to either add a USB floppy or install Windows to do that :( - but I might just go for it anyhow, if time. > > > Powerd is enabled. > > > > > > I am currently doing not much at all (listening to music stream, load > > > of 0.24, 0.45, 0.69) and tz0 = 78C. it drops down a lot more when > > > running on batteries only > > > > Ouch. Couple of maybes. powerd fights with power_profile, which will > > set both dev.cpu.0.freq and hw.acpi.cpu.cx_lowest on AC/battery > > transitions, so you might want these in rc.conf (/etc/rc.d/power_profile > > for doc :) > > > > performance_cpu_freq="NONE" > > economy_cpu_freq="NONE" > > > > as well as the abovementioned *cx_lowest="LOW" to see if it helps - said > > to with some setups and not others, sorry just recalling passing notes - > > and if so you could try say C2 or C3 setting directly. > > Ok, I've been running with > #sysctl.conf > hw.acpi.cpu.cx_lowest=C3 > > since you sent this email, and the following settings: > > #rc.conf > powerd_enable="YES" > powerd_flags="-a adaptive -b adaptive" powerd assumes these defaults if no flags are specified anyway. So if you have improvement, it's likely down to using C3. Maybe looking at hw.acpi.cpu.cx_usage now and again will show what level is most used? > ## Disable power_profile behaviour... > performance_cx_lowest="NONE" # Online CPU idle state > performance_cpu_freq="NONE" # Online CPU frequency > economy_cx_lowest="NONE" # Offline CPU idle state > economy_cpu_freq="NONE" # Offline CPU frequency Well you need *_cpu_freq="NONE" but you could specify *_cx_lowest="LOW". It's also possible this code has since changed to not require setting *cpu_freq="NONE" to use powerd, it was 'relatively undocumented' anyway. > #loader.conf.local > > acpi_load="YES" > acpi_ibm_load="YES" > cpufreq_load="YES" cpu/cpufreq is in my (6.1-R) GENERIC kernel anyhoo .. > Temperature hasn't > reached critical, or over 96, which is really good, but i'm still > dropping to 100 MHz, which isn't very nice during a normal workday (including > having a QEMU with XP Pro in it and skype being used on calls,etc...). I had to > revert the BIOS back to 'performance' when connected to AC, it seemed too > sluggish when telling the BIOS to use the same profile in AC as when on > batteries (which is expected :) ) I'm still curious .. I thought the BIOS settings would be more clues for window$ than hard-wired settings, but I'd love to know more about that. Richard Arends' perl script looks worth a try .. I assume you'd not want to run powerd as well, or you'd have a real fight on your hands .. but can you modify dev.acpi_ibm.0.fan and ..fan.level on 6-STABLE? > > Funny thing with my T23 .. if I boot on AC, I can set cx_lowest=C3 but > > it only drops back to C2, if hw.acpi.cx_usage is to be believed, but if > > I boot on battery and set cx_lowest=C3, all three get used henceforth. This is something else I'll have to revisit after upgrading (incl BIOS). Cheers, Ian From owner-freebsd-mobile@FreeBSD.ORG Sun Oct 14 05:29:52 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 75FF216A419 for ; Sun, 14 Oct 2007 05:29:52 +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 968D613C455 for ; Sun, 14 Oct 2007 05:29:50 +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 PAA11755; Sun, 14 Oct 2007 15:29:48 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 14 Oct 2007 15:29:47 +1000 (EST) From: Ian Smith To: Lars Engels In-Reply-To: <20071011160502.1t3dxl8qfhck4osw@0x20.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: 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: Sun, 14 Oct 2007 05:29:52 -0000 On Thu, 11 Oct 2007, Lars Engels wrote: > Quoting Norberto Meijome : > > > On Tue, 9 Oct 2007 03:21:20 +1000 (EST) > >> Another thing with powerd - have you tried running it with -v in fg? > >> With my 2-speed the shift points seem about right, but with lots of > >> speeds I'd be curious to try optimising the idle / running shifts in > >> terms of hysteresis, 'hunting' up and down with different loads and > >> such. 'Someone' could do up some nice graphs :) > > > > Try this one: > > Let this run for some time http://bsdpaste.bsdgroup.de/626 > > And then let this generate some nice graphs > http://bsdpaste.bsdgroup.de/627 with > ./gen_temphistory.pl /tmp/tempstats.txt > > The Perl script is shamelessly stolen from somebody and modified for my needs. > It displays CPU speed, Temperature (*100) and if the Notebook is > running on AC or not. Thanks Lars; I found the 'paste downloaden' button! I will definitely give this one a go when some free time turns up. I guess the trick for checking the shift points is to find / make an application that can run at various loads, like 'set_load_avg_percent 70' or such. Any ideas? Cheers, Ian From owner-freebsd-mobile@FreeBSD.ORG Sun Oct 14 07:10:00 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 B27C316A419 for ; Sun, 14 Oct 2007 07:10:00 +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 1FFAC13C45D for ; Sun, 14 Oct 2007 07:09:57 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 7017 invoked from network); 14 Oct 2007 02:09:57 -0500 Received: from 124-170-228-57.dyn.iinet.net.au (HELO localhost) (124.170.228.57) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 14 Oct 2007 02:09:57 -0500 Date: Sun, 14 Oct 2007 17:09:53 +1000 From: Norberto Meijome To: "Alexandre \"Sunny\" Kovalenko" Message-ID: <20071014170953.4900ede0@meijome.net> In-Reply-To: <1192302211.20395.11.camel@RabbitsDen> References: <20071008172756.2aed69e7@meijome.net> <20071008173604.1e449ca2@meijome.net> <20071008111601.kfrb6qt8isw4owc0@0x20.net> <20071008203558.022fd258@meijome.net> <20071008203733.3128f3b6@meijome.net> <20071008154116.0o3hvbyxggk400k0@0x20.net> <20071011110245.60c5cda5@meijome.net> <1192302211.20395.11.camel@RabbitsDen> 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: Lars Engels , 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: Sun, 14 Oct 2007 07:10:00 -0000 On Sat, 13 Oct 2007 15:03:31 -0400 "Alexandre \"Sunny\" Kovalenko" wrote: > RabbitsDen# sysctl dev.acpi_ibm.0.fan=0 > dev.acpi_ibm.0.fan: 1 -> 0 > RabbitsDen# sysctl dev.acpi_ibm.0.fan_level=7 > dev.acpi_ibm.0.fan_level: 1 -> 7 > RabbitsDen# sysctl dev.acpi_ibm.0.fan_speed > dev.acpi_ibm.0.fan_speed: 4080 > RabbitsDen# sysctl dev.acpi_ibm.0.fan_level=3 > dev.acpi_ibm.0.fan_level: 7 -> 3 > > RabbitsDen# sysctl dev.acpi_ibm.0.fan_speed > dev.acpi_ibm.0.fan_speed: 3310 Hi Alexandre, Spot on :) great! > RabbitsDen# kldstat | grep ibm > 5 1 0xc08ac000 4f74 acpi_ibm.ko > > System is: FreeBSD 7.0-CURRENT #0: Sun Sep 30 11:54:51 EDT 2007 > > Hardware is: ThinkPad X60 (one of the first ones, with 32-bit dualcore > CPU) -- sorry do not want to pry it from the dock -- if specific model > is important, let me know and I will look. nah, that's ok - it seems it should be supported.... i may swap disks and try 7 a lot earlier than planned.... thanks :) B _________________________ {Beto|Norberto|Numard} Meijome Real Programmers don't comment their code. If it was hard to write, it should be hard to understand and even harder to modify. 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 Sun Oct 14 07:10:57 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 BF2C816A419 for ; Sun, 14 Oct 2007 07:10:57 +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 686E013C44B for ; Sun, 14 Oct 2007 07:10:57 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 7060 invoked from network); 14 Oct 2007 02:10:57 -0500 Received: from 124-170-228-57.dyn.iinet.net.au (HELO localhost) (124.170.228.57) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 14 Oct 2007 02:10:56 -0500 Date: Sun, 14 Oct 2007 17:10:53 +1000 From: Norberto Meijome To: Richard Arends Message-ID: <20071014171053.418dd40a@meijome.net> In-Reply-To: <20071013211322.GJ5484@shell.unixguru.nl> References: <20071008172756.2aed69e7@meijome.net> <20071008173604.1e449ca2@meijome.net> <20071008111601.kfrb6qt8isw4owc0@0x20.net> <20071008203558.022fd258@meijome.net> <20071008203733.3128f3b6@meijome.net> <20071008154116.0o3hvbyxggk400k0@0x20.net> <20071011110245.60c5cda5@meijome.net> <20071013211322.GJ5484@shell.unixguru.nl> 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: 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: Sun, 14 Oct 2007 07:10:57 -0000 On Sat, 13 Oct 2007 23:13:22 +0200 Richard Arends wrote: > For my T60 i'm using a perl script i wrote some time ago. It's far from perfect, but > till now it works for me. You can find it at: http://www.unixguru.nl/made/ibm_fancontrol_fbsd.txt thanks Richard, when I have some time i'll read over it to try to understand what it's doing in the system itself. What version of FBSD are you running this on ? cheers, B _________________________ {Beto|Norberto|Numard} Meijome Percusive Maintenance - The art of tuning or repairing equipment by hitting it. 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 Sun Oct 14 07:27:22 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 405A616A41B for ; Sun, 14 Oct 2007 07:27:22 +0000 (UTC) (envelope-from richard@unixguru.nl) Received: from mx1.unixguru.nl (mx1.unixguru.nl [77.37.12.119]) by mx1.freebsd.org (Postfix) with ESMTP id ED54F13C455 for ; Sun, 14 Oct 2007 07:27:21 +0000 (UTC) (envelope-from richard@unixguru.nl) Received: from localhost (localhost [127.0.0.1]) by mx1.unixguru.nl (Postfix) with ESMTP id A251B1F644; Sun, 14 Oct 2007 09:27:56 +0200 (CEST) Received: from mx1.unixguru.nl ([77.37.12.119]) by localhost (vs8916.vserver4free.de [77.37.12.119]) (amavisd-new, port 10024) with ESMTP id Tq9KcRDNwwsk; Sun, 14 Oct 2007 09:27:56 +0200 (CEST) Received: from mail.unixguru.nl (www.unixguru.nl [212.120.92.81]) by mx1.unixguru.nl (Postfix) with ESMTP id 440BF1F63D; Sun, 14 Oct 2007 09:27:56 +0200 (CEST) Received: from localhost (shell.unixguru.nl [192.168.10.20]) by mail.unixguru.nl (Postfix) with ESMTP id A0F8D1143B; Sun, 14 Oct 2007 09:27:19 +0200 (CEST) Date: Sun, 14 Oct 2007 09:27:19 +0200 From: Richard Arends To: Norberto Meijome Message-ID: <20071014072718.GK5484@shell.unixguru.nl> References: <20071008172756.2aed69e7@meijome.net> <20071008173604.1e449ca2@meijome.net> <20071008111601.kfrb6qt8isw4owc0@0x20.net> <20071008203558.022fd258@meijome.net> <20071008203733.3128f3b6@meijome.net> <20071008154116.0o3hvbyxggk400k0@0x20.net> <20071011110245.60c5cda5@meijome.net> <20071013211322.GJ5484@shell.unixguru.nl> <20071014171053.418dd40a@meijome.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071014171053.418dd40a@meijome.net> User-Agent: Mutt/1.4.2.3i Cc: 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: Sun, 14 Oct 2007 07:27:22 -0000 On Sun, Oct 14, 2007 at 05:10:53PM +1000, Norberto Meijome wrote: Norbert, > thanks Richard, when I have some time i'll read over it to try to understand what it's doing in the system itself. In short, is sets the fan in manual mode and reads every 5 seconds the cpu temp. Till 72 degrees it set's the fan level from 0 to 7 and above the 72 degrees it scales the CPU down. > What version of FBSD are you running this on ? On current (7) and stable (6.2). -- Regards, Richard. From owner-freebsd-mobile@FreeBSD.ORG Sun Oct 14 23:42: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 D11E416A41A for ; Sun, 14 Oct 2007 23:42:15 +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 7484613C480 for ; Sun, 14 Oct 2007 23:42:15 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 20239 invoked from network); 14 Oct 2007 18:42:15 -0500 Received: from 124-170-139-87.dyn.iinet.net.au (HELO localhost) (124.170.139.87) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 14 Oct 2007 18:42:14 -0500 Date: Mon, 15 Oct 2007 09:42:09 +1000 From: Norberto Meijome To: Richard Arends Message-ID: <20071015094209.1501fa75@meijome.net> In-Reply-To: <20071014072718.GK5484@shell.unixguru.nl> References: <20071008172756.2aed69e7@meijome.net> <20071008173604.1e449ca2@meijome.net> <20071008111601.kfrb6qt8isw4owc0@0x20.net> <20071008203558.022fd258@meijome.net> <20071008203733.3128f3b6@meijome.net> <20071008154116.0o3hvbyxggk400k0@0x20.net> <20071011110245.60c5cda5@meijome.net> <20071013211322.GJ5484@shell.unixguru.nl> <20071014171053.418dd40a@meijome.net> <20071014072718.GK5484@shell.unixguru.nl> 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: 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: Sun, 14 Oct 2007 23:42:15 -0000 On Sun, 14 Oct 2007 09:27:19 +0200 Richard Arends wrote: > > thanks Richard, when I have some time i'll read over it to try to understand what it's doing in the system itself. > > In short, is sets the fan in manual mode and reads every 5 seconds the cpu temp. Till 72 > degrees it set's the fan level from 0 to 7 and above the 72 degrees it scales the CPU > down. gotcha. Could you please tell me what other related modules have you got loaded (acpi, acpi_ibm, cpufreq?) , and daemons? (powerd / power_profile script config ? ) > > > What version of FBSD are you running this on ? > > On current (7) and stable (6.2). cool :) thanks mate, B _________________________ {Beto|Norberto|Numard} Meijome We've been wrong so many times before, why stop now? 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 15 04:40:44 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 D09D916A41B for ; Mon, 15 Oct 2007 04:40:44 +0000 (UTC) (envelope-from richard@unixguru.nl) Received: from mx1.unixguru.nl (mx1.unixguru.nl [77.37.12.119]) by mx1.freebsd.org (Postfix) with ESMTP id 8336F13C461 for ; Mon, 15 Oct 2007 04:40:44 +0000 (UTC) (envelope-from richard@unixguru.nl) Received: from localhost (localhost [127.0.0.1]) by mx1.unixguru.nl (Postfix) with ESMTP id 1E4D21F65F; Mon, 15 Oct 2007 06:41:22 +0200 (CEST) Received: from mx1.unixguru.nl ([77.37.12.119]) by localhost (vs8916.vserver4free.de [77.37.12.119]) (amavisd-new, port 10024) with ESMTP id oVcxyAwzWdgZ; Mon, 15 Oct 2007 06:41:19 +0200 (CEST) Received: from mail.unixguru.nl (www.unixguru.nl [212.120.92.81]) by mx1.unixguru.nl (Postfix) with ESMTP id DFCF61F64E; Mon, 15 Oct 2007 06:41:19 +0200 (CEST) Received: from localhost (shell.unixguru.nl [192.168.10.20]) by mail.unixguru.nl (Postfix) with ESMTP id B07131144F; Mon, 15 Oct 2007 06:40:41 +0200 (CEST) Date: Mon, 15 Oct 2007 06:40:40 +0200 From: Richard Arends To: Norberto Meijome Message-ID: <20071015044039.GL5484@shell.unixguru.nl> References: <20071008173604.1e449ca2@meijome.net> <20071008111601.kfrb6qt8isw4owc0@0x20.net> <20071008203558.022fd258@meijome.net> <20071008203733.3128f3b6@meijome.net> <20071008154116.0o3hvbyxggk400k0@0x20.net> <20071011110245.60c5cda5@meijome.net> <20071013211322.GJ5484@shell.unixguru.nl> <20071014171053.418dd40a@meijome.net> <20071014072718.GK5484@shell.unixguru.nl> <20071015094209.1501fa75@meijome.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071015094209.1501fa75@meijome.net> User-Agent: Mutt/1.4.2.3i Cc: 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: Mon, 15 Oct 2007 04:40:44 -0000 On Mon, Oct 15, 2007 at 09:42:09AM +1000, Norberto Meijome wrote: Norbert, > gotcha. Could you please tell me what other related modules have you got loaded (acpi, acpi_ibm, cpufreq?) , and daemons? (powerd / power_profile script config ? ) In /boot/loader.conf acpi_ibm_load="YES" hw.pci.do_power_nodriver="2" cpufreq_load="YES" In /etc/rc.conf powerd_enable="YES" -- Regards, Richard. From owner-freebsd-mobile@FreeBSD.ORG Mon Oct 15 16:31:21 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 636D416A468 for ; Mon, 15 Oct 2007 16:31:21 +0000 (UTC) (envelope-from SRS0=f5beabfffbdd20c38f98f3136757b7a2d047a54d=489=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 E221D13C45B; Mon, 15 Oct 2007 16:31:20 +0000 (UTC) (envelope-from SRS0=f5beabfffbdd20c38f98f3136757b7a2d047a54d=489=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 UAU34319; Mon, 15 Oct 2007 09:31:19 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 3C2A84500E; Mon, 15 Oct 2007 09:31:19 -0700 (PDT) To: freebsd-mobile@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1192465879_58526P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Mon, 15 Oct 2007 09:31:19 -0700 From: "Kevin Oberman" Message-Id: <20071015163119.3C2A84500E@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: leffler@freebsd.org Subject: Odd error messages on wireless 11a connection 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, 15 Oct 2007 16:31:21 -0000 --==_Exmh_1192465879_58526P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I am at a major networking conference and my wireless, while working, is logging lots of errors that I don't understand at all. +update_stats: bogus ndx0 7, max 7, mode 1 Can anyone explain what these are? Do I need to be concerned? Atheros 5212 on FreeBSD current as of Oct. 5, i386, single processor system. ath0: mem 0xb4000000-0xb400ffff irq 11 at device 2.0 on pci11 ath0: [ITHREAD] ath0: using obsoleted if_watchdog interface ath0: Ethernet address: 00:14:a4:60:f2:e3 ath0: mac 5.9 phy 4.3 radio 3.6 -- 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_1192465879_58526P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFHE5XXkn3rs5h7N1ERAtcbAKCWeVHghQWj64LyrzyVtm8QnE4KdQCgsdVW KYRc4dkv6Zn15QAZu/d9CZo= =9vcx -----END PGP SIGNATURE----- --==_Exmh_1192465879_58526P-- From owner-freebsd-mobile@FreeBSD.ORG Mon Oct 15 16:38:04 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 259F216A418 for ; Mon, 15 Oct 2007 16:38:04 +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 F1AEE13C46B for ; Mon, 15 Oct 2007 16:38:03 +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 l9FGbwIm058695 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 15 Oct 2007 09:37:59 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <47139766.7000605@errno.com> Date: Mon, 15 Oct 2007 09:37:58 -0700 From: Sam Leffler User-Agent: Thunderbird 2.0.0.6 (X11/20070814) MIME-Version: 1.0 To: Kevin Oberman References: <20071015163119.3C2A84500E@ptavv.es.net> In-Reply-To: <20071015163119.3C2A84500E@ptavv.es.net> 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: Odd error messages on wireless 11a connection 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, 15 Oct 2007 16:38:04 -0000 Kevin Oberman wrote: > I am at a major networking conference and my wireless, while working, is > logging lots of errors that I don't understand at all. > > +update_stats: bogus ndx0 7, max 7, mode 1 > > Can anyone explain what these are? Do I need to be concerned? > > Atheros 5212 on FreeBSD current as of Oct. 5, i386, single processor > system. > ath0: mem 0xb4000000-0xb400ffff irq 11 at device 2.0 on pci11 > ath0: [ITHREAD] > ath0: using obsoleted if_watchdog interface > ath0: Ethernet address: 00:14:a4:60:f2:e3 > ath0: mac 5.9 phy 4.3 radio 3.6 > Update your ath driver. You've found an ap that is beaconing a "pureg" rate set and a recent change to the sample rate code broke that. Sam From owner-freebsd-mobile@FreeBSD.ORG Mon Oct 15 17:20: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 68A0B16A417 for ; Mon, 15 Oct 2007 17:20:11 +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 4343413C468 for ; Mon, 15 Oct 2007 17:20:10 +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 l9FHK9ki059046 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 15 Oct 2007 10:20:10 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <4713A149.9010301@errno.com> Date: Mon, 15 Oct 2007 10:20:09 -0700 From: Sam Leffler User-Agent: Thunderbird 2.0.0.6 (X11/20070814) MIME-Version: 1.0 To: Kevin Oberman References: <20071015163119.3C2A84500E@ptavv.es.net> <47139766.7000605@errno.com> In-Reply-To: <47139766.7000605@errno.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: Odd error messages on wireless 11a connection 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, 15 Oct 2007 17:20:11 -0000 Sam Leffler wrote: > Kevin Oberman wrote: >> I am at a major networking conference and my wireless, while working, is >> logging lots of errors that I don't understand at all. >> >> +update_stats: bogus ndx0 7, max 7, mode 1 >> >> Can anyone explain what these are? Do I need to be concerned? >> >> Atheros 5212 on FreeBSD current as of Oct. 5, i386, single processor >> system. ath0: mem 0xb4000000-0xb400ffff irq 11 at >> device 2.0 on pci11 >> ath0: [ITHREAD] >> ath0: using obsoleted if_watchdog interface >> ath0: Ethernet address: 00:14:a4:60:f2:e3 >> ath0: mac 5.9 phy 4.3 radio 3.6 >> > Update your ath driver. You've found an ap that is beaconing a > "pureg" rate set and a recent change to the sample rate code broke that. Actually your interface is marked "pureb" and the ap is sending an 11g rate set but the answer is the same--update ath_rate/sample.c. Sam From owner-freebsd-mobile@FreeBSD.ORG Mon Oct 15 17:31: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 915F616A417 for ; Mon, 15 Oct 2007 17:31:20 +0000 (UTC) (envelope-from SRS0=f5beabfffbdd20c38f98f3136757b7a2d047a54d=489=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 D766713C4A3 for ; Mon, 15 Oct 2007 17:31:19 +0000 (UTC) (envelope-from SRS0=f5beabfffbdd20c38f98f3136757b7a2d047a54d=489=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 UBU82817; Mon, 15 Oct 2007 10:31:17 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id CAABE4500E; Mon, 15 Oct 2007 10:31:16 -0700 (PDT) To: Sam Leffler In-Reply-To: Your message of "Mon, 15 Oct 2007 09:37:58 PDT." <47139766.7000605@errno.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1192469476_58526P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Mon, 15 Oct 2007 10:31:16 -0700 From: "Kevin Oberman" Message-Id: <20071015173116.CAABE4500E@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: freebsd-mobile@freebsd.org Subject: Re: Odd error messages on wireless 11a connection 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, 15 Oct 2007 17:31:20 -0000 --==_Exmh_1192469476_58526P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > Date: Mon, 15 Oct 2007 09:37:58 -0700 > From: Sam Leffler > > Kevin Oberman wrote: > > I am at a major networking conference and my wireless, while working, is > > logging lots of errors that I don't understand at all. > > > > +update_stats: bogus ndx0 7, max 7, mode 1 > > > > Can anyone explain what these are? Do I need to be concerned? > > > > Atheros 5212 on FreeBSD current as of Oct. 5, i386, single processor > > system. > > ath0: mem 0xb4000000-0xb400ffff irq 11 at device 2.0 on pci11 > > ath0: [ITHREAD] > > ath0: using obsoleted if_watchdog interface > > ath0: Ethernet address: 00:14:a4:60:f2:e3 > > ath0: mac 5.9 phy 4.3 radio 3.6 > > > Update your ath driver. You've found an ap that is beaconing a "pureg" > rate set and a recent change to the sample rate code broke that. Thanks, Sam, but I'm running 1.177 which looks like the latest in CVS. Do you have anything more recent that is not yet committed or is there still a problem? -- 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_1192469476_58526P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFHE6Pkkn3rs5h7N1ERAmLHAKCBsGznCVyaRspF3cTMvl+iHjHp0gCfdgMB AJ+/0m6Z9jDIEUSBbiY8dEQ= =8KSJ -----END PGP SIGNATURE----- --==_Exmh_1192469476_58526P-- From owner-freebsd-mobile@FreeBSD.ORG Mon Oct 15 17:52: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 9E9A816A417 for ; Mon, 15 Oct 2007 17:52:56 +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 68D8713C4B7 for ; Mon, 15 Oct 2007 17:52:56 +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 l9FHqtft059343 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 15 Oct 2007 10:52:55 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <4713A8F7.4000603@errno.com> Date: Mon, 15 Oct 2007 10:52:55 -0700 From: Sam Leffler User-Agent: Thunderbird 2.0.0.6 (X11/20070814) MIME-Version: 1.0 To: Kevin Oberman References: <20071015173116.CAABE4500E@ptavv.es.net> In-Reply-To: <20071015173116.CAABE4500E@ptavv.es.net> 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: Odd error messages on wireless 11a connection 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, 15 Oct 2007 17:52:56 -0000 Kevin Oberman wrote: >> Date: Mon, 15 Oct 2007 09:37:58 -0700 >> From: Sam Leffler >> >> Kevin Oberman wrote: >> >>> I am at a major networking conference and my wireless, while working, is >>> logging lots of errors that I don't understand at all. >>> >>> +update_stats: bogus ndx0 7, max 7, mode 1 >>> >>> Can anyone explain what these are? Do I need to be concerned? >>> >>> Atheros 5212 on FreeBSD current as of Oct. 5, i386, single processor >>> system. >>> ath0: mem 0xb4000000-0xb400ffff irq 11 at device 2.0 on pci11 >>> ath0: [ITHREAD] >>> ath0: using obsoleted if_watchdog interface >>> ath0: Ethernet address: 00:14:a4:60:f2:e3 >>> ath0: mac 5.9 phy 4.3 radio 3.6 >>> >>> >> Update your ath driver. You've found an ap that is beaconing a "pureg" >> rate set and a recent change to the sample rate code broke that. >> > > Thanks, Sam, but I'm running 1.177 which looks like the latest in > CVS. Do you have anything more recent that is not yet committed or is > there still a problem? > From cvs log ath_rate/sample/sample.c: revision 1.19 date: 2007/10/13 22:30:41; author: sam; state: Exp; lines: +34 -18 revert 1.18: the negotiated rate set may not match the hal rate tables, so using the hal's rateCodeToIndex array will produce wrong indices for the negotiated rate set MFC after: 3 days And ignore my blathering about pureg/pureb/whatever. Just update. Sam From owner-freebsd-mobile@FreeBSD.ORG Mon Oct 15 17:55:26 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 A58BB16A41B for ; Mon, 15 Oct 2007 17:55:26 +0000 (UTC) (envelope-from SRS0=f5beabfffbdd20c38f98f3136757b7a2d047a54d=489=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 5F65C13C4A6 for ; Mon, 15 Oct 2007 17:55:24 +0000 (UTC) (envelope-from SRS0=f5beabfffbdd20c38f98f3136757b7a2d047a54d=489=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 UBS75020; Mon, 15 Oct 2007 10:55:20 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 7F9964500E; Mon, 15 Oct 2007 10:55:20 -0700 (PDT) To: Sam Leffler In-Reply-To: Your message of "Mon, 15 Oct 2007 10:20:09 PDT." <4713A149.9010301@errno.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1192470920_62484P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Mon, 15 Oct 2007 10:55:20 -0700 From: "Kevin Oberman" Message-Id: <20071015175520.7F9964500E@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: freebsd-mobile@freebsd.org Subject: Re: Odd error messages on wireless 11a connection 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, 15 Oct 2007 17:55:26 -0000 --==_Exmh_1192470920_62484P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > Date: Mon, 15 Oct 2007 10:20:09 -0700 > From: Sam Leffler > > Sam Leffler wrote: > > Kevin Oberman wrote: > >> I am at a major networking conference and my wireless, while working, is > >> logging lots of errors that I don't understand at all. > >> > >> +update_stats: bogus ndx0 7, max 7, mode 1 > >> > >> Can anyone explain what these are? Do I need to be concerned? > >> > >> Atheros 5212 on FreeBSD current as of Oct. 5, i386, single processor > >> system. ath0: mem 0xb4000000-0xb400ffff irq 11 at > >> device 2.0 on pci11 > >> ath0: [ITHREAD] > >> ath0: using obsoleted if_watchdog interface > >> ath0: Ethernet address: 00:14:a4:60:f2:e3 > >> ath0: mac 5.9 phy 4.3 radio 3.6 > >> > > Update your ath driver. You've found an ap that is beaconing a > > "pureg" rate set and a recent change to the sample rate code broke that. > > Actually your interface is marked "pureb" and the ap is sending an 11g > rate set but the answer is the same--update ath_rate/sample.c. OK. I updated and no longer am seeing the messages. Thanks! One issue...I booted with WPA DHCP and the system skipped the higher priority 11a net and associated with the b/g net. I did a 'list aps' and only saw 2 APs, both 11g. I know that there should have been more, so I did a 'scan' and all the rest appeared, including the 11a APs. (Total of 8 APs, 4 11b/g and 4 11a.) The supplicant now associated with the 11a net and my system is running MUCH better! Any idea if this is a timing issue? Any way to improve the initial scan? Thanks again for the very fast responses. -- 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_1192470920_62484P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFHE6mIkn3rs5h7N1ERAgmDAJ4w5z2vMdGXdOSgzuWvRuhC/HIf1QCfUbs2 /AAW+FOHGuOIWnBX0YLe2kY= =DizE -----END PGP SIGNATURE----- --==_Exmh_1192470920_62484P-- From owner-freebsd-mobile@FreeBSD.ORG Mon Oct 15 18:42: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 3EB8F16A468 for ; Mon, 15 Oct 2007 18:42:25 +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 DDE4813C480 for ; Mon, 15 Oct 2007 18:42:24 +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 l9FIgNXn059734 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 15 Oct 2007 11:42:23 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <4713B48F.7050608@errno.com> Date: Mon, 15 Oct 2007 11:42:23 -0700 From: Sam Leffler User-Agent: Thunderbird 2.0.0.6 (X11/20070814) MIME-Version: 1.0 To: Kevin Oberman References: <20071015175520.7F9964500E@ptavv.es.net> In-Reply-To: <20071015175520.7F9964500E@ptavv.es.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-dcc-servers-Metrics: om; whitelist Cc: freebsd-mobile@freebsd.org Subject: Re: Odd error messages on wireless 11a connection 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, 15 Oct 2007 18:42:25 -0000 Kevin Oberman wrote: >> Date: Mon, 15 Oct 2007 10:20:09 -0700 >> From: Sam Leffler >> >> Sam Leffler wrote: >> >>> Kevin Oberman wrote: >>> >>>> I am at a major networking conference and my wireless, while working, is >>>> logging lots of errors that I don't understand at all. >>>> >>>> +update_stats: bogus ndx0 7, max 7, mode 1 >>>> >>>> Can anyone explain what these are? Do I need to be concerned? >>>> >>>> Atheros 5212 on FreeBSD current as of Oct. 5, i386, single processor >>>> system. ath0: mem 0xb4000000-0xb400ffff irq 11 at >>>> device 2.0 on pci11 >>>> ath0: [ITHREAD] >>>> ath0: using obsoleted if_watchdog interface >>>> ath0: Ethernet address: 00:14:a4:60:f2:e3 >>>> ath0: mac 5.9 phy 4.3 radio 3.6 >>>> >>>> >>> Update your ath driver. You've found an ap that is beaconing a >>> "pureg" rate set and a recent change to the sample rate code broke that. >>> >> Actually your interface is marked "pureb" and the ap is sending an 11g >> rate set but the answer is the same--update ath_rate/sample.c. >> > > OK. I updated and no longer am seeing the messages. Thanks! > > One issue...I booted with WPA DHCP and the system skipped the higher > priority 11a net and associated with the b/g net. I did a 'list aps' and > only saw 2 APs, both 11g. I know that there should have been more, so I > did a 'scan' and all the rest appeared, including the 11a APs. (Total of > 8 APs, 4 11b/g and 4 11a.) The supplicant now associated with the 11a > net and my system is running MUCH better! > > Any idea if this is a timing issue? Any way to improve the initial scan? > > Thanks again for the very fast responses. > Scanning is always a balancing act between speed and accuracy. The usual way to improve the latter is to dwell longer on a channel. I don't recall if the dwell time is a sysctl knob; it's not settable via ifconfig. OTOH w/ bgscan and roaming you should quickly find a good ap to use. Sam From owner-freebsd-mobile@FreeBSD.ORG Tue Oct 16 02:12:21 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 7F68816A46C for ; Tue, 16 Oct 2007 02:12:21 +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 40B5513C47E for ; Tue, 16 Oct 2007 02:12:20 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 4332 invoked from network); 15 Oct 2007 21:12:20 -0500 Received: from 124-170-139-87.dyn.iinet.net.au (HELO localhost) (124.170.139.87) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 15 Oct 2007 21:12:20 -0500 Date: Tue, 16 Oct 2007 12:12:14 +1000 From: Norberto Meijome To: Richard Arends Message-ID: <20071016121214.7dea128f@meijome.net> In-Reply-To: <20071014072718.GK5484@shell.unixguru.nl> References: <20071008172756.2aed69e7@meijome.net> <20071008173604.1e449ca2@meijome.net> <20071008111601.kfrb6qt8isw4owc0@0x20.net> <20071008203558.022fd258@meijome.net> <20071008203733.3128f3b6@meijome.net> <20071008154116.0o3hvbyxggk400k0@0x20.net> <20071011110245.60c5cda5@meijome.net> <20071013211322.GJ5484@shell.unixguru.nl> <20071014171053.418dd40a@meijome.net> <20071014072718.GK5484@shell.unixguru.nl> 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: 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: Tue, 16 Oct 2007 02:12:21 -0000 On Sun, 14 Oct 2007 09:27:19 +0200 Richard Arends wrote: > On Sun, Oct 14, 2007 at 05:10:53PM +1000, Norberto Meijome wrote: > > Norbert, > > > thanks Richard, when I have some time i'll read over it to try to understand what it's doing in the system itself. > > In short, is sets the fan in manual mode and reads every 5 seconds the cpu temp. Till 72 > degrees it set's the fan level from 0 to 7 and above the 72 degrees it scales the CPU > down. > > > What version of FBSD are you running this on ? > > On current (7) and stable (6.2). > Thanks Richard, I checked the code in more detail. Unfortunately, the fan_level sysctl is NOT present in my system, which sucks, because i'm getting quite frustrated with this issue, specially because i havent got the time now to start digging in the archives...i will have to make the time it seems....where's that time-making-machine i had? :) I will follow up in -acpi@ too i think What I have : $ sysctl dev.acpi_ibm dev.acpi_ibm.0.%desc: IBM ThinkPad ACPI Extras dev.acpi_ibm.0.%driver: acpi_ibm dev.acpi_ibm.0.%location: handle=\_SB_.PCI0.LPC_.EC__.HKEY dev.acpi_ibm.0.%pnpinfo: _HID=IBM0068 _UID=0 dev.acpi_ibm.0.%parent: acpi0 dev.acpi_ibm.0.initialmask: 2060 dev.acpi_ibm.0.availmask: 16777215 dev.acpi_ibm.0.events: 1 dev.acpi_ibm.0.eventmask: 16777215 dev.acpi_ibm.0.hotkey: 3382 dev.acpi_ibm.0.lcd_brightness: 0 dev.acpi_ibm.0.volume: 10 dev.acpi_ibm.0.mute: 0 dev.acpi_ibm.0.thinklight: 0 dev.acpi_ibm.0.bluetooth: 1 dev.acpi_ibm.0.wlan: 1 dev.acpi_ibm.0.fan_speed: 3216 dev.acpi_ibm.0.fan: 1 dev.acpi_ibm.0.thermal: 95 66 44 92 50 -1 41 -1 $ sysctl dev.cpu dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=\_PR_.CPU_ dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%parent: acpi0 dev.cpu.0.freq: 2000 dev.cpu.0.freq_levels: 2000/27000 1750/23625 1600/22600 1400/19775 1333/19666 1166/17207 1066/16733 932/14641 800/13800 700/12075 600/10350 500/8625 400/6900 300/5175 200/3450 100/1725 dev.cpu.0.cx_supported: C1/1 C2/1 C3/85 dev.cpu.0.cx_lowest: C1 dev.cpu.0.cx_usage: 100.00% 0.00% 0.00% I have a feeling I can tune the cx_* better.... but I haven't got my head around it. Thanks for the detail about your config. I'm now using the hw.pci.do_power_nodriver="2" (by hand for now). Details of what it does can be found in sys/dev/pci/pci.c Thanks again to you and everyone... any more info / ideas are always welcomed! Beto _________________________ {Beto|Norberto|Numard} Meijome If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it. 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 Tue Oct 16 07:29: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 2AC3016A417 for ; Tue, 16 Oct 2007 07:29:11 +0000 (UTC) (envelope-from richard@unixguru.nl) Received: from mx1.unixguru.nl (mx1.unixguru.nl [77.37.12.119]) by mx1.freebsd.org (Postfix) with ESMTP id F0A0F13C455 for ; Tue, 16 Oct 2007 07:29:10 +0000 (UTC) (envelope-from richard@unixguru.nl) Received: from localhost (localhost [127.0.0.1]) by mx1.unixguru.nl (Postfix) with ESMTP id 5489A1F672; Tue, 16 Oct 2007 09:29:51 +0200 (CEST) Received: from mx1.unixguru.nl ([77.37.12.119]) by localhost (vs8916.vserver4free.de [77.37.12.119]) (amavisd-new, port 10024) with ESMTP id Esi2TLlAbn0v; Tue, 16 Oct 2007 09:29:50 +0200 (CEST) Received: from mail.unixguru.nl (www.unixguru.nl [212.120.92.81]) by mx1.unixguru.nl (Postfix) with ESMTP id C7EF21F63D; Tue, 16 Oct 2007 09:29:50 +0200 (CEST) Received: from localhost (shell.unixguru.nl [192.168.10.20]) by mail.unixguru.nl (Postfix) with ESMTP id 152A41143B; Tue, 16 Oct 2007 09:29:08 +0200 (CEST) Date: Tue, 16 Oct 2007 09:29:07 +0200 From: Richard Arends To: Norberto Meijome Message-ID: <20071016072907.GO5484@shell.unixguru.nl> References: <20071008173604.1e449ca2@meijome.net> <20071008111601.kfrb6qt8isw4owc0@0x20.net> <20071008203558.022fd258@meijome.net> <20071008203733.3128f3b6@meijome.net> <20071008154116.0o3hvbyxggk400k0@0x20.net> <20071011110245.60c5cda5@meijome.net> <20071013211322.GJ5484@shell.unixguru.nl> <20071014171053.418dd40a@meijome.net> <20071014072718.GK5484@shell.unixguru.nl> <20071016121214.7dea128f@meijome.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071016121214.7dea128f@meijome.net> User-Agent: Mutt/1.4.2.3i Cc: 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: Tue, 16 Oct 2007 07:29:11 -0000 On Tue, Oct 16, 2007 at 12:12:14PM +1000, Norberto Meijome wrote: Norberto, > I checked the code in more detail. Unfortunately, the fan_level sysctl is NOT present in my system Hmm that's strange. Maybe an other acpi call or something like that? > I will follow up in -acpi@ too i think > dev.acpi_ibm.0.fan_speed: 3216 And this one is readonly I think??? > dev.acpi_ibm.0.thermal: 95 66 44 92 50 -1 41 -1 Auch... CPU at 95 degrees, that's not funny. -- Regards, Richard. From owner-freebsd-mobile@FreeBSD.ORG Tue Oct 16 14:33:47 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 923AB16A417 for ; Tue, 16 Oct 2007 14:33:47 +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 5A06913C45B for ; Tue, 16 Oct 2007 14:33:47 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 16278 invoked from network); 16 Oct 2007 09:33:46 -0500 Received: from 124-170-26-247.dyn.iinet.net.au (HELO localhost) (124.170.26.247) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 16 Oct 2007 09:33:46 -0500 Date: Wed, 17 Oct 2007 00:33:43 +1000 From: Norberto Meijome To: Richard Arends Message-ID: <20071017003343.228d4978@meijome.net> In-Reply-To: <20071016072907.GO5484@shell.unixguru.nl> References: <20071008173604.1e449ca2@meijome.net> <20071008111601.kfrb6qt8isw4owc0@0x20.net> <20071008203558.022fd258@meijome.net> <20071008203733.3128f3b6@meijome.net> <20071008154116.0o3hvbyxggk400k0@0x20.net> <20071011110245.60c5cda5@meijome.net> <20071013211322.GJ5484@shell.unixguru.nl> <20071014171053.418dd40a@meijome.net> <20071014072718.GK5484@shell.unixguru.nl> <20071016121214.7dea128f@meijome.net> <20071016072907.GO5484@shell.unixguru.nl> 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: 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: Tue, 16 Oct 2007 14:33:47 -0000 On Tue, 16 Oct 2007 09:29:07 +0200 Richard Arends wrote: > > I checked the code in more detail. Unfortunately, the fan_level sysctl is NOT present in my system > > Hmm that's strange. Maybe an other acpi call or something like that? hi Richard, well, i grepped sysctl -a for "fan", not there. > > > I will follow up in -acpi@ too i think > > > dev.acpi_ibm.0.fan_speed: 3216 > > And this one is readonly I think??? indeed. > > > dev.acpi_ibm.0.thermal: 95 66 44 92 50 -1 41 -1 > > Auch... CPU at 95 degrees, that's not funny. i know. forget about running QEmu ... I think it could be that my particular version of laptop doesn't trigger that section of the acpi code to be loaded... i know it's supported, as the linux code worked just fine (as per my previous email). but i really dont want to use linux, so i'll be trying 7 soon i think B _________________________ {Beto|Norberto|Numard} Meijome "Those who do not remember the past are condemned to repeat it." George Santayana 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 Tue Oct 16 16:28: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 791F516A41A for ; Tue, 16 Oct 2007 16:28:09 +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 D364913C465 for ; Tue, 16 Oct 2007 16:28:07 +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 CAA16792; Wed, 17 Oct 2007 02:27:49 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 17 Oct 2007 02:27:48 +1000 (EST) From: Ian Smith To: Norberto Meijome In-Reply-To: <20071017003343.228d4978@meijome.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: 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: Tue, 16 Oct 2007 16:28:09 -0000 On Wed, 17 Oct 2007, Norberto Meijome wrote: > On Tue, 16 Oct 2007 09:29:07 +0200 > Richard Arends wrote: > > > > I checked the code in more detail. Unfortunately, the fan_level > > > sysctl is NOT present in my system > > > > Hmm that's strange. Maybe an other acpi call or something like that? > > hi Richard, > well, i grepped sysctl -a for "fan", not there. 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) http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/acpi_support/acpi_ibm.c.diff?r1=text&tr1=1.7.2.3&r2=text&tr2=1.10 > > > I will follow up in -acpi@ too i think Not that there hasn't been lots of interesting discussion here, but I reckon you may do better there, as it's 100% an ACPI issue. It's not much busier than -mobile usually. > > > dev.acpi_ibm.0.thermal: 95 66 44 92 50 -1 41 -1 > > > > Auch... CPU at 95 degrees, that's not funny. I'd not known which of these were which before, thanks Richard! my %sensors = ( "1", "CPU", "2", "Mini PCI Module", "3", "HDD", "4", "GPU", "5", "Built-in battery", "6", "UltraBay battery", "7", "Built-in battery", "8", "UltraBay battery"); so your GPU is running pretty hot too .. > i know. forget about running QEmu ... > > I think it could be that my particular version of laptop doesn't > trigger that section of the acpi code to be loaded... i know it's > supported, as the linux code worked just fine (as per my previous > email). but i really dont want to use linux, so i'll be trying 7 soon > i think A fresh start in -acpi might still find something useful for 6-STABLE, hopefully I won't languish as badly as 5 did after 6 was released :) but yes I'll be trying 7 now there may be a coherent set of ports/packages. > "Those who do not remember the past are condemned to repeat it." > George Santayana Which is a real bummer when you forget yesterday .. Cheers, Ian From owner-freebsd-mobile@FreeBSD.ORG Tue Oct 16 19:55:59 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 09BB816A419 for ; Tue, 16 Oct 2007 19:55:59 +0000 (UTC) (envelope-from richard@unixguru.nl) Received: from mx1.unixguru.nl (mx1.unixguru.nl [77.37.12.119]) by mx1.freebsd.org (Postfix) with ESMTP id BA4E813C447 for ; Tue, 16 Oct 2007 19:55:53 +0000 (UTC) (envelope-from richard@unixguru.nl) Received: from localhost (localhost [127.0.0.1]) by mx1.unixguru.nl (Postfix) with ESMTP id 179DD1F67D; Tue, 16 Oct 2007 21:56:36 +0200 (CEST) Received: from mx1.unixguru.nl ([77.37.12.119]) by localhost (vs8916.vserver4free.de [77.37.12.119]) (amavisd-new, port 10024) with ESMTP id pEamt2TfeT12; Tue, 16 Oct 2007 21:56:35 +0200 (CEST) Received: from mail.unixguru.nl (www.unixguru.nl [212.120.92.81]) by mx1.unixguru.nl (Postfix) with ESMTP id 78BE11F63D; Tue, 16 Oct 2007 21:56:35 +0200 (CEST) Received: from localhost (shell.unixguru.nl [192.168.10.20]) by mail.unixguru.nl (Postfix) with ESMTP id 2F7361143B; Tue, 16 Oct 2007 21:55:51 +0200 (CEST) Date: Tue, 16 Oct 2007 21:55:51 +0200 From: Richard Arends To: Ian Smith Message-ID: <20071016195550.GQ5484@shell.unixguru.nl> References: <20071017003343.228d4978@meijome.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: 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: Tue, 16 Oct 2007 19:55:59 -0000 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 :) -- Regards, Richard. From owner-freebsd-mobile@FreeBSD.ORG Tue Oct 16 22:31:44 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 71FF116A418 for ; Tue, 16 Oct 2007 22:31:44 +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 2BBBE13C480 for ; Tue, 16 Oct 2007 22:31:43 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 32175 invoked from network); 16 Oct 2007 17:31:43 -0500 Received: from 124-170-26-247.dyn.iinet.net.au (HELO localhost) (124.170.26.247) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 16 Oct 2007 17:31:43 -0500 Date: Wed, 17 Oct 2007 08:31:35 +1000 From: Norberto Meijome To: Richard Arends Message-ID: <20071017083135.11d54359@meijome.net> In-Reply-To: <20071016195550.GQ5484@shell.unixguru.nl> References: <20071017003343.228d4978@meijome.net> <20071016195550.GQ5484@shell.unixguru.nl> 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: Ian Smith , 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: Tue, 16 Oct 2007 22:31:44 -0000 On Tue, 16 Oct 2007 21:55:51 +0200 Richard Arends wrote: > 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. ah ok, so it is NOT a detection issue.np. > > 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 :) yeah.... i think 7 is looking better by the hour... i'll talk to -acpi@ anyway to see if anything else comes up there... cheers, B _________________________ {Beto|Norberto|Numard} Meijome "Those who do not remember the past are condemned to repeat it." George Santayana 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 Wed Oct 17 05:30: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 A055716A41A for ; Wed, 17 Oct 2007 05:30:42 +0000 (UTC) (envelope-from kalin@el.net) Received: from mail.el.net (mail.el.net [74.2.36.130]) by mx1.freebsd.org (Postfix) with ESMTP id 47ABF13C457 for ; Wed, 17 Oct 2007 05:30:42 +0000 (UTC) (envelope-from kalin@el.net) Received: (qmail 55678 invoked by uid 1008); 17 Oct 2007 05:06:35 -0000 Received: from unknown (HELO mail.el.net) (127.0.0.1) by mail.el.net with SMTP; 17 Oct 2007 05:06:35 -0000 Received: from 74.64.6.149 (SquirrelMail authenticated user kalin@el.net) by mail.el.net with HTTP; Wed, 17 Oct 2007 01:06:35 -0400 (EDT) Message-ID: <56805.74.64.6.149.1192597595.squirrel@mail.el.net> Date: Wed, 17 Oct 2007 01:06:35 -0400 (EDT) From: "kalin mintchev" To: freebsd-mobile@freebsd.org User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions@freebsd.org Subject: WPA X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kalin@el.net List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 05:30:42 -0000 hi all... having trouble to get the wi0 interface up with WPA. below is the relevant information. can somebeody explain what the problem is? thanks... device = 'PRISM 2.5 802.11b 11Mbps Wireless Controller' wi0: flags=8843 mtu 1500 inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 ether 00:05:3c:09:82:a3 media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps) status: associated ssid myap channel 6 bssid 00:1c:10:9e:ef:b2 stationname "FreeBSD WaveLAN/IEEE node" authmode WPA1+WPA2/802.11i privacy MIXED deftxkey UNDEF txpowmax 100 bmiss 7 roaming MANUAL bintval 100 # /etc/wpa_supplicant.conf: network={ ssid="myap" scan_ssid=1 proto=WPA key_mgmt=WPA-PSK psk="secret" } # wpa_supplicant -i wi0 -dd -c /etc/wpa_supplicant.conf Initializing interface 'wi0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' Line: 1 - start of a new network block ssid - hexdump_ascii(len=6): 77 74 70 67 6e 79 myap scan_ssid=1 (0x1) proto: 0x1 key_mgmt: 0x2 PSK (ASCII passphrase) - hexdump_ascii(len=11): [REMOVED] PSK (from passphrase) - hexdump(len=32): [REMOVED] Priority group 0 id=0 ssid='myap' Initializing interface (2) 'wi0' EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED EAPOL: External notification - portEnabled=0 EAPOL: External notification - portValid=0 Own MAC address: 00:05:3c:09:82:a3 wpa_driver_bsd_set_wpa: enabled=1 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 wpa_driver_bsd_del_key: keyidx=0 wpa_driver_bsd_del_key: keyidx=1 wpa_driver_bsd_del_key: keyidx=2 wpa_driver_bsd_del_key: keyidx=3 wpa_driver_bsd_set_countermeasures: enabled=0 wpa_driver_bsd_set_drop_unencrypted: enabled=1 Setting scan request: 0 sec 100000 usec Added interface wi0 State: DISCONNECTED -> SCANNING Starting AP scan (specific SSID) Scan SSID - hexdump_ascii(len=6): 77 74 70 67 6e 79 myap Failed to initiate AP scan. Setting scan request: 10 sec 0 usec CTRL-EVENT-TERMINATING - signal 2 received Removing interface wi0 State: SCANNING -> DISCONNECTED No keys have been configured - skip key clearing EAPOL: External notification - portEnabled=0 EAPOL: External notification - portValid=0 wpa_driver_bsd_set_wpa: enabled=0 wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0 wpa_driver_bsd_set_drop_unencrypted: enabled=0 wpa_driver_bsd_set_countermeasures: enabled=0 No keys have been configured - skip key clearing wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0 wpa_driver_bsd_deinit: failed to restore roaming state Cancelling scan request ..................................... and a bunch of these on the terminal: ioctl[SIOCS80211, op 1, len 6]: Operation not supported by device ioctl[SIOCS80211, op 22, len 0]: Operation not supported by device ioctl[SIOCS80211, op 17, arg 0x0]: Operation not supported by device ioctl[SIOCS80211, op 26, arg 0x0]: Operation not supported by device Failed to disable WPA in the driver. ioctl[SIOCS80211, op 18, arg 0x0]: Operation not supported by device ioctl[SIOCS80211, op 25, arg 0x0]: Operation not supported by device ioctl[SIOCS80211, op 22, len 0]: Operation not supported by device ioctl[SIOCS80211, op 17, arg 0x0]: Operation not supported by device ioctl[SIOCS80211, op 26, arg 0x0]: Operation not supported by device ioctl[SIOCS80211, op 16, arg 0x1]: Operation not supported by device From owner-freebsd-mobile@FreeBSD.ORG Wed Oct 17 09:57: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 2332716A417 for ; Wed, 17 Oct 2007 09:57:06 +0000 (UTC) (envelope-from uwe@laverenz.de) Received: from cg-p07-fb.rzone.de (cg-p07-fb.rzone.de [81.169.146.215]) by mx1.freebsd.org (Postfix) with ESMTP id 1323513C448 for ; Wed, 17 Oct 2007 09:57:04 +0000 (UTC) (envelope-from uwe@laverenz.de) Received: from mo-p07-ob.rzone.de (fruni-mo-p07-ob.mail [192.168.63.183]) by charnel-fb-06.store (RZmta 13.4) with ESMTP id P07498j9H9AQT2 for ; Wed, 17 Oct 2007 11:26:30 +0200 (MEST) (envelope-from: ) Received: from athena.laverenz.de (p5480BBD0.dip.t-dialin.net [84.128.187.208]) by post.webmailer.de (fruni mo51) (RZmta 13.6) with ESMTP id a03a1cj9H8DEqq ; Wed, 17 Oct 2007 11:24:57 +0200 (MEST) (envelope-from: ) Received: from localhost (localhost.localdomain [127.0.0.1]) by athena.laverenz.de (Postfix) with ESMTP id 50A7EE0AA246; Wed, 17 Oct 2007 11:24:57 +0200 (CEST) Received: from athena.laverenz.de ([127.0.0.1]) by localhost (athena [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07869-01; Wed, 17 Oct 2007 11:24:56 +0200 (CEST) Received: by athena.laverenz.de (Postfix, from userid 2000) id 5CBF4E0AA245; Wed, 17 Oct 2007 11:24:56 +0200 (CEST) Date: Wed, 17 Oct 2007 11:24:56 +0200 From: Uwe Laverenz To: freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Message-ID: <20071017092456.GA7812@laverenz.de> Mail-Followup-To: freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org References: <56805.74.64.6.149.1192597595.squirrel@mail.el.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56805.74.64.6.149.1192597595.squirrel@mail.el.net> Organization: private site Sender: uwe@laverenz.de User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at laverenz.de X-RZG-AUTH: l30WrtbrzmfyRJtZ7/TtK2qIdZIgjE9K4Q55TXGhenj8TX5ShWTsXpHnUaUfkb5Qug== X-RZG-CLASS-ID: mo07 Cc: Subject: Re: WPA 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, 17 Oct 2007 09:57:06 -0000 On Wed, Oct 17, 2007 at 01:06:35AM -0400, kalin mintchev wrote: > having trouble to get the wi0 interface up with WPA. below is the relevant > information. can somebeody explain what the problem is? thanks... I think I can. > device = 'PRISM 2.5 802.11b 11Mbps Wireless Controller' Your wireless card probably does not support WPA, maybe you can solve this with a newer firmware. If not you would have to stick with WEP encryption or buy a new card. Uwe From owner-freebsd-mobile@FreeBSD.ORG Wed Oct 17 16:15:45 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 BD92416A417 for ; Wed, 17 Oct 2007 16:15:45 +0000 (UTC) (envelope-from kozak.szymon@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id 15A1713C459 for ; Wed, 17 Oct 2007 16:15:44 +0000 (UTC) (envelope-from kozak.szymon@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so360813uge for ; Wed, 17 Oct 2007 09:15:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=Omo8XSrv5eGGZfUPZwK4Wr82ZtNGvK0p2tSbpokdSZA=; b=MysvnqgSylPKmGd0Znykq8EVmS35HbHxMs/QhnEmV2tojGJ3efk0j20bFroKyc8r7UVMzah1eyzwTP9cz2bEPxA7nid4EQP86yTXQWZq7a3fhj3vN/+c49jraStHq/8k2c0JIrdS9zsReLXcqUW1J1bGhKRnFU7YB/a4xRGyrgE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=XoM27oswYHw6cgieTH8hCfqht12aAHS8Ore2CKqZQ1xh7WbcB6hvn2nUkbV5CwTi3lraq0PyCeje96gHiANFZ8svMRwPYB0IwmCcW1V2ipObKOhpWdd9M6t3v9PBfeU7JsLxW+FW/tqEardiRgs/pRH5L3F9MsHtqdH8MBl6Yak= Received: by 10.142.109.16 with SMTP id h16mr2579374wfc.1192635997621; Wed, 17 Oct 2007 08:46:37 -0700 (PDT) Received: by 10.142.11.17 with HTTP; Wed, 17 Oct 2007 08:46:37 -0700 (PDT) Message-ID: <289d9e390710170846s52f8d214w7a8880127caa48b4@mail.gmail.com> Date: Wed, 17 Oct 2007 17:46:37 +0200 From: "Szymon 'slane' Kozak" To: freebsd-mobile@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: R61i Freeze on FreeBSD-CURRENT 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, 17 Oct 2007 16:15:45 -0000 Hi All, My ThinkPad R61i freeze on current. Stable snapshot (200709) works fine, but my graphic card not supported (intel3100 - 965) Boot freeze error: pci0: at device 27.0 (no driver attached) pcib1: irq 20 at device 28.0 on pci0 pci2: on pcib1 pcib2: irq 21 at device 28.1 on pci0 pci3: on pcib2 pci3: at device 0.0 (no driver attached) pcib3: irq 22 at device 28.2 on pci0 pci4: on pcib3 Here is my dmesg from stable: 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-200709 #0: Tue Sep 11 02:13:25 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Duo CPU T5250 @ 1.50GHz (1496.26-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6fd Stepping = 13 Features=0xbfebfbff Features2=0xe39d,CX16,,> AMD Features=0x20100000 AMD Features2=0x1 Cores per package: 2 real memory = 1063976960 (1014 MB) avail memory = 1031987200 (984 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 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 acpi_ec0: port 0x62,0x66 on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 2000 acpi0: Power Button (fixed) acpi0: reservation of fec00000, 140000 (3) failed Timecounter "ACPI-safe" 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 cpu1: on acpi0 acpi_throttle1: on cpu1 acpi_throttle1: failed to attach P_CNT device_attach: acpi_throttle1 attach returned 6 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 2.0 (no driver attached) pci0: at device 2.1 (no driver attached) uhci0: port 0x1820-0x183f irq 20 at device 26.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 0x1840-0x185f irq 21 at device 26.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 ehci0: mem 0xfe304800-0xfe304bff irq 22 at device 26.7 on pci0 ehci0: [GIANT-LOCKED] usb2: EHCI version 1.0 usb2: companion controllers, 2 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 4 ports with 4 removable, self powered pci0: at device 27.0 (no driver attached) pcib1: irq 20 at device 28.0 on pci0 pci2: on pcib1 pcib2: irq 21 at device 28.1 on pci0 pci3: on pcib2 pci3: at device 0.0 (no driver attached) pcib3: irq 22 at device 28.2 on pci0 pci4: on pcib3 bge0: mem 0xfe000000-0xfe00ffff irq 18 at device 0.0 on pci4 miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge0: Ethernet address: 00:15:58:cb:54:49 pcib4: irq 23 at device 28.3 on pci0 pci5: on pcib4 pcib5: irq 20 at device 28.4 on pci0 pci13: on pcib5 uhci2: port 0x1860-0x187f irq 16 at device 29.0 on pci0 uhci2: [GIANT-LOCKED] usb3: on uhci2 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 uhci3: port 0x1880-0x189f irq 17 at device 29.1 on pci0 uhci3: [GIANT-LOCKED] usb4: on uhci3 usb4: USB revision 1.0 uhub4: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub4: 2 ports with 2 removable, self powered uhci4: port 0x18a0-0x18bf irq 18 at device 29.2 on pci0 uhci4: [GIANT-LOCKED] usb5: on uhci4 usb5: USB revision 1.0 uhub5: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub5: 2 ports with 2 removable, self powered ehci1: mem 0xfe304c00-0xfe304fff irq 19 at device 29.7 on pci0 ehci1: [GIANT-LOCKED] usb6: EHCI version 1.0 usb6: companion controllers, 2 ports each: usb3 usb4 usb5 usb6: on ehci1 usb6: USB revision 2.0 uhub6: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub6: 6 ports with 6 removable, self powered pcib6: at device 30.0 on pci0 pci21: on pcib6 cbb0: mem 0xf8300000-0xf8300fff irq 16 at device 0.0 on pci21 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 fwohci0: <1394 Open Host Controller Interface> mem 0xf8301000-0xf83017ff irq 17 at device 0.1 on pci21 fwohci0: OHCI version 1.10 (ROM=0) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:01:6c:20:00:31:7b:40 fwohci0: Phy 1394a available S400, 1 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:01:6c:31:7b:40 fwe0: Ethernet address: 02:01:6c:31:7b:40 fwe0: if_start running deferred for Giant sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) pci21: at device 0.2 (no driver attached) pci21: at device 0.3 (no driver attached) pci21: at device 0.4 (no driver attached) pci21: at device 0.5 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1810-0x181f at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 atapci1: port 0x1c00-0x1c07,0x18d4-0x18d7,0x18d8-0x18df,0x18d0-0x18d3,0x18e0-0x18ff mem 0xfe304000-0xfe3047ff irq 16 at device 31.2 on pci0 atapci1: AHCI Version 01.10 controller with 3 ports detected ata2: on atapci1 ata3: on atapci1 ata4: on atapci1 pci0: at device 31.3 (no driver attached) acpi_tz0: on acpi0 acpi_tz1: 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 Generic PS/2 mouse, device ID 0 battery0: on acpi0 acpi_acad0: on acpi0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcffff,0xe0000-0xeffff 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 ugen0: TouchStrip Fingerprint Sensor, rev 1.00/0.01, addr 2 Timecounters tick every 1.000 msec acd0: DVDR at ata0-master UDMA33 ad4: 152627MB at ata2-master SATA150 SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad4s3a bge0: link state changed to DOWN bge0: link state changed to UP Thanks! From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 18 18:31: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 CDDAB16A417 for ; Thu, 18 Oct 2007 18:31:24 +0000 (UTC) (envelope-from gb@isis.u-strasbg.fr) Received: from mailhost.u-strasbg.fr (mailhost.u-strasbg.fr [IPv6:2001:660:2402::152]) by mx1.freebsd.org (Postfix) with ESMTP id 6921113C48E for ; Thu, 18 Oct 2007 18:31:24 +0000 (UTC) (envelope-from gb@isis.u-strasbg.fr) Received: from 6nq.u-strasbg.fr (mojito.u-strasbg.fr [IPv6:2001:660:4701:1002::3]) by mailhost.u-strasbg.fr (8.13.8/jtpda-5.5pre1) with ESMTP id l9IIVMgk092752 for ; Thu, 18 Oct 2007 20:31:22 +0200 (CEST) Received: by 6nq.u-strasbg.fr (Postfix, from userid 1001) id 77755B086; Thu, 18 Oct 2007 20:24:03 +0200 (CEST) Date: Thu, 18 Oct 2007 20:24:03 +0200 From: Guy Brand To: freebsd-mobile@freebsd.org Message-ID: <20071018182403.GA1822@isis.u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline x-gpg-fingerprint: B423 4924 012E 52F3 BA9E 547F CC8C 0BC5 9C0E B1CA x-gpg-key: 9C0EB1CA User-Agent: Mutt/1.5.16 (2007-06-09) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (mailhost.u-strasbg.fr [IPv6:2001:660:2402::152]); Thu, 18 Oct 2007 20:31:22 +0200 (CEST) X-Virus-Scanned: ClamAV 0.88.7/4545/Wed Oct 17 23:05:57 2007 on mr2.u-strasbg.fr X-Virus-Status: Clean X-Spam-Status: No, score=0.1 required=5.0 tests=AWL,NO_RELAYS autolearn=disabled version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on mr2.u-strasbg.fr Subject: ath broken with CURRENT? 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, 18 Oct 2007 18:31:24 -0000 Hi, # uname -v | sed "s/root.*//" FreeBSD 8.0-CURRENT #18: Thu Oct 18 19:50:41 CEST 2007 The kernel is GENERIC without WITNESS and INVARIANTS. # ifconfig ath0 up # fgrep ath /var/log/message Oct 18 20:06:55 6nq kernel: ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) Oct 18 20:06:55 6nq kernel: ath0: mem 0x88000000-0x8800ffff irq 16 at device 0.0 on cardbus0 Oct 18 20:06:55 6nq kernel: ath0: [ITHREAD] Oct 18 20:06:55 6nq kernel: ath0: using obsoleted if_watchdog interface Oct 18 20:06:55 6nq kernel: ath0: Ethernet address: 00:0f:cb:b1:ea:b3 Oct 18 20:06:55 6nq kernel: ath0: mac 10.5 phy 6.1 radio 6.3 Oct 18 20:07:51 6nq kernel: ath0: unable to reset hardware; hal status 0 If I keep trying to "ifconfig ath0 up", I see: Oct 18 20:08:10 6nq kernel: ath0: unable to reset hardware; hal status 4243348276 Oct 18 20:08:11 6nq kernel: ath0: unable to reset hardware; hal status 4242783028 Oct 18 20:08:12 6nq kernel: ath0: unable to reset hardware; hal status 4242795316 Oct 18 20:08:13 6nq kernel: ath0: unable to reset hardware; hal status 4242807604 Oct 18 20:08:14 6nq kernel: ath0: unable to reset hardware; hal status 4242807604 Oct 18 20:08:16 6nq kernel: ath0: unable to reset hardware; hal status 4242795316 Oct 18 20:08:29 6nq kernel: ath0: unable to reset hardware; hal status 4242783028 Oct 18 20:08:30 6nq kernel: ath0: unable to reset hardware; hal status 4242123572 Oct 18 20:08:32 6nq kernel: ath0: unable to reset hardware; hal status 4241132340 Oct 18 20:08:34 6nq kernel: ath0: unable to reset hardware; hal status 4242893620 Oct 18 20:08:37 6nq kernel: ath0: unable to reset hardware; hal status 4243213108 Oct 18 20:08:38 6nq kernel: ath0: unable to reset hardware; hal status 4243335988 Oct 18 20:08:40 6nq kernel: ath0: unable to reset hardware; hal status 4243323700 Last time this card was working: FreeBSD 7.0-CURRENT #11: Wed Oct 10 18:14:08 CEST 2007. Anything I could try? Thanks, -- bug From owner-freebsd-mobile@FreeBSD.ORG Fri Oct 19 16:32: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 B581616A417 for ; Fri, 19 Oct 2007 16:32:27 +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 2658213C461 for ; Fri, 19 Oct 2007 16:32:26 +0000 (UTC) (envelope-from frankstaals@gmx.net) Received: (qmail invoked by alias); 19 Oct 2007 16:32:25 -0000 Received: from ip176-173-59-62.adsl.versatel.nl (EHLO Rena.FStaals.net) [62.59.173.176] by mail.gmx.net (mp042) with SMTP; 19 Oct 2007 18:32:25 +0200 X-Authenticated: #25365336 X-Provags-ID: V01U2FsdGVkX19vHb1PjCFvJcL9nTM07LmPjw/5UBSXtWh+Y20Dg/ 9slvViQOt4EKn5 Message-ID: <4718DC14.8010702@gmx.net> Date: Fri, 19 Oct 2007 18:32:20 +0200 From: Frank Staals User-Agent: Thunderbird 2.0.0.6 (X11/20070929) MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: 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: Fri, 19 Oct 2007 16:32:27 -0000 I recently aquired a new laptop; A Dell Latitude D630 which has a C2D T7300 as cpu. Just about the first thing I did was enable powerd, allthough that doesn't realy seems to work; the CPU-speed doesn't decrease when the system is idle ( or at least dev.cpu.freq is always 2001 where at my previous laptop it went to an lower level when the system was idle ) . The freqlevel is still at 2001 when `top` shows the CPU is 97% idle. Anyone else with a C2D cpu running powerd which has this problem or am I just doing something wrong : frank@Rena# uname -a FreeBSD Rena.FStaals.net 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sat Oct 13 12:59:51 CEST 2007 root@Rena.FStaals.net:/usr/obj/usr/src/sys/GENERIC i386 frank@Rena# cat /etc/rc.conf | grep powerd powerd_enable="YES" powerd_flags="-a adaptive -b adaptive -i 85 -n adaptive -r 65" frank@Rena# dmesg -a | grep powerd Starting powerd. frank@Rena# sysctl -a | grep freq kern.acct_chkfreq: 15 kern.timecounter.tc.i8254.frequency: 1193182 kern.timecounter.tc.HPET.frequency: 14318180 kern.timecounter.tc.ACPI-fast.frequency: 3579545 kern.timecounter.tc.TSC.frequency: 2001000000 net.inet.sctp.sack_freq: 2 debug.cpufreq.verbose: 0 debug.cpufreq.lowest: 0 machdep.tsc_freq: 2001000000 machdep.i8254_freq: 1193182 machdep.acpi_timer_freq: 3579545 dev.cpu.0.freq: 2001 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.est.0.freq_settings: 2001/32000 2000/31000 1600/22000 1200/13000 800/10000 dev.est.1.freq_settings: 2001/32000 2000/31000 1600/22000 1200/13000 800/10000 dev.cpufreq.0.%driver: cpufreq dev.cpufreq.0.%parent: cpu0 dev.cpufreq.1.%driver: cpufreq dev.cpufreq.1.%parent: cpu1 dev.p4tcc.0.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 dev.p4tcc.1.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 frank@Rena# dmesg -a | grep CPU CPU: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz (1994.45-MHz 686-class CPU) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0: on acpi0 p4tcc0: on cpu0 cpu1: on acpi0 p4tcc1: on cpu1 SMP: AP CPU #1 Launched! frank@Rena# dmesg -a | grep cpu cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu0: on acpi0 est0: on cpu0 p4tcc0: on cpu0 cpu1: on acpi0 est1: on cpu1 p4tcc1: on cpu1 hw.acpi.cpu.cx_lowest: -- -Frank Staals From owner-freebsd-mobile@FreeBSD.ORG Fri Oct 19 19:00: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 E305E16A420 for ; Fri, 19 Oct 2007 19:00:34 +0000 (UTC) (envelope-from gb@isis.u-strasbg.fr) Received: from mailhost.u-strasbg.fr (mailhost.u-strasbg.fr [IPv6:2001:660:2402::153]) by mx1.freebsd.org (Postfix) with ESMTP id 69A8E13C4B6 for ; Fri, 19 Oct 2007 19:00:34 +0000 (UTC) (envelope-from gb@isis.u-strasbg.fr) Received: from 6nq.u-strasbg.fr (mojito.u-strasbg.fr [IPv6:2001:660:4701:1002::3]) by mailhost.u-strasbg.fr (8.13.8/jtpda-5.5pre1) with ESMTP id l9JJ0WKO084166 for ; Fri, 19 Oct 2007 21:00:32 +0200 (CEST) Received: by 6nq.u-strasbg.fr (Postfix, from userid 1001) id DC2A46210; Fri, 19 Oct 2007 20:54:07 +0200 (CEST) Date: Fri, 19 Oct 2007 20:54:07 +0200 From: Guy Brand To: freebsd-mobile@freebsd.org Message-ID: <20071019185407.GC1582@isis.u-strasbg.fr> References: <20071018182403.GA1822@isis.u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20071018182403.GA1822@isis.u-strasbg.fr> x-gpg-fingerprint: B423 4924 012E 52F3 BA9E 547F CC8C 0BC5 9C0E B1CA x-gpg-key: 9C0EB1CA User-Agent: Mutt/1.5.16 (2007-06-09) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (mailhost.u-strasbg.fr [IPv6:2001:660:2402::153]); Fri, 19 Oct 2007 21:00:32 +0200 (CEST) X-Virus-Scanned: ClamAV 0.88.7/4545/Wed Oct 17 23:05:57 2007 on mr3.u-strasbg.fr X-Virus-Status: Clean X-Spam-Status: No, score=0.1 required=5.0 tests=AWL,NO_RELAYS autolearn=disabled version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on mr3.u-strasbg.fr Subject: Re: ath broken with CURRENT? 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, 19 Oct 2007 19:00:35 -0000 Guy Brand (gb@isis.u-strasbg.fr) on 18/10/2007 at 20:24 wrote: > Oct 18 20:07:51 6nq kernel: ath0: unable to reset hardware; hal status 0 Wrong alert, it was a problem with cardbus, not ath. Sorry for the noise. -- bug From owner-freebsd-mobile@FreeBSD.ORG Fri Oct 19 20:53:38 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 33A9016A421 for ; Fri, 19 Oct 2007 20:53:38 +0000 (UTC) (envelope-from carloshpf@oi.com.br) Received: from smtp6.oi.com.br (smtp6.oi.com.br [200.222.115.69]) by mx1.freebsd.org (Postfix) with ESMTP id D7F5D13C4A3 for ; Fri, 19 Oct 2007 20:53:37 +0000 (UTC) (envelope-from carloshpf@oi.com.br) Received: from smtp2.oi.com.br (smtp2.oi.com.br [200.222.115.17]) by smtp6.oi.com.br (Postfix) with ESMTP id CB96ADC6CF for ; Fri, 19 Oct 2007 17:21:48 -0300 (BRT) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp2.oi.com.br (Postfix) with ESMTP id C94CB700007E for ; Fri, 19 Oct 2007 17:21:45 -0300 (BRT) Received: from smtp2.oi.com.br (localhost.localdomain [127.0.0.1]) by smtp2.oi.com.br (WCVirscan) with SMTP id 0000666d471911d9 ; Fri, 19 Oct 2007 17:21:45 -0300 Received: from [127.0.0.1] (unknown [189.12.127.89]) by smtp2.oi.com.br (Postfix) with ESMTP id F0E007000106 for ; Fri, 19 Oct 2007 17:21:44 -0300 (BRT) Message-ID: <471911C0.10204@oi.com.br> Date: Fri, 19 Oct 2007 17:21:20 -0300 From: Carlos Porto Filho User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Pavilion Webcam 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, 19 Oct 2007 20:53:38 -0000 Does anyone got the builtin webcam of a HP Pavilion working? the linux-gspca-kmod does not work! its a ricoh! i found a linux driver: http://lsb.blogdns.net/files/r5u870-0.10.0.tgz but it did not work either... tia From owner-freebsd-mobile@FreeBSD.ORG Sat Oct 20 14:26: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 2757D16A41A for ; Sat, 20 Oct 2007 14:26:42 +0000 (UTC) (envelope-from zkolic@sbb.co.yu) Received: from smtp4.sbb.co.yu (smtp4.sbb.co.yu [82.117.194.24]) by mx1.freebsd.org (Postfix) with ESMTP id 942B813C442 for ; Sat, 20 Oct 2007 14:26:37 +0000 (UTC) (envelope-from zkolic@sbb.co.yu) Received: from faust.net (cable-89-216-163-175.dynamic.sbb.co.yu [89.216.163.175]) by smtp4.sbb.co.yu (8.14.0/8.14.0) with ESMTP id l9KDfB5U007697 for ; Sat, 20 Oct 2007 15:41:11 +0200 Received: by faust.net (Postfix, from userid 1001) id 991A41CC32; Sat, 20 Oct 2007 15:39:44 +0200 (CEST) Date: Sat, 20 Oct 2007 15:39:44 +0200 From: Zoran Kolic To: freebsd-mobile@freebsd.org Message-ID: <20071020133944.GB826@faust.net> References: <20071020120010.5935F16A500@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071020120010.5935F16A500@hub.freebsd.org> X-SMTP-Vilter-Version: 1.3.2 X-SBB-Virus-Status: clean X-SBB-Spam-Score: 2.1 X-SBB-Spam-Level: XXXX 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: Sat, 20 Oct 2007 14:26:42 -0000 > 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? 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 From owner-freebsd-mobile@FreeBSD.ORG Sat Oct 20 23: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 0CCD716A417 for ; Sat, 20 Oct 2007 23:29:40 +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 2A21B13C447 for ; Sat, 20 Oct 2007 23:29:38 +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 ZHX04037; Sat, 20 Oct 2007 16:29:37 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 0B19045010; Sat, 20 Oct 2007 16:29:36 -0700 (PDT) To: Zoran Kolic In-Reply-To: Your message of "Sat, 20 Oct 2007 15:39:44 +0200." <20071020133944.GB826@faust.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1192922976_61216P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Sat, 20 Oct 2007 16:29:36 -0700 From: "Kevin Oberman" Message-Id: <20071020232936.0B19045010@ptavv.es.net> X-Sender-IP: 198.128.4.29 X-Sender-Domain: es.net X-Recipent: ;; X-Sender: X-To_Name: Zoran Kolic X-To_Domain: sbb.co.yu X-To: Zoran Kolic X-To_Email: zkolic@sbb.co.yu X-To_Alias: zkolic 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: Sat, 20 Oct 2007 23:29:40 -0000 --==_Exmh_1192922976_61216P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > Date: Sat, 20 Oct 2007 15:39:44 +0200 > From: Zoran Kolic > Sender: owner-freebsd-mobile@freebsd.org > > > 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? > 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? 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. It also sets the top speed at 800MHz when on battery, although I have confirmed that, if set to 2G, it runs at 2G. But powerd will limit the system to the "advertised" 800M. Powerd works fine in this configuration, but gets confused at time about whether to use battery or AC settings. I have not had time to track this down, but I have run powerd with debug and it sometimes seems to miss power state transitions. I really don't understand how this is working, but it does. It started when the latest Intel ACPI code was placed into -current. Guess it can now do some stuff without cpufreq. -- 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_1192922976_61216P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFHGo9fkn3rs5h7N1ERAqb0AJ0VBXCWlj48f+MCCbzo7YQfu8MsvQCfbprx KtTdXJBYWGKPiYZ6iXSV2TA= =W4GS -----END PGP SIGNATURE----- --==_Exmh_1192922976_61216P--