Debian 6.0 と FreeBSD カーネルの組合せ – Debian GNU/kFreeBSD

Panhead

2011年02月07日 13:20

Debian 6.0 がリリースされましたね!今回は FreeBSD カーネルを搭載した Debian GNU/kFreeBSD もテクノロジープレビュー版として同時に提供が開始されました。

で、早速昼休みに自分の VMware へインストール!

IDE の仮想ディスクへインストールを試したところ、インストーラーの途中でこけたため、LSILogic で SCSI ディスクへインストールを行いました。

インストーラーは English で動かして、Locale は Japanese を、と選択してみましたが、入っていないようで “no locale defined” メッセージでした。しょうがないので English ローケルで続行です。

途中のパッケージで X-Window な環境も選択できましたが、今回は時間が無さそうなので GUI 無しで最小な環境だけインストールしました。後で X-Window な環境もインストールしてみようと思います。

ディスクは FreeBSD なので、UFS ですね。パーティションとかを細かくしていしなかったけど、続行です。

ということで、インストール完了!

GRUB で FreeBSD 8.1-1-686 が選択できます。

ということで、自宅な環境では学生の頃に Slackware を触りだし、社会人になって FreeBSD を見つけて心変わりし、その後は Debian GNU/Linux へ浮気しつつ FreeBSD や Solaris な環境でしたが、時代の変化と共の Ubuntu 。。。へは行かずにがんばって Debian GNU/kFreeBSD な環境かな、なんて思ってデスクトップな環境として少し触ってみたいと思います。

root@debkbsd:~# uname -a
  GNU/kFreeBSD debkbsd 8.1-1-686 #0 Tue Jan  4 17:59:05 UTC 2011 i686 i386 Intel(R) Pentium(R) 4 CPU 2.80GHz GNU/kFreeBSD

起動後の dmesg 、FreeBSD ですね。。

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.
#0 Tue Jan  4 17:59:05 UTC 2011 i386
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2863.22-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf38  Family = f  Model = 3  Stepping = 8
  Features=0xfebfbff<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>
  Features2=0x11<SSE3,DS_CPL>
  TSC: P-state invariant
real memory  = 536870912 (512 MB)
avail memory = 511598592 (487 MB)
ACPI APIC Table: <PTLTD          APIC  >
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <PTLTD   RSDT> 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 0x1008-0x100b on acpi0
cpu0: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1050-0x105f at device 7.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1060-0x107f irq 19 at device 7.2 on pci0
uhci0: [ITHREAD]
usbus0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
pci0: <bridge> at device 7.3 (no driver attached)
vgapci0: <VGA-compatible display> port 0x1400-0x140f mem 0xf0000000-0xf7ffffff,0xe8000000-0xe87fffff at device 15.0 on pci0
mpt0: <LSILogic 1030 Ultra4 Adapter> port 0x1080-0x10ff mem 0xe8800000-0xe8800fff irq 17 at device 16.0 on pci0
mpt0: [ITHREAD]
mpt0: MPI Version=1.2.0.0
pcib2: <PCI-PCI bridge> mem 0xe8801000-0xe8801fff at device 17.0 on pci0
pci2: <PCI bus> on pcib2
le0: <AMD PCnet-PCI> port 0x2000-0x207f irq 18 at device 0.0 on pci2
le0: 16 receive buffers, 4 transmit buffers
le0: Ethernet address: 00:0c:29:05:9b:51
le0: [ITHREAD]
pci2: <multimedia, audio> at device 1.0 (no driver attached)
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xe8900000-0xe8900fff irq 16 at device 2.0 on pci2
ehci0: [ITHREAD]
usbus1: EHCI version 1.0
usbus1: <EHCI (generic) USB 2.0 controller> on ehci0
acpi_acad0: <AC Adapter> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
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]
psm0: <PS/2 Mouse> flags 0x100 irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model IntelliMouse, device ID 3
ppc0: <Parallel port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppc0: [ITHREAD]
ppbus0: <Parallel port bus> on ppc0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
uart1: [FILTER]
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xca000-0xcafff,0xdc000-0xdffff,0xe0000-0xe3fff 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
acpi_throttle0: <ACPI CPU Throttling> on cpu0
Timecounter "TSC" frequency 2863222221 Hz quality 800
Timecounters tick every 1.000 msec
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 480Mbps High Speed USB v2.0
acd0: CDROM <VMware Virtual IDE CDROM Drive/00000001> at ata1-master UDMA33
ugen0.1: <Intel> at usbus0
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <(0x15ad)> at usbus1
uhub1: <(0x15ad) EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
uhub0: 2 ports with 2 removable, self powered
cd0 at ata1 bus 0 scbus1 target 0 lun 0
cd0: <NECVMWar VMware IDE CDR10 1.00> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: cd present [59069 x 2048 byte records]
da0 at mpt0 bus 0 scbus0 target 0 lun 0
da0: <VMware, VMware Virtual S 1.0> Fixed Direct Access SCSI-2 device
da0: 320.000MB/s transfers (160.000MHz DT, offset 127, 16bit)
da0: Command Queueing enabled
da0: 16384MB (33554432 512 byte sectors: 255H 63S/T 2088C)
Root mount waiting for: usbus1
Root mount waiting for: usbus1
uhub1: 6 ports with 6 removable, self powered
Trying to mount root from ufs:/dev/da0s1
WARNING: TMPFS is considered to be a highly experimental feature in FreeBSD.
pid 736 (sshd) is using legacy pty devices - not logging anymore
root@debkbsd:~# ps xa
  PID TTY      STAT   TIME COMMAND
  799 ?        R+     0:00 ps xa
  767 ?        S      0:01 -su
  766 ?        S      0:00 su -
  739 ?        Ss     0:02 -bash
  738 ?        S      0:00 /usr/sbin/sshd -R
  736 ?        Ss     0:00 /usr/sbin/sshd -R
  721 ?        S+     0:01 -su
  720 ?        S      0:00 su -
  640 ?        S      0:02 -bash
  639 ?        Ss+    0:00 /sbin/getty 38400 ttyv5 cons25
  638 ?        Ss+    0:00 /sbin/getty 38400 ttyv4 cons25
  637 ?        Ss+    0:00 /sbin/getty 38400 ttyv3 cons25
  636 ?        Ss+    0:00 /sbin/getty 38400 ttyv2 cons25
  635 ?        Ss+    0:00 /sbin/getty 38400 ttyv1 cons25
  634 ?        Ss     0:00 /bin/login -- root
  620 ?        Ss     0:00 /usr/sbin/sshd
  608 ?        Ss     0:00 /usr/sbin/exim4 -bd -q30m
  356 ?        Ss     0:00 /usr/sbin/cron
  331 ?        Ss     0:00 /usr/sbin/atd
  321 ?        S      0:00 /usr/sbin/rsyslogd -c4
  320 ?        S      0:00 /usr/sbin/rsyslogd -c4
  317 ?        S      0:00 /usr/sbin/rsyslogd -c4
  316 ?        S      0:00 /usr/sbin/rsyslogd -c4
  231 ?        Ss     0:00 /sbin/portmap
  222 ?        Ss     0:00 dhclient -v -pf /var/run/dhclient.le0.pid -lf /var/lib/dhcp/dhclient.le0.leases le0
   20 ?        S+     0:00 flowcleaner
   19 ?        S+     0:00 softdepflush
   18 ?        S+     0:00 syncer
   17 ?        S+     0:00 vnlru
   16 ?        S+     0:00 bufdaemon
   15 ?        S+     0:00 pagezero
    9 ?        S+     0:00 vmdaemon
    8 ?        S+     0:00 pagedaemon
    7 ?        S+     0:00 xpt_thrd
    6 ?        S+     0:00 sctp_iterator
    5 ?        S+     0:00 mpt_recovery0
   14 ?        S+     0:00 usb
   13 ?        S+     0:00 yarrow
    4 ?        S+     0:00 g_down
    3 ?        S+     0:00 g_up
    2 ?        S+     0:00 g_event
   12 ?        S+     0:00 intr
   11 ?        ?+    42:44 idle
    1 ?        Ss     0:00 /sbin/init --
   10 ?        S+     0:00 audit
root@debkbsd:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/da0s1            15533806    789118  13501984   6% /
devfs                        1         1         0 100% /dev
linprocfs                    4         4         0 100% /proc
/sys                         4         4         0 100% /sys
fdescfs                      1         1         0 100% /dev/fd
tmpfs                  1170532         4   1170528   1% /lib/init/rw

関連記事