Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 1999 13:06:01 +0900
From:      Neill Thornton <neillt@coastalnet.com>
To:        freebsd-mobile@freebsd.org
Subject:   CTX Laptop Saga...
Message-ID:  <4.1.19990316123402.00923f10@mail.coastalnet.com>

next in thread | raw e-mail | index | archive | help

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.  

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 = "AuthenticAMD"  Id = 0x570  Stepping=0
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 33554432 (32768K bytes)
avail memory = 30064640 (29360K bytes)
Preloaded elf kernel "kernel" at 0xf02b1000.
Probing for devices on PCI bus 0:
chip0: <Intel 82439TX System Controller (MTXC)> rev 0x01 on pci0.0.0
chip1: <Intel 82371AB PCI to ISA bridge> rev 0x01 on pci0.1.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.1.1
chip2: <Intel 82371AB Power management controller> rev 0x01 on pci0.1.3
vga0: <NeoMagic NM2160 laptop SVGA controller> rev 0x01 int a irq 255 on pci0.8.0
chip3: <PCI to CardBus bridge (vendor=104c device=ac15)> rev 0x01 int a irq 255 on pci0.10.0
chip4: <PCI to CardBus bridge (vendor=104c device=ac15)> 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=0x0>
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): <TOSHIBA MK4006MAV>
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): <CD-ROM  CDR_U240/1.08>, 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: <generic printer> on ppbus 0
nlpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
plip0: <PLIP network interface> 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<config_unit>
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 = 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 = 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 = 5.0, Manuf = [PCMCIA  ],card vers = [56K V.90 Fax Modem (LK)  ]
	Addit. info = [FM560LK  ],[ÿ]
Tuple #3, code = 0x20 (Manufacturer ID), length = 4
    000:  75 01 00 00
	PCMCIA ID = 0x175, OEM ID = 0x0
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 = 0x0 (Null tuple), length = 7
    000:  41 45 49 23 37 a1 00
Tuple #17, code = 0x14 (No link), length = 0
Tuple #18, code = 0xff (Terminator), length = 0
2 slots found



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?4.1.19990316123402.00923f10>