トップ «前の日記(2008-02-15) 最新 次の日記(2008-02-17)» 編集

Pyon's Diary

[はてなブックマーク登録数] [Google に登録] [RSS フィード] Gourmet Hardware Programming Society Software
成る可くJIS X 0213:2004對應MSフォント(5.0)、IPAフォント(003.02)で御覽下さい

2008-02-16 舊 平成廿年戊子睦月拾日丙戌 (土・晴) [長年日記]

[節] 父の退院を地藏さんに報告した。

後は視力の恢復すれば終はり。

Tags: None | del.icio.usに追加 | はてなブックマークに追加 | livedoor クリップに追加 | Yahoo! ブックマークに追加 | Google ブックマークに追加 | Permalink

[節] MP4 の擴張子。

MP4 の擴張子は .mp4 とか .m4v とか有つて何がどう違ふのか全く判ら無かつた。

其れで Google に訊ねて見たら以下の頁を教へて呉れた。

此乃頁に據ると、

  • .mp4 -- 公式の擴張子。
  • .m4v -- Apple に據つて擴められた「間違つた」擴張子で映像及び音聲を含む MP4 に對するもの。
  • .m4a -- Apple に據つて擴められた「間違つた」擴張して音聲のみを含む MP4 に對するもの。

.m4v, .m4a は共に .mp4 に變へても大丈夫らしいが、然うして仕舞ふと iPodiTunes では認識し無かつた。

Tags: Software | del.icio.usに追加 | はてなブックマークに追加 | livedoor クリップに追加 | Yahoo! ブックマークに追加 | Google ブックマークに追加 | Permalink

[節] 疑似個人情報。

面白い記事が在つた。

斯樣な事を商賣にして仕舞ふ事が凄いなあ。

斯樣な發想が出來る頭が欲しい。

上の頁から購入出來る模樣。

見本のデータ(PDF)を眺めて見たけど以下にも本物つぽい。仕事でも使へさう。

Tags: Programming | del.icio.usに追加 | はてなブックマークに追加 | livedoor クリップに追加 | Yahoo! ブックマークに追加 | Google ブックマークに追加 | Permalink

[節] Debian (ArmEabiPort, KURO-BOX/PRO) で udev を有効にした。

ハードウェア・クロックを取得出來無かつた。

(kuro)# hwclock --show
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
(kuro)# hwclock --show --debug
hwclock from util-linux-ng 2.13.1-rc2
hwclock: Open of /dev/rtc failed, errno=2: No such file or directory.
No usable clock interface found.
Cannot access the Hardware Clock via any known method.

/dev 下を覗いてみた所 /dev/rtc は存在してゐた。

理由は好く判ら無いがキチンと働いてゐ無い樣だ。其れだつたら udev に換へれば起動時に /dev 下を動的に作るのだから讀出せる樣に成るかもと思ひ、入れてみた。

(kuro)# apt-get install udev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libvolume-id0
The following NEW packages will be installed:
  libvolume-id0 udev
0 upgraded, 2 newly installed, 0 to remove and 37 not upgraded.
Need to get 355kB of archives.
After unpacking 1110kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ftp.debian-ports.org unstable/main libvolume-id0 0.114-2 [71.7kB]
Get:2 http://ftp.debian-ports.org unstable/main udev 0.114-2 [284kB]
Fetched 355kB in 7s (50.7kB/s)
Preconfiguring packages ...
Selecting previously deselected package libvolume-id0.
(Reading database ... 16509 files and directories currently installed.)
Unpacking libvolume-id0 (from .../libvolume-id0_0.114-2_armel.deb) ...
Selecting previously deselected package udev.
Unpacking udev (from .../udev_0.114-2_armel.deb) ...
Setting up libvolume-id0 (0.114-2) ...
sed: can't read /etc/udev/rules.d/z25_persistent-net.rules: No such file or directory
Populating the new /dev filesystem temporarily mounted on /tmp/udev.UqbKaA/...
rmdir: /tmp/udev.UqbKaA: Directory not empty
WARNING: /tmp/udev.UqbKaA is not empty!
/tmp/udev.UqbKaA:
total 12
drwxr-xr-x 3 root root 4096 Feb 17 00:49 .
drwxrwxrwt 3 root root 4096 Feb 17 00:49 ..
drwxr-xr-x 3 root root 4096 Feb 17 00:49 .udev

/tmp/udev.UqbKaA/.udev:
total 12
drwxr-xr-x 3 root root 4096 Feb 17 00:49 .
drwxr-xr-x 3 root root 4096 Feb 17 00:49 ..
drwxr-xr-x 2 root root 4096 Feb 17 00:49 rules.d

/tmp/udev.UqbKaA/.udev/rules.d:
total 8
drwxr-xr-x 2 root root 4096 Feb 17 00:49 .
drwxr-xr-x 3 root root 4096 Feb 17 00:49 ..
Restarting system log daemon....

警告が出てゐたがさらりと無視して再起動した。

するとパーティションの直近のマウント時刻が未来だと警告が出て fsck が始まつた。

Checking root file system...fsck 1.40.3 (05-Dec-2007)
/dev/sda6: Superblock last mount time is in the future.  FIXED.
/dev/sda6 has gone 49710 days without being checked, check forced.
/dev/sda6: |========================================================| 100.0%
/dev/sda6: ***** REBOOT LINUX *****
/dev/sda6: 19047/2627520 files (1.3% non-contiguous), 156819/5245214 blocks
fsck died with exit status 3
failed (code 3).
* The file system check corrected errors on the root partition
but requested that the system be restarted.
* The system will be restarted in 5 seconds.
sd 0:0:0:0: [sda] Synchronizing SCSI cache
Restarting system.

fsck がエラーで終はると勝手に再起動して今度は /dev/sda7 のfsck が始まつた。其れが終はると亦勝手に再起動した。

其乃後無事起動してハードウェア・クロックが讀出せる樣に成つた。

(kuro)# hwclock --show
Sun Feb 17 01:53:16 2008  -0.162834 seconds

デバッグモードで讀出すと以下の樣に成つた。

(kuro)# hwclock --show --debug
hwclock from util-linux-ng 2.13.1-rc2
Using /dev interface to clock.
Last drift adjustment done at 1203177122 seconds after 1969
Last calibration done at 1203177122 seconds after 1969
Hardware clock is on local time
Assuming hardware clock is kept in local time.
Waiting for clock tick...
/dev/rtc0 does not have interrupt functions. Waiting in loop for time from /dev/rtc0 to change
...got clock tick
Time read from Hardware Clock: 2008/02/17 01:53:29
Hw clock time : 2008/02/17 01:53:29 = 1203180809 seconds since 1969
Sun Feb 17 01:53:29 2008  -0.722679 seconds

起動時に出てゐて氣に成つてゐたメッセージ、

Setting the system clock.
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.

も出力され無く成り、代はりに以下の樣に出力される樣に成つた。

rtc-rs5c372 0-0032: setting system clock to 2008-02-17 01:59:18 UTC (1203213558)

(中略)
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...done.
Setting the system clock.

此で問題(見逃してゐたのだが)が一つ減つた。

Tags: Debian | del.icio.usに追加 | はてなブックマークに追加 | livedoor クリップに追加 | Yahoo! ブックマークに追加 | Google ブックマークに追加 | Permalink
本日のツッコミ(全1件) [ツッコミを入れる]
[ツ] 通りすがり (2009-05-26 01:12)

貴重な情報ありがとうございます。<br><br>大変参考になりました。

[]

© pyon