net6501-70を買って、それからどうしよう。

Posted on 2012/08/09(Thu) 01:02 in technical

BSD界隈ではたまにネタになるSoekris社のnetシリーズなのだけど、とうとうnet6501-70を衝動的に買ってしまった。

net6501シリーズはこちら http://soekris.com/products/net6501.html

ので、PfSenseを入れてルータはこっちにしようかな...と、仮想化と逆行することを考えている日の話。

なんだかんだ言ってさ?誰だって欲しいもんじゃあ無いんですか?

「GbEポートが沢山ついてて、まさに自分でOS入れてルータとして使ってください。それ以外の用途は、まぁ、今度考えます」みたいな製品。

Atomのファンレスマザーが出た時思ったでしょ?何でGbEポート1個しか無いの?馬鹿なの?って。

それで仕方ないからVIAのDualポートNICのマザーとか買ってみて、ケースが無いだの、熱くて死にそうだの。

なのでコレ。でも買った直後に net7501の話題 を見つけて若干凹んだのは内緒。

とりあえず、見た目こんな感じ。

image0

image1

image2

GbE(82574)が4ポート、CPUはAtom E680(換装不可)、メモリはDDR2 2GB(換装不可)という分かりやすい仕様。

Mini PCI ExpressかPCI Express x1のCrypto Acceleratorが欲しくなるだろう?俺も欲しい。

買うの自体はとても簡単だった。

Soekrisの公式ページの買い物カゴに放り込んでPaypalしたら数日で届いた。

梱包はシンプルだったけど、別に揺れたりぶつけてどうこうなる品目でもない。

筺体の製造レベルも割と高いと思う。バリはほとんど無いし、継ぎ目の整合も悪くない。

見ての通り(?)、VGAが無いので作業はSerialになる。

ケーブルはリバースの19200/8/N/STOP...の、まぁ速度以外はデフォルト的なアレ。

その辺詳しくはマニュアルとSoekrisのwikiを見るとして。

あと、このページも非常に参考になる。

そういうわけでUSBメモリにpfsenseをddで放り込んで、差し込んだmSATAにインストールすることにする。

(net6501に使われてるAtom E6XXシリーズは非Intel 64bitなので、i386を使います)

USB Bootがnet6501で使われているcomBIOSに導入されたのは割と最近(http://soekris.com/media/software/changelog.txt)で、現行最新版の1.41に当たる。

でも、買ったのは最近なので届いた時(2012年7月位)には既に1.41が入っていた。

で、USBメモリの認識率が非常に悪くて、手持ちのUSBメモリが8割敗北。

以下のようにUSBメモリのブランド名とか、容量とか正しく表示されているなら良いのだが、

SATA AHCI BIOS ver. 0.6 20110902 Copyright (C) 2003-2011 Intel Corporation

Controller Bus#02, Device#06, Function#00: 02 Ports, 01 Devices
Port-00: No device detected
Port-01: Hard Disk, M4-CT032M4SSD3

Soekris USB Expansion ROM ver. 1.01 20111203

81: USB 01 JetFlashTranscend 16GB Xlt 1024-255-63 15435 Mbyte

ダメポちゃんの時は、以下のように何も表示されない。かろうじてUSBに何か刺さってる位。

81: USB 01 Xlt -2-32 Mbyte

かろうじて認識した子を使ってインストール作業をする...が、PfSenseのDownloadページで配られているmemstickイメージは全部VGAらしいのでConsoleじゃ使えねぇ状態。

でも話題にはなってたっぽい。

ので、こいつを使えばパーフェクトゥですよ、みたいな文句にやられて、フラフラとタダ乗りを決めてしまった。

こいつをddでUSBメモリに焼いて、さぁ次の落とし穴はどこだー!と喜び勇んでコンソール画面へ。

後の作業は驚くほど言うことがない。

若干の文字化けを無視しつつ、PfSenseのインストーラが立ち上がったらQuick InstallしてmSATAに勝手に入ってしまったので、最早何も疑わずに受け入れてしまった。

どうせ動き始めたらまた何か出るだろう。

意味もなくdmesgを晒しておこう。

[2.0.1-RELEASE][root@pfSense.localdomain]/root(5): dmesg

Copyright (c) 1992-2010 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.1-RELEASE-p6 #0: Mon Dec 12 17:33:39 EST 2011
root@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org:/usr/obj./usr/pfSensesrc/src/sys/pfSense_wrap.8.i386 i386
Timecounter “i8254” frequency 1193182 Hz quality 0
CPU: Genuine Intel(R) CPU @ 1.60GHz (1600.01-MHz 686-class CPU)
Origin = “GenuineIntel” Id = 0x20661 Family = 6 Model = 26 Stepping = 1
Features=0xbfe9fbff
Features2=0x40e3bd
AMD Features=0x20100000
AMD Features2=0x1
TSC: P-state invariant
real memory = 2147352576 (2047 MB)
avail memory = 2086793216 (1990 MB)
ACPI Error: A valid RSDP was not found (20100331/tbxfroot-309)
MPTable:
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads
cpu0 (BSP): APIC ID: 0
cpu1 (AP/HT): APIC ID: 1
ioapic0: Assuming intbase of 0
ioapic0 irqs 0-23 on motherboard
netisr_init: forcing maxthreads to 1 and bindthreads to 0 for device polling
wlan: mac acl policy registered
ipw_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/.
ipw_bss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (ipw_bss_fw, 0xc0710010, 0) error 1
ipw_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/.
ipw_ibss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (ipw_ibss_fw, 0xc07100b0, 0) error 1
wpi: You need to read the LICENSE file in /usr/share/doc/legal/intel_wpi/.
wpi: If you agree with the license, set legal.intel_wpi.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (wpi_fw, 0xc0883050, 0) error 1
ipw_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/.
ipw_monitor: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (ipw_monitor_fw, 0xc0710150, 0) error 1
ACPI Error: A valid RSDP was not found (20100331/tbxfroot-309)
ACPI: Table initialisation failed: AE_NOT_FOUND
ACPI: Try disabling either ACPI or apic support.
cryptosoft0: on motherboard
padlock0: No ACE support.
pcib0: pcibus 0 on motherboard
pci0: on pcib0
pcib1: irq 16 at device 23.0 on pci0
pci1: on pcib1
pcib2: irq 16 at device 0.0 on pci1
pci2: on pcib2
pci2: at device 0.0 (no driver attached)
pci2: at device 0.1 (no driver attached)
pci2: at device 0.2 (no driver attached)
ohci0: mem 0xa0000b00-0xa0000bff irq 19 at device 2.0 on pci2
ohci0: [ITHREAD]
usbus0: on ohci0
ohci1: mem 0xa0000c00-0xa0000cff irq 19 at device 2.1 on pci2
ohci1: [ITHREAD]
usbus1: on ohci1
ohci2: mem 0xa0000d00-0xa0000dff irq 19 at device 2.2 on pci2
ohci2: [ITHREAD]
usbus2: on ohci2
ehci0: mem 0xa0000e00-0xa0000eff irq 19 at device 2.3 on pci2
ehci0: [ITHREAD]
usbus3: EHCI version 1.0
usbus3: on ehci0
pci2: at device 2.4 (no driver attached)
pci2: at device 4.0 (no driver attached)
pci2: at device 4.1 (no driver attached)
atapci0: port 0x1020-0x103f mem 0xa0004400-0xa00047ff irq 17 at device 6.0 on pci2
atapci0: [ITHREAD]
atapci0: AHCI v1.10 controller with 2 3Gbps ports, PM supported
ata2: on atapci0
ata2: [ITHREAD]
ata3: on atapci0
ata3: [ITHREAD]
ohci3: mem 0xa0004800-0xa00048ff irq 16 at device 8.0 on pci2
ohci3: [ITHREAD]
usbus4: on ohci3
ohci4: mem 0xa0004900-0xa00049ff irq 16 at device 8.1 on pci2
ohci4: [ITHREAD]
usbus5: on ohci4
ohci5: mem 0xa0004a00-0xa0004aff irq 16 at device 8.2 on pci2
ohci5: [ITHREAD]
usbus6: on ohci5
ehci1: mem 0xa0004b00-0xa0004bff irq 16 at device 8.3 on pci2
ehci1: [ITHREAD]
usbus7: EHCI version 1.0
usbus7: on ehci1
pci2: at device 10.0 (no driver attached)
pci2: at device 10.1 (no driver attached)
pci2: at device 10.2 (no driver attached)
pci2: at device 10.3 (no driver attached)
pci2: at device 10.4 (no driver attached)
pci2: at device 12.0 (no driver attached)
pci2: at device 12.1 (no driver attached)
pci2: at device 12.2 (no driver attached)
pci2: at device 12.3 (no driver attached)
pci2: at device 12.4 (no driver attached)
pcib3: irq 17 at device 24.0 on pci0
pci3: on pcib3
pcib4: at device 0.0 on pci3
pci4: on pcib4
pcib5: at device 2.0 on pci4
pci5: on pcib5
em0: port 0x2000-0x201f mem 0xa1000000-0xa101ffff,0xa1020000-0xa1023fff irq 19 at device 0.0 on pci5
em0: Using MSIX interrupts with 3 vectors
em0: [ITHREAD]
em0: [ITHREAD]
em0: [ITHREAD]
pcib6: at device 3.0 on pci4
pci6: on pcib6
em1: port 0x3000-0x301f mem 0xa2000000-0xa201ffff,0xa2020000-0xa2023fff irq 16 at device 0.0 on pci6
em1: Using MSIX interrupts with 3 vectors
em1: [ITHREAD]
em1: [ITHREAD]
em1: [ITHREAD]
pcib7: at device 4.0 on pci4
pci7: on pcib7
pcib8: irq 18 at device 25.0 on pci0
pci8: on pcib8
pcib9: at device 0.0 on pci8
pci9: on pcib9
pcib10: at device 2.0 on pci9
pci10: on pcib10
em2: port 0x4000-0x401f mem 0xa3000000-0xa301ffff,0xa3020000-0xa3023fff irq 16 at device 0.0 on pci10
em2: Using MSIX interrupts with 3 vectors
em2: [ITHREAD]
em2: [ITHREAD]
em2: [ITHREAD]
pcib11: at device 3.0 on pci9
pci11: on pcib11
em3: port 0x5000-0x501f mem 0xa4000000-0xa401ffff,0xa4020000-0xa4023fff irq 17 at device 0.0 on pci11
em3: Using MSIX interrupts with 3 vectors
em3: [ITHREAD]
em3: [ITHREAD]
em3: [ITHREAD]
pcib12: at device 4.0 on pci9
pci12: on pcib12
pcib13: irq 19 at device 26.0 on pci0
pci13: on pcib13
isab0: at device 31.0 on pci0
isa0: on isab0
cpu0 on motherboard
cpu1 on motherboard
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata0: [ITHREAD]
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
ata1: [ITHREAD]
atrtc0: at port 0x70 irq 8 on isa0
ppc0: parallel port not found.
uart0: at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
uart0: [FILTER]
uart0: console (9600,n,8,1)
Timecounters tick every 10.000 msec
IPsec: Initialized Security Association Processing.
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
ugen0.1: <(0x8086)> at usbus0
uhub0: <(0x8086) OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <(0x8086)> at usbus1
uhub1: <(0x8086) OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 480Mbps High Speed USB v2.0
ugen2.1: <(0x8086)> at usbus2
uhub2: <(0x8086) OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: at usbus3
uhub3: on usbus3
uhub0: 1 port with 1 removable, self powered
uhub1: 1 port with 1 removable, self powered
usbus4: 12Mbps Full Speed USB v1.0
uhub2: 1 port with 1 removable, self powered
ugen4.1: <(0x8086)> at usbus4
uhub4: <(0x8086) OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
usbus5: 12Mbps Full Speed USB v1.0
usbus6: 12Mbps Full Speed USB v1.0
ugen5.1: <(0x8086)> at usbus5
uhub5: <(0x8086) OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
ugen6.1: <(0x8086)> at usbus6
uhub6: <(0x8086) OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus6
usbus7: 480Mbps High Speed USB v2.0
uhub4: 1 port with 1 removable, self powered
ugen7.1: at usbus7
uhub7: on usbus7
ad6: 30533MB at ata3-master UDMA100 SATA 3Gb/s
uhub5: 1 port with 1 removable, self powered
uhub6: 1 port with 1 removable, self powered
uhub3: 3 ports with 3 removable, self powered
uhub7: 3 ports with 3 removable, self powered
ugen7.2: at usbus7
umass0: on usbus7
SMP: AP CPU #1 Launched!
da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
da0: Removable Direct Access SCSI-5 device
da0: 40.000MB/s transfers
da0: 15074MB (30871552 512 byte sectors: 255H 63S/T 1921C)
GEOM: da0: geometry does not match label (16h,63s != 255h,63s).
GEOM: da0: media size does not match label.
Trying to mount root from ufs:/dev/ad6s1a
Invalid time in real time clock.
Check and reset the date immediately!
pflog0: promiscuous mode enabled

おしまい。