From owner-freebsd-mobile@FreeBSD.ORG Sun Jul 17 11:23:01 2011 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 D8260106566B for ; Sun, 17 Jul 2011 11:23:01 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from eterpe-smout.broadpark.no (eterpe-smout.broadpark.no [80.202.8.16]) by mx1.freebsd.org (Postfix) with ESMTP id 919608FC13 for ; Sun, 17 Jul 2011 11:23:01 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from ignis-smin.broadpark.no ([80.202.8.11]) by eterpe-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with ESMTP id <0LOH000K6672OP90@eterpe-smout.broadpark.no> for freebsd-mobile@freebsd.org; Sun, 17 Jul 2011 13:21:02 +0200 (CEST) Received: from kg-v2.kg4.no ([80.203.92.230]) by ignis-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with SMTP id <0LOH005ZD6713160@ignis-smin.broadpark.no> for freebsd-mobile@freebsd.org; Sun, 17 Jul 2011 13:21:01 +0200 (CEST) Date: Sun, 17 Jul 2011 13:21:01 +0200 From: Torfinn Ingolfsen To: freebsd-mobile@freebsd.org Message-id: <20110717132101.1a4718c7.torfinn.ingolfsen@broadpark.no> In-reply-to: <201107151620.11887.jhb@freebsd.org> References: <20100116212615.963c6ed6.torfinn.ingolfsen@broadpark.no> <20110715213458.6d7ddd41.torfinn.ingolfsen@broadpark.no> <201107151620.11887.jhb@freebsd.org> X-Mailer: Sylpheed 3.1.0 (GTK+ 2.22.1; amd64-portbld-freebsd8.1) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Subject: Re: Acer Aspire 5672 laptop and FreeBSD 8.0-stable 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, 17 Jul 2011 11:23:01 -0000 On Fri, 15 Jul 2011 16:20:11 -0400 John Baldwin wrote: > On Friday, July 15, 2011 3:34:58 pm Torfinn Ingolfsen wrote: > > Update: > > I have now tested this laptop[1] with FreeBSD 8.2-stable[2]. > > The results are the same as when it was tested with 8.0-stable. > > It still needs patching of the PCIe code to get network interfaces to work. > > I used a patch[3] made by Alexander Motin for a different machine, amd even > if the seconfd hunk of the patch was rejected, > > the wireless interface (wpi0) works. > > Please try adding 'options NEW_PCIB' to your kernel config on a recent 8- > stable instead. You should not need Alexander's patch in this case. I did, and now it works. Nice, very nice! dmesg output here: http://sites.google.com/site/tingox/aceraspireas5672andfreebsd Thanks! -- Torfinn From owner-freebsd-mobile@FreeBSD.ORG Mon Jul 18 20:55:01 2011 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 E63AC1065670 for ; Mon, 18 Jul 2011 20:55:01 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from eterpe-smout.broadpark.no (eterpe-smout.broadpark.no [80.202.8.16]) by mx1.freebsd.org (Postfix) with ESMTP id 9C3FF8FC0A for ; Mon, 18 Jul 2011 20:55:01 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from ignis-smin.broadpark.no ([80.202.8.11]) by eterpe-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with ESMTP id <0LOJ0070PRCH6MA0@eterpe-smout.broadpark.no> for freebsd-mobile@freebsd.org; Mon, 18 Jul 2011 22:53:27 +0200 (CEST) Received: from kg-v2.kg4.no ([80.203.92.230]) by ignis-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with SMTP id <0LOJ0074ZPTKDBK0@ignis-smin.broadpark.no> for freebsd-mobile@freebsd.org; Mon, 18 Jul 2011 22:20:09 +0200 (CEST) Date: Mon, 18 Jul 2011 22:20:08 +0200 From: Torfinn Ingolfsen To: freebsd-mobile@freebsd.org Message-id: <20110718222008.d7976508.torfinn.ingolfsen@broadpark.no> X-Mailer: Sylpheed 3.1.0 (GTK+ 2.22.1; amd64-portbld-freebsd8.1) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Subject: Acer Aspire AS5672 - Xorg crashes with radeonhd driver - how to fix? 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, 18 Jul 2011 20:55:02 -0000 Hi, I'm doing more testing on this old laptop: Acer Aspire AS5672[1]. The machine has a ATI Mobility Radeon X1600 gfx chip / card: root@kg-home# pciconf -lv | grep -A4 vga vgapci0@pci0:1:0:0: class=0x030000 card=0x00941025 chip=0x71c51002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'ATI MOBILITY /ATI RADEON X1600 (M56)' class = display subclass = VGA And 'Xorg -configure' selects the radeonhd driver. Unfortunately, trying to start Xorg with this driver makes Xorg crash. >From /var/log/messages: Jul 18 20:03:40 kg-home kernel: drm0: on vgapci0 Jul 18 20:03:40 kg-home kernel: info: [drm] MSI enabled 1 message(s) Jul 18 20:03:40 kg-home kernel: info: [drm] Initialized radeon 1.31.0 20080613 Jul 18 20:03:40 kg-home kernel: info: [drm] Setting GART location based on new memory map Jul 18 20:03:40 kg-home kernel: info: [drm] Loading R500 Microcode Jul 18 20:03:40 kg-home kernel: info: [drm] Num pipes: 1 Jul 18 20:03:40 kg-home kernel: info: [drm] writeback test succeeded in 1 usecs Jul 18 20:03:40 kg-home kernel: drm0: [ITHREAD] Jul 18 20:03:40 kg-home kernel: pid 5408 (Xorg), uid 0: exited on signal 11 (core dumped) Jul 18 20:03:40 kg-home kernel: info: [drm] Num pipes: 1 How do I make the radeonhd driver work? More details (xorg.conf file, Xorg.0.log files) on the FreeBSD page[2] for this machine. FWIW, if I use the radeon driver, Xorg works: Jul 18 21:25:44 kg-home kernel: drm0: on vgapci0 Jul 18 21:25:44 kg-home kernel: info: [drm] MSI enabled 1 message(s) Jul 18 21:25:44 kg-home kernel: info: [drm] Initialized radeon 1.31.0 20080613 Jul 18 21:25:45 kg-home kernel: info: [drm] Setting GART location based on new memory map Jul 18 21:25:45 kg-home kernel: info: [drm] Loading R500 Microcode Jul 18 21:25:45 kg-home kernel: info: [drm] Num pipes: 1 Jul 18 21:25:45 kg-home kernel: info: [drm] writeback test succeeded in 1 usecs Jul 18 21:25:45 kg-home kernel: drm0: [ITHREAD] The machine is running FreeBSD 8.2-stable: tingo@kg-home$ uname -a FreeBSD kg-home.kg4.no 8.2-STABLE FreeBSD 8.2-STABLE #0: Sun Jul 17 12:28:11 CEST 2011 root@kg-home.kg4.no:/usr/obj/usr/src/sys/AS5672 i386 and all ports are updated. References: 1) http://sites.google.com/site/tingox/as5672 2) http://sites.google.com/site/tingox/aceraspireas5672andfreebsd -- Torfinn From owner-freebsd-mobile@FreeBSD.ORG Mon Jul 18 23:07:21 2011 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 468F2106564A for ; Mon, 18 Jul 2011 23:07:21 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 04A7B8FC12 for ; Mon, 18 Jul 2011 23:07:20 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id p6IN7Iii078157; Mon, 18 Jul 2011 17:07:18 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id p6IN7IG7078154; Mon, 18 Jul 2011 17:07:18 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 18 Jul 2011 17:07:18 -0600 (MDT) From: Warren Block To: Torfinn Ingolfsen In-Reply-To: <20110718222008.d7976508.torfinn.ingolfsen@broadpark.no> Message-ID: References: <20110718222008.d7976508.torfinn.ingolfsen@broadpark.no> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Mon, 18 Jul 2011 17:07:18 -0600 (MDT) Cc: freebsd-mobile@freebsd.org Subject: Re: Acer Aspire AS5672 - Xorg crashes with radeonhd driver - how to fix? 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, 18 Jul 2011 23:07:21 -0000 On Mon, 18 Jul 2011, Torfinn Ingolfsen wrote: > I'm doing more testing on this old laptop: Acer Aspire AS5672[1]. > The machine has a ATI Mobility Radeon X1600 gfx chip / card: > root@kg-home# pciconf -lv | grep -A4 vga > vgapci0@pci0:1:0:0: class=0x030000 card=0x00941025 chip=0x71c51002 rev=0x00 hdr=0x00 > vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' > device = 'ATI MOBILITY /ATI RADEON X1600 (M56)' > class = display > subclass = VGA > > And 'Xorg -configure' selects the radeonhd driver. Unfortunately, trying to start Xorg with this driver makes Xorg crash. The standard radeon driver from xf86-video-ati should support that. radeonhd is pretty much dead. From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 19 16:45:24 2011 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 69CE6106566B for ; Tue, 19 Jul 2011 16:45:24 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from eterpe-smout.broadpark.no (eterpe-smout.broadpark.no [80.202.8.16]) by mx1.freebsd.org (Postfix) with ESMTP id 22F7B8FC08 for ; Tue, 19 Jul 2011 16:45:24 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from ignis-smin.broadpark.no ([80.202.8.11]) by eterpe-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with ESMTP id <0LOL00978AHOV230@eterpe-smout.broadpark.no> for freebsd-mobile@freebsd.org; Tue, 19 Jul 2011 18:44:12 +0200 (CEST) Received: from kg-v2.kg4.no ([80.203.92.230]) by ignis-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with SMTP id <0LOL001RBAHOMGC0@ignis-smin.broadpark.no> for freebsd-mobile@freebsd.org; Tue, 19 Jul 2011 18:44:12 +0200 (CEST) Date: Tue, 19 Jul 2011 18:44:12 +0200 From: Torfinn Ingolfsen To: freebsd-mobile@freebsd.org Message-id: <20110719184412.8f640e4a.torfinn.ingolfsen@broadpark.no> In-reply-to: References: <20110718222008.d7976508.torfinn.ingolfsen@broadpark.no> X-Mailer: Sylpheed 3.1.0 (GTK+ 2.22.1; amd64-portbld-freebsd8.1) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Subject: Re: Acer Aspire AS5672 - Xorg crashes with radeonhd driver - how to fix? 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, 19 Jul 2011 16:45:24 -0000 On Mon, 18 Jul 2011 17:07:18 -0600 (MDT) Warren Block wrote: > On Mon, 18 Jul 2011, Torfinn Ingolfsen wrote: > > > I'm doing more testing on this old laptop: Acer Aspire AS5672[1]. > > The machine has a ATI Mobility Radeon X1600 gfx chip / card: > > root@kg-home# pciconf -lv | grep -A4 vga > > vgapci0@pci0:1:0:0: class=0x030000 card=0x00941025 chip=0x71c51002 rev=0x00 hdr=0x00 > > vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' > > device = 'ATI MOBILITY /ATI RADEON X1600 (M56)' > > class = display > > subclass = VGA > > > > And 'Xorg -configure' selects the radeonhd driver. Unfortunately, trying to start Xorg with this driver makes Xorg crash. > > The standard radeon driver from xf86-video-ati should support that. It does, as described in my original message. > radeonhd is pretty much dead. I didn't know that. In that case, consider this solved. -- Torfinn