Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Aug 2000 21:22:38 -0400
From:      "Sean O'Connell" <sean@stat.Duke.EDU>
To:        Eric Marlin <emarlin@home.com>
Cc:        FreeBSD mobile <freebsd-mobile@FreeBSD.ORG>
Subject:   Re: Megahertz PCMCIA using sn on 4.1-release
Message-ID:  <20000806212238.A1153@stat.Duke.EDU>
In-Reply-To: <398DDF17.B2508F34@home.com>; from emarlin@home.com on Sun, Aug 06, 2000 at 05:56:39PM -0400
References:  <398DDF17.B2508F34@home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000806212238.A1153>