Re: [Vserver] Problem to build util-vserver on ia64.

2005-04-24 Thread Enrico Scholz
[EMAIL PROTECTED] (Ola Lundqvist) writes:

> lib_internal/unify-copy.c: In function `copyMMap':
> lib_internal/unify-copy.c:142: error: `MADV_SEQUENTIAL' undeclared (first use 
> in this function)

mmh... a dietlibc issue

http://cvs.fedora.redhat.com/viewcvs/devel/dietlibc/dietlibc-0.28-madv.patch?root=extras&rev=HEAD&view=auto

should fix it. I will report it upstream tomorrow.



Enrico


pgpgf8YHmHIwl.pgp
Description: PGP signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Problem to build util-vserver on ia64.

2005-04-24 Thread Ola Lundqvist
Hello

I checked the build status of util-vserver on Debian today and
found out that it do not successfully compile on ia64 arch.

The cause is this:
...
then mv -f 
"lib_internal/.deps/lib_internal_libinternal_diet_a-matchvserverinfo-init.Tpo" 
"lib_internal/.deps/lib_internal_libinternal_diet_a-matchvserverinfo-init.Po"; 
else rm -f 
"lib_internal/.deps/lib_internal_libinternal_diet_a-matchvserverinfo-init.Tpo"; 
exit 1; fi
if diet -Os gcc -DHAVE_CONFIG_H -I. -I. -I.  -I ./lib -I ./ensc_wrappers 
-D_GNU_SOURCE -D_REENTRANT -DNDEBUG -DNDEBUG   -Wall -g  -O2 -std=c99 -Wall 
-pedantic -W -MT lib_internal/lib_internal_libinternal_diet_a-unify-copy.o -MD 
-MP -MF "lib_internal/.deps/lib_internal_libinternal_diet_a-unify-copy.Tpo" -c 
-o lib_internal/lib_internal_libinternal_diet_a-unify-copy.o `test -f 
'lib_internal/unify-copy.c' || echo './'`lib_internal/unify-copy.c; \
then mv -f "lib_internal/.deps/lib_internal_libinternal_diet_a-unify-copy.Tpo" 
"lib_internal/.deps/lib_internal_libinternal_diet_a-unify-copy.Po"; else rm -f 
"lib_internal/.deps/lib_internal_libinternal_diet_a-unify-copy.Tpo"; exit 1; fi
lib_internal/unify-copy.c: In function `copyMMap':
lib_internal/unify-copy.c:142: error: `MADV_SEQUENTIAL' undeclared (first use 
in this function)
lib_internal/unify-copy.c:142: error: (Each undeclared identifier is reported 
only once
lib_internal/unify-copy.c:142: error: for each function it appears in.)
make[3]: *** [lib_internal/lib_internal_libinternal_diet_a-unify-copy.o] Error 1
make[3]: Leaving directory `/build/buildd/util-vserver-0.30.206'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd/util-vserver-0.30.206'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd/util-vserver-0.30.206'
make: *** [build-stamp] Error 2

You can see the full build log at:
http://buildd.debian.org/fetch.php?&pkg=util-vserver&ver=0.30.206-3&arch=ia64&stamp=1113943529&file=log&as=raw

Regards,

// Ola

-- 
 - Ola Lundqvist ---
/  [EMAIL PROTECTED] Annebergsslingan 37  \
|  [EMAIL PROTECTED] 654 65 KARLSTAD  |
|  +46 (0)54-10 14 30  +46 (0)70-332 1551   |
|  http://www.opal.dhs.org UIN/icq: 4912500 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


RE: [Vserver] Strange error while trying to remove a symlink

2005-04-24 Thread Francois Duchatelet
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I found showattr, but in util-verver-0.28, it is not in the path.

>   showattr -d /mnt/raidbak1/vservers/rostst1/opt
>   showattr /mnt/raidbak1/vservers/rostst1/opt/de*
This version doesn't understand the '-d' option

[EMAIL PROTECTED] rostst1]# /usr/lib/util-vserver/showattr opt
opt 
[EMAIL PROTECTED] rostst1]# /usr/lib/util-vserver/showattr opt/de?
opt/de0 
opt/dev 


> 
> what does a forced e2fsck report?
> do you have any unusual/related messages in the syslog/klog/dmesg?
>
- -
e2fsck 1.35 (28-Feb-2004)
Warning!  /dev/md2 is mounted.
Warning: skipping journal recovery because doing a read-only filesystem
check.
/mnt/raidbak1 has gone 197 days without being checked, check forced.
Pass 1: Checking inodes, blocks, and sizes
Deleted inode 1147044 has zero dtime.  Fix? no

Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences:  -10276960 -17629719 -19398662
+(22054301--22054302)
Fix? no

Free blocks count wrong for group #313 (12061, counted=12060).
Fix? no

Free blocks count wrong for group #538 (1, counted=0).
Fix? no

Free blocks count wrong for group #592 (2, counted=1).
Fix? no

Free blocks count wrong for group #673 (3811, counted=3813).
Fix? no

Free blocks count wrong (9771796, counted=9771795).
Fix? no

Inode bitmap differences:  -1147044 -8732779 +8732780
Fix? no


/mnt/raidbak1: ** WARNING: Filesystem still has errors **

/mnt/raidbak1: 328387/20447232 files (0.6% non-contiguous),
31115612/40887408 blocks
- -

I did a 'no fix' run to check and indeed the filesystem is damaged.
I'll do a fix run later, but I have to stop all the vservers.
Any pointer about how to interpret that output ?

dmesg shows that we have lost a member of the raid hosting the partition in
question. That may explain why we have errors on the disk.

I'll have this replaced, and have the errors fixed.

I'll let you know if this solves the problem.

Thanks anyway


François Duchatelet,
Mobile:+32(486)13.07.85
Mobile:+31 (6) 47044881
 


-BEGIN PGP SIGNATURE-
Version: PGP 8.0.3

iQA/AwUBQmvDCuXix9dFBcbpEQKD7QCg9Nmx4FdzEZ9E6DUUkR3NWn0Of8IAnRAm
Tvw4V6Mw/B+wcjNgpPchUldd
=0NqF
-END PGP SIGNATURE-


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver