Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Mar 1999 10:41:05 +0000
From:      Kerberus <kerberus@inetu.net>
To:        Brian Somers <brian@Awfulhak.org>, "freebsd-mobile@FreeBSD.ORG" <freebsd-mobile@FreeBSD.ORG>, "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: CTX laptop & PCMCIA UPDATE
Message-ID:  <36E8EF41.A0EF90EA@inetu.net>
References:  <199903111941.TAA00672@keep.lan.Awfulhak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
OK lets see, i removed pcic0 and pcic1 from the kernel config file as suggested
and recompiled, rebooted, modified the /boot/loader.rc to read

set machdep.pccard.pcic_irq=11

now... it seems to boot and start the lkm and as pccardd runs, it gets the
following

Mar 12 10:17:12 netstalker /kernel: npx0 on motherboard
Mar 12 10:17:12 netstalker /kernel: npx0: INT 16 interface
Mar 12 10:17:12 netstalker /kernel: Initializing PC-card drivers: ed
Mar 12 10:17:12 netstalker /kernel: changing root device to wd0s1a
Mar 12 10:17:12 netstalker /kernel: PC-Card VLSI 82C146 (5 mem & 2 I/O windows)
Mar 12 10:17:12 netstalker /kernel: pcic: controller irq 5
Mar 12 10:17:12 netstalker /kernel: Card inserted, slot 0
Mar 12 10:17:13 netstalker pccardd[48]: Resource allocation failure for NETGEAR
Mar 12 10:17:13 netstalker pccardd[48]: pccardd started
Mar 12 10:17:23 netstalker login: ROOT LOGIN (root) ON ttyv0
Mar 12 10:17:39 netstalker pccardd[177]: Resource allocation failure for NETGEAR
Mar 12 10:17:39 netstalker pccardd[177]: pccardd started


now question, why isnt pcic: controller on irq 11, and still at irq 5, also whats
this Resource allocation failure for NETGEAR error being s[awned by pccardd, this
seems to be my final hurdle to actually getting this thing working again under 3.1

pccard.conf included.............
------------------------SNIP PCCARD.CONF-------------

# Sample PCCARD configuration file
#
# Removing all IRQ conflicts from this file can't be done because of some
# IRQ-selfish PC-cards.  So if you want to use some of these cards in
# your machine, you will be forced to modify their IRQ parameters from
# the following list.
#
# IRQ == 0 means "allocate free IRQ from IRQ pool"
# IRQ == 16 means "do not use IRQ (e.g. PIO mode)"
#
# $Id: pccard.conf.sample,v 1.24.2.1 1999/02/05 09:42:27 markm Exp $

# Generally available IO ports
#io     0x280
io      0x280-0x360
# Generally available IRQs (Built-in sound-card owners remove 5)
irq     7
#irq    7 10 11 13 15
# Available memory slots
memory  0xd0000  96k

# BayNetworks NETGEAR FA410TXC Fast Ethernet
#card "NETGEAR" "FA410TX" "Fast Ethernet"
card "NETGEAR" "FA410TX"
        config 0x1 "ed0" 7 0x20
        #ether  0xff0
        insert echo NETGEAR FA410TX inserted
        insert /etc/pccard_ether ed0
        remove echo NETGEAR FA410TX removed
        remove /sbin/ifconfig ed0 delete

------------SNIP DUMPCIS INFO----------------------------

Configuration data for card in slot 0
Tuple #1, code = 0x1 (Common memory descriptor), length = 3
    000:  d1 3a ff
        Common memory device information:
                Device number 1, type Function specific, WPS = OFF
                Speed = 250nS, Memory block size = 8Kb, 8 units
Tuple #2, code = 0x1c (Other conditions for common memory), length = 4
    000:  01 d1 3a ff
        (MWAIT)
Tuple #3, code = 0x17 (Attribute memory descriptor), length = 3
    000:  41 00 ff
        Attribute memory device information:
                Device number 1, type EEPROM, WPS = OFF
                Speed = 250nS, Memory block size = 512b, 1 units
Tuple #4, code = 0x20 (Manufacturer ID), length = 4
    000:  49 01 30 02
        PCMCIA ID = 0x149, OEM ID = 0x230
Tuple #5, code = 0x21 (Functional ID), length = 2
    000:  06 01
        Network/LAN adapter - POST initialize
Tuple #6, code = 0x15 (Version 1 info), length = 39
    000:  04 01 4e 45 54 47 45 41 52 00 46 41 34 31 30 54
    010:  58 00 46 61 73 74 20 45 74 68 65 72 6e 65 74 00
    020:  ff 00 00 00 00 00 00
        Version = 4.1, Manuf = [NETGEAR],card vers = [FA410TX]
        Addit. info = [Fast Ethernet],[\xff]
Tuple #7, code = 0x1a (Configuration map), length = 5
    000:  01 20 00 04 0b
        Reg len = 2, config register addr = 0x400, last config = 0x20
        Registers: XX-X----
Tuple #8, code = 0x1b (Configuration entry), length = 7
    000:  e0 81 18 45 30 fc be
        Config index = 0x20(default)
        Interface byte = 0x81 (I/O)  wait signal supported
        Card decodes 5 address lines, limited 8/16 Bit I/O
                IRQ modes:  Pulse
                IRQ level = 5
Tuple #9, code = 0x14 (No link), length = 0
Tuple #10, code = 0xff (Terminator), length = 8
    000:  ca 60 40 03 1f 1b 07 04
2 slots found


So close.............. i can alsmost taste it now...!!!


Thanks In Advance

Kerberus



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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