From owner-freebsd-mobile@FreeBSD.ORG Sun Aug 26 17:18:53 2012 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 091A6106564A; Sun, 26 Aug 2012 17:18:53 +0000 (UTC) (envelope-from bthigonnet@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 572B68FC12; Sun, 26 Aug 2012 17:18:51 +0000 (UTC) Received: by eaak11 with SMTP id k11so1039324eaa.13 for ; Sun, 26 Aug 2012 10:18:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=OdpazumaTjMbrQ3g8S3HUvFx7C2MwP81VdiIaW0J6o8=; b=rY1VDY8ushdv3WYQ1pQcRb46OCArNCmtcchgpH54el4qatc16n7BZ624n4CIT2zrhh 3JJuYUzb+8qkMDimaydxuqHjJrnMWoNV+xkd7FBFiUhs9rS8WHOe4oEtxAuKiTSplINS w9miBx2/V5O/jYKOt+/LqDuw4zf7fWmp4IhT4wF4yLceLsw7sigiQ97pX9XUsqZSoX/T bMaLkT5V6tgGo1vUY5ESVvvVjqzOX7FzhQ9qpyK2JKw2QtkFqiDNyDEa2RMdTG5/LPew c2smkW2y2XZ2PqFmebc7ifFHgk2KBSA9CucezKuNLPp2ya9yfOy+4n3fAYFl/a0J/2z3 YeZw== Received: by 10.14.224.4 with SMTP id w4mr14616917eep.21.1346001530837; Sun, 26 Aug 2012 10:18:50 -0700 (PDT) Received: from [192.168.4.96] (uze30-1-88-126-129-209.fbx.proxad.net. [88.126.129.209]) by mx.google.com with ESMTPS id c6sm45557057eep.7.2012.08.26.10.18.49 (version=SSLv3 cipher=OTHER); Sun, 26 Aug 2012 10:18:50 -0700 (PDT) Message-ID: <503A5A77.3050200@gmail.com> Date: Sun, 26 Aug 2012 19:18:47 +0200 From: Bernard Higonnet User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 References: <50328A38.4050304@higonnet.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-x11@freebsd.org, xorg@lists.x.org, freebsd-mobile@freebsd.org Subject: Re: Difficulty running X11 on Toshiba Satellite A10-S1692 running FreeBSD 9.0 - some progress 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, 26 Aug 2012 17:18:53 -0000 On 21/08/2012 02:58, Kevin Oberman wrote: > On Mon, Aug 20, 2012 at 12:04 PM, Bernard Higonnet wrote: >> There appeared to be no errors in any of the install, Xorg -configure is >> happy. >> >> But when I run Xorg -config xorg.conf.new (with or without -retro) screen >> goes black, computer freezes and I can only restart it by first powering >> off... >> >> I have searched for configuration files for this machine without success. >> >> The output of pciconf says >> >> vgapci0@pci0:0:2:0: class=0x030000 card=0x00021179 chip=0x35828086 >> rev=0x01 hdr=0x00 >> vgapci1@pci0:0:2:1: class=0x038000 card=0x00021179 chip=0x35828086 >> rev=0x01 hdr=0x00 > > OK. Maybe a bit more information would help. > > What do you get from 'pciconf -lv'? Can you start Xorg without trying > to create a config file? Most systems today will start out of the box > and the configuration generator has been know to lock up. What about > make.conf? Do you have WITH_NEW_XORG in it or any other options tied > to video or Xorg? > Well, I replaced Driver "intel" by Driver "vesa" Now when I run X with xorg.conf.new and -retro I get the herringbone pattern and I can move the mouse around. That's the good news. The bad news is I can not get out of this and still have to power down the machine to regain control of it... Bernard Higonnet From owner-freebsd-mobile@FreeBSD.ORG Fri Aug 31 10:40:38 2012 Return-Path: Delivered-To: mobile@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id A2DD81065673; Fri, 31 Aug 2012 10:40:38 +0000 (UTC) Date: Fri, 31 Aug 2012 10:40:38 +0000 From: Alexey Dokuchaev To: Hans Petter Selasky Message-ID: <20120831104038.GA69581@FreeBSD.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: bz@FreeBSD.org, mobile@freebsd.org Subject: Re: suspend/resume [was: Devsummit pictures] 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, 31 Aug 2012 10:40:38 -0000 On Fri, Aug 31, 2012 at 12:11:42PM +0200, Hans Petter Selasky wrote: > > and then new USB stack had broken it again for me (NEC Versa S950, YMMV). > > Should be fixed in all -stable with regard to USB and suspend and resume. To be fair to Hans Petter, maybe his USB stack itself does not have a bug, but instead uncovers a bug somewhere else. OTOH, my laptop does not care. ./danfe P.S. Hans Petter, your emails come extremely garbled, what could it be? P.P.S. Moved from -developers@ to -mobile@. From owner-freebsd-mobile@FreeBSD.ORG Fri Aug 31 13:58:40 2012 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 53077106564A for ; Fri, 31 Aug 2012 13:58:40 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 114F18FC12 for ; Fri, 31 Aug 2012 13:58:39 +0000 (UTC) Received: by ialo14 with SMTP id o14so6394557ial.13 for ; Fri, 31 Aug 2012 06:58:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=Nw0TIlbVSLd8XrQrZ8Rfds/39HQBXt+BfIGvr12BsWs=; b=LbV2WX/hp2vLlxlUo4pn/4xch5cZPuRCReJNxjTlvWWBJwVrNxw+QmWc+IpHgFOU8e Is9DHU6YqVIdeGOQbDgoQzNfDTrV6m5M41xuwoMajIJiKf6sF+p4K5h+aEgyR04cfDdE EecXejTw9rzCFohP9OeWuholfJ1shmpMrLiFeNLoJF4SW7vGPxWLCzhmy+ttb+TkjjA9 hlR7gc3moUrnrcZ8CyFyuqnLgUD/4BvNgdhKkTkJnMnkasCOJiOC3JpzgDr7q9GBs5OY cZmX6xe2M9s1GIbZC+y4tahyp8gr62+QOJS0yagpCmM6XbmRdOCYV+GsUD2tK5Hh0nfF c7qg== Received: by 10.42.47.136 with SMTP id o8mr8785991icf.47.1346421518599; Fri, 31 Aug 2012 06:58:38 -0700 (PDT) Received: from 63.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPS id wg9sm620976igb.0.2012.08.31.06.58.37 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 31 Aug 2012 06:58:37 -0700 (PDT) Sender: Warner Losh Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <20120831104038.GA69581@FreeBSD.org> Date: Fri, 31 Aug 2012 07:58:36 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <5583C09D-C3D1-4E88-AC77-3E44D420C2EB@bsdimp.com> References: <20120831104038.GA69581@FreeBSD.org> To: Alexey Dokuchaev X-Mailer: Apple Mail (2.1084) X-Gm-Message-State: ALoCoQmUUDfmONLi59vgf7Zq0zZE5eMtjY4JtmfQzKMlVoWuxWMFQZpWc93c49OdhJ3yWnpRe0Bz Cc: bz@FreeBSD.org, mobile@freebsd.org, Hans Petter Selasky Subject: Re: suspend/resume [was: Devsummit pictures] 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, 31 Aug 2012 13:58:40 -0000 On Aug 31, 2012, at 4:40 AM, Alexey Dokuchaev wrote: > On Fri, Aug 31, 2012 at 12:11:42PM +0200, Hans Petter Selasky wrote: >>> and then new USB stack had broken it again for me (NEC Versa S950, = YMMV). >>=20 >> Should be fixed in all -stable with regard to USB and suspend and = resume. >=20 > To be fair to Hans Petter, maybe his USB stack itself does not have a = bug, > but instead uncovers a bug somewhere else. OTOH, my laptop does not = care. >=20 > ./danfe >=20 > P.S. Hans Petter, your emails come extremely garbled, what could it = be? > P.P.S. Moved from -developers@ to -mobile@. You can determine if it is the usb stack by removing it and trying = again. When I was actively hunting suspend/resume bugs, most of them were = related to video drivers / devices misbehaving (even when it looked like = they actually worked). Ensure that the video console is still good. If = possible, a serial console will tell you for sure... Warner From owner-freebsd-mobile@FreeBSD.ORG Fri Aug 31 14:14:37 2012 Return-Path: Delivered-To: mobile@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 87082106566B; Fri, 31 Aug 2012 14:14:37 +0000 (UTC) Date: Fri, 31 Aug 2012 14:14:37 +0000 From: Alexey Dokuchaev To: Warner Losh Message-ID: <20120831141437.GA7316@FreeBSD.org> References: <20120831104038.GA69581@FreeBSD.org> <5583C09D-C3D1-4E88-AC77-3E44D420C2EB@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <5583C09D-C3D1-4E88-AC77-3E44D420C2EB@bsdimp.com> User-Agent: Mutt/1.4.2.1i Cc: bz@FreeBSD.org, mobile@freebsd.org, Hans Petter Selasky Subject: Re: suspend/resume [was: Devsummit pictures] 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, 31 Aug 2012 14:14:37 -0000 On Fri, Aug 31, 2012 at 07:58:36AM -0600, Warner Losh wrote: > On Aug 31, 2012, at 4:40 AM, Alexey Dokuchaev wrote: > > On Fri, Aug 31, 2012 at 12:11:42PM +0200, Hans Petter Selasky wrote: > >>> and then new USB stack had broken it again for me (NEC Versa S950, YMMV). > >> > >> Should be fixed in all -stable with regard to USB and suspend and resume. > > > > To be fair to Hans Petter, maybe his USB stack itself does not have a bug, > > but instead uncovers a bug somewhere else. OTOH, my laptop does not care. > > You can determine if it is the usb stack by removing it and trying again. Actually I did. Resume was still broken. But backing out r229370 (only USB-related changes) fixes the hang. I am puzzled... And while keyboard does not work in general, tty switching does. > If possible, a serial console will tell you for sure... Serial console is practically useless if you have to work via USB-RS232 adapter. "call doadump" also hangs. So it looks like I have to find firewire machine, revive attilio@'s netdump [1] code, or implement phk@'s soundcard tricks. ./danfe [1] http://lists.freebsd.org/pipermail/freebsd-current/2010-October/020405.html From owner-freebsd-mobile@FreeBSD.ORG Fri Aug 31 15:07:31 2012 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1CE61065674 for ; Fri, 31 Aug 2012 15:07:31 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 53C948FC18 for ; Fri, 31 Aug 2012 15:07:28 +0000 (UTC) Received: by iebc12 with SMTP id c12so2220720ieb.13 for ; Fri, 31 Aug 2012 08:07:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=a1hj2d+tDnQnpWDPVRpPPR+8Ib2PQ0KEozKV9VT3C80=; b=HleB+U6AIAWWASBkjZbSuifSLgaXUQL+NDh0c6/nqsyAPKGBUwVhw+jkxoobMZaYUA r+ZyGTZEuyTBo1M8OZfBx/keKej6G1/O9uzUCrZ6WnY5T2/xrut9JO8pScLrz9ZgJfxR oKk/qaxxqh0gjAUvTqxmxAqTWvcxDQyv5duQ+tMaS8+IKabZUFi7mpWah+pTpPWeHBgb igBbTfyoMlJbjd/VirU14KJgiDGNFodfduv5cFAlxZva9F1vdZ8nwmvqxLbU52lapxB7 evgfSkMP4FYOUri+BOqQc2HD03NRMLgckDmUjPazTpV0+RLGidVPIt4NEZE0jgShKxUE Vydw== Received: by 10.50.186.130 with SMTP id fk2mr3196071igc.60.1346425648079; Fri, 31 Aug 2012 08:07:28 -0700 (PDT) Received: from 63.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPS id p8sm652867igl.16.2012.08.31.08.07.26 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 31 Aug 2012 08:07:27 -0700 (PDT) Sender: Warner Losh Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <20120831141437.GA7316@FreeBSD.org> Date: Fri, 31 Aug 2012 09:07:25 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <85277024-0DB3-4EAD-94FC-FCF2FA0A0B71@bsdimp.com> References: <20120831104038.GA69581@FreeBSD.org> <5583C09D-C3D1-4E88-AC77-3E44D420C2EB@bsdimp.com> <20120831141437.GA7316@FreeBSD.org> To: Alexey Dokuchaev X-Mailer: Apple Mail (2.1084) X-Gm-Message-State: ALoCoQlnSz5F1ppOXAqBEf7wPYmN3pT6FwHMIMeEpee7xuTEGdqGgSl4Tc9fItDfCxc4KQbMfZA4 Cc: bz@FreeBSD.org, mobile@freebsd.org, Hans Petter Selasky Subject: Re: suspend/resume [was: Devsummit pictures] 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, 31 Aug 2012 15:07:31 -0000 On Aug 31, 2012, at 8:14 AM, Alexey Dokuchaev wrote: > On Fri, Aug 31, 2012 at 07:58:36AM -0600, Warner Losh wrote: >> On Aug 31, 2012, at 4:40 AM, Alexey Dokuchaev wrote: >>> On Fri, Aug 31, 2012 at 12:11:42PM +0200, Hans Petter Selasky wrote: >>>>> and then new USB stack had broken it again for me (NEC Versa S950, = YMMV). >>>>=20 >>>> Should be fixed in all -stable with regard to USB and suspend and = resume. >>>=20 >>> To be fair to Hans Petter, maybe his USB stack itself does not have = a bug, >>> but instead uncovers a bug somewhere else. OTOH, my laptop does not = care. >>=20 >> You can determine if it is the usb stack by removing it and trying = again. >=20 > Actually I did. Resume was still broken. But backing out r229370 = (only > USB-related changes) fixes the hang. I am puzzled... And while = keyboard > does not work in general, tty switching does. That's very odd results. Perhaps is suggests needing to run many tests? keyboard not working means the process isn't reading the data. Since = tty switching is working, does breaking in ddb with control escape work = (or is that alt-escape)? >> If possible, a serial console will tell you for sure... >=20 > Serial console is practically useless if you have to work via = USB-RS232 > adapter. "call doadump" also hangs. So it looks like I have to find > firewire machine, revive attilio@'s netdump [1] code, or implement = phk@'s > soundcard tricks Yes, you need a real serial port, not a usb one to do this. However, if = the USB-RS232 is on the other end, it works well (I was using just such = a setup with gdb the other day). Hmmm, call doadump fails, but that means you can get into ddb? Firewire works well, and is very cheap. I don't know if it works with a = plug-in card though. > [1] = http://lists.freebsd.org/pipermail/freebsd-current/2010-October/020405.htm= l Now that's cool... Warner From owner-freebsd-mobile@FreeBSD.ORG Fri Aug 31 15:26:55 2012 Return-Path: Delivered-To: mobile@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id AF445106566C; Fri, 31 Aug 2012 15:26:55 +0000 (UTC) Date: Fri, 31 Aug 2012 15:26:55 +0000 From: Alexey Dokuchaev To: Warner Losh Message-ID: <20120831152655.GA18705@FreeBSD.org> References: <20120831104038.GA69581@FreeBSD.org> <5583C09D-C3D1-4E88-AC77-3E44D420C2EB@bsdimp.com> <20120831141437.GA7316@FreeBSD.org> <85277024-0DB3-4EAD-94FC-FCF2FA0A0B71@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <85277024-0DB3-4EAD-94FC-FCF2FA0A0B71@bsdimp.com> User-Agent: Mutt/1.4.2.1i Cc: bz@FreeBSD.org, mobile@freebsd.org, Hans Petter Selasky Subject: Re: suspend/resume [was: Devsummit pictures] 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, 31 Aug 2012 15:26:55 -0000 On Fri, Aug 31, 2012 at 09:07:25AM -0600, Warner Losh wrote: > On Aug 31, 2012, at 8:14 AM, Alexey Dokuchaev wrote: > > On Fri, Aug 31, 2012 at 07:58:36AM -0600, Warner Losh wrote: > That's very odd results. Perhaps is suggests needing to run many tests? > > keyboard not working means the process isn't reading the data. Since tty > switching is working, does breaking in ddb with control escape work (or is > that alt-escape)? Ctrl-Alt-Esc. :-) Yes, it works, but DDB is so crippled compared to GDB, it makes debugging a pain. > > Serial console is practically useless if you have to work via USB-RS232 > > adapter. "call doadump" also hangs. So it looks like I have to find > > firewire machine, revive attilio@'s netdump [1] code, or implement phk@'s > > soundcard tricks. > > Yes, you need a real serial port, not a usb one to do this. However, if > the USB-RS232 is on the other end, it works well (I was using just such a > setup with gdb the other day). Unfortunately, it's the other way around: laptop (problematic machine) only provides USB, while desktop box has both real serial and USB ports. > Hmmm, call doadump fails, but that means you can get into ddb? Yes, I can. However, why doadump fails is another mystery. I recall someone reported similar problem with doadump few years ago, but cannot tell you all the details now. > Firewire works well, and is very cheap. I don't know if it works with a > plug-in card though. Luckily, this laptop provides 1394 via TI PCI7411 chip, which I presume can be treated as built-in, not a plug-in one. However, I presently do not have another firewire adapter to insert into host machine. > > [1] http://lists.freebsd.org/pipermail/freebsd-current/2010-October/020405.html > > Now that's cool... Yes, it is. Unfortunately, Attilio does not work on this project any longer. He kindly offered his help though if someone would be willing to pick it up. It's on my list, but I do not know when/if I will have enough time to gid into it. ./danfe