Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Feb 2002 17:49:39 -0800
From:      Maksim Yevmenkin <myevmenk@digisle.net>
To:        freebsd-mobile@freebsd.org
Subject:   Need help with pccard
Message-ID:  <3C632EB3.978DDFA@digisle.net>
References:  <Lvnl8A7dZ000051dc@OWA-UK-1.digisle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------65BE0391DB117D63BB6EB3E9
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hackers,
 
i was trying to bring this beast to life the whole day, but
had no luck :(
 
Hardware:

1) Laptop:  Toshiba Tecra 8100
2) PC Card: 3COM Wireless Bluetooth PC card
            3CRWB6096-HP M/N: SL-1022

Problem:

The card looks like serial port/modem card, but it does
not work like one. i added some debug printf's into sio.c
and it looks like sio fails to identify the chip.
(see output in attached file)

However, if i adjust my device.hints file then sio will
recognize the chip as 8250 UART. the same effect can be
achieved by killing and then starting pccardd again.
(see output in attached file)
 
but that is not all, even if i can force sio to recognize
the card when i try to access it (write to /dev/cuaa?,
/dev/tty?) my laptop hangs completely. i even can not
break into debugger.
 
i'm attaching some useful (i hope) information. any
suggestion how to resolve/debug the problem would
be greatly appreciated.

thanks,
max

p.s. linux also was not able to recognize the card :(
--------------65BE0391DB117D63BB6EB3E9
Content-Type: text/plain; charset=us-ascii;
 name="info.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="info.txt"

# uname -a

FreeBSD beetle 5.0-CURRENT FreeBSD 5.0-CURRENT #12: Thu Feb  7 12:23:45 PST 2002     root@beetle:/usr/src/sys/i386/compile/BEETLE  i386

============================8<========================================

boot -v output

# dmesg

Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #12: Thu Feb  7 12:23:45 PST 2002
    root@beetle:/usr/src/sys/i386/compile/BEETLE
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0391000.
Preloaded elf module "/boot/kernel/nmdm.ko" at 0xc03910b4.
Calibrating clock(s) ... TSC clock: 597790040 Hz, i8254 clock: 1193193 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
Timecounter "TSC"  frequency 597787007 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (597.79-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x681  Stepping = 1
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 134086656 (130944K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x003b8000 - 0x07fd7fff, 130154496 bytes (31776 pages)
avail memory = 126844928 (123872K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00f0220
bios32: Entry = 0xfc36c (c00fc36c)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xf0000+0xee03
pnpbios: Found PnP BIOS data at 0xc00f07a0
pnpbios: Entry = f0000:927f  Rev = 1.0
pnpbios: Event flag at 510
pnpbios: OEM ID 6934f351
Other BIOS signatures found:
random: <entropy source>
null: <null device, zero device>
mem: <memory & I/O>
Pentium Pro MTRR support enabled
pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=71908086)
Using $PIR table, 10 entries at 0xc00f0130
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> at pcibus 0 on motherboard
pci0: physical bus=0
	map[10]: type 3, range 32, base e0000000, size 27, enabled
found->	vendor=0x8086, dev=0x7190, revid=0x03
	bus=0, slot=0, func=0
	class=06-00-00, hdrtype=0x00, mfdev=0
found->	vendor=0x8086, dev=0x7191, revid=0x03
	bus=0, slot=1, func=0
	class=06-04-00, hdrtype=0x01, mfdev=0
found->	vendor=0x1179, dev=0x0611, revid=0x51
	bus=0, slot=3, func=0
	class=06-01-00, hdrtype=0x00, mfdev=0
found->	vendor=0x8086, dev=0x7110, revid=0x02
	bus=0, slot=5, func=0
	class=06-80-00, hdrtype=0x00, mfdev=1
	map[20]: type 4, range 32, base 0000fff0, size  4, enabled
found->	vendor=0x8086, dev=0x7111, revid=0x01
	bus=0, slot=5, func=1
	class=01-01-80, hdrtype=0x00, mfdev=0
	map[20]: type 4, range 32, base 0000ff80, size  5, enabled
found->	vendor=0x8086, dev=0x7112, revid=0x01
	bus=0, slot=5, func=2
	class=0c-03-00, hdrtype=0x00, mfdev=0
	intpin=d, irq=11
	map[90]: type 4, range 32, base 0000fe70, size  4, enabled
found->	vendor=0x8086, dev=0x7113, revid=0x03
	bus=0, slot=5, func=3
	class=06-80-00, hdrtype=0x00, mfdev=0
	map[10]: type 4, range 32, base 0000ff60, size  5, enabled
found->	vendor=0x1179, dev=0x0d01, revid=0x00
	bus=0, slot=9, func=0
	class=0d-00-00, hdrtype=0x00, mfdev=0
	intpin=a, irq=11
	powerspec 2  supports D0 D1 D3  current D0
	map[10]: type 1, range 32, base efff8000, size 15, enabled
	map[14]: type 4, range 32, base 0000ff00, size  6, enabled
	map[18]: type 4, range 32, base 0000fefc, size  2, enabled
found->	vendor=0x1073, dev=0x0010, revid=0x02
	bus=0, slot=12, func=0
	class=04-01-00, hdrtype=0x00, mfdev=0
	intpin=a, irq=11
	powerspec 1  supports D0 D2 D3  current D0
	map[10]: type 4, range 32, base 0000fd80, size  7, enabled
	map[14]: type 1, range 32, base efff7f80, size  7, enabled
found->	vendor=0x10b7, dev=0x9200, revid=0x6c
	bus=0, slot=15, func=0
	class=02-00-00, hdrtype=0x00, mfdev=0
	intpin=a, irq=11
	powerspec 2  supports D0 D1 D2 D3  current D0
pci0: <PCI bus> on pcib0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pcib1:   secondary bus     1
pcib1:   subordinate bus   1
pcib1:   I/O decode        0xf000-0xfff
pcib1:   memory decode     0xf0000000-0xf7ffffff
pcib1:   prefetched decode 0xfff00000-0xfffff
pci1: physical bus=1
	map[10]: type 1, range 32, base f0000000, size 27, enabled
found->	vendor=0x5333, dev=0x8c10, revid=0x11
	bus=1, slot=0, func=0
	class=03-00-00, hdrtype=0x00, mfdev=0
	intpin=a, irq=11
	powerspec 1  supports D0 D1 D2 D3  current D0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 3.0 on pci0
isa0: <ISA bus> on isab0
PCI-ISA bridge with incorrect subclass 0x80
PCI-ISA bridge with incorrect subclass 0x80
isab1: <PCI-ISA bridge> at device 5.0 on pci0
isa-: isa0 already exists, skipping it
atapci0: <Intel PIIX4 ATA33 controller> port 0xfff0-0xffff at device 5.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xfff0
ata0: mask=03 ostat0=50 ostat2=00
ata0-slave: ATAPI probe 00 00
ata0-master: ATAPI probe 00 00
ata0: mask=03 stat0=50 stat1=00
ata0-master: ATA probe 01 a5
ata0: devices=01
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xfff8
ata1: mask=03 ostat0=50 ostat2=00
ata1-master: ATAPI probe 14 eb
ata1-slave: ATAPI probe 14 eb
ata1: mask=03 stat0=00 stat1=00
ata1: devices=0c
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xff80-0xff9f irq 11 at device 5.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1: Texas Instruments UT-USB41 hub, class 9/0, rev 1.00/1.00, addr 2
uhub1: 4 ports with 4 removable, self powered
pci0: <bridge, PCI-unknown> at device 5.3 (no driver attached)
pci0: <unknown> at device 9.0 (no driver attached)
pcm0: <Yamaha DS-1E (YMF744)> port 0xfefc-0xfeff,0xff00-0xff3f mem 0xefff8000-0xefffffff irq 11 at device 12.0 on pci0
ds1: setmap (3e7000, 3de4), nseg=1, error=0
pcm0: ac97 codec id 0x414b4d05
pcm0: ac97 codec features headphone, 18 bit DAC, 18 bit ADC, 5 bit master volume, AKM 3D Audio
pcm0: ac97 primary codec extended features variable rate PCM, AMAP
pcm: setmap 404000, 1000; 0xc0f50000 -> 404000
pcm: setmap 406000, 1000; 0xc0f52000 -> 406000
pcm: setmap 408000, 1000; 0xc0f54000 -> 408000
pcm: setmap 3eb000, 1000; 0xc0f57000 -> 3eb000
pcm: setmap 3ee000, 1000; 0xc0f5a000 -> 3ee000
pcm: setmap 410000, 1000; 0xc0f5c000 -> 410000
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xfd80-0xfdff mem 0xefff7f80-0xefff7fff irq 11 at device 15.0 on pci0
xl0: Ethernet address: 00:00:39:8c:1e:26
xl0: media options word: a
xl0: found MII/AUTO
miibus0: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bpf: xl0 attached
ata-: ata0 already exists, skipping it
ata-: ata1 already exists, skipping it
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
pnpbios: 16 devices, largest 262 bytes
PNP0c01: adding fixed memory32 range 0-0x9ffff, size=0xa0000
PNP0c01: adding fixed memory32 range 0xf0000-0xfffff, size=0x10000
PNP0c01: adding fixed memory32 range 0x100000-0x7fdffff, size=0x7ee0000
PNP0c01: adding fixed memory32 range 0x7fe0000-0x7feffff, size=0x10000
PNP0c01: adding fixed memory32 range 0x7ff0000-0x7ffffff, size=0x10000
PNP0c01: adding fixed memory32 range 0x100a0000-0x100fffff, size=0x60000
PNP0c01: adding fixed memory32 range 0xfff00000-0xffffffff, size=0x100000
pnpbios: handle 1 device ID PNP0c01 (010cd041)
PNP0200: adding io range 0-0xf, size=0x10, align=0x1
PNP0200: adding io range 0x81-0x83, size=0x3, align=0x1
PNP0200: adding io range 0x87-0x87, size=0x1, align=0x1
PNP0200: adding io range 0x89-0x8b, size=0x3, align=0x1
PNP0200: adding io range 0x8f-0x8f, size=0x1, align=0x1
PNP0200: adding io range 0xc0-0xdf, size=0x20, align=0x1
PNP0200: adding dma mask 0x10
pnpbios: handle 2 device ID PNP0200 (0002d041)
PNP0000: adding io range 0x20-0x21, size=0x2, align=0x1
PNP0000: adding io range 0xa0-0xa1, size=0x2, align=0x1
PNP0000: adding irq mask 0x4
pnpbios: handle 3 device ID PNP0000 (0000d041)
PNP0100: adding io range 0x40-0x43, size=0x4, align=0x1
PNP0100: adding irq mask 0x1
pnpbios: handle 4 device ID PNP0100 (0001d041)
PNP0800: adding io range 0x61-0x61, size=0x1, align=0x1
pnpbios: handle 5 device ID PNP0800 (0008d041)
PNP0c04: adding io range 0xf0-0xff, size=0x10, align=0x1
PNP0c04: adding irq mask 0x2000
pnpbios: handle 6 device ID PNP0c04 (040cd041)
PNP0303: adding io range 0x60-0x60, size=0x1, align=0x1
PNP0303: adding io range 0x64-0x64, size=0x1, align=0x1
PNP0303: adding irq mask 0x2
pnpbios: handle 7 device ID PNP0303 (0303d041)
PNP0f13: adding irq mask 0x1000
pnpbios: handle 8 device ID PNP0f13 (130fd041)
PNP0b00: adding io range 0x70-0x71, size=0x2, align=0x1
PNP0b00: adding irq mask 0x100
pnpbios: handle 9 device ID PNP0b00 (000bd041)
PNP0c02: adding io range 0x80-0x80, size=0x1, align=0x1
PNP0c02: adding io range 0x84-0x86, size=0x3, align=0x1
PNP0c02: adding io range 0x88-0x88, size=0x1, align=0x1
PNP0c02: adding io range 0x8c-0x8e, size=0x3, align=0x1
PNP0c02: adding io range 0xe0-0xef, size=0x10, align=0x1
PNP0c02: adding io range 0xb0-0xb2, size=0x3, align=0x1
PNP0c02: adding io range 0x62-0x62, size=0x1, align=0x1
PNP0c02: adding io range 0x66-0x66, size=0x1, align=0x1
PNP0c02: adding io range 0x6d-0x6d, size=0x1, align=0x1
PNP0c02: adding io range 0x6f-0x6f, size=0x1, align=0x1
PNP0c02: adding io range 0x480-0x48f, size=0x10, align=0x1
PNP0c02: adding io range 0xcf8-0xcff, size=0x8, align=0x1
PNP0c02: adding io range 0x4d0-0x4d1, size=0x2, align=0x1
PNP0c02: adding io range 0x22-0x22, size=0x1, align=0x1
PNP0c02: adding io range 0x92-0x92, size=0x1, align=0x1
PNP0c02: adding io range 0xe000-0xe07f, size=0x80, align=0x1
PNP0c02: adding io range 0xe080-0xe0ff, size=0x80, align=0x1
PNP0c02: adding io range 0xe400-0xe47f, size=0x80, align=0x1
PNP0c02: adding io range 0xe480-0xe4ff, size=0x80, align=0x1
PNP0c02: adding io range 0xe800-0xe87f, size=0x80, align=0x1
PNP0c02: adding io range 0xe880-0xe8ff, size=0x80, align=0x1
PNP0c02: adding io range 0xec00-0xec7f, size=0x80, align=0x1
PNP0c02: adding io range 0xec80-0xecff, size=0x80, align=0x1
PNP0c02: adding io range 0xfd00-0xfd3f, size=0x40, align=0x1
PNP0c02: adding io range 0xfeac-0xfeac, size=0x1, align=0x1
PNP0c02: adding io range 0xfe00-0xfe41, size=0x42, align=0x1
PNP0c02: adding io range 0xfe50-0xfe57, size=0x8, align=0x1
PNP0c02: adding io range 0xfe70-0xfe7f, size=0x10, align=0x1
PNP0c02: adding io range 0xfe90-0xfe97, size=0x8, align=0x1
PNP0c02: adding io range 0xfe9e-0xfe9e, size=0x1, align=0x1
PNP0c02: adding irq mask 0x200
pnpbios: handle 10 device ID PNP0c02 (020cd041)
PNP0700: adding io range 0x3f2-0x3f5, size=0x4, align=0x1
PNP0700: adding io range 0x3f7-0x3f7, size=0x1, align=0x1
PNP0700: adding irq mask 0x40
PNP0700: adding dma mask 0x4
pnpbios: handle 11 device ID PNP0700 (0007d041)
PNP0501: adding io range 0x3f8-0x3ff, size=0x8, align=0x1
PNP0501: adding irq mask 0x10
pnpbios: handle 14 device ID PNP0501 (0105d041)
pnpbios: handle 17 device ID PNP0a03 (030ad041)
pnpbios: handle 18 device ID PNP0400 (0004d041)
PNP0e00: adding io range 0x3e0-0x3e1, size=0x2, align=0x1
pnpbios: handle 19 device ID PNP0e00 (000ed041)
pnpbios: handle 38 device ID YMH0110 (1001a865)
sc-: sc0 already exists, skipping it
vga-: vga0 already exists, skipping it
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
adv0 failed to probe on isa0
aha0 failed to probe on isa0
aic0 failed to probe on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0047
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
psm0: current command byte:0047
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0-51, 3 buttons
psm0: config:00000000, flags:00000000, packet size:3
psm0: syncmask:08, syncbits:08
bt0 failed to probe on isa0
cs0 failed to probe at port 0x300 on isa0
ed0 failed to probe at port 0x280 iomem 0xd8000 irq 10 on isa0
fdc0: <enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fe0 failed to probe at port 0x300 on isa0
ie0 failed to probe at port 0x300 iomem 0xd0000 irq 10 on isa0
le0 failed to probe at port 0x300 iomem 0xd0000 irq 5 on isa0
lnc0 failed to probe at port 0x280 irq 10 drq 0 on isa0
pcic0: <Intel i82365SL-A/B> at port 0x3e0 iomem 0xd0000 on isa0
pcic0: Polling mode
pccard0: <PC Card bus (classic)> on pcic0
pccard1: <PC Card bus (classic)> on pcic0
pmtimer0 on isa0
ppc0 failed to probe at irq 7 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
sio0: irq maps: 0x41 0x51 0x51 0x51
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sn0 failed to probe at port 0x300 irq 10 on isa0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 07 80 9c 0e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
EGA/VGA parameters to be used for mode 24
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 07 80 9c 0e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
vt0 failed to probe on isa0
isa_probe_children: probing PnP devices
unknown: <PNP0800> failed to probe at port 0x61 on isa0
unknown: <PNP0303> can't assign resources
unknown: <PNP0303> at port 0x60 on isa0
unknown: <PNP0f13> can't assign resources
unknown: <PNP0f13> at irq 12 on isa0
unknown: <PNP0700> can't assign resources
unknown: <PNP0700> at port 0x3f2-0x3f5 on isa0
unknown: <PNP0501> can't assign resources
unknown: <PNP0501> at port 0x3f8-0x3ff on isa0
unknown: <PNP0400> failed to probe on isa0
unknown: <PNP0e00> failed to probe at port 0x3e1-0x3e2 on isa0
unknown: <YMH0110> failed to probe on isa0
BIOS Geometries:
 0:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
procfs registered
bpf: lo0 attached
IP packet filtering initialized, divert enabled, rule-based forwarding disabled, default to deny, logging limited to 100 packets/entry by default
ata1-slave: ata_command: timeout waiting for intr
ata1-slave: ATAPI identify failed
ad0: success setting UDMA2 on Intel chip
Creating DISK ad0
ad0: <IBM-DARA-212000/AR4OA53A> ATA-4 disk at ata0-master
ad0: 11513MB (23579136 sectors), 23392 C, 16 H, 63 S, 512 B
ad0: 16 secs/int, 1 depth queue, UDMA33
ad0: piomode=4 dmamode=2 udmamode=4 cblid=1
ata1-master: piomode=4 dmamode=2 udmamode=2 dmaflag=1
ata1-master: success setting PIO4 on generic chip
acd0: <TOSHIBA DVD-ROM SD-C2302/1315> DVD-ROM drive at ata1 as master
acd0: read 4134KB/s (34515KB/s), 128KB buffer, PIO4
acd0: Reads: CD-R, CD-RW, CD-DA stream, DVD-ROM, DVD-R
acd0: Writes:
acd0: Audio: play, 16 volume levels
acd0: Mechanism: ejectable tray, unlocked
acd0: Medium: no/blank disc
Mounting root from ufs:/dev/ad0s2a
ad0s1: type 0xb, start 63, end = 8385929, size 8385867 : OK
ad0s2: type 0xa5, start 8385930, end = 12418244, size 4032315 : OK
ad0s3: type 0xa5, start 12418245, end = 23567354, size 11149110 : OK
start_init: trying /sbin/init
Linux ELF exec handler installed
linprocfs registered
splash: image decoder found: logo_saver
/dev/vmmon: Module vmmon: registered with major=200 minor=0 tag=$Name: build-570 $
/dev/vmmon: Module vmmon: initialized
bpf: vmnet1 attached

============================8<========================================

Insert card and

# tail -15 /var/log/messages

Feb  7 17:02:55 beetle login: ROOT LOGIN (root) ON ttyv3
Feb  7 17:03:16 beetle kernel: pccard: card inserted, slot 0
Feb  7 17:03:16 beetle kernel: pcic0: reset 1 int is 0 stat is ff
Feb  7 17:03:17 beetle kernel: pcic0: reset 2 int is 60 stat is ef
Feb  7 17:03:17 beetle kernel: pcic0: reset 3 int is 60 stat is ef
Feb  7 17:03:22 beetle pccardd[127]: Card "3COM"("3CRWB60-A") [Bluetooth PC Card] [(null)] matched "3COM" ("3CRWB60-A") [Bluetooth PC Card] [(null)] 
Feb  7 17:03:22 beetle pccardd[127]: Using I/O addr 0x240, size 8 
Feb  7 17:03:22 beetle pccardd[127]: Setting config reg at offs 0x320 to 0x70, Reset time = 50 ms 
Feb  7 17:03:27 beetle kernel: pccard0: Assigning sio1: io 0x240-0x247 irq 3 mem 0x0-0xffffffff
Feb  7 17:03:27 beetle kernel: pcic: I/O win 0 flags 11 240-247
Feb  7 17:03:27 beetle kernel: ----- probe:Unknown, Just omit this chip.. XXX ----
Feb  7 17:03:27 beetle kernel: pcic: I/O win 0 flags 1 240-247
Feb  7 17:03:27 beetle pccardd[127]: Assigning I/O window 0, start 0x240, size 0x8 flags 0x1 
Feb  7 17:03:27 beetle pccardd[127]: Assign sio-1, io 0x240-0x247, mem 0x0, 0 bytes, irq 3, flags 0 
Feb  7 17:03:27 beetle pccardd[127]: driver allocation failed for 3COM(3CRWB60-A): Device not configured

============================8<========================================

Kill and start pccardd again and

# tail -f /var/log/messages

Feb  7 12:43:41 beetle pccardd[290]: Card "3COM"("3CRWB60-A") [Bluetooth PC Card] [(null)] matched "3COM" ("3CRWB60-A") [Bluetooth PC Card] [(null)] 
Feb  7 12:43:41 beetle pccardd[290]: Using I/O addr 0x240, size 8 
Feb  7 12:43:41 beetle pccardd[290]: Setting config reg at offs 0x320 to 0x70, Reset time = 50 ms 
Feb  7 12:43:46 beetle kernel: pccard0: Assigning sio4: io 0x240-0x247 irq 3 mem 0x0-0xffffffff
Feb  7 12:43:46 beetle kernel: pcic: I/O win 0 flags 11 240-247
Feb  7 12:43:46 beetle kernel: ----- probe:Unknown, Just omit this chip.. XXX ----
Feb  7 12:43:46 beetle kernel: pcic: I/O win 0 flags 1 240-247
Feb  7 12:43:46 beetle pccardd[290]: Assigning I/O window 0, start 0x240, size 0x8 flags 0x1 
Feb  7 12:43:46 beetle pccardd[290]: Assign sio-1, io 0x240-0x247, mem 0x0, 0 bytes, irq 3, flags 0 
Feb  7 12:43:46 beetle pccardd[290]: driver allocation failed for 3COM(3CRWB60-A): Device not configured
Feb  7 12:43:46 beetle pccardd[290]: pccardd started
Feb  7 12:44:55 beetle pccardd[290]: pccardd terminated: signal 2 received
Feb  7 12:46:27 beetle su: max to root on /dev/ttyv2
Feb  7 12:46:34 beetle pccardd[317]: Card "3COM"("3CRWB60-A") [Bluetooth PC Card] [(null)] matched "3COM" ("3CRWB60-A") [Bluetooth PC Card] [(null)] 
Feb  7 12:46:34 beetle pccardd[317]: Using I/O addr 0x240, size 8 
Feb  7 12:46:34 beetle pccardd[317]: Setting config reg at offs 0x320 to 0x70, Reset time = 50 ms 
Feb  7 12:46:39 beetle kernel: pccard0: Assigning sio4: io 0x240-0x247 irq 3 mem 0x0-0xffffffff
Feb  7 12:46:39 beetle kernel: pcic: I/O win 0 flags 11 240-247
Feb  7 12:46:39 beetle kernel: pcic: I/O win 0 flags 1 240-247
Feb  7 12:46:39 beetle kernel: sio4 at port 0x240-0x247 irq 3 slot 0 on pccard0
Feb  7 12:46:40 beetle kernel: pcic: I/O win 0 flags 11 240-247
Feb  7 12:46:40 beetle kernel: sio4: type 8250
Feb  7 12:46:39 beetle pccardd[317]: Assigning I/O window 0, start 0x240, size 0x8 flags 0x1 
Feb  7 12:46:39 beetle pccardd[317]: Assign sio-1, io 0x240-0x247, mem 0x0, 0 bytes, irq 3, flags 0 
Feb  7 12:46:39 beetle pccardd[317]: sio4: 3COM (3CRWB60-A) inserted.
Feb  7 12:46:39 beetle pccardd[317]: pccardd started

============================8<========================================

# pccardc dumpcis

Code 128 not found
Code 128 not found
code Unknown ignored
Configuration data for card in slot 0
Tuple #1, code = 0x1 (Common memory descriptor), length = 3
    000:  00 00 ff
	Common memory device information:
		Device number 1, type No device, WPS = OFF
		Speed = No speed, Memory block size = 512b, 1 units
Tuple #2, code = 0x15 (Version 1 info), length = 36
    000:  05 00 33 43 4f 4d 00 33 43 52 57 42 36 30 2d 41
    010:  00 42 6c 75 65 74 6f 6f 74 68 20 50 43 20 43 61
    020:  72 64 00 ff
	Version = 5.0, Manuf = [3COM], card vers = [3CRWB60-A]
	Addit. info = [Bluetooth PC Card]
Tuple #3, code = 0x20 (Manufacturer ID), length = 4
    000:  01 01 40 00
	PCMCIA ID = 0x101, OEM ID = 0x40
Tuple #4, code = 0x21 (Functional ID), length = 2
    000:  02 01
	Serial port/modem - POST initialize
Tuple #5, code = 0x1a (Configuration map), length = 6
    000:  05 30 20 03 17 00
	Reg len = 2, config register addr = 0x320, last config = 0x30
	Registers: XXX-X--- -------- 
Tuple #6, code = 0x1b (Configuration entry), length = 9
    000:  f0 41 18 a0 40 07 30 ff ff
	Config index = 0x30(default)
	Interface byte = 0x41 (I/O)  +RDY/-BSY active
	Card provides address decode, 8 Bit I/O only
		I/O address # 1:  block length = 0x8
		IRQ modes: Level
		IRQs:  0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Tuple #7, code = 0x0 (Null tuple), length = 10
    000:  02 01 40 00 2d 00 00 00 00 ff
Tuple #8, code = 0x14 (No link), length = 0
Tuple #9, code = 0xff (Terminator), length = 0
2 slots found

============================8<========================================

# cat /etc/pccard.conf

# 3Com 3CRWB60-A Bluetooth PC Card

debuglevel	9

card "3COM" "3CRWB60-A" "Bluetooth PC Card"
	config auto "sio" ?


--------------65BE0391DB117D63BB6EB3E9--


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?3C632EB3.978DDFA>