From owner-FreeBSD-users-jp@jp.freebsd.org  Sat Oct 18 00:21:37 1997
Received: by jaz.jp.freebsd.org (8.8.7+2.7Wbeta7/8.7.3) id AAA12507
	Sat, 18 Oct 1997 00:21:37 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.7+2.7Wbeta7/8.7.3) with ESMTP id AAA12502
	for <FreeBSD-users-jp@jp.freebsd.org>; Sat, 18 Oct 1997 00:21:34 +0900 (JST)
Received: from localhost (localhost [127.0.0.1]) by patty.peanuts.li (8.8.5/3.5Wpl3-97090418) with ESMTP id AAA00379 for <FreeBSD-users-jp@jp.freebsd.org>; Sat, 18 Oct 1997 00:21:09 +0900 (JST)
To: FreeBSD-users-jp@jp.freebsd.org
From: nosuzuki@e-mail.ne.jp (Norio Suzuki)
X-Mailer: Mew version 1.91 on Emacs 19.28 / Mule 2.3 (SUETSUMUHANA)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Message-Id: <19971018002108U.nosuzuki@e-mail.ne.jp>
Date: Sat, 18 Oct 1997 00:21:08 +0900
X-Dispatcher: imput version 970918
Lines: 234
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=20]
X-Sequence: FreeBSD-users-jp 19437
Subject: [FreeBSD-users-jp 19437] PAO on desktop (Flash ATA card)
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org

PAO $B$r(B desktop $B%^%7%s$K%$%s%9%H!<%k$7$^$7$?$,!"(BFlash ATA $B%+!<%I$rG'<1(B
$B$7$^$;$s!#(B

FreeBSD $B$N(B QandA $B$K(B PAO $B$r;H$&$H(B desktop $B$G$b(B pc-card $B$r;H$($k$H8@$&$3(B
$B$H$rCN$j$^$7$F!";d$N5!3#$K(B RATOC $B$N(B PC Card Adapter REX-5051EW $B$r(B ISA 
$B%P%9$K%$%s%9%H!<%k$7$^$7$?!#(B

$B%7%9%F%`9=@.$O!"<!$NDL$j$G$9!#(B
$B%+!<%M%k(B: 2.2.1-RELEASE + PAO-970331.tar.gz
CPU: AMD 5K-PR166
$B%a%b%j!<(B: 64MByte
$B%G%#%9%W%l%$(B: Buffalo $B$N(B $B1U>=%G%#%9%W%l%$(B($B@lMQ%S%G%*%+!<%I;HMQ(B)
$B%O!<%I%G%#%9%/(B:	wdc0: unit 0 (wd0): <QUANTUM MAVERICK 360A>
		wdc0: unit 1 (atapi): <TOSHIBA CD-ROM XM-5302TA/2865>
		wdc1: unit 0 (wd2): <NEC Corporation DSE2100A>
		wdc1: unit 1 $B$O!"2?$b@\B3$5$l$F$$$^$;$s!#(B

$B%+!<%M%k$K$O!"(B2.2.1-RELEASE $B$r;H$C$F$$$k$N$G!"(BFreeBSD $BE0DlF~Lg$K$D$$$F(B
$B$-$?(B PAO-970331.tar.gz $B$r;H$$$^$7$?!#%$%s%9%H!<%k$O!"$9$G$K(B FreeBSD
2.2.1 $B$,%$%s%9%H!<%k$7$F$"$C$?$?$a$K(B PAO $B$N%$%s%9%H!<%k%U%m%C%T!<$r;H(B
$B$o$:$K!"%I%-%e%a%s%H$r;2>H$7$J$,$i<j$G%Q%C%A$rEv$F$F!"I,MW$J%U%!%$%k$r(B
$B0\$7$F!"%G%P%$%9$r$D$/$C$F$H$$$&J}K!$r$H$j$^$7$?!#$3$l$G?7$7$/(B PAO $B$N(B
$B?7$7$$%+!<%M%k$r%$%s%9%H!<%k$7$F!"%j%V!<%H$7$^$7$?!#(B

/etc/pccard.conf $B$r$$$m$$$m=q$-JQ$($^$7$?$,!"$H$j$"$($:(B Megahertz $B$N%b(B
$B%G%`$O;H$($k$h$&$K$J$j$^$7$?!#$7$+$7(B Flash ATA $B%+!<%I$O!"G'<1$5$;$k$3(B
$B$H$,$G$-$^$;$s!#(Bwdc $B$O!"(Bwdc1 $B$^$G;H$C$F$$$k$N$G(B wdc2 $B$GG'<1$5$;$h$&$H(B
$B$7$F$$$^$9!#(B

dmesg $B$N=PNO!"%+!<%M%k$N%3%s%U%#%0%U%!%$%k!"(Bpccard.conf $B$O!"<!$N$h$&$K(B
$B$J$C$F$$$^$9!#A4It=q$/$HD9$/$J$k$N$G!"I,MW$H;W$o$l$k$H$3$m$@$1$r=q$-$^(B
$B$9!#;d$,I,MW$G$J$$$H;W$C$?$H$3$m$K=EMW$J$H$3$m$,$"$k$+$bCN$l$^$;$s$N$G!"(B
$B$=$N$H$-$O$I$3$r8x3+$7$?$i$h$$$+65$($F$/$@$5$$!#(B

libretto30 $B$K$O!"(BPAO $B%$%s%9%H!<%k%U%m%C%T!<$r;H$C$F(B 2.2.1-RELEASE $B$r%$(B
$B%s%9%H!<%k$7$F$"$j$^$9!#(Bpccard.conf $B$O!"$=$NF0$$$F$$$k$b$N$r;}$C$F$-$F(B
$B$$$^$9!#(BFlash ATA $B%+!<%I$O!"(Bsmart media $B$r%"%@%W%?!<$rIU$1$F;H$C$F$$$^(B
$B$9!#$3$l$,!"(BFlash ATA $B%+!<%I$HF1$8$/;H$($k$3$H$O3NG':Q$G$9!#(B

dmesg $B$N=PNO(B
Copyright (c) 1992-1996 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.

FreeBSD 2.2.1-RELEASE #0: Fri Oct 17 22:21:08 JST 1997
    root@patty.peanuts.li:/usr/src/sys/compile/PATTY.PAO
CPU: AMD Unknown (116.61-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x524  Stepping=4
  Features=0x21bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE>
real memory  = 67108864 (65536K bytes)
avail memory = 62455808 (60992K bytes)
Initializing PC-card drivers: ed scc sio wdc 
Probing for devices on PCI bus 0:
chip0 <Intel 82437VX PCI cache memory controller> rev 2 on pci0:0
chip1 <Intel 82371SB PCI-ISA bridge> rev 1 on pci0:7:0
chip2 <Intel 82371SB IDE interface> rev 0 on pci0:7:1
vga0 <VGA-compatible display device> rev 0 int a irq 11 on pci0:10
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 at 0x280-0x29f irq 12 on isa
ed0: address 00:40:b4:a0:84:41, type NE2000 (16 bit) 
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2 not found at 0x3e8
lpt0: disabled, not probed.
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <QUANTUM MAVERICK 360A>
wd0: 348MB (714432 sectors), 976 cyls, 12 heads, 61 S/T, 512 B/S
wdc0: unit 1 (atapi): <TOSHIBA CD-ROM XM-5302TA/2865>, removable, intr, iordy
wcd0: 689Kb/sec, 256Kb cache, audio play, 255 volume levels, ejectable tray
wcd0: no disc inside, unlocked
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (wd2): <NEC Corporation DSE2100A>
wd2: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S
wdc1: unit 0 (wd4): <NEC Corporation DSE2100A>
wd4: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S
wdc2 not probed due to I/O address conflict with wdc1 at 0x170
ppa0: Generic Chipset in EPP+ECP mode, ppa_epp_speed = 4096 at 0xf2177084
ppa0: lpt unavailable in EPP mode.
ppa0 at 0x278-0x27b on isa
ppa0 waiting for scsi devices to settle
(ppa0:6:0): "IOMEGA ZIP 100 D.13" type 0 removable SCSI 2
sd0(ppa0:6:0): Direct-Access 
sd0(ppa0:6:0): ILLEGAL REQUEST asc:24,0 Invalid field in CDB
sd0 could not mode sense (4). Using ficticious geometry

sd0(ppa0:6:0): NOT READY asc:3a,0 Medium not present
sd0: could not get size
0MB (0 512 byte sectors)
npx0 on motherboard
npx0: INT 16 interface
apm0 not found
scc0 not found at 0x240
scc1: disabled, not probed.
PC-Card Intel 82365 (or clones) (5 mem & 2 I/O windows)
pcic: controller irq 5
Card inserted, slot 1
sio2: type 16550A
sio2: unload,gone
Return IRQ=10

$B%+!<%M%k%3%s%U%#%0%U%!%$%k(B
$BF,$NJ}$O>JN,!#(B
# laptop-specific configuration
options		LAPTOP

# If your laptop have not had Windoze95-Ready BIOS, please update it.
# Such old BIOS'es sometimes have critical bugs at 32-bit protected
# mode APM BIOS interface (which have not used by Windoze 3.1).

# PC-card suspend/resume support (experimental)
options		APM_PCCARD_RESUME
options		PCIC_RESUME_RESET

# Keep power for serial cards when the system suspends
# (If your machine hangs up when you try to suspend the system with
#  FAX/Modem PCMCIA card, uncomment this option).
#options	SIO_SUSP_KEEP_PWR       

# Detach SCSI devices when the SCSI card is removed
options		SCSI_DETACH

# Some PCI Laptop machines probe PC-card controller twice (via ISA and
# PCI bus).  This option disables PC-card probe routine when the PC-card
# controller has already been probed via PCI bus.
#options	PCIC_PCI_ISA_CONFLICT

# Some PCI Laptop machine reports invalid slot number when the card is
# inserted or removed.  It is prevented by specifying the number of slot
# explicitly. Otherwise, this number is detected automatically.
#options	"PCIC_MAX_SLOTS=2"

# Japanese version of WaveLAN PCMCIA uses 2.4GHz band instead of 915MHz
# band that US version uses.  If you want to use Japanese version of
# WaveLAN, uncomment this line, or edit the corresponding config entry
# of /etc/pccard.conf.
#options	"WAVELAN_PCMCIA_24"

# Suspend the system when the battery status is "Low"
#options	"APM_BATT_LOW_SUSPEND"

# If you want to use NTP on laptop machines, uncomment the following 
# option.  Current APM implementation affects NTP client.
#options	"APM_NO_CLOCK_ADJUST"

# Don't suspend the system immediately before the system is resumed
# from suspended mode (Default 3 seconds)
options		"APM_NOSUSPEND_IMMEDIATE=3"

$B$3$NJU$b>JN,(B

controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1

controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
disk		wd2	at wdc1 drive 0
disk		wd3	at wdc1 drive 1

#controller	wdc2	at isa? port "IO_WD2" bio irq 14 vector wdintr
controller	wdc2	at isa? port "IO_WD2" bio irq 9 vector wdintr
# IO_WD3 $B$K$9$k$H!"$I$s$J%(%i!<$,=P$?$+3P$($F$$$^$;$s$,!"%+!<%M%k$N:n(B
# $B@.$K<:GT$7$^$9!#(Birq $B$O!"(Bwdc2 $B$HJL$J$i$$$$$+$H;W$C$FJQ$($F$_$^$7$?!#$3(B
# $B$N=j$N=q$-J}$,!"80$K$J$k$H;W$C$F$$$^$9!#(B
disk		wd4	at wdc2 drive 0

#controller	wdc3	at isa? port "IO_WD2" bio irq 15 vector wdintr
#disk		wd5	at wdc3 drive 0

options         ATAPI		#Enable ATAPI support for IDE bus
options		ATAPI_STATIC	#Don't do it as an LKM

device          wcd0    #IDE CD-ROM

device		apm0    at isa?		# Advanced Power Management
options		APM_BROKEN_STATCLOCK	# Workaround some buggy APM BIOS

$B$3$NJU$b>JN,(B

device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
#device		sio2	at isa? port "IO_COM3" tty irq 5 vector siointr
device		sio2	at isa? port "IO_COM3" tty irq 9 vector siointr
#device		sio3	at isa? disable port "IO_COM4" tty irq 9 vector siointr
#device		sio4	at isa? disable port "IO_COM3" tty irq 5 vector siointr

device		lpt0	at isa? disable port? tty irq 5 vector lptintr

pccard.conf
# PC-card sample configuration file
# Tatsumi Hosokawa <hosokawa@jp.FreeBSD.org>
#
# Removing all IRQ conflicts from this file can't be done because of some
# IRQ-selfish PC-cards.  So if you want to use some of these cards in
# your machine, you will be forced to modify their IRQ parameters from
# the following list.
#
# $Id: pccard.conf,v 1.98 1997/04/24 15:44:45 hosokawa Exp $

# Generally available IO ports
io      0x240-0x2e0 0x300-0x360
# Generally available IRQs
irq     10 12
# Available memory slots
memory  0xd4000 96k

# GENERIC PCMCIA modem
function serial
       config  0x23 "sio2" any		# Megahertz XJ4336J
#       config  0x23 "sio2" pio         # this works, too
        reset   1000                    # safety reset time
#       reset   10000                   # for unstable cards
        insert  echo PCMCIA Modem inserted
        remove  echo PCMCIA Modem removed

# GENERIC Flash ATA / ATA HDD
function fixed_disk
#       config  default "wdc1" 15
#       config  default "wdc1" any
#       config  0x03 "wdc1" 15 # Libretto $B$G$O!"$3$l$GF0$$$F$$$^$7$?!#(B
#       config  0x03 "wdc1" any # Libretto $B$G$O!"$3$l$GF0$$$F$$$^$7$?!#(B
#        config  0x03 "wdc0" any # $B$3$l$O!";H$($J$$!#(B
        config  0x03 "wdc2" any
        insert  echo Flash ATA / ATA HDD inserted
        remove  echo Flash ATA / ATA HDD removed
--
$BNkLZ65O:(B
E-Mail: nosuzuki@e-mail.ne.jp
