1999年5月 6日
Kernel再Config
天気:晴れ
体重:88.8Kg
FreeBSD3.1Rから導入されたSoftupateとIDE Diskの32bit Transferを
有効にしてみた。
体重:88.8Kg
FreeBSD3.1Rから導入されたSoftupateとIDE Diskの32bit Transferを
有効にしてみた。
/usr/src/sys/i386/conf/LINT
を参照。
Softupdate
options SOFTUPDATES/usr/src/sys/ufs/ffs/README.softupdatesに導入法の記載が。
single-user mode you'd do something like:
tunefs -n enable /dev/rsd0s1d
これを忘れないこと。
32bit transfer
controller wdc0 at isa? port "IO_WD1" bio irq 14 flags 0x00ffc0ff disk wd0 at wdc0 drive 0flagsはcontrollerにもdiskにもつけることが出来るらしい。
controllerにつける場合はlower 2byteが1台目、higher 2byteが2台目。
The high bit of the 16 bit flags (0x8000) allows probing for 32 bit transfers.
Bit 14 (0x4000) enables a hack to wake up powered-down laptop drives.
Bit 13 (0x2000) allows probing for PCI IDE DMA controllers,
such as Intel's PIIX south bridges.
Bit 12 (0x1000) sets LBA mode instead of the default CHS mode
for accessing the drive. See the wd.4 man page.
とのことです。
VAIO505では上の設定で
wdc0 at 0x1f0-0x1f7 irq 14 flags 0xffc0ff on isa
wdc0: unit 0 (wd0):
wd0: 4126MB (8452080 sectors), 8944 cyls, 15 heads, 63 S/T, 512 B/S
32-bit transferが有効となりsuspendも可能です。
PCMCIA
Flash ATA DiskとSII PHS Two LINK DATA MC-P110/TDを使用可能に
モデムはsio3を使用。
controller wdc1 at isa? disable port "0x110" bio irq 9 vector wdintr disk wd1 at wdc1 drive 0 device sio0 at isa? port "IO_COM1" tty irq 4 device sio1 at isa? port "IO_COM2" tty irq 3 device sio2 at isa? port "IO_COM3" tty irq 10 device sio3 at isa? port "IO_COM4" tty irq 9 --------------------------------------------------------- /etc/pccard.conf io 0x110-0x129 0x240-0x2e0 0x300-0x360 irq 9 15 ignirq 5 10 # SII PHS Two LINK DATA MC-P110/TD card "SII" "PHS Two LINK DATA MC-P110/TD" config 0x23 "sio3" any insert echo PHS Two LINK DATA Card inserted remove echo PHS Two LINK DATA Card removed # SunDisk Flash ATA card "SunDisk" ".*" config 0x1 "wdc1" 15 insert logger -s SunDisk Flash ATA inserted remove logger -s SunDisk Flash ATA removed ------------------------------------------------------------------------- /etc/fstab /dev/wd1s1 /mnt/ata msdos rw,noauto 2 2
- by Webmaster
- at 00:01
comments