From owner-freebsd-mobile@FreeBSD.ORG Sun Oct 8 01:24:18 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA67316A407 for ; Sun, 8 Oct 2006 01:24:18 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77FF843D55 for ; Sun, 8 Oct 2006 01:24:18 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0J6S00EYRMKH8QA0@osl1smout1.broadpark.no> for freebsd-mobile@freebsd.org; Sun, 08 Oct 2006 03:24:17 +0200 (CEST) Received: from kg-work.kg4.no ([80.203.21.224]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with SMTP id <0J6S00I10MKH6KA1@osl1sminn1.broadpark.no> for freebsd-mobile@freebsd.org; Sun, 08 Oct 2006 03:24:17 +0200 (CEST) Date: Sun, 08 Oct 2006 03:24:16 +0200 From: Torfinn Ingolfsen 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 In-reply-to: <20061002204114.8e18b8d0.torfinn.ingolfsen@broadpark.no> To: freebsd-mobile@freebsd.org Message-id: <20061008032416.dbd08821.torfinn.ingolfsen@broadpark.no> MIME-version: 1.0 X-Mailer: Sylpheed version 2.2.9 (GTK+ 2.8.20; i386-portbld-freebsd5.5) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <20060930033359.f40f65a8.torfinn.ingolfsen@broadpark.no> <20061001203849.f4cc9cd8.torfinn.ingolfsen@broadpark.no> <20061002204114.8e18b8d0.torfinn.ingolfsen@broadpark.no> Subject: Re: Install FreeBSD on an external (usb) hard drive? 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, 08 Oct 2006 01:24:19 -0000 On Mon, 02 Oct 2006 20:41:14 +0200 Torfinn Ingolfsen wrote: > I guess it is (another) bios problem on the Acer Aspire AS5672. Interestingly, the NetBSD boot loader boots NetBSD fine from an usb hard drive on the AS5672: http://tingox.googlepages.com/as5672_netbsd Just another data point. -- Regards, Torfinn Ingolfsen From owner-freebsd-mobile@FreeBSD.ORG Sun Oct 8 15:10:45 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0B6316A403 for ; Sun, 8 Oct 2006 15:10:45 +0000 (UTC) (envelope-from felix.schalck@gmx.net) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id BB9EE43D79 for ; Sun, 8 Oct 2006 15:10:42 +0000 (GMT) (envelope-from felix.schalck@gmx.net) Received: (qmail invoked by alias); 08 Oct 2006 15:10:39 -0000 Received: from e041.dhcp212-198-184.noos.fr (EHLO [192.168.1.109]) [212.198.184.41] by mail.gmx.net (mp035) with SMTP; 08 Oct 2006 17:10:39 +0200 X-Authenticated: #23426003 Message-ID: <452914E9.9030906@gmx.net> Date: Sun, 08 Oct 2006 17:10:33 +0200 From: "felix.schalck" User-Agent: Thunderbird 1.5.0.5 (X11/20060828) 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: RE: netgear wg511t pccard on Clevo m120_w 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, 08 Oct 2006 15:10:45 -0000 Thanks for help, but it still doesn't work: the pccard is not properly detected on my freebsd 6.x Trying to find a solution, I enabled cardbus debug. Here is what I get, when I insert the card: Status is 0x30000086 Status is 0x30000820 cbb0: card inserted: event=0x00000000, state=30000820 cbb0: cbb_power: 3V cbb0: cbb_power: 0V syctl -a | grep cbb shows: hw.cbb.start_memory: 2281701376 hw.cbb.start_16_io: 256 hw.cbb.start_32_io: 4096 hw.cbb.debug: 1 dev.cbb.0.%desc: ENE CB1410 PCI-CardBus Bridge dev.cbb.0.%driver: cbb dev.cbb.0.%location: slot=7 function=0 dev.cbb.0.%pnpinfo: vendor=0x1524 device=0x1410 subvendor=0x1558 subdevice=0x0120 class=0x060700 dev.cbb.0.%parent: pci2 dev.cardbus.0.%parent: cbb0 dev.pccard.0.%parent: cbb0 Any ideas from here ? Thanks a lot, Felix From owner-freebsd-mobile@FreeBSD.ORG Sun Oct 8 19:29:11 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 764F016A40F for ; Sun, 8 Oct 2006 19:29:11 +0000 (UTC) (envelope-from stapleton.41@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 C133143D53 for ; Sun, 8 Oct 2006 19:29:04 +0000 (GMT) (envelope-from stapleton.41@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so481166uge for ; Sun, 08 Oct 2006 12:29:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tVYU+kPlSj4PxhiaChMwA4R9thspGNj3onmmOPl3NOVaWqONN18BZkMtU8Ip6RNwlJHMvBsM/JyL5BX8xYQT/DpeCwo711qlfoyVTtdtPyUFUlFPZs2i058a7WEx/NZ8/B/UkpiBnv1sq87zDbpuaLBPKRZa8Ycgsl5cZWcNcd4= Received: by 10.67.93.7 with SMTP id v7mr5875568ugl; Sun, 08 Oct 2006 12:29:04 -0700 (PDT) Received: by 10.67.86.4 with HTTP; Sun, 8 Oct 2006 12:29:03 -0700 (PDT) Message-ID: <80f4f2b20610081229p1a9d19dcw325f83850c6aaadb@mail.gmail.com> Date: Sun, 8 Oct 2006 15:29:04 -0400 From: "Jim Stapleton" To: freebsd-mobile@freebsd.org In-Reply-To: <20061007224949.GB62285@e.0x20.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <80f4f2b20610060523y636701b7md93ae0d586ef69fe@mail.gmail.com> <45264F1C.3070609@unsane.co.uk> <80f4f2b20610060555m2a9d9a4fvc8d36eddb97490e6@mail.gmail.com> <1160145794.5951.2.camel@localhost.localdomain> <80f4f2b20610060802o4c6a91b3h15d468c45477f916@mail.gmail.com> <80f4f2b20610061530s4ac88289w16cb97cdbd9f52ef@mail.gmail.com> <20061006224342.GL65912@e.0x20.net> <80f4f2b20610061622k522ec869x5b8340701535faf8@mail.gmail.com> <20061007224949.GB62285@e.0x20.net> Subject: Re: Route #3 - USB 802.11 a/b/g 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, 08 Oct 2006 19:29:11 -0000 On 10/7/06, Lars Engels wrote: > On Fri, Oct 06, 2006 at 07:22:50PM -0400, Jim Stapleton wrote: > > OK, that's interesting, I tried, that, and got this: > > > > ural0: flags=108843 mtu > > 1500 > > inet6 fe80::215:e9ff:fe2d:72c3%ural0 prefixlen 64 scopeid 0x4 > > inet 192.168.1.84 netmask 0xffffff00 broadcast 49.49.253.171 > > ether 00:15:e9:2d:72:c3 > > media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps (OFDM/54Mbps) > > status: no carrier > > ssid mine channel 6 > > authmode OPEN privacy ON deftxkey 1 txpowmax 100 protmode CTS > > bintval 100 > > > > I've tried replacing wep with wepkey, I've tried weptxkey 1 to 4, no > > luck on any of those. > > > > Any other suggestions? > > > > Perhaps the authmode needs to be set to SHARED? > That didn't work either -- I also tried 8021x and wpa. Both gave me an error: ifconfig: SIOCS80211: invalid argument From owner-freebsd-mobile@FreeBSD.ORG Sun Oct 8 19:55:47 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6349D16A415 for ; Sun, 8 Oct 2006 19:55:47 +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 EE66843D77 for ; Sun, 8 Oct 2006 19:55:37 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id k98JtZvo070553 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 8 Oct 2006 12:55:37 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <452957B7.1040500@errno.com> Date: Sun, 08 Oct 2006 12:55:35 -0700 From: Sam Leffler User-Agent: Thunderbird 1.5.0.4 (X11/20060724) MIME-Version: 1.0 To: Jim Stapleton References: <80f4f2b20610060523y636701b7md93ae0d586ef69fe@mail.gmail.com> <45264F1C.3070609@unsane.co.uk> <80f4f2b20610060555m2a9d9a4fvc8d36eddb97490e6@mail.gmail.com> <1160145794.5951.2.camel@localhost.localdomain> <80f4f2b20610060802o4c6a91b3h15d468c45477f916@mail.gmail.com> <80f4f2b20610061530s4ac88289w16cb97cdbd9f52ef@mail.gmail.com> <20061006224342.GL65912@e.0x20.net> <80f4f2b20610061622k522ec869x5b8340701535faf8@mail.gmail.com> <20061007224949.GB62285@e.0x20.net> <80f4f2b20610081229p1a9d19dcw325f83850c6aaadb@mail.gmail.com> In-Reply-To: <80f4f2b20610081229p1a9d19dcw325f83850c6aaadb@mail.gmail.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: Route #3 - USB 802.11 a/b/g 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, 08 Oct 2006 19:55:47 -0000 Jim Stapleton wrote: > On 10/7/06, Lars Engels wrote: >> On Fri, Oct 06, 2006 at 07:22:50PM -0400, Jim Stapleton wrote: >> > OK, that's interesting, I tried, that, and got this: >> > >> > ural0: >> flags=108843 mtu >> > 1500 >> > inet6 fe80::215:e9ff:fe2d:72c3%ural0 prefixlen 64 scopeid 0x4 >> > inet 192.168.1.84 netmask 0xffffff00 broadcast 49.49.253.171 >> > ether 00:15:e9:2d:72:c3 >> > media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps (OFDM/54Mbps) >> > status: no carrier >> > ssid mine channel 6 >> > authmode OPEN privacy ON deftxkey 1 txpowmax 100 protmode CTS >> > bintval 100 >> > >> > I've tried replacing wep with wepkey, I've tried weptxkey 1 to 4, no >> > luck on any of those. >> > >> > Any other suggestions? >> > >> >> Perhaps the authmode needs to be set to SHARED? >> > > That didn't work either -- I also tried 8021x and wpa. Both gave me an > error: > ifconfig: SIOCS80211: invalid argument "status: no carrier" means you are not associated to the ap. When the reason is not obvious I usually do this: wlandebug -i ural0 scan+auth+assoc before bringing the interface up w/ ifconfig. The console msgs should tell you what's going on. I don't recall if "ifconfig ural0 debug" will give you similar info. Of course it'd be better if the failure code for the last auth/assoc attempt was reported by ifconfig in this situation (I think it's available by ioctl but can't recall--if not it's easy to add and has been done for other systems). Sam PS. wlandebug is in src/tools/tools/net80211. From owner-freebsd-mobile@FreeBSD.ORG Sun Oct 8 20:27:35 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FB6B16A416 for ; Sun, 8 Oct 2006 20:27:35 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B55543D46 for ; Sun, 8 Oct 2006 20:27:33 +0000 (GMT) (envelope-from stapleton.41@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so484030uge for ; Sun, 08 Oct 2006 13:27:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cSD8jpMV2ywxoLcP7SaJV+ldLUsSIxokGeREdYqmygrFg7KDhA50QCiuCquWU1ZoxGOxg2Q+J/lOf/V/jwwFJ86/x75m6k/Ja9dwJL2mcQdGTONTMSYqdluIp0LTRxgDjBtj0bXPtftl9mu6R6qKrzynkIFtrtp+pbt7/s5v1u0= Received: by 10.67.93.6 with SMTP id v6mr5920810ugl; Sun, 08 Oct 2006 13:27:32 -0700 (PDT) Received: by 10.67.86.4 with HTTP; Sun, 8 Oct 2006 13:27:32 -0700 (PDT) Message-ID: <80f4f2b20610081327s13d0ce81s67111d60df67bc55@mail.gmail.com> Date: Sun, 8 Oct 2006 16:27:32 -0400 From: "Jim Stapleton" To: freebsd-mobile@freebsd.org In-Reply-To: <452957B7.1040500@errno.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <80f4f2b20610060523y636701b7md93ae0d586ef69fe@mail.gmail.com> <80f4f2b20610060555m2a9d9a4fvc8d36eddb97490e6@mail.gmail.com> <1160145794.5951.2.camel@localhost.localdomain> <80f4f2b20610060802o4c6a91b3h15d468c45477f916@mail.gmail.com> <80f4f2b20610061530s4ac88289w16cb97cdbd9f52ef@mail.gmail.com> <20061006224342.GL65912@e.0x20.net> <80f4f2b20610061622k522ec869x5b8340701535faf8@mail.gmail.com> <20061007224949.GB62285@e.0x20.net> <80f4f2b20610081229p1a9d19dcw325f83850c6aaadb@mail.gmail.com> <452957B7.1040500@errno.com> Subject: Re: Route #3 - USB 802.11 a/b/g 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, 08 Oct 2006 20:27:35 -0000 On 10/8/06, Sam Leffler wrote: > Jim Stapleton wrote: > > On 10/7/06, Lars Engels wrote: > >> On Fri, Oct 06, 2006 at 07:22:50PM -0400, Jim Stapleton wrote: > >> > OK, that's interesting, I tried, that, and got this: > >> > > >> > ural0: > >> flags=108843 mtu > >> > 1500 > >> > inet6 fe80::215:e9ff:fe2d:72c3%ural0 prefixlen 64 scopeid 0x4 > >> > inet 192.168.1.84 netmask 0xffffff00 broadcast 49.49.253.171 > >> > ether 00:15:e9:2d:72:c3 > >> > media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps (OFDM/54Mbps) > >> > status: no carrier > >> > ssid mine channel 6 > >> > authmode OPEN privacy ON deftxkey 1 txpowmax 100 protmode CTS > >> > bintval 100 > >> > > >> > I've tried replacing wep with wepkey, I've tried weptxkey 1 to 4, no > >> > luck on any of those. > >> > > >> > Any other suggestions? > >> > > >> > >> Perhaps the authmode needs to be set to SHARED? > >> > > > > That didn't work either -- I also tried 8021x and wpa. Both gave me an > > error: > > ifconfig: SIOCS80211: invalid argument > > "status: no carrier" means you are not associated to the ap. When the > reason is not obvious I usually do this: > > wlandebug -i ural0 scan+auth+assoc > > before bringing the interface up w/ ifconfig. The console msgs should > tell you what's going on. I don't recall if "ifconfig ural0 debug" will > give you similar info. > > Of course it'd be better if the failure code for the last auth/assoc > attempt was reported by ifconfig in this situation (I think it's > available by ioctl but can't recall--if not it's easy to add and has > been done for other systems). > > Sam > > PS. wlandebug is in src/tools/tools/net80211. > well, it gave me something that is probably useful - but I've no idea how to use it. sjss@aragorn 16:17:27 (0) ~ > sudo wlandebug -i ural0 scan+auth+assoc net.wlan.1.debug: 0x0 => 0xe00000 there was no other output. Nothing appeared in dmesg thanks, -Jim Stapleton From owner-freebsd-mobile@FreeBSD.ORG Sun Oct 8 21:00:37 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8527916A494 for ; Sun, 8 Oct 2006 21:00:37 +0000 (UTC) (envelope-from lists@swaggi.com) Received: from swaggi.com (c-24-91-61-171.hsd1.ma.comcast.net [24.91.61.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6585643D60 for ; Sun, 8 Oct 2006 21:00:18 +0000 (GMT) (envelope-from lists@swaggi.com) Received: from localhost ([127.0.0.1] helo=swaggi.com) by swaggi.com with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GWgir-000Dmo-Kc for freebsd-mobile@freebsd.org; Sun, 08 Oct 2006 17:02:13 -0500 Received: (from lists@localhost) by swaggi.com (8.13.6/8.13.6/Submit) id k98M2DkQ052997; Sun, 8 Oct 2006 17:02:13 -0500 (EST) (envelope-from lists@swaggi.com) From: "Yuri Lukin" To: freebsd-mobile@freebsd.org Cc: X-Originating-IP: 24.91.61.171 X-Mailer: swaggi.com Webmail Message-Id: <1160344933.52993@swaggi.com> Date: Sun, 08 Oct 2006 17:02:13 -0500 (EST) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="bound1160344933" Subject: Re: Route #3 - USB 802.11 a/b/g 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, 08 Oct 2006 21:00:37 -0000 This is a multi-part message in MIME format. --bound1160344933 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Jim Stapleton wrote .. > On 10/8/06, Sam Leffler wrote: > > > > "status: no carrier" means you are not associated to the ap. When the > > reason is not obvious I usually do this: > > > > wlandebug -i ural0 scan+auth+assoc > > > > before bringing the interface up w/ ifconfig. The console msgs should > > tell you what's going on. I don't recall if "ifconfig ural0 debug" will > > give you similar info. > > > > Of course it'd be better if the failure code for the last auth/assoc > > attempt was reported by ifconfig in this situation (I think it's > > available by ioctl but can't recall--if not it's easy to add and has > > been done for other systems). > > > > Sam > > > > PS. wlandebug is in src/tools/tools/net80211. > > > > > well, it gave me something that is probably useful - but I've no idea > how to use it. > > sjss@aragorn 16:17:27 (0) ~ > sudo wlandebug -i ural0 scan+auth+assoc > net.wlan.1.debug: 0x0 => 0xe00000 > > > there was no other output. Nothing appeared in dmesg > > thanks, > -Jim Stapleton Did you bounce the interface via ifconfig? I believe all that output says is that debugging was enabled. --bound1160344933-- From owner-freebsd-mobile@FreeBSD.ORG Mon Oct 9 15:02:15 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DC7216A407; Mon, 9 Oct 2006 15:02:15 +0000 (UTC) (envelope-from savita@nias.iisc.ernet.in) Received: from nias.iisc.ernet.in (ip-248.net-81-220-226.henin.rev.numericable.fr [81.220.226.248]) by mx1.FreeBSD.org (Postfix) with SMTP id 2587F43D5F; Mon, 9 Oct 2006 15:02:01 +0000 (GMT) (envelope-from savita@nias.iisc.ernet.in) Message-ID: Date: Mon, 09 Oct 2006 14:32:11 -0100 From: "Mauro Kinsella" User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 Sylera/1.2.3 MIME-Version: 1.0 To: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit Cc: freebsd-isdn@freebsd.org, freebsd-h9cdackers-unsubscribe@freebsd.org, freebsd-mobile@freebsd.org Subject: Equivalent Employer X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mauro Kinsella List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2006 15:02:15 -0000 Hello, Would you like to make 1.5K to 3.5K a day just for returning calls? If you have a telephone and can return calls you are fully qualified. Call us : 800-439-1088 Sincerely, Mauro Kinsella From owner-freebsd-mobile@FreeBSD.ORG Mon Oct 9 22:53:45 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C8EF16A553 for ; Mon, 9 Oct 2006 22:53:45 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 529EB43D49 for ; Mon, 9 Oct 2006 22:53:44 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (zion.baldwin.cx [192.168.0.7]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k99MrauZ081356; Mon, 9 Oct 2006 18:53:39 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-mobile@freebsd.org Date: Mon, 9 Oct 2006 16:11:46 -0400 User-Agent: KMail/1.9.1 References: <20060930001213.a59d721c.torfinn.ingolfsen@broadpark.no> <20061007184642.3869de58.torfinn.ingolfsen@broadpark.no> <20061007190349.GM4945@poupinou.org> In-Reply-To: <20061007190349.GM4945@poupinou.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610091611.46706.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [192.168.0.1]); Mon, 09 Oct 2006 18:53:40 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/2016/Mon Oct 9 12:58:54 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Subject: Re: Acer Aspire 5672 and FreeBSD 6.2-beta1 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, 09 Oct 2006 22:53:45 -0000 On Saturday 07 October 2006 15:03, Bruno Ducrot wrote: > On Sat, Oct 07, 2006 at 06:46:42PM +0200, Torfinn Ingolfsen wrote: > > On Sat, 07 Oct 2006 17:01:03 +0200 > > Bruno Ducrot wrote: > > > > > Thanks. The device do not have a BAR when acpi is enabled. We > > > therefore have to enable one. I think just by poking aroud some pci > > > config registers onto the pci bridge will do the trick. Your > > > > Ok. I'm wondering; will output from lspci under Linux help you get at > > the info more easily? I have Xubuntu installed on a partition on this > > machine, so it is easy for me to do that, if you wish. > > Well, I don't know if that will be helpful. Humm, maybe a dmesg? > > > > Looking at this datasheet I think we have to look more carrefully to > > > register 0x04 (halfword), 0x20h, 0x24, 0x28 and 0x2c. > > > Looking them both with and without acpi and comparing them will allows > > > us to know hopefully how to enable the first BAR to the correct adress > > > for your ethernet card. In short, if you can first boot without ACPI, > > > then perform > > > pciconf -r -h pci0:28:2 4 > > > pciconf -r pci0:28:2 0x20 > > > pciconf -r pci0:28:2 0x24 > > > pciconf -r pci0:28:2 0x28 > > > pciconf -r pci0:28:2 0x2c > > > > > > Also do a dump in order to check if something else might be needed: > > > pciconf -r -b pci0:28:2 0:256 > > > > > > Boot with ACPI enabled: > > > do the same pciconf stuff, then send me the output. > > > > Done. I've sent you the files via email, and also uploaded them to the > > web page, in case anyone else wants them for some reason. Webpage: > > http://tingox.googlepages.com/aceraspireas5672andfreebsd > > > > > After that, we should be able to correct your problem, either by > > > 1- hacking the DSDT, > > > OR > > > 2- hacking pcib.c. > > > (at your option). > > > > I think hacking the DSDT is the more politically correct option, but > > either one will work for me. > > Ok. First remove device bge in your kernel config. For example create a > config file with: > > >>> BEGIN > include GENERIC > ident MYKERNEL (or what you like) > nodevice bge > <<< END > > After rebuilding and installing your kernel, > you can do something like that: > > pciconf -w pci0:28:2 0xd8 0x04110008 > > pciconf -w -h pci0:28:2 0x58 0x0000 > > pciconf -w pci0:28:2 0x24 0x0001fff1 > pciconf -w pci0:28:2 0x20 0xc830c830 > > pciconf -w -h pci0:28:2 0x04 0x0007 > > > After that, you should be able to kldload if_bge and report back if > this work. In that case I will modify the DSDT so that you won't to > worry about all of those pciconf stuff. You really shouldn't change BAR registers directly. First of all, the PCI bus driver already knows how to allocate resources for a BAR if it is set to 0 and when doing so will make sure to not allocate an address that conflicts with another device. Secondly, a lot of PCI config registers are cached in the ivars by the PCI bus, so it may not even read the values you write into it (though writing those values will turn on the address decode for the device, and if another device is using that address things will go downhill quick). -- John Baldwin From owner-freebsd-mobile@FreeBSD.ORG Tue Oct 10 09:52:07 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6954216A403; Tue, 10 Oct 2006 09:52:07 +0000 (UTC) (envelope-from ducrot@poupinou.org) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEDE643D64; Tue, 10 Oct 2006 09:52:06 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1GXEHN-0005eE-00; Tue, 10 Oct 2006 11:52:05 +0200 Date: Tue, 10 Oct 2006 11:52:05 +0200 To: John Baldwin Message-ID: <20061010095205.GS4945@poupinou.org> References: <20060930001213.a59d721c.torfinn.ingolfsen@broadpark.no> <20061007184642.3869de58.torfinn.ingolfsen@broadpark.no> <20061007190349.GM4945@poupinou.org> <200610091611.46706.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200610091611.46706.jhb@freebsd.org> User-Agent: Mutt/1.5.9i From: Bruno Ducrot Cc: freebsd-mobile@freebsd.org Subject: Re: Acer Aspire 5672 and FreeBSD 6.2-beta1 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, 10 Oct 2006 09:52:07 -0000 On Mon, Oct 09, 2006 at 04:11:46PM -0400, John Baldwin wrote: > On Saturday 07 October 2006 15:03, Bruno Ducrot wrote: > > On Sat, Oct 07, 2006 at 06:46:42PM +0200, Torfinn Ingolfsen wrote: > > > On Sat, 07 Oct 2006 17:01:03 +0200 > > > Bruno Ducrot wrote: > > > > > > > Thanks. The device do not have a BAR when acpi is enabled. We > > > > therefore have to enable one. I think just by poking aroud some pci > > > > config registers onto the pci bridge will do the trick. Your > > > > > > Ok. I'm wondering; will output from lspci under Linux help you get at > > > the info more easily? I have Xubuntu installed on a partition on this > > > machine, so it is easy for me to do that, if you wish. > > > > Well, I don't know if that will be helpful. Humm, maybe a dmesg? > > > > > > Looking at this datasheet I think we have to look more carrefully to > > > > register 0x04 (halfword), 0x20h, 0x24, 0x28 and 0x2c. > > > > Looking them both with and without acpi and comparing them will allows > > > > us to know hopefully how to enable the first BAR to the correct adress > > > > for your ethernet card. In short, if you can first boot without ACPI, > > > > then perform > > > > pciconf -r -h pci0:28:2 4 > > > > pciconf -r pci0:28:2 0x20 > > > > pciconf -r pci0:28:2 0x24 > > > > pciconf -r pci0:28:2 0x28 > > > > pciconf -r pci0:28:2 0x2c > > > > > > > > Also do a dump in order to check if something else might be needed: > > > > pciconf -r -b pci0:28:2 0:256 > > > > > > > > Boot with ACPI enabled: > > > > do the same pciconf stuff, then send me the output. > > > > > > Done. I've sent you the files via email, and also uploaded them to the > > > web page, in case anyone else wants them for some reason. Webpage: > > > http://tingox.googlepages.com/aceraspireas5672andfreebsd > > > > > > > After that, we should be able to correct your problem, either by > > > > 1- hacking the DSDT, > > > > OR > > > > 2- hacking pcib.c. > > > > (at your option). > > > > > > I think hacking the DSDT is the more politically correct option, but > > > either one will work for me. > > > > Ok. First remove device bge in your kernel config. For example create a > > config file with: > > > > >>> BEGIN > > include GENERIC > > ident MYKERNEL (or what you like) > > nodevice bge > > <<< END > > > > After rebuilding and installing your kernel, > > you can do something like that: > > > > pciconf -w pci0:28:2 0xd8 0x04110008 > > > > pciconf -w -h pci0:28:2 0x58 0x0000 > > > > pciconf -w pci0:28:2 0x24 0x0001fff1 > > pciconf -w pci0:28:2 0x20 0xc830c830 > > > > pciconf -w -h pci0:28:2 0x04 0x0007 > > > > > > After that, you should be able to kldload if_bge and report back if > > this work. In that case I will modify the DSDT so that you won't to > > worry about all of those pciconf stuff. > > You really shouldn't change BAR registers directly. First of all, the PCI > bus driver already knows how to allocate resources for a BAR if it is set > to 0 and when doing so will make sure to not allocate an address that > conflicts with another device. Secondly, a lot of PCI config registers are > cached in the ivars by the PCI bus, so it may not even read the values you > write into it (though writing those values will turn on the address decode > for the device, and if another device is using that address things will go > downhill quick). You are indeed right. The issue therefore seems to be, when ACPI is enabled, then the PCI bus driver doesn't set up correctly a BAR. FYI the bridge is one of the four PCIe embedded to an ICH-7. -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. From owner-freebsd-mobile@FreeBSD.ORG Tue Oct 10 13:22:18 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E68A16A4C2 for ; Tue, 10 Oct 2006 13:22:13 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 925F343D69 for ; Tue, 10 Oct 2006 13:22:12 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (zion.baldwin.cx [192.168.0.7]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k9ADLtL7087145; Tue, 10 Oct 2006 09:22:01 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Bruno Ducrot Date: Tue, 10 Oct 2006 09:21:53 -0400 User-Agent: KMail/1.9.1 References: <20060930001213.a59d721c.torfinn.ingolfsen@broadpark.no> <200610091611.46706.jhb@freebsd.org> <20061010095205.GS4945@poupinou.org> In-Reply-To: <20061010095205.GS4945@poupinou.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610100921.54233.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [192.168.0.1]); Tue, 10 Oct 2006 09:22:01 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/2018/Tue Oct 10 08:04:40 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: freebsd-mobile@freebsd.org Subject: Re: Acer Aspire 5672 and FreeBSD 6.2-beta1 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, 10 Oct 2006 13:22:18 -0000 On Tuesday 10 October 2006 05:52, Bruno Ducrot wrote: > On Mon, Oct 09, 2006 at 04:11:46PM -0400, John Baldwin wrote: > > On Saturday 07 October 2006 15:03, Bruno Ducrot wrote: > > > On Sat, Oct 07, 2006 at 06:46:42PM +0200, Torfinn Ingolfsen wrote: > > > > On Sat, 07 Oct 2006 17:01:03 +0200 > > > > Bruno Ducrot wrote: > > > > > > > > > Thanks. The device do not have a BAR when acpi is enabled. We > > > > > therefore have to enable one. I think just by poking aroud some pci > > > > > config registers onto the pci bridge will do the trick. Your > > > > > > > > Ok. I'm wondering; will output from lspci under Linux help you get at > > > > the info more easily? I have Xubuntu installed on a partition on this > > > > machine, so it is easy for me to do that, if you wish. > > > > > > Well, I don't know if that will be helpful. Humm, maybe a dmesg? > > > > > > > > Looking at this datasheet I think we have to look more carrefully to > > > > > register 0x04 (halfword), 0x20h, 0x24, 0x28 and 0x2c. > > > > > Looking them both with and without acpi and comparing them will allows > > > > > us to know hopefully how to enable the first BAR to the correct adress > > > > > for your ethernet card. In short, if you can first boot without ACPI, > > > > > then perform > > > > > pciconf -r -h pci0:28:2 4 > > > > > pciconf -r pci0:28:2 0x20 > > > > > pciconf -r pci0:28:2 0x24 > > > > > pciconf -r pci0:28:2 0x28 > > > > > pciconf -r pci0:28:2 0x2c > > > > > > > > > > Also do a dump in order to check if something else might be needed: > > > > > pciconf -r -b pci0:28:2 0:256 > > > > > > > > > > Boot with ACPI enabled: > > > > > do the same pciconf stuff, then send me the output. > > > > > > > > Done. I've sent you the files via email, and also uploaded them to the > > > > web page, in case anyone else wants them for some reason. Webpage: > > > > http://tingox.googlepages.com/aceraspireas5672andfreebsd > > > > > > > > > After that, we should be able to correct your problem, either by > > > > > 1- hacking the DSDT, > > > > > OR > > > > > 2- hacking pcib.c. > > > > > (at your option). > > > > > > > > I think hacking the DSDT is the more politically correct option, but > > > > either one will work for me. > > > > > > Ok. First remove device bge in your kernel config. For example create a > > > config file with: > > > > > > >>> BEGIN > > > include GENERIC > > > ident MYKERNEL (or what you like) > > > nodevice bge > > > <<< END > > > > > > After rebuilding and installing your kernel, > > > you can do something like that: > > > > > > pciconf -w pci0:28:2 0xd8 0x04110008 > > > > > > pciconf -w -h pci0:28:2 0x58 0x0000 > > > > > > pciconf -w pci0:28:2 0x24 0x0001fff1 > > > pciconf -w pci0:28:2 0x20 0xc830c830 > > > > > > pciconf -w -h pci0:28:2 0x04 0x0007 > > > > > > > > > After that, you should be able to kldload if_bge and report back if > > > this work. In that case I will modify the DSDT so that you won't to > > > worry about all of those pciconf stuff. > > > > You really shouldn't change BAR registers directly. First of all, the PCI > > bus driver already knows how to allocate resources for a BAR if it is set > > to 0 and when doing so will make sure to not allocate an address that > > conflicts with another device. Secondly, a lot of PCI config registers are > > cached in the ivars by the PCI bus, so it may not even read the values you > > write into it (though writing those values will turn on the address decode > > for the device, and if another device is using that address things will go > > downhill quick). > > You are indeed right. The issue therefore seems to be, when ACPI is enabled, > then the PCI bus driver doesn't set up correctly a BAR. > FYI the bridge is one of the four PCIe embedded to an ICH-7. The PCI bus driver does the same thing regardless of ACPI. When the NIC driver does its bus_alloc_resource() the PCI bus should then go allocate resources for it. At this point you will probably want to get a boot -v so you can see what the bus prints out when it first looks at the device first. If the BAR is listed (but with a base of 0), then you will want to look at the stuff in pci_alloc_resource(). -- John Baldwin From owner-freebsd-mobile@FreeBSD.ORG Tue Oct 10 14:20:40 2006 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4267016A535; Tue, 10 Oct 2006 14:20:40 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F32D43D7E; Tue, 10 Oct 2006 14:20:38 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (zion.baldwin.cx [192.168.0.7]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k9AEKb1g087487; Tue, 10 Oct 2006 10:20:37 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: acpi@freebsd.org Date: Tue, 10 Oct 2006 10:20:31 -0400 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610101020.32041.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [192.168.0.1]); Tue, 10 Oct 2006 10:20:37 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/2018/Tue Oct 10 08:04:40 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: mobile@freebsd.org Subject: [PATCH] UP APIC suspend/resume support -- Please test 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, 10 Oct 2006 14:20:40 -0000 No one has tested this yet, so I guess folks missed it. Can someone with otherwise working suspend/resume on a system with APIC please test http://www.freebsd.org/~jhb/patches/apic_resume.patch and let me know if suspend/resume works? Note that it doesn't add SMP support, so you'll still need to disable SMP (either via kern.smp.disabled or by removing SMP from the kernel config) to test. Thanks. -- John Baldwin From owner-freebsd-mobile@FreeBSD.ORG Tue Oct 10 22:07:41 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4A6F16A415; Tue, 10 Oct 2006 22:07:41 +0000 (UTC) (envelope-from fields@agnionline.net) Received: from agnionline.net (host-84-9-195-6.bulldogdsl.com [84.9.195.6]) by mx1.FreeBSD.org (Postfix) with SMTP id E7D3643D7F; Tue, 10 Oct 2006 22:07:30 +0000 (GMT) (envelope-from fields@agnionline.net) Message-ID: <6825A6B3.DB96D76@agnionline.net> Date: Wed, 11 Oct 2006 04:04:57 +0500 From: "Jonathon Wiley" User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US) AppleWebKit/85.7 (KHTML, like Gecko) Safari/85.5 MIME-Version: 1.0 To: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit Cc: freebsd-security-un902subscribe@freebsd.org, freebsd-stable@freebsd.org, freebsd-mobile@freebsd.org Subject: Fwd: Summary freebsd-isdn X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jonathon Wiley List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2006 22:07:41 -0000 Attention, If you need instant cash to expend any way you desire, here are our presentations 227K at 4.21 % 542K at 4.98 % 728K at 5.61 % http://geocities.com/Ashley37_r414/ Goodbye, Consent Manager Jonathon Wiley From owner-freebsd-mobile@FreeBSD.ORG Wed Oct 11 11:21:56 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 027DA16A40F for ; Wed, 11 Oct 2006 11:21:56 +0000 (UTC) (envelope-from shtanislave@yandex.ru) Received: from colgate.yandex.ru (colgate.yandex.ru [213.180.200.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A40E43D46 for ; Wed, 11 Oct 2006 11:21:55 +0000 (GMT) (envelope-from shtanislave@yandex.ru) Received: from YAMAIL (colgate.yandex.ru) by mail.yandex.ru id ; Wed, 11 Oct 2006 15:21:38 +0400 Received: from [213.141.154.21] ([213.141.154.21]) by mail.yandex.ru with HTTP; Wed, 11 Oct 2006 15:21:38 +0400 (MSD) Date: Wed, 11 Oct 2006 15:21:38 +0400 (MSD) From: "shtanislave" Sender: shtanislave@yandex.ru Message-Id: <452CD3C2.000005.00463@colgate.yandex.ru> MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] Errors-To: shtanislave@yandex.ru To: freebsd-mobile@freebsd.org X-Source-Ip: 213.141.154.21 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Installing FreeBSD 6.0 on laptop Asus A6T X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: shtanislave@yandex.ru List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2006 11:21:56 -0000 Hello! At attempt to establish FreeBSD 6.0 and 6.1 on laptop Asus A6T the kernel gives out the message on detection of a hard disk and cdrom then loading stops, but by pressing the button of deenergizing there is a message the acpi suspend request ignored: not ready yet Most interesting that FreeBSD 5 and 4 are loaded normally From owner-freebsd-mobile@FreeBSD.ORG Wed Oct 11 14:31:19 2006 Return-Path: X-Original-To: mobile@FreeBSD.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8710216A412; Wed, 11 Oct 2006 14:31:19 +0000 (UTC) (envelope-from nork@FreeBSD.org) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id D46C043D46; Wed, 11 Oct 2006 14:31:18 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from nadesico.ninth-nine.com (nadesico.ninth-nine.com [219.127.74.122]) by sakura.ninth-nine.com (8.13.8/8.13.8/NinthNine) with ESMTP id k9BEVG0q019625; Wed, 11 Oct 2006 23:31:16 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Wed, 11 Oct 2006 23:31:13 +0900 From: Norikatsu Shigemura To: John Baldwin Message-Id: <20061011233113.7446a3ab.nork@FreeBSD.org> In-Reply-To: <200610101020.32041.jhb@freebsd.org> References: <200610101020.32041.jhb@freebsd.org> X-Mailer: Sylpheed version 2.2.9 (GTK+ 2.8.20; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (sakura.ninth-nine.com [219.127.74.121]); Wed, 11 Oct 2006 23:31:16 +0900 (JST) Cc: acpi@FreeBSD.org, mobile@FreeBSD.org Subject: Re: [PATCH] UP APIC suspend/resume support -- Please test 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, 11 Oct 2006 14:31:19 -0000 On Tue, 10 Oct 2006 10:20:31 -0400 John Baldwin wrote: > No one has tested this yet, so I gues folks missed it. Can someone with > otherwise working suspend/resume on a system with APIC please test > http://www.freebsd.org/~jhb/patches/apic_resume.patch and let me know if > suspend/resume works? Note that it doesn't add SMP support, so you'll > still need to disable SMP (either via kern.smp.disabled or by removing > SMP from the kernel config) to test. Thanks. Perfect!! in my Panasonic CF-R4 (Let's note/Toughbook) on 6.2-PRERELEASE. FreeBSD melfina.ninth-nine.com 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #25: Wed Oct 11 22:51:01 JST 2006 nork@melfina.ninth-nine.com:/usr/obj/usr/src/sys/MELFINA i386 : Oct 11 23:15:46 melfina kernel: ioapic0: Changing APIC ID to 1 Oct 11 23:15:46 melfina kernel: ioapic0 irqs 0-23 on motherboard : Oct 11 23:17:10 melfina acpi: suspend at 20061011 23:17:10 Oct 11 23:17:13 melfina kernel: ioapic_suspend: not implemented! Oct 11 23:17:24 melfina kernel: cpu0: Cx states changed Oct 11 23:17:24 melfina kernel: wakeup from sleeping state (slept 00:00:12) Oct 11 23:17:24 melfina kernel: rl0: link state changed to DOWN Oct 11 23:17:24 melfina kernel: ichsmb0: irq 0x02 during -1 Oct 11 23:17:24 melfina acpi: resumed at 20061011 23:17:24 Oct 11 23:17:24 melfina kernel: rl0: link state changed to UP Oct 11 23:18:10 melfina kernel: can't re-use a leaf (directional_scrolls)! Oct 11 23:18:10 melfina kernel: can't re-use a leaf (low_speed_threshold)! Oct 11 23:18:10 melfina kernel: can't re-use a leaf (min_movement)! Oct 11 23:18:10 melfina kernel: can't re-use a leaf (squelch_level)! From owner-freebsd-mobile@FreeBSD.ORG Wed Oct 11 17:03:45 2006 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8713516A4A7 for ; Wed, 11 Oct 2006 17:03:45 +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 7AD8043E08 for ; Wed, 11 Oct 2006 16:58:36 +0000 (GMT) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.4) with SMTP id CAA17623 for ; Thu, 12 Oct 2006 02:58:33 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 12 Oct 2006 02:58:32 +1000 (EST) From: Ian Smith To: mobile@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Subject: External touchpad? 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, 11 Oct 2006 17:03:45 -0000 Hi, running a Thinkpad T23 on 6.1-RELEASE. Happy but for the 'stickmouse', finding it tediously unproductive after using a nice touchpad for years. Does anyone know of a usable compact external touchpad? The Cirque Easy Cat (http://www.cirque.com/cpages/?page=24) looks about the useful size, but Google has so far let me down regarding whether this might work with FreeBSD, PS/2 or USB. It seems to be a successor to the ALPS Glidepoint (too chunky, serial only) which has long been listed as supported. Or are there any others? Thanks in advance for any tips, Cheers, Ian From owner-freebsd-mobile@FreeBSD.ORG Wed Oct 11 17:35:31 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 926DB16A5BC for ; Wed, 11 Oct 2006 17:35:31 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDF6044124 for ; Wed, 11 Oct 2006 17:28:46 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0J6Z00LBXF7N7L20@osl1smout1.broadpark.no> for freebsd-mobile@freebsd.org; Wed, 11 Oct 2006 19:28:35 +0200 (CEST) Received: from kg-work.kg4.no ([80.203.21.224]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with SMTP id <0J6Z00GD0F7MBL10@osl1sminn1.broadpark.no> for freebsd-mobile@freebsd.org; Wed, 11 Oct 2006 19:28:35 +0200 (CEST) Date: Wed, 11 Oct 2006 19:28:34 +0200 From: Torfinn Ingolfsen 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 In-reply-to: <200610100921.54233.jhb@freebsd.org> To: freebsd-mobile@freebsd.org Message-id: <20061011192834.4643a450.torfinn.ingolfsen@broadpark.no> MIME-version: 1.0 X-Mailer: Sylpheed version 2.2.9 (GTK+ 2.8.20; i386-portbld-freebsd5.5) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <20060930001213.a59d721c.torfinn.ingolfsen@broadpark.no> <200610091611.46706.jhb@freebsd.org> <20061010095205.GS4945@poupinou.org> <200610100921.54233.jhb@freebsd.org> Subject: Re: Acer Aspire 5672 and FreeBSD 6.2-beta1 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, 11 Oct 2006 17:35:31 -0000 On Tue, 10 Oct 2006 09:21:53 -0400 John Baldwin wrote: > allocate resources for it. At this point you will probably want to > get a boot -v so you can see what the bus prints out when it first > looks at the device first. If the BAR is listed (but with a base of > 0), then you will want to look at the stuff in pci_alloc_resource(). FWIW, the web page http://tingox.googlepages.com/aceraspireas5672andfreebsd already have verbose dmesg's for 6.2-beta1, in case that helps. For more datapoints, there are dmesg outputs of this laptop running NetBSD: http://tingox.googlepages.com/as5672_netbsd OpenBSD: http://tingox.googlepages.com/as5672_openbsd Xubuntu: http://tingox.googlepages.com/as5672_xubuntu in case it adds value. HTH -- Regards, Torfinn Ingolfsen, Norway From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 12 13:09:01 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0477E16A52D for ; Thu, 12 Oct 2006 13:09:01 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from strange.daemonsecurity.com (59.Red-81-33-11.staticIP.rima-tde.net [81.33.11.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCECF43D46 for ; Thu, 12 Oct 2006 13:08:47 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [10.35.4.65] (65.4-35-10-static.chueca.wifi [10.35.4.65]) by strange.daemonsecurity.com (Postfix) with ESMTP id 7C1E62E037 for ; Thu, 12 Oct 2006 15:08:46 +0200 (CEST) Message-ID: <452E3E0B.6040709@locolomo.org> Date: Thu, 12 Oct 2006 15:07:23 +0200 From: Erik Norgaard User-Agent: Thunderbird 1.5.0.7 (X11/20060916) MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: ACPI Problems: IRQ conflicts on USB controllers and SATA controller 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, 12 Oct 2006 13:09:01 -0000 Hi: I have previously written about my buggy Sony VAIO (FJ3S) and some problems was resolved. In brief: I have IRQ conflicts on the USB controllers causing two controllers to be non-functional: uhci0@pci0:29:0: IRQ 5 uhci1@pci0:29:1: IRQ 10 uhci2@pci0:29:2: IRQ 255 uhci3@pci0:29:3: IRQ 255 ehci0@pci0:29:7: IRQ 5 Further USB devices are slow or not found, it takes 30 seconds before da0s1 on a USB stick appears among the devices, and it may not be mountable. Also, atapci0@pci0:31:2 Intel Corporation 82801FBM (ICH6M) SATA Controller seems to cause an IRQ storm on IRQ 9 and is disabled. (wonder how I can boot then). I believe this relates to the IRQ problems. How do I manually assign IRQ's to these? Which IRQ's should I assign? Background: ACPI and APIC conflicts on this hardware, /if/ system successfully boots it grinds almost to a halt with 85% interrupt activity. Disabling apic solves the problem. Booting with apic disabled, /if/ successful, the system freezes after a while, but all devices are configured, there is still some 3.5% interrupt activity. Disabling acpi pci_link solves the issue. There remains interrupt conflicts and interrupt storms: The wireless iwi card caused interrupt storm on IRQ 5, this has been resolved by setting it manually in loader.conf. The problem: USB Controllers: As described above, two of the 4 UCHI controllers are not assigned IRQ's when pci_link is disabled (dmesg): uhci2: at device 29.2 on pci0 uhci2: Could not allocate irq device_attach: uhci2 attach returned 6 uhci3: at device 29.3 on pci0 uhci3: Could not allocate irq device_attach: uhci3 attach returned 6 If booting with pci_link enabled IRQ's are assigned to all 4 controllers, but I do not know if device numbering change or IRQ's are assigned differently, the devices get the following IRQ's: uhci0@pci0:29:0: IRQ 5 uhci1@pci0:29:1: IRQ 9 uhci2@pci0:29:2: IRQ 3 uhci3@pci0:29:3: IRQ 10 ehci0@pci0:29:7: IRQ 5 I do not know if these IRQ's are the correct ones, afterall, the system freezes after a while when pci_link is enabled. Things get more messy, there is a built in USB web cam attached to the ehci controler. I do not know if this interferes or causes problems, but I can't physically disconnect it. SATA Controller: There is an interrupt storm on IRQ 9 right before the ATA disks are identified. With pci_link disabled I have the following: 00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Subsystem: Sony Corporation Unknown device 81f1 Flags: bus master, medium devsel, latency 0 00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Subsystem: Sony Corporation Unknown device 81f1 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 255 00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) Subsystem: Sony Corporation Unknown device 81f1 Flags: medium devsel, IRQ 10 Enabling pci_link I have: 00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Subsystem: Sony Corporation Unknown device 81f1 Flags: bus master, medium devsel, latency 0 00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Subsystem: Sony Corporation Unknown device 81f1 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 255 00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) Subsystem: Sony Corporation Unknown device 81f1 Flags: medium devsel, IRQ 9 This interrupt storm ALSO occurs with pci_link enabled. QUESTION: How do I resolve the conflicts: How do I specify IRQ's for the above devices? Which IRQ's should I assign? The correct solution may be to load a custom ASL to load. I tried to dump and compile the existing ASL and got only one warning: /tmp/sony.asl 3527: Method (SODV, 1, NotSerialized) Warning 2019 - ^ Not all control paths return a value (SODV) ASL Input: /tmp/sony.asl - 5293 lines, 169636 bytes, 2529 keywords AML Output: DSDT.aml - 20447 bytes 586 named objects 1943 executable opcodes Compilation complete. 0 Errors, 1 Warnings, 0 Remarks, 584 Optimizations Is there any documentation on how to debug/write the ASL code? Thanks for reading all the way to the bottom, double up thanks if you can provide any hints or help resolving these issues. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 12 13:24:00 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B13116A494 for ; Thu, 12 Oct 2006 13:24:00 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from strange.daemonsecurity.com (59.Red-81-33-11.staticIP.rima-tde.net [81.33.11.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD59043D90 for ; Thu, 12 Oct 2006 13:23:53 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [10.35.4.65] (65.4-35-10-static.chueca.wifi [10.35.4.65]) by strange.daemonsecurity.com (Postfix) with ESMTP id 8FD4F2E037; Thu, 12 Oct 2006 15:23:52 +0200 (CEST) Message-ID: <452E4195.5060302@locolomo.org> Date: Thu, 12 Oct 2006 15:22:29 +0200 From: Erik Norgaard User-Agent: Thunderbird 1.5.0.7 (X11/20060916) MIME-Version: 1.0 To: Erik Norgaard References: <452E3E0B.6040709@locolomo.org> In-Reply-To: <452E3E0B.6040709@locolomo.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: ACPI Problems: IRQ conflicts on USB controllers and SATA controller 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, 12 Oct 2006 13:24:00 -0000 I forgot, maybe useful, without pci_link enabled: photon# vmstat -i interrupt total rate irq0: clk 6752692 999 irq1: atkbd0 16595 2 irq5: iwi0 uhci0+ 26019 3 irq7: fwohci0 1 0 irq8: rtc 864206 127 irq9: acpi0 6752011 999 irq10: pcm0 cbb0+* 2 0 irq12: psm0 68940 10 irq14: ata0 13938 2 irq15: ata1 48 0 Total 14494452 2146 -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 12 14:08:41 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45F1816A4C2 for ; Thu, 12 Oct 2006 14:08:41 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id B29E343E6C for ; Thu, 12 Oct 2006 14:06:59 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k9CE6qIT005698; Thu, 12 Oct 2006 10:06:53 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-mobile@freebsd.org Date: Thu, 12 Oct 2006 09:19:55 -0400 User-Agent: KMail/1.9.1 References: <452E3E0B.6040709@locolomo.org> In-Reply-To: <452E3E0B.6040709@locolomo.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610120919.56698.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Thu, 12 Oct 2006 10:06:53 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/2026/Thu Oct 12 02:47:06 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Erik Norgaard Subject: Re: ACPI Problems: IRQ conflicts on USB controllers and SATA controller 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, 12 Oct 2006 14:08:41 -0000 On Thursday 12 October 2006 09:07, Erik Norgaard wrote: > Hi: > > I have previously written about my buggy Sony VAIO (FJ3S) and some > problems was resolved. > > In brief: > > I have IRQ conflicts on the USB controllers causing two controllers to > be non-functional: Can you put a verbose dmesg (boot -v) from a boot with APIC enabled? Also, did you try with just ACPI disabled (but leaving APIC enabled). -- John Baldwin From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 12 15:08:18 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7490116A407; Thu, 12 Oct 2006 15:08:18 +0000 (UTC) (envelope-from ducrot@poupinou.org) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB1E343D62; Thu, 12 Oct 2006 15:08:17 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1GY2AS-0001tS-00; Thu, 12 Oct 2006 17:08:16 +0200 Date: Thu, 12 Oct 2006 17:08:16 +0200 To: John Baldwin Message-ID: <20061012150816.GW4945@poupinou.org> References: <20060930001213.a59d721c.torfinn.ingolfsen@broadpark.no> <200610091611.46706.jhb@freebsd.org> <20061010095205.GS4945@poupinou.org> <200610100921.54233.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200610100921.54233.jhb@freebsd.org> User-Agent: Mutt/1.5.9i From: Bruno Ducrot Cc: freebsd-mobile@freebsd.org Subject: Re: Acer Aspire 5672 and FreeBSD 6.2-beta1 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, 12 Oct 2006 15:08:18 -0000 On Tue, Oct 10, 2006 at 09:21:53AM -0400, John Baldwin wrote: > On Tuesday 10 October 2006 05:52, Bruno Ducrot wrote: > > On Mon, Oct 09, 2006 at 04:11:46PM -0400, John Baldwin wrote: > > > On Saturday 07 October 2006 15:03, Bruno Ducrot wrote: > > > > On Sat, Oct 07, 2006 at 06:46:42PM +0200, Torfinn Ingolfsen wrote: > > > > > On Sat, 07 Oct 2006 17:01:03 +0200 > > > > > Bruno Ducrot wrote: > > > > > > > > > > > Thanks. The device do not have a BAR when acpi is enabled. We > > > > > > therefore have to enable one. I think just by poking aroud some pci > > > > > > config registers onto the pci bridge will do the trick. Your > > > > > > > > > > Ok. I'm wondering; will output from lspci under Linux help you get at > > > > > the info more easily? I have Xubuntu installed on a partition on this > > > > > machine, so it is easy for me to do that, if you wish. > > > > > > > > Well, I don't know if that will be helpful. Humm, maybe a dmesg? > > > > > > > > > > Looking at this datasheet I think we have to look more carrefully to > > > > > > register 0x04 (halfword), 0x20h, 0x24, 0x28 and 0x2c. > > > > > > Looking them both with and without acpi and comparing them will allows > > > > > > us to know hopefully how to enable the first BAR to the correct adress > > > > > > for your ethernet card. In short, if you can first boot without ACPI, > > > > > > then perform > > > > > > pciconf -r -h pci0:28:2 4 > > > > > > pciconf -r pci0:28:2 0x20 > > > > > > pciconf -r pci0:28:2 0x24 > > > > > > pciconf -r pci0:28:2 0x28 > > > > > > pciconf -r pci0:28:2 0x2c > > > > > > > > > > > > Also do a dump in order to check if something else might be needed: > > > > > > pciconf -r -b pci0:28:2 0:256 > > > > > > > > > > > > Boot with ACPI enabled: > > > > > > do the same pciconf stuff, then send me the output. > > > > > > > > > > Done. I've sent you the files via email, and also uploaded them to the > > > > > web page, in case anyone else wants them for some reason. Webpage: > > > > > http://tingox.googlepages.com/aceraspireas5672andfreebsd > > > > > > > > > > > After that, we should be able to correct your problem, either by > > > > > > 1- hacking the DSDT, > > > > > > OR > > > > > > 2- hacking pcib.c. > > > > > > (at your option). > > > > > > > > > > I think hacking the DSDT is the more politically correct option, but > > > > > either one will work for me. > > > > > > > > Ok. First remove device bge in your kernel config. For example create a > > > > config file with: > > > > > > > > >>> BEGIN > > > > include GENERIC > > > > ident MYKERNEL (or what you like) > > > > nodevice bge > > > > <<< END > > > > > > > > After rebuilding and installing your kernel, > > > > you can do something like that: > > > > > > > > pciconf -w pci0:28:2 0xd8 0x04110008 > > > > > > > > pciconf -w -h pci0:28:2 0x58 0x0000 > > > > > > > > pciconf -w pci0:28:2 0x24 0x0001fff1 > > > > pciconf -w pci0:28:2 0x20 0xc830c830 > > > > > > > > pciconf -w -h pci0:28:2 0x04 0x0007 > > > > > > > > > > > > After that, you should be able to kldload if_bge and report back if > > > > this work. In that case I will modify the DSDT so that you won't to > > > > worry about all of those pciconf stuff. > > > > > > You really shouldn't change BAR registers directly. First of all, the PCI > > > bus driver already knows how to allocate resources for a BAR if it is set > > > to 0 and when doing so will make sure to not allocate an address that > > > conflicts with another device. Secondly, a lot of PCI config registers are > > > cached in the ivars by the PCI bus, so it may not even read the values you > > > write into it (though writing those values will turn on the address decode > > > for the device, and if another device is using that address things will go > > > downhill quick). > > > > You are indeed right. The issue therefore seems to be, when ACPI is enabled, > > then the PCI bus driver doesn't set up correctly a BAR. > > FYI the bridge is one of the four PCIe embedded to an ICH-7. > > The PCI bus driver does the same thing regardless of ACPI. When the NIC driver > does its bus_alloc_resource() the PCI bus should then go allocate resources for > it. At this point you will probably want to get a boot -v so you can see what > the bus prints out when it first looks at the device first. If the BAR is > listed (but with a base of 0), then you will want to look at the stuff in > pci_alloc_resource(). > John, the relevant info. is (I think) : pcib4: irq 18 at device 28.2 on pci0 pcib4: secondary bus 4 pcib4: subordinate bus 4 pcib4: I/O decode 0x0-0x0 pcib4: memory decode 0x0-0x0 pcib4: prefetched decode 0x0-0x0 pci4: on pcib4 pci4: physical bus=4 found-> vendor=0x14e4, dev=0x169d, revid=0x21 bus=4, slot=0, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0000, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=10 powerspec 2 supports D0 D3 current D0 MSI supports 8 messages, 64 bit map[10]: type 1, range 64, base 00000000, size 16, memory disabled bge0: irq 18 at device 0.0 on pci4 pcib4: bge0 requested unsupported memory range 0x0-0xffffffff (decoding 0x0-0x0, 0x0-0x0) bge0: 0x10000 bytes of rid 0x10 res 3 failed (0, 0xffffffff). bge0: couldn't map memory device_attach: bge0 attach returned 6 Sound like the PCI-PCI bridge is not setup correct to me at first. Cheers, -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 12 16:44:38 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18B1016A519 for ; Thu, 12 Oct 2006 16:44:38 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1671343E4B for ; Thu, 12 Oct 2006 16:42:50 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k9CGgY1f006739; Thu, 12 Oct 2006 12:42:46 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Bruno Ducrot Date: Thu, 12 Oct 2006 12:40:52 -0400 User-Agent: KMail/1.9.1 References: <20060930001213.a59d721c.torfinn.ingolfsen@broadpark.no> <200610100921.54233.jhb@freebsd.org> <20061012150816.GW4945@poupinou.org> In-Reply-To: <20061012150816.GW4945@poupinou.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610121240.53015.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Thu, 12 Oct 2006 12:42:46 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/2026/Thu Oct 12 02:47:06 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: freebsd-mobile@freebsd.org Subject: Re: Acer Aspire 5672 and FreeBSD 6.2-beta1 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, 12 Oct 2006 16:44:38 -0000 On Thursday 12 October 2006 11:08, Bruno Ducrot wrote: > On Tue, Oct 10, 2006 at 09:21:53AM -0400, John Baldwin wrote: > > On Tuesday 10 October 2006 05:52, Bruno Ducrot wrote: > > > On Mon, Oct 09, 2006 at 04:11:46PM -0400, John Baldwin wrote: > > > > On Saturday 07 October 2006 15:03, Bruno Ducrot wrote: > > > > > On Sat, Oct 07, 2006 at 06:46:42PM +0200, Torfinn Ingolfsen wrote: > > > > > > On Sat, 07 Oct 2006 17:01:03 +0200 > > > > > > Bruno Ducrot wrote: > > > > > > > > > > > > > Thanks. The device do not have a BAR when acpi is enabled. We > > > > > > > therefore have to enable one. I think just by poking aroud some pci > > > > > > > config registers onto the pci bridge will do the trick. Your > > > > > > > > > > > > Ok. I'm wondering; will output from lspci under Linux help you get at > > > > > > the info more easily? I have Xubuntu installed on a partition on this > > > > > > machine, so it is easy for me to do that, if you wish. > > > > > > > > > > Well, I don't know if that will be helpful. Humm, maybe a dmesg? > > > > > > > > > > > > Looking at this datasheet I think we have to look more carrefully to > > > > > > > register 0x04 (halfword), 0x20h, 0x24, 0x28 and 0x2c. > > > > > > > Looking them both with and without acpi and comparing them will allows > > > > > > > us to know hopefully how to enable the first BAR to the correct adress > > > > > > > for your ethernet card. In short, if you can first boot without ACPI, > > > > > > > then perform > > > > > > > pciconf -r -h pci0:28:2 4 > > > > > > > pciconf -r pci0:28:2 0x20 > > > > > > > pciconf -r pci0:28:2 0x24 > > > > > > > pciconf -r pci0:28:2 0x28 > > > > > > > pciconf -r pci0:28:2 0x2c > > > > > > > > > > > > > > Also do a dump in order to check if something else might be needed: > > > > > > > pciconf -r -b pci0:28:2 0:256 > > > > > > > > > > > > > > Boot with ACPI enabled: > > > > > > > do the same pciconf stuff, then send me the output. > > > > > > > > > > > > Done. I've sent you the files via email, and also uploaded them to the > > > > > > web page, in case anyone else wants them for some reason. Webpage: > > > > > > http://tingox.googlepages.com/aceraspireas5672andfreebsd > > > > > > > > > > > > > After that, we should be able to correct your problem, either by > > > > > > > 1- hacking the DSDT, > > > > > > > OR > > > > > > > 2- hacking pcib.c. > > > > > > > (at your option). > > > > > > > > > > > > I think hacking the DSDT is the more politically correct option, but > > > > > > either one will work for me. > > > > > > > > > > Ok. First remove device bge in your kernel config. For example create a > > > > > config file with: > > > > > > > > > > >>> BEGIN > > > > > include GENERIC > > > > > ident MYKERNEL (or what you like) > > > > > nodevice bge > > > > > <<< END > > > > > > > > > > After rebuilding and installing your kernel, > > > > > you can do something like that: > > > > > > > > > > pciconf -w pci0:28:2 0xd8 0x04110008 > > > > > > > > > > pciconf -w -h pci0:28:2 0x58 0x0000 > > > > > > > > > > pciconf -w pci0:28:2 0x24 0x0001fff1 > > > > > pciconf -w pci0:28:2 0x20 0xc830c830 > > > > > > > > > > pciconf -w -h pci0:28:2 0x04 0x0007 > > > > > > > > > > > > > > > After that, you should be able to kldload if_bge and report back if > > > > > this work. In that case I will modify the DSDT so that you won't to > > > > > worry about all of those pciconf stuff. > > > > > > > > You really shouldn't change BAR registers directly. First of all, the PCI > > > > bus driver already knows how to allocate resources for a BAR if it is set > > > > to 0 and when doing so will make sure to not allocate an address that > > > > conflicts with another device. Secondly, a lot of PCI config registers are > > > > cached in the ivars by the PCI bus, so it may not even read the values you > > > > write into it (though writing those values will turn on the address decode > > > > for the device, and if another device is using that address things will go > > > > downhill quick). > > > > > > You are indeed right. The issue therefore seems to be, when ACPI is enabled, > > > then the PCI bus driver doesn't set up correctly a BAR. > > > FYI the bridge is one of the four PCIe embedded to an ICH-7. > > > > The PCI bus driver does the same thing regardless of ACPI. When the NIC driver > > does its bus_alloc_resource() the PCI bus should then go allocate resources for > > it. At this point you will probably want to get a boot -v so you can see what > > the bus prints out when it first looks at the device first. If the BAR is > > listed (but with a base of 0), then you will want to look at the stuff in > > pci_alloc_resource(). > > > > John, the relevant info. is (I think) : > > pcib4: irq 18 at device 28.2 on pci0 > pcib4: secondary bus 4 > pcib4: subordinate bus 4 > pcib4: I/O decode 0x0-0x0 > pcib4: memory decode 0x0-0x0 > pcib4: prefetched decode 0x0-0x0 > pci4: on pcib4 > pci4: physical bus=4 > found-> vendor=0x14e4, dev=0x169d, revid=0x21 > bus=4, slot=0, func=0 > class=02-00-00, hdrtype=0x00, mfdev=0 > cmdreg=0x0000, statreg=0x0010, cachelnsz=16 (dwords) > lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > intpin=a, irq=10 > powerspec 2 supports D0 D3 current D0 > MSI supports 8 messages, 64 bit > map[10]: type 1, range 64, base 00000000, size 16, memory disabled > bge0: irq 18 at device 0.0 on pci4 > pcib4: bge0 requested unsupported memory range 0x0-0xffffffff (decoding 0x0-0x0, 0x0-0x0) > bge0: 0x10000 bytes of rid 0x10 res 3 failed (0, 0xffffffff). > bge0: couldn't map memory > device_attach: bge0 attach returned 6 > > > Sound like the PCI-PCI bridge is not setup correct to me at first. Yeah, it's not recursively allocating resources from its parent. Warner might be able to look into this when he recovers from the new munchkin. -- John Baldwin From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 12 16:46:07 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E8CC16A47E; Thu, 12 Oct 2006 16:46:07 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from strange.daemonsecurity.com (59.Red-81-33-11.staticIP.rima-tde.net [81.33.11.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DD3243DD0; Thu, 12 Oct 2006 16:43:59 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [10.35.4.65] (65.4-35-10-static.chueca.wifi [10.35.4.65]) by strange.daemonsecurity.com (Postfix) with ESMTP id 78DB02E037; Thu, 12 Oct 2006 18:43:51 +0200 (CEST) Message-ID: <452E7074.6040001@locolomo.org> Date: Thu, 12 Oct 2006 18:42:28 +0200 From: Erik Norgaard User-Agent: Thunderbird 1.5.0.7 (X11/20060916) MIME-Version: 1.0 To: John Baldwin References: <452E3E0B.6040709@locolomo.org> <200610120919.56698.jhb@freebsd.org> In-Reply-To: <200610120919.56698.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: ACPI Problems: IRQ conflicts on USB controllers and SATA controller 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, 12 Oct 2006 16:46:07 -0000 John Baldwin wrote: > On Thursday 12 October 2006 09:07, Erik Norgaard wrote: >> Hi: >> >> I have previously written about my buggy Sony VAIO (FJ3S) and some >> problems was resolved. >> >> In brief: >> >> I have IRQ conflicts on the USB controllers causing two controllers to >> be non-functional: > > Can you put a verbose dmesg (boot -v) from a boot with APIC enabled? OK, I have updated source and rebuilt kernel just to make sure, sorry I forgot to mention that I'm on RELENG_6. The only reliable boot is with apic and pci_link disabled. Otherwise I may have to boot multiple times before the system comes up correctly, and when it fails this may not always happen at the same place: I may get an infinite loop of AcpiEvGpeDispatch errors or it may hang after finding disks or when gathering entropy. I have dumped dmesg and other stuff with different options at boot, since this is pretty verbose I've placed it on my website: boot -v: http://www.locolomo.org/src/acpi/dmesg-GENERIC-v http://www.locolomo.org/src/acpi/sysctl-GENERIC-v http://www.locolomo.org/src/acpi/pciconf-GENERIC-v http://www.locolomo.org/src/acpi/lspci-GENERIC-v http://www.locolomo.org/src/acpi/vmstat-GENERIC-v boot -v, acpi disabled: http://www.locolomo.org/src/acpi/dmesg-GENERIC-v-no_acpi http://www.locolomo.org/src/acpi/sysctl-GENERIC-v-no_acpi http://www.locolomo.org/src/acpi/pciconf-GENERIC-v-no_acpi http://www.locolomo.org/src/acpi/lspci-GENERIC-v-no_acpi http://www.locolomo.org/src/acpi/vmstat-GENERIC-v-no_acpi boot -v, apic disabled: http://www.locolomo.org/src/acpi/dmesg-GENERIC-v-no_apic http://www.locolomo.org/src/acpi/sysctl-GENERIC-v-no_apic http://www.locolomo.org/src/acpi/pciconf-GENERIC-v-no_apic http://www.locolomo.org/src/acpi/lspci-GENERIC-v-no_apic http://www.locolomo.org/src/acpi/vmstat-GENERIC-v-no_apic boot -v, apic disabled, pci_link disabled: http://www.locolomo.org/src/acpi/dmesg-GENERIC-v-no_apic_pcilink http://www.locolomo.org/src/acpi/sysctl-GENERIC-v-no_apic_pcilink http://www.locolomo.org/src/acpi/pciconf-GENERIC-v-no_apic_pcilink http://www.locolomo.org/src/acpi/lspci-GENERIC-v-no_apic_pcilink http://www.locolomo.org/src/acpi/vmstat-GENERIC-v-no_apic_pcilink Also, there is the ASL dump: http://www.locolomo.org/src/acpi/sony.asl > Also, did you try with just ACPI disabled (but leaving APIC enabled). Yes, in that case the wireless (iwi) won't come up correctly. Thanks, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 12 19:10:36 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6AA6E16A4A7 for ; Thu, 12 Oct 2006 19:10:36 +0000 (UTC) (envelope-from shtanislave@ya.ru) Received: from webmail12.mail.yandex.net (webmail12.mail.yandex.net [213.180.223.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20CC643DB9 for ; Thu, 12 Oct 2006 19:09:31 +0000 (GMT) (envelope-from shtanislave@ya.ru) Received: from YAMAIL (webmail12.yandex.ru) by mail.yandex.ru id ; Thu, 12 Oct 2006 23:09:24 +0400 Received: from [213.141.154.21] ([213.141.154.21]) by mail.yandex.ru with HTTP; Thu, 12 Oct 2006 23:09:24 +0400 (MSD) Date: Thu, 12 Oct 2006 23:09:24 +0400 (MSD) From: "shtanislave" Sender: shtanislave@ya.ru Message-Id: <452E92E4.00000A.10380@webmail12.yandex.ru> MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] Errors-To: shtanislave@ya.ru To: freebsd-mobile@freebsd.org X-Source-Ip: 213.141.154.21 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Problem whith Asus A6T X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: shtanislave@ya.ru List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2006 19:10:36 -0000 Hello! At loading FreeBSD 7.0 snapshot 10.2006 on notebook Asus A6T the system is loaded normally but works very slowly. I think that it from for bad work of support SMP (as FreeBSD 5.2.1 works normally) Stanislave Fedulov, Mosckow,Russia From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 12 19:19:11 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBDD716A416 for ; Thu, 12 Oct 2006 19:19:11 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3612E43E48 for ; Thu, 12 Oct 2006 19:16:32 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k9CJGPb1007741; Thu, 12 Oct 2006 15:16:26 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Erik Norgaard Date: Thu, 12 Oct 2006 15:01:47 -0400 User-Agent: KMail/1.9.1 References: <452E3E0B.6040709@locolomo.org> <200610120919.56698.jhb@freebsd.org> <452E7074.6040001@locolomo.org> In-Reply-To: <452E7074.6040001@locolomo.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610121501.48116.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Thu, 12 Oct 2006 15:16:26 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/2027/Thu Oct 12 13:49:16 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00, SUBJECT_EXCESS_QP autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: freebsd-mobile@freebsd.org Subject: Re: ACPI Problems: IRQ conflicts on USB controllers and SATA controller 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, 12 Oct 2006 19:19:12 -0000 On Thursday 12 October 2006 12:42, Erik Norgaard wrote: > John Baldwin wrote: > > On Thursday 12 October 2006 09:07, Erik Norgaard wrote: > >> Hi: > >> > >> I have previously written about my buggy Sony VAIO (FJ3S) and some > >> problems was resolved. > >> > >> In brief: > >> > >> I have IRQ conflicts on the USB controllers causing two controllers to > >> be non-functional: > > > > Can you put a verbose dmesg (boot -v) from a boot with APIC enabled? > > OK, I have updated source and rebuilt kernel just to make sure, sorry I > forgot to mention that I'm on RELENG_6. > > The only reliable boot is with apic and pci_link disabled. Otherwise I > may have to boot multiple times before the system comes up correctly, > and when it fails this may not always happen at the same place: I may > get an infinite loop of AcpiEvGpeDispatch errors or it may hang after > finding disks or when gathering entropy. > > I have dumped dmesg and other stuff with different options at boot, > since this is pretty verbose I've placed it on my website: > > boot -v: > > http://www.locolomo.org/src/acpi/dmesg-GENERIC-v > http://www.locolomo.org/src/acpi/sysctl-GENERIC-v > http://www.locolomo.org/src/acpi/pciconf-GENERIC-v > http://www.locolomo.org/src/acpi/lspci-GENERIC-v > http://www.locolomo.org/src/acpi/vmstat-GENERIC-v Nothing here looks wrong. Can you break into the debugger when the box locks up? > boot -v, acpi disabled: Doesn't detect APIC. BIOS is too dumb to provide $PIR. That's a new low for incompetence on the part of BIOS writers. > boot -v, apic disabled: > > http://www.locolomo.org/src/acpi/dmesg-GENERIC-v-no_apic The problem here is (again) really stupid BIOS writers. Maybe they can't read. Edit your ASL to change the resources to say that IRQ 10 (which the BIOS assigns) is ok instead of IRQ 11. You can probably get by just with fixing LNKD's resource: Device (LNKD) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x04) Method (_DIS, 0, Serialized) { Store (0x80, PDRC) } Name (_PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {1,3,4,5,6,7,11,12,14,15} }) Replace the '11' here with '10' and update it. In fact, you should fix the ones with IRQ's '10' and '12' to list '10' and '11' instead and the ones with '11' and '12' to list '10' and '11' instead. 12 is used by your PS/2 mouse/trackpad, so it isn't suitable. -- John Baldwin From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 12 19:57:16 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43E3316A407; Thu, 12 Oct 2006 19:57:16 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from strange.daemonsecurity.com (59.Red-81-33-11.staticIP.rima-tde.net [81.33.11.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C5DE43D5E; Thu, 12 Oct 2006 19:56:45 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [10.35.4.65] (65.4-35-10-static.chueca.wifi [10.35.4.65]) by strange.daemonsecurity.com (Postfix) with ESMTP id F16B52E037; Thu, 12 Oct 2006 21:56:43 +0200 (CEST) Message-ID: <452E9DA7.9050008@locolomo.org> Date: Thu, 12 Oct 2006 21:55:19 +0200 From: Erik Norgaard User-Agent: Thunderbird 1.5.0.7 (X11/20060916) MIME-Version: 1.0 To: John Baldwin References: <452E3E0B.6040709@locolomo.org> <200610120919.56698.jhb@freebsd.org> <452E7074.6040001@locolomo.org> <200610121501.48116.jhb@freebsd.org> In-Reply-To: <200610121501.48116.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: ACPI Problems: IRQ conflicts on USB controllers and SATA controller 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, 12 Oct 2006 19:57:16 -0000 John Baldwin wrote: > On Thursday 12 October 2006 12:42, Erik Norgaard wrote: >> I have dumped dmesg and other stuff with different options at boot, >> since this is pretty verbose I've placed it on my website: >> >> boot -v: >> >> http://www.locolomo.org/src/acpi/dmesg-GENERIC-v >> http://www.locolomo.org/src/acpi/sysctl-GENERIC-v >> http://www.locolomo.org/src/acpi/pciconf-GENERIC-v >> http://www.locolomo.org/src/acpi/lspci-GENERIC-v >> http://www.locolomo.org/src/acpi/vmstat-GENERIC-v > > Nothing here looks wrong. Can you break into the debugger when the box > locks up? The box freezes when apic is disabled but pci_link is enabled. In the above case, both apic and pci_link are enabled, this sucks out resources of the box with 85% cpu on interrupt handling. I will try to see if I can get the debugger when apic is disabled and pci_link enabled. >> boot -v, acpi disabled: > > Doesn't detect APIC. BIOS is too dumb to provide $PIR. That's a new > low for incompetence on the part of BIOS writers. Strange - is ACPI required on this box to find APIC? Sounds wierd when they are both enabled they each seem to fight for control over the devices... >> boot -v, apic disabled: >> >> http://www.locolomo.org/src/acpi/dmesg-GENERIC-v-no_apic > > The problem here is (again) really stupid BIOS writers. Maybe they can't > read. Edit your ASL to change the resources to say that IRQ 10 (which > the BIOS assigns) is ok instead of IRQ 11. You can probably get by just > with fixing LNKD's resource: > > Device (LNKD) > { > Name (_HID, EisaId ("PNP0C0F")) > Name (_UID, 0x04) > Method (_DIS, 0, Serialized) > { > Store (0x80, PDRC) > } > > Name (_PRS, ResourceTemplate () > { > IRQ (Level, ActiveLow, Shared) > {1,3,4,5,6,7,11,12,14,15} > }) > > Replace the '11' here with '10' and update it. In fact, you should > fix the ones with IRQ's '10' and '12' to list '10' and '11' instead > and the ones with '11' and '12' to list '10' and '11' instead. > > 12 is used by your PS/2 mouse/trackpad, so it isn't suitable. Thanks I will try that. I'm new on this, will loading a custom ASL overwrite the existing permanently? I mean, I'm kind of worried that I mess up and have a box that can't boot at all. Secondly, I see there is nothing on IRQ9 in the ASL, yet I have an interrupt storm on IRQ9 also, should 9 be added to the list above? Finally, previously I solved the interrupt storm on IRQ5 by setting hw.pci6.10.INTA.irq=5 in the loader.conf, can this be corrected in the ASL also? Thanks, I hope your advice will solve the remaining problems. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 12 20:02:16 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63C0216A403 for ; Thu, 12 Oct 2006 20:02:16 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 762A943D7D for ; Thu, 12 Oct 2006 20:02:09 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0J7100JR6GZG5M40@osl1smout1.broadpark.no> for freebsd-mobile@freebsd.org; Thu, 12 Oct 2006 22:02:04 +0200 (CEST) Received: from kg-work.kg4.no ([80.203.21.224]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with SMTP id <0J71008T7GZGTTV2@osl1sminn1.broadpark.no> for freebsd-mobile@freebsd.org; Thu, 12 Oct 2006 22:02:04 +0200 (CEST) Date: Thu, 12 Oct 2006 22:02:03 +0200 From: Torfinn Ingolfsen 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 In-reply-to: <20061008032416.dbd08821.torfinn.ingolfsen@broadpark.no> To: freebsd-mobile@freebsd.org Message-id: <20061012220203.b203cacd.torfinn.ingolfsen@broadpark.no> MIME-version: 1.0 X-Mailer: Sylpheed version 2.2.9 (GTK+ 2.8.20; i386-portbld-freebsd5.5) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <20060930033359.f40f65a8.torfinn.ingolfsen@broadpark.no> <20061001203849.f4cc9cd8.torfinn.ingolfsen@broadpark.no> <20061002204114.8e18b8d0.torfinn.ingolfsen@broadpark.no> <20061008032416.dbd08821.torfinn.ingolfsen@broadpark.no> Subject: Re: Install FreeBSD on an external (usb) hard drive? 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, 12 Oct 2006 20:02:16 -0000 On Sun, 08 Oct 2006 03:24:16 +0200 Torfinn Ingolfsen wrote: > On Mon, 02 Oct 2006 20:41:14 +0200 > Torfinn Ingolfsen wrote: > > > I guess it is (another) bios problem on the Acer Aspire AS5672. > > Interestingly, the NetBSD boot loader boots NetBSD fine from an usb > hard drive on the AS5672: http://tingox.googlepages.com/as5672_netbsd It (the NetBSD boot loader) also boots OpenBSD fine from an external hard drive, see http://tingox.googlepages.com/as5672_openbsd However, when I try to boot FreeBSD 6.2-beta2 (installed on slice 3 on that external usb hard drive), it fails again. Is there a problem somewhere in the initial boot of FreeBSD which makes boot from an usb hard drive impossible? -- Regards, Torfinn Ingolfsen, Norway From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 12 20:06:17 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF7C016A412 for ; Thu, 12 Oct 2006 20:06:17 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1CA043D55 for ; Thu, 12 Oct 2006 20:06:16 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k9CK69HB008148; Thu, 12 Oct 2006 16:06:09 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Erik Norgaard Date: Thu, 12 Oct 2006 16:06:21 -0400 User-Agent: KMail/1.9.1 References: <452E3E0B.6040709@locolomo.org> <200610121501.48116.jhb@freebsd.org> <452E9DA7.9050008@locolomo.org> In-Reply-To: <452E9DA7.9050008@locolomo.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610121606.22200.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Thu, 12 Oct 2006 16:06:09 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/2027/Thu Oct 12 13:49:16 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: freebsd-mobile@freebsd.org Subject: Re: ACPI Problems: IRQ conflicts on USB controllers and SATA controller 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, 12 Oct 2006 20:06:18 -0000 On Thursday 12 October 2006 15:55, Erik Norgaard wrote: > John Baldwin wrote: > > On Thursday 12 October 2006 12:42, Erik Norgaard wrote: > >> I have dumped dmesg and other stuff with different options at boot, > >> since this is pretty verbose I've placed it on my website: > >> > >> boot -v: > >> > >> http://www.locolomo.org/src/acpi/dmesg-GENERIC-v > >> http://www.locolomo.org/src/acpi/sysctl-GENERIC-v > >> http://www.locolomo.org/src/acpi/pciconf-GENERIC-v > >> http://www.locolomo.org/src/acpi/lspci-GENERIC-v > >> http://www.locolomo.org/src/acpi/vmstat-GENERIC-v > > > > Nothing here looks wrong. Can you break into the debugger when the box > > locks up? > > The box freezes when apic is disabled but pci_link is enabled. In the > above case, both apic and pci_link are enabled, this sucks out resources > of the box with 85% cpu on interrupt handling. Ok, so get vmstat -i output. There's not much flexibility here though as all the APIC IRQ's are hardcoded, so to guess which ones are routed incorrectly will be a pain. > I will try to see if I can get the debugger when apic is disabled and > pci_link enabled. Actually, I think I know what that is already. > >> boot -v, acpi disabled: > > > > Doesn't detect APIC. BIOS is too dumb to provide $PIR. That's a new > > low for incompetence on the part of BIOS writers. > > Strange - is ACPI required on this box to find APIC? Sounds wierd when > they are both enabled they each seem to fight for control over the > devices... ACPI and APIC are two _entirely_ different things. On your box, yes, ACPI is required to find APICs. > >> boot -v, apic disabled: > >> > >> http://www.locolomo.org/src/acpi/dmesg-GENERIC-v-no_apic > > > > The problem here is (again) really stupid BIOS writers. Maybe they can't > > read. Edit your ASL to change the resources to say that IRQ 10 (which > > the BIOS assigns) is ok instead of IRQ 11. You can probably get by just > > with fixing LNKD's resource: > > > > Device (LNKD) > > { > > Name (_HID, EisaId ("PNP0C0F")) > > Name (_UID, 0x04) > > Method (_DIS, 0, Serialized) > > { > > Store (0x80, PDRC) > > } > > > > Name (_PRS, ResourceTemplate () > > { > > IRQ (Level, ActiveLow, Shared) > > {1,3,4,5,6,7,11,12,14,15} > > }) > > > > Replace the '11' here with '10' and update it. In fact, you should > > fix the ones with IRQ's '10' and '12' to list '10' and '11' instead > > and the ones with '11' and '12' to list '10' and '11' instead. > > > > 12 is used by your PS/2 mouse/trackpad, so it isn't suitable. > > Thanks I will try that. I'm new on this, will loading a custom ASL > overwrite the existing permanently? I mean, I'm kind of worried that I > mess up and have a box that can't boot at all. No, you load it from the loader and the kernel just uses the one you load instead of the one from the BIOS. Check acpi(4) more. > Secondly, I see there is nothing on IRQ9 in the ASL, yet I have an > interrupt storm on IRQ9 also, should 9 be added to the list above? No. > Finally, previously I solved the interrupt storm on IRQ5 by setting > hw.pci6.10.INTA.irq=5 in the loader.conf, can this be corrected in the > ASL also? You really shouldn't use that hint, you should route an entire link (hw.pci.link.LNKD.irq = 5 for example) when using links. First try just fixing your ASL w/o using any settings in loader.conf. Hmm, you can also try just doing this w/o having to hack your ASL which might fix things: hw.pci.link.LNKB.irq=10 hw.pci.link.LNKD.irq=10 hw.pci.link.LNKF.irq=10 It will emit warnings about the IRQs not being valid but still use them, and this matches what your BIOS used. -- John Baldwin From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 12 21:18:02 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5C2916A407 for ; Thu, 12 Oct 2006 21:18:02 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6EC643D5E for ; Thu, 12 Oct 2006 21:17:53 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0J7100JCZKHO5MD0@osl1smout1.broadpark.no> for freebsd-mobile@freebsd.org; Thu, 12 Oct 2006 23:17:48 +0200 (CEST) Received: from kg-work.kg4.no ([80.203.21.224]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with SMTP id <0J71008ITKHN8W53@osl1sminn1.broadpark.no> for freebsd-mobile@freebsd.org; Thu, 12 Oct 2006 23:17:48 +0200 (CEST) Date: Thu, 12 Oct 2006 23:17:46 +0200 From: Torfinn Ingolfsen 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 In-reply-to: <20061012150816.GW4945@poupinou.org> To: freebsd-mobile@freebsd.org Message-id: <20061012231746.e3e83a4a.torfinn.ingolfsen@broadpark.no> MIME-version: 1.0 X-Mailer: Sylpheed version 2.2.9 (GTK+ 2.8.20; i386-portbld-freebsd5.5) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <20060930001213.a59d721c.torfinn.ingolfsen@broadpark.no> <200610091611.46706.jhb@freebsd.org> <20061010095205.GS4945@poupinou.org> <200610100921.54233.jhb@freebsd.org> <20061012150816.GW4945@poupinou.org> Subject: Re: Acer Aspire 5672 and FreeBSD 6.2-beta1 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, 12 Oct 2006 21:18:02 -0000 On Thu, 12 Oct 2006 17:08:16 +0200 Bruno Ducrot wrote: > Sound like the PCI-PCI bridge is not setup correct to me at first. I have upgraded the machine to FreeBSD 6.2-PRERELEASE, the web page http://tingox.googlepages.com/aceraspireas5672andfreebsd now has dmesg's for that as well. -- Regards, Torfinn Ingolfsen, Norway From owner-freebsd-mobile@FreeBSD.ORG Fri Oct 13 06:35:37 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CCC216A40F for ; Fri, 13 Oct 2006 06:35:37 +0000 (UTC) (envelope-from sob@academ.com) Received: from bdr.academ.com (BDR.ACADEM.COM [198.137.249.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8D5B43D4C for ; Fri, 13 Oct 2006 06:35:36 +0000 (GMT) (envelope-from sob@academ.com) Received: from [198.137.249.114] (PASSER-BY.ACADEM.COM [198.137.249.114]) (authenticated bits=0) by bdr.academ.com (8.13.4/8.13.4) with ESMTP id k9D6ZY6F079740 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 13 Oct 2006 01:35:34 -0500 (CDT) (envelope-from sob@academ.com) Message-ID: <452F33B5.7090400@academ.com> Date: Fri, 13 Oct 2006 01:35:33 -0500 From: Stan Barber User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on bdr.academ.com Subject: FreeBSD 6.1 and Prism-based wireless cards 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, 13 Oct 2006 06:35:37 -0000 I just upgraded my Compaq E500 from 5.4 to 6.1. Everything works fine except the Prism-based wireless card. It worked fine under 5.4. I verified the card didn't blow up under XP and Linux. I have even tried a different card that was working fine in the Linux laptop. Right now, it looks like it must be something about FreeBSD 6.1 (I have all the updates to p10 installed as well). Here is the error when either Prism-based card gets plugged in: wi0: timeout in wi_cmd 0x0000: event status 0x8000 :init failed device_attach: wi0 attach returned 6 By the way, the driver does correctly identify each card from the cis data. From owner-freebsd-mobile@FreeBSD.ORG Fri Oct 13 07:00:22 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC44416A412 for ; Fri, 13 Oct 2006 07:00:22 +0000 (UTC) (envelope-from sob@academ.com) Received: from bdr.academ.com (BDR.ACADEM.COM [198.137.249.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B86443D68 for ; Fri, 13 Oct 2006 07:00:22 +0000 (GMT) (envelope-from sob@academ.com) Received: from [198.137.249.114] (PASSER-BY.ACADEM.COM [198.137.249.114]) (authenticated bits=0) by bdr.academ.com (8.13.4/8.13.4) with ESMTP id k9D70DoK080104 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 13 Oct 2006 02:00:13 -0500 (CDT) (envelope-from sob@academ.com) Message-ID: <452F397C.6080700@academ.com> Date: Fri, 13 Oct 2006 02:00:12 -0500 From: Stan Barber User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <452F33B5.7090400@academ.com> In-Reply-To: <452F33B5.7090400@academ.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on bdr.academ.com Subject: Re: FreeBSD 6.1 and Prism-based wireless cards 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, 13 Oct 2006 07:00:23 -0000 This appears to be the acpi interacting with the card in some bad way. I have disabled apci in and now it will do the right thing. I have not yet had a chance to debug this further, but will report back when I do. I also tested this with a Aeronet (now Cisco) card and it would get into some kind of infinite wait state (it was not hung as I could remove the card, the driver would abort, and thing came back to normal). > From owner-freebsd-mobile@FreeBSD.ORG Fri Oct 13 17:01:37 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50C5016A40F; Fri, 13 Oct 2006 17:01:37 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from strange.daemonsecurity.com (59.Red-81-33-11.staticIP.rima-tde.net [81.33.11.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCE5B43D45; Fri, 13 Oct 2006 17:00:13 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [10.35.4.65] (65.4-35-10-static.chueca.wifi [10.35.4.65]) by strange.daemonsecurity.com (Postfix) with ESMTP id DC13F2E037; Fri, 13 Oct 2006 19:00:11 +0200 (CEST) Message-ID: <452FC5C6.1080304@locolomo.org> Date: Fri, 13 Oct 2006 18:58:46 +0200 From: Erik Norgaard User-Agent: Thunderbird 1.5.0.7 (X11/20060916) MIME-Version: 1.0 To: John Baldwin References: <452E3E0B.6040709@locolomo.org> <200610121501.48116.jhb@freebsd.org> <452E9DA7.9050008@locolomo.org> <200610121606.22200.jhb@freebsd.org> In-Reply-To: <200610121606.22200.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: ACPI Problems: IRQ conflicts on USB controllers and SATA controller 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, 13 Oct 2006 17:01:37 -0000 Thanks, I tried but no luck... :( John Baldwin wrote: > Ok, so get vmstat -i output. There's not much flexibility here though as all > the APIC IRQ's are hardcoded, so to guess which ones are routed incorrectly > will be a pain. For boot-v with empty loader.conf: interrupt total rate irq1: atkbd0 410 1 irq9: acpi0 17173212 50959 irq14: ata0 1296 3 irq15: ata1 47 0 irq18: uhci0 uhci+ 2 0 irq22: fwohci0+ 1 0 cpu0: timer 673315 1997 Total 17848283 52962 >> I will try to see if I can get the debugger when apic is disabled and >> pci_link enabled. > > Actually, I think I know what that is already. Didn't get that... > >>>> boot -v, acpi disabled: >>> Doesn't detect APIC. BIOS is too dumb to provide $PIR. That's a new >>> low for incompetence on the part of BIOS writers. >> Strange - is ACPI required on this box to find APIC? Sounds wierd when >> they are both enabled they each seem to fight for control over the >> devices... > > ACPI and APIC are two _entirely_ different things. On your box, yes, ACPI is > required to find APICs. That's what I understood from the documentation, but if both handles IRQs then I don't understand how they can coexist. >>>> boot -v, apic disabled: >>>> >>>> http://www.locolomo.org/src/acpi/dmesg-GENERIC-v-no_apic >>> The problem here is (again) really stupid BIOS writers. Maybe they can't >>> read. Edit your ASL to change the resources to say that IRQ 10 (which >>> the BIOS assigns) is ok instead of IRQ 11. You can probably get by just >>> with fixing LNKD's resource: >>> >>> Device (LNKD) >>> { >>> Name (_HID, EisaId ("PNP0C0F")) >>> Name (_UID, 0x04) >>> Method (_DIS, 0, Serialized) >>> { >>> Store (0x80, PDRC) >>> } >>> >>> Name (_PRS, ResourceTemplate () >>> { >>> IRQ (Level, ActiveLow, Shared) >>> {1,3,4,5,6,7,11,12,14,15} >>> }) >>> >>> Replace the '11' here with '10' and update it. In fact, you should >>> fix the ones with IRQ's '10' and '12' to list '10' and '11' instead >>> and the ones with '11' and '12' to list '10' and '11' instead. OK, I tried this and have found two possible outcomes: System freezes after GEOM: new disk ad0 or a fatal trap 19: Fatal trap 19: non-maskable interrupt trap while in kernel mode Instruction pointer = ... Stack pointer = ... frame pointer = ... code segment = ... processor eflags = interrupt enabled, resume, IOPL=0 current process = 34 (acpi_thermal) trap number = 19 panic: non-maskable interrupt trap This has happened with either acpi_thermal or acpi_task_0 as current process. There is nothing that seem to determine how booting will fail. The ASL is here: http://www.locolomo.org/src/acpi/custom.asl just in case I messed up. What I understood from your description was that all the IRQ declarations should be IRQ (Level, ActiveLow, Shared) {1,3,4,5,6,7,10,11,14,15} > You really shouldn't use that hint, you should route an entire link > (hw.pci.link.LNKD.irq = 5 for example) when using links. First try just > fixing your ASL w/o using any settings in loader.conf. > > Hmm, you can also try just doing this w/o having to hack your ASL which might > fix things: > > hw.pci.link.LNKB.irq=10 > hw.pci.link.LNKD.irq=10 > hw.pci.link.LNKF.irq=10 > > It will emit warnings about the IRQs not being valid but still use them, and > this matches what your BIOS used. Tried that but no change. I have added the dmesg etc to the same path as the previous: http://www.locolomo.org/src/acpi/ Thanks for taking your time, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 From owner-freebsd-mobile@FreeBSD.ORG Fri Oct 13 18:49:52 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2EB1A16A4C8 for ; Fri, 13 Oct 2006 18:49:47 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E54643D46 for ; Fri, 13 Oct 2006 18:49:46 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k9DInhl3016693; Fri, 13 Oct 2006 14:49:43 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Erik Norgaard Date: Fri, 13 Oct 2006 14:49:39 -0400 User-Agent: KMail/1.9.1 References: <452E3E0B.6040709@locolomo.org> <200610121606.22200.jhb@freebsd.org> <452FC5C6.1080304@locolomo.org> In-Reply-To: <452FC5C6.1080304@locolomo.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610131449.39621.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Fri, 13 Oct 2006 14:49:43 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/2030/Fri Oct 13 09:34:34 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: freebsd-mobile@freebsd.org Subject: Re: ACPI Problems: IRQ conflicts on USB controllers and SATA controller 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, 13 Oct 2006 18:49:52 -0000 On Friday 13 October 2006 12:58, Erik Norgaard wrote: > Thanks, I tried but no luck... :( > > John Baldwin wrote: > > > Ok, so get vmstat -i output. There's not much flexibility here though as all > > the APIC IRQ's are hardcoded, so to guess which ones are routed incorrectly > > will be a pain. > > For boot-v with empty loader.conf: > > interrupt total rate > irq1: atkbd0 410 1 > irq9: acpi0 17173212 50959 > irq14: ata0 1296 3 > irq15: ata1 47 0 > irq18: uhci0 uhci+ 2 0 > irq22: fwohci0+ 1 0 > cpu0: timer 673315 1997 > Total 17848283 52962 So whatever is storming is storming on IRQ 9. Can you figure out which device is causing the interrupt? That is, see what triggers it starting, or hack drivers to selectively disable devices to help narrow things down. > >> I will try to see if I can get the debugger when apic is disabled and > >> pci_link enabled. > > > > Actually, I think I know what that is already. > > Didn't get that... When you disable pci_link two of your USB devices don't have interrupts assigned at all so they are just going to cause storms. > >>>> boot -v, acpi disabled: > >>> Doesn't detect APIC. BIOS is too dumb to provide $PIR. That's a new > >>> low for incompetence on the part of BIOS writers. > >> Strange - is ACPI required on this box to find APIC? Sounds wierd when > >> they are both enabled they each seem to fight for control over the > >> devices... > > > > ACPI and APIC are two _entirely_ different things. On your box, yes, ACPI is > > required to find APICs. > > That's what I understood from the documentation, but if both handles > IRQs then I don't understand how they can coexist. Interrupt controllers (APIC and 8259A) are hardware devices with pins that you hook interrupt lines from other devices up to. They then alert the CPU when there is an interrupt. BIOS tables (ACPI, MPTable, $PIR, etc.) provide information to tell you what the interrupt line for a given device is hooked up to. On x86 it is complicated since you have two sets of interrupt controllers and the OS can use either one (though not all machines have APIC). > > You really shouldn't use that hint, you should route an entire link > > (hw.pci.link.LNKD.irq = 5 for example) when using links. First try just > > fixing your ASL w/o using any settings in loader.conf. > > > > Hmm, you can also try just doing this w/o having to hack your ASL which might > > fix things: > > > > hw.pci.link.LNKB.irq=10 > > hw.pci.link.LNKD.irq=10 > > hw.pci.link.LNKF.irq=10 > > > > It will emit warnings about the IRQs not being valid but still use them, and > > this matches what your BIOS used. > > Tried that but no change. I have added the dmesg etc to the same path as > the previous: http://www.locolomo.org/src/acpi/ Ah, I didn't MFC the patch to let you specify invalid links. Try the patch below (MFC of 1.54 of acpi_pci_link.c): Index: acpi_pci_link.c =================================================================== RCS file: /usr/cvs/src/sys/dev/acpica/acpi_pci_link.c,v retrieving revision 1.53 retrieving revision 1.54 diff -u -r1.53 -r1.54 --- acpi_pci_link.c 6 Jan 2006 16:14:32 -0000 1.53 +++ acpi_pci_link.c 7 Aug 2006 19:52:30 -0000 1.54 @@ -941,19 +941,27 @@ KASSERT(!PCI_INTERRUPT_VALID(link->l_irq), ("%s: link already has an IRQ", __func__)); - /* Check for a tunable override and use it if it is valid. */ + /* Check for a tunable override. */ if (ACPI_SUCCESS(acpi_short_name(acpi_get_handle(dev), link_name, sizeof(link_name)))) { snprintf(tunable_buffer, sizeof(tunable_buffer), "hw.pci.link.%s.%d.irq", link_name, link->l_res_index); - if (getenv_int(tunable_buffer, &i) && - PCI_INTERRUPT_VALID(i) && link_valid_irq(link, i)) + if (getenv_int(tunable_buffer, &i) && PCI_INTERRUPT_VALID(i)) { + if (!link_valid_irq(link, i)) + device_printf(dev, + "Warning, IRQ %d is not listed as valid\n", + i); return (i); + } snprintf(tunable_buffer, sizeof(tunable_buffer), "hw.pci.link.%s.irq", link_name); - if (getenv_int(tunable_buffer, &i) && - PCI_INTERRUPT_VALID(i) && link_valid_irq(link, i)) + if (getenv_int(tunable_buffer, &i) && PCI_INTERRUPT_VALID(i)) { + if (!link_valid_irq(link, i)) + device_printf(dev, + "Warning, IRQ %d is not listed as valid\n", + i); return (i); + } } /* -- John Baldwin From owner-freebsd-mobile@FreeBSD.ORG Fri Oct 13 20:58:00 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA5F816A40F for ; Fri, 13 Oct 2006 20:58:00 +0000 (UTC) (envelope-from eol1@yahoo.com) Received: from web51904.mail.yahoo.com (web51904.mail.yahoo.com [206.190.48.67]) by mx1.FreeBSD.org (Postfix) with SMTP id 1CDEE43D5E for ; Fri, 13 Oct 2006 20:57:55 +0000 (GMT) (envelope-from eol1@yahoo.com) Received: (qmail 99491 invoked by uid 60001); 13 Oct 2006 20:57:54 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=k8tIY6GetVD2ZtOsSfG6ETtt4QM0Ti9XftsTMg/hkk/67h4pLE18dBxPS0m3txoEGj+FcgSuCFbwozgtl+sJxTohM7no52A8lkPjmD+ptB2DRLMxGLb1BAyUxYyhpK7zO+GgzkDWiLEGczyXRcv9KQstLYRfWIFvnlZYmMFg85Q= ; Message-ID: <20061013205754.99487.qmail@web51904.mail.yahoo.com> Received: from [204.13.236.244] by web51904.mail.yahoo.com via HTTP; Fri, 13 Oct 2006 13:57:54 PDT Date: Fri, 13 Oct 2006 13:57:54 -0700 (PDT) From: Peter Thoenen To: freebsd-mobile@freebsd.org In-Reply-To: <452F33B5.7090400@academ.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: EVDO Products X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: eol1@yahoo.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Oct 2006 20:58:00 -0000 Worked recently just handed me two EVDO items (both Sprint) and curious if anybody got them working w/ FBSD. Found a discussion about it nearly two years ago in the archives but times have changed since then. Anybody gotten either the PPC-6700 PocketPC or the Pantech PX-500 PCMCIA card to work? Not much happens when you plug them in other than power :) ugen3: HTC PocketPC USB Sync, rev 2.00/0.00, addr 2 ugen2: PANTECH PANTECH USB MODEM, rev 1.10/1.00, addr 2 Cheers - Peter From owner-freebsd-mobile@FreeBSD.ORG Sat Oct 14 18:46:29 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA31C16A416 for ; Sat, 14 Oct 2006 18:46:29 +0000 (UTC) (envelope-from tonnetit@yahoo.it) Received: from web26012.mail.ukl.yahoo.com (web26012.mail.ukl.yahoo.com [217.146.177.34]) by mx1.FreeBSD.org (Postfix) with SMTP id 2D13343D90 for ; Sat, 14 Oct 2006 18:46:24 +0000 (GMT) (envelope-from tonnetit@yahoo.it) Received: (qmail 69815 invoked by uid 60001); 14 Oct 2006 18:46:22 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.it; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type; b=h4Jnpsd6Nn2WbhzWleL9kq2vib6Wq6ZnYsp4zORNuuk3hM7XD+o1mCsXE6tVgX/NDdAadaSihVbMHeEBa/GgLZpYq6aC9XucS3l39xeG+y/s0rpIZ+mvd03MMwa1TtaDCgZeqAGKevvPjS5V/mpIVSk5tdsFRt5oiToMPLEUd4w= ; Message-ID: <20061014184622.69813.qmail@web26012.mail.ukl.yahoo.com> Received: from [217.75.5.3] by web26012.mail.ukl.yahoo.com via HTTP; Sat, 14 Oct 2006 20:46:22 CEST Date: Sat, 14 Oct 2006 20:46:22 +0200 (CEST) From: ree yhu To: freebsd-mobile@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: Unable to set the encryption key for my wireless nic 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, 14 Oct 2006 18:46:30 -0000 Hi All, Please read here: I have a bcmwl5 properly configured in linux but I am unable to work with it in FreeBSD: here is the typescript of my settings and attempts: ########################### ########################### Script started on Sun Oct 15 03:05:39 2006 bash-2.05b# kldload ndis bash-2.05b# kldload ./bcmwl5_sys.ko bash-2.05b# bash-2.05b# kldstat Id Refs Address Size Name 1 13 0xc0400000 63070c kernel 2 1 0xc2459000 15000 linux.ko 5 2 0xc26cf000 b000 if_ndis.ko 6 2 0xc26de000 13000 ndis.ko 7 1 0xc4e82000 88000 bcmwl5_sys.ko bash-2.05b# ifconfig -a rl0: flags=8843 mtu 1500 options=8 inet6 fe80::2c0:9fff:fee2:b3d6%rl0 prefixlen 64 scopeid 0x1 ether 00:c0:9f:e2:b3:d6 media: Ethernet autoselect (none) status: no carrier fwe0: flags=108802 mtu 1500 options=8 ether 02:c0:9f:73:36:a4 ch 1 dma -1 lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 ndis0: flags=8802 mtu 1500 ether 00:14:a5:1c:05:3e media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier ssid "" channel 1 authmode OPEN privacy OFF txpowmax 100 protmode CTS bash-2.05b# ifconfig ndis0 wepmode on wepkey d1122334ac bash-2.05b# ifconfig ndis0 scan SSID BSSID CHAN RATE S:N INT CAPS SM-Apt10 00:04:e2:e9:0c:e8 1 54M 160:0 100 EP ??? ??? ??? ??? ??? bash-2.05b# dhclient ndis0M DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 11 bash-2.05b# ifconfig ndis0 wepmode on wepkey d1122334ac ifconfig: SIOCS80211: Invalid argument bash-2.05b# ifconfig ndis0 wepmode on wepkey 0xd1122334ac bash-2.05b# dhclient ndis0 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 14 bash-2.05b# ifconfig ndis0 ndis0: flags=8843 mtu 1500 inet6 fe80::214:a5ff:fe1c:53e%ndis0 prefixlen 64 scopeid 0x4 inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 ether 00:14:a5:1c:05:3e media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier ssid "" channel 1 authmode OPEN privacy ON deftxkey UNDEF txpowmax 100 protmode CTS bash-2.05b# ifconfig ndis0 ssid SM-Apt10 wepmode on deftxkey d1122334ac bash-2.05b# ifconfig ndis0 ndis0: flags=8843 mtu 1500 inet6 fe80::214:a5ff:fe1c:53e%ndis0 prefixlen 64 scopeid 0x4 inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 ether 00:14:a5:1c:05:3e media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier ssid "" channel 1 authmode OPEN privacy ON deftxkey UNDEF txpowmax 100 protmode CTS bash-2.05b# dhclient ndis0 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 12 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 18 bash-2.05b# ifconfig -km ndis0 ndis0: flags=8843 mtu 1500 inet6 fe80::214:a5ff:fe1c:53e%ndis0 prefixlen 64 scopeid 0x4 inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 ether 00:14:a5:1c:05:3e media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier supported media: media OFDM/54Mbps mode autoselect mediaopt adhoc media OFDM/54Mbps mode autoselect media OFDM/48Mbps mode autoselect mediaopt adhoc media OFDM/48Mbps mode autoselect media OFDM/36Mbps mode autoselect mediaopt adhoc media OFDM/36Mbps mode autoselect media OFDM/18Mbps mode autoselect mediaopt adhoc media OFDM/18Mbps mode autoselect media OFDM/12Mbps mode autoselect mediaopt adhoc media OFDM/12Mbps mode autoselect media OFDM/9Mbps mode autoselect mediaopt adhoc media OFDM/9Mbps mode autoselect media OFDM/6Mbps mode autoselect mediaopt adhoc media OFDM/6Mbps mode autoselect media DS/11Mbps mode autoselect mediaopt adhoc media DS/11Mbps mode autoselect media DS/5.5Mbps mode autoselect mediaopt adhoc media DS/5.5Mbps mode autoselect media DS/2Mbps mode autoselect mediaopt adhoc media DS/2Mbps mode autoselect media DS/1Mbps mode autoselect mediaopt adhoc media DS/1Mbps mode autoselect media OFDM/54Mbps mode 11g mediaopt adhoc media OFDM/54Mbps mode 11g media OFDM/48Mbps mode 11g mediaopt adhoc media OFDM/48Mbps mode 11g media OFDM/36Mbps mode 11g mediaopt adhoc media OFDM/36Mbps mode 11g media OFDM/18Mbps mode 11g mediaopt adhoc media OFDM/18Mbps mode 11g media OFDM/12Mbps mode 11g mediaopt adhoc media OFDM/12Mbps mode 11g media OFDM/9Mbps mode 11g mediaopt adhoc media OFDM/9Mbps mode 11g media OFDM/6Mbps mode 11g mediaopt adhoc media OFDM/6Mbps mode 11g media autoselect mode 11g mediaopt adhoc media autoselect mode 11g media DS/11Mbps mode 11b mediaopt adhoc media DS/11Mbps mode 11b media DS/5.5Mbps mode 11b mediaopt adhoc media DS/5.5Mbps mode 11b media DS/2Mbps mode 11b mediaopt adhoc media DS/2Mbps mode 11b media DS/1Mbps mode 11b mediaopt adhoc media DS/1Mbps mode 11b media autoselect mode 11b mediaopt adhoc media autoselect mode 11b media autoselect mode autoselect mediaopt adhoc media autoselect mode autoselect ssid "" channel 1 authmode OPEN privacy ON deftxkey UNDEF txpowmax 100 protmode CTS bash-2.05b# ifconfig ndis0 ssid SM-Apt10 wepmode on deftxkey "d1122334ac" bash-2.05b# dhclient ndis0 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 8 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 16 Script done on Sun Oct 15 03:19:56 2006 ########################### ########################### and here you see the settings in linux: ########################### ########################### # ifconfig wlan0 wlan0 Link encap:Ethernet HWaddr 00:14:A5:1C:05:3E inet addr:192.168.110.100 Bcast:192.168.110.255 Mask:255.255.255.0 inet6 addr: fe80::214:a5ff:fe1c:53e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:234 errors:0 dropped:0 overruns:0 frame:0 TX packets:281 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:86709 (84.6 Kb) TX bytes:32434 (31.6 Kb) Interrupt:153 Memory:c0204000-c0206000 # iwconfig wlan0 wlan0 IEEE 802.11g ESSID:"SM-Apt10" Mode:Managed Frequency:2.412 GHz Access Point: 00:04:E2:E9:0C:E8 Bit Rate:48 Mb/s Tx-Power:25 dBm RTS thr:2347 B Fragment thr:2346 B Encryption key:D112-2334-AC Security mode:restricted Power Management:off Link Quality:100/100 Signal level:-57 dBm Noise level:-256 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 # iwlist wlan0 key wlan0 2 key sizes : 40, 104bits 4 keys available : [1]: D112-2334-AC (40 bits) [2]: off [3]: off [4]: off Current Transmit Key: [1] Security mode:restricted Authentication capabilities : WPA WPA2 CIPHER TKIP CIPHER CCMP Current key_mgmt:0x0 Current cipher_pairwise:0x0 Current cipher_group:0x0 # iwlist wlan0 scanning wlan0 Scan completed : Cell 01 - Address: 00:04:E2:E9:0C:E8 ESSID:"SM-Apt10" Protocol:IEEE 802.11g Mode:Managed Frequency:2.412 GHz (Channel 1) Quality:0/100 Signal level:-57 dBm Noise level:-256 dBm Encryption key:on Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s 11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s 48 Mb/s; 54 Mb/s Extra:bcn_int=100 Extra:atim=0 ################################# ################################# __________________________________________________ Do You Yahoo!? Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file e i messaggi http://mail.yahoo.it