Showing posts with label debian. Show all posts
Showing posts with label debian. Show all posts

Tuesday, December 30, 2008

cdc acm(FOMA対応) on Linux

cdc acm(FOMA対応)を試してみました。 Linux 2.6.28でもcdc-acm自体はv0.26のままなのでcdc-acm-v026.zipがそのまま使えました。すばらし。 ちなみに端末は N906i です。
これで実家かえっても なんとかIP reachableにできそう。

以下、こんなかんじという記録
usb 4-1: new full speed USB device using uhci_hcd and address 7
usb 4-1: configuration #1 chosen from 1 choice
usb 4-1: New USB device found, idVendor=0409, idProduct=0234
usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 4-1: Product: FOMA N906i
usb 4-1: Manufacturer: NEC
usb 4-1: SerialNumber: nnnnnnnnnnnn
cdc_acm 4-1:1.0: CDC Header  1.10
cdc_acm 4-1:1.0: ttyACM0: USB ACM device
this device is FOMA Mobile Phone
cdc_acm 4-1:1.2: CDC Header  1.10
cdc_acm 4-1:1.4: CDC Header  1.10
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
pppconfigで適当に設定するとこんなかんじ
pppd 2.4.4 started by root, uid 0
abort on (BUSY)
abort on (NO CARRIER)
abort on (VOICE)
abort on (NO DIALTONE)
abort on (NO DIAL TONE)
abort on (NO ANSWER)
abort on (DELAYED)
send (ATZ^M)
expect (OK)
ATZ^M^M
OK
 -- got it
send (ATDT0570-00-1616^M)
expect (CONNECT)
^M
ATDT0570-00-1616^M^M
CONNECT
 -- got it
send (\d)
Serial connection established.
using channel 1
Using interface ppp0
Connect: ppp0 <--> /dev/ttyACM0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x9c9d1e90> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <mru 1524> <auth chap MD5> <endpoint [MAC:00:c0:7b:8c:bb:a1]>]
sent [LCP ConfNak id=0x1 <auth pap>]
rcvd [LCP ConfRej id=0x1 <pcomp> <accomp>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x9c9d1e90>]
rcvd [LCP ConfReq id=0x2 <mru 1524> <auth pap> <endpoint [MAC:00:c0:7b:8c:bb:a1]>]
sent [LCP ConfAck id=0x2 <mru 1524> <auth pap> <endpoint [MAC:00:c0:7b:8c:bb:a1]>]
rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <magic 0x9c9d1e90>]
sent [LCP EchoReq id=0x0 magic=0x9c9d1e90]
sent [PAP AuthReq id=0x1 user="xxxx" password=<hidden>]
rcvd [LCP EchoRep id=0x0 magic=0x0]
rcvd [PAP AuthAck id=0x1 ""]
PAP authentication succeeded
PPP BSD Compression module registered
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 210.132.186.1>]
sent [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 210.132.186.1>]
PPP Deflate Compression module registered
rcvd [LCP ProtRej id=0x3 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
rcvd [IPCP ConfNak id=0x1 <addr 210.132.186.12> <ms-dns1 202.238.95.24> <ms-dns3 202.238.95.26>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 210.132.186.12> <ms-dns1 202.238.95.24> <ms-dns3 202.238.95.26>]
rcvd [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 210.132.186.12> <ms-dns1 202.238.95.24> <ms-dns3 202.238.95.26>]
local  IP address 210.132.186.12
remote IP address 210.132.186.1
primary   DNS address 202.238.95.24
secondary DNS address 202.238.95.26
Script /etc/ppp/ip-up started (pid 5903)
Script /etc/ppp/ip-up finished (pid 5903), status = 0x0

追記 (2009/01/01 22:59): なんか openする時に Input/output error (EIO)になることがおおいな。さしなおして何度もやりなおしているとうまくいくことがあるが…

Linux 2.6.28 on VAIO Type Z

Linux 2.6.28がでていたのでupgradeしてみた。
まだdebパッケージがないので自分でビルド
改善したと気付いたところ

Sunday, December 21, 2008

VAIO Type Z (VGN-Z90S)

自宅のメインノートが長らくLet's note CF-Y2だったのだが、なんか熱がでてthrottleしまくりで遅くて使いものにならなくなってきたので、新しいノートを購入。
大きさ、重さ、画面の広さなどからVAIO Type Zにした。オーナーメードで次のような構成に。
  • VGN-Z90S - Windows Vista Home premium - どうせDebianにしちゃうので無しを選択できるようにしてほしい
  • CPU: Core 2 Duo P9500
  • memory: 4G
  • disk: SSD 64G (128G*2 RAIDも64G*2 RAIDも、もうなかった)
  • display: 1600x900
  • DVD super multi drive
  • Web camera
  • 日本語KB - US配列で使う
  • 大容量バッテリ
というかんじで 12月14日に新宿ヨドバシで購入で 273,800円。ヨドバシもオーナーメード店だからというのでいったのだが、そこで単にそこで申し込めるというだけでwebから購入するのと対してかわらないかんじだった。
納期は12月下旬なので、最悪12月31日 とか言われたけど、12月19日の朝に配送されてきた。 しかし、「ご注文いただいた商品: ワイヤレスLAN IEEE 802.11abgn /Z 他」とかになっているのは いかがなものか。
早速 Debianをインストール。
まず、jigdoで testing snapshotなisoimageを作成。
% jigdo-lite http://hanzubon.jp/debian-cd/daily/unstable/amd64/jigdo-cd/debian-testing-amd64-businesscard.jigdo
Debian mirrorをきいてくるので適当なmirror siteを指定すると、ダウンロードしてきてisoimageを作成してくれる。
debian-testing-amd64-businesscard.isoというファイルが作られるのでこれをCD-Rに書きこみ。
%  sudo nice --18 wodim -eject -v speed=2 dev=/dev/sr0 \
  -data -pad debian-testing-amd64-businesscard.iso
で、CD-RをVAIOのDVD driveにつっこんで起動。
せっかくなので grpahical installerをためしてみた。

とくにトラブルことなくインストール終了。 ちょっとはまったところは
  • Xが1024x768しかでなかった。よく見るとvesaドライバーになっているのが原因だった。intelドライバーとかにすればOK
  • flashはdeb http://www.debian-multimedia.org/ experimental mainからapt-get install flashplayer-mozillaしろ とのこと

Saturday, March 15, 2008

Debian勉強会 @ Google Japan オフィス

今日はGoogle Japanオフィスで Debian勉強会でした。 今回は Open Source Conferenceの報告をさっとしたあと、データファイルのDebianパッケージングとライセンスの話などなど。cdbsは確かに便利だが、dpkg-debで作る方法、debian packaging policyにあわせるためのもろもろの処理を楽にするために debhelper、rulesファイルを簡単にするために cdbsという流れで説明したほうがいいんじゃないかと思ったり。 宴会はマークシティの近くの庵GuRi5566で宴会。日本人は問題が設定されたらそれを解決するのは得意な人はたくさんいるが解くべき問題をさがしだすのが得意な人がすくないのではないか とか、CとかC++は最近のLLに比べるとややこしいがそういったコンピューターの実行の詳細を理解して使いこなせることができない人はちゃんとプログラミングできているとは言えないんではとか、プログラミング言語によって密度(ソースコードの字面あたりのコードで表したい本質)が違うなあ(Javaはかなり密度が薄いかんじ、Perlは密度濃くできるけどそうするとメンテできなくなりそう)とか
大きな地図で見る

Saturday, February 16, 2008

snapshot.debian.net diskいれかえ

750GB がそろそろ一杯になってきたのでいれかえ。今回は11/18-2/16分。
hdb: ST3750640A, ATA DISK drive
hdc: ST3750640A, ATA DISK drive
hdb: attached ide-disk driver.
hdb: host protected area => 1
hdb: 1465149168 sectors (750156 MB) w/16384KiB Cache, CHS=91201/255/63, UDMA(66)
hdc: attached ide-disk driver.
hdc: host protected area => 1
hdc: 1465149168 sectors (750156 MB) w/16384KiB Cache, CHS=91201/255/63, UDMA(66)

/dev/hdb1             688G  678G   11G  99% /archive
/dev/hdc1             688G  198M  688G   1% /archive2
もう1〜2日ぶんはいるかな。 というか早くnew machineに移行したいところ。

Monday, December 31, 2007

Linux で emone modem

帰省するので emone を使えるように設定。 cableは ヨドバシで Retractable Cable Dual for EM・ONE(S01SH)を購入。USBで繋いで充電もできるやつ。 つなぐとこんなかんじ
# lsusb
Bus 001 Device 001: ID 0000:0000  
Bus 002 Device 003: ID 04dd:9151 Sharp Corp. 
Bus 002 Device 001: ID 0000:0000  
Bus 002 Device 003 の ID 04dd:9151 Sharp Corp. がそれ。 Linux kernelがすごく古かったので、まず新しめのに。
# apt-get install linux-source-2.6.23
# apt-get install ipw2200-source
% cd /usr/src
% tar xvf linux-2.6.23.tar.bz2
% make menuconfig
% make-kpkg --rootcmd fakeroot --append_to_version .$(hostname).1 binary_arch
% sudo dpkg -i ../linux-image-2.6.23.$(hostname).1-10.00.Custom_i386.deb
このバージョンだと、drivers/usb/serial/ipaq.ko に含まれている (drivers/usb/serial/ipaq.c の ipaq_id_table を参照)
static struct usb_device_id ipaq_id_table [] = {
        /* The first entry is a placeholder for the insmod-specified device */
...
        { USB_DEVICE(0x04DD, 0x9151) }, /* SHARP S01SH USB Modem */
昔とちがって iw2200とか最初から入っているので楽だな。 debをインストールしたら reboot。 pppの設定は pppconfig emone
  • Dynamic 動的DNSを使う
  • PAP
    • ユーザー名: 適当(emoneとか)
    • パスワード: 適当(emoneとか)
    • 速度: 115200
    • パルスまたはトーン: Tone
    • 電話番号: *99***1#
    • モデル: /dev/ttyUSB0
これでpon emoneで接続可能。 問題は実家が EMobile圏内かどうかだな。

Monday, December 24, 2007

hp Proliant ML110G5 続き2 - Lights-Out 100

ML110G5 の Lights-Out 100 には web interface もあるのでそれも試してみた。 Virtual KVM/Media は Java Appletのようなのだが、うまく動かない。 Java console を見ると
Java(TM) Plug-in: バージョン 1.4.2_05
...
java.langu.UnsupportedClassVersionError: com/serverengines/mahogany/MahoganyViewer (Unsupported major.minor version 49.0)
で駄目? apt-get install sun-java5-pluginして Java(TM) Plug-in 1.5.0_13-b05 にいれかえると なんか動いた。が、なんか起動は遅いなー。途中で閉じたりするとなんか変な状態になるみたいなので、おかしかったらブラウザを起動しなおしたほうがよさそう。Windowsとかと違って Linux serverなら serial consoleあればとりあえずokだが、BIOS setupとかもリモートでできるのは便利かな。

Sunday, December 23, 2007

hp Proliant ML110G5 続き

SATAケーブルを買ってきて HDD を追加。一応 diagnostics toolsでテストしたが、すごい時間かかるな。diagnostics toolsをいろいろみていたら BIOS characteristics の中に NEC PC-98 とかいう項目があることに気付いた。まだあるのかー。
ata1.01: ATA-8: Hitachi HDP725050GLA360, GM4OA52A, max UDMA/133
ata1.01: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata1.01: configured for UDMA/133
usb 4-2: device not accepting address 2, error -71
ata2.00: ATA-8: Hitachi HDP725050GLA360, GM4OA52A, max UDMA/133
ata2.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata2.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access     ATA      FB080C4080       n/a  PQ: 0 ANSI: 5
scsi 0:0:1:0: Direct-Access     ATA      Hitachi HDP72505 GM4O PQ: 0 ANSI: 5
scsi 1:0:0:0: Direct-Access     ATA      Hitachi HDP72505 GM4O PQ: 0 ANSI: 5

sd 0:0:1:0: [sdb] 976773168 512-byte hardware sectors (500108 MB)
sd 0:0:1:0: [sdb] Write Protect is off
sd 0:0:1:0: [sdb] Mode Sense: 00 3a 00 00
sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdb: unknown partition table
sd 0:0:1:0: [sdb] Attached SCSI disk
sd 1:0:0:0: [sdc] 976773168 512-byte hardware sectors (500108 MB)
sd 1:0:0:0: [sdc] Write Protect is off
sd 1:0:0:0: [sdc] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdc: unknown partition table
sd 1:0:0:0: [sdc] Attached SCSI disk
cfdisk で Linux auto raid detect type な partition を作成。
# mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1
# mdadm -q /dev/md0
/dev/md0: 465.76GiB raid1 2 devices, 0 spares. Use mdadm --detail for more detail.
# mdadm --detail /dev/md0 
/dev/md0:
        Version : 00.90.03
  Creation Time : Sun Dec 23 21:24:48 2007
     Raid Level : raid1
     Array Size : 488383936 (465.76 GiB 500.11 GB)
    Device Size : 488383936 (465.76 GiB 500.11 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Sun Dec 23 21:24:48 2007
          State : clean, resyncing
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

 Rebuild Status : 13% complete

           UUID : cd2886dc:4789c813:49ae4a93:87ed48f6 (local to host mango)
         Events : 0.1

    Number   Major   Minor   RaidDevice State
       0       8       17        0      active sync   /dev/sdb1
       1       8       33        1      active sync   /dev/sdc1
# mkfs -j /dev/md0 
mke2fs 1.40-WIP (14-Nov-2006)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
61063168 inodes, 122095984 blocks
6104799 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
3727 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
        4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 
        102400000

Writing inode tables: done                            
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
serial consoleの設定はこうしておけばOKかな。 まず BIOS の Advanced Console Redirection で
  • Console Redirection: Enabled
  • EMS Console: Enabled
  • Baud rate: 115.2K
  • Console Type: VT100
  • FLow Control: CTS/RTS
  • Continue C.R After POST: Disabled
なんか「Continue C.R. After POST」をEnabledにしておくと grub の serial設定でささった。罠ぽい。 で GRUB の設定は次を追加
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
terminal --timeout=3 serial console
さらに/etc/inittab
T0:23:respawn:/sbin/getty -L ttyS0 115200 vt102
こうしておくと Lights-Out 100 に telnet で login して、このserial経由でオペレーションできる。
% telnet aaa.bbb.ccc.ddd
Trying aaa.bbb.ccc.ddd...
Connected to aaa.bbb.ccc.ddd.
Escape character is '^]'.

*** IPCOM ***
login: foo
Password: 

Lights-Out 100 Management
Copyright 2005-2007 ServerEngines LLC
Copyright 2006-2007 Hewlett-Packard Development Company, L.P.

/./-> 
ここで cd system1してresetで電源リセット、startで電源オン、stopで電源オフ など。 ESC-Q で serial consoleに attach。抜ける時は ESC-(。

Saturday, December 22, 2007

hp Proliant ML110G5

先週くらいに発注していた hp Proliant ML110G5 が届いていたので設定作業。
まずはCPUを Quad Core Intel Xeon Q6600 に、memoryも PC2-6400 unbuffer DDR2 800MHz 1GB * 4 にいれかえ。diskは SATA cableがなかったので標準設定の 80G を system root にすることにする。 まずは付属の hp diagnostics toolでテスト。Linux baseなんだな。All test pass。
OSなしモデルなので、さっそくDebianをインストール。
# wodim --devices
wodim: Overview of accessible drives (1 found) :
-------------------------------------------------------------------------
 0  dev='/dev/hdc'      rwrw-- : 'MATSHITA' 'DVD-RAM UJ-823S'
-------------------------------------------------------------------------
zsh: exit 1     wodim --devices
# nice --18 wodim -eject -v speed=2 dev=/dev/hdc -data -pad \
/tmp/debian-40r1-amd64-businesscard.iso
これだと CDROMが見えないといってインストールがすすまない。hda (SATA HDD 1)は見えているぽいので、DVD driveを SATAの先頭4つ以内に繋げばいけるのかも(defaultは SATA HDD 5に接続されている) http://kmuto.jp/debian/d-i/から etch-custom-1013.iso を入手してそちらでtry。 US Englishで設定していたら timezone がUSのエリアからしか選べなくなっている。とりあえず Pacific選んでおいて後から直すことにする。あとは特にトラブルこともなくすすむ。partitioningも defaultで。 installerからrebootして、まずは timezoneの修正
# echo 'Asia/Tokyo' > /etc/timezone
# cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
とりあえずこんなかんじ。
# uname -a
Linux mango 2.6.23-1-amd64 #1 SMP Fri Oct 12 23:45:48 UTC 2007 x86_64 GNU/Linux
# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda1             73742752    753252  69243548   2% /
tmpfs                  1964988         0   1964988   0% /lib/init/rw
udev                     10240        72     10168   1% /dev
tmpfs                  1964988         0   1964988   0% /dev/shm
# free
             total       used       free     shared    buffers     cached
Mem:       3929976     163080    3766896          0       6348      90528
-/+ buffers/cache:      66204    3863772
Swap:      3229024          0    3229024
# lspci
00:00.0 Host bridge: Intel Corporation Unknown device 29f0 (rev 01)
00:01.0 PCI bridge: Intel Corporation Unknown device 29f1 (rev 01)
00:1a.0 USB Controller: Intel Corporation Unknown device 2937 (rev 02)
00:1a.1 USB Controller: Intel Corporation Unknown device 2938 (rev 02)
00:1a.2 USB Controller: Intel Corporation Unknown device 2939 (rev 02)
00:1a.7 USB Controller: Intel Corporation Unknown device 293c (rev 02)
00:1c.0 PCI bridge: Intel Corporation Unknown device 2940 (rev 02)
00:1c.4 PCI bridge: Intel Corporation Unknown device 2948 (rev 02)
00:1c.5 PCI bridge: Intel Corporation Unknown device 294a (rev 02)
00:1d.0 USB Controller: Intel Corporation Unknown device 2934 (rev 02)
00:1d.1 USB Controller: Intel Corporation Unknown device 2935 (rev 02)
00:1d.2 USB Controller: Intel Corporation Unknown device 2936 (rev 02)
00:1d.7 USB Controller: Intel Corporation Unknown device 293a (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation Unknown device 2916 (rev 02)
00:1f.2 IDE interface: Intel Corporation Unknown device 2920 (rev 02)
00:1f.3 SMBus: Intel Corporation Unknown device 2930 (rev 02)
00:1f.5 IDE interface: Intel Corporation Unknown device 2926 (rev 02)
0d:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G200e [Pilot] ServerEngines (SEP1) (rev 02)
0e:00.0 Ethernet controller: Broadcom Corporation Unknown device 165a
# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz
stepping        : 11
cpu MHz         : 2394.034
cache size      : 4096 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : 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 ht tm pbe syscall nx lm constant
_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx est tm2 ssse3 cx16 xt
pr lahf_lm
bogomips        : 4791.75
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

(これが4つ)
# dmesg
Linux version 2.6.23-1-amd64 (Debian 2.6.23-1~mtu1) (kmuto@debian.org) (gcc vers
ion 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Fri Oct 12 23:45:48 UT
C 2007
Command line: root=/dev/sda1 ro 
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009dc00 (usable)
 BIOS-e820: 000000000009dc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000dc000 - 00000000000e0000 (reserved)
 BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 00000000e7e40000 (usable)
 BIOS-e820: 00000000e7e40000 - 00000000e7e56000 (ACPI data)
 BIOS-e820: 00000000e7e56000 - 00000000e7e57000 (ACPI NVS)
 BIOS-e820: 00000000e7e57000 - 00000000e8000000 (reserved)
 BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ff000000 - 0000000100000000 (reserved)
 BIOS-e820: 0000000100000000 - 0000000110000000 (usable)
Entering add_active_range(0, 0, 157) 0 entries of 3200 used
Entering add_active_range(0, 256, 949824) 1 entries of 3200 used
Entering add_active_range(0, 1048576, 1114112) 2 entries of 3200 used
end_pfn_map = 1114112
DMI present.
ACPI: RSDP 000F7580, 0024 (r2 PTLTD )
ACPI: XSDT E7E4F196, 0094 (r1 PTLTD      XSDT    6040000  LTP        0)
ACPI: FACP E7E55693, 00F4 (r3 HP               6040000 PTL         2)
ACPI: DSDT E7E50934, 4CDB (r1     HP    BIGBY  6040000 MSFT  100000E)
ACPI: FACS E7E56FC0, 0040
ACPI: SPMI E7E55787, 0040 (r5 HP     ProLiant  6040000 PTL         1)
ACPI: EINJ E7E557C7, 01B0 (r1 PTL    WHEAPTL   6040000 PTL         1)
ACPI: HEST E7E55977, 01D0 (r1 PTL    WHEAPTL   6040000 PTL         1)
ACPI: BERT E7E55B47, 0030 (r1 PTL    WHEAPTL   6040000 PTL         1)
ACPI: SSDT E7E55B77, 00E1 (r1 wheaos  wheaosc  6040000 INTL 20050624)
ACPI: ERST E7E55C58, 0270 (r1 PTL    WHEAPTL   6040000 PTL         1)
ACPI: MCFG E7E55EC8, 003C (r1 PTLTD    MCFG    6040000  LTP        0)
ACPI: APIC E7E55F04, 0084 (r1 PTLTD      APIC    6040000  LTP        0)
ACPI: BOOT E7E55F88, 0028 (r1 PTLTD  $SBFTBL$  6040000  LTP        1)
ACPI: SPCR E7E55FB0, 0050 (r1 PTLTD  $UCRTBL$  6040000 PTL         1)
ACPI: SSDT E7E506D5, 025F (r1  PmRef  Cpu0Tst     3000 INTL 20050228)
ACPI: SSDT E7E5062F, 00A6 (r1  PmRef  Cpu1Tst     3000 INTL 20050228)
ACPI: SSDT E7E4F22A, 1405 (r1  PmRef    CpuPm     3000 INTL 20050228)
No NUMA configuration found
Faking a node at 0000000000000000-0000000110000000
Entering add_active_range(0, 0, 157) 0 entries of 3200 used
Entering add_active_range(0, 256, 949824) 1 entries of 3200 used
Entering add_active_range(0, 1048576, 1114112) 2 entries of 3200 used
Bootmem setup node 0 0000000000000000-0000000110000000
Zone PFN ranges:
  DMA             0 ->     4096
  DMA32        4096 ->  1048576
  Normal    1048576 ->  1114112
Movable zone start PFN for each node
early_node_map[3] active PFN ranges
    0:        0 ->      157
    0:      256 ->   949824
    0:  1048576 ->  1114112
On node 0 totalpages: 1015261
  DMA zone: 56 pages used for memmap
  DMA zone: 1046 pages reserved
  DMA zone: 2895 pages, LIFO batch:0
  DMA32 zone: 14280 pages used for memmap
  DMA32 zone: 931448 pages, LIFO batch:31
  Normal zone: 896 pages used for memmap
  Normal zone: 64640 pages, LIFO batch:15
  Movable zone: 0 pages used for memmap
ACPI: PM-Timer IO Port: 0x1008
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 (Bootup-CPU)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled)
Processor #2
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] enabled)
Processor #3
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 4, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Setting APIC routing to flat
Using ACPI (MADT) for SMP configuration information
swsusp: Registered nosave memory region: 000000000009d000 - 000000000009e000
swsusp: Registered nosave memory region: 000000000009e000 - 00000000000a0000
swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000dc000
swsusp: Registered nosave memory region: 00000000000dc000 - 00000000000e0000
swsusp: Registered nosave memory region: 00000000000e0000 - 00000000000e4000
swsusp: Registered nosave memory region: 00000000000e4000 - 0000000000100000
swsusp: Registered nosave memory region: 00000000e7e40000 - 00000000e7e56000
swsusp: Registered nosave memory region: 00000000e7e56000 - 00000000e7e57000
swsusp: Registered nosave memory region: 00000000e7e57000 - 00000000e8000000
swsusp: Registered nosave memory region: 00000000e8000000 - 00000000fec00000
swsusp: Registered nosave memory region: 00000000fec00000 - 00000000fec10000
swsusp: Registered nosave memory region: 00000000fec10000 - 00000000fee00000
swsusp: Registered nosave memory region: 00000000fee00000 - 00000000fee01000
swsusp: Registered nosave memory region: 00000000fee01000 - 00000000ff000000
swsusp: Registered nosave memory region: 00000000ff000000 - 0000000100000000
Allocating PCI resources starting at ea000000 (gap: e8000000:16c00000)
SMP: Allowing 4 CPUs, 0 hotplug CPUs
PERCPU: Allocating 35176 bytes of per cpu data
Built 1 zonelists in Node order.  Total pages: 998983
Policy zone: Normal
Kernel command line: root=/dev/sda1 ro 
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Extended CMOS year: 2000
Marking TSC unstable due to TSCs unsynchronized
time.c: Detected 2394.034 MHz processor.
Console: colour VGA+ 80x25
console [tty0] enabled
Checking aperture...
Calgary: detecting Calgary via BIOS EBDA area
Calgary: Unable to locate Rio Grande table in EBDA - bailing!
PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
Placing software IO TLB between 0x1048000 - 0x5048000
Memory: 3924564k/4456448k available (2067k kernel code, 136480k reserved, 974k d
ata, 304k init)
Calibrating delay using timer specific routine.. 4791.75 BogoMIPS (lpj=9583507)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
Mount-cache hash table entries: 256
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU 0/0 -> Node 0
using mwait in idle threads.
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
CPU0: Thermal monitoring handled by SMI
SMP alternatives: switching to UP code
ACPI: Core revision 20070126
Using local APIC timer interrupts.
result 16625224
Detected 16.625 MHz APIC timer.
SMP alternatives: switching to SMP code
Booting processor 1/4 APIC 0x1
Initializing CPU#1
Calibrating delay using timer specific routine.. 4788.34 BogoMIPS (lpj=9576682)
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU 1/1 -> Node 0
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1
CPU1: Thermal monitoring enabled (TM2)
Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz stepping 0b
SMP alternatives: switching to SMP code
Booting processor 2/4 APIC 0x2
Initializing CPU#2
Calibrating delay using timer specific routine.. 4788.39 BogoMIPS (lpj=9576790)
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU 2/2 -> Node 0
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 2
CPU2: Thermal monitoring enabled (TM2)
Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz stepping 0b
SMP alternatives: switching to SMP code
Booting processor 3/4 APIC 0x3
Initializing CPU#3
Calibrating delay using timer specific routine.. 4788.37 BogoMIPS (lpj=9576754)
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU 3/3 -> Node 0
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 3
CPU3: Thermal monitoring enabled (TM2)
Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz stepping 0b
Brought up 4 CPUs
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: BIOS Bug: MCFG area at f0000000 is not E820-reserved
PCI: Not using MMCONFIG.
PCI: Using configuration type 1
ACPI: EC: Look up EC in DSDT
ACPI: Interpreter enabled
ACPI: (supports S0 S1 S4 S5)
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEG1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP5._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP6._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs *3 4 5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: ACPI device : hid PNP0A03
pnp: ACPI device : hid PNP0C02
pnp: ACPI device : hid PNP0200
pnp: ACPI device : hid PNP0C04
pnp: ACPI device : hid PNP0B00
pnp: ACPI device : hid PNP0800
pnp: ACPI device : hid INT0800
pnp: ACPI device : hid PNP0501
pnp: ACPI device : hid IPI0001
pnp: PnP ACPI: found 9 devices
ACPI: ACPI bus type pnp unregistered
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
PCI: Cannot allocate resource region 7 of bridge 0000:00:01.0
PCI: Cannot allocate resource region 7 of bridge 0000:00:1c.0
NET: Registered protocol family 8
NET: Registered protocol family 20
PCI-GART: No AMD northbridge found.
ACPI: RTC can wake from S4
pnp: the driver 'system' has been registered
pnp: match found with the PnP device '00:01' and the driver 'system'
pnp: 00:01: iomem range 0xf0000000-0xf7ffffff has been reserved
pnp: 00:01: iomem range 0xfe000000-0xff7fffff could not be reserved
PCI: Bridge: 0000:00:01.0
  IO window: disabled.
Time: acpi_pm clocksource has been installed.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:1c.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:1c.4
  IO window: disabled.
  MEM window: ec100000-ecffffff
  PREFETCH window: ee000000-eeffffff
PCI: Bridge: 0000:00:1c.5
  IO window: disabled.
  MEM window: ed000000-ed0fffff
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:1e.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
ACPI: PCI Interrupt 0000:00:01.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:01.0 to 64
ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1c.0 to 64
ACPI: PCI Interrupt 0000:00:1c.4[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1c.4 to 64
ACPI: PCI Interrupt 0000:00:1c.5[B] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1c.5 to 64
PCI: Setting latency timer of device 0000:00:1e.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 131072 (order: 8, 1048576 bytes)
TCP established hash table entries: 524288 (order: 11, 12582912 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 524288 bind 65536)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 5105k freed
Simple Boot Flag at 0x44 set to 0x1
audit: initializing netlink socket (disabled)
audit(1198330402.964:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Boot video device is 0000:0d:00.0
PCI: Setting latency timer of device 0000:00:01.0 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:01.0:pcie00]
PCI: Setting latency timer of device 0000:00:1c.0 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:1c.0:pcie00]
Allocate Port Service[0000:00:1c.0:pcie02]
PCI: Setting latency timer of device 0000:00:1c.4 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:1c.4:pcie00]
Allocate Port Service[0000:00:1c.4:pcie02]
PCI: Setting latency timer of device 0000:00:1c.5 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:1c.5:pcie00]
Allocate Port Service[0000:00:1c.5:pcie02]
Real Time Clock Driver v1.12ac
Linux agpgart interface v0.102
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
pnp: the driver 'serial' has been registered
pnp: match found with the PnP device '00:07' and the driver 'serial'
00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
input: Macintosh mouse button emulation as /class/input/input0
pnp: the driver 'i8042 kbd' has been registered
pnp: the driver 'i8042 aux' has been registered
pnp: the driver 'i8042 kbd' has been unregistered
pnp: the driver 'i8042 aux' has been unregistered
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Freeing unused kernel memory: 304k freed
ACPI Exception (processor_core-0818): AE_NOT_FOUND, Processor Device is not pres
ent [20070126]
ACPI Exception (processor_core-0818): AE_NOT_FOUND, Processor Device is not pres
ent [20070126]
ACPI Exception (processor_core-0818): AE_NOT_FOUND, Processor Device is not pres
ent [20070126]
ACPI Exception (processor_core-0818): AE_NOT_FOUND, Processor Device is not pres
ent [20070126]
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:1a.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1a.0 to 64
uhci_hcd 0000:00:1a.0: UHCI Host Controller
uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:1a.0: irq 16, io base 0x00001820
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
SCSI subsystem initialized
libata version 2.21 loaded.
ACPI: PCI Interrupt 0000:00:1a.1[B] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1a.1 to 64
uhci_hcd 0000:00:1a.1: UHCI Host Controller
uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1a.1: irq 17, io base 0x00001840
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1a.2[C] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1a.2 to 64
uhci_hcd 0000:00:1a.2: UHCI Host Controller
uhci_hcd 0000:00:1a.2: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1a.2: irq 18, io base 0x00001860
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1a.7[C] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1a.7 to 64
ehci_hcd 0000:00:1a.7: EHCI Host Controller
ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 4
ehci_hcd 0000:00:1a.7: debug port 1
PCI: cache line size of 32 is not supported by device 0000:00:1a.7
ehci_hcd 0000:00:1a.7: irq 18, io mem 0xec000000
ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 6 ports detected
ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1d.0: irq 16, io base 0x00001880
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 6
uhci_hcd 0000:00:1d.1: irq 17, io base 0x000018a0
usb usb6: configuration #1 chosen from 1 choice
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 7
uhci_hcd 0000:00:1d.2: irq 18, io base 0x000018c0
usb usb7: configuration #1 chosen from 1 choice
hub 7-0:1.0: USB hub found
hub 7-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 8
ehci_hcd 0000:00:1d.7: debug port 1
PCI: cache line size of 32 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: irq 16, io mem 0xec000400
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb8: configuration #1 chosen from 1 choice
hub 8-0:1.0: USB hub found
hub 8-0:1.0: 6 ports detected
usb 5-2: new full speed USB device using uhci_hcd and address 2
tg3.c:v3.81 (September 5, 2007)
ACPI: PCI Interrupt 0000:0e:00.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:0e:00.0 to 64
eth0: Tigon3 [partno(N/A) rev a200 PHY(5722/5756)] (PCI Express) 10/100/1000Base
-T Ethernet 00:1c:c4:18:15:b4
eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] WireSpeed[1] TSOcap[1]
eth0: dma_rwctrl[76180000] dma_mask[64-bit]
ata_piix 0000:00:1f.2: version 2.12
ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1f.2 to 64
scsi0 : ata_piix
scsi1 : ata_piix
ata1: SATA max UDMA/133 cmd 0x00000000000101f0 ctl 0x00000000000103f6 bmdma 0x00
00000000011c10 irq 14
ata2: SATA max UDMA/133 cmd 0x0000000000010170 ctl 0x0000000000010376 bmdma 0x00
00000000011c18 irq 15
ata1.00: ATA-7: FB080C4080,     HPF0, max UDMA/100
ata1.00: 156301488 sectors, multi 16: LBA48 
ata1.00: configured for UDMA/100
scsi 0:0:0:0: Direct-Access     ATA      FB080C4080       n/a  PQ: 0 ANSI: 5
ata_piix 0000:00:1f.5: MAP [ P0 P2 P1 P3 ]
usb 5-2: new full speed USB device using uhci_hcd and address 3
ACPI: PCI Interrupt 0000:00:1f.5[C] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1f.5 to 64
scsi2 : ata_piix
scsi3 : ata_piix
ata3: SATA max UDMA/133 cmd 0x0000000000011c68 ctl 0x0000000000011c5e bmdma 0x00
00000000011c30 irq 18
ata4: SATA max UDMA/133 cmd 0x0000000000011c60 ctl 0x0000000000011c5a bmdma 0x00
00000000011c38 irq 18
usb 5-2: configuration #1 chosen from 1 choice
usbcore: registered new interface driver hiddev
input: ServerEngines SE USB Device as /class/input/input1
input: USB HID v1.11 Keyboard [ServerEngines SE USB Device] on usb-0000:00:1d.0-
2
input: ServerEngines SE USB Device as /class/input/input2
input: USB HID v1.11 Mouse [ServerEngines SE USB Device] on usb-0000:00:1d.0-2
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
ata3.00: ATAPI: HL-DT-ST DVD-RAM GSA-H60L, E904, max UDMA/100
ata3.00: configured for UDMA/100
ata3: EH pending after completion, repeating EH (cnt=4)
scsi 2:0:0:0: CD-ROM            HL-DT-ST DVD-RAM GSA-H60L E904 PQ: 0 ANSI: 5
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
pnp: the driver 'ide' has been registered
sd 0:0:0:0: [sda] 156301488 512-byte hardware sectors (80026 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO
 or FUA
sd 0:0:0:0: [sda] 156301488 512-byte hardware sectors (80026 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO
 or FUA
 sda: sda1 sda2 < sda5 >
sd 0:0:0:0: [sda] Attached SCSI disk
Attempting manual resume
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
input: Power Button (FF) as /class/input/input3
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /class/input/input4
ACPI: Power Button (CM) [PWRB]
sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 2:0:0:0: Attached scsi CD-ROM sr0
input: PC Speaker as /class/input/input5
iTCO_wdt: Intel TCO WatchDog Timer Driver v1.02 (26-Jul-2007)
iTCO_wdt: Found a ICH9R TCO device (Version=2, TCOBASE=0x1060)
iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
PCI: Enabling device 0000:00:1f.3 (0001 -> 0003)
ACPI: PCI Interrupt 0000:00:1f.3[B] -> GSI 17 (level, low) -> IRQ 17
sd 0:0:0:0: Attached scsi generic sg0 type 0
sr 2:0:0:0: Attached scsi generic sg1 type 5
Adding 3229024k swap on /dev/sda5.  Priority:-1 extents:1 across:3229024k
EXT3 FS on sda1, internal journal
loop: module loaded
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com

NET: Registered protocol family 10
lo: Disabled Privacy Extensions
ADDRCONF(NETDEV_UP): eth0: link is not ready
tg3: eth0: Link is up at 1000 Mbps, full duplex.
tg3: eth0: Flow control is on for TX and on for RX.
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
eth0: no IPv6 routers present

Saturday, November 17, 2007

snapshot.debian.net diskいれかえ

500GB がそろそろ一杯になってきたのでいれかえ。今回は10/1-11/17分。
hdb: ST3750640A, ATA DISK drive
hdb: attached ide-disk driver.
hdb: host protected area => 1
hdb: 1465149168 sectors (750156 MB) w/16384KiB Cache, CHS=91201/255/63, UDMA(66)

/dev/hdb1            721075720    201792 720837300   1% /archive2

Saturday, November 3, 2007

Real UNIX MAGAZINE Day

Real UNIX MAGAZINE Dayに参加してきた。 UNIX MAGAZINEでは一度も執筆したことないのだけど、OSパネルでLinuxについてということでLinuxとかDebianのサイズ変遷とかDebian Description Trendsの話を適当に。プレゼン資料はGoogle Presentationを使ってみた。chatに参加してくれた方ありがとうございました。 未来については不自由なプラットフォームの台頭は無視することはできないと思う。もちろんどんなことでも技術的に回避することはできるのかもしれないけど、そうすることが許されなくなることはありえないことではない。だいたい世の中技術的にはできるけど許されない(犯罪になる)ことは既にいっぱいある(身近(?)なところではコンテンツのコピーとか)。そうならないようにするためには、ソフトウェアの自由な環境がすばらしいこと・なくてはならないことを信じてくれる人を増やしていくことが大事なのだと。 今の環境に(あきらめて)満足せずに、駄目なところを見つけてどんどん改善していきましょう。ハッカーにとってはそうやっていろいろいじることが一番楽しいことのはず。Happy Hacking! 終わった後は神保町ブラッセルで宴会。ベルギービールのみまくり。
和田先生の howmany0s (0の数をカウント)は UNIX人間ならこうしちゃうかなと思った。 seq $start $end | sed -ne 's/[^0]//g;H;${x;s/\n//g;s/0/+1/g;s/^+//;p;}' | bc もしくは seq $start $end | sed -ne 's/[^0]//g;H;${x;s/\n//g;s/0/0\n/g;p;}' |sed -e '/^$/d' | wc -l seq $start $end | sed -ne 's/[^0]//g;H;${x;s/\n//g;p;}' |wc -c (ただし、これは改行もカウントしちゃうので -1 しないといけない) sed使わないとこうとか seq $start $end | tr -d '1-9' | wc | awk '{print $3-$1}'

Tuesday, October 30, 2007

MOZ_DISABLE_PANGO=1

FireFox(Iceweasel)が最近遅いなーと思う人は export MOZ_DISABLE_PANGO=1 するとすこし幸せになるらしい export GDK_USE_XFT=0 はよくわからないなー。

Sunday, October 28, 2007

Debian Description Trends

ちょっと現実逃避Real UNIX MAGAZINE DayネタにDebian Description Trends を作ってみた。
Debian Description Trendsは次のようなかんじで作った。 まず、wordのとりだし。UNIX shellパワーを駆使(というか超適当) for file in */*/01/debian/dists/sid/main/binary-i386/Packages.gz do date=$(date -d $(echo $file | sed -e 's/\/debian.*//') +%Y-%m) gunzip < $file | sed -ne 's/Description: //p' -e '/^ /p' | tr '[[:upper:]]' '[[:lower:]]' | sed -e 's/[^-\/+[:alnum:]]/ /g' -e 's/[[:space:]][[:space:]]*/\n/g' | sort | uniq -c | sort -nr > ~/tmp/desc-words-$date.lst done これで desc-words-$YYYY-$mm.lst にwordごとのcountが示されたファイルができる 最初これを ruby scriptで gnuplot script を生成してgraphを生成していたのだが、webで見られるようにしたほうが便利だろうと思い途中でcgiに変更。 使ってみるとscanしてgnuplot script生成がかなり遅かったのでデータをsqliteにつっこんでみた。 CREATE TABLE words ( year integer, month integer, word string, count integer ); CREATE INDEX words_word on words ( word ); つっこむ時はこんなかんじで #!/usr/bin/ruby require 'sqlite3' .. db = SQLite3::Database.new(dbname) .. sql.push("insert into words values (#{year}, #{month}, '#{kw}', #{n});") .. db.execute_batch(sql.join("\n")) cgiの中はこうやってとりだし #!/usr/bin/ruby require 'sqlite3' ... keyword = q.gsub(/,/, "").split kwv = {} db = SQLite3::Database.new(DATAFILE) db.results_as_hash = true db.execute("select year, month, word, count from words "+ "where word in " + "(#{keyword.collect{|v| '?'}.join(', ')})", *keyword) do |row| date = "#{row['year']}-#{row['month']}" kwv[date] ||= {} kwv[date][row['word']] = row['count'].to_s end ...

Monday, October 15, 2007

Iceweasel がおかしい

top menu がマウスに反応しなくなったり (Alt-F とかなら反応する)、 iceweasel-webdeveloper の bookmarkbar の dropdown menu も反応しなくなったり、 web page 中の pull down menu (gmailの"More actions..."など) もなんか変だったり どうもBug#400302ぽいのだが、解決策はのってないな…

Sunday, October 14, 2007

Emacs に copy & paste

Emacs に Iceweasel (Firefox) から Copy & Paste すると \u30cd\u30bf というunicode escapeされた文字列がペーストされてしまう件をちょっと調べてみた。
Emacs21 なので mule-ucs も使ってるけど、どうも簡単な設定ではなさそう。 既に世の中 Emacs22 みたいなので、Emacs22 にしてみたら問題なく Copy & Paste できた。Emacs21->Emacs22では mule-ucs不要になったので、次のように un-define しないようにする必要があったくらい。
(when (<= emacs-major-version 21)
   (require 'un-define))
ちょっと深追いしてみると Emacs21では term/x-win.el -> select.el の x-get-selection がそういう文字列をかえしているみたいだった。
(x-get-selection 'PRIMARY 'STRING)
"\\u30cd\\u30bf"
そうこうしているうちに Iceweaselが死んでしまったので動かしなおしたら、Copy&Paste問題もなおってしまった。どうやら LANG=C でIceweaselを動かしていると駄目で、LANG=ja_JP.UTF-8 (or ja_JP.EUC-JP) で動かしているとよさそう。 Emacs22 はどちらでも問題ないので、Emacs21の問題といえば問題なのか。 こうやるとEmacs21でもよさげ
  (defun unescape-x-text (str)
    (replace-regexp-in-string
     "\\\\u\\([0-9a-fA-F]\\{4,4\\}\\)"
     (lambda (match-str)
       (char-to-string (ucs-to-char
        (read (concat "\?\\x" (substring match-str 2))))))
     str))
  (defun x-get-selection (&optional type data-type)
    (unescape-x-text
     (x-get-selection-internal (or type 'PRIMARY)
                            (or data-type 'STRING))))

久々のupgrade

すごく久々にノートの Debianを upgrade。 ptex-bin が次のようなエラーをだしていた
/var/lib/dpkg/tmp.ci/preinst: 61: mktexlsr: not found
dpkg: error processing /var/cache/apt/archives/ptex-bin_3.1.10~beta3+0.04b-4.1_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 127
もう一度 upgrade したら通ったが、これ(preinstで mktexlsrを実行しちゃってる)は bug じゃないか?
`Pre-Depends' are also required if the `preinst' script depends on the named package. It is best to avoid this situation if possible.

Wednesday, October 10, 2007

debian mirror pipelineを変更

debian.org -> hp.debian.or.jp -> hanzubon.jp -> ftp.jp.debian.org で時間がかかりすぎているようだ。 ちょっと計測したところ debian.org -> hp.debian.or.jp より debian.org -> hanzubon.jp のほうがだいぶ早い (route と machine powerの違い)ようなので、まず hanzubon.jp で日本にもってきてそこから国内配布するように変更。
とりあえずは
  1. debian.org -> hp.debian.or.jp にsignal
  2. hp.debian.or.jp は即座に hanzubon.jp に signal
  3. hanzubon.jp は debian.org から rsync
  4. hanzubon.jp -> hp.debian.or.jp に signal
  5. hp.debian.or.jp は hanzubon.jp から rsync
で、debian.org の signal 先を hanzubon.jp に変更してもらう予定。 というか そろそろ、hp.debian.or.jp も新しいサーバーに更新しないとなあ。 2001年3月頃からだから、もう6年半以上使っているわけで。

Sunday, September 30, 2007

snapshot.debian.net diskいれかえ

snapshot.debian.netのdiskをいれかえ。 以前は500Gでだいたい3ヶ月だったのにだんだん短くなって今回は1ヶ月半くらい(8/12-9/30)になってしまってる。

Friday, September 14, 2007

planet.debian.or.jp 登録変更

planet.debian.or.jpに登録されていたのが古いblogになっていたので更新。
こうすればいいのかな
% svn co https://svn.debian.or.jp/repos/planet
% cd planet
% cd config
% vi config.ini
feed URLを http://blogger.ukai.org/feeds/posts/default/-/debian に
% svn commit -m "change ukai's blog"
debian.or.jpのアカウントでcommit。

snapshot.debian.net athlon64->hikaru

snapshot.debian.net/archive に 2007 しかないのだが? というメールがきた。 aliasで 2005, 2006 にアクセスするとbackendのathlon64をみにいくのだが、directory indexには見えてなかったようだ。空ディレクトリを作ってfix。 で、またathlon64.fsij.orgのapache2がささっていることに気付いたので、ついでにbackend serverを athlon64.fsij.org から hikaru.fsij.org に変更しておく。