ディスクレスクライアント起動
ASRock AD2700-ITX PCをディスクレスクライアント実験機として使用するが、HDDがつながっているマシンなので、ブート画面で F11 を素早くタイプしてブートセレクタ画面を表示させ、そこで pxeboot を選択するか、BIOSのBootに関する項目で 1番目をLAN 、以降をdisable に設定すればいい。
ネットワークからのブートが成功すると以下のような画面になる。
その他の起動手順も成功すれば、以下のようにブートメッセージが表示されて起動が終了する。(下記メッセージは dmesg をコピーしたもの)
Copyright (c) 1992-2012 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.3-RELEASE-p4 #0: Thu Aug 23 21:59:51 JST 2012 root@taromaru:/usr/obj/usr/src/sys/DISKLESS i386 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Atom(TM) CPU D2700 @ 2.13GHz (2129.59-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x30661 Family = 6 Model = 36 Stepping = 1 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x40c31d<SSE3,DTES64,MON,DS_CPL,TM2,SSSE3,xTPR,PDCM,MOVBE> AMD Features=0x100000<NX> AMD Features2=0x1<LAHF> TSC: P-state invariant real memory = 2147483648 (2048 MB) avail memory = 2073911296 (1977 MB) ACPI APIC Table: <ALASKA A M I> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 HTT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP/HT): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP/HT): APIC ID: 3 ioapic0 <Version 2.0> irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: <ALASKA A M I> on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "HPET" frequency 14318180 Hz quality 900 acpi0: reservation of 67, 1 (4) failed acpi0: reservation of 0, 4000 (3) failed Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: <ACPI CPU> on acpi0 cpu1: <ACPI CPU> on acpi0 cpu2: <ACPI CPU> on acpi0 cpu3: <ACPI CPU> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 vgapci0: <VGA-compatible display> port 0xf0f0-0xf0f7 mem 0xdfc00000-0xdfcfffff irq 16 at device 2.0 on pci0 pci0: <multimedia, HDA> at device 27.0 (no driver attached) pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0 pci1: <ACPI PCI bus> on pcib1 re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F PCIe Gigabit Ethernet> port 0xe000-0xe0ff mem 0xdfe04000-0xdfe04fff,0xdfe00000-0xdfe03fff irq 16 at device 0.0 on pci1 re0: Using 1 MSI-X message re0: turning off MSI enable bit. re0: Chip rev. 0x2c800000 re0: MAC rev. 0x00000000 miibus0: <MII bus> on re0 rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 100 0baseT-FDX-flow-master, auto, auto-flow re0: Ethernet address: bc:5f:f4:1e:3f:83 re0: [ITHREAD] pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.1 on pci0 pci2: <ACPI PCI bus> on pcib2 pci2: <serial bus, USB> at device 0.0 (no driver attached) uhci0: <Intel 82801G (ICH7) USB controller USB-A> port 0xf080-0xf09f irq 23 at device 29.0 on pci0 uhci0: [ITHREAD] uhci0: LegSup = 0x2f00 usbus0: <Intel 82801G (ICH7) USB controller USB-A> on uhci0 uhci1: <Intel 82801G (ICH7) USB controller USB-B> port 0xf060-0xf07f irq 19 at device 29.1 on pci0 uhci1: [ITHREAD] uhci1: LegSup = 0x2f00 usbus1: <Intel 82801G (ICH7) USB controller USB-B> on uhci1 uhci2: <Intel 82801G (ICH7) USB controller USB-C> port 0xf040-0xf05f irq 18 at device 29.2 on pci0 uhci2: [ITHREAD] uhci2: LegSup = 0x2f00 usbus2: <Intel 82801G (ICH7) USB controller USB-C> on uhci2 uhci3: <Intel 82801G (ICH7) USB controller USB-D> port 0xf020-0xf03f irq 16 at device 29.3 on pci0 uhci3: [ITHREAD] uhci3: LegSup = 0x2f00 usbus3: <Intel 82801G (ICH7) USB controller USB-D> on uhci3 ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0xdff05000-0xdff053ff irq 23 at device 29.7 on pci0 ehci0: [ITHREAD] usbus4: EHCI version 1.0 usbus4: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0 pcib3: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci3: <ACPI PCI bus> on pcib3 isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH7 SATA300 controller> port 0xf0e0-0xf0e7,0xf0d0-0xf0d3,0xf0c0-0xf0c7,0xf0b0-0xf0b3,0xf0a0-0xf0af mem 0xdff04000-0xdff043ff irq 19 at device 31.2 on pci0 atapci0: [ITHREAD] ata2: <ATA channel> at channel 0 on atapci0 ata2: [ITHREAD] ata3: <ATA channel> at channel 1 on atapci0 ata3: [ITHREAD] pci0: <serial bus, SMBus> at device 31.3 (no driver attached) acpi_button0: <Power Button> on acpi0 acpi_button1: <Sleep Button> on acpi0 atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0 atrtc0: Warning: Couldn't map I/O. atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ppc1: <Parallel port> port 0x378-0x37f,0x778-0x77f irq 5 drq 3 on acpi0 ppc1: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc1: FIFO with 16/16/9 bytes threshold ppc1: [ITHREAD] ppbus0: <Parallel port bus> on ppc1 plip0: <PLIP network interface> on ppbus0 plip0: [ITHREAD] lpt0: <Printer> on ppbus0 lpt0: [ITHREAD] lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] pmtimer0 on isa0 orm0: <ISA Option ROM> at iomem 0xcf800-0xd07ff pnpid ORM0000 on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ata0: <ATA channel> at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0 ata0: [ITHREAD] ata1: <ATA channel> at port 0x170-0x177,0x376 irq 15 on isa0 ata1: [ITHREAD] ppc0: cannot reserve I/O port range p4tcc0: <CPU Frequency Thermal Control> on cpu0 p4tcc1: <CPU Frequency Thermal Control> on cpu1 p4tcc2: <CPU Frequency Thermal Control> on cpu2 p4tcc3: <CPU Frequency Thermal Control> on cpu3 Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 12Mbps Full Speed USB v1.0 usbus4: 480Mbps High Speed USB v2.0 ad4: 953869MB <Hitachi HDS721010CLA332 JP4OA3MA> at ata2-master UDMA100 SATA 3Gb/s ugen0.1: <Intel> at usbus0 uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0 ugen1.1: <Intel> at usbus1 uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1 ugen2.1: <Intel> at usbus2 uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2 ugen3.1: <Intel> at usbus3 uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3 ugen4.1: <Intel> at usbus4 uhub4: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4 Sending DHCP Discover packet from interface re0 (bc:5f:f4:1e:3f:83) uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered uhub3: 2 ports with 2 removable, self powered Received DHCP Offer packet on re0 from 192.168.1.4 (accepted) (no root path) Received DHCP Offer packet on re0 from 192.168.1.4 (ignored) (no root path) Received DHCP Offer packet on re0 from 192.168.1.4 (ignored) (no root path) uhub4: 8 ports with 8 removable, self powered ugen0.2: <Composite USB PS2 Converter> at usbus0 ukbd0: <Composite USB PS2 Converter USB to PS2 Adaptor V3.10, class 0/0, rev 1.10/3.10, addr 2> on usbus0 kbd2 at ukbd0 ums0: <Composite USB PS2 Converter USB to PS2 Adaptor V3.10, class 0/0, rev 1.10/3.10, addr 2> on usbus0 ums0: 5 buttons and [XYZ] coordinates ID=1 Sending DHCP Request packet from interface re0 (bc:5f:f4:1e:3f:83) Received DHCP Ack packet on re0 from 192.168.1.4 (accepted) (got root path) re0 at 192.168.1.41 server 192.168.1.4 boot file pxeboot subnet mask 255.255.255.0 router 192.168.1.5 root_server 192.168.1.4 rootfs /diskless Adjusted interface re0 SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #3 Launched! Trying to mount root from nfs: NFS ROOT: 192.168.1.4:/diskless
以上で、ディスクレスクライアントの起動が完了。
しかし、この時点では、サーバーにインストール済みのアプリケーションを利用可能であるが、X-Windowは動いていないので、リモートからログインしてCPUパワーを使うくらいしか利用方法がない。 それでも、BOINCくらいは動かせそうなので、次回のメモではBOINCに挑戦してみる。