From owner-freebsd-stable@FreeBSD.ORG Thu May 13 04:57:12 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92BF616A4CE for ; Thu, 13 May 2004 04:57:12 -0700 (PDT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1165643D60 for ; Thu, 13 May 2004 04:57:12 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.10/8.12.9) with ESMTP id i4DBtfOd010701; Thu, 13 May 2004 05:55:47 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 13 May 2004 05:56:40 -0600 (MDT) Message-Id: <20040513.055640.51734352.imp@bsdimp.com> To: frank@altpeter.de From: "M. Warner Losh" In-Reply-To: <20040504113738.GA27513@murphy.planlos.de> References: <20040504113738.GA27513@murphy.planlos.de> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: stable@freebsd.org Subject: Re: Problem with PC-CARD configuration X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 May 2004 11:57:12 -0000 In message: <20040504113738.GA27513@murphy.planlos.de> Frank Altpeter writes: : [4.10-PRERELEASE on Compaq Armada E500] : : Hi there, : : For quite some time, on every reboot, i get an error message from : the PC-CARD configuration. : : I figured out that the reason for this lies in the /etc/rc.pccard : script, which does by default execute the command "pccardc pccardmem : 0xd0000", because pccard_mem="DEFAULT" in /etc/defaults/rc.conf. : : root@pegasus:~ 0# pccardc pccardmem 0xd0000 : pccardc: ioctl (PIOCRWMEM): Invalid argument : : but... : : root@pegasus:~ 1# pccardc pccardmem 0xd4000 : PCCARD Memory address set to 0xd4000 : : I don't know why my system doesn't like this command, but perhaps : someone has a hint for me, or in case this shouldn't happen at all, : and there's more than me having this problem, someone might review : the rc.pccard script. : : For myself it's not important, using pccard_mem="0xd4000" now :) The problem is that your system has other things at 0xd0000. This is normal for some systems, which is why the knob was added. the pccard stuff in current is better about automatically allocating resources. Warner