Re: [gentoo-user] Xorg crashing when PC wake up from suspend-to-ram

2008-06-25 Thread Wael Nasreddine
This One Time, at Band Camp, Wael Nasreddine <[EMAIL PROTECTED]> said, On Mon, 
Jun 23, 2008 at 01:48:29PM +0200:
> Hey guys,

> When my PC wakes up from suspend-to-ram, X crashes, my video card is
> an intel 945GM.

> In ubuntu it works, I tried using Ubuntu's hal-info folder and I
> patched my Intel driver with all ubuntu patches but the problem still
> here, I can't figure out what is going on... I need a little help
> please...

> Xorg.0.log attached...
> /etc/X11/xorg.conf attached...

> Kernel-2.6.25-sabayon-r1 (config Attached)
> x11-base/xorg-server-1.4.2
> x11-drivers/xf86-video-i810-2.3.2
> sys-power/pm-utils-1.1.2.1

> Regards,
Come on guys a little help please!! I either have to keep my Laptop
always turned on or shutdown/boot everytime I'm not using it... please
I need some help!!

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

/\ Windows 95 is the most popular virus on the market today.


signature.asc
Description: Digital signature


Re: [gentoo-user] Xorg crashing when PC wake up from suspend-to-ram

2008-06-23 Thread Wael Nasreddine
This One Time, at Band Camp, Volker Armin Hemmann <[EMAIL PROTECTED]> said, On 
Mon, Jun 23, 2008 at 02:35:53PM +0200:
> so you are using sabayon?

> I would try an unpatched kernel first.

Forget about that mate lol, It happens to me using any kernel, I tried
gentoo-sources, tuxonice-sources and linux-sabayon... same result...
so it's either a missing kernel CONFIG (not kernel patch) or somerhing
related to xorg...

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

/\ Zoe: "We mentioned that we were out of rations, and ten minutes later, a 
bunch
/\ of appples rained into the trench."
/\
/\ Wash: "And they grew into a big tree, and they all climbed up the tree 
into a
/\ magical land with unicorns and a harp."
/\   --Episode #10, "War Stories"


signature.asc
Description: Digital signature


Re: [gentoo-user] gnome 2.22

2008-03-28 Thread Wael Nasreddine
This One Time, at Band Camp, St?phane ANCELOT <[EMAIL PROTECTED]> said, On Fri, 
Mar 28, 2008 at 10:12:38AM +0100:
> I have tried to find it , but by the way how to enable gnome 2.22 in
> gentoo ??
You should unmask the Gnome2.22 packages, they are unmasked in
/usr/portage/profiles/package.mask, just put the below section in
/etc/portage/package.unmask

-CUT
#
 GNOME 2.22 #
#

>=app-crypt/seahorse-2.22
>=gnome-base/libgtop-2.22
>=x11-themes/gtk-engines-2.14
>=gnome-base/libbonobo-2.22
>=x11-libs/libwnck-2.22
>=x11-themes/gnome-backgrounds-2.22
>=gnome-base/gail-1.22
>=app-text/rarian-0.8
>=gnome-base/gnome-menus-2.22
>=dev-python/pygtksourceview-2.2.0
>=gnome-base/gconf-2.22
>=x11-wm/metacity-2.22
>=gnome-extra/gucharmap-2.22
>=gnome-extra/gcalctool-5.22
>=x11-themes/gnome-icon-theme-2.22
>=x11-themes/gnome-themes-2.22
>=gnome-extra/zenity-2.22
>=gnome-extra/at-spi-1.21
>=gnome-base/libgnomeui-2.22
>=gnome-base/gnome-desktop-2.22
>=x11-terms/gnome-terminal-2.22
>=gnome-base/gnome-vfs-2.22
>=gnome-base/libgnome-2.22
dev-libs/libgweather
>=app-editors/gedit-2.22
>=gnome-base/libbonoboui-2.22
>=gnome-base/libgnomekbd-2.21
>=gnome-extra/gconf-editor-2.22
>=media-sound/sound-juicer-2.22
>=gnome-extra/yelp-2.22
>=app-arch/file-roller-2.22
>=dev-python/gnome-python-2.22
>=gnome-extra/gtkhtml-3.18
>=www-client/epiphany-2.22
>=www-client/epiphany-extensions-2.22
>=media-gfx/eog-2.22
>=app-accessibility/orca-2.22
>=gnome-base/librsvg-2.22
>=gnome-extra/gnome-system-monitor-2.22
>=gnome-base/gnome-keyring-2.22
>=gnome-extra/evolution-data-server-2.22
>=net-misc/vino-2.22
>=app-text/evince-2.22
>=gnome-base/gnome-panel-2.22
>=gnome-extra/bug-buddy-2.22
>=gnome-extra/evolution-webcal-2.21
>=dev-python/gnome-python-desktop-2.22
>=gnome-extra/gnome-games-2.22
>=gnome-extra/deskbar-applet-2.22
>=net-analyzer/gnome-nettool-2.22
>=gnome-extra/fast-user-switch-applet-2.22
>=app-admin/sabayon-2.21
>=gnome-base/gnome-applets-2.22
>=gnome-base/gnome-volume-manager-2.22
>=mail-client/evolution-2.22
>=gnome-extra/evolution-exchange-2.22
>=gnome-extra/gnome-screensaver-2.22
>=gnome-extra/gnome-power-manager-2.22
dev-libs/totem-pl-parser
>=media-plugins/gst-plugins-meta-0.10-r2
>=media-sound/rhythmbox-0.11.4
>=media-video/totem-2.22
gnome-base/gnome-settings-daemon
>=gnome-base/control-center-2.22
>=gnome-base/gnome-session-2.22
>=gnome-base/eel-2.22
gnome-base/gvfs
>=gnome-base/nautilus-2.22
>=gnome-extra/nautilus-cd-burner-2.22
>=gnome-extra/nautilus-open-terminal-0.9
>=gnome-base/gdm-2.20.4
>=gnome-extra/gnome-media-2.22
>=gnome-base/gnome-light-2.22
>=gnome-base/gnome-2.22

# Libsoup slot 2.4
>=net-libs/libsoup-2.4.0

#
 GNOME 2.22 #
#
-CUT


--
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

/\ Buttercup: That stupid goody-goody Blossom never gets in trouble!


pgppSY4rR210M.pgp
Description: PGP signature


Re: [gentoo-user] Error compiling media-gfx/splashutils-1.5.4-r1

2008-03-25 Thread Wael Nasreddine
This One Time, at Band Camp, Rodolphe Rocca <[EMAIL PROTECTED]> said, On Tue, 
Mar 25, 2008 at 10:20:31PM +0100:
> On Tue, 25 Mar 2008 17:33:22 +0100
> Wael Nasreddine <[EMAIL PROTECTED]> wrote:

> > Hello list :)

> > I'm having a problem compiling splashutils, anyone else having the
> > same problem ??


> The splashutils-1.5.4-r1 ebuild has been updated to cope with recent API 
> breakage in the new baselayout-2.0/openrc.

> The pb is baselayout 2.0 is still masked and not keyworded.

> So you can choose between using splashutils < 1.5.4-r1 or merging 
> baselayout-2.0.

> I personally migrated from baselayout 2.0 beta to the final 2.0.0 and
> everything is fine on my side.
I already have baselayout installed:

-- CUT
$ paludis -q sys-apps/baselayout sys-apps/openrc
* sys-apps/baselayout
gentoo:  1.11.15-r3 1.12.10-r5 1.12.11 1.12.11.1 
2.0.0_rc6-r1 2.0.0 {:0}
installed:   2.0.0* {:0}
Description: Filesystem baselayout and init scripts
Homepage:http://www.gentoo.org/
Relevant USE flags:  (-build)
License: GPL-2
Installed time:  Tue Mar 25 15:40:10 2008
Source repository:   gentoo
Installed using: paludis-0.26.0_alpha13

* sys-apps/openrc
gentoo:   {:0}
installed:   * {:0}
Description: OpenRC manages the services, startup and shutdown 
of a host
Homepage:http://roy.marples.name/openrc
Relevant USE flags:  (-debug) (-kernel_FreeBSD) (kernel_linux) 
(ncurses) (pam) (-static) (unicode)
License: BSD-2
Installed time:  Tue Mar 25 06:33:55 2008
Source repository:   gentoo
    Installed using: paludis-0.26.0_alpha12
-- CUT

--
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

/ö\ If parents would only realize how they bore their children.
/ö\-- G.B. Shaw


pgpbi2JmYedef.pgp
Description: PGP signature


Re: [gentoo-user] Recovering root password

2008-03-25 Thread Wael Nasreddine
This One Time, at Band Camp, Dirk Heinrichs <[EMAIL PROTECTED]> said, On Tue, 
Mar 25, 2008 at 07:02:59PM +0100:

> I use LUKS encrypted logical volumes. Root fs is encrypted with a password,
> all other volumes are encrypted with a keyfile located on /.
Why not encrypt a big fat partition and then have an LVM array over it
for all your partitions including swap ?? Suspend2 will work with this
setup just in case you are wondering.

--
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

/ö\ Slug: Peep it! The sun's already risin'. We're gonna have to blow this 
joint.


pgpmFrGGvVn9u.pgp
Description: PGP signature


Re: [gentoo-user] Recovering root password

2008-03-25 Thread Wael Nasreddine
This One Time, at Band Camp, Mick <[EMAIL PROTECTED]> said, On Tue, Mar 25, 
2008 at 05:23:00PM +:
> > That's why I have my entire installation over a DM-CRYPT ( LUKS
> > encrypted partition... ), including swaps and storage ( LVM over
> > DM-CRYPT actually), this way even if someone had a physical access to
> > my laptop, both GRUB and LiveCD approach would be useless...

> I've thought about going for this . . . and then backpedaled once more.  Every
> time I had a fs problem I have managed to recover to this date without much
> trouble.  Vanilla primary and extended partitions seem to be straight forward
> to access with any LiveCD.  To be honest even when I had to frig about with
> LVM I managed to recover without loss of data (more out of luck than skill I
> suspect).  The thought however, that I may lose my private key (never say
> never), or lose a drive and need to access my data pronto from a back up
> makes me somewhat nervous.  Should I be more brave that this?
Well it depends... First of all you should know that almost every LiveCD
now include a cryptsetup/lvm implementation, Gentoo does, Ubuntu does
( not as is though you should apt-get cryptsetyp, AFAIK lvm already
installed), so recovering data would not be that hard if you can open
the partition... As for loosing the key, that's easy too, here's what
I do: I create a small file from /dev/urandom and I use it as pass key
SLOT, and store it somewhere safe, so if and when I forget all of the
passwords I have, I use this key, it is safe.

Anyway as I said above it actually depends, using dm-crypt will lower
the performance of your machine which actually make sense since the
data are encrypted before they are written to the disk (AFAIK I'm not
really sure how it handles I/O operations, but I'm sure that writing a
huge file to your HDD will result in a lot of CPU usage of the process
'kcryptd'), but using dm-crypt is very very secure, I use it because
my laptop is with me every day when I go to the university so I need
this kind of security... On the other hand if you don't need
encryption, maybe you should stick with LVM... (LVM is a must checkout
my partitions below, I love it...)

- CUT
# lvdisplay -C
  LV  VG Attr   LSize   Origin Snap%  Move Log Copy%  Convert
  gentoo-opt  system -wi-ao   1.00G
  gentoo-overlays system -wi-ao   1.00G
  gentoo-root system -wi-ao 500.00M
  gentoo-usr  system -wi-ao   5.00G
  gentoo-var  system -wi-ao 500.00M
  homesystem -wi-ao  15.00G
  storage system -wi-ao  50.66G
  suspend-swapsystem -wi-a-   1.00G
  swapsystem -wi-ao   2.00G
  tmp system -wi-ao 500.00M
  ubuntu-opt  system -wi-ao   1.00G
  ubuntu-root system -wi-ao 500.00M
  ubuntu-usr  system -wi-ao   3.50G
  ubuntu-var  system -wi-ao 500.00M
  var-tmp system -wi-ao 100.00M
- CUT

Regards,

--
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

/ö\
/ö\ When Chuck Norris wants an egg, he cracks open a chicken.


pgpLYgDcopIR7.pgp
Description: PGP signature


Re: [gentoo-user] intelfb and 945GM

2008-03-25 Thread Wael Nasreddine
This One Time, at Band Camp, Sergey Kobzar <[EMAIL PROTECTED]> said, On Tue, 
Mar 25, 2008 at 06:43:46PM +0200:
> > Did intel works for you?? how's the performance ?? What did you
> > add/remove from your kernel ??
> 
> No, unfortunately it does not :(. I've switched to uvesafb. Looks like
> I have no other choice...
Oh :S too bad, I hoped to have a better performance with mplayer's
fbdev output...

Cheers

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

/ö\ Linux is obsolete
/ö\ -- Andrew Tanenbaum


pgp3mO7vQmwCw.pgp
Description: PGP signature


[gentoo-user] Error compiling media-gfx/splashutils-1.5.4-r1

2008-03-25 Thread Wael Nasreddine
Hello list :)

I'm having a problem compiling splashutils, anyone else having the
same problem ??

attached is my 'emerge --info' and the build log..

Regards,

--
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

/ö\ Computers make excellent and efficient servants, but I have no wish to
/ö\ serve under them.  Captain, a starship also runs on loyalty to one
/ö\ man.  And nothing can replace it or him.
/ö\-- Spock, "The Ultimate Computer", stardate 4729.4
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.2.3, glibc-2.7-r2, 
2.6.24-tuxonice-r3 i686)
=
System uname: 2.6.24-tuxonice-r3 i686 Genuine Intel(R) CPU T2250 @ 1.73GHz
Timestamp of tree: Tue, 25 Mar 2008 04:00:05 +
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled]
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python: 2.5.1-r5
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/sandbox:1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -msse3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config 
/usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config 
/usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf 
/etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo 
/etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -msse3 -fomit-frame-pointer -pipe"
DISTDIR="/mnt/storage/Gentoo-System/distfiles"
FEATURES="ccache distcc distlocks metadata-transfer parallel-fetch sandbox 
sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.qubenet.net/mirror/gentoo/ 
http://ftp.uni-erlangen.de/pub/mirrors/gentoo 
http://mirror.ovh.net/gentoo-distfiles/ 
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/";
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1,--hash-style=gnu"
LINGUAS="en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles 
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/overlays/gentoo"
PORTDIR_OVERLAY="/usr/overlays/berkano /usr/overlays/paludis-extras 
/usr/overlays/sunrise /usr/overlays/wgentoo"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib alsa bash-completion berkdb bitmap-fonts bluetooth 
branding bzip2 cdparanoia cdr cli cracklib crypt dbus dri dv dvd dvdr dvdread 
encode exif fame ffmpeg flac fortran gdbm gif gnome gpm gtk hal iconv ipv6 
isdnlog jpeg lame libg++ libnotify mad matroska midi mmx mp3 mpeg ncurses nls 
nptl nsplugin ogg pam pcre perl png ppds pppd python quicktime readline 
reflection session spell spl sse sse2 ssl startup-notification subtitles tcpd 
theora truetype truetype-fonts type1-fonts unicode vcd vorbis win32codecs x264 
x86 xcomposite xinerama xorg xv xvid zlib" ALSA_CARDS="hda-intel" 
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file 
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route 
share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias 
authn_anon authn_dbm authn_default authn_file authz_dbm authz_default 
authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs 
dav_lock deflate dir disk_cache env expires ext_filter file_cache filter 
headers include info log_config logio mem_cache mime mime_magic negotiation 
rewrite setenvif speling status unique_id userdir usertrack vhost_alias" 
CAMERAS="adc65 agfa_cl20 aox barbie canon casio_qv clicksmart310 digigr8 digita 
dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 
kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica 
konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 
panasonic_dc1580 panasonic_l859 pccam300 pccam600 polaroid_pdc320 
polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink 
sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x 
sq905 stv0674 stv0680 sx330z template toshiba_pdrm11" ELIBC="glibc" 
INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linu

Re: [gentoo-user] intelfb and 945GM

2008-03-25 Thread Wael Nasreddine
This One Time, at Band Camp, Pongracz Istvan <[EMAIL PROTECTED]> said, On Fri, 
Mar 14, 2008 at 08:50:21PM +0100:
> Sergey,

> Last time, when I sent my .config file, that has intelfb builtin and
> working.
> I think, because I also has this kind of integrated video card.
> Check that out or drop me a PM if you need to resend.

> Cheers,
> István

Sergey,

Did intel works for you?? how's the performance ?? What did you
add/remove from your kernel ??

Regards,

--
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

/ö\ You ask what a nice girl will do?  She won't give an inch, but she won't
/ö\ say no.
/ö\-- Marcus Valerius Martialis


pgpTqAg7nlmh0.pgp
Description: PGP signature


Re: [gentoo-user] Recovering root password

2008-03-25 Thread Wael Nasreddine
This One Time, at Band Camp, Liviu Andronic <[EMAIL PROTECTED]> said, On Tue, 
Mar 25, 2008 at 09:03:29AM +0100:
> >  But you can boot from a LiveCD, mount your harddrive, chroot and then
> >  give root another password.

> But then, conventional passwords are as useless. One needs no more
> than physical access to the computer, a LiveCD and a couple minutes in
> order to become the super user of your system. Basically, the password
> seems useful only to know whether anyone has changed it behind your
> back.

> I am starting to wonder why am I so attached to my root password being
> strong.. :)
> Liviu
That's why I have my entire installation over a DM-CRYPT ( LUKS
encrypted partition... ), including swaps and storage ( LVM over
DM-CRYPT actually), this way even if someone had a physical access to
my laptop, both GRUB and LiveCD approach would be useless...

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

/ö\ Son, this is the only time I'm ever gonna say this.  It is not okay to
/ö\ lose.
/ö\
/ö\-- Homer Simpson
/ö\   Dead Putting Society


pgp1MwHHLH6qe.pgp
Description: PGP signature


[gentoo-user] Just a few questions.

2008-03-20 Thread Wael Nasreddine
Hello,

I have a few questions that has been bugging me for a while, hope I
find the answers I;m looking for :)

I use zsh for shell, rxvt-unicode for Terminal emulator, urxvt runs
with TERM rxvt-unicode, GNU Screen runs with the term screen-256color,
now I'm not sure what's the issue, but when I login through GDM/KDM
the colors inside screen are all messed up, here's 2 screenshots, the
1st one[1] is when gnome was started via usual startx command and the
second[2] is for gnome session when started from GDM/KDM, the colors
are not just messed up in zsh, in mutt and in every ncurses programs..

The second question is about a problem that has been bugging me for a
while now, and it happend in ViM ruinning in X, Screen or Console...
When I type a letter, erase it and type another letter, I'll get
a weird char, not what I've typed, ex: the next quoted character is 
supposed to be a, and the one after that is f, and i see? "å" "ff" "に"
... I have no idea why this is happening but it's really annoying to have
undetected error like these while scripting... Any ideas ??

The third problem is zsh related, anyway the problem is when I try to use
zsh outside rxvt-unicode the keys Home, PgUP, PgDn and End does not
work, in gnome-terminal instead of going to the beginning of the line,
I get this instead:
"H[2;A[0;G"
Here's a screenshot of gnome-terminal[3]... This doesn't happen in
bash.

I included relevant config files below, key bindings are defind in
.inputrc and .zsh/zle

Thank you :)

[1]: http://img150.imageshack.us/img150/4804/20thursday1ho1.png
[2]: http://img291.imageshack.us/img291/9356/20thursdaydt0.png
[3]: http://img527.imageshack.us/img527/8703/20thursday2ru5.png
.Xdefaults: 
http://wael.nasreddine.com/cgi-bin/viewvc.cgi/wael/trunk/etc-plus/.Xdefaults?view=log
.screenrc: 
http://wael.nasreddine.com/cgi-bin/viewvc.cgi/wael/trunk/etc/.screen/config?view=log
.inputrc: 
http://wael.nasreddine.com/cgi-bin/viewvc.cgi/wael/trunk/etc/.inputrc?view=log
.zshrc: 
http://wael.nasreddine.com/cgi-bin/viewvc.cgi/wael/trunk/etc/.zshrc?view=log
.zsh: http://wael.nasreddine.com/cgi-bin/viewvc.cgi/wael/trunk/etc/.zsh/
.vimrc: 
http://wael.nasreddine.com/cgi-bin/viewvc.cgi/wael/trunk/etc/.vimrc?view=log
.vim: http://wael.nasreddine.com/cgi-bin/viewvc.cgi/wael/trunk/etc/.vim/

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.


pgpZpUIugwsOK.pgp
Description: PGP signature


Re: [gentoo-user] intelfb and 945GM

2008-03-14 Thread Wael Nasreddine
 root=/dev/sda5 
> >> video=intelfb:[EMAIL PROTECTED]
> >> kernel /boot/kernel-2.6.24-gentoo-r3-b2 root=/dev/sda5 vga=792

> >> and in all cases I see blank screen or screen with many scrolling
> >> white lines.


> >> Any chance to get framebuffer working on my laptop?

> > Don't use intelfb, just use the standard uvesafb.

> > $ zgrep FB /proc/config.gz
> > CONFIG_FB=y
> > # CONFIG_FB_DDC is not set
> > CONFIG_FB_CFB_FILLRECT=y
> > CONFIG_FB_CFB_COPYAREA=y
> > CONFIG_FB_CFB_IMAGEBLIT=y
> > # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
> > # CONFIG_FB_SYS_FILLRECT is not set
> > # CONFIG_FB_SYS_COPYAREA is not set
> > # CONFIG_FB_SYS_IMAGEBLIT is not set
> > # CONFIG_FB_SYS_FOPS is not set
> > CONFIG_FB_DEFERRED_IO=y
> > # CONFIG_FB_SVGALIB is not set
> > # CONFIG_FB_MACMODES is not set
> > # CONFIG_FB_BACKLIGHT is not set
> > CONFIG_FB_MODE_HELPERS=y
> > # CONFIG_FB_TILEBLITTING is not set
> > # CONFIG_FB_CIRRUS is not set
> > # CONFIG_FB_PM2 is not set
> > # CONFIG_FB_CYBER2000 is not set
> > # CONFIG_FB_ARC is not set
> > # CONFIG_FB_ASILIANT is not set
> > # CONFIG_FB_IMSTT is not set
> > # CONFIG_FB_VGA16 is not set
> > CONFIG_FB_UVESA=y
> > # CONFIG_FB_VESA is not set
> > # CONFIG_FB_EFI is not set
> > # CONFIG_FB_HECUBA is not set
> > # CONFIG_FB_HGA is not set
> > # CONFIG_FB_S1D13XXX is not set
> > # CONFIG_FB_NVIDIA is not set
> > # CONFIG_FB_RIVA is not set
> > # CONFIG_FB_I810 is not set
> > # CONFIG_FB_LE80578 is not set
> > # CONFIG_FB_INTEL is not set
> > # CONFIG_FB_MATROX is not set
> > # CONFIG_FB_RADEON is not set
> > # CONFIG_FB_ATY128 is not set
> > # CONFIG_FB_ATY is not set
> > # CONFIG_FB_S3 is not set
> > # CONFIG_FB_SAVAGE is not set
> > # CONFIG_FB_SIS is not set
> > # CONFIG_FB_NEOMAGIC is not set
> > # CONFIG_FB_KYRO is not set
> > # CONFIG_FB_3DFX is not set
> > # CONFIG_FB_VOODOO1 is not set
> > # CONFIG_FB_VT8623 is not set
> > # CONFIG_FB_CYBLA is not set
> > # CONFIG_FB_TRIDENT is not set
> > # CONFIG_FB_ARK is not set
> > # CONFIG_FB_PM3 is not set
> > # CONFIG_FB_GEODE is not set
> > # CONFIG_FB_VIRTUAL is not set
> > CONFIG_FB_CON_DECOR=y

> > Here's my menu.lst part:
> > title=Gentoo Linux
> > root (hd0,1)
> > kernel (hd0,1)/gentoo/kernel dolvm crypt_root=/dev/sda4
> > lvm2root=/dev/mapper/root real_root=/dev/system/gentoo-root
> > video=uvesafb:ywrap,mtrr:3,scroll:ywrap,1024x768-32
> > splash=silent,theme:KillBillTux-Grey fbcon=scrollback:128k console=tty1
> > resume=swap:/dev/system/suspend-swap quiet
> > initrd (hd0,1)/gentoo/initramfs

> > I have the same card and it works perfectly this way

> > Good Luck!
-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.


pgprT2RCqZLZG.pgp
Description: PGP signature


Re: [gentoo-user] intelfb and 945GM

2008-03-13 Thread Wael Nasreddine
ot set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_CYBLA is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_GEODE is not set
# CONFIG_FB_VIRTUAL is not set
CONFIG_FB_CON_DECOR=y

Here's my menu.lst part:
title=Gentoo Linux
root (hd0,1)
kernel (hd0,1)/gentoo/kernel dolvm crypt_root=/dev/sda4 
lvm2root=/dev/mapper/root real_root=/dev/system/gentoo-root 
video=uvesafb:ywrap,mtrr:3,scroll:ywrap,1024x768-32 
splash=silent,theme:KillBillTux-Grey fbcon=scrollback:128k console=tty1 
resume=swap:/dev/system/suspend-swap quiet
initrd (hd0,1)/gentoo/initramfs

I have the same card and it works perfectly this way

Good Luck!

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.


pgpomOKSBXTWD.pgp
Description: PGP signature


Re: [gentoo-user] vesa-tng not working with kernel 2.6.24

2008-02-19 Thread Wael Nasreddine
This One Time, at Band Camp, John covici <[EMAIL PROTECTED]> said, On Tue, Feb 
19, 2008 at 07:23:04AM -0500:
> on Tuesday 02/19/2008 [EMAIL PROTECTED]([EMAIL PROTECTED]) wrote

>  > On Tue, 19 Feb 2008 06:24:52 -0500, John covici <[EMAIL PROTECTED]>
>  > wrote:
>  > > Hi.  I compiled gentoo-sources 2.6.24-r2 -- however the vesa-tng
>  > > seemed to disappear -- its in the .config, but for some reason I am
>  > > getting a console of 25x80.  Now I have the default mode set to
>  > > [EMAIL PROTECTED] which works fine with the 2.6.21 kernel, but not the
>  > > 2.6.24 one.  What is strange is that I can't find the vesatng in the
>  > > .config, but if I go into make menuconfig its there, so can someone
>  > > explain why things are not working properly for 2.6.24?

>  > > Thanks.
>  > > --

>  > since the 23 version vesatng is removed. You can used the next generation
>  > of spocks fb support named uvesfb. Follow the this page

>  > http://dev.gentoo.org/~spock/projects/uvesafb/

>  > .
> Do I still need to do what I have been doing -- using genkernel to
> generate the initial ram disk or should I skip this step?

> Thanks.

Yes it is the same as vesafb, though you should install
sys-apps/v86d and make sure you have
CONFIG_INITRAMFS_SOURCE="/usr/share/v86d/initramfs" in your kernel
config...

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.


pgp49a7aKDB1a.pgp
Description: PGP signature


Re: [gentoo-user] Ext4 status - Alternative to ext2/3 for gentoo portage and more

2008-02-16 Thread Wael Nasreddine
This One Time, at Band Camp, Florian Philipp <[EMAIL PROTECTED]> said, On Sat, 
Feb 16, 2008 at 06:22:13PM +0100:

> On Sat, 2008-02-16 at 06:33 +0100, Wael Nasreddine wrote:

> > > > it's done, thanks, BTW what's your home partition FS? your choice is
> > > > ext3 or reiserFS??


> > > I use reiserfs3.6 without notail but that doesn't mean that it would be
> > > a good choice for you. I'm on laptop and disk space efficiency is a big
> > > topic for me so I use tail-packing wherever suitable. And yes, I am a
> > > fan of ReiserFS-3.6. I think it's the best multipurpose FS. You can
> > > easily adapt it for high performance or high disk space efficiency. If
> > > its journaling would be as good as Ext3's data=journal I'd use it
> > > everywhere except for small partitions (ext2) and big files (ext3 and
> > > xfs).  

> > > > One last thing, since I'm on LVM resizing the partition is a must
> > > > feature, in ext3 I use resize2fs which works quite nicely, is
> > > > resize_reiserfs as reliable as resize2fs is??


> > > Yes, it's just as good and the sky's the limit for resizing :)
> > > Oh, by the way: If you choose to use XFS somewhere, keep in mind that
> > > you can't shrink and XFS-FS. Neither online nor offline. 

> > > One last thing: It's a bit old but I think it's still interesting,
> > > especially for XFS-users:

> > > http://everything2.com/index.pl?node_id=1479435 

> > Thank you for your detailed answer it helped a lot, I just finished
> > resizing/migrating all partitions, Though I still have the Storage
> > partition, which is for my Mp3z and is almost 70Gb, with ext3, I'll
> > see later if I do migrate to ReiserFS or not but the rest is done,
> > please take a look at the file attached... and if you have any more
> > suggestions please do tell me.


> You could use the noatime mount option on all your partitions. With
> atimes enabled, every time you read a file, its (mostly useless) access
> time is updated which results in a write action. The only program that I
> know to use atimes is mutt (for mail spools only).

> You could also take a look at the link I've posted in my last message.
> It contains useful mount options for XFS.

Thank you for the TIP as well, I added noatime to all partitions
except for /home because mutt keeps imap cache on it, I'm not sure if
it's atime depending or not I should probably check it out though...

Thanks :)

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.


pgpkjO97ncvV4.pgp
Description: PGP signature


Re: [gentoo-user] Ext4 status - Alternative to ext2/3 for gentoo portage and more

2008-02-16 Thread Wael Nasreddine
This One Time, at Band Camp, Peter Humphrey <[EMAIL PROTECTED]> said, On Sat, 
Feb 16, 2008 at 10:35:18AM +:
> On Saturday 16 February 2008 05:33:43 Wael Nasreddine wrote:

> > Thank you for your detailed answer it helped a lot

> (Why was it necessary to quote the whole of it again?)

> > please take a look at the file attached... and if you have any more
> > suggestions please do tell me.

> Just a tiny point: you don't need "defaults" if another value appears as 
> well, as in:

> /dev/system/home  /home   reiserfsdefaults,user_xattr 0 0

> This will do just as well:

> /dev/system/home  /home   reiserfsuser_xattr  0 0

> Defaults are what you get if you don't specify anything.

> Thank you all for this interesting discussion, which has given me a few 
> ideas for improving --sync time on my server box.

Thanks for the TIP and again for your help :)

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.


pgpWGgXi0hQ5c.pgp
Description: PGP signature


[gentoo-user] Error compiling sys-power/powersave

2008-02-15 Thread Wael Nasreddine

Hello,

I'm trying to compile powersave but I'm getting an error related to
some conflicts in files, the files belongs to sys-libs/glibc-2.7-r1

it seems that soneone else[1] has the same issue as I have, too bad it's
just a pastebin I got from google, I couldn't find the source.

build log and 'paludis --info powersave' are attached

Thank you.

[1]: http://pastebin.ca/902631

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.
Building target list... 
Building dependency list...

These packages will be installed:

* sys-power/powersave [N 0.14.0] 
"Powersave Daemon"
-doc

Total: 1 package (1 new)

Use flags:

* doc:  Adds extra documentation (API, Javadoc, etc)

(1 of 1) Installing sys-power/powersave-0.14.0:0::gentoo

Checking 'powersave-0.14.0.tar.bz2'... ok
>>> Running ebuild phase prepare as root:root...
>>> Starting builtin_prepare
>>> Done builtin_prepare
>>> Completed ebuild phase prepare
>>> Running ebuild phases init saveenv as 
paludisbuild:paludisbuild...
>>> Starting builtin_init
>>> Done builtin_init
>>> Starting builtin_saveenv
>>> Done builtin_saveenv
>>> Completed ebuild phases init saveenv
>>> Running ebuild phases loadenv setup saveenv as root:root...
>>> Starting builtin_loadenv
>>> Done builtin_loadenv
>>> Starting pkg_setup
>>> Done pkg_setup
>>> Starting builtin_saveenv
>>> Done builtin_saveenv
>>> Completed ebuild phases loadenv setup saveenv
>>> Running ebuild phases loadenv unpack compile saveenv as 
paludisbuild:paludisbuild...
>>> Starting builtin_loadenv
>>> Done builtin_loadenv
>>> Starting src_unpack
>>> Unpacking powersave-0.14.0.tar.bz2 to 
>>> /mnt/storage/Gentoo-System/paludis_builddir/sys-power/powersave-0.14.0/work
tar jxf /mnt/storage/Gentoo-System/distfiles/powersave-0.14.0.tar.bz2 
--no-same-owner
 * Applying plugdev_access.patch ...
 [ ok ]
>>> Done src_unpack
>>> Starting src_compile
econf: updating 
/mnt/storage/Gentoo-System/paludis_builddir/sys-power/powersave-0.14.0/work/powersave-0.14.0/config.guess
 with /usr/share/gnuconfig/config.guess
econf: updating 
/mnt/storage/Gentoo-System/paludis_builddir/sys-power/powersave-0.14.0/work/powersave-0.14.0/config.sub
 with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man 
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc 
--localstatedir=/var/lib --with-gnome-bindir=/usr/bin --with-kde-bindir=/bin 
--disable-docs --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether i686-pc-linux-gnu-g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-g++... gcc3
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... 
/usr/libexec/paludis/utils/sed
checking for egrep... grep -E
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/i686-pc-linux-gnu-nm -B
checking how to recognise dependent libraries... pass_all
ch

Re: [gentoo-user] Ext4 status - Alternative to ext2/3 for gentoo portage and more

2008-02-15 Thread Wael Nasreddine
This One Time, at Band Camp, Florian Philipp <[EMAIL PROTECTED]> said, On Sat, 
Feb 16, 2008 at 01:50:04AM +0100:

> On Sat, 2008-02-16 at 00:32 +0100, Wael Nasreddine wrote:


> > > To your filesystem scheme: Why do you use xfs for usr? AFAIK XFS is good
> > > at write speed but not worth the trouble when reading data and data in
> > > usr is usually written once, updated every few months and read many
> > > times a week (on rebooting Desktop PCs maybe once a day). I'd use
> > > reiserfs3.6, maybe even without notail to make it more space efficient.
> > I don't use XFS, curently I only have / and /home and I want to split
> > it to more smaller partitions, I'm on LVM so it's easy, anyway I'm
> > going with ReiserFS for /usr /var, would you please suggest
> > mkfs.reiserfs options as I have nerver used ReiserFS-3 before (yep 5
> > years using linux and I've always used ext3...) also You didn't mention
> > /var, would you say ReiserFS-3 is a good choice as well?

> I don't think there's alot to do when creating a reiserfs. You could
> change the number of blocks for the journal. A bigger journal allows
> larger transactions which speed up write actions but might waste space.
> If you've got a second hard drive you could use an external journal but
> I've never done any benchmarking on that issue although I use it on my
> personal wannabe server (a raid1 and a single disk for the journal and
> unimportant data).

> I didn't comment on /var because I don't know how you use it. I suspect
> it to hold alot of temporal data like lock files, spools and so on. So
> there's a lot of creating and removing files going on, possibly in
> parallel. XFS is good in parallel and in creating files but terrible in
> removing files. Reiserfs with notail seems a good choice if you ask me
> (what you did ;) )


> > > I'd also use ext2 on /usr/portage. These data don't need journaling.
> > > Everything's got an MD5-sum to make sure it's unchanged after a crash
> > > and you can easily resync. I found ext2 with 2k blocks to be faster than
> > > reiserfs3.6, even on read-performance.
> > I've already made the partition as suggested in [1] I used this
> > command:
> > $ mke2fs -b 1024 -N 20 -m 0 -O dir_index

> > I guess 1K block size would be faster??

> I'm not sure. 2K blocks might reduce fragmentation.

> If you look at the output of 
> find /usr/portage/ -type f | xargs du -h --apparent-size
> you'll see that there are quiet a few files larger than 1K but most are
> smaller and might stay that small. So yes, I think 1K is a good choice
> but you won't loose much with 2K, maybe you even gain some speed.



> > > If I were you, I'd also use separate volumes for /tmp and /var/tmp
> > > (without ccache) with xfs.
> > What did you mean by 'without ccache'? I have ccache and I use it...

> I meant that you should keep ccache on a separate partition. I just
> think: Less stuff in the FS, less work on allocation and lookup, more
> speed. And there's a lot of stuff in 2GB ccache.

> By the way: I don't think /var/tmp is a good place for ccache (not
> technically, just for the sake of layout). I've moved it to /var/db
> since it's not really a bunch of temporary data but more like a changing
> database. 


> > > /home could use data=journal. Those data are precious and if I remember
> > > correctly, this setting even brings an obscure (i.e. undocumented) speed
> > > improvement with many parallel disk accesses, for example in a
> > > multi-user environment. 
> > it's done, thanks, BTW what's your home partition FS? your choice is
> > ext3 or reiserFS??


> I use reiserfs3.6 without notail but that doesn't mean that it would be
> a good choice for you. I'm on laptop and disk space efficiency is a big
> topic for me so I use tail-packing wherever suitable. And yes, I am a
> fan of ReiserFS-3.6. I think it's the best multipurpose FS. You can
> easily adapt it for high performance or high disk space efficiency. If
> its journaling would be as good as Ext3's data=journal I'd use it
> everywhere except for small partitions (ext2) and big files (ext3 and
> xfs).  

> > One last thing, since I'm on LVM resizing the partition is a must
> > feature, in ext3 I use resize2fs which works quite nicely, is
> > resize_reiserfs as reliable as resize2fs is??


> Yes, it's just as good and the sky's the limit for resizing :)
> Oh, by the way: If you choose to use XFS somewhere, keep in mind that
> you can'

Re: [gentoo-user] Ext4 status - Alternative to ext2/3 for gentoo portage and more

2008-02-15 Thread Wael Nasreddine
This One Time, at Band Camp, Florian Philipp <[EMAIL PROTECTED]> said, On Fri, 
Feb 15, 2008 at 10:24:55PM +0100:

> On Fri, 2008-02-15 at 21:05 +0100, Wael Nasreddine wrote:
> > Currently I have 2 partitions, a root and home partition, fortunately
> > on LVM array, I was thinking of splitting them to "/, /usr, /var, /home,
> > /usr/portage, /mnt/storage" the latter is to be used for Mp3z (around
> > 12000) and movies...

> > I was thinking of having the below filesystem schema:
> > /   : ext3 (-j -O dir_index,sparse_super,filetype) (Good mkfs 
> > options ??)
> > /usr: xfs (I never used it so please suggest mkfs.xfs options)
> > /var: //
> > /home   : ext3 (-m 0 -j -O dir_index,sparse_super,filetype) (Good 
> > mkfs options ??)
> > /usr/portage: ReiserFS (3? 4? options??)
> > /mnt/storage: ext3 (-m 0 -j -O dir_index,sparse_super,filetype) (Good 
> > mkfs options ??)


> > Could you please comment/complete/change the schema above ?? I really
> > would like to speed up my system a little bit, My system is entirely
> > built on LVM array, and LVM is on DM-CRYPT so as you can see it's a
> > quite slow due to the encryption...

> > Oh one last thing, What do you suggest for a server? I have a Gentoo
> > server and uptime can be over 5/6 months, everytime I reboot the
> > server I have to manually scan the filesystem due to errors
> > everywhere, any suggestions??

> > Thanks...

> First of all, if there are filesystem errors, check your cables, your
> controller and your disks. I don't think filesystem errors count as
> normal behavior ...
I should check that out, thanks

> To your filesystem scheme: Why do you use xfs for usr? AFAIK XFS is good
> at write speed but not worth the trouble when reading data and data in
> usr is usually written once, updated every few months and read many
> times a week (on rebooting Desktop PCs maybe once a day). I'd use
> reiserfs3.6, maybe even without notail to make it more space efficient.
I don't use XFS, curently I only have / and /home and I want to split
it to more smaller partitions, I'm on LVM so it's easy, anyway I'm
going with ReiserFS for /usr /var, would you please suggest
mkfs.reiserfs options as I have nerver used ReiserFS-3 before (yep 5
years using linux and I've always used ext3...) also You didn't mention
/var, would you say ReiserFS-3 is a good choice as well?

> I'd also use ext2 on /usr/portage. These data don't need journaling.
> Everything's got an MD5-sum to make sure it's unchanged after a crash
> and you can easily resync. I found ext2 with 2k blocks to be faster than
> reiserfs3.6, even on read-performance.
I've already made the partition as suggested in [1] I used this
command:
$ mke2fs -b 1024 -N 20 -m 0 -O dir_index

I guess 1K block size would be faster??

> If I were you, I'd also use separate volumes for /tmp and /var/tmp
> (without ccache) with xfs.
What did you mean by 'without ccache'? I have ccache and I use it...

> /home could use data=journal. Those data are precious and if I remember
> correctly, this setting even brings an obscure (i.e. undocumented) speed
> improvement with many parallel disk accesses, for example in a
> multi-user environment. 
it's done, thanks, BTW what's your home partition FS? your choice is
ext3 or reiserFS??

One last thing, since I'm on LVM resizing the partition is a must
feature, in ext3 I use resize2fs which works quite nicely, is
resize_reiserfs as reliable as resize2fs is??

[1]: 
http://gentoo-wiki.com/TIP_Speeding_up_portage#Make_A_Sparse_File_to_create_portage_in

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.


pgpZiQKZT26J8.pgp
Description: PGP signature


Re: [gentoo-user] Ext4 status - Alternative to ext2/3 for gentoo portage and more

2008-02-15 Thread Wael Nasreddine
This One Time, at Band Camp, Dale <[EMAIL PROTECTED]> said, On Fri, Feb 15, 
2008 at 09:17:11AM -0600:
> Aaron Clark wrote:
>> Dale wrote:


>>> Little addition to XFS, I tried it once a while ago.  Every time the 
>>> power failed, it would never boot again.  I can say from personal 
>>> experience and from what I have read from others, if you plan to use XFS, 
>>> have a good UPS hooked up.  It does not like power failures at all.  YMMV


>> :)  In the YMMV category, I've used XFS on pretty much every file server 
>> I've had in the last 4-5 years and it's never given me any trouble despite 
>> pretty much never having a UPS hooked up and a decent number of power 
>> outages.  Granted, I never used it on my root filesystem, only storage 
>> partitions.

>> Aaron
>
> Good idea not to use it on the / file system.  LOL  I was using Mandriva 
> for my ex's Mom.  After about three or four tries, I went back to reiserfs. 
>  It would crash but it would boot right back up again.  Nothing lost that I 
> know of.
>
> I just never trusted it again.  I have also been told, and read elsewhere, 
> that it is a pretty well known thing that it doesn't like power failures.  
> It has its good points tho, which is why I was trying it out.
>
> Dale
>
> :-)  :-) 

Hey guys,

Currently I have 2 partitions, a root and home partition, fortunately
on LVM array, I was thinking of splitting them to "/, /usr, /var, /home,
/usr/portage, /mnt/storage" the latter is to be used for Mp3z (around
12000) and movies...

I was thinking of having the below filesystem schema:
/   : ext3 (-j -O dir_index,sparse_super,filetype) (Good mkfs 
options ??)
/usr: xfs (I never used it so please suggest mkfs.xfs options)
/var: //
/home   : ext3 (-m 0 -j -O dir_index,sparse_super,filetype) (Good mkfs 
options ??)
/usr/portage: ReiserFS (3? 4? options??)
/mnt/storage: ext3 (-m 0 -j -O dir_index,sparse_super,filetype) (Good mkfs 
options ??)


Could you please comment/complete/change the schema above ?? I really
would like to speed up my system a little bit, My system is entirely
built on LVM array, and LVM is on DM-CRYPT so as you can see it's a
quite slow due to the encryption...

Oh one last thing, What do you suggest for a server? I have a Gentoo
server and uptime can be over 5/6 months, everytime I reboot the
server I have to manually scan the filesystem due to errors
everywhere, any suggestions??

Thanks...

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.


pgpawJQFt7veu.pgp
Description: PGP signature


Re: [gentoo-user] Which arch do I have ?

2008-02-12 Thread Wael Nasreddine
This One Time, at Band Camp, Boris Fersing <[EMAIL PROTECTED]> said, On Tue, 
Feb 12, 2008 at 03:06:13PM -0500:
> On Feb 12, 2008 8:06 AM, Benjamen R. Meyer <[EMAIL PROTECTED]> wrote:
> > Wael Nasreddine wrote:
> > > On Mon, Feb 11, 2008 at 10:31:30PM -0500, "Benjamen R. Meyer" <[EMAIL 
> > > PROTECTED]> wrote:

> > >> As you have an Intel Core Duo, you should have the EMT64E version -
> > >> Intel's version of the AMD64 instruction set - thus x86-64 compatible.

> > >> Best place to check is Intel's website - here's what I found:

> > >> http://processorfinder.intel.com/details.aspx?sspec=sl9dv
> > >> http://developer.intel.com/design/mobile/core/duodocumentation.htm

> > >> With EMT64E, you will be able to compile for 64-bit mode using the
> > >> x86-64 builds. (You can only use Intel64 if you have the Itanium procs
> > >> if memory serves.)

> > >> However, unless you specifically install the x86-64/AMD64/64-bit
> > >> version, you will have a 32-bit x86 environment and kernel. You can
> > >> upgrade if you like...see other threads for that info.

> > >> HTH,

> > >> Ben

> > > Let's say this processor supports 64 bits, what whould I gain from
> > > migrating to x86_64 I mean would it be faster??? I've never
> > > owned/worked on a 64bit machine before so excuse my lack of knowledge
> > > :)

> > The primary advantage is larger memory space, and more native use of the
> > entire processor. I'm running it b/c I want to be - not b/c I need the
> > memory space, I'm not pushing 4GB for Physical RAM which is primarily
> > what it is about.

> > From my understanding, you won't gain much if any in speed. The
> > processor is still the same clock rate. 64-bit programs may (not sure,
> > someone verify?) be bigger as the opcodes are larger.

> > You can run any of the following configs:
> > 1) pure 32-bit
> > 2) pure 64-bit
> > 3) mixed 32-64 bit (multi-lib)

> HI again,

> the T2250 is a Core Duo and not a Core 2 Duo. It only supports 32 bits
> instructions.

> http://download.intel.com/design/processor/manuals/253665.pdf page 55

> regards,

> Boris.

Well here you go, thanks for clearing this up.

> > #3 will be the largest install as you have a lot of duplications since
> > you are hosting both a 32-bit and 64-bit environment. However, with #2
> > you might not get a lot of programs since there are quite a few that
> > have not been fully ported to 64-bit modes. You're running #1 now.

> > So not much is gained for now.

> > Ben


> > >> Wael Nasreddine wrote:
> > >>> Hello,

> > >>> It's been like 6 months I'm using the arch i686, but today I saw on this
> > >>> page[1] something that confused me, saying that I have an x86_64 arch I 
> > >>> have a
> > >>> Toshiba A135-S4427 with Intel dual core 1.73Ghz here's the output of
> > >>> /proc/cpuinfo

> > >>>  CUT
> > >>> processor   : 0
> > >>> vendor_id   : GenuineIntel
> > >>> cpu family  : 6
> > >>> model   : 14
> > >>> model name  : Genuine Intel(R) CPU   T2250  @ 1.73GHz
> > >>> stepping: 8
> > >>> cpu MHz : 800.000
> > >>> cache size  : 2048 KB
> > >>> physical id : 0
> > >>> siblings: 2
> > >>> core id : 0
> > >>> cpu cores   : 2
> > >>> fdiv_bug: no
> > >>> hlt_bug : no
> > >>> f00f_bug: no
> > >>> coma_bug: no
> > >>> fpu : yes
> > >>> fpu_exception   : yes
> > >>> cpuid level : 10
> > >>> wp  : yes
> > >>> flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge 
> > >>> mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe 
> > >>> constant_tsc arch_perfmon bts pni monitor est tm2 xtpr
> > >>> bogomips: 3460.63
> > >>> clflush size: 64

> > >>> processor   : 1
> > >>> vendor_id   : GenuineIntel
> > >>> cpu family  : 6
> > >>> model   : 14
> > >>> model name  : Genuine Intel(R) CPU   T2250  @ 1.73GHz
> > >>> stepping: 8
> > >>> cpu

Re: [gentoo-user] Which arch do I have ?

2008-02-12 Thread Wael Nasreddine
This One Time, at Band Camp, Alan McKinnon <[EMAIL PROTECTED]> said, On Tue, 
Feb 12, 2008 at 03:05:20PM +0200:
> On Tuesday 12 February 2008, Wael Nasreddine wrote:
> > Let's say this processor supports 64 bits, what whould I gain from
> > migrating to x86_64 I mean would it be faster??? I've never
> > owned/worked on a 64bit machine before so excuse my lack of knowledge

> > :)

> Please stop using the x86_64 nomenclature with respect to gentoo. Gentoo 
> does not define this arch and has no such name - all 64 bit extended 
> arches compatible with x86 are called amd64 on gentoo. 

> The x86_64 name is used by Red Hat and other distros. There are all the 
> same thing really, but using the wrong name in the wrong context clouds 
> the issues and leads to vast side-threads asking question that have no 
> answers and that accomplish nothing.

I'm sorry but I'm just used to call it this way, most of distros I
have tried in the past call it this way, anyway I'll try to memorize
it.

> You will not notice a speed increase with a 64 bit processor. You might 
> be able to measure one but it won't really feel any different in real 
> life. What you will notice are:

> 1. The annoyance of having to put up with 32 bit apps with no 64 bit 
> equivalent
> 2. Apps can now see more than 3.1GB of memory per app, and can see it 
> linearly. If you run a massive database this will be important to you. 
> If you don't, you won't. Do you have more than 4G of RAM?

> So, the only good reason to move to amd64 is when you buy a 64 bit 
> machine

I have 1G RAM and it's a laptop doesn't serve huge databases so I
guess despite if my CPU is 64 or 32 bits, I'll just stick with the 32
version, works great...

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.


pgpuiwmSe5VUu.pgp
Description: PGP signature


Re: [gentoo-user] Which arch do I have ?

2008-02-12 Thread Wael Nasreddine
On Mon, Feb 11, 2008 at 10:31:30PM -0500, "Benjamen R. Meyer" <[EMAIL 
PROTECTED]> wrote:

> As you have an Intel Core Duo, you should have the EMT64E version -
> Intel's version of the AMD64 instruction set - thus x86-64 compatible.

> Best place to check is Intel's website - here's what I found:

> http://processorfinder.intel.com/details.aspx?sspec=sl9dv
> http://developer.intel.com/design/mobile/core/duodocumentation.htm

> With EMT64E, you will be able to compile for 64-bit mode using the
> x86-64 builds. (You can only use Intel64 if you have the Itanium procs
> if memory serves.)

> However, unless you specifically install the x86-64/AMD64/64-bit
> version, you will have a 32-bit x86 environment and kernel. You can
> upgrade if you like...see other threads for that info.

> HTH,

> Ben

Let's say this processor supports 64 bits, what whould I gain from
migrating to x86_64 I mean would it be faster??? I've never
owned/worked on a 64bit machine before so excuse my lack of knowledge
:)

Thank you

> Wael Nasreddine wrote:
> > Hello,

> > It's been like 6 months I'm using the arch i686, but today I saw on this
> > page[1] something that confused me, saying that I have an x86_64 arch I 
> > have a
> > Toshiba A135-S4427 with Intel dual core 1.73Ghz here's the output of
> > /proc/cpuinfo

> >  CUT
> > processor   : 0
> > vendor_id   : GenuineIntel
> > cpu family  : 6
> > model   : 14
> > model name  : Genuine Intel(R) CPU   T2250  @ 1.73GHz
> > stepping: 8
> > cpu MHz : 800.000
> > cache size  : 2048 KB
> > physical id : 0
> > siblings: 2
> > core id : 0
> > cpu cores   : 2
> > fdiv_bug: no
> > hlt_bug : no
> > f00f_bug: no
> > coma_bug: no
> > fpu : yes
> > fpu_exception   : yes
> > cpuid level : 10
> > wp  : yes
> > flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
> > cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc 
> > arch_perfmon bts pni monitor est tm2 xtpr
> > bogomips: 3460.63
> > clflush size: 64

> > processor   : 1
> > vendor_id   : GenuineIntel
> > cpu family  : 6
> > model   : 14
> > model name  : Genuine Intel(R) CPU   T2250  @ 1.73GHz
> > stepping: 8
> > cpu MHz : 800.000
> > cache size  : 2048 KB
> > physical id : 0
> > siblings: 2
> > core id : 1
> > cpu cores   : 2
> > fdiv_bug: no
> > hlt_bug : no
> > f00f_bug: no
> > coma_bug: no
> > fpu : yes
> > fpu_exception   : yes
> > cpuid level : 10
> > wp  : yes
> > flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
> > cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc 
> > arch_perfmon bts pni monitor est tm2 xtpr
> > bogomips: 3457.55
> > clflush size: 64
> >  CUT

> > So which arch do I really have??

> > [1]: http://docs.fedoraproject.org/install-guide/f8/en_US/sn-which-arch.html

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.


pgpJPmqn4aQAf.pgp
Description: PGP signature


[gentoo-user] Which arch do I have ?

2008-02-11 Thread Wael Nasreddine
Hello,

It's been like 6 months I'm using the arch i686, but today I saw on this
page[1] something that confused me, saying that I have an x86_64 arch I have a
Toshiba A135-S4427 with Intel dual core 1.73Ghz here's the output of
/proc/cpuinfo

 CUT
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 14
model name  : Genuine Intel(R) CPU   T2250  @ 1.73GHz
stepping: 8
cpu MHz : 800.000
cache size  : 2048 KB
physical id : 0
siblings: 2
core id : 0
cpu cores   : 2
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 10
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc arch_perfmon 
bts pni monitor est tm2 xtpr
bogomips: 3460.63
clflush size: 64

processor   : 1
vendor_id   : GenuineIntel
cpu family  : 6
model   : 14
model name  : Genuine Intel(R) CPU   T2250  @ 1.73GHz
stepping: 8
cpu MHz : 800.000
cache size  : 2048 KB
physical id : 0
siblings: 2
core id : 1
cpu cores   : 2
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 10
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc arch_perfmon 
bts pni monitor est tm2 xtpr
bogomips: 3457.55
clflush size: 64
 CUT

So which arch do I really have??

[1]: http://docs.fedoraproject.org/install-guide/f8/en_US/sn-which-arch.html

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.


pgpur5icYGojK.pgp
Description: PGP signature