From owner-freebsd-mobile@FreeBSD.ORG Sun Sep 7 04:00:23 2003 Return-Path: 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 61E9416A4C0 for ; Sun, 7 Sep 2003 04:00:23 -0700 (PDT) Received: from mailhub02.unibe.ch (mailhub02-skge0.unibe.ch [130.92.9.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7068A43FDD for ; Sun, 7 Sep 2003 04:00:20 -0700 (PDT) (envelope-from roth@iam.unibe.ch) Received: from localhost (localhost [127.0.0.1]) by mailhub02.unibe.ch (Postfix) with ESMTP id 12B4476D58; Sun, 7 Sep 2003 13:00:19 +0200 (MEST) Received: from mailhub02.unibe.ch ([127.0.0.1]) by localhost (mailhub02 [127.0.0.1:10024]) (amavisd-new) with LMTP id 22030-01-99; Sun, 7 Sep 2003 13:00:18 +0200 (MEST) Received: from asterix.unibe.ch (asterix.unibe.ch [130.92.64.4]) by mailhub02.unibe.ch (Postfix) with ESMTP id 568CF76D65; Sun, 7 Sep 2003 13:00:18 +0200 (MEST) Received: from speedy.unibe.ch (speedy [130.92.64.35]) by asterix.unibe.ch (8.11.6+Sun/8.11.6) with ESMTP id h87B0IK16392; Sun, 7 Sep 2003 13:00:18 +0200 (MET DST) Received: (from roth@localhost) by speedy.unibe.ch (8.11.6+Sun/8.10.2) id h87B0HR15485; Sun, 7 Sep 2003 13:00:17 +0200 (MEST) Date: Sun, 7 Sep 2003 13:00:17 +0200 From: Tobias Roth To: James Earl Message-ID: <20030907110017.GA15472@speedy.unibe.ch> Mail-Followup-To: James Earl , freebsd-mobile@freebsd.org References: <20030906184417.GC752@h24-64-142-219.lb.shawcable.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030906184417.GC752@h24-64-142-219.lb.shawcable.net> User-Agent: Mutt/1.4i X-Operating-System: SunOS speedy 5.8 Generic_108528-16 sun4u sparc SUNW,Ultra-80 X-Virus-checked: by University of Berne cc: freebsd-mobile@freebsd.org Subject: Re: Another ThinkPad R40 setup X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Sep 2003 11:00:23 -0000 adjusting the bios settings for the irq is the way to go, not just disabling devices. if your R40 is anything like my T30, the settings you will find here (in my comment to Kevins entry for the T30) will help you use all devices at the same time. http://gerda.univie.ac.at/freebsd-laptops/ i already mentioned thise a few times on mobile/current. good luck, t. On Sat, Sep 06, 2003 at 12:44:17PM -0600, James Earl wrote: > >> The first problem was with the fxp device, and "device timeouts." I > >> got past that by commenting out sio and pcmcia related devices in > >> the kernel. I still need to go back and see if it was sio or > >> pcmcia stuff, or part of the pcmcia devices. > > > >Just disable sio1 in /boot/device.hints. No reason to disable stuff > >that you actually have! Just add hint.sio.1.disabled="1". That will > >free up an IRQ. > > I gave that a try, and re-enabled the pcmcia devices and it looks like > disabling sio devices doesn't have any effect in solving the device > timeouts. > > I also tried enabling only some of the pcmcia devices - non of the > configurations solved the problem either. The only thing that fixed > the device timeouts for me so far is completely commenting out pcmcia > devices: > > #device cbb # cardbus (yenta) bridge > #device pcic # ExCA ISA and PCI bridges > #device pccard # PC Card (16-bit) bus > #device cardbus # CardBus (32-bit) bus > > Here's the output from when I do have cbb, pccard, and cardbus built: > > cbb0: irq 11 at device 0.0 on pci2 > cardbus0: on cbb0 > pccard0: <16-bit PCCard bus> on cbb0 > cbb0: [MPSAFE] > cbb0: Unsupported card type detected > > (I noticed TI1510 isn't listed in the pccbb(4) manpage - I'm not sure > what this means?) > > Commenting out pcmcia devices on a notebook isn't really a great > solution, although I'll probably never use a pcmcia card! :) > > Is there any other way I can free an IRQ and still have pcmcia devices > enabled? I tried playing with some of the PCI BIOS settings with no > luck. I can change the irq's of what's listed below (dmesg output) in > the BIOS setup, or change it to "disabled" or "automatic": > > pcib0: slot 29 INTA is routed to irq 11 > pcib0: slot 29 INTB is routed to irq 11 > pcib0: slot 29 INTC is routed to irq 11 > pcib0: slot 29 INTD is routed to irq 11 > pcib0: slot 31 INTB is routed to irq 11 > pcib0: slot 31 INTB is routed to irq 11 > pcib0: slot 31 INTB is routed to irq 11 > > Actually I believe in the BIOS setup it's more like INTA to INTF or > something. All are set to irq 11 currently. > > >> This looks like 5.1-Release. These should be fixed in CURRENT and > >> can be ignored in most cases during RELEASE. (It was a chicken/egg > >> issue that Nate fixed doing some rather "odd" things to get some of > >> the ACPI code to run before it would normally be started.) > > I updated my system to 5.1-CURRENT and the error messages are gone. > Thanks for the tip. It doesn't look like ACPI suspend states work too > hot on this notebook! S5 will almost turn off the notebook, but stops > at "Powering system off using ACPI." S4 just freezes the system. > > Is it mainly the manufacturers that are having a hard time keeping to > the ACPI standards? > > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org"