Vern Sun wrote:
I am porting etch graphic installer to a mips based Desktop system
(Lemote/Fulong[1]) and am having a problem running dfbinfo.
== Crash problem when dfbinfo is running in chroot jail.
But it works fine without a chroot.
------------------------------------------
/dev# /usr/lib/directfb-0.9.25/bin/dfbinfo
...
(!) [ 4618: 0.218] --> Caught signal 6 (unknown origin) <--
(-) [ 4618: -STACK- ]
#0 0x2abb3000 in ?? () from /usr/lib/libdirect-0.9.so.25
#1 0x2abbb33c in direct_thread_cancel () from /usr/lib/libdirect-0.9.so.25
#2 0x2c5bd5e0 in ?? () from
/usr/lib/directfb-0.9.25/inputdrivers/libdirectfb_keyboard.so
#3 0x2ab39d30 in ?? () from /usr/lib/libdirectfb-0.9.so.25
#4 0x2ab2e41c in dfb_core_part_shutdown () from
/usr/lib/libdirectfb-0.9.so.25
#5 0x2ab2cb10 in ?? () from /usr/lib/libdirectfb-0.9.so.25
#6 0x2ab2cdec in ?? () from /usr/lib/libdirectfb-0.9.so.25
#7 0x2ab8da50 in fusion_arena_exit () from /usr/lib/libfusion-0.9.so.25
#8 0x2ab2c308 in dfb_core_destroy () from /usr/lib/libdirectfb-0.9.so.25
#9 0x2aae5fb4 in IDirectFB_Destruct () from /usr/lib/libdirectfb-0.9.so.25
#10 0x2aae6160 in ?? () from /usr/lib/libdirectfb-0.9.so.25
#11 0x00400c6c in main () from /usr/lib/directfb-0.9.25/bin/dfbinfo
(-) [ 4621: -STACK- 'VT Switcher']
#0 0x2ad8a9b4 in ?? () from
/usr/lib/directfb-0.9.25/systems/libdirectfb_fbdev.so
(-) [ 4624: -STACK- 'Keyboard Input']
#0 0x2c5bdb84 in ?? () from
/usr/lib/directfb-0.9.25/inputdrivers/libdirectfb_keyboard.so
--------------------------------------------
The complete log here: [2].
== Here are the steps I am going through.
. Build udebs needed
---------------------------
/directfb# cat DirectFB-0.9.25.1/debian/rules
...
../configure \
--prefix=/usr \
--bindir=\$${libdir}/directfb-$(version_abi)/bin \
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
--with-gfxdrivers=radeon \
--enable-debug \
--disable-sdl \
--disable-x11 \
--disable-vnc \
--disable-gif \
--disable-jpeg \
--disable-mpeg2 \
--disable-unique \
--disable-video4linux \
--disable-mmx \
--disable-sse
---------------------------
. Make the initrd.gz
---------------------------
/debian-installer/build# ...
/debian-installer/build# fakeroot make build_decstation_gtk
---------------------------
. In chroot jail
---------------------------
~# debian-installer-startup
~# cd /dev
/dev# mknod fb0 c 29 0
/dev# mknod tty c 5 0
/dev# mknod tty0 c 4 0
/dev# mknod tty7 c 4 7
/dev# mknod tty8 c 4 8
/dev# ls
console fb0 log net ppp shm stderr stdout tty0
tty8
core fd loop null pts sndstat stdin tty tty7
/dev# fbset -i
mode "1680x1050-60"
# D: 146.263 MHz, H: 65.296 kHz, V: 59.960 Hz
geometry 1680 1050 1680 1050 8
timings 6837 280 104 30 3 176 6
hsync high
rgba 8/0,8/0,8/0,0/0
endmode
Frame buffer device information:
Name : ATI Radeon QZ
Address : 0x14000000
Size : 16777216
Type : PACKED PIXELS
Visual : PSEUDOCOLOR
XPanStep : 8
YPanStep : 1
YWrapStep : 0
LineLength : 1728
MMIO Address: 0x16040000
MMIO Size : 16384
Accelerator : ATI Radeon family
/dev# cat /etc/directfbrc
#no-hardware
bg-color=ffdcdad5
screenshot-dir=/var/log
#disable-module=keyboard
#disable-module=ps2mouse
#disable-module=linux_input
log-file=/var/log/directfb.log
--------------------------------
Any ideas? Thanks in advance.
BTW.. have you tried disabling the radeon module
(disable-module=keyboard) or the hw acceleration at whole (no-hardware)
? Our past experience with DFB on non-i386 archs is that hw acceleration
often fails.
regards
Attilio
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]