2008-07-21 :-)
_ コーヒー飲む
朝に飲むのは久しぶり
_ おかげで古代をコシロと読むようになりました
ないわー
_ 朝に自習する
夏休みのようだ
_ BGMはアルカノイド
テクノなインベーダーゲームを以前cerbeから教えてもらったことを思い出した。
_ さとうきび茶
沖縄紀行のときにMotoから貰ったものをまだ消化していなかった。
_ 録画しておいた題名のない音楽会を見ている
ジャズですってよ
_ [NetBSD][sets]NetBSD sets の容量
INSTALL - Installation procedure for NetBSD/i386.
X は省く
sets | 概要 | 要求 | 圧縮 | 展開 |
base | システムユーティリティ等 | must | 24 MB | 69 MB |
comp | コンパイル用途 | 26 MB | 89 MB | |
etc | システム設定 | must | 1 MB | 1 MB |
games | ゲーム | 3 MB | 8 MB | |
kern-GENERIC | カーネル /netbsd | must | 5 MB | 10 MB |
man | マニュアル | 8 MB | 33 MB | |
misc | そのほか | 4 MB | 12 MB | |
text | テキスト処理 | 3MB | 11MB |
展開後合計 233 MB
必須なもの base + etc + kern-GENERIC = 80 MB
_ [sets][USB メモリースティック][NetBSD]USB メモリースティックに NetBSD 配布物を入れる
USB メモリースティックが 256 MB なので最低限の作業です。How to install NetBSD from an USB Memory Stick - NetBSD Wiki の Make the Memory Stick bootable までおこなっているとします。
mount する。
# mount /dev/sd0a /mnt
必要最低限の sets をコピーする。
# cd /usr/src/i386.release/i386/binary/sets # cp base.tgz etc.tgz kern-GENERIC.tgz /mnt/sets # cd /mnt/sets # for f in *.tgz; do echo $f; done
デバイスを作る。
# cd /mnt/dev # ./MAKEDEV all
設定を書く
# cd /mnt/etc
swap 無いです。起動後に sd0 を root にするので sd0a
# cat fstab /dev/sd0a / ffs rw,softdep 1 1
rc.conf を書く。defaultroute は "" で囲ったら機能しなかった。"" は要らないのだっけ。
# cat rc.conf rc_configured=YES # Add local overrides below # hostname=yukina defaultroute=192.168.0.1 wscons=YES sshd=yes
ifconfig の設定。
# cat ifconfig.wm0 up 192.168.0.12 netmask 255.255.255.0 media autoselect
sync して umount
# cd / # sync # umount /mnt
USB メモリースティックをおもむろに計算機に刺して起動させます。ここでは Dell DimensionXPS Gen2 に刺しました。USB キーボードと一緒に使う場合は USB メモリースティックを背面に刺して USB キーボードを正面に刺します。USB に優先度があるのかしら。
dmesg する
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 The NetBSD Foundation, Inc. All rights reserved. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. NetBSD 4.0 (GENERIC) #0: Thu Jul 10 23:50:46 JST 2008 rin@megumi.area51.gr.jp:/usr/src/i386.obj/sys/arch/i386/compile/GENERIC total memory = 2047 MB rbus: rbus_min_start set to 0x80000000 avail memory = 2001 MB timecounter: Timecounters tick every 10.000 msec timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100 BIOS32 rev. 0 found at 0xffe90 mainbus0 (root) cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel Pentium 4 (686-class), 3192.17 MHz, id 0xf29 cpu0: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR> cpu0: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX> cpu0: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF> cpu0: features2 4400<CID,xTPR> cpu0: "Intel(R) Pentium(R) 4 CPU 3.20GHz" cpu0: I-cache 12K uOp cache 8-way, D-cache 8 KB 64B/line 4-way cpu0: L2 cache 512 KB 64B/line 8-way cpu0: ITLB 4K/4M: 64 entries cpu0: DTLB 4K/4M: 64 entries cpu0: enabling thermal monitor 1 ... enabled. cpu0: calibrating local timer cpu0: apic clock running at 199 MHz cpu0: 16 page colors cpu1 at mainbus0: apid 1 (application processor) cpu1: not started ioapic0 at mainbus0 apid 2 (I/O APIC) ioapic0: pa 0xfec00000, version 20, 24 pins ioapic0: misconfigured as apic 0 ioapic0: remapped to apic 2 acpi0 at mainbus0: Advanced Configuration and Power Interface acpi0: using Intel ACPI CA subsystem version 20060217 acpi0: X/RSDT: OemId <DELL , XPS ,00000007>, AslId <ASL ,00000061> acpi0: SCI interrupting at int 9 acpi0: fixed-feature power button present timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000 ACPI-Fast 24-bit timer mpacpi: could not get bus number, assuming bus 0 ACPI Object Type 'Processor' (0x0c) at acpi0 not configured ACPI Object Type 'Processor' (0x0c) at acpi0 not configured acpibut0 at acpi0 (PNP0C0C): ACPI Power Button PNP0C01 [System Board] at acpi0 not configured PNP0A03 [PCI/PCI-X Host Bridge] at acpi0 not configured PNP0200 [AT DMA Controller] at acpi0 not configured npx1 at acpi0 (PNP0C04) npx1: io 0xf0-0xff irq 13 npx1: reported by CPUID; using exception 16 PNP0000 [AT Interrupt Controller] at acpi0 not configured pcppi1 at acpi0 (PNP0800) pcppi1: io 0x61 pcppi1: children must have an explicit unit midi0 at pcppi1: PC speaker (CPU-intensive output) sysbeep0 at pcppi1 PNP0B00 [AT Real-Time Clock] at acpi0 not configured attimer1 at acpi0 (PNP0100): AT Timer attimer1: io 0x40-0x5f irq 0 PNP0700 [PC standard floppy disk controller] at acpi0 not configured PNP0501 [16550A-compatible COM port] at acpi0 not configured PNP0501 [16550A-compatible COM port] at acpi0 not configured PNP0401 [ECP printer port] at acpi0 not configured PNP0C01 [System Board] at acpi0 not configured PNP0C0F [PCI interrupt link device] at acpi0 not configured PNP0C0F [PCI interrupt link device] at acpi0 not configured PNP0C0F [PCI interrupt link device] at acpi0 not configured PNP0C0F [PCI interrupt link device] at acpi0 not configured PNP0C0F [PCI interrupt link device] at acpi0 not configured pcppi1: attached to attimer1 pci0 at mainbus0 bus 0: configuration mode 1 pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok pchb0 at pci0 dev 0 function 0 pchb0: Intel 82875P Host (rev. 0x02) pchb0: random number generator enabled agp0 at pchb0: aperture at 0xe0000000, size 0x8000000 ppb0 at pci0 dev 1 function 0: Intel 82875P AGP (rev. 0x02) pci1 at ppb0 bus 1 pci1: i/o space, memory space enabled vga1 at pci1 dev 0 function 0: ATI Technologies Radeon 9800XT NJ (rev. 0x00) wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation) wsmux1: connecting to wsdisplay0 ATI Technologies product 0x4e6a (miscellaneous display) at pci1 dev 0 function 1 not configured uhci0 at pci0 dev 29 function 0: Intel 82801EB/ER USB UHCI Controller (rev. 0x02) uhci0: interrupting at ioapic0 pin 16 (irq 11) usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 29 function 1: Intel 82801EB/ER USB UHCI Controller (rev. 0x02) uhci1: interrupting at ioapic0 pin 19 (irq 10) usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 29 function 2: Intel 82801EB/ER USB UHCI Controller (rev. 0x02) uhci2: interrupting at ioapic0 pin 18 (irq 9) usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3 at pci0 dev 29 function 3: Intel 82801EB/ER USB UHCI Controller (rev. 0x02) uhci3: interrupting at ioapic0 pin 16 (irq 11) usb3 at uhci3: USB revision 1.0 uhub3 at usb3 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0 at pci0 dev 29 function 7: Intel 82801EB/ER USB EHCI Controller (rev. 0x02) ehci0: interrupting at ioapic0 pin 23 (irq 5) ehci0: BIOS has given up ownership ehci0: EHCI version 1.0 ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3 usb4 at ehci0: USB revision 2.0 uhub4 at usb4 uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered ppb1 at pci0 dev 30 function 0: Intel 82801BA Hub-PCI Bridge (rev. 0xc2) pci2 at ppb1 bus 2 pci2: i/o space, memory space enabled emuxki0 at pci2 dev 2 function 0: Creative Labs SB Audigy EMU 10000 (audio multimedia, revision 0x04) emuxki0: interrupting at ioapic0 pin 17 (irq 10) emuxki0: ac97: SigmaTel STAC9721/23 codec; 18 bit DAC, 18 bit ADC, SigmaTel 3D emuxki0: ac97: ext id 200<AMAP> audio0 at emuxki0: full duplex, mmap, independent fwohci0 at pci2 dev 2 function 2: Creative Labs product 0x4001 (rev. 0x04) fwohci0: interrupting at ioapic0 pin 18 (irq 9) fwohci0: OHCI version 1.10 (ROM=0) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:02:3c:04:11:03:16:fd fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. ieee1394if0 at fwohci0: IEEE1394 bus fwip0 at ieee1394if0: IP over IEEE1394 fwohci0: Initiate bus reset wm0 at pci2 dev 12 function 0: Intel i82540EM 1000BASE-T Ethernet, rev. 2 wm0: interrupting at ioapic0 pin 18 (irq 9) wm0: 32-bit 33MHz PCI bus wm0: 256 word (8 address bits) MicroWire EEPROM wm0: Ethernet address 00:0c:f1:be:2d:6f makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3 makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto pcib0 at pci0 dev 31 function 0 pcib0: Intel 82801EB LPC Interface Bridge (rev. 0x02) piixide0 at pci0 dev 31 function 1 piixide0: Intel 82801EB IDE Controller (ICH5) (rev. 0x02) piixide0: bus-master DMA support present piixide0: primary channel configured to compatibility mode piixide0: primary channel interrupting at ioapic0 pin 14 (irq 14) atabus0 at piixide0 channel 0 piixide0: secondary channel configured to compatibility mode piixide0: secondary channel interrupting at ioapic0 pin 15 (irq 15) atabus1 at piixide0 channel 1 piixide1 at pci0 dev 31 function 2 piixide1: Intel 82801ER Serial ATA/Raid Controller (rev. 0x02) piixide1: bus-master DMA support present piixide1: primary channel configured to native-PCI mode piixide1: using ioapic0 pin 18 (irq 9) for native-PCI interrupt atabus2 at piixide1 channel 0 piixide1: secondary channel configured to native-PCI mode atabus3 at piixide1 channel 1 Intel 82801EB/ER SMBus Controller (SMBus serial bus, revision 0x02) at pci0 dev 31 function 3 not configured isa0 at pcib0 lpt0 at isa0 port 0x378-0x37b irq 7 com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo pckbc0 at isa0 port 0x60-0x64 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2 isapnp0: no ISA Plug 'n Play devices found ioapic0: enabling timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0 fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode ieee1394if0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) ieee1394if0: bus manager 0 (me) fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec Kernelized RAIDframe activated wd0 at atabus0 drive 0: <ST3120026A> wd0: drive supports 16-sector PIO transfers, LBA48 addressing wd0: 111 GB, 232514 cyl, 16 head, 63 sec, 512 bytes/sect x 234375000 sectors wd0: 32-bit data port wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) wd1 at atabus0 drive 1: <IC35L060AVER07-0> wd1: drive supports 16-sector PIO transfers, LBA addressing wd1: 58644 MB, 119150 cyl, 16 head, 63 sec, 512 bytes/sect x 120103200 sectors wd1: 32-bit data port wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA) wd1(piixide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA) atapibus0 at atabus1: 2 targets cd0 at atapibus0 drive 0: <_NEC DVD_RW ND-1300A, , 103D> cdrom removable cd0: 32-bit data port cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33) cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA) umass0 at uhub4 port 4 configuration 1 interface 0 umass0: I-O DATA USB Flash Disk, rev 2.00/2.00, addr 2 umass0: using SCSI over Bulk-Only scsibus0 at umass0: 2 targets, 1 lun per target sd0 at scsibus0 target 0 lun 0: <I-O DATA, USB Flash Disk, 4.70> disk removable sd0: fabricating a geometry sd0: 243 MB, 243 cyl, 64 head, 32 sec, 512 bytes/sect x 499200 sectors sd0: fabricating a geometry boot device: sd0 root on sd0a dumps on sd0b root file system type: ffs uhidev0 at uhub3 port 1 configuration 1 interface 0 uhidev0: Topre Corporation RealForce Compact, rev 1.10/1.02, addr 2, iclass 3/1 ukbd0 at uhidev0 wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 wsdisplay0: screen 1 added (80x25, vt100 emulation) wsdisplay0: screen 2 added (80x25, vt100 emulation) wsdisplay0: screen 3 added (80x25, vt100 emulation) wsdisplay0: screen 4 added (80x25, vt100 emulation)
df する
$ df -h Filesystem Size Used Avail Capacity Mounted on /dev/sd0a 236M 108M 117M 48% /
_ 右脚の筋肉が痛い
バランスが悪いんだろう。
_ ブログ妖精ココロが水泳などしていた
スク水か