NFS + update-menus will cause problems?

2002-06-27 Thread leoboiko
Our application server is running sid (ok, I know this is risky).
Some weeks ago  we changed the root filesystem to a NFS partition. Now
the menu utilities aren't working. I tried to reinstall the menu
package; the script hangs in update-menus. These are the last strace
lines: 

stat64(/var/lib/dpkg/info/menu.postinst, {st_mode=S_IFREG|0755,
st_size=677, ...}) = 0
fork()  = 4673
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}, 8) = 0
wait4(4673, open(/var/lib/dpkg/lock, O_RDWR|O_CREAT|O_TRUNC, 0660) = 3
fcntl64(3, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
fcntl64(3, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
close(3)= 0
getuid32()  = 0
open(/var/run/update-menus.pid, O_WRONLY|O_CREAT, 0644) = 3
flock(3, LOCK_EX|LOCK_NB)   = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

And the script keep waiting... the file /var/run/update-menus.pid
is created without any problems. The manpage for  flock(2) says it 
doesn't work over NFS, maybe there is a relation?
Running gdb /usr/bin/update-menus, I get:

(gdb) break flock
Breakpoint 1 at 0x804a58c
(gdb) r
Starting program: /usr/bin/update-menus 
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...Breakpoint 1 at 0x401475c0
(no debugging symbols found)...
Breakpoint 1, 0x401475c0 in flock () from /lib/libc.so.6
(gdb) n
Single stepping until exit from function flock, 
which has no line number information.
0x08068ad3 in strcpy ()
(gdb) n
Single stepping until exit from function strcpy, 
which has no line number information.

Program received signal SIGSEGV, Segmentation fault.
0x4004101a in ostream::operator () from
/usr/lib/libstdc++-libc6.2-2.so.3

Can anyone help? I'm lost...
Note: Please CC me.
-- 
Leonardo Boiko
 It is my firm believe that it is a mistake to hold firm beliefs


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Configurar X-server no Woody

2002-05-30 Thread leoboiko
 Após ter aprendido muito no potato, resolvi migrar pro
 woody. 
 tudo tranquilo. Somente o modo grafico nao entra. 

 (**) stands for supplied, (--) stands for
 probed/default values (--) no ModulePath specified
 using default: /usr/X11R6?lib/modules dbe: Unknown
 error loading module
 Config Error: /etc/X11/SF86Config:48
 SubSection extmod
 Module section Keyword expected
 giving up.
 xinit: Connection refused (erro 111): unable to
 correct to X server
 xinit: No such process (erro 3): Server error
Talvez você estivesse usando X 3.3 e ao migrar para Woody passou para
4.1. O formato do arquivo de configuração é diferente. Já tentou
dpkg-reconfigure xserver-xfree86?

-- 
Leonardo Boiko
Doko ni datte, hito wa tsunagatte iru.
(No matter where, people are all connected)
-Lain


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Apt e dependências

2002-05-15 Thread leoboiko
Tenho uma dúvida sobre o apt. Suponha que o pacote foo dependa de quinze
bibliotecas. Eu dou um apt-get install foo e instalo todas as
bibliotecas. Mais tarde, eu canso do foo e dou um apt-get remove foo.

As quinze bibliotecas seriam removidas automaticamente? Se não, existe algum
comando para remover todas as bibliotecas inúteis, isso é, que não
estão sendo utilizadas por nenhum pacote instalado?
-- 
Leonardo Boiko
Doko ni datte, hito wa tsunagatte iru.
(No matter where, people are all connected)
-Lain


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Placa AGP SiS

2002-05-15 Thread leoboiko
 Gostaria de saber se mais alguém tem uma placa da SiS. Eu consegui
 configurar o suporte a AGP no kernel (2.4.18), mas não o DRI; sempre que
 habilito o DRM para placas SiS tenho um erro na hora da compilação. Pra 
 piorar, parece que a opção SiS simplesmente não existe no DRM do 2.5.15.
Olá, 
acabei de descobrir o problema nos arquivos de outra lista:

 Is there any obvious reasons why this isn't compiling?
Try compiling with SiS framebuffer device (CONFIG_FB_SIS and
CONFIG_FB_SIS_300 or CONFIG_FB_SIS_315) activated... the SiS DRI driver
needs it... don't ask me why ;)

Setando o framebuffer o kernel compilou sem problemas. Mistérios...
-- 
Leonardo Boiko
Doko ni datte, hito wa tsunagatte iru.
(No matter where, people are all connected)
-Lain


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]