From owner-freebsd-mobile@FreeBSD.ORG Sun Dec 13 11:36:12 2009 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 309791065679; Sun, 13 Dec 2009 11:36:11 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 562168FC13; Sun, 13 Dec 2009 11:36:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id nBDBa9ZT059832; Sun, 13 Dec 2009 22:36:09 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 13 Dec 2009 22:36:08 +1100 (EST) From: Ian Smith To: freebsd-mobile@freebsd.org Message-ID: <20091213204201.A12012@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-acpi@freebsd.org Subject: Thinkpad T23 60 second stall on resuming 8.0-RELEASE/i386 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, 13 Dec 2009 11:36:12 -0000 Hi, Precis: suspend by Fn-F4 or acpiconf -s3 works as usual. When resuming by hitting Fn or raising the lid, however, the screen comes back on but then system freezes for pretty well exactly 60 seconds before responding to anything, after which it seems to be fine, although top shows running processes' TIME havig being reset to 00:00 (sometimes, not always) Also, quite often (but only when verbose messages are off, it seems), I see "calcru: time went backwards .." for devd (if powerd is running), and once with X/KDE3 up I got a calcru: msg for every process running, including init! I have logs of that, but think it an effect, not cause. I've spent a while exploring this over the last 10 days, and now have a solid pointer to the problem by comparing suspend/resume messages with what happens on 7.0-R, which exhibits no such problem (nor did 6.1-R) Here's a diff of a suspend/resume cycle between 7.0R and 8.0R, with the problem delay messages marked <<<<<<< .. there are always 3 of these, sometimes with the too long/short in different order, and they appear on VTY0 screen while resuming every 15 seconds, with a further 15s delay before posting the rest of the messages, then coming back to life. The shortest 'slept' messages I get, by resuming straight away after it suspends, is 00:00:04 on 7.0R and 00:01:04 on 8.0R, which makes sense as there's a 3 second sleep in rc.suspend. Here I'd paused a few seconds: --- 7.0_verb_sleep_7sec 2009-12-13 16:57:28.000000000 +1100 +++ 8.0_dmesg_sleep_01:07_delays.13Dec09 2009-12-13 17:13:56.000000000 +1100 @@ -1,34 +1,35 @@ -Trying to mount root from ufs:/dev/ad0s2a -start_init: trying /sbin/init -Linux ELF exec handler installed -splash: image decoder found: green_saver acpi_button0: sleep button pressed acpi_lid0: wake_prep enabled for \\_SB_.LID_ (S3) acpi_button0: wake_prep enabled for \\_SB_.SLPB (S3) pci0:1:0:0: Transition from D0 to D3 pci0:2:8:0: Transition from D0 to D3 +ct_to_ts([2009-12-13 17:09:32]) = 1260724172.000000000 vga0: saving 68 bytes of video state ======== acpi_printcpu() debug dump ======== -gdt[0097:c0bfe5a0] idt[07ff:c0c00240] ldt[0050] tr[0048] efl[00080006] -eax[0101e000] ebx[c215d300] ecx[00000000] edx[00000000] -esi[00000000] edi[00080246] ebp[cc6a8bfc] esp[cc6a8bdc] -cr0[8005003b] cr2[28207000] cr3[0101e000] cr4[00000691] -cs[0020] ds[0028] es[0028] fs[0008] gs[003b] ss[0028] +gdt[0097:c0dfb6a0] idt[07ff:c0e03d00] ldt[0050] tr[0048] efl[00080006] +eax[0101e000] ebx[00000000] ecx[c101e000] edx[0101e000] +esi[c2571900] edi[00080202] ebp[cd27cb54] esp[cd27cb34] +cr0[8005003b] cr2[2815f930] cr3[0101e000] cr4[00000691] +cs[0020] ds[0028] es[0028] fs[0008] gs[001b] ss[0028] ======== acpi_printcpu() debug dump ======== -gdt[0097:c0bfe5a0] idt[07ff:c0c00240] ldt[0050] tr[0048] efl[00000002] -eax[c2119c01] ebx[00000001] ecx[00000001] edx[c2119c60] -esi[00000000] edi[00080246] ebp[cc6a8bfc] esp[cc6a8bdc] -cr0[8005003b] cr2[28207000] cr3[0101e000] cr4[00000691] -cs[0020] ds[0028] es[0028] fs[0008] gs[003b] ss[0028] +gdt[0097:c0dfb6a0] idt[07ff:c0e03d00] ldt[0050] tr[0048] efl[00000002] +eax[c28e8601] ebx[00000000] ecx[00000004] edx[c28e86c0] +esi[c2571900] edi[00080202] ebp[cd27cb54] esp[cd27cb34] +cr0[8005003b] cr2[2815f930] cr3[0101e000] cr4[00000691] +cs[0020] ds[0028] es[0028] fs[0008] gs[001b] ss[0028] acpi_lid0: run_prep cleaned up for \\_SB_.LID_ acpi_button0: run_prep cleaned up for \\_SB_.SLPB pci0:1:0:0: Transition from D3 to D0 -wakeup from sleeping state (slept 00:00:07) +t_delta 15.f9ad99f01204edd8 too short <<<<<<< +t_delta 16.07bb5b66ef900000 too long <<<<<<< +t_delta 15.f9ad90918acc0000 too short <<<<<<< +ct_to_ts([2009-12-13 17:10:39]) = 1260724239.000000000 +wakeup from sleeping state (slept 00:01:07) ata0: reiniting channel .. ata0: reset tp1 mask=03 ostat0=50 ostat1=00 ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: stat1=0x00 err=0x01 lsb=0x00 msb=0x00 -ata0: reset tp2 stat0=50 stat1=00 devices=0x1 +ata0: reset tp2 stat0=50 stat1=00 devices=0x1 ad0: setting PIO4 on ICH3 chip ad0: setting UDMA100 on ICH3 chip ata0: reinit done .. @@ -36,7 +37,7 @@ ata1: reset tp1 mask=03 ostat0=00 ostat1=00 ata1: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb ata1: stat1=0x00 err=0x00 lsb=0x00 msb=0x00 -ata1: reset tp2 stat0=00 stat1=00 devices=0x4 +ata1: reset tp2 stat0=00 stat1=00 devices=0x10000 acd0: setting PIO4 on ICH3 chip acd0: setting UDMA33 on ICH3 chip ata1: reinit done .. I've tested this many times without powerd (or indeed any other daemons) running and that makes no difference, nor does not loading acpi_ibm. Looking back I see these "t_delta .. time too short|long" messages were being logged from the first suspend after the install. I see they're emitted by /sys/kern/kern_tc.c but I've no idea what's calling what during resume. Happy to test any patches etc of course. BIOS and EC are the latest, flashed a month or so ago, which did solve a whole bunch of ACPI boot messages appearing on 7.0-R. Further information, though I think the above shows the issue best .. http://smithi.id.au/7.0_dmesg_verbose.11Dec09 http://smithi.id.au/8.0_dmesg_verbose.13Dec09 http://smithi.id.au/7.0_verb_sleep_7sec http://smithi.id.au/8.0_dmesg_sleep_01:07_delays.13Dec09 cheers, Ian From owner-freebsd-mobile@FreeBSD.ORG Mon Dec 14 05:42:21 2009 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 58F67106566B for ; Mon, 14 Dec 2009 05:42:21 +0000 (UTC) (envelope-from invite@noreply.bebo.com) Received: from vmta04.bebo.com (vmta04.bebo.com [208.75.184.157]) by mx1.freebsd.org (Postfix) with ESMTP id 4CC628FC18 for ; Mon, 14 Dec 2009 05:42:20 +0000 (UTC) Received: by vmta04.bebo.com id h4n83m0c8b0g for ; Mon, 14 Dec 2009 05:11:53 +0000 (envelope-from ) Date: Mon, 14 Dec 2009 05:11:53 +0000 From: Gaby B Sender: service@noreply.bebo.com To: "freebsd-mobile@freebsd.org" x-job: S015 x-virtual-mta: vmta04 Message-Id: <20091214054221.58F67106566B@hub.freebsd.org> Subject: Invitation from Gaby B 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, 14 Dec 2009 05:42:21 -0000 See my latest photos, updates and friends on Bebo. Click to view my profile. http://www.bebo.com/T/2.l9R2upAmSNanABAX_kmICg/inv/10217469056a567059498b9512435886c0d0e141 ....................................................................... This email was sent to you at the direct request of Gaby B . You have not been added to a mailing list. If you would prefer not to receive invitations from ANY Bebo members please click here - http://www.bebo.com/T/2.l9R2upAmSNanABAX_kmICg/unsub/10217469056a567059498 Bebo, Inc., 795 Folsom St, #250, San Francisco, CA 94107, USA. From owner-freebsd-mobile@FreeBSD.ORG Mon Dec 14 05:52:50 2009 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 5FD981065672 for ; Mon, 14 Dec 2009 05:52:50 +0000 (UTC) (envelope-from lsantagostini@gmail.com) Received: from mail-iw0-f198.google.com (mail-iw0-f198.google.com [209.85.223.198]) by mx1.freebsd.org (Postfix) with ESMTP id 2A1278FC15 for ; Mon, 14 Dec 2009 05:52:49 +0000 (UTC) Received: by iwn36 with SMTP id 36so1852277iwn.3 for ; Sun, 13 Dec 2009 21:52:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=DKXBMbxyWgCeuT9ibpMcFcGR9HKVw3JdtnCS+IGRABA=; b=tB5L40pMgs6cRLT0+8cqA1uGc7UBApf+jBzIOmo0Xfaq+turEVlfmxSV4UhP7+k33w Qm5L0RSgJ9CcuLNpCvTA0nFrEDiqci6kvI2d+5IA1WMIB0p0FhOoHgyS7AgC2wjcKCvW qvnwkntfXjYJ4J3DDYHlF06ydDxHRThBNN3Aw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=H4bdK4dHQ3GkI/mEQfEl/oNLhztP7T7j8ud6f+wATDho4UqFczoNPPYB6LDZLDWMWF X/N6foIwTOFHXMo+JjlplbhrN4rOcS0Xb52v3c6qT8Lb+hROMUcwftYvm9Ydy3TqERjf 1Hc+Oe0Z/FtcmBf3eF4o6E9cYF56fQIVddGYo= MIME-Version: 1.0 Received: by 10.231.9.216 with SMTP id m24mr2407676ibm.39.1260768379046; Sun, 13 Dec 2009 21:26:19 -0800 (PST) Date: Mon, 14 Dec 2009 05:26:19 +0000 Message-ID: <9ab7eeeb0912132126s262b431fi8dda458c9cf245f8@mail.gmail.com> From: Leonardo Santagostini To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Problems with Intel 965 and compiz 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, 14 Dec 2009 05:52:50 -0000 Hello people, After googling a lot about my problem, i have no more remedy than posting a question here. The point is. I have X working perfect, but when i want to start compiz, title bars, go out. I have tried changing in Xorg.conf a lot of parameters regarding acceleration methods, i have probed changing various parameters with driconf, seting LIBGL_ALWAYS_INDIRECT to true, trying to change sync to vblanc. But without good results. Anybody has THE point regarding this issue ? Thanks a lot. Kind Regards, Leonardo Santagostini From owner-freebsd-mobile@FreeBSD.ORG Mon Dec 14 16:41:01 2009 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 8B76D1065725 for ; Mon, 14 Dec 2009 16:41:01 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 5AC548FC13 for ; Mon, 14 Dec 2009 16:41:01 +0000 (UTC) Received: from [192.168.1.4] (adsl-156-16-112.bna.bellsouth.net [70.156.16.112]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id nBEG4QUU081817 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 14 Dec 2009 11:04:27 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Leonardo Santagostini In-Reply-To: <9ab7eeeb0912132126s262b431fi8dda458c9cf245f8@mail.gmail.com> References: <9ab7eeeb0912132126s262b431fi8dda458c9cf245f8@mail.gmail.com> Content-Type: multipart/mixed; boundary="=-5LA0Ki74Sj2FlFfoGzBx" Organization: FreeBSD Date: Mon, 14 Dec 2009 10:04:21 -0600 Message-Id: <1260806661.2281.93.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RDNS_DYNAMIC, SPF_SOFTFAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-mobile@freebsd.org Subject: Re: Problems with Intel 965 and compiz 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, 14 Dec 2009 16:41:01 -0000 --=-5LA0Ki74Sj2FlFfoGzBx Content-Type: text/plain Content-Transfer-Encoding: 7bit On Mon, 2009-12-14 at 05:26 +0000, Leonardo Santagostini wrote: > Hello people, > > After googling a lot about my problem, i have no more remedy than posting a > question here. > > The point is. I have X working perfect, but when i want to start compiz, > title bars, go out. > > I have tried changing in Xorg.conf a lot of parameters regarding > acceleration methods, i have probed changing various parameters with > driconf, seting LIBGL_ALWAYS_INDIRECT to true, trying to change sync to > vblanc. But without good results. > > Anybody has THE point regarding this issue ? 1) Make sure that everything is up to date. ports/kernel. You don't say what kernel you are using, but any -STABLE should be fine. I don't remember if all of the Intel fixes are in 7.2-RELEASE or not. 2) I'll attach an xorg.conf that I use on my Intel boxes that you can use for reference. The key bits are AIGLX and Composite. 3) Get X up and running and then in an xterm run "compiz-manager". It should handle probing and setting up all of the correct flags or at least giving you an error that people can work with. robert. > Thanks a lot. > > Kind Regards, > Leonardo Santagostini > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" -- Robert Noland FreeBSD --=-5LA0Ki74Sj2FlFfoGzBx Content-Disposition: attachment; filename="xorg.conf.i915-gm965" Content-Type: text/plain; name="xorg.conf.i915-gm965"; charset="us-ascii" Content-Transfer-Encoding: 7bit Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Mouse1" "SendCoreEvents" InputDevice "Keyboard0" "CoreKeyboard" Option "AIGLX" #Option "AllowEmptyInput" "Off" EndSection Section "Extensions" Option "Composite" "Enable" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "synaptics" Option "Protocol" "alps" Option "Device" "/dev/psm0" Option "SHMConfig" "On" Option "LeftEdge" "120" Option "RightEdge" "830" Option "TopEdge" "120" Option "BottomEdge" "650" Option "FingerLow" "14" Option "FingerHigh" "15" Option "MaxTapTime" "180" Option "MaxTapMove" "110" Option "EmulateMidButtonTime" "75" Option "VertScrollDelta" "20" Option "HorizScrollDelta" "20" Option "CornerCoasting" "1" Option "CoastingSpeed" "3" Option "MinSpeed" "0.3" Option "MaxSpeed" "0.75" Option "AccelFactor" "0.015" Option "EdgeMotionMinSpeed" "200" Option "EdgeMotionMaxSpeed" "200" Option "UpDownScrolling" "1" Option "CircularScrolling" "1" Option "CircScrollDelta" "0.1" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" #DisplaySize 340 270 # mm Identifier "Monitor0" VendorName "DEL" ModelName "DELL 1708FP" ### Comment all HorizSync and VertRefresh values to use DDC: #HorizSync 30.0 - 81.0 #VertRefresh 56.0 - 76.0 Option "DPMS" Option "PreferredMode" "1440x900" # Option "RightOf" "TMDS-1" EndSection Section "Monitor" #DisplaySize 340 270 # mm Identifier "Monitor1" VendorName "DEL" ModelName "DELL 1708FP" ### Comment all HorizSync and VertRefresh values to use DDC: #HorizSync 30.0 - 81.0 #VertRefresh 56.0 - 76.0 Option "DPMS" Option "PreferredMode" "1280x1024" # Option "Position" "0 0" EndSection Section "Monitor" #DisplaySize 340 270 # mm Identifier "Monitor2" VendorName "DEL" ModelName "DELL 1708FP" ### Comment all HorizSync and VertRefresh values to use DDC: #HorizSync 30.0 - 81.0 #VertRefresh 56.0 - 76.0 Option "DPMS" Option "PreferredMode" "1280x1024" # Option "RightOf" "TMDS-1" EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional #Option "NoAccel" # [] #Option "SWcursor" # [] #Option "ColorKey" # #Option "CacheLines" # #Option "Dac6Bit" # [] #Option "DRI" # [] #Option "NoDDC" # [] #Option "ShowCache" # [] #Option "XvMCSurfaces" # #Option "PageFlip" # [] Identifier "Card0" Driver "intel" VendorName "Intel Corporation" BoardName "Mobile GM965/GL960 Integrated Graphics Controller" BusID "PCI:0:2:0" Option "XvMC" "True" #Option "AccelMethod" "UXA" #Option "AccelMethod" "XAA" #Option "XAANoOffscreenPixmaps" EndSection Section "Screen" Identifier "Screen0" Device "Card0" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 Virtual 1680 1050 EndSubSection EndSection Section "DRI" Group 0 Mode 0666 EndSection --=-5LA0Ki74Sj2FlFfoGzBx-- From owner-freebsd-mobile@FreeBSD.ORG Tue Dec 15 08:45:26 2009 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 A80901065670 for ; Tue, 15 Dec 2009 08:45:26 +0000 (UTC) (envelope-from lists@braisel.com) Received: from mx.cx2.org (four.0x53.net [88.198.154.44]) by mx1.freebsd.org (Postfix) with ESMTP id 6E4988FC0C for ; Tue, 15 Dec 2009 08:45:26 +0000 (UTC) Received: from webmail.cx2.org (one.0x53.net [88.198.154.41]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.cx2.org (Postfix) with ESMTPSA id 510581481DF7 for ; Tue, 15 Dec 2009 08:31:31 +0000 (UTC) MIME-Version: 1.0 Date: Tue, 15 Dec 2009 08:31:31 +0000 From: =?UTF-8?Q?Andr=C3=A9?= To: Message-ID: <7506a217c18d58bc3271baee40ed14d0@mx.cx2.org> X-Sender: lists@braisel.com User-Agent: Mutt/1.5.9i Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: 8.0 hangs at boot time Thinkpad x32 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, 15 Dec 2009 08:45:26 -0000 Hi there, try to install 8.0-R on TP X32 with a 250GB WD HDD (WDC WD2500BEVE-00WZT0 250G) from an external USB cdrom. After probing ad0 it recognizes ad0 but then it freezes with HDD LED burning. OK, ACPI disabled, short time after entering the Standard procedure it freezes. Same problem with 7.2-R Under OpenBSD it works without any probs. Any Suggestions? TIA André From owner-freebsd-mobile@FreeBSD.ORG Wed Dec 16 03:00:44 2009 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 4A82D1065694 for ; Wed, 16 Dec 2009 03:00:44 +0000 (UTC) (envelope-from nate@root.org) Received: from nlpi131.prodigy.net (nlpi131.sbcis.sbc.com [207.115.36.145]) by mx1.freebsd.org (Postfix) with ESMTP id 1D6418FC0A for ; Wed, 16 Dec 2009 03:00:43 +0000 (UTC) X-ORBL: [71.139.5.80] Received: from [10.0.5.41] (ppp-71-139-5-80.dsl.snfc21.pacbell.net [71.139.5.80]) (authenticated bits=0) by nlpi131.prodigy.net (8.13.8 smtpauth/dk/map_regex/8.13.8) with ESMTP id nBG2kn2Q021320; Tue, 15 Dec 2009 20:46:50 -0600 Message-ID: <4B284A1A.4090909@root.org> Date: Tue, 15 Dec 2009 18:46:50 -0800 From: Nate Lawson User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Ian Smith References: <20091213204201.A12012@sola.nimnet.asn.au> In-Reply-To: <20091213204201.A12012@sola.nimnet.asn.au> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: Thinkpad T23 60 second stall on resuming 8.0-RELEASE/i386 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, 16 Dec 2009 03:00:44 -0000 Ian Smith wrote: > Hi, > > Precis: suspend by Fn-F4 or acpiconf -s3 works as usual. When resuming > by hitting Fn or raising the lid, however, the screen comes back on but > then system freezes for pretty well exactly 60 seconds before responding > to anything, after which it seems to be fine, although top shows running > processes' TIME havig being reset to 00:00 (sometimes, not always) > -wakeup from sleeping state (slept 00:00:07) > +t_delta 15.f9ad99f01204edd8 too short <<<<<<< > +t_delta 16.07bb5b66ef900000 too long <<<<<<< > +t_delta 15.f9ad90918acc0000 too short <<<<<<< > +ct_to_ts([2009-12-13 17:10:39]) = 1260724239.000000000 > +wakeup from sleeping state (slept 00:01:07) > ata0: reiniting channel .. > ata0: reset tp1 mask=03 ostat0=50 ostat1=00 > ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 > ata0: stat1=0x00 err=0x01 lsb=0x00 msb=0x00 > -ata0: reset tp2 stat0=50 stat1=00 devices=0x1 > +ata0: reset tp2 stat0=50 stat1=00 devices=0x1 > ad0: setting PIO4 on ICH3 chip > ad0: setting UDMA100 on ICH3 chip > ata0: reinit done .. > @@ -36,7 +37,7 @@ > ata1: reset tp1 mask=03 ostat0=00 ostat1=00 > ata1: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb > ata1: stat1=0x00 err=0x00 lsb=0x00 msb=0x00 > -ata1: reset tp2 stat0=00 stat1=00 devices=0x4 > +ata1: reset tp2 stat0=00 stat1=00 devices=0x10000 I think it's ATA timing out for some reason. -- Nate From owner-freebsd-mobile@FreeBSD.ORG Fri Dec 18 03:18:23 2009 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 D15E3106566B for ; Fri, 18 Dec 2009 03:18:23 +0000 (UTC) (envelope-from list@understudy.net) Received: from smtp4.34sp.com (smtp4.34sp.com [80.82.115.203]) by mx1.freebsd.org (Postfix) with ESMTP id 890BC8FC08 for ; Fri, 18 Dec 2009 03:18:23 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp4.34sp.com (Postfix) with ESMTP id E6CA11A7000E for ; Fri, 18 Dec 2009 03:00:29 +0000 (GMT) X-Virus-Scanned: amavisd-new at smtp.34sp.com Received: from smtp4.34sp.com ([127.0.0.1]) by localhost (smtp4.34sp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id vJncVHpVlr7b for ; Fri, 18 Dec 2009 03:00:29 +0000 (GMT) Received: from smtp6.34sp.com (smtp6.34sp.com [80.82.115.205]) by smtp4.34sp.com (Postfix) with ESMTP id D102D187090D for ; Fri, 18 Dec 2009 03:00:29 +0000 (GMT) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp6.34sp.com (Postfix) with ESMTP id 0072ADD1BAC for ; Fri, 18 Dec 2009 03:00:28 +0000 (GMT) X-Virus-Scanned: amavisd-new at smtp.34sp.com Received: from smtp6.34sp.com ([127.0.0.1]) by localhost (smtp6.34sp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id zDLENxJFDvl3 for ; Fri, 18 Dec 2009 03:00:27 +0000 (GMT) Received: from Gargoyle.brendhanhorne.com (adsl-065-012-216-193.sip.bct.bellsouth.net [65.12.216.193]) (Authenticated sender: Understudy) by smtp6.34sp.com (Postfix) with ESMTP id 8C843DD0023 for ; Fri, 18 Dec 2009 03:00:27 +0000 (GMT) Message-ID: <4B2AF04A.7010407@understudy.net> Date: Thu, 17 Dec 2009 22:00:26 -0500 From: Understudy User-Agent: Thunderbird 2.0.0.23 (X11/20091130) MIME-Version: 1.0 To: freebsd-mobile@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Thinkpad T42p sound stopped working. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2009 03:18:23 -0000 Hi, I recently had my sound stop working. It was fine and today it decided to just stop. I threw in my old hard drive and sound worked fine on that. So lets go over what I have here. Thinkpad T42p FreeBSD Gargoyle.brendhanhorne.com 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Tue Aug 11 08:51:16 EDT 2009 root@Gargoyle.brendhanhorne.com:/usr/obj/usr/src/sys/STONE i386 Gargoyle# cat /dev/sndstat FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) Installed devices: pcm0: at io 0xc0000c00, 0xc0000800 irq 11 bufsz 16384 [MPSAFE] (1p:1v/1r:1v channels duplex default) Gargoyle# ll /dev/dsp* crw-rw-rw- 1 root wheel 0, 107 Dec 17 21:12 /dev/dsp0.0 In my kernel # Sound support device sound device snd_ich dmesg pcm0: port 0x1c00-0x1cff,0x18c0-0x18ff mem 0xc0000c00-0xc0000dff,0xc0000800-0xc00008ff irq 11 at device 31.5 on pci0 Gargoyle# cat .history > /dev/dsp produces no static sound at all. So what I can I do now? Sincerely, Brendhan From owner-freebsd-mobile@FreeBSD.ORG Fri Dec 18 07:04:15 2009 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 EC820106566C for ; Fri, 18 Dec 2009 07:04:15 +0000 (UTC) (envelope-from list@understudy.net) Received: from smtp4.34sp.com (smtp4.34sp.com [80.82.115.203]) by mx1.freebsd.org (Postfix) with ESMTP id ADF958FC08 for ; Fri, 18 Dec 2009 07:04:15 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp4.34sp.com (Postfix) with ESMTP id B94FEEA28E6 for ; Fri, 18 Dec 2009 07:04:14 +0000 (GMT) X-Virus-Scanned: amavisd-new at smtp.34sp.com Received: from smtp4.34sp.com ([127.0.0.1]) by localhost (smtp4.34sp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ZJW2CNu0ZI9O for ; Fri, 18 Dec 2009 07:04:14 +0000 (GMT) Received: from Gargoyle.brendhanhorne.com (adsl-065-012-216-193.sip.bct.bellsouth.net [65.12.216.193]) (Authenticated sender: Understudy) by smtp4.34sp.com (Postfix) with ESMTP id 5EFE4EA28BE for ; Fri, 18 Dec 2009 07:04:14 +0000 (GMT) Message-ID: <4B2B296C.8000404@understudy.net> Date: Fri, 18 Dec 2009 02:04:12 -0500 From: Understudy User-Agent: Thunderbird 2.0.0.23 (X11/20091130) MIME-Version: 1.0 To: freebsd-mobile@FreeBSD.org References: <4B2AF04A.7010407@understudy.net> In-Reply-To: <4B2AF04A.7010407@understudy.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Thinkpad T42p sound stopped working.[Solved] 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, 18 Dec 2009 07:04:16 -0000 Understudy wrote: > Hi, > > I recently had my sound stop working. It was fine and today it decided > to just stop. I threw in my old hard drive and sound worked fine on that. > > So lets go over what I have here. > Thinkpad T42p > FreeBSD Gargoyle.brendhanhorne.com 7.2-RELEASE FreeBSD 7.2-RELEASE #0: > Tue Aug 11 08:51:16 EDT 2009 > root@Gargoyle.brendhanhorne.com:/usr/obj/usr/src/sys/STONE i386 > > Gargoyle# cat /dev/sndstat > FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) > Installed devices: > pcm0: at io 0xc0000c00, 0xc0000800 irq 11 bufsz > 16384 [MPSAFE] (1p:1v/1r:1v channels duplex default) > > Gargoyle# ll /dev/dsp* > crw-rw-rw- 1 root wheel 0, 107 Dec 17 21:12 /dev/dsp0.0 > > In my kernel > # Sound support > device sound > device snd_ich > > dmesg > pcm0: port 0x1c00-0x1cff,0x18c0-0x18ff mem > 0xc0000c00-0xc0000dff,0xc0000800-0xc00008ff irq 11 at device 31.5 on pci0 > > Gargoyle# cat .history > /dev/dsp > produces no static sound at all. > > > So what I can I do now? > > Sincerely, > Brendhan > > > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" > Well I found the problem. In mixer the pcm was set at 0. I changed it to 99, I did not make any changes that would have put it at 0 so I don't know how it happened. However the problem is gone and sound is working. Sincerely, Brendhan From owner-freebsd-mobile@FreeBSD.ORG Fri Dec 18 15:33:53 2009 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 8685F106566B; Fri, 18 Dec 2009 15:33:53 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id D4BDE8FC12; Fri, 18 Dec 2009 15:33:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id nBIFXoX9097796; Sat, 19 Dec 2009 02:33:50 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 19 Dec 2009 02:33:49 +1100 (EST) From: Ian Smith To: Nate Lawson In-Reply-To: <4B284A1A.4090909@root.org> Message-ID: <20091219014856.H12012@sola.nimnet.asn.au> References: <20091213204201.A12012@sola.nimnet.asn.au> <4B284A1A.4090909@root.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-acpi@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: Thinkpad T23 60 second stall on resuming 8.0-RELEASE/i386 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, 18 Dec 2009 15:33:53 -0000 On Tue, 15 Dec 2009, Nate Lawson wrote: > Ian Smith wrote: > > Hi, > > > > Precis: suspend by Fn-F4 or acpiconf -s3 works as usual. When resuming > > by hitting Fn or raising the lid, however, the screen comes back on but > > then system freezes for pretty well exactly 60 seconds before responding > > to anything, after which it seems to be fine, although top shows running > > processes' TIME havig being reset to 00:00 (sometimes, not always) > > > -wakeup from sleeping state (slept 00:00:07) > > +t_delta 15.f9ad99f01204edd8 too short <<<<<<< > > +t_delta 16.07bb5b66ef900000 too long <<<<<<< > > +t_delta 15.f9ad90918acc0000 too short <<<<<<< > > +ct_to_ts([2009-12-13 17:10:39]) = 1260724239.000000000 > > +wakeup from sleeping state (slept 00:01:07) > > ata0: reiniting channel .. > > ata0: reset tp1 mask=03 ostat0=50 ostat1=00 > > ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 > > ata0: stat1=0x00 err=0x01 lsb=0x00 msb=0x00 > > -ata0: reset tp2 stat0=50 stat1=00 devices=0x1 > > +ata0: reset tp2 stat0=50 stat1=00 devices=0x1 > > ad0: setting PIO4 on ICH3 chip > > ad0: setting UDMA100 on ICH3 chip > > ata0: reinit done .. > > @@ -36,7 +37,7 @@ > > ata1: reset tp1 mask=03 ostat0=00 ostat1=00 > > ata1: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb > > ata1: stat1=0x00 err=0x00 lsb=0x00 msb=0x00 > > -ata1: reset tp2 stat0=00 stat1=00 devices=0x4 > > +ata1: reset tp2 stat0=00 stat1=00 devices=0x10000 > > I think it's ATA timing out for some reason. Thanks Nate. I nearly clipped that part of the diff, figuring only the <*_MASTER> messages had changed, but I now see ata1 devices differ too. Have similar regressions re ATA been turning up elsewere, do you know? I've been digging, still on the trail of those t_delta messages, but now figure these might be spurious, some timecounter missing/gaining a tick or something, if ATA is maybe what's hanging meanwhile? There's no HD light activity at all from resume button/switch through that 60 second wait, when 15? seconds after the third t_delta line is written to console, the HD light flashes while apparently simultaneously writing the rest of the resume messages, and it comes alive. Guess I should next upgrade the 7.0-R slice to 7.2-STABLE to find out if this problem has been mfc'd :) cheers, Ian