Hack phone, puppy linux, FreeBSD, memo

This is memo for me. hacking smart phone, puppy linux.
freebsd-update -r 7.1-RELEASE upgrade
# freebsd-update -r 7.1-RELEASE upgrade
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata signature for 7.0-RELEASE from update2.FreeBSD.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Inspecting system... done.

The following components of FreeBSD seem to be installed:
kernel/generic world/base world/dict world/games world/info

The following components of FreeBSD do not seem to be installed:
src/base src/bin src/cddl src/compat src/contrib src/crypto src/etc
src/games src/gnu src/include src/krb5 src/lib src/libexec src/release
src/rescue src/sbin src/secure src/share src/sys src/tools src/ubin
src/usbin world/catpages world/doc world/manpages world/proflibs

Does this look reasonable (y/n)? y

Fetching metadata signature for 7.1-RELEASE from update2.FreeBSD.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system... done.
Fetching files from 7.0-RELEASE for merging... done.
Preparing to download files... done.
Fetching 4215 patches.....10....20....30....40....50....60....70....80....90....100....110....120....130....140....150....160....170....180....190....200....210....220....230....240....250....260....270....280....290....300....310....320....330....340....350....360....370....380....390....400....410....420....430....440....450....460....470....480....490....500....510....520....530 done.
Applying patches... done.
Fetching 3714 files...

ここからさっぱり進行しなかった。
[ctl]+cで一旦中断。

翌日

# freebsd-update -r 7.1-RELEASE upgrade
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata signature for 7.0-RELEASE from update2.FreeBSD.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system... done.

The following components of FreeBSD seem to be installed:
kernel/generic world/base world/dict world/games world/info

The following components of FreeBSD do not seem to be installed:
src/base src/bin src/cddl src/compat src/contrib src/crypto src/etc
src/games src/gnu src/include src/krb5 src/lib src/libexec src/release
src/rescue src/sbin src/secure src/share src/sys src/tools src/ubin
src/usbin world/catpages world/doc world/manpages world/proflibs

Does this look reasonable (y/n)? y

Fetching metadata signature for 7.1-RELEASE from update2.FreeBSD.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system... done.
Fetching files from 7.0-RELEASE for merging... done.
Preparing to download files... done.
Fetching 3684 Fetching 3684 patches.....10....20....30....40....50....60....70....80....90....100....110....120....130....140....150....160....170....180....190....200....210....220....230....240....250....260....270....280....290....300....310....320....330....340....350....360....370....380....390....400....410....420....430....440....450....460....470....480....490....500....510....520....530....540....550....560....570....580....590....600....610....620....630....640....650....660....670....680....690....700....710....720....730....740....750....760....770....780....790....800....810....820....830....840....850....860....870....880....890....900....910....920....930....940....950....960....970....980....990....1000....1010....1020....1030....1040....1050....1060....1070....1080....1090....1100....1110....1120....1130....1140....1150....1160....1170....1180....1190....1200....1210....1220....1230....1240....1250....1260....1270....1280....1290....1300....1310....1320....1330....1340....1350....1360....1370....1380....1390....1400....1410....1420....1430....1440....1450....1460....1470....1480....1490....1500....1510....1520....1530....1540....1550....1560....1570....1580....1590....1600....1610....1620....1630....1640....1650....1660....1670....1680....1690....1700....1710....1720....1730....1740....1750....1760....1770....1780....1790....1800....1810....1820....1830....1840....1850....1860....1870....1880....1890....1900....1910....1920....1930....1940....1950....1960....1970....1980....1990....2000....2010....2020....2030....2040....2050....2060....2070....2080....2090....2100....2110....2120....2130....2140....2150....2160....2170....2180....2190....2200....2210....2220....2230....2240....2250....2260....2270....2280....2290....2300....2310....2320....2330....2340....2350....2360....2370....2380....2390....2400....2410....2420....2430....2440....2450....2460....2470....2480....2490....2500....2510....2520....2530....2540....2550....2560....2570....2580....2590....2600....2610....2620....2630....2640....2650....2660....2670....2680....2690....2700....2710....2720....2730....2740....2750....2760....2770....2780....2790....2800....2810....2820....2830....2840....2850....2860....2870....2880....2890....2900....2910....2920....2930....2940....2950....2960....2970....2980....2990....3000....3010....3020....3030....3040....3050....3060....3070....3080....3090....3100....3110....3120....3130....3140....3150....3160....3170....3180....3190....3200....3210....3220....3230....3240....3250....3260....3270....3280....3290....3300....3310....3320....3330....3340....3350....3360....3370....3380....3390....3400....3410....3420....3430....3440....3450....3460....3470....3480....3490....3500....3510....3520....3530....3540....3550....3560....3570....3580....3590....3600....3610....3620....3630....3640....3650....3660....3670....3680.. done.
Applying patches... done.
Fetching 185 files... done.
Attempting to automatically merge changes in files... done.

The following file could not be merged automatically: /etc/portsnap.conf
Press Enter to edit this file in vi and resolve the conflicts
manually...

[Enter]

[esc]w portsnap.conf.old [return]

The following file could not be merged automatically: /etc/printcap
Press Enter to edit this file in vi and resolve the conflicts
manually...

[esc]w printcap.old [return]

The following changes, which occurred between FreeBSD 7.0-RELEASE and
FreeBSD 7.1-RELEASE have been merged into /etc/csh.cshrc:
--- current version
+++ new version
@@ -1,6 +1,6 @@
-# $FreeBSD: src/etc/csh.cshrc,v 1.3 1999/08/27 23:23:40 peter Exp $
+# $FreeBSD: src/etc/csh.cshrc,v 1.3.52.1 2008/11/25 02:59:29 kensmith Exp $
#
# System-wide .cshrc file for csh(1).
setenv LC_CTYPE ja_JP.eucJP
alias man env LANG=ja_JP.eucJP jman
setenv PAGER jless
Does this look reasonable (y/n)? y

The following changes, which occurred between FreeBSD 7.0-RELEASE and
FreeBSD 7.1-RELEASE have been merged into /etc/devfs.conf:
--- current version
+++ new version
@@ -20,11 +20,11 @@
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# $FreeBSD: src/etc/devfs.conf,v 1.2 2004/06/06 11:46:27 schweikh Exp $
+# $FreeBSD: src/etc/devfs.conf,v 1.2.26.1 2008/11/25 02:59:29 kensmith Exp $

# These are examples of how to configure devices using /etc/rc.d/devfs.
# The first parameter is always the action to take, the second is always the
# existing device created by devfs, and the last is what you want to change.
# The name of the action is only significant to the first unique character.
Does this look reasonable (y/n)? y

The following changes, which occurred between FreeBSD 7.0-RELEASE and
FreeBSD 7.1-RELEASE have been merged into /etc/group:
--- current version
+++ new version
@@ -1,6 +1,6 @@
-# $FreeBSD: src/etc/group,v 1.35 2007/06/11 18:36:39 ceri Exp $
+# $FreeBSD: src/etc/group,v 1.35.6.1 2008/11/25 02:59:29 kensmith Exp $
#
wheel:*:0:root,amagaeru
daemon:*:1:
kmem:*:2:
sys:*:3:
Does this look reasonable (y/n)? y

The following changes, which occurred between FreeBSD 7.0-RELEASE and
FreeBSD 7.1-RELEASE have been merged into /etc/hosts:
--- current version
+++ new version
@@ -1,6 +1,6 @@
-# $FreeBSD: src/etc/hosts,v 1.16 2003/01/28 21:29:23 dbaker Exp $
+# $FreeBSD: src/etc/hosts,v 1.16.30.1 2008/11/25 02:59:29 kensmith Exp $
#
# Host Database
#
# This file should contain the addresses and aliases for local hosts that
# share this file. Replace 'my.domain' below with the domainname of your
Does this look reasonable (y/n)? y

The following changes, which occurred between FreeBSD 7.0-RELEASE and
FreeBSD 7.1-RELEASE have been merged into /etc/inetd.conf:
--- current version
+++ new version
@@ -1,6 +1,6 @@
-# $FreeBSD: src/etc/inetd.conf,v 1.73 2007/07/05 09:46:53 delphij Exp $
+# $FreeBSD: src/etc/inetd.conf,v 1.73.6.1 2008/11/25 02:59:29 kensmith Exp $
#
# Internet server configuration database
#
# Define *both* IPv4 and IPv6 entries for dual-stack support.
# To disable a service, comment it out by prefixing the line with '#'.
Does this look reasonable (y/n)? y

The following changes, which occurred between FreeBSD 7.0-RELEASE and
FreeBSD 7.1-RELEASE have been merged into /etc/manpath.config:
--- current version
+++ new version
@@ -1,6 +1,6 @@
-# $FreeBSD: src/gnu/usr.bin/man/manpath/manpath.config,v 1.25 2004/02/04 22:37:14 des Exp $
+# $FreeBSD: src/gnu/usr.bin/man/manpath/manpath.config,v 1.25.26.1 2008/11/25 02:59:29 kensmith Exp $
#
# This file is read by manpath(1) to configure the mandatory manpath,
# optional manpath and to map each path element to a manpath element.
# The format is:
#
Does this look reasonable (y/n)? y

The following changes, which occurred between FreeBSD 7.0-RELEASE and
FreeBSD 7.1-RELEASE have been merged into /etc/master.passwd:
--- current version
+++ new version
@@ -1,6 +1,6 @@
-# $FreeBSD: src/etc/master.passwd,v 1.40 2005/06/06 20:19:56 brooks Exp $
+# $FreeBSD: src/etc/master.passwd,v 1.40.18.1 2008/11/25 02:59:29 kensmith Exp $
#
root:$1$ANCZd.mX$o/C3/Ah9BlaNMYAFF9LKZ1:0:0::0:0:Charlie &:/root:/bin/csh
toor:*:0:0::0:0:Bourne-again Superuser:/root:
daemon:*:1:1::0:0:Owner of many system processes:/root:/usr/sbin/nologin
operator:*:2:5::0:0:System &:/:/usr/sbin/nologin
Does this look reasonable (y/n)? y

The following changes, which occurred between FreeBSD 7.0-RELEASE and
FreeBSD 7.1-RELEASE have been merged into /etc/passwd:
--- current version
+++ new version
@@ -1,6 +1,6 @@
-# $FreeBSD: src/etc/master.passwd,v 1.40 2005/06/06 20:19:56 brooks Exp $
+# $FreeBSD: src/etc/master.passwd,v 1.40.18.1 2008/11/25 02:59:29 kensmith Exp $
#
root:*:0:0:Charlie &:/root:/bin/csh
toor:*:0:0:Bourne-again Superuser:/root:
daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin
operator:*:2:5:System &:/:/usr/sbin/nologin
Does this look reasonable (y/n)? y

The following changes, which occurred between FreeBSD 7.0-RELEASE and
FreeBSD 7.1-RELEASE have been merged into /etc/portsnap.conf:
--- current version
+++ new version
@@ -1,6 +1,6 @@
-# $FreeBSD: src/etc/portsnap.conf,v 1.3 2006/01/18 03:40:57 cperciva Exp $
+# $FreeBSD: src/etc/portsnap.conf,v 1.3.2.1.2.1 2008/11/25 02:59:29 kensmith Exp $

# Default directory where compressed snapshots are stored.
# WORKDIR=/var/db/portsnap

# Default location of the ports tree (target for "update" and "extract").
@@ -26,7 +26,15 @@
# directives and experience problems, remove them and update your tree
# before asking for help on the mailing lists.
#
# REFUSE arabic chinese french german hebrew hungarian japanese
# REFUSE korean polish portuguese russian ukrainian vietnamese
+<<<<<<< current version
REFUSE arabic chinese french german hebrew hungarian
REFUSE korean polish portuguese russian ukrainian vietnamese
+=======
+
+# List of INDEX files to build and the DESCRIBE file to use for each
+INDEX INDEX-5 DESCRIBE.5
+INDEX INDEX-6 DESCRIBE.6
+INDEX INDEX-7 DESCRIBE.7
+>>>>>>> 7.1-RELEASE
Does this look reasonable (y/n)? y

The following changes, which occurred between FreeBSD 7.0-RELEASE and
FreeBSD 7.1-RELEASE have been merged into /etc/printcap:
--- current version
+++ new version
@@ -1,5 +1,62 @@
+<<<<<<< current version
# This file was automatically generated by cupsd(8) from the
# /usr/local/etc/cups/printers.conf file. All changes to this file
# will be lost.
printer_for_osx|Canon BJF850 upgrade for osx:rm=server.mydomain:rp=printer_for_osx:
raw_windows|Canon BJF850 upgrade:rm=server.mydomain:rp=raw_windows:
+=======
+# @(#)printcap 5.3 (Berkeley) 6/30/90
+# $FreeBSD: src/etc/printcap,v 1.14.26.1 2008/11/25 02:59:29 kensmith Exp $
+
+#
+# This enables a simple local "raw" printer, hooked up to the first
+# parallel port. No kind of filtering is done, so everything you pass
+# to the "lpr" command will be printed unmodified.
+#
+# Remember, for further print queues you're going to add, you have
+# to choose different spool directories (the "sd" capability below),
+# otherwise you will greatly confuse lpd.
+#
+# For some advanced printing, have a look at the "apsfilter" package.
+# It plugs into the lpd system, allowing you to print a variety of
+# different file types by converting everything to PostScript(tm)
+# format. For more information about apsfilter visit
+#
+# http://www.apsfilter.org/
+#
+# If you don't have a PostScript(tm) printer, don't panic, but do
+# also install the latest "ghostscript" package for best printer support.
+#
+# Do also refer to the "printing" section of the handbook.
+#
+# http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing.html
+#
+# A local copy can be found under
+#
+# /usr/share/doc/handbook/handbook.{html,latin1}.
+#
+# Banner pages are now suppressed by default. Remove the :sh: capability
+# to turn them back on.
+#
+#lp|local line printer:¥
+# :sh:¥
+# :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
+#
+# Sample remote printer. The physical printer is on machine "lphost".
+# You can perform any kind of local filtering directly. If you need
+# local filters (e.g. LF -> CR-LF conversion for HP printers), create
+# a filter script that sends the proper escape sequence to the printer
+# and then concatenates stdin to stdout.
+#
+#remote|sample remote printer:¥
+# :sh:¥
+# :rm=lphost:sd=/var/spool/output/lphost:lf=/var/log/lpd-errs:¥
+# :if=/usr/local/libexec/if-script:
+#
+# Simple Russian printer with hardware CP866 character set, output filter
+# used for KOI8-R -> CP866 conversion
+#
+#lp|Russian local line printer:¥
+# :sh:of=/usr/libexec/lpr/ru/koi2alt:¥
+# :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
+>>>>>>> 7.1-RELEASE
Does this look reasonable (y/n)? y

The following changes, which occurred between FreeBSD 7.0-RELEASE and
FreeBSD 7.1-RELEASE have been merged into /etc/sysctl.conf:
--- current version
+++ new version
@@ -1,6 +1,6 @@
-# $FreeBSD: src/etc/sysctl.conf,v 1.8 2003/03/13 18:43:50 mux Exp $
+# $FreeBSD: src/etc/sysctl.conf,v 1.8.30.1 2008/11/25 02:59:29 kensmith Exp $
#
# This file is read when going to multi-user and its contents piped thru
# ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details.
#

Does this look reasonable (y/n)? y

The following changes, which occurred between FreeBSD 7.0-RELEASE and
FreeBSD 7.1-RELEASE have been merged into /etc/ttys:
--- current version
+++ new version
@@ -1,7 +1,7 @@
#
-# $FreeBSD: src/etc/etc.i386/ttys,v 1.11.2.1 2007/11/27 18:40:15 jhb Exp $
+# $FreeBSD: src/etc/etc.i386/ttys,v 1.11.2.1.4.1 2008/11/25 02:59:29 kensmith Exp $
# @(#)ttys 5.1 (Berkeley) 4/17/89
#
# This file specifies various information about terminals on the system.
# It is used by several different programs. Common entries for the
# various columns include:
Does this look reasonable (y/n)? y

The following files are affected by updates, but no changes have
been downloaded because the files have been modified locally:
/.cshrc
/root/.cshrc

The following files will be removed as part of updating to 7.1-RELEASE-p2:
/etc/rc.d/kernel
/usr/include/netgraph/atm/ng_atmpif.h
/usr/sbin/pkg_check
/usr/sbin/pkg_sign
/usr/share/examples/wpa_supplicant/wpa_supplicant.conf
/usr/share/locale/nb_NO.ISO8859-15/LC_TIME
/usr/share/zoneinfo/Asia/Calcutta
/usr/share/zoneinfo/Asia/Saigon

The following files will be added as part of updating to 7.1-RELEASE-p2:
/boot/gptboot
/boot/kernel/cmx.ko
/boot/kernel/cmx.ko.symbols
/boot/kernel/cxgb_t3fw.ko
/boot/kernel/cxgb_t3fw.ko.symbols
/boot/kernel/cyclic.ko
/boot/kernel/cyclic.ko.symbols
/boot/kernel/dpms.ko
/boot/kernel/dpms.ko.symbols
中略

[ctl]+c

# freebsd-update -r 7.1-RELEASE install
Installing updates...
Kernel updates have been installed. Please reboot and run
"/usr/sbin/freebsd-update install" again to finish installing updates.

# reboot

# freebsd-update install
Installing updates... done.

# reboot

# uname -r
7.1-RELEASE

# portsnap fetch update
# portupgrade -a
[Updating the portsdb in /usr/ports ... - 19626 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000.........19000...... ..... done]
通常のアップグレードなのか?
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! textproc/intltool (intltool-0.37.1) (unknown build error)
! sysutils/policykit (policykit-0.9_1) (configure error)
* sysutils/consolekit (consolekit-0.2.10_3)
* sysutils/hal (hal-0.5.11_1)
! x11-themes/gtk-engines2 (gtk-engines2-2.14.3) (install error)
! x11-toolkits/vte (vte-0.16.14_1) (configure error)
! devel/gconf2 (gconf2-2.22.0_1) (configure error)
* devel/gnome-vfs (gnome-vfs-2.22.0_2)
! x11-toolkits/gtkmm24 (gtkmm-2.12.7_1) (configure error)
* devel/libgsf (libgsf-1.14.8_2)
* www/webkit-gtk2 (webkit-gtk2-0.0.30549_1)
* graphics/librsvg2 (librsvg2-2.22.3)
* security/gnome-keyring (gnome-keyring-2.22.3_1)
* graphics/gimp-app (gimp-app-2.6.3,1)
* graphics/gimp (gimp-2.6.3,2)

しばらく放置。

☆参考文献
FreeBSD 7.0 へようこそ» 第3回 freebsd-updateで楽々リリースサーフィン
| jptreefrog | FreeBSD7.0 | 21:22 | comments(0) | trackbacks(0) | - | - |
freebsd-updateでアップデート7.0-RELEASE-p9
いつの間にかRELEASE-p9になっていた。

# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata signature for 7.0-RELEASE from update1.FreeBSD.org... done.
Fetching metadata index... done.
Fetching 2 metadata patches.. done.
Applying metadata patches... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 17 patches.....10... done.
Applying patches... done.

The following files will be updated as part of updating to 7.0-RELEASE-p9:
/boot/kernel/kernel
/boot/kernel/kernel.symbols
/usr/bin/dig
/usr/bin/host
/usr/bin/nslookup
/usr/bin/nsupdate
/usr/bin/openssl
/usr/lib/libssl.a
/usr/lib/libssl.so.5
/usr/libexec/ftpd
/usr/libexec/lukemftpd
/usr/sbin/dnssec-keygen
/usr/sbin/dnssec-signzone
/usr/sbin/lwresd
/usr/sbin/named
/usr/sbin/named-checkconf
/usr/sbin/named-checkzone
/usr/sbin/named-compilezone
/usr/sbin/rndc-confgen
# freebsd-update install
Installing updates... done.
# reboot
# uname -r
7.0-RELEASE-p7
# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata signature for 7.0-RELEASE from update2.FreeBSD.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 7.0-RELEASE-p9.

ということで次に進む。
| jptreefrog | FreeBSD7.0 | 12:54 | comments(0) | trackbacks(0) | - | - |
portupgrade x11-drivers/xf86-video-radeonhd こける
アップデートが失敗する事はたまにある。
今回はこれ。

# portupgrade x11-drivers/xf86-video-radeonhd
---> Upgrading 'xf86-video-radeonhd-1.2.1_2' to 'xf86-video-radeonhd-1.2.4' (x11-drivers/xf86-video-radeonhd)
---> Building '/usr/ports/x11-drivers/xf86-video-radeonhd'
===> Cleaning for xf86-video-radeonhd-1.2.4
===> Vulnerability check disabled, database not found
===> Found saved configuration for xf86-video-radeonhd-1.2.1_2
=> xf86-video-radeonhd-1.2.4.tar.bz2 is not in /usr/ports/x11-drivers/xf86-video-radeonhd/distinfo.
=> Either /usr/ports/x11-drivers/xf86-video-radeonhd/distinfo is out of date, or
=> xf86-video-radeonhd-1.2.4.tar.bz2 is spelled incorrectly.
*** Error code 1

Stop in /usr/ports/x11-drivers/xf86-video-radeonhd.
*** Error code 1

Stop in /usr/ports/x11-drivers/xf86-video-radeonhd.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.31599.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=xf86-video-radeonhd-1.2.1_2 UPGRADE_PORT_VER=1.2.1_2 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! x11-drivers/xf86-video-radeonhd (xf86-video-radeonhd-1.2.1_2) (distinfo incorrect)
| jptreefrog | FreeBSD7.0 | 19:21 | comments(0) | trackbacks(0) | - | - |
freebsd7.0-RELEASE-p6 onBoad RAIDたまに起動せず。
# dmesg | more
省略
ad4: 38166MB at ata2-master UDMA100
ad6: 38166MB at ata3-master UDMA100
ar0: 38166MB status: READY
ar0: disk0 READY (master) using ad4 at ata2-master
ar0: disk1 READY (mirror) using ad6 at ata3-master
Trying to mount root from ufs:/dev/ar0s1a
WARNING: / was not properly dismounted
WARNING: /tmp was not properly dismounted
/tmp: mount pending error: blocks 16 files 6
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
/var: mount pending error: blocks 68 files 21

マウント出来ない様子。途中で起動が失敗して止まってしまう。
再起動ボタンで起動し直してtelnetログインできた。
HDDの交換時期が近いのだろうか?

翌日起動したときは上記と同じメッセージだった。再起動すると以下の
メッセージがでた。
$ dmesg | more
ad4: 38166MB at ata2-master UDMA100
ad6: 38166MB at ata3-master UDMA100
ar0: 38166MB status: READY
ar0: disk0 READY (master) using ad4 at ata2-master
ar0: disk1 READY (mirror) using ad6 at ata3-master
Trying to mount root from ufs:/dev/ar0s1a

RAIDのLight biosではHDDに異常が発生しているメッセージはなかった。
これからどうなるのか。。。。

翌々日も一発目は起動しなかった。
$ dmesg | more
hptrr: no controller detected.
acd0: CDRW at ata0-slave UDMA33
ad4: 38166MB at ata2-master UDMA100
ad6: 38166MB at ata3-master UDMA100
ar0: 38166MB status: READY
ar0: disk0 READY (master) using ad4 at ata2-master
ar0: disk1 READY (mirror) using ad6 at ata3-master
Trying to mount root from ufs:/dev/ar0s1a
WARNING: / was not properly dismounted
WARNING: /tmp was not properly dismounted
/tmp: mount pending error: blocks 16 files 6
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
/var: mount pending error: blocks 68 files 21
| jptreefrog | FreeBSD7.0 | 09:50 | comments(0) | trackbacks(0) | - | - |
timidity++-gtkインストール
日本語サポートバージョンもある様だが、xfceを使っているしということでgtkを使う。
# portinstall audio/timidity++-gtk
| jptreefrog | FreeBSD7.0 | 17:50 | comments(0) | trackbacks(0) | - | - |
Gimpインストール
10:51
# portinstall graphics/gimp

11:06
Options for x264 0.0.20080409_2
[ ] DEBUG Enable Debugging
[ ] OPTIMIZED_CFLAGS Enable Optimized CFLAGS
[ ] GPAC Enable MPEG-4 Output
[ ] X11_OUTPUT Enable X11 Output

OK

Options for icu 3.8.1_1
[X] THREADS Build thread-safe version of the library

OK

12:26ダイアログが出ていたのを発見
Options for curl 7.18.0
[ ] CARES Asynchronous DNS resolution via c-ares
[ ] CURL_DEBUG Enable curl diagnostic output
[ ] GNUTLS Use GNU TLS if OPENSSL is OFF
[ ] IPV6 IPv6 support
[ ] KERBEROS4 Kerberos 4 authentication
[ ] LDAP LDAP support
[ ] LDAPS LDAPS support (requires LDAP and SSL)
[ ] LIBIDN Internationalized Domain Names via libidn
[ ] LIBSSH2 SCP/SFTP support via libssh2
[ ] NTLM NTLM authentication
[ ] OPENSSL OpenSSL support

OK

12:31
Options for ilmbase 1.0.1_1
[X] THREAD Enable multithreaded file I/O support

OK

外出につき次のダイアログが出た時間はわかりません。
15:33(?)
Options for samba-libsmbclient 3.0.32_2
[ ] ADS With Active Directory support
[ ] ADDNS Build the libaddns shared library
[ ] SHAREMODES Build the libsharemodes shared library

OK

Options for ffmpeg 2008.07.27_7
[ ] AMR_NB AMR narrowband encoder
[ ] AMR_WB AMR wideband encoder
[ ] FAAC FAAC mp4/aac audio encoder
[ ] FAAD FAAD mp4/aac audio decoder
[ ] GSM gsm audio codec
[ ] IPV6 IPV6 network support
[ ] LAME lame MP3 codec
[X] LIBA52 liba52 support
[ ] OPTIMIZED_CFLAGS Additional optimizations
[ ] SDL SDL support (build ffplay)
[X] THEORA libtheora support (implies OGG)
[X] VORBIS libvorbisenc support (implies OGG)
[X] X264 X.264 codec
[ ] XVID XVID codec

OK

16:48
Options for libmng 1.0.10
[ ] MNG_OPTIMIZE Use vendor's new optimization flags

OK

16:20
Options for gnome-vfs 2.22.0_2
[X] SAMBA Enable SMB volume support
[ ] MDNS Enable Bonjour/Rendezvous support

OK

16:32
Options for sdl 1.2.13_2,2
[X] AALIB ASCII art support
[ ] ARTS ARts sound system support
[ ] ESD Enlightenment sound system support
[X] GGI General Graphics Interface support
[ ] NAS Network Audio System support
[X] OPENGL OpenGL 2D/3D graphics support
[X] OSS Open Sound System support
[ ] PULSEAUDIO PulseAudio sound system support
[X] SVGALIB SVGA graphics support (i386 only)
[X] VGL Video Graphics Lib support
[X] XLIB XLib (xorg) graphics support

OK

またまた気づいた時間。
18:29
Options for gutenprint 5.1.7_1
[X] CUPS GutenPrint (gimp-print) Cups Drivers
[ ] IJS IJS GhostScript Drivers
[ ] FOOMATIC Foomatic data files

OK

22:07
Options for gimp-app 2.6.3,1
[ ] DEBUG debugging
[X] DBUS D-BUS support
[X] GNOMEVFS Use GNOME VFS for the URI plug-in
[X] HELPBROWSER internal help browser
[ ]MP multiple processor support
[X] RSVG SVG format support

OK

朝になってました。ダイアログはいつ出たか不明。
Options for gimp 2.6.3,2
[ ] PYTHON Python-fu support
[X] PRINT Gutenprint (gimp-print) plugin
[ ] HELP Install Gimp-Help (50+MB distfile)

OK

fontmatrixで編集しようとするとVNCが落ちるようになった。。。。
| jptreefrog | FreeBSD7.0 | 10:50 | comments(0) | trackbacks(0) | - | - |
フォントの追加
音楽記号のフォントを追加したい。
第1の方法:

SimplytheBest Fonts musical symbols font music symbols dingbat
からMusical Symbols fontをダウンロード。
ファイル名を小文字に直しておくき次のパスへ格納しておく。

/usr/local/share/fonts/TrueType/musical.ttf


$ cat /usr/local/etc/X11/xorg.conf | grep Load
Load "dbe" # Double buffer extension
# Load "type1"
Load "freetype"
# Load "xtt"
# Load "glx"
# Load "dri"

Freetypeがデフォルトで有効になっている。

$ cat /usr/local/etc/X11/xorg.conf | grep FontPath
# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/OTF"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
FontPath "/usr/local/lib/X11/fonts/local/"
# FontPath "/usr/local/lib/X11/fonts/Speedo/"
# FontPath "/usr/local/lib/X11/fonts/TrueType/"
# FontPath "/usr/local/lib/X11/fonts/freefont/"


# ln -s /usr/local/share/fonts/TrueType/musical.ttf /usr/local/lib/X11/fonts/TrueType/musical.ttf

再起動後VNCで接続してInkscapeを起動するとフォントが出ていました。
使えます。TrueTypeフォントはディレクトリに放り込むだけで使えるのか!
しかもxorg.confでFontPathのコメントを外さなくてもInkscapeでは使える!
Xfceの設定にも出てくる。

個々のアプリケーションにフォントを使う機能があるのかな?

問題のでない間はこのまま使用する。



次の方法:
fontmatrixはGUIのフォント管理ソフト。これをインストール。
# portinstall x11-fonts/fontmatrix/

Options for sqlite3 3.6.4
[ ] DEBUG Enable debugging & verbose explain
[ ] FTS3 Enable FTS3 (Full Text Search) module
[ ] RAMTABLE Store temporary tables in RAM
[ ] TCLWRAPPER TCL wrapper for SQLITE
[X] METADATA Enable column metadata
[X] THREADS Enable threads support

OK

Options for qt4-gui 4.4.1_1
[X] CUPS Enable printing support (requires CUPS)
[X] NAS Enable sound support (requires NAS)

OK
15:00
5時間経過中

Options for fontmatrix 0.4.2_1
[X] FONTFORGE With FontForge editor

OK

8時間後終了。

フォントディレクトリ
$ more /usr/local/etc/fonts/fonts.conf
<!-- Font directory list -->
<dir>/usr/local/lib/X11/fonts</dir>
<dir>~/.fonts</dir>
中略
<!--
Load local system customization file
-->
<include ignore_missing="yes">conf.d</include>

<!-- Font cache directory list -->

<cachedir>/var/db/fontconfig</cachedir>
<cachedir>~/.fontconfig</cachedir>

<config>


$ more ~/.fonts.conf
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<dir>/home/tokinori/.fontmatrix</dir>
</fontconfig>

しかしfontmatrixのメニュー[File]-[import]で.fontmatrixディレクトリは選択できない。

musical.ttfはfontmatrixではトウフで表示されている。fontmatrixでフォントを追加してみる。
# rm /usr/local/lib/x11/fonts/TrueType/musical.ttf
# mv /usr/local/share/fonts/TrueType/musical.ttf ~/fonts/musical.ttf

fontmatrixを起動し[File]-[import]で~/fontsディレクトリを選択し、追加。
[Edit]-[activate all current]
[File]-[save]して設定を保存。

$ sudo reboot

Fontmatrixでは相変わらずトウフ。
XfceでもInkscapeでも表示されなくなった。

ここまでやって結局
$ mkdir ~/.fonts
この中にフォントを入れるだけで使えることがわかった。



fontmatrix要らない。
次のリンクに依存関係を調べるコマンドがまとめられていた。
[neko::blog: Portupgrade]


  • pkg_glob -r
    -r (--recursive) : の依存関係を調べて表示する

  • pkg_glob -R
    -R (--upward-recursive) を必要としている他のPortsを表示する。

  • pkg_glob -a
    -U (--updateindex) :インストールされているを表示。




# pkg_glob -R fontmatrix
libXdamage-1.1.1
libXinerama-1.0.2,1
libXres-1.0.3_3
jpeg-6b_7
xf86dgaproto-2.0.3
renderproto-0.9.3
pcre-7.8
libXdmcp-1.0.2_1
libXv-1.0.3_1,1
recordproto-1.13.2
fixesproto-4.0
xineramaproto-1.1.2
glib-2.16.5_1
xtrans-1.0.4
libX11-1.1.3_1,1
libXi-1.1.3,1
libXmu-1.0.3,1
expat-2.0.1
scrnsaverproto-1.1.0
libXt-1.0.5_1
qt4-corelib-4.4.1
libdmx-1.0.2_1
png-1.2.33
pkg-config-0.23_1
libungif-4.1.4_5
hicolor-icon-theme-0.10_2
qt4-gui-4.4.1_1
libxml2-2.6.32_2
freetype2-2.3.7
libXevie-1.0.2
libxkbui-1.0.2_1
randrproto-1.2.1
libXScrnSaver-1.1.2
compositeproto-0.4
xf86vidmodeproto-2.2.2
fontcacheproto-0.1.2
libXaw-1.0.4_1,1
libXp-1.0.0,1
libXau-1.0.3_2
xf86miscproto-0.9.2
libXvMC-1.0.4_1
qt4-svg-4.4.1
libiconv-1.11_1
libFS-1.0.0_1
libXfontcache-1.0.4
libXext-1.0.3,1
libSM-1.0.3_1,1
libfontenc-1.0.4
libXft-2.1.13
fontconfig-2.5.0,1
libXxf86misc-1.0.1
videoproto-2.2.2
nas-1.9.1_2
libXxf86vm-1.0.1
libXxf86dga-1.0.2
printproto-1.0.3
liboldX-1.0.1
libXprintAppUtil-1.0.1
libXrender-0.9.4_1
libXcursor-1.1.9_1
fontsproto-2.0.2
libXfont-1.3.1_3,1
damageproto-1.1.0_2
libXprintUtil-1.0.1
python25-2.5.2_3
libXTrap-1.0.0
libuninameslist-20060907
libspiro-20071029
fontforge-20080927
kbproto-1.0.3
libXfixes-4.0.3_1
qt4-network-4.4.1
libXcomposite-0.4.0,1
libXrandr-1.2.2_1
trapproto-3.4.3
inputproto-1.4.2.1
libXpm-3.5.7
libXtst-1.0.3_1
libICE-1.0.4_1,1
xextproto-7.0.2
libxkbfile-1.0.4
tiff-3.8.2_2
xproto-7.0.10_1
perl-5.8.8_1
gettext-0.17_1
xorg-libraries-7.3_2
dmxproto-2.2.2
pixman-0.10.0_2
fontmatrix-0.4.2_1

アンインストール大変そう。。。。。。
しばらく放置。

☆参考文献
| jptreefrog | FreeBSD7.0 | 09:37 | comments(0) | trackbacks(0) | - | - |
ktermインストール
日本語を表示出来る端末エミューレータをインストール。

# portinstall japanese/kterm

Options for ja-kterm 6.2.0_10
[ ] XAW3DLIB with Xaw3d scrollbar
[ ] NEXTAWLIB with neXtaw scrollbar
[ ] TEKTRONIXEMU Tektronix emulation
[ ] VGAFONT install VGA font

OK

===> SECURITY REPORT:
This port has installed the following binaries which execute with
increased privileges.
/usr/local/bin/kterm

If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type 'make deinstall'
to deinstall the port if this is a concern.
===> Cleaning for ja-kterm-6.2.0_10

起動するときは
$ /usr/local/bin/kterm -km euc

| jptreefrog | FreeBSD7.0 | 09:34 | comments(0) | trackbacks(0) | - | - |
Inkscapeインストール
以前osXに入れていたのを使ってみたら良い感じ。しかしマシンのスペックの低さのためか起動にとても時間がかかるし、スクロールしたときの描画がついてこれない。サーバーの方がスペックあるだろうしということで入れておく。

# portinstall /usr/ports/graphics/inkscape/

Options for boost 1.34.1
[ ] VERBOSE_BUILD Show compiler messages
[ ] DEBUG Build debugging symbols
[X] THREADS Thread support
[ ] ICU Boost.Regex with ICU unicode support
[ ] OPTIMIZED_CFLAGS Enable -O3 optimization

OK

Options for jasper 1.900.1_6
[X] OPENGL OpenGL support

OK

Options for ImageMagick 6.4.5.5
[X] X11 X11 support
[X] IMAGEMAGICK_TESTS Run bundled self-tests after build
[ ] IMAGEMAGICK_OPENMP OpenMP for SMP (needs threads)
[X] IMAGEMAGICK_PERL Perl support
[ ] IMAGEMAGICK_MODULES Modules support (broken)
[X] IMAGEMAGICK_BZLIB Bzlib support
[X] IMAGEMAGICK_16BIT_PIXEL 16bit pixel support
[ ] IMAGEMAGICK_DJVU DJVU format support (needs threads)
[X] IMAGEMAGICK_LCMS LCMS support
[ ] IMAGEMAGICK_HDRI High Dynamic Range Images (HDRI)
[X] IMAGEMAGICK_TTF Freetype support
[X] IMAGEMAGICK_FONTCONFIG Fontconfig support
[X] IMAGEMAGICK_JPEG JPG format support
[ ] IMAGEMAGICK_OPENEXR OpenEXR support (needs threads)
[X] IMAGEMAGICK_PNG PNG format support
[X] IMAGEMAGICK_TIFF TIFF format support
[X] IMAGEMAGICK_FPX FPX format support
[X] IMAGEMAGICK_JBIG JBIG format support
[X] IMAGEMAGICK_JPEG2000 JPEG2000 format support
[ ] IMAGEMAGICK_DOT GraphViz dot graphs support
[ ] IMAGEMAGICK_WMF WMF format support
[X] IMAGEMAGICK_SVG SVG format support
[X] IMAGEMAGICK_PDF PDF format support
[ ] IMAGEMAGICK_GSLIB libgs (Postscript SHLIB) support

OK

Options for inkscape 0.46_3
[X] POPPLER Enable libpoppler-cairo for rendering PDF preview

OK

数時間は余裕でかかりました。。。。。。



☆参考文献
| jptreefrog | FreeBSD7.0 | 10:10 | comments(0) | trackbacks(0) | - | - |
日本語入力uim-anthy
Xfceのメニューを日本語したのでその編集のために日本語入力が必要となった。そのため導入。

# portinstall japanese/uim-anthy
# portinstall /usr/ports/textproc/uim-gtk

VNCから使っているので以下のファイルを設定する。

$ vi ~/.vnc/xstartup
以下の様に追記。
#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
export LANG=ja_jp.eucJP
uim-xim &
uim-toolbar-gtk &
export XMODIFIERS="@im=uim"
export GTK_IM_MODULE=uim

startxfce4 &

# reboot

トグルは
[shift + space]


☆参考文献
| jptreefrog | FreeBSD7.0 | 11:12 | comments(0) | trackbacks(0) | - | - |
 123456
78910111213
14151617181920
21222324252627
28293031   
<< January 2018 >>
+ RECOMMEND
+ RECOMMEND
FreeBSDコマンドブック ビギナーズ
FreeBSDコマンドブック ビギナーズ (JUGEMレビュー »)
小野 斉大, 前田 雄一郎, 田谷 文彦, 細川 達己
+ RECOMMEND
+ RECOMMEND
+ RECOMMEND
SHARP ザウルス SL-C3100
SHARP ザウルス SL-C3100 (JUGEMレビュー »)

元々のdistribution以外のものを入れて楽しめる携帯PC。
760で随分遊びました。
+ RECOMMEND
改訂版 FreeBSD徹底入門
改訂版 FreeBSD徹底入門 (JUGEMレビュー »)
衛藤 敏寿, のだ まさひで, 細川 達己, 内川 喜章, 天川 修平, 三田 吉郎, ゆっぴぃ
あっわかりやすい!と言う印象。プリンタ設定は流行のcupsではありません。
+ RECOMMEND
FreeBSDビギナーズバイブル (MYCOM UNIX Books)
FreeBSDビギナーズバイブル (MYCOM UNIX Books) (JUGEMレビュー »)
後藤 大地
ググって探せるからといっても専門書は必要です。これみてやる方が速い!
+ RECOMMEND
+ SELECTED ENTRIES
+ RECENT COMMENTS
+ CATEGORIES
+ ARCHIVES
+ MOBILE
qrcode
+ LINKS
+ PROFILE