From owner-freebsd-questions Wed Feb 23 1:59:46 2000 Delivered-To: freebsd-questions@freebsd.org Received: from clefw.ra.rockwell.com (clefw.ra.rockwell.com [192.159.76.15]) by hub.freebsd.org (Postfix) with ESMTP id EC28437B8F0 for ; Wed, 23 Feb 2000 01:59:31 -0800 (PST) (envelope-from mkes@ra.rockwell.com) Received: from raclesmtp01.cle.ra.rockwell.com (raclesmtp01.cle.ra.rockwell.com [130.151.192.220]) by clefw.ra.rockwell.com (8.9.3/8.9.3) with ESMTP id EAA28935 for ; Wed, 23 Feb 2000 04:27:47 -0500 (EST) From: mkes@ra.rockwell.com Subject: pccardd: NULL com in siounload ?? To: freebsd-questions@freebsd.org Date: Wed, 23 Feb 2000 10:06:47 +0100 Message-ID: X-MIMETrack: Serialize by Router on RACleSMTP01/Cleveland/RA/Rockwell(Release 5.0.2b (Intl)|16 December 1999) at 02/23/2000 04:17:50 AM MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi I have a problem to make my pccard modem running with pccardd. When boo= ting 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=3D10 --- and a message "... failed to allocate resource" follows. This is how it= "normaly" behaves (the ep0 NIC is always OK). But (only) once the mode= m 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 c= ard which used the same IRQ=3D10 without problems. Any idea what's wrog is welcome. Mira --------------------------- pccardc dumpcis: --------------------------- Configuration data for card in slot 0 Tuple #1, code =3D 0x1 (Common memory descriptor), length =3D 2 000: 00 ff Common memory device information: Device number 1, type No device, WPS =3D OFF Speed =3D No speed, Memory block size =3D reserved, 32 units Tuple #2, code =3D 0x17 (Attribute memory descriptor), length =3D 3 000: 43 02 ff Attribute memory device information: Device number 1, type EEPROM, WPS =3D OFF Speed =3D 150nS, Memory block size =3D 8Kb, 1 units Tuple #3, code =3D 0x20 (Manufacturer ID), length =3D 4 000: 01 01 89 05 PCMCIA ID =3D 0x101, OEM ID =3D 0x589 Tuple #4, code =3D 0x21 (Functional ID), length =3D 2 000: 06 00 Network/LAN adapter Tuple #5, code =3D 0x15 (Version 1 info), length =3D 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 =3D 4.1, Manuf =3D [3Com Corporation],card vers =3D [3C589= D] Addit. info =3D [TP/BNC LAN Card Ver. 2a],[000002] Tuple #6, code =3D 0x1a (Configuration map), length =3D 6 000: 02 03 00 00 01 03 Reg len =3D 3, config register addr =3D 0x10000, last config =3D 0= x3 Registers: XX------ Tuple #7, code =3D 0x1b (Configuration entry), length =3D 15 000: c1 01 1d 71 55 35 55 54 e0 72 5d 64 30 ff ff Config index =3D 0x1(default) Interface byte =3D 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 =3D 7.0 x 100 ns RDY/BSY scale Speed =3D 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 =3D 0x1b (Configuration entry), length =3D 7 000: 03 01 71 55 26 26 54 Config index =3D 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 =3D 0x19 (JEDEC descr for attribute memory), length =3D = 3 000: 00 00 ff Tuple #10, code =3D 0x14 (No link), length =3D 0 Tuple #11, code =3D 0x10 (Checksum), length =3D 5 000: 88 ff 81 00 00 Checksum from offset -120, length 129, value is 0x0 Tuple #12, code =3D 0xff (Terminator), length =3D 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 =3D 0x1 (Common memory descriptor), length =3D 2 000: 00 ff Common memory device information: Device number 1, type No device, WPS =3D OFF Speed =3D No speed, Memory block size =3D reserved, 32 units Tuple #2, code =3D 0x15 (Version 1 info), length =3D 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 =3D 4.1, Manuf =3D [PCMCIA MAKER],card vers =3D [56K V.90 = DataFax Modem] Addit. info =3D [=FF],[d Ver. 2a] Tuple #3, code =3D 0x20 (Manufacturer ID), length =3D 4 000: 00 02 01 00 PCMCIA ID =3D 0x200, OEM ID =3D 0x1 Tuple #4, code =3D 0x21 (Functional ID), length =3D 2 000: 02 00 Serial port/modem Tuple #5, code =3D 0x22 (Functional EXT), length =3D 4 000: 00 02 0f 5c Serial interface extension: 16550 UART, Parity - Space,Mark,Odd,Even, Tuple #6, code =3D 0x22 (Functional EXT), length =3D 9 000: 05 1f 1f 00 04 00 00 04 00 Modem interface capabilities: Tuple #7, code =3D 0x22 (Functional EXT), length =3D 9 000: 06 1f 1f 00 04 00 00 04 00 Modem interface capabilities: Tuple #8, code =3D 0x22 (Functional EXT), length =3D 12 000: 02 06 00 3f 1c 03 03 0f 07 00 01 b5 Data modem services available: Tuple #9, code =3D 0x22 (Functional EXT), length =3D 8 000: 13 06 00 1f 00 02 00 b5 Tuple #10, code =3D 0x22 (Functional EXT), length =3D 8 000: 23 06 00 1f 00 02 00 b5 Tuple #11, code =3D 0x1a (Configuration map), length =3D 5 000: 01 27 80 ff 67 Reg len =3D 2, config register addr =3D 0xff80, last config =3D 0x= 27 Registers: XXX--XX- Tuple #12, code =3D 0x1b (Configuration entry), length =3D 19 000: cf 41 99 79 55 3d 86 46 26 4c aa 60 f8 03 07 f0 010: bc 86 28 Config index =3D 0xf(default) Interface byte =3D 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 =3D 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 =3D 0x3f8 block length =3D 0x8 IRQ modes: Level, Pulse, Shared IRQs: 4 5 6 7 10 11 12 13 15 Max twin cards =3D 0 Misc attr: (Audio-BVD2) (Power down supported) Tuple #13, code =3D 0x1b (Configuration entry), length =3D 7 000: 17 08 aa 60 f8 02 07 Config index =3D 0x17 Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start =3D 0x2f8 block length =3D 0x8 Tuple #14, code =3D 0x1b (Configuration entry), length =3D 7 000: 1f 08 aa 60 e8 03 07 Config index =3D 0x1f Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start =3D 0x3e8 block length =3D 0x8 Tuple #15, code =3D 0x1b (Configuration entry), length =3D 7 000: 27 08 aa 60 e8 02 07 Config index =3D 0x27 Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start =3D 0x2e8 block length =3D 0x8 Tuple #16, code =3D 0xff (Terminator), length =3D 0 2 slots found -------------------------- /etc/pccard.conf: -------------------------- # Sample PCCARD configuration file # # Removing all IRQ conflicts from this file can't be done because of so= me # 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 =3D=3D 0 means "allocate free IRQ from IRQ pool" # IRQ =3D=3D 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