Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jun 1998 12:14:02 -0700
From:      Kurt Joseph Windisch <kurtw@network-services.uoregon.edu>
To:        freebsd-mobile@FreeBSD.ORG
Cc:        kurtw@network-services.uoregon.edu
Subject:   PCCARD on Digital HiNote Ultra 2000
Message-ID:  <199806041914.MAA27459@peabody.>

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

I'm trying to get the PCCARD stuff working on the 
Digital HiNote Ultra 2000 GTX 5266M with Cirrus Logic PCIC compatible
PCMCIA controller and Texus Instruments PCI-1131 CardBus Controllers.
I have a number of questions.

First, is anyone else using this notebook who can swap notes with me?
Second, is there any documentation for the pccard options in the kernel
config?  I haven't found anything in the handbook or faq.

I've installed FreeBSD 2.2.6 and everything works fine except for the
PCCARD stuff.  I've also tried the PAO patches, which gave me a different
set of problems...Here are some of the problems that I'm seeing (I'll
include verbose kernel/pccardd output at the end of this message if anyone's
interested).

With the standard 2.2.6 distribution (no PAO):
 1. The computer has an integrated Xircom 10/100+56K LAN/Modem card on it's 
    own internal controller.  pccardd sees the card (pccardc dumpcis output
    below) but I cant' get any configuration to work. If nothing else,
    can it be configured as a modem-only?  Anyone have a pccard.conf 
    entry?  There is a Xircom Combo modem-only config in the pccard.conf.sample
    but any variation that I've tried gives me a "driver allocation failed"
    error.
    
 2. The integrated Xircom seems to be on it's own controller, occupying slot 0.
    When I insert a 3Com 3C589D LAN card in the normal slots, the kernel
    reports that a card was inserted in slot 3, but pccardd doesn't 
    see it or configure it.  When I run 'pccardc dumpcis' it reports
    only "2 slots found", which seem to be on the controller for the
    integrated LAN/Modem, not the user-accessable ones.
    Do I need to configure multiple controllers in the kernel?  What should
    this config look like?  

Docking issues:
 3. I have a Digital Multimedia dock for the notebook.  Under standard
    2.2.6, I can use it with the floppy drive in the dock module without
    problems.  I haven't tried any of the other dock ports yet.  
    It also has a PCI-bridge and another set of PCCard slots.  Can I 
    config the kernel/pccardd to use these also?  Currently, cards inserted
    in these slots are not recognised by even the kernel.
 4. See 5!

PAO issues:
 5. I also tried using the latest PAO.  It helped with some of the above.
    pccardd recognized all 4 slots (2 on integrated lan/modem controller +
    2 user-accessible ones) and my Etherlink III worked great.  However,
    when I booted with the notebook docked the kernel PANICED!
    If anyone wants info to debug this, email me.  Anyway, this is
    unacceptable, so I went back to standard 2.2.6.

Well, I would be interested to hear from ANYONE who has tried FreeBSD 2.2.6
on this computer.  An of course, any specific help or answers to the above
would be appreciated.

The rest of the message contain verbose output from the kernel and pccard
utils while runnign the standard 2.2.6-RELEASE distribution (no PAO):

Bits of my kernel configuration:
---------------------------------
#
# Laptop support (see LINT for more options)
#
device          apm0    at isa?         # Advanced Power Management
options         APM_BROKEN_STATCLOCK    # Workaround some buggy APM BIOS

# PCCARD (PCMCIA) support
# NOTE - I don't know what the correct config is here.  This is a stab
#        in the dark to try and make both controllers (the integrated 
#        LAN/Modem controller and the one for user-accessible slots) work.
controller      card0
controller      card1
device          pcic0   at card?
device          pcic1   at card?


Kernel boot log:
-----------------
Jun  4 11:43:30 libertad /kernel: Copyright (c) 1992-1998 FreeBSD Inc.
Jun  4 11:43:30 libertad /kernel: Copyright (c) 1982, 1986, 1989, 1991, 1993
Jun  4 11:43:30 libertad /kernel:       The Regents of the University of Califo
rnia.  All rights reserved.
Jun  4 11:43:30 libertad /kernel: 
Jun  4 11:43:30 libertad /kernel: FreeBSD 2.2.6-RELEASE #0: Thu Jun  4 09:49:36
 PDT 1998
Jun  4 11:43:30 libertad /kernel:     root@libertad.uoregon.edu:/usr/src/sys/co
mpile/LIBERTAD
Jun  4 11:43:30 libertad /kernel: CPU: Pentium (266.65-MHz 586-class CPU)
Jun  4 11:43:30 libertad /kernel:   Origin = "GenuineIntel"  Id = 0x581  Steppi
ng=1
Jun  4 11:43:30 libertad /kernel:   Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MC
E,CX8,MMX>
Jun  4 11:43:30 libertad /kernel: real memory  = 150994944 (147456K bytes)
Jun  4 11:43:30 libertad /kernel: avail memory = 145502208 (142092K bytes)
Jun  4 11:43:30 libertad /kernel: Probing for devices on PCI bus 0:
Jun  4 11:43:30 libertad /kernel: chip0 <generic PCI bridge (vendor=1066 device
=0001 subclass=0)> rev 5 on pci0:0:0
Jun  4 11:43:30 libertad /kernel: chip1 <generic PCI bridge (vendor=1066 device
=0002 subclass=128)> rev 0 on pci0:5:0
Jun  4 11:43:30 libertad /kernel: vga0 <VGA-compatible display device> rev 194 
on pci0:6:0
Jun  4 11:43:30 libertad /kernel: pcic0 <TI 1131 PCI to PCMCIA/CardBus bridge> 
rev 1 int a irq 9 on pci0:7:0
Jun  4 11:43:30 libertad /kernel: pcic1 <TI 1131 PCI to PCMCIA/CardBus bridge> 
rev 1 int b irq 10 on pci0:7:1
Jun  4 11:43:30 libertad /kernel: pci0:8:    CMD, device=0x0643, class=storage 
(ide) int a irq 14 [no driver assigned]
Jun  4 11:43:30 libertad /kernel: pcic2 <TI 1131 PCI to PCMCIA/CardBus bridge> 
rev 1 int a irq 9 on pci0:14:0
Jun  4 11:43:30 libertad /kernel: pcic3 <TI 1131 PCI to PCMCIA/CardBus bridge> 
rev 1 int b irq 10 on pci0:14:1
Jun  4 11:43:30 libertad /kernel: pci0:15:    CMD, device=0x0646, class=storage
 (ide) int a irq ?? [no driver assigned]
Jun  4 11:43:30 libertad /kernel: pci0:16:    CMD, device=0x0670, class=serial,
 subclass=0x03 int a irq ?? [no driver assigned]
Jun  4 11:43:30 libertad /kernel: pci0:17:    vendor=0x1066, device=0x0003, cla
ss=0xff, subclass=0xff [no driver assigned]
Jun  4 11:43:30 libertad /kernel: Probing for devices on the ISA bus:
Jun  4 11:43:30 libertad /kernel: sc0 at 0x60-0x6f irq 1 on motherboard
Jun  4 11:43:30 libertad /kernel: sc0: VGA color <16 virtual consoles, flags=0x
0>
Jun  4 11:43:30 libertad /kernel: ed0 not found at 0x280
Jun  4 11:43:30 libertad /kernel: fe0 not found at 0x300
Jun  4 11:43:30 libertad /kernel: sio0 not found at 0x3f8
Jun  4 11:43:30 libertad /kernel: sio1 not found at 0x2f8
Jun  4 11:43:30 libertad /kernel: lpt0 at 0x378-0x37f irq 7 on isa
Jun  4 11:43:30 libertad /kernel: lpt0: Interrupt-driven port
Jun  4 11:43:30 libertad /kernel: lp0: TCP/IP capable interface
Jun  4 11:43:30 libertad /kernel: psm0 at 0x60-0x64 irq 12 on motherboard
Jun  4 11:43:30 libertad /kernel: psm0: model Generic PS/2 mouse, device ID 0
Jun  4 11:43:30 libertad /kernel: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
Jun  4 11:43:30 libertad /kernel: fdc0: FIFO enabled, 8 bytes threshold
Jun  4 11:43:30 libertad /kernel: fd0: 1.44MB 3.5in
Jun  4 11:43:30 libertad /kernel: wdc0 at 0x1f0-0x1f7 irq 14 on isa
Jun  4 11:43:30 libertad /kernel: wdc0: unit 0 (wd0): <IBM-DTCA-24090>
Jun  4 11:43:30 libertad /kernel: wd0: 3909MB (8007552 sectors), 7944 cyls, 16 
heads, 63 S/T, 512 B/S
Jun  4 11:43:30 libertad /kernel: wdc0: unit 1 (atapi): <TOSHIBA CD-ROM XM-1702
B/1150>, removable, accel, dma, iordis
Jun  4 11:43:30 libertad /kernel: wcd0: 4134Kb/sec, 128Kb cache, audio play, 25
5 volume levels, ejectable tray
Jun  4 11:43:30 libertad /kernel: wcd0: no disc inside, unlocked
Jun  4 11:43:30 libertad /kernel: wdc1 not found at 0x170
Jun  4 11:43:30 libertad /kernel: aic0 not found at 0x340
Jun  4 11:43:30 libertad /kernel: ep0 not found at 0x300
Jun  4 11:43:30 libertad /kernel: npx0 flags 0x1 on motherboard
Jun  4 11:43:30 libertad /kernel: npx0: INT 16 interface
Jun  4 11:43:30 libertad /kernel: apm0 on isa
Jun  4 11:43:30 libertad /kernel: apm: found APM BIOS version 1.2
Jun  4 11:43:30 libertad /kernel: PC-Card Cirrus Logic PD672X (5 mem & 2 I/O wi
ndows)
Jun  4 11:43:30 libertad /kernel: pcic: controller irq 3
Jun  4 11:43:30 libertad /kernel: Initializing PC-card drivers: aic ed ep fe si
o
Jun  4 11:43:30 libertad /kernel: Intel Pentium F00F detected, installing worka
round
Jun  4 11:43:30 libertad /kernel: Card inserted, slot 0
Jun  4 11:43:34 libertad pccardd[42]: No card in database for "Xircom"("CreditC
ard Ethernet 10/100 + ")
Jun  4 11:43:34 libertad pccardd[42]: pccardd started
Jun  4 11:44:42 libertad /kernel: Card inserted, slot 3
Jun  4 11:45:48 libertad /kernel: Card removed, slot 3
Jun  4 11:46:01 libertad /kernel: Card inserted, slot 2
Jun  4 11:46:11 libertad /kernel: Card removed, slot 2


Output of 'pccardc dumpcis':
-----------------------------
Code 136 not found
Code 136 not found
code Unknown ignored
code Manufacturer ID 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 = 0x17 (Attribute memory descriptor), length = 2
    000:  00 ff
        Attribute memory device information:
                Device number 1, type No device, WPS = OFF
                Speed = No speed, Memory block size = reserved, 32 units
Tuple #3, code = 0x15 (Version 1 info), length = 59
    000:  05 00 58 69 72 63 6f 6d 00 43 72 65 64 69 74 43
    010:  61 72 64 20 45 74 68 65 72 6e 65 74 20 31 30 2f
    020:  31 30 30 20 2b 20 4d 6f 64 65 6d 20 35 36 00 43
    030:  45 4d 35 36 00 31 2e 30 30 00 ff
        Version = 5.0, Manuf = [Xircom],card vers = [CreditCard Ethernet 10/100
 + Modem 56]
        Addit. info = [CEM56],[1.00]
Tuple #4, code = 0x0 (Null tuple), length = 8
    000:  62 ef e2 00 00 00 00 00
Tuple #5, code = 0x0 (Null tuple), length = 5
    000:  05 01 0a 11 46
Tuple #6, code = 0x44 (Card init date), length = 4
    000:  81 70 44 24
Tuple #7, code = 0x1a (Configuration map), length = 5
    000:  01 3f 80 ff 67
        Reg len = 2, config register addr = 0xff80, last config = 0x3f
        Registers: XXX--XX- 
Tuple #8, code = 0x1b (Configuration entry), length = 20
    000:  e7 c1 9d 0f 55 4d 5d 4e e0 17 17 ea 60 e8 02 07
    010:  f0 bc 8e 20
        Config index = 0x27(default)
        Interface byte = 0xc1 (I/O)  +RDY/-BSY active, wait signal supported
        Vcc pwr:
                Nominal operating supply voltage: 5 x 1V
                Minimum operating supply voltage: 4.5 x 1V
                Maximum operating supply voltage: 5.5 x 1V
                Continuous supply current: 4.5 x 100mA
        Wait scale Speed = 1.2 x 10 ms
        RDY/BSY scale Speed = 1.2 x 10 ms
        Card decodes 23 address lines
                IRQ modes:
                IRQs:  NMI IOCK BERR 0 1 2 4 8 9 10 12
        Max twin cards = 0
        Misc attr: (Power down supported)
Tuple #9, code = 0x1b (Configuration entry), length = 7
    000:  1f 08 ea 60 e8 03 07
        Config index = 0x1f
        Card decodes 10 address lines, full 8/16 Bit I/O
                I/O address # 1: block start = 0x3e8 block length = 0x8
Tuple #10, code = 0x1b (Configuration entry), length = 7
    000:  17 08 ea 60 f8 02 07
        Config index = 0x17
        Card decodes 10 address lines, full 8/16 Bit I/O
                I/O address # 1: block start = 0x2f8 block length = 0x8
Tuple #11, code = 0x1b (Configuration entry), length = 7
    000:  0f 08 ea 60 f8 03 07
        Config index = 0xf
        Card decodes 10 address lines, full 8/16 Bit I/O
                I/O address # 1: block start = 0x3f8 block length = 0x8
Tuple #12, code = 0x1b (Configuration entry), length = 3
    000:  3f 08 63
        Config index = 0x3f
        Card decodes 3 address lines, full 8/16 Bit I/O
Tuple #13, code = 0x21 (Functional ID), length = 2
    000:  02 00
        Serial port/modem
Tuple #14, code = 0x22 (Functional EXT), length = 4
    000:  00 02 0f 5c
        Serial interface extension:
                16550 UART, Parity - Space,Mark,Odd,Even,
Tuple #15, code = 0x22 (Functional EXT), length = 12
    000:  02 06 00 3f 1c 03 03 0f 07 00 01 b5
        Data modem services available:
Tuple #16, code = 0x22 (Functional EXT), length = 8
    000:  13 06 00 0b 00 02 00 b5
Tuple #17, code = 0x21 (Functional ID), length = 2
    000:  06 00
        Network/LAN adapter
Tuple #18, code = 0x22 (Functional EXT), length = 8
    000:  04 06 00 80 c7 62 ef e2
        Voice services available:
Tuple #19, code = 0x14 (No link), length = 0
Tuple #20, 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?199806041914.MAA27459>