From owner-freebsd-mobile@FreeBSD.ORG Fri Sep 3 22:03:40 2004 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 7353F16A4CE for ; Fri, 3 Sep 2004 22:03:40 +0000 (GMT) Received: from outmx009.isp.belgacom.be (outmx009.isp.belgacom.be [195.238.3.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9412843D2D for ; Fri, 3 Sep 2004 22:03:39 +0000 (GMT) (envelope-from tijl@ulyssis.org) Received: from outmx009.isp.belgacom.be (localhost [127.0.0.1]) with ESMTP id i83M3WEG004672 for ; Sat, 4 Sep 2004 00:03:32 +0200 (envelope-from ) Received: from [192.168.70.42] (121-174.240.81.adsl.skynet.be [81.240.174.121])with ESMTP id i83M3RqA004615; Sat, 4 Sep 2004 00:03:30 +0200 (envelope-from ) From: Tijl Coosemans To: freebsd-mobile@freebsd.org Date: Sat, 4 Sep 2004 00:05:03 +0200 User-Agent: KMail/1.6.2 References: <200409011440.58934.tijl@ulyssis.org> <200409021533.10309.tijl@ulyssis.org> <41384C69.2000700@orel.ru> In-Reply-To: <41384C69.2000700@orel.ru> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200409040005.03105.tijl@ulyssis.org> cc: scott+freebsd@fishballoon.org cc: bel@orel.ru Subject: Re: ToPIC95B cardbus on old laptop 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: Fri, 03 Sep 2004 22:03:40 -0000 Hello Andrew, On Friday 03 September 2004 12:50, Andrew Belashov wrote: > Tijl Coosemans wrote: > | On Thursday 02 September 2004 08:04, Andrew Belashov wrote: > |>Tijl Coosemans wrote: > |>| I'm having problems to get my Xircom card working. It doesn't > |>| seem to be able to allocate mem. I think in 4-stable it used > |>| 0xd1000. Anyway, I've set the syctl variabe hw.xe.debug to 2 > |>| and included the output below. The first thing I noticed was > |>| that it seems to think it's a RealPort card while this > |>| certainly isn't the case. > |>| > |>| There are a couple messages related to this in the archives, > |>| even a patch, but the code has changed since then and it no > |>| longer applies. > |>| > |>| I'm using an OLDCARD kernel by the way. (NEWCARD doesn't seem > |>| to work with this ToPIC95B). > |> > |>Try NEWCARD with patch from PR kern/69127: > |> > |> > |>Boot verbosely ("boot -v" at loader prompt). > |> > |>Before inserting card do following: > |># sysctl hw.cbb.debug=1 > |># sysctl hw.pccard.debug=1 > |># sysctl hw.pccard.cis_debug=1 > |># sysctl hw.cardbus.debug=1 > |># sysctl hw.cardbus.cis_debug=1 > |> > |>Post dmesg into maillist. > | > | As I briefly mentioned, NEWCARD doesn't work for me, so I didn't > | actually get any info from inserting the card. However, I figured > | you might still be interested in the dmesg so here it is. > | > | I also found a message in the archives with apparently exactly > | the same problem. It was fixed by enabling acpi, which this > | laptop unfortunately does not support. > | > | http://lists.freebsd.org/pipermail/freebsd-current/2004-April/026 > |001.html > | > | Also, when I put this laptop in a docking station, there's a LOR > | when probing the extra slots (cbb2) and the kernel crashes with a > | page fault. Let me know if you want a dmesg of that. > > For NEWCARD in additional to first patch: > > Try following at boot prompt: > > set hw.pci.allow_unsupported_io_range="1" This didn't do anything, and I think it has been removed from the code a while ago. > Or try patch from PR/66848 > This patch isn't really up to date, but I figured out where to put all the pieces and lo and behold, it worked! Congratulations! To get my Xircom card working I also needed the the exca.c patch you mentioned. Without it, the system completely locked up when I inserted the card and crashed when I removed it again. Many many thanks! Tijl