I have built LFS-7.2 and have added packages
according to a version of the BLFS book that
says it is compatible with LFS-7.2. I have
installed Xorg-7.7 along with the required
and recommended dependencies. When I start
Xorg I observe some strange behavior, I
am hoping somebody can give me an idea why
this occurs and how I might prevent it.

The first thing is that after I start X,
I intermittently get a window-full of
messages like this:

----------------------------------------
OS Function mkdir declared
OS Attempting to declare FFI  mkstemp
OS Function mkstemp declared
OS Attempting to declare FFI  open
OS Function open declared
OS Attempting to declare FFI  opendir
OS Function opendir declared
OS Attempting to declare FFI  pread
OS Function pread declared
OS Attempting to declare FFI  pwrite
OS Function pwrite declared
OS Attempting to declare FFI  read
OS Function read declared
OS Attempting to declare FFI  readdir
OS Function readdir declared
OS Attempting to declare FFI  rename
OS Function rename declared
OS Attempting to declare FFI  rmdir
OS Function rmdir declared
OS Attempting to declare FFI  splice
OS Function splice declared
OS Attempting to declare FFI  strerror
OS Function strerror declared
OS Attempting to declare FFI  symlink
OS Function symlink declared
OS Attempting to declare FFI  truncate
OS Function truncate declared
OS Attempting to declare FFI  unlink
OS Function unlink declared
OS Attempting to declare FFI  write
OS Function write declared
OS Attempting to declare FFI  pipe
OS Function pipe declared
--------------------------------------

I am guessing this is related to
libffi-3.0.11, which I installed as
a recommended dependency of LLVM-3.1,
which in turn was a recommended dependency
of MesaLib-9.0. Any ideas why I am getting
this?
In case it is any help, here is my
.xinitrc file:

--------------------------------------------
xsetroot -solid rgb:50/50/75
xsetroot -cursor_name top_left_arrow
#xterm -g 640x440+0+0 &
#xterm &
xterm -g 200x50+0+0 &
#xclock -d -strftime "%l:%M %P" -g 70x20-158+462 -padding 0 -update 15 
-fg white -bg black &
xclock -d -strftime "%l:%M %P" -g 70x20-20-0 -padding 0 -update 15 -fg 
white -bg black &
twm
#End file .xinitrc
--------------------------------------------

The second thing that happens is when I try to
set up a firewall using iptables so that local
messages even from 127.0.0.1 are not accepted.
I did this in LFS-6.2 without any apparent
problems, and in fact one of the HOWTO's
suggests that you do this. However when I
block local messages I get the following when
I type startx:

---------------------------------------------------
[ 3886.542624] FIREWALL:INPUT IN=lo OUT= 
MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00 SRC=127.0.0.1 
DST=127.0.0.1 LEN=53 TOS=0x00 PREC=0x00 TTL=64 ID=47598 DF PROTO=UDP
SPT=34531 DPT=53 LEN=33
[ 3886.557503] FIREWALL:INPUT IN=lo OUT= 
MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00 SRC=127.0.0.1 
DST=127.0.0.1 LEN=53 TOS=0x00 PREC=0x00 TTL=64 ID=47599 DF PROTO=UDP
SPT=34531 DPT=53 LEN=33
[ 3891.577950] FIREWALL:INPUT IN=lo OUT= 
MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00 SRC=127.0.0.1 
DST=127.0.0.1 LEN=53 TOS=0x00 PREC=0x00 TTL=64 ID=47600 DF PROTO=UDP
SPT=34531 DPT=53 LEN=33
[ 3891.594048] FIREWALL:INPUT IN=lo OUT= 
MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00 SRC=127.0.0.1 
DST=127.0.0.1 LEN=53 TOS=0x00 PREC=0x00 TTL=64 ID=47601 DF PROTO=UDP
SPT=34531 DPT=53 LEN=33
---------------------------------------------------

This occurs before X actually starts, and I keep getting these
messages until I type Ctrl-C. At that point Xorg seems to start
up normally. Is there any way I can avoid this (other than
allowing local messages to get through the firewall)?

Thanks for any insight,

Richard


-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to