From owner-freebsd-mobile Mon Mar 15 20: 2:25 1999 Delivered-To: freebsd-mobile@freebsd.org Received: from marinemwr.or.jp (konnect3.marinemwr.or.jp [203.181.108.10]) by hub.freebsd.org (Postfix) with ESMTP id E3C9E15077 for ; Mon, 15 Mar 1999 20:02:22 -0800 (PST) (envelope-from neillt@coastalnet.com) Received: from laptop (CCT192.marinemwr.or.jp [202.239.139.192]) by marinemwr.or.jp (8.8.8/3.6W+07/25/98) with SMTP id NAA08976 for ; Tue, 16 Mar 1999 13:01:59 +0900 (JST) Message-Id: <4.1.19990316123402.00923f10@mail.coastalnet.com> X-Sender: f3i7v8jv@mail.coastalnet.com (Unverified) X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 (Demo) Date: Tue, 16 Mar 1999 13:06:01 +0900 To: freebsd-mobile@freebsd.org From: Neill Thornton Subject: CTX Laptop Saga... Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have been following the thread re:CTX and pcic and have a slightly= different variation on the theme... I have a CTX 700E, dmesg is below. I was until recently running 2.2.8-PAO= with great results. But, the 3.1 CDs came in the mail and I got the= "upgrade urge" :). Since then, I have had no luck making my PCMCIA= services work. I have a Accton modem and a Linksys EC2T Combo card in the= slots. I cannot get either of them to function. I have given up on the= linksys card for now, that can work later in the future. What I really am= trying to make work is the modem, as it is my connection to the outside= world! I have tried countless configuration combinations, all with the same result:= when I use ppp or cu to query the modem and dial out, the machine hangs,= requiring a power-cycle to get it running again. =20 Here are the things I have tried so far: 1) Kernel configured card0 and pcic0/1. No luck. 2) kldload'ing pcic. Does not load the module. 3) Put card0 back into the config file, and kldload pcic. Loads, but does= not work. 4) Enabling both kernel configured and kldload'ing the module. No luck. I am trying to use sio2, which does not exist in the machine physically, but= is configured in the kernel (see dmesg). bc gives me the following IRQ= binary: 1000111010001000 Which I read as IRQs 15, 11, 10, 9, 7, and 3 being available. pcic takes 3= every time, even if I set a new one in loader.rc. I manually hacked pcic.c= to specific interrupts (at line 735), and it uses that interrupt, but still= hangs the machine. I set it back to the default code to keep me out of= trouble. A side note, as of right now, pccardd will not initialize the modem card. I= have to use: pccardc enabler 1 sio2 -i 9 -a 3e8 as an example. I get the kernel message sio2:16650 UART. pcic will detect= the insertion/removal of cards (as shown at the end of dmesg). I have tried re-making the cuaa2 device after enabling it, in case that had= anything to do with it. I am really getting ready to drive a stake thru this machine... I also do= not want to have to retrograde back to 2.2.8-PAO (I don't have the 2.2.8= CDs, so it means a download over an ISP that charges by the hour). If= anyone has any suggestions/hints/smart remarks, go ahead and shoot! dmesg and dumpcis info below... this is with card0 enabled in the kernel,= and kldload'ing pcic, but before I tried to enable the card with pccardd or= pccardc enabler. Neill --- HN Neill Thornton, USN Go Navy!! 1st Battalion, 8th Marines Battalion Aid Station neillt@marinemwr.or.jp / neillt@coastalnet.com Powered by FreeBSD... see how @ www.freebsd.org ----- dmesg ----- Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.1-RELEASE #2: Tue Mar 16 09:37:38 GMT 1999 root@laptop:/usr/src/sys/compile/LAPTOP_KLD Timecounter "i8254" frequency 1193182 Hz CPU: AMD-K6tm w/ multimedia extensions (265.26-MHz 586-class CPU) Origin =3D "AuthenticAMD" Id =3D 0x570 Stepping=3D0 Features=3D0x8001bf real memory =3D 33554432 (32768K bytes) avail memory =3D 30064640 (29360K bytes) Preloaded elf kernel "kernel" at 0xf02b1000. Probing for devices on PCI bus 0: chip0: rev 0x01 on pci0.0.0 chip1: rev 0x01 on pci0.1.0 ide_pci0: rev 0x01 on pci0.1.1 chip2: rev 0x01 on pci0.1.3 vga0: rev 0x01 int a irq 255 on= pci0.8.0 chip3: rev 0x01 int a= irq 255 on pci0.10.0 chip4: rev 0x01 int b= irq 255 on pci0.10.1 Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=3D0x0> ed0 not found at 0x280 atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 irq 12 on isa psm0: model Generic PS/2 mouse, device ID 0 sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1 not found at 0x2f8 sio2: configured irq 5 not in bitmap of probed irqs 0 sio2 not found at 0x3e8 sio3: configured irq 9 not in bitmap of probed irqs 0 sio3 not found at 0x2e8 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 3909MB (8007552 sectors), 7944 cyls, 16 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 on isa wdc1: unit 0 (atapi): , removable, dma, iordis acd0: drive speed 1722 - 4037KB/sec, 256KB cache acd0: supported read types: CD-DA acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc inside, unlocked ppc0 at 0x378 irq 7 on isa ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold nlpt0: on ppbus 0 nlpt0: Interrupt-driven port ppi0: on ppbus 0 plip0: on ppbus 0 ep0 not found at 0x300 vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface Initializing PC-card drivers: ed RTC BIOS diagnostic error 20 changing root device to wd0s3a WARNING: / was not properly dismounted PC-Card VLSI 82C146 (5 mem & 2 I/O windows) pcic: controller irq 3 Card inserted, slot 1 Card removed, slot 1 Card inserted, slot 1 ----- pccardc dumpcis results ----- Code 135 not found Code 135 not found code Unknown ignored 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 48 000: 05 00 50 43 4d 43 49 41 20 20 00 35 36 4b 20 56 010: 2e 39 30 20 46 61 78 20 4d 6f 64 65 6d 20 28 4c 020: 4b 29 20 20 00 46 4d 35 36 30 4c 4b 20 20 00 ff Version =3D 5.0, Manuf =3D [PCMCIA ],card vers =3D [56K V.90 Fax Modem= (LK) ] Addit. info =3D [FM560LK ],[=FF] Tuple #3, code =3D 0x20 (Manufacturer ID), length =3D 4 000: 75 01 00 00 PCMCIA ID =3D 0x175, OEM ID =3D 0x0 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 0x27 Registers: XXX--XX-=20 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 0x0 (Null tuple), length =3D 7 000: 41 45 49 23 37 a1 00 Tuple #17, code =3D 0x14 (No link), length =3D 0 Tuple #18, code =3D 0xff (Terminator), length =3D 0 2 slots found To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message