Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Sep 1999 12:50:47 +0200
From:      Eric MASSON <e-masson@kisoft-services.com>
To:        FreeBSD Mobile <freebsd-mobile@freebsd.org>
Subject:   Pccard sio hangs the box when used
Message-ID:  <37D0F987.AF7ADFFC@kisoft-services.com>

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

[-- Attachment #1 --]
Hello,

I'm running 3.2-STABLE from last week of august (Don't remember the
date) on a Thinkpad 390E.

My favourite shop lent me a pccard modem for test purposes with FreeBSD.
This is a Trust card.
The dumpcis says it's 16550 based.

With the following configuration files, the card is probed as a 16550A.
When I try to connect my Isp the whole system hangs, idem as trying to
term when under ppp interactive.

I' ve been trying to make it work for 2 days now, and don't have any
more idea.

Any advices would be welcome.

Thanks in advance.

Eric MASSON

PS : I joined kernel config, dmesg output, dumpcis of card and
pccard.conf

-- 
Any opinions expressed above  | Murphy's Law Corollary :
are my own, not Kisoft's      | Murphy was an optimist.
[-- Attachment #2 --]
#------------------------------------------------------------------------------
# THINKPAD -- Thinkpad 390 avec disque IDE
#------------------------------------------------------------------------------
# Cree le 12/05/1999
#


machine		"i386"
cpu		"I686_CPU"
ident		THINKPAD
maxusers	32

options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		FFS_ROOT		#FFS usable as root device [keep this!]
options		NFS_NOSERVER		#Disable the NFS server code
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		UCONSOLE		#Allow users to grab the console
options		FAILSAFE		#Be conservative
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor

config		kernel	root on wd0

controller	isa0
controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2
disk		fd0	at fdc0 drive 0

controller	wdc0	at isa? port "IO_WD1" bio irq 14
disk		wd0	at wdc0 drive 0

controller	wdc1	at isa? port "IO_WD2" bio irq 15
device		acd0		#IDE CD-ROM

options		ATAPI		#Enable ATAPI support for IDE bus
options		ATAPI_STATIC	#Don't do it as an LKM

controller	atkbdc0	at isa? port IO_KBD tty
device		atkbd0	at isa? tty irq 1
device		psm0	at isa? tty irq 12

device		vga0	at isa? port ? conflicts

device		sc0	at isa? tty

device		npx0	at isa? port IO_NPX irq 13

device		apm0    at isa?	disable	flags 0x31 # Advanced Power Management

device		sio0	at isa? port "IO_COM1" tty irq 4 flags 0x10

device		ppc0	at isa? port? net irq 7
controller	ppbus0
device		nlpt0	at ppbus?

pseudo-device	loop
pseudo-device	tun	1
pseudo-device	pty	16
pseudo-device	gzip		# Exec gzipped a.out's
pseudo-device	ether
pseudo-device	bpfilter	1
pseudo-device	splash

options		SYSVSHM
options		SYSVSEM
options		SYSVMSG

device		pcm0	at isa? port 0x530 irq 5 drq 0 flags 0x11

controller	card0
device		pcic0	at card? irq 0
device		pcic1	at card? irq 0

device		ed0	at isa? port? irq?
device		sio1	at isa? port? irq?

options		PCIC_RESUME_RESET

options		POWERFAIL_NMI	# make it beep instead of panicing

[-- Attachment #3 --]
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.2-STABLE #0: Sat Sep  4 12:13:00 GMT 1999
    emss@notbsdems.nantes.kisoft-services.com:/usr/src/sys/compile/THINKPAD
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Xeon/Celeron (266.62-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x652  Stepping = 2
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 67108864 (65536K bytes)
avail memory = 62869504 (61396K bytes)
Preloaded elf kernel "kernel" at 0xc0247000.
Probing for devices on PCI bus 0:
chip0: <Intel 82443BX host to PCI bridge (AGP disabled)> rev 0x02 on pci0.0.0
chip1: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.2.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.2.1
chip2: <Intel 82371AB Power management controller> rev 0x02 on pci0.2.3
pcic0: <TI PCI-1250 PCI-CardBus Bridge> rev 0x02 int a irq 11 on pci0.3.0
pcic1: <TI PCI-1250 PCI-CardBus Bridge> rev 0x02 int a irq 11 on pci0.3.1
vga0: <NeoMagic model 0005 VGA-compatible display device> rev 0x12 int a irq 11 on pci0.5.0
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 not found
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
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): <IBM-DKLA-24320>
wd0: 4126MB (8452080 sectors), 8944 cyls, 15 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (atapi): <TOSHIBA CD-ROM XM-1702B/1462>, removable, accel, dma, iordis
acd0: drive speed 4134KB/sec, 128KB cache
acd0: supported read types: CD-R, CD-RW, CD-DA
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: no/blank disc inside, unlocked
ppc0 at 0x378 irq 7 on isa
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
... try to identify the yamaha
pcm0 at 0x530 irq 5 drq 0 flags 0xa211 on isa
mss_attach <mss>0 at 0x530 irq 5 dma 0:1 flags 0xa211
sio1 not found
PC-Card VLSI 82C146 (5 mem & 2 I/O windows)
pcic: controller irq 3
Initializing PC-card drivers: ed sio
changing root device to wd0s2a
Card inserted, slot 0
WARNING: / was not properly dismounted
sio1: type 16550A

[-- Attachment #4 --]
Code 135 not found
Code 135 not found
code Unknown ignored
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 = 0x15 (Version 1 info), length = 49
    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 49 29 20 00 46 4d 35 36 30 4c 4b 49 20 20 00
    030:  ff
	Version = 5.0, Manuf = [PCMCIA  ],card vers = [56K V.90 Fax Modem (LKI) ]
	Addit. info = [FM560LKI  ],[ÿ]
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

[-- Attachment #5 --]
#
# PCCARD configuration file
# $Id: pccard.conf,v 1.0 1999/09/03 18:20:00 emss Exp $
#

# Generally available IO ports
io	0x240-0x360
# Available IRQs 
irq	10 11 13
# Available memory slots
memory	0xd4000  96k

# Trust Netlink Combi Pccard
card "IC-CARD+" "IC-CARD+"
	config	0x20 "ed0" 10 0x10
	insert	echo Trust Netlink Combi Pccard inserted
	insert	/etc/pccard_ether ed0 link0 -link1
	remove	echo Trust Netlink Combi Pccard removed
	remove	/sbin/ifconfig ed0 delete
	remove	killall dhclient

# Trust Communicator 56k Pccard
card "PCMCIA  " "56K V.90 Fax Modem (LKI) "
	config	0x17 "sio1" 11
	insert	echo Trust Communicator 56k Pccard inserted
	remove	echo Trust Communicator 56k Pccard removed


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37D0F987.AF7ADFFC>