研究室サーバを作る

うだうだ迷った末、FreeBSD7.0Rを入れ、その後 FreeBSD7.1Rにアップグレードすることにする。

MASTER_SITE_BACKUPを書いてある大変素晴らしいインストール手順を参考にあれこれ入れる。


ミラーfetch先を指定 †

真っ先にまずこれをやれ。そうしないと『なんかftp.freebsd.org逝くんだけど…遅すぎ』みたいな悲惨なことに。
詳しくは man make.conf せよ。

# vi /etc/make.conf
CPUTYPE?=pentium-m
CFLAGS= -O -pipe
COPTFLAGS= -O -pipe

MASTER_SITE_BACKUP?= \
http://ftp.iij.ad.jp/pub/FreeBSD/distfiles/ \
http://ftp.iij.ad.jp/pub/FreeBSD/distfiles/${DIST_SUBDIR}/ \
ftp://ftp2.jp.freebsd.org/pub/FreeBSD/distfiles/
MASTER_SITE_OVERRIDE?= \
http://ftp.iij.ad.jp/pub/FreeBSD/distfiles/ \
http://ftp.iij.ad.jp/pub/FreeBSD/distfiles/${DIST_SUBDIR}/ \
ftp://ftp2.jp.freebsd.org/pub/FreeBSD/distfiles/

以下 dmesg

発注した後に 8coreのパッケージがもっと安価に売られていたので悔しくて夜も眠れません。



Copyright (c) 1992-2008 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 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008
root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(R) CPU L5240 @ 3.00GHz (2992.52-MHz K8-class CPU)
Origin = "GenuineIntel" Id = 0x10676 Stepping = 6
Features=0xbfebfbff
Features2=0xce3bd>
AMD Features=0x20100800
AMD Features2=0x1
Cores per package: 2
usable memory = 2129813504 (2031 MB)
avail memory = 2055270400 (1960 MB)
ACPI APIC Table:
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
ioapic0: Changing APIC ID to 2
ioapic1: Changing APIC ID to 3
ioapic2: Changing APIC ID to 4
ioapic0 irqs 0-23 on motherboard
ioapic1 irqs 32-55 on motherboard
ioapic2 irqs 96-119 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 10:34:18)
acpi0: on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 900
cpu0: on acpi0
est0: on cpu0
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 91b091b0600091b
device_attach: est0 attach returned 6
p4tcc0: on cpu0
cpu1: on acpi0
est1: on cpu1
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 91b091b0600091b
device_attach: est1 attach returned 6
p4tcc1: on cpu1
pcib0: port 0xcf8-0xcff on acpi0
pci0: on pcib0
pcib1: at device 2.0 on pci0
pci4: on pcib1
pcib2: at device 0.0 on pci4
pci5: on pcib2
pcib3: at device 0.0 on pci5
pci6: on pcib3
pcib4: at device 0.0 on pci6
pci7: on pcib4
bce0: mem 0xf4000000-0xf5ffffff irq 16 at device 0.0 on pci7
miibus0: on bce0
brgphy0: PHY 1 on miibus0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
bce0: Ethernet address: 00:22:19:53:5e:ed
bce0: [ITHREAD]
bce0: ASIC (0x57081020); Rev (B2); Bus (PCI-X, 64-bit, 133MHz); F/W (0x04040105); Flags( MFW MSI )
pcib5: at device 1.0 on pci5
pci8: on pcib5
pcib6: at device 0.3 on pci4
pci9: on pcib6
pcib7: at device 3.0 on pci0
pci1: on pcib7
mfi0: port 0xec00-0xecff mem 0xfc580000-0xfc5bffff,0xfc540000-0xfc57ffff irq 16 at device 0.0 on pci1
mfi0: Megaraid SAS driver Ver 2.00
mfi0: 1627 (284237133s/0x0020/0) - Shutdown command received from host
mfi0: 1628 (4278190083s/0x0020/0) - PCI 0x041000 0x0460 0x041028 0x041f0c: Firmware initialization started (PCI ID 0060/1000/1f0c/1028)
mfi0: 1629 (4278190083s/0x0020/0) - Type 18: Firmware version 1.21.02-0528
mfi0: 1630 (4278190083s/0x0008/0) - Battery Present
mfi0: 1631 (4278190083s/0x0020/0) - Type 18: Controller hardware revision ID (0x0)
mfi0: 1632 (4278190083s/0x0020/0) - Type 18: Package version 6.1.1-0047
mfi0: 1633 (4278190083s/0x0020/0) - Type 18: Board Revision
mfi0: 1634 (4278190101s/0x0004/0) - PD 32(e0/s255) event: Enclosure PD 20(c None/p0) communication restored
mfi0: 1635 (4278190101s/0x0002/0) - PD 32(e32/s255) event: Inserted: Encl PD 20
mfi0: 1636 (4278190101s/0x0002/0) - Type 29: Inserted: PD 20(c None/p0) Info: enclPd=20, scsiType=d, portMap=09, sasAddr=5002209099b5e600,0000000000000000
mfi0: 1637 (4278190101s/0x0002/0) - PD 00(e32/s0) event: Inserted: PD 00(e0x20/s0)
mfi0: 1638 (4278190101s/0x0002/0) - Type 29: Inserted: PD 00(e0x20/s0) Info: enclPd=20, scsiType=0, portMap=00, sasAddr=5000c5000effbb79,0000000000000000
mfi0: 1639 (4278190101s/0x0002/0) - PD 01(e32/s1) event: Inserted: PD 01(e0x20/s1)
mfi0: 1640 (4278190101s/0x0002/0) - Type 29: Inserted: PD 01(e0x20/s1) Info: enclPd=20, scsiType=0, portMap=01, sasAddr=5000c5000efffb99,0000000000000000
mfi0: 1641 (284237162s/0x0020/0) - Adapter ticks 284237162 elapsed 22s: Time established as 01/02/09 18:46:02; (22 seconds since power on)
mfi0: 1642 (4278190083s/0x0020/0) - PCI 0x041000 0x0460 0x041028 0x041f0c: Firmware initialization started (PCI ID 0060/1000/1f0c/1028)
mfi0: 1643 (4278190083s/0x0020/0) - Type 18: Firmware version 1.21.02-0528
mfi0: 1644 (4278190083s/0x0008/0) - Battery Present
mfi0: 1645 (4278190083s/0x0020/0) - Type 18: Controller hardware revision ID (0x0)
mfi0: 1646 (4278190083s/0x0020/0) - Type 18: Package version 6.1.1-0047
mfi0: 1647 (4278190083s/0x0020/0) - Type 18: Board Revision
mfi0: 1648 (4278190101s/0x0004/0) - PD 32(e0/s255) event: Enclosure PD 20(c None/p0) communication restored
mfi0: 1649 (4278190101s/0x0002/0) - PD 32(e32/s255) event: Inserted: Encl PD 20
mfi0: 1650 (4278190101s/0x0002/0) - Type 29: Inserted: PD 20(c None/p0) Info: enclPd=20, scsiType=d, portMap=09, sasAddr=5002209099b5e600,0000000000000000
mfi0: 1651 (4278190101s/0x0002/0) - PD 00(e32/s0) event: Inserted: PD 00(e0x20/s0)
mfi0: 1652 (4278190101s/0x0002/0) - Type 29: Inserted: PD 00(e0x20/s0) Info: enclPd=20, scsiType=0, portMap=00, sasAddr=5000c5000effbb79,0000000000000000
mfi0: 1653 (4278190101s/0x0002/0) - PD 01(e32/s1) event: Inserted: PD 01(e0x20/s1)
mfi0: 1654 (4278190101s/0x0002/0) - Type 29: Inserted: PD 01(e0x20/s1) Info: enclPd=20, scsiType=0, portMap=01, sasAddr=5000c5000efffb99,0000000000000000
mfi0: 1655 (284237203s/0x0020/0) - Adapter ticks 284237203 elapsed 26s: Time established as 01/02/09 18:46:43; (26 seconds since power on)
mfi0: 1656 (284237245s/0x0008/0) - Battery temperature is normal
mfi0: 1657 (284237245s/0x0008/0) - Current capacity of the battery is above threshold
mfi0: [ITHREAD]
pcib8: at device 4.0 on pci0
pci10: on pcib8
pcib9: at device 0.0 on pci10
pci11: on pcib9
pcib10: at device 5.0 on pci0
pci12: on pcib10
pcib11: at device 6.0 on pci0
pci13: on pcib11
pcib12: at device 7.0 on pci0
pci14: on pcib12
pci0: at device 8.0 (no driver attached)
pcib13: at device 28.0 on pci0
pci2: on pcib13
pcib14: at device 0.0 on pci2
pci3: on pcib14
bce1: mem 0xf8000000-0xf9ffffff irq 16 at device 0.0 on pci3
miibus1: on bce1
brgphy1: PHY 1 on miibus1
brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
bce1: Ethernet address: 00:22:19:53:5e:eb
bce1: [ITHREAD]
bce1: ASIC (0x57081020); Rev (B2); Bus (PCI-X, 64-bit, 133MHz); F/W (0x04040105); Flags( MFW MSI )
uhci0: port 0xcce0-0xccff irq 21 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: on uhci0
usb0: USB revision 1.0
uhub0: on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: port 0xccc0-0xccdf irq 20 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: on uhci1
usb1: USB revision 1.0
uhub1: on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2: port 0xcca0-0xccbf irq 21 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2: on uhci2
usb2: USB revision 1.0
uhub2: on usb2
uhub2: 2 ports with 2 removable, self powered
uhci3: port 0xcc80-0xcc9f irq 20 at device 29.3 on pci0
uhci3: [GIANT-LOCKED]
uhci3: [ITHREAD]
usb3: on uhci3
usb3: USB revision 1.0
uhub3: on usb3
uhub3: 2 ports with 2 removable, self powered
ehci0: mem 0xfc600000-0xfc6003ff irq 21 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: on ehci0
usb4: USB revision 2.0
uhub4: on usb4
uhub4: 8 ports with 8 removable, self powered
uhub5: on uhub4
uhub5: multiple transaction translators
uhub5: 2 ports with 2 removable, self powered
ukbd0: on uhub5
kbd2 at ukbd0
ums0: on uhub5
ums0: X report 0x0002 not supported
device_attach: ums0 attach returned 6
umass0: on uhub5
umass1: on uhub5
uhub6: on uhub4
uhub6: multiple transaction translators
uhub6: 4 ports with 4 removable, self powered
pcib15: at device 30.0 on pci0
pci15: on pcib15
vgapci0: port 0xdc00-0xdcff mem 0xd8000000-0xdfffffff,0xfc2d0000-0xfc2dffff irq 19 at device 13.0 on pci15
isab0: at device 31.0 on pci0
isa0: on isab0
atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0
ata0: on atapci0
ata0: [ITHREAD]
ata1: on atapci0
ata1: [ITHREAD]
fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: does not respond
device_attach: fdc0 attach returned 6
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio0: [FILTER]
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
sio1: [FILTER]
fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: does not respond
device_attach: fdc0 attach returned 6
orm0: at iomem 0xc0000-0xc8fff,0xc9000-0xc9fff,0xd2800-0xd37ff,0xec000-0xeffff on isa0
atkbdc0: at port 0x60,0x64 on isa0
atkbd0: irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
ppc0: cannot reserve I/O port range
sc0: at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ukbd1: on uhub1
kbd3 at ukbd1
ums0: on uhub1
ums0: 5 buttons and Z dir.
Timecounters tick every 1.000 msec
hptrr: no controller detected.
acd0: DVDROM at ata0-master UDMA33
mfi0: 1658 (284237310s/0x0008/0) - Battery started charging
mfid0: on mfi0
mfid0: 139392MB (285474816 sectors) RAID volume '' is optimal
GEOM_LABEL: Label for provider acd0 is iso9660/CentOS.
GEOM_LABEL: Label for provider mfid0s1 is msdosfs/DellUtility.
GEOM_LABEL: Label for provider mfid0s2 is msdosfs/NonBootable.
SMP: AP CPU #1 Launched!
cd0 at umass-sim0 bus 0 target 0 lun 0
cd0: Removable CD-ROM SCSI-0 device
cd0: 40.000MB/s transfers
cd0: cd present [17888 x 2048 byte records]
da0 at umass-sim1 bus 1 target 0 lun 0
da0: Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
GEOM_LABEL: Label for provider cd0 is iso9660/FreeBSD_bootonly.
Trying to mount root from ufs:/dev/mfid0s3a
mfi0: 1659 (284237375s/0x0008/0) - Battery charge complete
pid 5616 (try), uid 0: exited on signal 10 (core dumped)