From owner-freebsd-current@FreeBSD.ORG Wed Jul 8 03:39:48 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B51331065672 for ; Wed, 8 Jul 2009 03:39:48 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-bw0-f221.google.com (mail-bw0-f221.google.com [209.85.218.221]) by mx1.freebsd.org (Postfix) with ESMTP id 2E3F78FC35 for ; Wed, 8 Jul 2009 03:39:47 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by bwz21 with SMTP id 21so1421830bwz.43 for ; Tue, 07 Jul 2009 20:39:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=RUFo4+9oO7M5R+VzBgsx7Jzh4vacZ7yWxRbhYW6B/Wc=; b=kArktet/XRTm7Uguje4XikcaIZ0W8/Xt/gDd9hWtZ/YvvAPmkrl7eBVSuGp3swhHSS 52o8bflq72HR+OjUx8cL4GDzT2FJa3iDP9eAmjxR1f7OWIKOqNzTrZx2lm/yrO9Q3OuW 6Rhw1SDWUOUUPav2sarmTCNUKxmpuPwBNAiv4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=NkxncTNgKxTzQ8C4stCZNYVTzgwVfpEYF2LRhJuQ4Qy9xnV6G5sj5NIVIYWljR52qk EgY2/R/r9JMHERjFpTM0oWDF2XsSeYNV7q12CErTaqydnoOJH9BF84Qi5A7Mm8a8/fIj 0qGXd4qYdnzMzmeuYjoV7/cPf6ZpYKKTABdBY= MIME-Version: 1.0 Received: by 10.204.68.10 with SMTP id t10mr6511927bki.182.1247024386802; Tue, 07 Jul 2009 20:39:46 -0700 (PDT) In-Reply-To: <200907072150.36428.gnemmi@gmail.com> References: <19e9a5dc0907062310s6de64529uc1fb544d0b357829@mail.gmail.com> <3a142e750907070123r1e18a610h701e834bcd13f840@mail.gmail.com> <200907072150.36428.gnemmi@gmail.com> Date: Wed, 8 Jul 2009 05:39:46 +0200 Message-ID: <3a142e750907072039w3c5d6557ia374920a3787cf1c@mail.gmail.com> From: "Paul B. Mahol" To: Gonzalo Nemmi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: Can't get resume to work on -BETA1/-CURRENT-200906, help needed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jul 2009 03:39:49 -0000 On 7/8/09, Gonzalo Nemmi wrote: > On Tuesday 07 July 2009 5:23:57 am Paul B. Mahol wrote: >> On 7/7/09, Gonzalo Nemmi wrote: >> > log in >> > acpiconf -s 3 >> > suspend works >> > opened the lid and the screen doesn't come back (backlight never >> > gets back) hard reset >> > login again and checked /var/log/messages .. this is what I found: >> > >> > Jul 7 00:32:01 gargoyle login: ROOT LOGIN (root) ON ttyv0 >> > Jul 7 00:32:09 gargoyle acpi: suspend at 20090707 00:32:09 >> > Jul 7 00:32:15 gargoyle kernel: fwohci0: fwohci_pci_suspend >> > Jul 7 00:33:18 gargoyle kernel: ugen3.2: at usbus3 >> > (disconnected) >> > Jul 7 00:33:18 gargoyle kernel: ums0: at uhub6, port 1, addr 2 >> > (disconnected) >> > Jul 7 00:33:18 gargoyle kernel: bge0: PHY write timed out (phy 1, >> > reg 0, val 32768) >> > Jul 7 00:33:18 gargoyle kernel: bge0: PHY read timed out (phy 1, >> > reg 0, val 0xffffffff) >> > Jul 7 00:33:18 gargoyle kernel: bge0: PHY read timed out (phy 1, >> > reg 24, val 0xffffffff) >> > Jul 7 00:33:18 gargoyle kernel: bge0: PHY read timed out (phy 1, >> > reg 16, val 0xffffffff) >> > Jul 7 00:33:18 gargoyle kernel: bge0: PHY write timed out (phy 1, >> > reg 16, val 0) >> > Jul 7 00:33:18 gargoyle kernel: bge0: PHY read timed out (phy 1, >> > reg 16, val 0xffffffff) >> > Jul 7 00:33:18 gargoyle kernel: bge0: PHY write timed out (phy 1, >> > reg 16, val 0) >> > Jul 7 00:33:18 gargoyle kernel: bge0: PHY write timed out (phy 1, >> > reg 23, val 18) >> > Jul 7 00:33:18 gargoyle kernel: bge0: flow-through queue init >> > failed Jul 7 00:33:18 gargoyle kernel: bge0: initialization >> > failure Jul 7 00:33:18 gargoyle kernel: fwohci0: Phy 1394a >> > available S400, 1 ports. Jul 7 00:33:18 gargoyle kernel: fwohci0: >> > Link S400, max_rec 2048 bytes. Jul 7 00:33:18 gargoyle kernel: >> > fwohci0: Initiate bus reset Jul 7 00:33:18 gargoyle kernel: >> > fwohci0: fwohci_intr_core: BUS reset Jul 7 00:33:18 gargoyle >> > kernel: fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID >> > Count=1, CYCLEMASTER mode >> > Jul 7 00:33:18 gargoyle kernel: firewire0: 1 nodes, maxhop <= 0 >> > cable IRM irm(0) (me) >> > Jul 7 00:33:18 gargoyle kernel: firewire0: bus manager 0 >> > Jul 7 00:33:18 gargoyle kernel: fwohci0: unrecoverable error >> > Jul 7 00:33:18 gargoyle kernel: wakeup from sleeping state (slept >> > 00:01:03) Jul 7 00:33:18 gargoyle kernel: ugen3.2: >> > at usbus3 Jul 7 00:33:18 gargoyle kernel: ums0: > > Optical Mouse, class 0/0, rev 2.00/0.10, addr 2> on usbus3 >> > Jul 7 00:33:18 gargoyle kernel: ums0: 3 buttons and [XYZ] >> > coordinates ID=1 Jul 7 00:33:18 gargoyle acpi: resumed at 20090707 >> > 00:33:18 Jul 7 00:33:40 gargoyle syslogd: exiting on signal 15 >> > >> > any hints on how to further debug or redirect this mail to the >> > right list will be greatly appreciated. >> > >> > more info can be found in here: >> > http://forums.freebsd.org/showthread.php?t=3886 >> > >> > Best Regards >> > Gonzalo Nemmi >> >> i386 resume doesn't work with SMP kernel and SMP CPU. >> On amd64 make sure that you have right file loaded in kernel: >> for example i915.ko for intel cards. > > I shoul've mentioned I'm on a: > CPU: Intel(R) Celeron(R) CPU 560 @ 2.13GHz (2128.02-MHz > 686-class CPU) > > and that I've added: hint.smp.disabled=1 to my /boot/device.hints > > This is what I get: > > Jul 7 21:35:03 gargoyle login: ROOT LOGIN (root) ON ttyv0 > Jul 7 21:40:19 gargoyle acpi: suspend at 20090707 21:40:19 > Jul 7 21:40:25 gargoyle kernel: fwohci0: fwohci_pci_suspend > Jul 7 21:41:44 gargoyle kernel: bge0: PHY write timed out (phy 1, reg > 0, val 32768) > Jul 7 21:41:44 gargoyle kernel: bge0: PHY read timed out (phy 1, reg 0, > val 0xffffffff) > Jul 7 21:41:44 gargoyle kernel: bge0: PHY read timed out (phy 1, reg > 24, val 0xffffffff) > Jul 7 21:41:44 gargoyle kernel: bge0: PHY read timed out (phy 1, reg > 16, val 0xffffffff) > Jul 7 21:41:44 gargoyle kernel: bge0: PHY write timed out (phy 1, reg > 16, val 0) > Jul 7 21:41:44 gargoyle kernel: bge0: PHY read timed out (phy 1, reg > 16, val 0xffffffff) > Jul 7 21:41:44 gargoyle kernel: bge0: PHY write timed out (phy 1, reg > 16, val 0) > Jul 7 21:41:44 gargoyle kernel: bge0: PHY write timed out (phy 1, reg > 23, val 18) > Jul 7 21:41:44 gargoyle kernel: bge0: flow-through queue init failed > Jul 7 21:41:44 gargoyle kernel: bge0: initialization failure > Jul 7 21:41:44 gargoyle kernel: fwohci0: Phy 1394a available S400, 1 > ports. > Jul 7 21:41:44 gargoyle kernel: fwohci0: Link S400, max_rec 2048 bytes. > Jul 7 21:41:44 gargoyle kernel: fwohci0: Initiate bus reset > Jul 7 21:41:44 gargoyle kernel: fwohci0: fwohci_intr_core: BUS reset > Jul 7 21:41:44 gargoyle kernel: fwohci0: fwohci_intr_core: > node_id=0x00000000, SelfID Count=1, CYCLEMASTER mode > Jul 7 21:41:44 gargoyle kernel: firewire0: 1 nodes, maxhop <= 0 cable > IRM irm(0) (me) > Jul 7 21:41:44 gargoyle kernel: firewire0: bus manager 0 > Jul 7 21:41:44 gargoyle kernel: fwohci0: unrecoverable error > Jul 7 21:41:44 gargoyle kernel: wakeup from sleeping state (slept > 00:01:19) > Jul 7 21:41:44 gargoyle acpi: resumed at 20090707 21:41:44 > Jul 7 21:42:45 gargoyle syslogd: exiting on signal 15 > > Should I file a PR? > > Once again, boot -v in here: http://pastebin.com/f604c1399 > > More info on my hardware and other messages: > http://forums.freebsd.org/showthread.php?t=3886 > > Best Regards > Gonzalo > -- > Blessings > Gonzalo Nemmi > Sorry, but I dont see what graphic card you are using. Anyway, on i386 you must load vesa.ko if ypu want that resume also resumes video -- Paul