Code Audit, OSC, a DirectFB ML post

変更なんてやらないで...御願いします... :(
[I had poking the BCB ones which was maintained my boss.
Umm, ATM, we have only daily snapshots though,
but it was poked w/ only 1 line ChangeLog w/o any comments.
Blah, no more crazy change w/o documentation if it's ovbious...
Please, I have not so quite coding skill... :(
Hmm, we definitely needs to use SCM.
Otherwise, we'll choke ourself by unmaintain code stuffs.]

動作実績はあるけど,何か気に食わない... :(
[Then, I also do audit some previous Linux stuffs for its project.
Hmm, some delicous global vars are, scattered signal handlers are,
nice magic numbers are stuffed.
It jusr works, but well, umm a bit of subtle thigy... :(]

Gentoo JP misc MLでOSC 2006 Tokyo/Fallについてのスレッドが動く.
しかし,Kalinも仕事でハマっていたとは. :P
[A thread of Gentoo JP misc ML about OSC 2006 Tokyo/Fall moves.
When it's at the end of Oct, the project would be finished, though.
I'm not official dev, so I have no right to mention about Gentoo thigs.
Of cource, I have many junky non-x86 boxes,
but Alpha/SPARC boxes are not potable ones,
and it's hard to bring/bring back it.
Hmm, sonds like to get Gentoo bottons distrubuted
(as fee free?) some users (or candidates?) is not quite difficult, though.
BTW, it's not quite bad to hear Kalin was choked his job. :P]

或るGentooユーザーのDirectFB users MLでの投稿.
USE flagsをきちんと設定して,且つ必要な設定ファイルを書いて,
みたいな返信しておいた. :P
[A post of DirectFB users ML from a Gentoo user is.
It sounds like not suit upstream ML, so I've replayed like
"Why didn't you use official ebuild?"
Then, he directly replayed me like,
"The reason is my Matrox card didn't get woking w/ gentoo's."
Like someone always said,
"make it no crazy CFLAGS, check the difference of config result of
strayed build and getoo's to set sane USE flags or so,
write config files w/ reading fine manuals.
Then, if it still didn't work, file it Gentoo's bugzie.
I'm OK to hang on. :P"]



[Well, this?
Isn't it worth to note, or...]
gentoojp-users 1219

[Hmm, sleepy, nite...]

Memo4OldRedHat, kde-base/kttsd

で,過去のRedHat9 kernel 2.4.x時のセットアップのメモを読んでみた.
予想はしていたけれど,rpm直叩きの上に,一部野良ビルドかよ... :P
[Hmm, Geode still sucks PCMCIA stuffs.
I've summrized about it, and emailed my bosses.
Then, I've skimed old setup memo for RedHat9 w/ kernel 2.4.x, though.
Bleh, that's really horrible combo of "direct rpm command" and
"straied configure && make && make install"...
But, that's I expected, though. :P
Tomorrow, I'll restart my coding instead of poking that junky Geode.]

あー,知らんぜー. :P
I was asked about kde-base/kttsd development status of japanese support.
He said that he couldn't understand japanese text, so couldn't find any info.
I've skimed by uisng google.co.jp, but it shows me only mirror index,
or old jap dev diary's entries or so.
TTTT, I havo no KDE stuff, thus it's no matter for me.
But, when KDE had many b0rked japanese support,
the upstream abandoned to release w/ japanese support, IIRC.
Well, please no blame me, it's not my fault, duh? :P]


IRQ confliction hell

Frame Bufferを整理したら,gxfbは動くがgx1fbは動かないっぽい.
前者は(Experimental)で,後者は(Very Experimental)らしい.
更に,CFのmulti mode by defaultは動いたが,
use DMA when availableだと動かないっぽい.
[Hmm, I was poking kernel's .config and BIOS stuffs.
Well, that dumb BIOS sucks because it couldn't do sane mem checking,
I realized it is 256MB, but only available 128MB, though.
And then, (Experimental) gxfb just works, but (Very Experimental) gx1fb
doesn't workd, WTF...
CF can use multi mode by default, but couldn't use DMA when available, NFC...]

で,802.11a/b/gなWireless LANカードを突っ込んだ所,
USB1.1 OHCIなブツとPCMCIAカードバスのIRQがconflictしてる... :(
TIのPCI1410と言う16bit legacyなchipの所為っぽい.
コイツが動いてくれないと,ひじょーにマズいぜよ. :P
[Then, when I stab 802.11a/b/g wireless LAN card,
USB1.1 OHCI anf PCMCIA card bus got IRQ confliction... :(
TI PCI1410, 16bit legacy chipe needs to die.
PCMCIA stuffs make me mess, there're sys-apps/pcmciautils,
sys-apps/pcmcia-cs, sys-apps/pcmcia-cs-cis, sys-apps/pcmcia-cs-modules,
Well, I wouldn't be shot by my bosses, though. :P]


UTF8+IPAPGothic+GMail = MojiBake

記念にスクリーンショット. :P
L -> *になってる,v -> Tにもなるらしい.
[Like shindo-san said, I reproduced MojiBake when using UTF8 and IPAPGothic.
Here's a screen shot of L -> *.
And, v -> T could be.]


Geode GX1 boot log or so

まだ幾つか問題が有るケド,取り敢えずserial consoleとdropbear SSHが動いたので,
1) kernelの.configを調整していない所為で,要らないモノが結構有る.
2) その所為でframbufferがboot中にどこかに逝って仕舞うし,CFのDMAが効かない.
3) udevを/dev/console, /dev/nullだけから動かしているのでbootが激しく遅い.
4) rootfsの大きさが100MB以上.
[K, it just works.
Some unstisfied thigies even are, though.
Serial cosole works, dropbear SSH works... So, I must do other codings.
Some memo are on the below.
1) Kernel's .config aren't sanitized, many unneeded config options are.
2) Due to 1), framebuffer got corrupted and CF's DMA are disabled ATM.
3) Using udev w/ only /dev/{console,null}. So, it makes boot time slowly.
4) Size of rootfs exceeded 100MB, it's too huge as embedded rootfs.]

追加:ヘボ英語入れるの忘れてた. :P
[ADD: Forgot to add eng"r"ish stubs. :P]
hiyuh@fukurou ~ $ /usr/bin/sudo /usr/bin/kermit -c
Connecting to /dev/tts/USB0, speed 115200
Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.

Press any key to continue.

GNU GRUB version 0.97 (640K lower / 127488K upper memory)

| Gentoo Linux (2.6.17-gentoo-r5) |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Use the ^ and v keys to select which entry is highlighted.
Press enter to boot the selected OS, 'e' to edit the
commands before booting, or 'c' for a command-line.
The highlighted entry will be booted automatically in 5 seconds.

Booting 'Gentoo Linux (2.6.17-gentoo-r5)'

root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /boot/kernel-2.6.17-gentoo-r5 hda=none hdb=none root=/dev/hdc1 conso
le=tty0 console=ttyS0,115200n8 udev
[Linux-bzImage, setup=0x1c00, size=0x16fc2e]

Linux version 2.6.17-gentoo-r5 (root@fukurou) (gcc version 3.4.6 (Gentoo 3.
4.6-r2, HTB-3.4.4-1.00, ssp-3.4.6-1.0, pie-8.7.9)) #1 PREEMPT Wed Aug 23 10
:05:52 UTC 2006
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000007d80000 (usable)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
125MB LOWMEM available.
DMI 2.2 present.
ACPI: Unable to locate RSDP
Allocating PCI resources starting at 10000000 (gap: 07d80000:f8270000)
Built 1 zonelists
Kernel command line: hda=none hdb=none root=/dev/hdc1 console=tty0 console=
ttyS0,115200n8 udev
ide_setup: hda=none
ide_setup: hdb=none
Initializing CPU#0
PID hash table entries: 512 (order: 9, 2048 bytes)
Detected 299.730 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 123832k/128512k available (1957k kernel code, 4280k reserved, 716k
data, 152k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 609.26 BogoMIPS (lpj=304633)
Mount-cache hash table entries: 512
Working around Cyrix MediaGX virtual DMA bugs.
Enable Memory-Write-back mode on Cyrix/NSC processor.
Enable Memory access reorder on Cyrix/NSC processor.
Enable Incrementor on Cyrix/NSC processor.
CPU: Cyrix Geode(TM) Integrated Processor by National Semi stepping 02
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 0k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfae00, last bus=0
Setting up standard PCI resources
ACPI: Subsystem revision 20060127
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Using IRQ router NatSemi [1078/0100] at 0000:00:12.0
PCI: Ignore bogus resource 6 [0:0] of 0000:00:12.4
PCI: Bus 1, cardbus bridge: 0000:00:09.0
IO window: 00001000-000010ff
IO window: 00001400-000014ff
PREFETCH window: 10000000-11ffffff
MEM window: 12000000-13ffffff
PCI: Assigned IRQ 11 for device 0000:00:09.0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1156370080.571:1): initialized
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Initializing Cryptographic API
io scheduler noop registered
io scheduler deadline registered (default)
gx1fb 0000:00:12.4: 2560 Kibyte of video memory at 0x40800000
Console: switching to colour frame buffer device 80x30
fb0: GX1 frame buffer device
vga16fb: mapped to 0xc00a0000
fb1: VGA16 VGA frame buffer device
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
CS5530: IDE controller at PCI slot 0000:00:12.2
CS5530: chipset revision 0
CS5530: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:pio
input: AT Translated Set 2 keyboard as /class/input/input0
ide1 at 0x170-0x177,0x376 on irq 15
hdc: max request size: 128KiB
hdc: 2030112 sectors (1039 MB) w/1KiB Cache, CHS=2014/16/63
hdc: hdc1
116x: driver isp116x-hcd, 03 Nov 2005
USB Universal Host Controller Interface driver v3.0
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
i2c /dev entries driver
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
wbsd: Winbond W83L51xD SD/MMC card interface driver, 1.5
wbsd: Copyright(c) Pierre Ossman
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 152k freed

INIT: version 2.86 booting

Gentoo Linux; http://www.gentoo.org/
Copyright 1999-2006 Gentoo Foundation; Distributed under the GPLv2

Press I to enter interactive boot mode

* Mounting proc at /proc ... [ ok ]
* Mounting sysfs at /sys ... [ ok ]
* Mounting /dev for udev ... [ ok ]
* Seeding /dev with needed nodes ... [ ok ]
* Setting up proper hotplug agent ...
* Using netlink for hotplug events...
[ ok ]
* Starting udevd ... [ ok ]
* Populating /dev with existing devices through uevents ... [ ok ]
* Letting udev process events ... [ ok ]
* Finalizing udev configuration ... [ ok ]
* Mounting devpts at /dev/pts ... [ ok ]
* Checking root filesystem .../dev/hdc1: clean, 11806/126976 files, 50553/253756 blocks
[ ok ]
* Remounting root filesystem read/write ... [ ok ]
* Checking all filesystems ... [ ok ]
* Mounting local filesystems ... [ ok ]
* Mounting USB device filesystem (usbfs) ... [ ok ]
* Activating (possible) swap ... [ ok ]
* Setting system clock using the hardware clock [Local Time] ... [ ok ]
* Configuring kernel parameters ... [ ok ]
* Updating environment ... [ ok ]
* Cleaning /var/lock, /var/run ... [ ok ]
* Cleaning /tmp directory ... [ ok ]
* Device initiated services:
* Setting hostname to bs_root ... [ ok ]
* Loading key mappings ... [ ok ]
* Setting terminal encoding to UTF-8 ... [ ok ]
* Setting user font ... [ ok ]
* Starting lo
* Bringing up lo
[ ok ]
* Adding routes
* ... [ ok ]
* Initializing random number generator ... [ ok ]

INIT: Entering runlevel: 3
[ ok ]
* Starting syslog-ng ... [ ok ]
* Starting eth0
* Configuration not set for eth0 - assuming DHCP
* Bringing up eth0
* dhcp
* Running dhcpcd ... [ ok ]
* eth0 received address
* Starting dropbear ... [ ok ]
* Mounting network filesystems ... [ ok ]
* Starting vixie-cron ... [ ok ]
* Starting local ... [ ok ]

This is bs_root.unknown_domain (Linux i586 2.6.17-gentoo-r5) 21:57:39

bs_root login: hiyuh
Last login: Wed Aug 23 21:45:14 2006 on ttyS0

hiyuh@bs_root ~ $ uname -a
Linux bs_root 2.6.17-gentoo-r5 #1 PREEMPT Wed Aug 23 10:05:52 UTC 2006 i586
Geode(TM) Integrated Processor by National Semi CyrixInstead GNU/Linux

hiyuh@bs_root ~ $ cat /proc/cpuinfo
processor : 0
vendor_id : CyrixInstead
cpu family : 5
model : 9
model name : Geode(TM) Integrated Processor by National Semi
stepping : 2
cpu MHz : 299.730
cache size : 16 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu tsc msr cx8 cmov mmx cxmmx up
bogomips : 609.26

hiyuh@bs_root ~ $ gcc -v 2>&1 | sed -e "s/--/\n\ \ \ \ --/g"
Reading specs from /usr/lib/gcc/i586-pc-linux-uclibc/3.4.6/specs
Configured with: /var/tmp/portage/gcc-3.4.6-r2/work/gcc-3.4.6/configure
Thread model: posix
gcc version 3.4.6 (Gentoo 3.4.6-r2, HTB-3.4.4-1.00, ssp-3.4.6-1.0, pie-8.7.9)

hiyuh@bs_root ~ $ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hdc1 976M 183M 745M 20% /
udev 61M 152K 61M 1% /dev
shm 61M 0 61M 0% /dev/shm

hiyuh@bs_root ~ $ lsmod
Module Size Used by
rtc 8980 0
8139cp 20480 0
8139too 25088 0
mii 5376 2 8139cp,8139too
yenta_socket 24844 0
rsrc_nonstatic 10752 1 yenta_socket
pcmcia_core 38800 2 yenta_socket,rsrc_nonstatic

hiyuh@bs_root ~ $ su
root@bs_root hiyuh # shutdown -h now

Broadcast message from root (ttyS0) (Wed Aug 23 21:58:21 2006):

The system is going down for system halt NOW!

INIT: Switching to runlevel: 0

INIT: Sending processes the TERM signal

* Stopping local ... [ ok ]
* Stopping vixie-cron ... [ ok ]
* Saving random seed ... [ ok ]
* Unmounting network filesystems ... [ ok ]
* Stopping dropbear ... [ ok ]
* Stopping eth0
* Bringing down eth0
* Stopping dhcpcd on eth0 ... [ ok ]
* Shutting down eth0 ... [ ok ]
* Stopping lo
* Bringing down lo
* Shutting down lo ... [ ok ]
* Stopping syslog-ng ... [ ok ]
* Unmounting filesystems ... [ ok ]
* Remounting remaining filesystems readonly ... [ ok ]
System halted.

(Back at localhost)

Poking Geode, no virtual/yacc ATM

例のEmbedded uClibc GentooなGeodeは一応bootした.
シリアルコンソールとかFrame BufferとかdropbearなSSHとか,
man, info, doc抜きで,展開したkernelのソース,ebuildのツリー,
Portageのキャッシュをお掃除して,self update/debugが最低限可能な様に
ベースにするrootfsで無理なダイエットはしないつもり. :)
[The Geode one tentative boots w/ embedded uClibc Gentoo.
But, it needs more pokings for serial console, frame buffer, dropbear SSH or so
which are configured by /etc files.
No man/info/doc stuffs,
cleaning extracted kernel sources/ebuild tree/Portage cache,
to make it keep to update/debug itself, leaving tool chain and gentoo's utils.
Now, its size is about 300MB or so.
Of cource, really iif runtime env which is not madantory ton of headers,
unneeded libs, not normally bins.
And yes, it's not quiet difficult to reduce the size less than 100MB.
But to make binpkg myself is not my taste, duh.
So hardly diet for my base rootfs isn't sane, IMHO. :)]

YACC compatな動作をするので,dev-util/yaccを入れる必要は無いハズ.
今の所,virtual/yaccが無い所為でdev-util/yaccに直接DEPENDしてる. :(
YACC compatなブツは四つ以上有るらしい.
後でbugzillaに貼っとくか,メモメモ. :P
[BTW, when poking sys-apps/pcmcia-cs and sys-apps/pcmciautils,
dev-util/yacc and sys-devel/bison have file collision for these bad dependencies.
These PCMCIA packages have dev-util/yacc as directly DEPEND atom,
but sys-devel/bison was emerged as one of system profle stuffs,
and then "bison -y" is YACC compat, though.
So, it's the fault of no virtual/yacc ATM.
According to #gentoo-dev-help guy,
4 or more YACC compat ones in official ebuild tree.
Hmm, this memo will remind me to need to file virtual/yacc RFC to bugzie. :P]


uClibc stage tarballs, ppc Mac mini

例の仕事で,NS Geode GX1 300MHzなBox PCの為に,
i586-*-linux-uclibc Embedded Gentooなルートファイルイメージを
[I've poked NS geode GX1 300MHz,
to create i586-*-linux-uclibc Embedded Gentoo rootfs.
But, umm, I realized official/experimental tarballs are
pretty old, though.]

0) stage3-x86-uclibc-2005.0.tar.bz2を展開して,
1) sys-apps/portageをアップデートして,
2) /etc/make.confと/var/run/bootstrap-progressをムニャヘニャして,
3) /usr/portage/scripts/bootstrap.sh && emerge -e systemを実行.
多分,古いtoolchainとかのゴミが残るので,お掃除しなきゃなー. :(
[0) Extract stage3-x86-uclibc-2005.0.tar.bz2,
1) Update sys-apps/portage,
2) Poking /etc/make.conf and /var/run/bootstrap-progress,
3) Do /usr/portage/scripts/bootstrap.sh && emerge -e system.
Hmm, some craps even are, need to purge it, though. :(]

で,念願のppc Mac miniを手に入れた.
メモリは512MBだけど,PowerPC G4 1.5GHzで
ATI Radeon 9200 64MBなブツが¥60k弱.
コイツはAthlon Thunderbird 1.2GHzでクタビれてきた奴の代わりにしようっと.
あ,でもdev-util/mercurialなレポジトリ用のサーバにもしたいなー. :)
[BTW, I got a ppc Mac mini.
512MB memory, PowerPC G4 1.5GHz, ATI Radeon 9200 64MB...
It was costed about ¥60k == $550.
Hmm, which is better choice use it as replacement of Athlon
Thunderbird 1.2GHz desktop or new dev-util/mercurial repo serv? :)]

FIX: silly typo on title (taralls -> tarballs)


x11-apps/slim, /me stabs bugzie

[On #gentoo-bugs@FreeNode.net.]
8/18 16:19:00 *
jakub smacks bugzilla
8/18 16:19:30 *
DrEeevil hands jakub the BFH
8/18 16:19:49 jakub
8/18 16:19:51 jeeves
jakub needs to grow up
で,jeevesは淡々とbugzillaの新しいポストを報告するボットだったりする. :P
[Sometimes jakub smacks/stabs bugzie, then jeeves try to make
him calm down.
Yay, jeeves is a really cool bot, though. :P]
8/18 16:23:02 jeeves
[New Bug] http://bugs.gentoo.org/144281 nor, P2, All,
tuna@lyua.org->bug-wranglers@gentoo.org, NEW, pending, pyFltk ebuild
8/18 16:50:01 jeeves
[New Bug] http://bugs.gentoo.org/144283 cri, P2, x86,
csad2635@uibk.ac.at->bug-wranglers@gentoo.org, NEW, pending,
xpaint-2.7.0 fails to compile (libXaw95.a does not exist)
8/18 16:52:02 jeeves
[New Bug] http://bugs.gentoo.org/144284 nor, P2, All,
ethouris@gmail.com->bug-wranglers@gentoo.org, NEW, pending,
dev-tcltk/itcl compilation failed
8/18 16:55:02 jeeves
[New Bug] http://bugs.gentoo.org/144285 nor, P2, All,
niknik79@bossmail.de->bug-wranglers@gentoo.org, NEW, pending,
dev-tex/mpm-2.5.2398_beta14 broken
8/18 16:56:02 jeeves
[New Bug] http://bugs.gentoo.org/144286 nor, P2, x86,
w.pessenhofer@tugraz.at->bug-wranglers@gentoo.org, NEW, pending,
qtiplot 0.8.6-2 (Version bump)
8/18 17:22:01 jeeves
[New Bug] http://bugs.gentoo.org/144287 nor, P2, All,
tuna@lyua.org->bug-wranglers@gentoo.org, NEW, pending, flconvert
あまりにも反応がノロくなると二重投稿が発生する! :(
[Well, BugzieIsAwfulySlowYaBastardDontMakeSoDupeOhNOOOO!!]
8/18 17:23:02 jeeves
[New Bug] http://bugs.gentoo.org/144288 nor, P2, AMD64,
ivashin@ihep.ru->bug-wranglers@gentoo.org, NEW, pending, mit-krb5
ebuild bug
8/18 17:24:03 jeeves
[New Bug] http://bugs.gentoo.org/144289 nor, P2, AMD64,
ivashin@ihep.ru->bug-wranglers@gentoo.org, NEW, pending, mit-krb5
ebuild bug
8/18 17:29:15 jakub
8/18 17:38:26 Caster
8/18 17:38:31 hiyuh
ah, slow....
8/18 17:38:43 jakub
8/18 17:39:15 Caster
hiyuh actually meant: ah, dead....
8/18 17:39:45 jakub
Please stand by ...
8/18 17:39:50 jakub
8/18 17:40:00 hiyuh
hopefully, rebirth...
8/18 17:40:21 Caster
8/18 17:40:26 jakub
Please stand by ...
8/18 17:40:44 Caster
does webmaster@g.o get many mails? because it encourages to spam it :)
8/18 17:40:56 jakub
hmmm... Zero byte response
8/18 17:41:07 jakub
haven't seen that one for some time :P
8/18 17:41:14 hiyuh
8/18 17:42:16 hiyuh
ugh, 500...
8/18 17:44:26 *
hiyuh preps ton of SPAMs.
8/18 17:45:13 Caster
the page should tell you to mail infra@ though
8/18 17:46:12 jakub
junk, junk, junk...
8/18 17:46:13 hiyuh
it sounds like a misconfiguration :P
んー,固まるなー. :(
[Why does ya bastard so freeze?! :(]
8/18 20:34:35 hiyuh
bleh, dead again!?
8/18 20:35:35 dragonheart
damnit - I was going to put in a recruitment bug too
8/18 20:36:18 DrEeevil
8/18 20:36:26 DrEeevil
bugzie say "nooo!" ;-)
8/18 20:36:31 *
hiyuh stabs.
8/18 20:36:56 *
DrEeevil hands hiyuh the BFH
8/18 20:40:02 genstef
it is even more frustrating to see that there is a patch in bugzilla
to fix it but they are unable to apply it :(
8/18 20:40:24 jakub
8/18 20:40:56 DrEeevil
8/18 20:41:01 DrEeevil
it's less than 20 lines
やっぱメインメモリ共有なチップはダメだな. :P
[That's why I stabed bugzie, I'd try to install bootsplash and login
maneger to the Pentium-M's one.
So, I poked sys-apps/qingy, but dev-libs/DirectFB and
vesafb/vesafb-tng/i810fb/intelfb make me choke.
So, a video chip which has no real own vram would be pretty bad. :P]

勿論,いつもの如くcompilation waringsを鬼fixしたから. :P
[Then, I found SLiM.
So, it should fix compilation warnings completely w/ my code audit. :P]
Gentoo Bugzilla #107526

そしてupstreamを突っつく. :P
が,パッチを貼っ付けるべき所にコメントして仕舞ったー. :(
[Of cource, poking upstream is Gentooism. :P
Bah, I've mis-posted that my comment as patch, though. :(]
SLiM Patches #001358
8/18 21:23:17 hiyuh
Bleh, BerliOS' interface sucks...
8/18 21:23:48 DrEeevil
somebody donate me the hardware and pay my rent and I'll build
a replacement
8/18 21:24:17 jakub
hiyuh: s/interface// :P
8/18 21:24:38 hiyuh
ま,結局笑って誤魔化すケドなー. :P
[Hopefully, no one blames me. :P]


Eng"r"ish, ~x86 on Pentium-M

[On #gentoo-ppc@FreeNode.net]
8/16 20:22:17 zoidberg
hey guys
8/16 20:22:30 zoidberg
i'm wondering if someone can help me answer a few questions
8/16 20:22:31 zoidberg
8/16 20:22:34 zoidberg
anyone out there?
8/16 20:24:54 zoidberg
hey is there anyone out there who can help me out?
8/16 20:25:48 zoidberg
anyone out there?
8/16 20:26:01 hiyuh
zoidberg: please, don't ask to ask. just ask, then someone will
8/16 20:26:17 zoidberg
8/16 20:26:25 zoidberg
well i have never used Gentoo before
8/16 20:26:40 zoidberg
i have a G3 lombard Powerbook 333mhz 64 mb ram
8/16 20:26:48 zoidberg
i got Ubuntu badger to work on it
8/16 20:27:06 zoidberg
i tried breezy but breezy doesnt support G3 powerpcs
8/16 20:27:26 zoidberg
so i tried installing badger again and i get this white screen when
its partitioning the disk
8/16 20:28:07 zoidberg
anyways i dunno if anyone here can help me out with that particular
problem...but i was wondering if you guys can tell me how efficient
will Gentoo-ppc be on my machine
8/16 20:28:07 zoidberg
8/16 20:30:01 zoidberg
can anyone help me out?
8/16 20:30:19 hiyuh
zoidberg: Unfortunately, I haven't poked G3, sorry. :(
8/16 20:30:23 hiyuh
but IIRC, G3 guys may be. be patient.
8/16 20:30:51 zoidberg
8/16 20:31:14 zoidberg
hiyuh, i'm not sure i understand what you just said
8/16 20:32:08 hiyuh
zoidberg: sorry, I'm jap. if you couldn't understand what I said,
please just ignore. :P
8/16 20:32:19 zoidberg
8/16 20:34:04 *
hiyuh speaks Eng"r"ish.
8/16 20:36:29 zoidberg
久しぶりに言っている事が訳分からんと笑われた. :P
['Key, my English definitely Eng"r"ish. :P]

そろそろ,新しいリリースが必要ですな. :)
[BTW, I've poked Pentium-M lappy as ~x86 Gentoo for the dev env.
2006.0 forces me to update the toolchain 2 times.
Hmm, it needs to new release. :)]


Embedded newbies are...

[Maybe, it's fault of summer vacation?]
8/15 18:18:02 Sante
Hi all
8/15 18:18:14 Sante
i am working in a fakeroot environment trying to compile something
video related (NMM)
8/15 18:18:20 Sante
it says im missing a library called ltdl
8/15 18:18:25 Sante
so i installed libtool-1.5.22
8/15 18:18:32 Sante
i am using a powerpc architecture so when i run ./configure i use
CC=ppc-gcc CXX=ppc-g++ --arch=ppc
8/15 18:18:38 Sante
then run make and make install
8/15 18:18:42 Sante
and it appears fine
8/15 18:18:48 Sante
but when i run file library it says Intel 80386
8/15 18:18:48 Sante
Sante anyone could help me as to what I am doing wrong ?
8/15 18:18:48 Sante
Sante .............. anyone awake ?
8/15 18:18:55 Sante
sorry wrong paste
8/15 18:19:16 Sante
so any1 kno anything to help me out ??
8/15 18:22:36 mmp
Sante: when the compilation starts, you see that make calls 'ppc-gcc',
or just 'gcc?
8/15 18:23:00 Sante
8/15 18:25:15 mmp
hmm, and if you do file *.o in the build directory, the files are
ppc or 386 ones?
8/15 18:25:34 *
mmp wonders how could be ppc files linked into 386 executable
8/15 18:26:12 Sante
hang on
8/15 18:28:01 Sante
the build directory, u mean the directory in which the files are
8/15 18:28:16 Sante
ie usr/local/lib?
8/15 18:30:37 jooopy
Hi, yesterday I had a problem and until today I didn't solve
it. When trying to bootstrap stage1 uclibc I get the error right
at the strat of the process: * Executing: emerge --oneshot -p -v
virtual/os-headers sys-apps/texinfo sys-devel/binutils sys-devel/gcc
virtual/libc virtual/baselayout sys-libs/zlib ------ These are the
packages that I would merge, in order: ----- Calculating dependencies
|!!! Cannot resolve a virtual p
8/15 18:32:16 mmp
Sante: where you build the sources, where are the object files
8/15 18:32:36 mmp
Sorry that I did not write it more clear...
8/15 18:35:32 Sante
the object file is POWERPC
8/15 18:37:48 jooopy
is the http://www.bulah.com/embedded-guide.html should work? Are
ppl here have experience with it?
8/15 18:37:54 hiyuh
Sante: to use more sane CHOST/CTARGET/CBUILD is worth to consider,
8/15 18:38:06 hiyuh
Sante: and then, -I$target_incdir -L$taregt_libdir could help. but
some apps'/libs' configure script sucks x-compile.
8/15 18:38:24 jooopy
I also have something I don't understand
8/15 18:38:41 *
theBear doesn't understand many things
8/15 18:39:12 jooopy
If I run on the host system : ROOT="/tmp/minime" USE="make-symlinks"
emerge uclibc busybox baselayout-lite dropbear
8/15 18:39:36 jooopy
This should make an image, or I need more steps?
8/15 18:40:09 hiyuh
jooopy: nope, virtual/* will be provided by installed packages,
IIRC. don't emerge explicitly these virutal stuffs.
8/15 18:40:14 Sante
8/15 18:40:50 Sante
what do u mean by CHOST/CTARTGET/CBUILD
8/15 18:41:22 jooopy
hiyuh: How do I know what are the virtual stuffs?
8/15 18:41:38 theBear
the category is virtual/
8/15 18:41:39 jooopy
hiyuh: I just ran ./bootstrap
8/15 18:42:34 jooopy
hiyuh: should I block libiconv in /etc/portage/packages.mask ?
8/15 18:43:12 hiyuh
jooopy: the sources always with you. :P
8/15 18:43:43 Sante
hiyuh: i dont understand the CHOST stuff, and what u wrote next
8/15 18:44:44 hiyuh
jooopy: sound like you're trying to build from stage1?
8/15 18:45:26 jooopy
hiyuh: yep, but I don't realy have to. I just follow
8/15 18:45:38 jooopy
hiyuh: Should I start from stage 3?
8/15 18:46:17 jooopy
hiyuh: can you refer me to a good howto ?
8/15 18:47:54 hiyuh
jooopy: first of all, see the
topic. http://arcanux.org/guidexml/cross-development.html
8/15 18:48:30 jooopy
8/15 18:49:25 hiyuh
Sante: you should read env-ver section in this documents.
8/15 18:49:48 Sante
8/15 18:49:55 Sante
ehmm which documents?
8/15 18:50:00 Sante
http://arcanux.org/guidexml/cross-development.html ?
8/15 18:50:05 hiyuh
8/15 18:50:25 Sante
im not using gentoo btw
8/15 18:50:30 Sante
but ill have a look
8/15 18:53:20 hiyuh
Sante: except some commands in this document, these info are common
knowledge of x-development, IMHO.
8/15 18:54:49 Sante
8/15 18:55:09 Sante
i still dont really get my problem, i mean it appears to be compiling
8/15 18:55:26 Sante
can i show u the ./config and make dumps ? maybe u can help me out
8/15 18:57:37 hiyuh
Sante: of cource, you can show us. but I cann't bet you expext. :P
8/15 18:58:08 hiyuh
8/15 18:58:12 Sante
8/15 18:59:05 Sante
8/15 18:59:08 Sante
thats configure
8/15 18:59:39 Sante
and make
8/15 18:59:40 Sante
8/15 19:04:15 Sante
any idea ?
8/15 19:08:07 hiyuh
Sante: hmm? it looks libtool installing is ok. then, you mean you
couldn't link target libs?
8/15 19:15:35 Sante
i mean
8/15 19:15:49 Sante
when i try to compile my app it says ltdl not found
8/15 19:21:46 hiyuh
hmm? so, ltdl is "libltdl.{a,so}" as your target lib?
8/15 19:29:31 hiyuh
Sante: FYI, this is "locate ltdl" result of my ~ppc gentoo (but
notice, only self compilation tools was installed).
8/15 19:30:02 hiyuh
8/15 19:30:25 hiyuh
So, if your apps need to link libltdl.{so,a}, you should do like that.
8/15 19:30:38 hiyuh
1) compile it with "-I$inc_dir", $inc_dir is where target's ltdl.h is.
8/15 19:30:41 hiyuh
2) link it with "-L$lib_dir -lltdl", $lib_dir is where libltdl.{so,a}
8/15 19:31:24 hiyuh
maybe, you should check step 2), IMHO.
8/15 19:48:44 Sante
8/15 19:48:56 Sante
at what step do I link with -L$lib_dir -lltdl"
8/15 19:48:57 Sante
8/15 19:49:23 Sante
and i dont have libltdl.so
8/15 19:49:49 Sante
only .a
8/15 19:50:00 Sante
when i compile with standard gcc i get the .so aswell
8/15 19:50:07 Sante
hiyuh: is that normal ?
8/15 20:33:35 hiyuh
Sante: *.a is an "ar archive" for static link. *.so is "shared object"
for dynamic link... if you specfied to build only "ar archive"
or your x-compiler can only build static ones, it is normal.
8/15 20:34:27 Sante
ah ok
8/15 20:34:37 Sante
then my compiler can only do static ones
8/15 20:35:05 Sante
but why does my app complain that ltdl is not installed then ?
8/15 20:40:22 hiyuh
Sante: nope, it may be not your apps' fault. to link is to working
of linker as a part of toolchain...
8/15 20:40:35 Sante
hmm ok
8/15 20:40:37 hiyuh
in static link case, libltdl.a should be linked when it was build,
and it's in $lib_dir was specfied -L option. and then you need
-static as well.
8/15 20:40:50 Sante
hang on
8/15 20:40:52 Sante
where do i do this ?
8/15 20:42:47 hiyuh
sane fixing is poking *.{in,am,ac} or so. otherwise, poking Makefile
or manually link it where it failed, IMHO.
8/15 20:43:27 Mimil
hi all
8/15 20:44:07 Sante
8/15 20:44:08 Sante
8/15 20:44:28 Sante
8/15 20:44:58 hiyuh
教訓: マニュアルとドキュメントを読みましょう. :P
[L: Do read the fine manuals/documents. :P]


CQpub.karma == DesignWave.price?

#ep93xx@FreeNode.netにて,CQ出版社についてムニャる. :P
[Talking about CQ pub w/ the folks on #ep93xx@FreeNode.net. :P]
8/14 18:29:55 jcath
8/14 18:36:37 lennert
8/14 18:36:52 koen
8/14 18:37:54 lennert
8/14 18:40:43 hiyuh
8/14 18:40:58 jcath
8/14 18:41:10 hiyuh
8/14 18:46:49 jcath
hiyuh, do you know "CQ publishing house
8/14 18:46:53 jcath
in Japan
8/14 18:47:34 jcath
it publishs some very good books and magazines
8/14 18:49:43 hiyuh
jcath: yeah, it's famous and practical.
8/14 18:52:15 hiyuh
well, silly japanese only... http://www.cqpub.co.jp/
8/14 18:52:17 jcath
but all in japanese :(
8/14 18:54:42 jcath
I ream some article before
8/14 18:54:45 jcath
really good
8/14 18:55:17 jcath
but I dont know japanese, so, just guess with the waveform and
schematic figure
8/14 18:55:55 lennert
8/14 18:56:08 lennert
by that definition, i can read chinese too :)
8/14 18:56:54 hiyuh
well, but, please don't blame me. :P
8/14 18:57:38 jcath
:) just think of that and tell u, hiyuh
8/14 18:57:56 hiyuh
8/14 18:58:55 lennert
noone blames you :)
8/14 19:00:16 jcath
is the magazine"design wave" expensive ?
8/14 19:03:55 hiyuh
bit of expensive WRT its thickness. but sometime it comes with nice
supplement like sample board (a tiny CPU and FPGA or so).
[Well, any pub like CQ doesn't be at overseas?]



C++が気に入らなくて,現実逃避でK&R 第二版を読み直してたら,
で,bison/flex (yacc/lex)が使いたくなってきた.
無謀にも少しモニョってみる...つもり. :P
[C++ seems stab me.
So, I did cop-out w/ rereading K&R SE.
Then, I realized its appendix is bit of interesting.
It makes me proceed bison/flex (yacc/lex) way.
Well, a kamikaze plan is... but it's just for fun. :P]


memo of autoconf-2.60 bugs.

  • */*-svnなパッケージとかでautogen.shを使っているブツ.
    inherit autotoolsでeautoreconfを使って,autogen.shは使わない.

  • ${S}/m4な感じでm4マクロが分かれているブツ.
    inherit autoconfでAT_M4DIR=${S}/m4 eautoreconf.

[A memo of autoconf-2.60 stupidness...
  • kinda */*-svn packages or so which uses autogen.sh.
    inherit autotools and use eautoreconf, instead of autogen.sh.

  • has ${S}/m4 as modulized m4 macros.
    inherit autoconf and use AT_M4DIR=${S}/m4 eautoreconf.

このブツがautoconf-2.60で"プチ"壊れていますのでヨロシク. :)
[@cjk devs, please fix this silly autoconf-2.60 bugs. :)]
Bug #143053


autoconf_2_60.karma--; or so

Gentoo on PowerBookのemerge -e worldを走らせていた.
[Still poking BCB ones.
Beside that, my PB heats to emerge -e world.
Then, seems sys-devel/autoconf-2.60 makes some
b0rked it.]
(Snippet log of #gentoo-bugs@FreeNode.net)
8/03 11:54:37 hiyuh
grr, autoconf_2_60.karma--;
8/03 12:07:09 dragonheart
hiyuh: thanks for the reminder (-commits)
8/03 12:07:19 dragonheart
hiyuh: how has it broken your life?
8/03 12:44:41 hiyuh
dragonheart: I guess sort of that. but half of
my breakages is in my own ebuilds (unofficial ones).
8/03 12:44:50 hiyuh
I'll try to figure each casus out,
then poke upstream or bugzie.
と言う事で,もう少し弄ってみる事にする. :)
[K, need a bit of to poke it. :)]

で,例のモノはまだ色々dead lockするパターンが...
(Snippet log of #ep93xx@FreeNode.net)
8/03 17:20:30 *
hiyuh got some dead lockings in his stupid threads
8/03 17:44:00 *
lennert replaces all of hiyuh's locks by nops and
solves the problem :)
8/03 17:45:47 koen
mov r0,r0?
8/03 17:47:44 hiyuh
8/03 17:50:11 lennert
koen: that's the one
こっちも頑張らねば. :(
[Hmm, all I can do is only to code it, though. :(]


hg2svn.tailor, BCB.PITA++;

dev-util/tailor...使い方がヨクワカラン. :P
[dev-util/tailor... it makes me messy. :P
Well, that must depend on my ignorance about
subversion repository structure and scheme or so.
Some bad things are...]
verbose = True

target = svn:default-target
start-revision = INITIAL
root-directory = /tmp/commit_dir
state-file = hg2svn.tailor.state
source = hg:default-source
subdir = svn_co
patch-name-format =

module = /
repository = /usr/local/portage

module = /trunk
repository = file:///tmp/commit_dir/svn_repos
カウンタの上限を上げてcut and tryって,美しくねぇー. :P
[The stupid BCP progs, that makes me really cofuse.
"An operational well-evaluated hash function
for event queuing which has a time limimt"?
Its implementation is,
* Count up crappy global var with a defined maximum value.
* Lock it with dirty mutexing to prevant accessing conflicts.
* If the rage hash value was too narrow, redefine its maxmum value.
For define that maximum value, to cut and try is the way to evaluation.
Bleh, it makes me.code.karma--; :P]

やべー,納期がー,あー,納期がー. :P
[And then, it required no dead-locking push/pull/find
functionalities for bi-directional list...
Oh, well, there're some dead-locks, here's some dead-lines. :P]