Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Feb 2000 09:08:05 -0500
From:      Peter Schwenk <schwenk@math.udel.edu>
To:        mkes@ra.rockwell.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: pccardd: NULL com in siounload ??
Message-ID:  <38B3E9C4.EAD2141A@math.udel.edu>
References:  <OFB9A031ED.75FCFA59-ONC125688E.00306C5E@cle.ra.rockwell.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Do you happen to have

pccard_flags="-i 10"

or something similar in either /etc/defaults/rc.conf or /etc/rc.conf?  I had the same symptoms, and when I removed that line (it's essentially telling
pccardd that it only has IRQ 10 available for devices) it paid attention to the irq= line in my /etc/pccard.conf file.

mkes@ra.rockwell.com wrote:

> Hi
>
> I have a problem to make my pccard modem running with pccardd. When booting the machine pccardd says:
>
> ---
> Card inserted, slot 0
> Card inserted, slot 1
> ep0: utp/bnc[*UTP*] address 00:60:97:cd:62:c5
> NULL com in siounload
> Return IRQ=10
> ---
>
> and a message "... failed to allocate resource" follows. This is how it "normaly" behaves (the ep0 NIC is always OK). But (only) once the modem card
> got correctly configured :-(
> I have atatched the output of the pccardc dumpcis command, dump of my /etc/pccard.conf file and a piece of the kernel build configuration file
> (/sys/i386/conf/LOCAL).
> The /etc/pccard.conf file contains also configuration of my old modem card which used the same IRQ=10 without problems.
>
> Any idea what's wrog is welcome.
>
> Mira
>
> ---------------------------
> pccardc dumpcis:
> ---------------------------
>
> Configuration data for card in slot 0
> Tuple #1, code = 0x1 (Common memory descriptor), length = 2
>     000:  00 ff
>      Common memory device information:
>           Device number 1, type No device, WPS = OFF
>           Speed = No speed, Memory block size = reserved, 32 units
> Tuple #2, code = 0x17 (Attribute memory descriptor), length = 3
>     000:  43 02 ff
>      Attribute memory device information:
>           Device number 1, type EEPROM, WPS = OFF
>           Speed = 150nS, Memory block size = 8Kb, 1 units
> Tuple #3, code = 0x20 (Manufacturer ID), length = 4
>     000:  01 01 89 05
>      PCMCIA ID = 0x101, OEM ID = 0x589
> Tuple #4, code = 0x21 (Functional ID), length = 2
>     000:  06 00
>      Network/LAN adapter
> Tuple #5, code = 0x15 (Version 1 info), length = 58
>     000:  04 01 33 43 6f 6d 20 43 6f 72 70 6f 72 61 74 69
>     010:  6f 6e 00 33 43 35 38 39 44 00 54 50 2f 42 4e 43
>     020:  20 4c 41 4e 20 43 61 72 64 20 56 65 72 2e 20 32
>     030:  61 00 30 30 30 30 30 32 00 ff
>      Version = 4.1, Manuf = [3Com Corporation],card vers = [3C589D]
>      Addit. info = [TP/BNC LAN Card Ver. 2a],[000002]
> Tuple #6, code = 0x1a (Configuration map), length = 6
>     000:  02 03 00 00 01 03
>      Reg len = 3, config register addr = 0x10000, last config = 0x3
>      Registers: XX------
> Tuple #7, code = 0x1b (Configuration entry), length = 15
>     000:  c1 01 1d 71 55 35 55 54 e0 72 5d 64 30 ff ff
>      Config index = 0x1(default)
>      Interface byte = 0x1 (I/O)
>      Vcc pwr:
>           Nominal operating supply voltage: 5 x 1V
>           Max current average over 1 second: 3 x 10mA
>           Max current average over 10 ms: 5 x 10mA
>           Power down supply current: 5 x 1mA
>      Wait scale Speed = 7.0 x 100 ns
>      RDY/BSY scale Speed = 7.0 x 100 ns
>      Card decodes 18 address lines, full 8/16 Bit I/O
>           IRQ modes: Level, Pulse
>           IRQs:  IOCK 1 4 5 6 8 10 11 12 14
> Tuple #8, code = 0x1b (Configuration entry), length = 7
>     000:  03 01 71 55 26 26 54
>      Config index = 0x3
>      Vcc pwr:
>           Nominal operating supply voltage: 5 x 1V
>           Max current average over 1 second: 2 x 100mA
>           Max current average over 10 ms: 2 x 100mA
>           Power down supply current: 5 x 1mA
> Tuple #9, code = 0x19 (JEDEC descr for attribute memory), length = 3
>     000:  00 00 ff
> Tuple #10, code = 0x14 (No link), length = 0
> Tuple #11, code = 0x10 (Checksum), length = 5
>     000:  88 ff 81 00 00
>      Checksum from offset -120, length 129, value is 0x0
> Tuple #12, code = 0xff (Terminator), length = 149
>     000:  00 03 83 00 fd ff ff ff ff ff ff ff ff ff ff ff
>     010:  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>     020:  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>     030:  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>     040:  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>     050:  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>     060:  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>     070:  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>     080:  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>     090:  ff ff ff ff ff
> Configuration data for card in slot 1
> Tuple #1, code = 0x1 (Common memory descriptor), length = 2
>     000:  00 ff
>      Common memory device information:
>           Device number 1, type No device, WPS = OFF
>           Speed = No speed, Memory block size = reserved, 32 units
> Tuple #2, code = 0x15 (Version 1 info), length = 39
>     000:  04 01 50 43 4d 43 49 41 20 4d 41 4b 45 52 00 35
>     010:  36 4b 20 56 2e 39 30 20 44 61 74 61 46 61 78 20
>     020:  4d 6f 64 65 6d 00 ff
>      Version = 4.1, Manuf = [PCMCIA MAKER],card vers = [56K V.90 DataFax Modem]
>      Addit. info = [ÿ],[d Ver. 2a]
> Tuple #3, code = 0x20 (Manufacturer ID), length = 4
>     000:  00 02 01 00
>      PCMCIA ID = 0x200, OEM ID = 0x1
> Tuple #4, code = 0x21 (Functional ID), length = 2
>     000:  02 00
>      Serial port/modem
> Tuple #5, code = 0x22 (Functional EXT), length = 4
>     000:  00 02 0f 5c
>      Serial interface extension:
>           16550 UART, Parity - Space,Mark,Odd,Even,
> Tuple #6, code = 0x22 (Functional EXT), length = 9
>     000:  05 1f 1f 00 04 00 00 04 00
>      Modem interface capabilities:
> Tuple #7, code = 0x22 (Functional EXT), length = 9
>     000:  06 1f 1f 00 04 00 00 04 00
>      Modem interface capabilities:
> Tuple #8, code = 0x22 (Functional EXT), length = 12
>     000:  02 06 00 3f 1c 03 03 0f 07 00 01 b5
>      Data modem services available:
> Tuple #9, code = 0x22 (Functional EXT), length = 8
>     000:  13 06 00 1f 00 02 00 b5
> Tuple #10, code = 0x22 (Functional EXT), length = 8
>     000:  23 06 00 1f 00 02 00 b5
> Tuple #11, code = 0x1a (Configuration map), length = 5
>     000:  01 27 80 ff 67
>      Reg len = 2, config register addr = 0xff80, last config = 0x27
>      Registers: XXX--XX-
> Tuple #12, code = 0x1b (Configuration entry), length = 19
>     000:  cf 41 99 79 55 3d 86 46 26 4c aa 60 f8 03 07 f0
>     010:  bc 86 28
>      Config index = 0xf(default)
>      Interface byte = 0x41 (I/O)  +RDY/-BSY active
>      Vcc pwr:
>           Nominal operating supply voltage: 5 x 1V
>           Continuous supply current: 3.5 x 10mA
>           Max current average over 1 second: 1 x 100mA, ext = 0x46
>           Max current average over 10 ms: 2 x 100mA
>           Power down supply current: 4.5 x 1mA
>      Card decodes 10 address lines, 8 Bit I/O only
>           I/O address # 1: block start = 0x3f8 block length = 0x8
>           IRQ modes: Level, Pulse, Shared
>           IRQs:  4 5 6 7 10 11 12 13 15
>      Max twin cards = 0
>      Misc attr: (Audio-BVD2) (Power down supported)
> Tuple #13, code = 0x1b (Configuration entry), length = 7
>     000:  17 08 aa 60 f8 02 07
>      Config index = 0x17
>      Card decodes 10 address lines, 8 Bit I/O only
>           I/O address # 1: block start = 0x2f8 block length = 0x8
> Tuple #14, code = 0x1b (Configuration entry), length = 7
>     000:  1f 08 aa 60 e8 03 07
>      Config index = 0x1f
>      Card decodes 10 address lines, 8 Bit I/O only
>           I/O address # 1: block start = 0x3e8 block length = 0x8
> Tuple #15, code = 0x1b (Configuration entry), length = 7
>     000:  27 08 aa 60 e8 02 07
>      Config index = 0x27
>      Card decodes 10 address lines, 8 Bit I/O only
>           I/O address # 1: block start = 0x2e8 block length = 0x8
> Tuple #16, code = 0xff (Terminator), length = 0
> 2 slots found
>
> --------------------------
> /etc/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   0x240-0x360
> # Generally available IRQs (Built-in sound-card owners remove 5)
> irq  10 11 13 15
> # Available memory slots
> memory    0xd4000  96k
>
> # 3Com Etherlink III 3C589D
> card "3Com Corporation" "3C589D"
>      config    0x1 "ep0" 11
>      insert    echo 3Com Etherlink III inserted
>      insert    /etc/pccard_ether ep0  link0 link1
>      remove    echo 3Com Etherlink III removed
>      remove    /sbin/ifconfig ep0 delete
>
> # my old modem
> # NewMedia 14.4K FAX/Data Modem
> #card "CIRRUS LOGIC" "FAX MODEM"
> #    config    0x21 "sio1" 10
> #    insert    echo Newmedia 14.4 Modem inserted
> #    remove    echo Newmedia 14.4 Modem removed
>
> # NewMedia 56K NetSurfer
> card "PCMCIA MAKER" "56K V.90 DataFax Modem"
>      config    0x17 "sio1" 10
>      insert    echo Newmedia 56K Modem inserted
>      remove    echo Newmedia 56K Modem removed
>
> -------------------------------------------------------------------
> /sys/i386/conf/LOCAL (kernel configuration):
> -------------------------------------------------------------------
>
> device         sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4
> device         sio1 at isa? port "IO_COM2" tty irq 10
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

--
PETER SCHWENK                                    |  UNIX System Administrator
Department of Mathematical Sciences              |  University of Delaware
schwenk@math.udel.edu                            |  (302)831-0437





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?38B3E9C4.EAD2141A>