Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 1997 23:40:19 +0900 (JST)
From:      hosokawa@mt.cs.keio.ac.jp (HOSOKAWA Tatsumi)
To:        freebsd-mobile@freebsd.org
Subject:   2.2-BETA PC-card installer test release
Message-ID:  <199701131440.XAA09593@lenlen.mt.cs.keio.ac.jp>

next in thread | raw e-mail | index | archive | help
FreeBSD 2.2-BETA PC-card installer (test release)

ftp://ryukyu.mt.cs.keio.ac.jp/pub/FreeBSD/2.2-PAO-flp

Please test it!

Tatsumi Hosokawa

------------------------------------------------------------------------
		  FreeBSD 2.2-BETA PC-card Installer

			   Tatsumi Hosokawa
		      <hosokawa@jp.FreeBSD.org>
			BSD-nomads team, Japan


1. What's this floppy?

The kernel and sysinstall of this floppy includes PAO PC-card package
for FreeBSD.  You can install FreeBSD with this floppy from various
PC-cards (Ethernet, Modem, ISDN, SCSI CDROM, ATAPI CDROM, etc.).  This
floppy is based on FreeBSD 2.2-BETA and PAO-970112.  Therefore,
supported cards are same as the cards supported by PAO-970112.  See
the list at the end of this file for details.

PAO is a package that supports moble computing on FreeBSD.  Part of
old PAO packages have been incorporated into original FreeBSD souce
tree, and now also the code in this package is waiting for
integration.  Part of codes in PAO has been less reviewed and it
includes some experimental (pre-alpha level) codes that is not suited
to be incorported into the original source tree at current status, but
PAO is more useful and support more card compared to current FreeBSD
PC-card suppot.


2. PC-card Basics

To use this floppy, you have to know at least some basic ideas of
PC-card architecture.  PC-card uses I/O port, IRQ, and shared memory
like many ISA devices, but the address and IRQ level are dynamically
allocated by a special hardware called PC-card controller (or PC-card
bridge).  

Each PC-card slot has eight memory windows, two I/O windows and a
unnumbered IRQ line.  PC-card controller maps these resources onto ISA
or PCI space.  PC-card can be controlled by CPU like ordinaly ISA
devices because this mapping function works transparently.


           (All memory windows and
               I/O Window 1 are unused) 
   +---------+                    +------------+           /
   |         |--------------------|            |-----------/ ISA BUS
   | Modem   |    I/O Window 0    | PC-card    | 3f8 - 3ff /
   | PC-card |--------------------| Controller |-----------/
   |         |<==================>|            |<=========>/
   +---------+  unnumbered IRQ    +------------+  IRQ 3    /

       fig.1  Modem card is mapped as a serial chip on ISA bus


To determine the value of these parameters, operating system uses "CIS
(Card Information Structure) tupples" described in EEPROM memory in
the cards.  Operating system gets this information also via PC-card
controller.  PC-card controller requires 16 kilobytes of memory
address for this purpose (it maps EEPROM memory onto this area).  You
can read these data by typing "/stand/pccardc dumpcis" from command
prompt after the installation.  A sample output of "/stand/pccardc
dumpcis" follows.


-----------------------------------------------------------------------
Tuple #6, code = 0x1b (Configuration entry), length = 16
    000:  e0 41 99 49 55 26 25 aa 60 f8 03 07 30 ff ff 28
        Config index = 0x20(default)
        Interface byte = 0x41 (I/O)  +RDY/-BSY active
        Vcc pwr:
                Nominal operating supply voltage: 5 x 1V
                Continuous supply current: 2 x 100mA
                Power down supply current: 2 x 10mA
        Card decodes 10 address lines, 8 Bit I/O only
                I/O address # 1: block start = 0x3f8 block length = 0x8
                IRQ modes: Level
                IRQs:  0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
        Max twin cards = 0
        Misc attr: (Audio-BVD2) (Power down supported)
Tuple #7, code = 0x1b (Configuration entry), length = 7
    000:  21 08 aa 60 f8 02 07
        Config index = 0x21
        Card decodes 10 address lines, 8 Bit I/O only
                I/O address # 1: block start = 0x2f8 block length = 0x8
-----------------------------------------------------------------------

     fig.2  Sample CIS tupples (part of CIS in Megahertz XJ3288)


This floppy uses 0xd0000-0xd3ffff for this scratch area by default,
but if your hardware uses this area for other purposes, you can select
another addresses (0xd4000, 0xd8000, and 0xdc000) from the first menu
of this floppy.  If you're uncertain of the detailed spec of your
hardware, proceed without selecting optional values, and test other
options after it causes any problems :-).  0xd0000 is appropreate
value on most laptop hardware.

There's another additional menu about PC-card in this floppy.  The
second menu is used to choose the free IRQ pool for PC-cards.  PC-card
requires a free IRQ that is not used by other devices.  Operating
system must manages free IRQ pool for this purpose.  You can choose
this free IRQ pool from the menu.  The default is IRQ 10 and 11.
Please note that there are some machines that have sound card which
occupies IRQ 10 (and too bad that can't be probed by installation
floppy, of course).  If you have such machines, you can't use IRQ 10
for this purpose.  IRQ 5 and 11 would be good alternative, but use IRQ
11 only if you have another devices which occupies IRQ 5.


3. FreeBSD installation note

If you want to use PC-card after the installation is finished, you
must recompile kernel with PC-card support.  Therefore, you *MUST*
install kernel sources.  This floppy automatically adds "src/ssys"
(kernel sources) distribution on "User" and "X-User" distribution
sets, but if you want to install "minimum" distributsion set or if you
want to choose distribution by yourself, you have to add "src/ssys"
distribution to distribution set manually.


4. After installation

If you installed 2.2-BETA with this floppy, you can install PAO kernel
without getting PAO package from net or CDROM.  This floppy installs
PAO patches in /stand/PAO/sys, /etc files in /stand/PAO/etc, and
pccardd (PC-card daemon) and pccardc (PC-card controller) in /stand,
respectively.  Moreover, you can recompile PAO kernel from "Config"
menu of /stand/sysinstall.

When you've installed FreeBSD with this floppy and reboot the machine,
log in the machine as root user and execute /stand/sysinstall.  You
can recompile and install PAO kernel from the menu of this installer.

Select the "PC-card" in "Config" menu of sysinstall.  Note that these
operations have to be done just after the system is installed.
Especially if you've made any patches onto kernel sources, these
operations may fail.  Please do it as soon as possible.

If you have selected non-default parameters for PC-card controller
scratch memory or PC-card free IRQ pool, please modify the following
paramters manually (sorry, this can't be done automatically now).

    PC-card controller memory   -->  "pccardmem" in /etc/sysconfig
    Free IRQ pool for PC-cards  -->  "irq" in /etc/pccard.conf

The FAQ list of PAO is placed at /stand/PAO/doc/PAO-FAQ.  Please read
it before asking us about your problems.  Many typical questions are
answered in this file.

I recommend you to replaace pccardd, pccardc, shutdown, and apm
commands with newer ones included in PAO package.  You can found PAO
package and information at PAO Webpage
(http://www.mt.cs.keio.ac.jp/person/hosokawa/PAO/) and PAO anonymous
FTP server (ftp://ryukyu.mt.cs.keio.ac.jp/pub/FreeBSD/PAO/).

Let's enjoy mobile computing with FreeBSD!


-----------------------------------------------------------------------
		 Appendix: PAO-970112 Supported Cards
-----------------------------------------------------------------------
Type    Card                                            Status  Driver
-----------------------------------------------------------------------
Ethernet
        3Com Etherlink III 3C589                        OK      ep
        3Com Etherlink III 3C589B                       OK      ep
        3Com Etherlink III 3C589C                       OK      ep
        Accton EN2212                                   OK      ed
        Accton EN2216                                   OK      ed
        ADDTRON EP-210A                                 OK      ed
        Contec C-NET(PC)C                               OK      fe
        Dayna Communications CommuniCard E              OK      ed
        Digital DEPCM-BA Ethernet                       OK      ed
        D-link DE-650 Ethernet Card                     OK      ed
        D-link DE-653 Ethernet Card                     OK      ed
        Eiger Labs EPX-ET10T2 Combo                     OK      ed
        Farallon EtherMac                               OK      ep
        Fujitsu FMV-J181                                OK      fe
        Fujitsu FMV-J182                                OK      fe
        Fujitsu FMV-J182A                               OK      fe
        Genius ME3000II Ethernet                        OK      ed
        GVC NIC-2000P Ethernet Card                     OK      ed
        Hitachi HT-4840-11                              OK      fe
        IBM Creditcard Ethernet I                       OK      ed
        IBM Creditcard Ethernet II                      OK      ed
        IC-card Ethernet                                OK      ed
        IO-DATA PCMCIA PCLA/T Ethernet Card             OK      ed
        Laneed PCMCIA Ethernet Card ELECOM LD-CDWA      OK      ed
        Megahertz Ethernet Adapter                      OK      sn
        Megahertz X-Jack Ethernet                       OK      sn
        Melco LPC-T                                     OK      ed
        National Semiconductor InfoMover 4100           OK      ed
        NDC Instant-Link                                OK      ed
        NextCom J Link NC5310                           OK      fe
        Panasonic CF-VEL211P-B                          OK      ed
        PLANET Smart Com 2000                           OK      ed
        PLANET Smart Com 3500                           OK      ed
        PreMax PE-200                                   OK      ed
        RATOC REX-5588                                  OK      fe *1
        RATOC REX-9821                                  OK      fe
        RATOC REX-9821                                  OK      fe
        TDK LAK-CD021A                                  OK      fe
Wireless LAN
        AT&T GIS WaveLAN                                OK      wlp *2
        Digital RoamAbout/DS                            OK      wlp *2
FAX/Modem
        Virtually all modem card should work                    sio *3
        (but it still does not work on some machines...)
        Alpha-testers reported that they can use the following cards.
        AIWA PV-JF144                                   OK      sio
        AIWA PV-JF288                                   OK      sio
        APEX DATA Mobile Plus V.34                      OK      sio
        APEX Data Multicard (as modem)                  OK      sio
        Dell Dacom Modem/FAX V32.bis                    OK      sio
        Fujitsu FMV-JMD712                              OK      sio
        GATEWAY2000 MODEM                               OK      sio
        Hayes OPTIMA 144                                OK      sio
        Hayes OPTIMA 288 V.34                           OK      sio
        IBM Push/Pop Modem                              OK      sio
        IO Data PCFM144 FAX/Modem                       OK      sio
        Lasat Credit 288, V34 Data/Fax Modem            OK      sio
        Megahertz XJ1144                                OK      sio
        Megahertz XJ2144                                OK      sio
        Megahertz XJ2144 (JP)                           OK      sio
        Megahertz XJ2288                                OK      sio
        Megahertz XJ3288 (JP)                           OK      sio
        Megahertz XJEM1144 (as modem)                   OK      sio
        MEGASOFT STARFAX CARD 288                       OK      sio
        Mitsubishi B8899 Fax Modem                      OK      sio
        NewMedia FAX/Modem 14.4K                        OK      sio
        NextCom NCM1428JA FAX/Data Modem                OK      sio
        NOTEWORTHY NW288CR                              OK      sio
        Novalink NovaModem 144                          OK      sio
        NTT-IT ThunderCard AVF288                       OK      sio
        OMRON ME2814 Fax/Modem                          OK      sio
        OMRON MD24XCA Fax/Modem                         OK      sio
        Panasonic CF-JMD101                             OK      sio
        Panasonic MODEM SCSI Card CF-JMS101 (as modem)  OK      sio
        Panasonic TO-CAF288                             OK      sio
        PREMAX FM288                                    OK      sio
        Smart ST1414L Fax/Voice/Modem                   OK      sio
        Software Japan Tsunagu-V34                      OK      sio
        SUNTAC MS288CF                                  OK      sio
        TDK DF1414                                      OK      sio
        TDK DF1414EX                                    OK      sio
        TDK DF2814B                                     OK      sio
        TDK DF2814B/M                                   OK      sio
        TDK DF3314BZ                                    OK      sio
        TDK GlobalNetworker 3410 (as modem)             OK      sio
        US Robotics Sportster PCMCIA V.34               OK      sio *4
        US Robotics COURIER PCMCIA V.34                 OK      sio *4
ISDN
        BUG Linkboy D64K                                OK      sio
	BUG Linkboy D128				OK	sio
        NEC Aterm IC20                                  OK      sio
Digital Cellular
        APEX Data Mobile Plus Celluar V.34              OK      sio
        Nokia cellular data card DTP-2                  Ok      sio
        Nokia cellular data card DTP-8                  Ok      sio
        NTT DoCoMo DATA/FAX Adapter                     OK      sio
        NTT DoCoMo DATA/FAX Adapter Mark II             OK      sio
        SUNTAC DIGITAL MODEM/FAX                        OK      sio
GPS Receiver
        SONY PACY-CNV10                                 OK      sio
FM-Radio Card
        Panasonic CF-JVR101                             OK      sio *6
SCSI
        Adaptec SlimSCSI APA-1460                       OK      aic
        NewMedia BusToaster                             OK      aic
        RATOC REX-5535AC                                OK      spc
        RATOC REX-5535AMC                               OK      spc
        RATOC REX-5535X                                 OK      spc
        RATOC REX-5535XM                                OK      spc
        SONY PRD-250 CD-ROM Diskman                     OK      aic
Flash ATA
        Virtually all Flash ATA card should work                wdc *3
        Alpha-testers reported that they can use the following cards.
        Epson Flash Packer 5MB                          OK      wdc
        Epson Flash Packer 20MB                         OK      wdc
        Epson Flash Packer 40MB                         OK      wdc
        Epson Flash Packer 85MB                         OK      wdc
        HP F1012A                                       OK      wdc
        IBM IBM17JSSFP10                                OK      wdc
        IO Data Flash Packer 10MB                       OK      wdc
        Midori Elec. Fast Flash                         OK      wdc
        Ricoh ATA 10MB                                  OK      wdc
        SunDisk SPD5-5                                  OK      wdc
        SunDisk SPD5-20                                 OK      wdc
        SunDisk SPD-40                                  OK      wdc
ATA HDD
        Virtually all ATA HDD card should work                  wdc *3
        Alpha-testers reported that they can use the following cards.
        Epson America Inc. EHDD170                      OK      wdc
        IBM 105MB PCMCIA Hard Disk Drive                OK      wdc
        Maxtor MobileMax MXL131                         OK      wdc
        Mitsubishi M6887-3 170MB                        OK      wdc
External HDD Adapter
        Alpha Data Pocket Harddisk AD-PCH340            OK      wdc
        GREYSTONE DiskDock                              OK      wdc
ATAPI CD-ROM
        Caravelle Data Systems CD620Emk2 (PSC-IDE)      OK      wdc
        DEC Digital Mobile Media                        OK      wdc *5
        I/O DATA CD-ROM PCMCIA IDE CARD                 OK      wdc
Video Capture
        IBM Smart Capture Card                          OK      scc
        IBM Smart Capture Card II                       OK      scc
-----------------------------------------------------------------------

*1 I received a report that it worked, but couldn't use this card on
   my machine.  CIS tupples are different from his card, and I
   adjusted config indices to the card I got, but I received only
   error messages "fe0: cannot empty receive buffer" and "fe0:
   transmission timeout (1+0)".  If you have this card, please send
   report to me!

*2 These cards are supported by 2.2-SNAP only.

*3 Some cards or laptops needs modifications to /etc/pccard.conf, and
   some combinations of cards and laptops do not work.

*4 But, there are also some reports that US Robotics Modem cards can't
   be used with this package.

*5 This CD-ROM has PCIC in it, so it can't be hotplugged.  And, ATAPI
   CDROM is supported by 2.2-SNAP only.

*6 Currently, no client application software is available.

-----------------------------------------------------------------------

$Id: pccard.hlp,v 1.7 1997/01/13 10:31:09 hosokawa Exp hosokawa $

--
HOSOKAWA, Tatsumi
hosokawa@mt.cs.keio.ac.jp
hosokawa@jp.FreeBSD.org



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