----------------------------------------------------------------------- PAO-980430 for FreeBSD 2.2.6-RELEASE Tatsumi Hosokawa , Tokyo Japan ----------------------------------------------------------------------- This release is mainly arranged by Hidetoshi Kimura ----------------------------------------------------------------------- This package contains the PC-card device drivers, the manager daemon, and the maintainance utilities for FreeBSD 2.2.6-RELEASE. ----------------------------------------------------------------------- If you have already installed PAO from PAO boot.flp, please read UPGRADE-FROM-PAO-BOOTFLP file. ----------------------------------------------------------------------- Attention This package is alpha-test package. If you use this package, please report to if possible, whether it works or not, what environment you're using, what problem has happened, how to avoid this probem, etc. Patches are more welcome. Please put "[PAO]" on the head of the "Subject:" to pick it up easily. If you can drive new cards, please send me the patches and pccard.conf. Thanks! ----------------------------------------------------------------------- The URL of PAO homepage is, http://www.jp.FreeBSD.org/PAO/ If you want to know the "current" status of this package, please visit here. ----------------------------------------------------------------------- *Note* If you want to install PAO package on a new laptop machine, or if you want to upgrade FreeBSD on your laptop machine, you can use PAO boot.flp to install FreeBSD and PAO package. Installing PAO package by using PAO boot.flp is very easier compared to the way I described below. Please read PAO webpage (http://www.jp.FreeBSD.org/PAO/) for details. To install: 1. Extract this package at /usr/src # cd /usr/src # tar xvfz "package directory"/PAO-980430.tar.gz 2. Backup original /sys file if needed # cd /usr/src # mkdir sys.ORG # cd sys.ORG # (chdir ../sys ; tar cf - .) | tar xvf - or # cd /usr/src/PAO-980430/2.2.6-RELEASE # make backup-sys 3. Apply kernel-patch to kernel source tree # cd /usr/src/sys # cp ../PAO-980430/2.2.6-RELEASE/sys/i386/isa/* i386/isa # cp ../PAO-980430/2.2.6-RELEASE/sys/i386/include/* i386/include # cp ../PAO-980430/2.2.6-RELEASE/sys/i386/conf/* i386/conf # patch -p1 < ../PAO-980430/2.2.6-RELEASE/sys-pao.diff.patch or # cd /usr/src/PAO-980430/2.2.6-RELEASE # make patch 4. Copy new include files to /usr/include # cd /usr/src/sys/i386/include # cp apm_bios.h if_cnwioctl.h clock.h cpu.h scc.h wavelan.h /usr/include/machine # cp /usr/src/sys/pccard/*.h /usr/include/pccard or # cd /usr/src/PAO-980430/2.2.6-RELEASE # make install-include 5. Modify kernel config file for your environment /usr/src/sys/i386/conf/PAO_ALL is sample configuration file I'm using on Toshiba Libretto 50CT (/usr/src/sys/i386/conf/PAO is "small" config file that has commented out some devices that is separated from sys.patch. e.g. hss, scc, wfd, and wlp). * Don't remove "controller crd0" and "device pcic0" ! # cd /usr/src/sys/i386/conf # cp PAO_ALL "your config file name" # vi "your config file name" 6. Compile your kernel # config "your config file name" # cd ../../compile/"your config file name" # make depend # make # make install 7. Compile the manager daemon and the utilities and install them (and replace apm(8) and shutdown(8) with new version) # cd /usr/src/PAO-980430/usr.sbin # make # make install # cd /usr/src/PAO-980430/sbin # make # make install or, # cd /usr/src/PAO-980430/2.2.6-RELEASE # make tools # make install-tools 8. Create device files for your pccard slots and APM BIOS # cd /dev # sh MAKEDEV card0 # sh MAKEDEV card1 # sh MAKEDEV card2 # sh MAKEDEV card3 # sh MAKEDEV apm or # cd /usr/src/PAO-980430/2.2.6-RELEASE # make devices 9. Install PC-card configuration file and other /etc files. PAO-980430/2.2.6-RELEASE/etc/pccard.conf.sample is sample config file currently I'm using on my laptops. # cp /usr/src/PAO-980430/2.2.6-RELEASE/etc/pccard.conf.sample /etc/pccard.conf # cd /etc # mv rc.conf rc.conf.orig # cp /usr/src/PAO-980430/2.2.6-RELEASE/etc/rc.conf.sample /etc # cp /usr/src/PAO-980430/2.2.6-RELEASE/etc/rc.pccard /etc # cp /usr/src/PAO-980430/2.2.6-RELEASE/etc/pccard_ether /etc # cp /usr/src/PAO-980430/2.2.6-RELEASE/etc/pccard_ether_remove /etc # patch -p0 < /usr/src/PAO-980430/2.2.6-RELEASE/etc/rc.conf.diff or # cd /usr/src/PAO-980430/2.2.6-RELEASE/etc # make install 10. Edit /etc/rc.conf (Please read FAQ) # vi /etc/rc.conf Thanks to: Andrew McRae (for the original pccard package) Nate Williams Atsuo Ohki Gardner Buchanan (for sn driver) Jim Binkley (for wlp driver) Takeshi OHASHI (for scc driver) Yoshihisa NAKAGAWA (for scc driver) NetBSD/pc98 porting staff (for ncv/stg drivers) Koichi Matsuda (for ncv/stg drivers) Naofumi Honda (for ncv/stg drivers) Members of BSD-nomads Mailing List Especially, Naoki Hamada (for ep driver) Hidetoshi Kimura (for aic driver) T. Matsutsuka (for spc driver) Hidetoshi Kimura (for fe driver) DOTEGUCHI Masahiro (for pccard daemon) Akihiro Hirano Kunikazu Yoda Toshihisa Eto Hajimu UMEMOTO KUROSAWA Takahiro ODA, Kazutoshi Atsushi Furuta (for ncv/stg drivers) Jun-ichirou Ito (ep multicasting etc.) Paul Borman (BSDI) (cnw driver) Kenjiro Cho (cnw driver) And many alpha-testers.... Tatsumi Hosokawa