Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2001 10:53:45 -0800 (PST)
From:      Dave Cornejo <dave@mountain.dogwood.com>
To:        freebsd-mobile@freebsd.org
Subject:   compact flash & newcard
Message-ID:  <200110301853.f9UIrjI06313@mountain.dogwood.com>

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

I'm trying to use a SanDisk Compact Flash card with the SanDisk PCMCIA
adapter on a Toshiba T7200CT with a freshly cvsupped & built kernel.
This kernel has been patched to allow my Aironet card to be
recognized, and that works.  The problem is that when I insert the
CF/Adapter no devices are created for it but I do get output.  I've
fiddled with the pccard.conf file to try and get it to work to no
avail.  First question: should this work?  Second question: if it
should work, any clues on what I'm doing wrong?

Below is the dmesg output for the boot - the Aironet card is not
installed, but a 3Com Ethernet/Modem card and the CF+Adapter are:

Thanks,
dave c


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 #4: Tue Oct 30 10:11:30 PST 2001
    dave@whimper.cisco.com:/usr/obj/usr/src/sys/LAPTOP
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 597071737 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (597.07-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  = 201195520 (196480K bytes)
avail memory = 190070784 (185616K bytes)
Preloaded elf kernel "/boot/kernel/kernel" at 0xc046b000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc046b0a8.
Pentium Pro MTRR support enabled
Using $PIR table, 8 entries at 0xc00f0190
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <TOSHIB 750     > on motherboard
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xfe08-0xfe0b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_tz0: <thermal zone> on acpi0
acpi_pcib0: <Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <PCI bus> on acpi_pcib0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 5.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xfff0-0xffff at device 5.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
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
pci0: <bridge, PCI-unknown> at device 5.3 (no driver attached)
pci0: <simple comms> at device 7.0 (no driver attached)
pci0: <unknown> at device 9.0 (no driver attached)
pccbb0: <ToPIC100 PCI-CardBus Bridge> at device 11.0 on pci0
pccbb0: PCI Memory allocated: 10000000
acpi_pcib0: device is routed to IRQ 11
cardbus0: <Cardbus bus (newcard)> on pccbb0
pccard0: <16-bit PCCard bus> on pccbb0
pccbb1: <ToPIC100 PCI-CardBus Bridge> at device 11.1 on pci0
pccbb1: PCI Memory allocated: 10001000
acpi_pcib0: device is routed to IRQ 11
cardbus1: <Cardbus bus (newcard)> on pccbb1
pccard1: <16-bit PCCard bus> on pccbb1
pcm0: <ESS Technology Maestro-2E> port 0xfc00-0xfcff irq 11 at device 12.0 on pci0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_cmbat0: <Control method Battery> on acpi0
acpi_acad0: <AC adapter> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
fdc0: <NEC 72065B or clone> port 0x3f7,0x3f2-0x3f5 irq 6 on acpi0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
ppc0 port 0x778-0x77a,0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ad0: 11513MB <TOSHIBA MK1214GAP> [23392/16/63] at ata0-master UDMA33
Mounting root from ufs:/dev/ad0s2a
pccbb0: card inserted: event=0x00000006, state=30000820
pccbb0: pccbb_power: CARD_VCC_0V and CARD_VPP_0V [44]
pccbb0: pccbb_power: CARD_VCC_3V and CARD_VPP_VCC [11]
found->	vendor=0x10b7, dev=0x6564, revid=0x10
	class=02-00-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0000, statreg=0x0210, cachelnsz=8 (dwords)
	lattimer=0xa8 (5040 ns), mingnt=0x0a (2500 ns), maxlat=0x05 (1250 ns)
	intpin=a, irq=128
TUPLE: LINKTARGET [3]: 43 49 53
Product version: 5.0
Product name: 3Com Corporation | 3CXFEM656C-LAN | LAN | 1 | 
Manufacturer ID: 02016465
Functions: Network Adaptor, Multi-Functioned
TUPLE: DEVICE_OC [2]: 02 ff
cardbus0: Opening BAR: type=IO, bar=10, len=0080
cardbus0: Opening BAR: type=MEM, bar=14, len=0100
TUPLE: CONFIG_CB [6]: 03 01 00 00 00 00
TUPLE: CFTABLE_ENTRY_CB [15]: 41 ba 01 b5 1e 01 b5 1e 02 30 f8 ff 04 01 02
CIS reading done
cardbus0: Resource not specified in CIS: id=18, size=80
cardbus0: Non-prefetchable memory at 44000000-4400017f
cardbus0: Non-prefetchable memory rid=14 at 44000000-440000ff (100)
cardbus0: Non-prefetchable memory rid=18 at 44000100-4400017f (80)
cardbus0: IO port at 1000-107f
cardbus0: IO port rid=10 at 1000-107f
xl0: <3Com 3c656C Fast Etherlink XL> port 0x1000-0x107f mem 0x44000100-0x4400017f,0x44000000-0x440000ff irq 11 at device 0.0 on cardbus0
xl0: Ethernet address: 00:50:da:ac:c7:19
miibus0: <MII bus> on xl0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
found->	vendor=0x10b7, dev=0x6565, revid=0x10
	class=07-80-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0000, statreg=0x0210, cachelnsz=8 (dwords)
	lattimer=0xa8 (5040 ns), mingnt=0x0a (2500 ns), maxlat=0x05 (1250 ns)
	intpin=a, irq=128
TUPLE: LINKTARGET [3]: 43 49 53
Product version: 5.0
Product name: 3Com Corporation | 3CXFEM656C-MDM | MDM | 1 | 
Manufacturer ID: 02016565
Functions: Serial Port, Multi-Functioned
TUPLE: DEVICE_OC [2]: 02 ff
cardbus0: Opening BAR: type=MEM, bar=18, len=1000
TUPLE: CONFIG_CB [6]: 03 01 00 00 00 00
TUPLE: CFTABLE_ENTRY_CB [14]: 41 b2 01 b5 1e 01 b5 1e 30 f8 ff 08 01 02
Function Extension: 011f3f000400000400
Function Extension: 0206003f1c03030f060000ff
Function Extension: 1306000f006a00ff
Function Extension: 2306000f000200ff
CIS reading done
cardbus0: Resource not specified in CIS: id=10, size=100
cardbus0: Resource not specified in CIS: id=14, size=100
cardbus0: Non-prefetchable memory at 44001000-440020ff
cardbus0: Non-prefetchable memory rid=18 at 44001000-44001fff (1000)
cardbus0: Non-prefetchable memory rid=14 at 44002000-440020ff (100)
cardbus0: IO port at 1100-11ff
cardbus0: IO port rid=10 at 1100-11ff
cardbus0: <unknown card> (vendor=0x10b7, dev=0x6565) at 0.1 irq 11
pccbb1: card inserted: event=0x00000006, state=30000811
pccard1: chip_socket_enable
pccbb_pcic_socket_enable:
pccbb1: pccbb_power: CARD_VCC_0V and CARD_VPP_0V [44]
pccbb1: pccbb_power: CARD_VCC_3V and CARD_VPP_VCC [11]
pccbb1: pccbb_pcic_wait_ready: status 0xef
pccbb1: card type is mem
pccard1: read_cis
pccbb_pcic_mem_map window 0 bus 10002000+400+efffe000 card addr 0
pccbb_pcic_do_mem_map window 0: 8002 8002 3ffe 10 (10002000+00000400.00001000*efffe000)
pccbb_pcic_do_mem_map window 0: 8002 8002 7ffe 10 (10002000+00000400.00001000*efffe000)
cis mem map dd07a000
pccard1: CIS tuple chain:
CISTPL_DEVICE type=funcspec speed=ext
 01 04 df 72 01 ff
unhandled CISTPL 1c
 1c 04 03 d9 01 ff
unhandled CISTPL 18
 18 02 df 01
CISTPL_MANFID
 20 04 45 00 01 04
CISTPL_VERS_1
 15 17 04 01 53 75 6e 44 69 73 6b 00 53 44 50 00
 35 2f 33 20 30 2e 36 00 ff
unhandled CISTPL 80
 80 03 14 08 00
CISTPL_FUNCID
 21 02 04 01
CISTPL_FUNCE
 22 02 01 01
CISTPL_FUNCE
 22 03 02 0c 0f
CISTPL_CONFIG
 1a 05 01 07 00 02 0f
CISTPL_CFTABLE_ENTRY
 1b 0b c0 c0 a1 27 55 4d 5d 75 08 00 21
CISTPL_CFTABLE_ENTRY
 1b 06 00 01 21 b5 1e 4d
CISTPL_CFTABLE_ENTRY
 1b 0d c1 41 99 27 55 4d 5d 75 64 f0 ff ff 21
CISTPL_CFTABLE_ENTRY
 1b 06 01 01 21 b5 1e 4d
CISTPL_CFTABLE_ENTRY
 1b 12 c2 41 99 27 55 4d 5d 75 ea 61 f0 01 07 f6
 03 01 ee 21
CISTPL_CFTABLE_ENTRY
 1b 06 02 01 21 b5 1e 4d
CISTPL_CFTABLE_ENTRY
 1b 12 c3 41 99 27 55 4d 5d 75 ea 61 70 01 07 76
 03 01 ee 21
CISTPL_CFTABLE_ENTRY
 1b 06 03 01 21 b5 1e 4d
CISTPL_CFTABLE_ENTRY
 1b 04 07 00 28 d3
CISTPL_NO_LINK
 14 00
CISTPL_END
 ff
pccard1: check_cis_quirks
pccard1: CIS version PCCARD 2.0 or 2.1
pccard1: CIS info: SunDisk, SDP, 5/3 0.6
pccard1: Manufacturer code 0x45, product 0x401
pccard1: function 0: fixed disk, ccr addr 200 mask f
pccard1: function 0, config table entry 0: memory card; irq mask 0; memspace 0-7ff; maxtwins 1; powerdown
pccard1: function 0, config table entry 1: I/O card; irq mask ffff; iomask 4, iospace 0-f; memspace 0-7ff; maxtwins 1; powerdown
pccard1: function 0, config table entry 2: I/O card; irq mask 4000; iomask a, iospace 1f0-1f7 3f6-3f7; memspace 0-7ff; maxtwins 1; powerdown
pccard1: function 0, config table entry 3: I/O card; irq mask 4000; iomask a, iospace 170-177 376-377; memspace 0-7ff; maxtwins 1; powerdown
pccard1: function 0, config table entry 7: I/O card; irq mask 4000; iomask a, iospace 170-177 376-377; memspace 0-7ff; maxtwins 1; powerdown
pccard1: functions scanning
pccbb_pcic_socket_enable:
pccbb1: pccbb_power: CARD_VCC_0V and CARD_VPP_0V [44]
pccbb1: pccbb_power: CARD_VCC_3V and CARD_VPP_VCC [11]
pccbb1: pccbb_pcic_wait_ready: status 0xef
pccbb1: card type is mem
pccbb_pcic_mem_map window 0 bus 10002000+400+efffe000 card addr 0
pccbb_pcic_do_mem_map window 0: 8002 8002 3ffe 10 (10002000+00000400.00001000*efffe000)
pccard1: ccr_res == 10002000-100023ff, base=200
pccbb_pcic_do_mem_map window 0: 8002 8002 7ffe 10 (10002000+00000400.00001000*efffe000)
pccbb_pcic_do_mem_map window 0: 8002 8002 7ffe 10 (10002000+00000400.00001000*efffe000)
pccard1: function 0 CCR at 0 offset 200: 40 a0 2e 0, 0 0 0 0, 0
pccbb_pcic_socket_disable
pccbb1: pccbb_power: CARD_VCC_0V and CARD_VPP_0V [44]

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?200110301853.f9UIrjI06313>