From owner-freebsd-mobile Sun Aug 6 18:22:45 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from eddings.acpub.duke.edu (eddings.acpub.duke.edu [152.3.233.76]) by hub.freebsd.org (Postfix) with ESMTP id 5251737BCBF for ; Sun, 6 Aug 2000 18:22:41 -0700 (PDT) (envelope-from sto@stat.Duke.EDU) Received: from bobzilla.adsl.duke.edu (bobzilla.adsl.duke.edu [152.16.67.15]) by eddings.acpub.duke.edu (8.9.3/8.9.3/Duke-5.0.0) with ESMTP id VAA03081; Sun, 6 Aug 2000 21:22:39 -0400 (EDT) Received: (from sto@localhost) by bobzilla.adsl.duke.edu (8.9.3/8.9.3) id VAA01198; Sun, 6 Aug 2000 21:22:38 -0400 (EDT) (envelope-from sto) Date: Sun, 6 Aug 2000 21:22:38 -0400 From: "Sean O'Connell" To: Eric Marlin Cc: FreeBSD mobile Subject: Re: Megahertz PCMCIA using sn on 4.1-release Message-ID: <20000806212238.A1153@stat.Duke.EDU> Reply-To: "Sean O'Connell" References: <398DDF17.B2508F34@home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <398DDF17.B2508F34@home.com>; from emarlin@home.com on Sun, Aug 06, 2000 at 05:56:39PM -0400 X-Organization: House of Schmutzli X-Kitties: Bitty Maya CJ Keisha Jacob Hopey X-Hound: Bob X-OS-of-Choice: FreeBSD Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Eric Marlin stated: : I am trying to get a Megahertz EM1144T working with 4.1-release, it was : previously working with 3.4-release+PAO. : : I consistently get 'Resource allocation failure for Megahertz' : : Below is the old & new pccard.conf files and output from pccardc : dumpcis. Any : help would be greatly appreciated! : : Current /etc/pccard.conf: : : card "Megahert" "EM1144T" : # config 0x3 "sn1" 10 : # ether attr2 : config 0x3 "sn" ? : ether attr2 : insert /etc/pccard_ether $device : remove /sbin/ifconfig delete $device Eric- The pccard.conf looks OK. This really sounds like an irq issue. The content of your kernel config and output from dmesg would be more helpful. Some things to look at. 0) By default 4.1-R will use /etc/defaults/pccard.conf and not /etc/pccard.conf, unless you add pccard_conf="/etc/pccard.conf" to /etc/rc.conf 1) what sn device support is in your kernel config? device sn 2) what pcic device support is in your kernel config? By default 4.1-R uses device pcic0 at isa? irq 10 port 0x3e0 iomem 0xd0000 make sure that this irq is free (no other devices are using it whether they are in your kernel or not) and is the one you intend to use. To put the pcic in polling mode (on irq), change the pcic entry to device pcic0 at isa? 3) make sure that irq's listed in your pccard.conf line are the ones that you intend to use, are in the order you intend to use them, and are free. Alternatively, you can replace the ? with a known free irq. 4) make sure that sysinstall didn't add a pccard_flags="-i N -i X" type entry to /etc/rc.conf as this will override any settings that you make in /etc/pccard.conf and causes much confusion. This is problematic give the way GENERIC forces the pcic to use irq 10 and sysinstall only gives you a few (often bad) choices for irq's to use during install. 5) remove any non-used entries from your kernel config Hope this helps, S To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message