Re: [gentoo-user] installing/upgrading with emerge from non-root

2009-08-05 Thread Galevsky
2009/8/5 Kevin Haddock kevinhadd...@yahoo.com:
 I'm trying to do distributed compile with a remote machine that I don't have 
 root password to. I have a local account with sudo permissions and an account 
 of the same name on the remote machine. I have set up ssh so I can shell 
 across without entering passwords nor pass phrases. I have even added my user 
 to the group 'wheel' and given it that group permission to execute all 
 commands. I even went so far as to change all the emerge program files in 
 /usr/lib/portage/bin to have g+x and belong to the group wheel, but it still 
 tells me:

 $ emerge -kuDN world
 emerge: superuser access is required.

 Is there any way to do this?

Yep: as a member of wheel, you should be able to run emerge 'as root'
when sudoing:

sudo emerge whatyouwant

Gal'



Re: [gentoo-user] installing/upgrading with emerge from non-root

2009-08-05 Thread Galevsky
2009/8/5 Kevin Haddock kevinhadd...@yahoo.com:
 hmmm... ok, I can see that, but if I use sudo, will distcc try to distribute 
 the compile jobs logging in as my unprivileged user, or will it try doing it 
 as root (on the other machine)?




You want to share your compilation tasks with others good. Do you
have enough rights to launch emerge localy ? So you have to launch
emerge with feature distcc on.

What about the other hosts that may help you compiling ? They have to
run the distcc daemon, with your IP on the authorized list. Do you
have enough privileges to manage/configure the distccd daemon on other
machines ? That is the question. You have to ask for it to the admin
if you cannot do it in your own.

I just want to let you know that shared compilation faces some issues
depending on packages: I failed to upgrade gcc using distcc, but
disabling it was a fix for my gcc-4.3.2 emerge process.

Galevsky



[gentoo-user] Re: Mysql and utf8: Can't initialize character set utf-8

2009-05-02 Thread Galevsky
2009/4/30 Galevsky galev...@gmail.com:
 Hi, I have a problem with mysql 5.0.71-r1 and utf8 charset.
snip
 and now my web sites can't connect to the DBs and I face the
 following error:

 Can't initialize character set utf-8 (path: /usr/share/mysql/charsets/)

Well can someone tell me if a utf-8 gentoo box shoud have the file
/usr/share/mysql/charsets/utf-8.xml ? I could be sure that the matter
comes from Portage/flags/whatever else during the installation
stage

Thank you

Galevsky



[gentoo-user] Mysql and utf8: Can't initialize character set utf-8

2009-04-29 Thread Galevsky
Hi, I have a problem with mysql 5.0.71-r1 and utf8 charset. I have a
lighttpd v1.4.20 web server using php v5.2.9-r2 that provides several
websites.

I set up the DB server default charset to utf-8 into file /etc/my.cnf

[mysqld]
character-set-server= utf8
default-character-set   = utf8


since I want a utf8 box:

~$ locale
LANG=fr_FR.UTF-8
LC_CTYPE=fr_FR.UTF-8
LC_NUMERIC=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
LC_COLLATE=fr_FR.UTF-8
LC_MONETARY=fr_FR.UTF-8
LC_MESSAGES=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
LC_NAME=fr_FR.UTF-8
LC_ADDRESS=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8
LC_IDENTIFICATION=fr_FR.UTF-8
LC_ALL=


but I changed the previous en_GB language to fr_FR.UTF-8 a few days
ago, and now my web sites can't connect to the DBs and I face the
following error:

Can't initialize character set utf-8 (path: /usr/share/mysql/charsets/)

I have 'unicode' in my USE flags, try to emerge -uDN my whole world
but I cannot get any /usr/share/mysql/charsets/utf-8.xml file !

What can I do ? Any support is welcome..

Hereafter my box settings:

~ # emerge --info
Portage 2.1.6.11 (default/linux/x86/2008.0, gcc-4.1.2,
glibc-2.8_p20080602-r1, 2.6.24.5-grsec--grs-ipv4-32 i686)
=
System uname: 
linux-2.6.24.5-grsec--grs-ipv4-32-i686-intel-r-_pentium-r-_dual_cpu_e21...@_2.00ghz-with-glibc2.0
Timestamp of tree: Wed, 29 Apr 2009 05:00:01 +
distcc 3.0 i686-pc-linux-gnu [disabled]
app-shells/bash: 3.2_p39
dev-lang/python: 2.4.4-r6, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:1.6-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS=x86
CBUILD=i686-pc-linux-gnu
CFLAGS=-O2 -march=i686 -pipe
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /var/bind
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/gconf
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d
/etc/terminfo /etc/udev/rules.d
CXXFLAGS=-O2 -march=i686 -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=distlocks fixpackages parallel-fetch protect-owned sfperms
strict unmerge-orphans userfetch
GENTOO_MIRRORS=http://mirror.ovh.net/gentoo-distfiles/
ftp://mirror.ovh.net/gentoo-distfiles/;
LANG=fr_fr.u...@euro
LDFLAGS=-Wl,-O1
LINGUAS=fr en
MAKEOPTS=-j3
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
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/portage
PORTDIR_OVERLAY=/usr/portage/local/layman/ovh-overlay
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=acl berkdb bzip2 cgi cli cracklib crypt cups dri fastcgi fortran
gd gdbm gif gpm iconv ipv6 isdnlog jpeg midi mmx mudflap mysql ncurses
nls nptlonly openmp pam pcre perl png pppd python readline reflection
session spl sse sse2 ssl sysfs tcpd unicode x86 xml xorg zlib
ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci
emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel
intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem
ymfpci ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop
empty extplug file hooks iec958 ioplug ladspa lfloat linear meter
mmap_emul 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 ELIBC=glibc INPUT_DEVICES=keyboard
mouse evdev KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk
hd44780 lb216 lcdm001 mtxorb ncurses text LINGUAS=fr en
USERLAND=GNU VIDEO_CARDS=fbdev glint i810 intel mach64 mga neomagic
nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK,
LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

Galevsky



Re: [gentoo-user] Re: dual booting 2 gentoo installations

2008-11-26 Thread Galevsky
2008/11/25 Dale [EMAIL PROTECTED]:
 Could he not share /boot?  He may want to have a different set of
 kernels for some reason but couldn't he even share those?  I ask cause I
 shared when I dual booted Mandrake and Gentoo.  Naturally Mandrake
 didn't last long.  LOL  It did have different kernels tho.  Mandrake
 used modules like a mad man.

Look at the kernel definition line:

kernel (hd1,1)/boot/kernel-2.6.27-r4 root=/dev/hdb2

You have to specify a file as a kernel and a / partition. Wherever
they are. If you want to share -or not- a unique /boot, feel free.

Galevsky



[gentoo-user] Problem with lighttpd web serveur

2008-07-10 Thread Galevsky
Hi all,

I am facing a weird issue: I have an image stored in a public
directory that can be reached by its url with any browser. No problem
to display it (from everywhere). But when I try to access it from my
post on any forum (with BBCode [img] tag), the image is not displayed.

Any idea ? a problem with the authentification module ?

Gal'
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Ati or Nvida

2008-06-17 Thread Galevsky
On Tue, Jun 17, 2008 at 3:13 PM, Hal Martin [EMAIL PROTECTED] wrote:
 Again, I haven't had any difficulties with the nVidia drivers. I'm running a
 GeForce 7900GTX, which uses the same linux driver as the Quadro does.

Same here with nvidia driver on a 8800GTS GC.

A former ATI addict who left for performance issues.

Gal'
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Linux Motherboard

2008-03-25 Thread Galevsky
On Tue, Mar 25, 2008 at 10:17 AM, Alan McKinnon [EMAIL PROTECTED] wrote:
snip
  Video cards is the big sticking point

For sure. But I guess that he wants to satellite his GC with the last
Windows games, so I would recommend a 8800. And his NVIDIA wont hurt
for a common desktop usage.

As for the performances, could you tell me if there is a gap between
nv and the proprietary driver ? I Never tried the later.

Gal'
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Linux Motherboard

2008-03-25 Thread Galevsky
Tank you.

On Tue, Mar 25, 2008 at 2:53 PM, Albert Hopkins [EMAIL PROTECTED] wrote:
  On Tue, 2008-03-25 at 15:18 +0200, Alan McKinnon wrote:

  The nv driver has *no* 3D acceleration and limited 2D acceleration due
  to nVidia's refusal to release the specs needed to create a decent OSS
  driver.

  You can try the nouveau* drivers but they're still experimental.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Slim DM and shutdown

2008-03-23 Thread Galevsky
On Sun, Mar 23, 2008 at 11:23 AM, Liviu Andronic [EMAIL PROTECTED] wrote:
  I would doubt that this is possible. I once feature-requested on the
  slim-dev mailing list [1] for the root password to be removed [2], but
  dunno if the devels took this into account. Since recently SLiM got
  back to active development, it might be worth asking there again.

Thanks for you reply Liviu. I am going to ask to the dev team :)

Gal'
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Slim DM and shutdown

2008-03-22 Thread Galevsky
Hi,

I am running the display manager slim and I would like to know if it
is possible to get a reboot/shutdown button instead of typing 'halt'
as the login and the root password. Perhaps with a custom theme ?

Thks,

Gal'
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Renaming tons of files

2008-02-27 Thread Galevsky
On Wed, Feb 27, 2008 at 4:40 PM, Erik [EMAIL PROTECTED] wrote:
 Amar Cosic skrev:

  emerge kde-misc/krename and see if it is useful to you.

emerging extra stuff just for a very simple mv or rename ? Oh my God .

Gal'
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Re: Re: Is GWN dead?

2008-01-14 Thread Galevsky
On Jan 14, 2008 1:19 AM, b.n. [EMAIL PROTECTED] wrote:
 Let me explain. You began complaining because the Gentoo live cd
 *exists*, but it is out of date and didn't support your hardware. It's a
 reasonable complain in the assumption you need the Gentoo cd (and you
 can't do with anything else): you of course want your hardware to be
 supported by the medium installation.

 Now, imagine the official Gentoo live cd *never existed*. You probably
 just would have picked up some cd you knew supported your system (say,
 latest Ubuntu) and installed using that. No complaining, no discussions,
 everyone happy.

You are right.

 See? Having the Gentoo live cd *was wrong from the beginning*. It put
 another fairly complex piece of software to support on developer
 shoulders, offered vanishingly little benefit, and when it fails it
 immediately puts blame on Gentoo: hey this cd doesn't support my
 hardware, wtf that can offset potential users.

Still right.

 The reason other distro have complex live cds for installing is that
 they *need that*. Gentoo does not need this additional complexity.
 Nevertheless a live cd there was, but as you experienced, it's more the
 trouble it causes than that it solves.

I disagree. Gentoo needs it too. Because *THE* point that made me love
Gentoo *in the FIRST second*, was: GOD !!! look at this wonderful
handbook  look at that so didactic installation way !!! Let's boot
the minimal CD and burn a full LiveCD !

And I was so happy to get my minimal/live CD's that I think Yeah, a
very nice distro, taking your hand from the beginning to bring
knowledge step-by-step, providing all that you need... software and
amazing doc.

 And not having a live cd on which Gentoo is obliged to depend is not a
 bug: sir, it's a feature! The live cd didn't support my Macbook Pro
 networking. Well, fine: Kubuntu did. I had a Kubuntu 7.10 cd around,
 booted from that, no hassle at all. Other distros have to support their
 own live cd, and if it fails, installation is impossible. With Gentoo,
 we have the full monty of live cds to choose within. It's like a distro
 with infinite installers.

Yes. It is a feature.  As well as the possibility to use minimal/live
CD. Look at http://www.gentoo.org/proj/en/devrel/staffing-needs/ and
read the first task requiring staff: 1 accessibilityRequested
on November 19, 2006 by William Hubbs: Gentoo's accessibility project
is in need of help with things such as ebuild maintenance, kernel
hacking, and *LiveCD creation*. We're also in need of someone to
assist with bug solving.

also at the so wonderful handbook, step 2. Choosing the Right
Installation Medium...

The feature is *you can* start from any booted linux to setup your
Gentoo kernel. Right. But not there is no Gentoo liveCD and it is
what we want.


 You are free to create a live cd for Gentoo install, but you're doing
 nothing new nor particularly useful. You'll just add one to the list. Why?

Because I want. It is sufficient for me. Further details ? I would
like to bring the excitation to burn a Gentoo CD to noobs and people
that are pleased to get their CD from Gentoo world. And I want a
liveCD to make live demo in my linux promotional association, to show
how easy emerge is, how very nicely the rc are handled (not based on
naming as debian does) and so on...


Gal'
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Re: Is GWN dead?

2008-01-14 Thread Galevsky
On Jan 14, 2008 10:17 AM, Neil Bothwick [EMAIL PROTECTED] wrote:
 On Mon, 14 Jan 2008 01:27:30 +0100, b.n. wrote:

  If I can give you an advice: don't create a new livecd from scratch.
  Take an Ubuntu, Knoppix or similar live cd, just add these three files
  in a /gentoo directory, and re-release it xerox, with just the three
  files added and a Gentoo logo somewhere.

 Or simply rebuild the existing CD with a newer kernel. Almost all of the
 complaints about it being out of date can be traced back to the users'
 hardware not being supported in the kernel used a year ago.

+1, at least for the minimal CD ;)
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Re: Is GWN dead?

2008-01-14 Thread Galevsky
On Jan 14, 2008 10:39 AM, Cocoy Dayao [EMAIL PROTECTED] wrote:
 yeah. i agree.
 In fact, imho the most perfect gentoo installer is the mini live cd!
 what more can anybody need?
 would it take much effort to maintain/refresh a mini live cd installer?
 Couldn't that be refreshed every couple of months?
 Having an installer gets newbies to like gentoo, reduces the barrier
 of entry and gets new blood for the community and introduces users to
 a whole new world and still give newbies the general idea of what
 gentoo is.
 not to mention give old hats a quick way to just get gentoo up and
 running as quickly as possible.
 if newbies find the mini live cd too difficult, then gentoo is
 probably not for them is it?
 Anything greater than a mini install cd i think, the community has the
 right to expect contributors to help develop.

 just my two cents worth.

Agreed. IMHO, the noob should start with the handbook on his legs and
the minimal CD this is the best way to start for a beginner.

But liveCD are also interesting for networkless people... gimme one
reason not to provide good liveCD to these people that will re-build
-with custom USE flags- the embedded packages ? I can't find


Gal'
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Daniel Robbins' come back ?

2008-01-14 Thread Galevsky
What looks strange -from an external point of view- is that there is
lots of high-skilled people here... with huge Gentoo experience. How
did these people not manage to build some plan ? With all the
engineers, team leaders, project chiefs, and so on... involved in
Gentoo project ?

It looks like you have the abilities to analyse the situation, you are
the ones who can tell we need that to go ahead, you know how to
plan, you used to live in an open community -that implies that you
have very good notions about smart  productive attitudes in a
not-lucrative environment- and you have the skills to implement and
deploy the solutions.

I don't know Daniel Robbins's previous work so I just have the right
to shut up (and do it with respect). But when I read this thread, I
understand that this man' plans should/will/must? be validated before
by Trustees, but also by the whole committed community (devs mostly
included) because they could not accept major changes without their
agreement (risks of fork).

So -from an external point of view, again- it comes to me that the
devs and really involved people will estimate/evaluate the
proposals... and it sounds good since they are the core of current
Gentoo maintenance and development.

But what about having work plans directly from devs ? I know that you
are very busy... but I am sure that Gentoo future could benefit from
experienced people, like Alan, as an example. Is it possible to get
some public report, written by devs that have something to tell,
explaining the current main issues, what Gentoo should do starting
from now, and the plans for near future ? Maybe with several
propositions

Because what is sure is that non-devs face difficulties to get a clear
view of Gentoo status...

Gal'
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] ebuild that installs partprobe

2008-01-14 Thread Galevsky
On 1/14/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 There is a wonderful new tool available for questions like this!!

 http://www.portagefilelist.de/index.php/Special:PFLQuery?dir=package=full_file=file=partprobeversion=pflquery=submitted

Many tanks, it is a good URL to know :)

Gal'
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Re: Re: Is GWN dead?

2008-01-14 Thread Galevsky
On Jan 14, 2008 5:54 PM, b.n. [EMAIL PROTECTED] wrote:
 We're excited by different things :)

No doubt :)

Gal'
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Re: Is GWN dead?

2008-01-13 Thread Galevsky
On Jan 13, 2008 7:03 PM, Pongracz Istvan [EMAIL PROTECTED] wrote:
 2008. 01. 13, vasárnap keltezéssel 17.46-kor Ken Gypen ezt írta:
 
  I agree that Gentoo shouldn't become an Ubuntu like distro, but the
  minimal install cd is, at least for me, a requirement.
 
 ...
  Regards,
 
  Ken
 

 After reading lot of posts regarding install cd, I decided, I will
 create livecd for install purposes, with:
 - handbook
 - fresh stage3 for i686
 - portage snapshot

 I will try to keep it up-to-date.

 Anyway, I'm not a dev member, just a user with motivation to do this.
 Are anybody interesting in this kind of release?

 Cheers, István

I can't help you immediately, but be sure I am going to help you if
you'll still need it in a few months. For me, the key is to keep the
handbook up-to-date. IMHO, it is a must. Having a 2. Choosing the
Right Installation Medium section not able to provide good
information for new users is really painful. Gentoo is known as one
of the best documented distro and I am sure that it is a crucial
point to mind.

Gal'


Re: [gentoo-user] Re: Re: Is GWN dead?

2008-01-13 Thread Galevsky
On Jan 13, 2008 8:03 PM, Pongracz Istvan [EMAIL PROTECTED] wrote:
 I will prepare a project page on my website and I try to create the
 first release in some weeks. Probably less, than one, depends on my free
 time.

 I will send a mail to this list to inform you about the progress :)

Sounds good  :)

But as a very-soon action to undertake, I think that the official
handbook on gentoo.org should be modified as follow:

-add an important note on top of step 2 saying that the current
minimal/live CDs of Gentoo are outdated and people requiring lastest
kernel should use another liveCD (GRML/knoppix or others) then
download the stage3 tarball to keep on the installation.

Gal'
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Re: Re: Is GWN dead?

2008-01-13 Thread Galevsky
On Jan 13, 2008 8:24 PM, Michael Schmarck
[EMAIL PROTECTED] wrote:
  So I'd rather say, that it would be better, if there were no install
  CD at all.
 
  But it can be done.

 It's not worth the effort, though, as far as I'm concerned.

Since your are not concerned about releasing them, you should find no
issue to let others do it. It is the community spirit, when folks add
a new way to do something, just enlarging the panel of possibilities
without negative impact on existing solutions, even if it doesn't suit
your own needs, since you still have the possibility to setup your
system by the older way,  there is no reason to prevent motivated
people from implementing their alternative solution.

For PXE, GRML as well as gentoo minimal cd installations, what is
mostly important is freedom to choose :)


Gal'
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Is GWN dead?

2008-01-11 Thread Galevsky
On Jan 11, 2008 11:19 AM, Alan McKinnon [EMAIL PROTECTED] wrote:
 On Friday 11 January 2008, Galevsky wrote:
  You can say that devs have no time to make it, but please, don't tell
  that Gentoo doesn't need any installCD (outdated means no CD at all
  for many computers nowaday).

 Please tell me where I said any such thing.

As I said, outdated means no CD at all for many computers nowaday.
And I tought you told us that the current Gentoo installCD has no need
to be upgraded.

 I'll give you a clue - I didn't. I asked you why you think the install
 CD needs updated.

I misunderstood your question...

 Apparently your answer to that is that you have a ICH9 machine. That's
 fine, it's reasonable to need that supported on the BootCD. Was it
 really necessary to take out your frustrations/whatever with the
 installer on me on a public mailing list? Hmmm?

Sorry if I were rude with you Alan, it was not my intentions, plus I
mixed up you question with the affirmation no need to update.

Gal'
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Is GWN dead?

2008-01-11 Thread Galevsky
On Jan 11, 2008 10:38 AM, Dirk Heinrichs [EMAIL PROTECTED] wrote:
 Am Freitag, 11. Januar 2008 schrieb ext Shaochun Wang:

  Currently, Gentoo has not updated
  its installation CD for a long time!

 They don't need to. One week ago I used a GRML cd to install a new Gentoo
 system.



On Jan 11, 2008 10:22 AM, Alan McKinnon [EMAIL PROTECTED] wrote:
 Why do you think gentoo *needs* to update it's install CD?

Because Gentoo is a distro, and as a distro, it should have a way to
be installed on a computer... I upgraded my hardware recently and my
previous gentoo distro was not able to boot (ICH9 + JMicron
controller) because no SATA HD was recognized with my old 2.6.18
kernel the only way to boot was livecd with right kernel/modules.
But Gentoo was not able to provide a *so basic feature*, the one that
let me boot on my computer and you see no needs with that ? Well,
if Gentoo is not able to make my computer booting, it is sure that I
have no need to get maintained portage nor any one of the ebuilds...

To fix my problem, I had a look at other distro LiveCD, but had a too
old kernel inside, then fell back to a custom-made Gentoo LiveCD found
on the gentoo forums.

Maybe *YOU* don't have the need to spend hours looking for an
installCD/LiveCD, but it is a true one for lots of people that faced
this problem. What Gentoo have to tell to these people ? Let's get to
hell since Gentoo installCD is outdated ?

You can say that devs have no time to make it, but please, don't tell
that Gentoo doesn't need any installCD (outdated means no CD at all
for many computers nowaday).

Gal'
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Is GWN dead?

2008-01-11 Thread Galevsky
On Jan 11, 2008 11:02 AM, Michael Schmarck
[EMAIL PROTECTED] wrote:
 Shaochun Wang [EMAIL PROTECTED] wrote:

 Well, actually, I never used a Gentoo install CD to install Gentoo. I
 also don't quite understand, why anyone would need such a beast. To
 install Gentoo, I'd boot my favorite rescue system (GRMl nowadays,
 Knoppix back then, but IMO Knoppix is too fat for *this* *task*)
 and install from there. No need for an install CD.

 As far as I'm concerned, the Gentoo install CD could easily be dropped
 without a loss.

 Michael

I'll try to make you understand it.

GRML ? Knoppix ? other LiveCD ? What for, man ? Using extra rescue
systems is a liberty, of course, but why should it be a must ? I
always installed my gentoo from the current gentoo installCD since I
see no gain in downloading and burning one more system... when I have
a portage-inside one at disposal ! I don't want to take care about
versions and news about other distros/rescue systems, since I am using
Gentoo which provides me all I need to setup. So, of course, as far as
one of linux distro at least will provide a way to boot up an
up-to-date kernel, all the other distros won't have to maintain their
own releases, but in the end, I am not sure that the whole community
wants to launch the Windows Ubuntu installer, download the required
packages manager from the web and update the system from the good
repository.

Gal'
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Is GWN dead?

2008-01-11 Thread Galevsky
On Jan 11, 2008 11:30 AM, Daniel Pielmeier
[EMAIL PROTECTED] wrote:
 The 2007.1 release has been canceled by the release-engineering-team
 because of multiple-problems, maybe there will be a 2008.0 release
 with fresh install-media.

 Again i recommend join gentoo-dev and you will see what is going on!

Be sure: I am currently working for that and I 'll do all my
possibilities to invest me in Gentoo.

Gal'
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Is GWN dead?

2008-01-11 Thread Galevsky
On Jan 11, 2008 2:25 PM, Eddie Mihalow Jr [EMAIL PROTECTED] wrote
 You are missing the point of Gentoo then. We are NOT a binary distro (to
 repeat ad nauseum). If you want that kind of install, please change
 distros. I do find these other methods of install to be interesting though.
 Has anyone on this list ever used a PXE boot image to install?


With just sources, you can't do anything. Even when you built your LFS
you have to download first you toolchain as binaries, before
re-compilation. To compile a compiler. you need a compiler. Good.
But what is the problem ? No issue here. You just know that without a
working PC and toolchain binaries, there is nothing to do.

Should we consider that LFS is not a true custom-made system and loads
the dice ? Of course not, since in the end, you get the expected
result.

Same thing here. You are telling me that my not-bootable linux system
-possibly out of any network- won't face any issue since there is a
repository containing Gentoo sources somewhere and that PXE are not
for dogs. Okay... tel me how to install Gentoo in that case. On the
contrary, I think installCD is a response to an existing need, and it
worth bringing solutions to existing needs.

Gentoo is not for me since I can't boot on PXE ? I don't want to give
one cent to each Gentoo user that can't boot on PXE but needs an
installCD/liveCD first.

Gal'
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Re: Is GWN dead?

2008-01-11 Thread Galevsky
On Jan 11, 2008 8:08 PM, Michael Schmarck
[EMAIL PROTECTED] wrote:
  GRML ? Knoppix ? other LiveCD ? What for, man ?

 Oh, quite easy - to install Gentoo. That way, the knowledge of experts
 in creating live CDs is leveraged. NIH is not a good point of view, if
 you ask me.

  Using extra rescue
  systems is a liberty, of course, but why should it be a must ? I

 Easy - to make use of expert knowledge. To save resources, as that's
 obviously a scarcity in Gentoo.

Not sure that in the whole Gentoo community we cannot find someone not
interested in dev stuff but okay to build CD releases... I can
understand the understaffed argument, but in that case don't tell me
that install CD is bad,  tell me Gentoo has no resource for, but the
debate is does Gentoo need install CD or not ?.

  see no gain in downloading and burning one more system...

 Uhm? That doesn't make sense. Downloading GRML is no worse than
 downloading a Gentoo Live CD.

Yes it is.  Portage is not included,  you depend on other systems that
don't mind about Gentoo needs and could go on different way, and I
find very strange to have a 2.6.23 stable in Gentoo, but not necessary
on other liveCD at the same time, plus networkless installations... I
think it is very good -for any distro-  to have an installCD that
brings a good system to not-connected machines. Just for them.

  [...] I don't want to take care about
  versions

 Me neither, but that's a dream.

I mean dealing with Gentoo components versions sounds sensible
watching GRML/Knoppix/whatever website for a Gentoo install...surely
less.

  So, of course, as far as
  one of linux distro at least will provide a way to boot up an
  up-to-date kernel, all the other distros won't have to maintain their
  own releases, but in the end, I am not sure that the whole community
  wants to launch the Windows Ubuntu installer, download the required
  packages manager from the web and update the system from the good
  repository.

 I don't get, what you were trying to say here.

I mean that one particular aspect of linux world that I love is
choice. I am very pleased to show different live CD to newbies and I
hope that all other distros won't have the same reasoning. Okay, GRML
does a nice job. But if a Gentoo user wants to spend time to build
liveCD, I see no reason not to let him release official iso ... and
propose a Gentoo alternative. Certainly not because guys are experts
in rescue systems at grml.org.

Gal'
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Any newer Gentoo install CDs?

2008-01-07 Thread Galevsky
To boot my linux, I faced a JMicron eSata/Pata controller problem,
that prevented my SATA disk from being recognized. = I had to use a
2.6.23 kernel, founded on the gentoo forum. (the knoppix latest
released I used were 2.6.19 !!!) Do you also have a JMicron controller
?

Is there any other solution for this or is the only Linux support
 going to require AHCI? It is unfortunately not reasonable or practical
 to switch BIOS options when choosing which OS to boot. snip

Of course it is not. You will be able to run linux without any problem
with a recent kernel and all the required modules without AHCI. But
you may be able to run AHCI in both linux and windows too. Have a look
at http://en.wikipedia.org/wiki/Advanced_Host_Controller_Interface

Quotes for Windows issue:
Enabling AHCI in a system BIOS will cause a 0x7B Blue Screen of Death
STOP error (INACCESSIBLE_BOOT_DEVICE) on installations of Windows XP
where AHCI/RAID drivers for that system's chipset are not installed.
Switching to AHCI mode requires installing new drivers before changing
the BIOS settings.

and for linux side:

 AHCI is fully supported out of the box for Microsoft Windows Vista
and the Linux operating system from kernel 2.6.19. Older operating
systems require drivers written by the host bus adapter vendor in
order to support AHCI.

Common problems switching to AHCI under Linux:
   * AHCI controller does not work on AMD/ATI RS400-200 and RS480 HBA
when MSI is enabled due to a hardware error. In order for AHCI to work
users must provide the pci=nomsi kernel boot parameter. With MSI
disabled in this way, the PCIe bus can only act as a faster PCI bus
with hotplug capabilities. This is also true of the Nvidia nForce 560
chipset.
* AHCI controller on AMD/ATI SB600 HBA can't do 64bit DMA
transfers. 64-bit addressing is optional in AHCI 1.1 and the chip
claims it can do them, but in reality it can't, so it is disabled.
After that it will be forced to do 32bit DMA transfers. Thus DMA
transfers will occur at the lower 4GB region of the memory, and bounce
buffers must be used sometimes if there is more than 4GB of RAM.


Gal'
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Any newer Gentoo install CDs?

2008-01-07 Thread Galevsky
On Jan 7, 2008 1:23 PM, Neil Bothwick [EMAIL PROTECTED] wrote:
 The Windows install that I mentioned having problems with AHCI is Vista.

Good to know I just faced problem with AHCI on XP, and thought
that there were no matter on Vista... so install drivers first for the
whole M$ family...

Gal
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Mounting Question...

2007-12-21 Thread Galevsky
On Dec 20, 2007 10:31 PM, Mick [EMAIL PROTECTED] wrote:
 Unlike commonly perceived wisdom I don't think that LVM is a panacea for all
 ills, or a necessity as such.  It is however bloody convenient, especially on
 a growing fs.  A server that is not expected to change much in size, probably
 does not need it.  On the other hand some servers (file, mail, news servers)
 are bound to continue to accumulate data and their fs will increase in time.
 I would argue that the former type of server can happily live in a few primary
 partitions + 1 extended with a number of logical partitions, if you are going
 for a multi-partitioned scheme, while the latter type of server will greatly
 benefit from LVM.  Of course, if hard drive redundancy is necessary, then I
 can't see how you could live without LVM + RAID.

I understand you on LVM is not a must for very stable servers, but
since I can't see any good reason not to use LVM,  I see no reason to
limit your abilities to extended partitions. We have the opportunity
to be more flexible with LVM, why should we not get it ? To loose the
ability to extend a partition by adding a new HD without any pain ? I
mean, if you don't know how to use it, I understand that you may skip
installing a LVM system, but when you did it once, I see no reason to
install your new systems without. So, I am interested in your advice
about LVM is not the universal solution for partitions management,
since I am sure I have something to learn from you experience.

Gal'
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Mounting Question...

2007-12-20 Thread Galevsky
I won't answer you with a size since its mainly depends on your own
needs, but don't you know that solutions like lvm or evms provide lots
of flexibility to manage your HD resources ? I advise you to look at
lvm howto. It allows you to add/remove/move/enlarge your partitions as
you need in a truly painless way. To avoid major mounting problems
(can be done but with caution), let /boot and / outside lvm, and put
the others in logical volumes.

Gal'


On Dec 20, 2007 10:50 AM, Benjamen R. Meyer [EMAIL PROTECTED] wrote:
 I set up a server system a little while ago, and in performing updates
 to portage it ran out of disk space as I didn't quite allow enough space
 on the root partition (3.8 GB). As a result, I took a partition that I
 had cleaned up (this was from a rebuild of a system that was a different
 distro in the past) and moved over /usr/portage to it. It's a 47 GB
 partition (as reported by df -h) and the system works fine.

 I do realize that if the mount command got screwed up, I'd probably have
 issues recovering the system, but that is that system.

 I am now thinking of converting my desktop over to Gentoo as well, and
 was wondering whether what I did above on the server was wise or not. I
 will be using the server as the portage provider for my desktop too.
 Otherwise, what is the recommended space to have available for the
 portage tree in /usr/portage so I can have root as an appropriately
 sized partition?

 TIA,

 Ben
 --
 [EMAIL PROTECTED] mailing list


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo Rules

2007-12-18 Thread Galevsky
On Dec 16, 2007 2:09 AM, Walter Dnes [EMAIL PROTECTED] wrote:
   Do you have a list of significant improvements you want implemented?
 There were gaping holes in linux's abilities in the past.  These
 problems have been fixed.  Change simply for the sake of change is a
 relic of the Windows era.

Ya, but let me remind you that Gentoo did not reach the perfect stage
of nothing more can be done to improve it.

IMHO, there is one major project that Gentoo should start. Gentoo is a
distro -I don't remember who told us Gentoo is not a distro, but it
is- because there is something called portage tree. It is not just an
LFS with a package manager (to do that, please read
http://www.linuxfromscratch.org/lfs/ and install a portage tarball),
because Gentoo provides thousands of packages that are maintained by
gentoo devs. No more confusion, Gentoo IS a distro.

Well, Grant -among others- is wondering about Gentoo future, and some
difficulties that Gentoo currently faces. I love the efforts of some
gentooers to claim that everything is okay in Gentoo world, they may
skip the goodbye posts of all the leaving developers on the dev list,
or may ignore the understaffed teams, but  well, Grant, you are
not stupid to wonder about future and your questions are not silly.

Some improvement that can be done ? Someone reports difficulties for
non-dev to become official dev or contribute. I think about something
that EVERY linux distro lacks today. I am dreaming about a clear
package tree representation. I mean, there is
http://packages.gentoo.org/ for users to know which package are at
disposal on which architectures, and so on. Let's imagine what a
distro web site should provide... (not only on the web site but also
integrated into the pkg management software) the categorized packages
list, with search features of course, with ALL the information
attached to each package, like the needs for maintainers as an
example. There is neither announcements about the future ebuild
releases, nor the Gentoo policy about this package... I think that
this kind of information can be a good interface between official devs
and the community to encourage new people to become devs, or to simply
provide a better view on the current status of the portage tree and
the near future.

The package maintenance is a really hard task that requires lots of
resources. OK. But there is a lack of resources. Is there actually
nothing to do ? Is the automation of the package built with all USE
flags combination and tests already done ? Are you sure that there is
no process improvement possible (about the non-regression tests
delivered with ebuilds) ? There is just one point on which I am sure
 it is hard for non-dev to know how things turn on.

Gal'
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Booting up without X

2007-12-18 Thread Galevsky
There is a softlevel option to add in your grub entry to switch to a
different RC.

have a look at http://gentoo-wiki.com/HOWTO_create_a_run_level

Gal'

On Dec 18, 2007 5:16 PM, Yahya Mohammad [EMAIL PROTECTED] wrote:
 I want to add a grub menu entry that will load the system without
 starting gdm, just like the livecd does when the 'nox' kernel parameter is
 passed. I poked around the CD a bit to figure out how that's done but
 failed. Does the kernel have to be modified to do this? Thanks for any
 pointers.
 --
 [EMAIL PROTECTED] mailing list


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Wireless help?

2007-12-01 Thread Galevsky
Hello Grant,

Let's check first your kernel config:
http://madwifi.org/wiki/UserDocs/KernelConfig
If you still face trouble, I advise you to have a look at the website
doc which looks pretty good..

Gal'


On Dec 1, 2007 7:32 AM, Grant [EMAIL PROTECTED] wrote:
 I'm trying to set up a new laptop's wireless interface.  lspci says it
 has an Atheros AR5006EG which should mean the madwifi drivers.  I
 emerged madwifi-ng and madwifi-ng-tools, created net.ath0 as a link to
 net.lo, and set the ath_pci module to autoload (which it does without
 errors) but I get:

 network interface ath0 does not exist
 Please verify hardware or kernel module (driver)

 when trying to start net.ath0.  Does this sound like a driver support
 problem or did I miss something?  ifconfig only shows eth0 and lo.
 iwconfig shows, eth0, lo, and sit0.  I don't know what sit0 is.

 - Grant
 --
 [EMAIL PROTECTED] mailing list


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo on the server side

2007-11-29 Thread Galevsky
It mainly depends on your own feelings. I think that a debian stable
is a very good choice for a prod' server, but I really dislike the way
Debian manages daemon and prefer the Gentoo approach. Updates are not
painless...for sure, but you have to consider your needs first (what
tools do you need ? typical web services ? extra lib from different
languages ? any time reserved for maintenance or the server cannot be
off ?). Then, updating is not a must. Believe me, an up-to-date
machine is nice  when you want brand new lib/features/softwares.
Do your server need to be so.. up-to-date ?

Finally, if you take time to estimate what should be updated prior to
emerge the whole world, you can plan your updates and organize the way
to go back if required and updates are not nightmares. (But have a
look at the handbook:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2). You
also need tools like dispatch-conf to undo easily your conf files
changes.

Gal'


On Nov 29, 2007 2:10 PM, Rafael Barrera Oro [EMAIL PROTECTED] wrote:
First of all, thanks to everybody for sharing your experiences, very
 helpful information indeed, specially now that i need some guidance.
For now, the conclusion i can reach is that Gentoo is perfectly adequate
 to use on a server with the only downside of the need to have special care
 with updates.
Ricardo, i find really encouraging the fact that your lab uses Gentoo for
 their servers. Nevertheless it would be great if you could tell us a little
 about your lab's experience with updates, which seems to be the only issue
 when using Gentoo on a server.
Another thing i noticed is that some of you recommend to have a secondary
 server to perform tests, i totally agree with this. Unfortunately i do not
 think that having such thing will be possible since the server will be
 charged to a client and i do not think they will agree to buy a second
 server (even if its the right thing to do, which i believe so), in such
 case, would you still recommend Gentoo?.

 Again, thanks to everybody for the information.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] New kernel does not boot up on remote host

2007-07-05 Thread Galevsky

Many thanks for you suggestion. I tried a boot with no fall back, but
nothing added neither to boot.log nor to dmesg. I am sure to target
the right kernel image with no typo into grub.conf . This new kernel
is a =xen-sources-2.6.16.49, and I configured it making an oldconfig
based on current =gentoo-sources-2.6.20 running kernel. So, errors
cannot come from drivers or such things, but specific xen options.
Does anyone know any xen option able to prevent the kernel to boot up
?

Many thanks for your support,

Gal'

2007/7/4, Albert Hopkins [EMAIL PROTECTED]:

On Wed, 2007-07-04 at 21:54 +0200, Galevsky wrote:
 ... the matter is Grub falls back to previous 2.6.20 kernel. So I have
 no log at all about what went wrong during the dom0_2.6.18 boot.

 Any idea to know what went wrong ?


Nevertheless, if you want to actually know what the error
is then you should disable the fallback.


--
Albert W. Hopkins

--
[EMAIL PROTECTED] mailing list



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] New kernel does not boot up on remote host

2007-07-05 Thread Galevsky

2007/7/5, Albert Hopkins [EMAIL PROTECTED]:

On Thu, 2007-07-05 at 11:36 +0200, Galevsky wrote:
 Many thanks for you suggestion. I tried a boot with no fall back, but
 nothing added neither to boot.log nor to dmesg. I am sure to target
 the right kernel image with no typo into grub.conf . This new kernel
 is a =xen-sources-2.6.16.49, and I configured it making an oldconfig
 based on current =gentoo-sources-2.6.20 running kernel. So, errors
 cannot come from drivers or such things, but specific xen options.
 Does anyone know any xen option able to prevent the kernel to boot up
 ?

I guess I (still) don't understand what your issue is.  So I went back
and read your original post.  Maybe I misunderstood it.

  * What do you mean by remote host?


I rent a dedicated host. Thus, I have no physical access to the
machine. And the reason why I used the fall-back feature into grub is
to avoid the use of a boring rescue system (via a web interface) to
take back the control of a not-responding box.


  * If your box does not boot how would you expect to see a
boot.log or dmesg ? They don't exist if the system has not
booted.  In fact does not boot implies that you can't even log
in to check for dmesg or boot logs.  Perhaps you can explain
what it is exactly you mean by does not boot.


When I try to boot on the new kernel, I set it as the default one in
grub.conf and reboot the box. And I wait for a few minutes. Then I try
to log on, praying to find the box responding.

First, with grub fall-back activated, the boot had fallen back and I
was able to read the logs that contained the running kernel logs, but
no info about the kernel boot that failed. That was the matter of my
first mail: how to read  the reasons of the first kernel-boot-attempt
failure.

Secondly, you advised me to turn fall back off. I do. The box is no
more responding after reboot, and I have to launch the rescue system
to log on my box, and read the /var/log/*. I thought previously that
some pb happened -I didn't know when exactly-... and was waiting for
more info in log files. But files were empty. So, I conclude that the
boot procedure failed (and you too ;o)).

Finally, I have to find out why my kernel is not booting. I tuned up
well my previous kernel, a gentoo-sources-2.6.20 -this kernel runs
currently my box very well- and the kernel I want to boot now is a
xen-sources-2.6.16. I made an oldconfig on /proc/config.gz of the
2.6.20 running kernel, and fill in xen-dom0 specific options as
indicated on the wiki tutorial [1]. So, I guess I did something wrong
with the dom0 xen config, and asked for advice on xen specific options
with my second post.


  * Usually there is an error message on the console if there is a
boot loader/kernel issue with booting.
  * Also you never posted your grub.conf.

So hopefully you can come up with a specific explanation of does not
boot as well as your config and any console messages you get.  Else
this becomes a blind leading the blind issue.


I have no console message to provide you, I just know that my remote
box is not responding when I try to boot another kernel (If you know
the way to get logs, I'll be grateful :o)). And I checked the
/var/log/* to be sure that the kernel was not running but just missing
any network feature so that I could not log on the box despite the
kernel was actually running.

As for my grub.conf + 'ls -l /boot' , I will provide you in a while (I
need to go home before), but I am not sure it is relevant. (just to
check for typo I guess).


--
Albert W. Hopkins

--
[EMAIL PROTECTED] mailing list


Many thanks to take care of my problem :o)

Gal'

[1]: http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] New kernel does not boot up on remote host

2007-07-05 Thread Galevsky

2007/7/5, Dan Farrell [EMAIL PROTECTED]:

On Thu, 5 Jul 2007 18:40:20 +0200
Galevsky [EMAIL PROTECTED] wrote:

 2007/7/5, Albert Hopkins [EMAIL PROTECTED]:
  On Thu, 2007-07-05 at 11:36 +0200, Galevsky wrote:
   Many thanks for you suggestion. I tried a boot with no fall back,
   but nothing added neither to boot.log nor to dmesg. I am sure to
   target the right kernel image with no typo into grub.conf . This
   new kernel is a =xen-sources-2.6.16.49, and I configured it
   making an oldconfig based on current =gentoo-sources-2.6.20
   running kernel. So, errors cannot come from drivers or such
   things, but specific xen options. Does anyone know any xen option
   able to prevent the kernel to boot up ?
 
  I guess I (still) don't understand what your issue is.  So I went
  back and read your original post.  Maybe I misunderstood it.
 
* What do you mean by remote host?

 I rent a dedicated host. Thus, I have no physical access to the
 machine. And the reason why I used the fall-back feature into grub is
 to avoid the use of a boring rescue system (via a web interface) to
 take back the control of a not-responding box.

* If your box does not boot how would you expect to see a
  boot.log or dmesg ? They don't exist if the system has not
  booted.  In fact does not boot implies that you can't
  even log in to check for dmesg or boot logs.  Perhaps you can
  explain what it is exactly you mean by does not boot.

 When I try to boot on the new kernel, I set it as the default one in
 grub.conf and reboot the box. And I wait for a few minutes. Then I try
 to log on, praying to find the box responding.

 First, with grub fall-back activated, the boot had fallen back and I
 was able to read the logs that contained the running kernel logs, but
 no info about the kernel boot that failed. That was the matter of my
 first mail: how to read  the reasons of the first kernel-boot-attempt
 failure.

 Secondly, you advised me to turn fall back off. I do. The box is no
 more responding after reboot, and I have to launch the rescue system
 to log on my box, and read the /var/log/*. I thought previously that
 some pb happened -I didn't know when exactly-... and was waiting for
 more info in log files. But files were empty. So, I conclude that the
 boot procedure failed (and you too ;o)).

 Finally, I have to find out why my kernel is not booting. I tuned up
 well my previous kernel, a gentoo-sources-2.6.20 -this kernel runs
 currently my box very well- and the kernel I want to boot now is a
 xen-sources-2.6.16. I made an oldconfig on /proc/config.gz of the
 2.6.20 running kernel, and fill in xen-dom0 specific options as
 indicated on the wiki tutorial [1]. So, I guess I did something wrong
 with the dom0 xen config, and asked for advice on xen specific options
 with my second post.

* Usually there is an error message on the console if there
  is a boot loader/kernel issue with booting.
* Also you never posted your grub.conf.
 
  So hopefully you can come up with a specific explanation of does
  not boot as well as your config and any console messages you get.
  Else this becomes a blind leading the blind issue.

 I have no console message to provide you, I just know that my remote
 box is not responding when I try to boot another kernel (If you know
 the way to get logs, I'll be grateful :o)). And I checked the
 /var/log/* to be sure that the kernel was not running but just missing
 any network feature so that I could not log on the box despite the
 kernel was actually running.

 As for my grub.conf + 'ls -l /boot' , I will provide you in a while (I
 need to go home before), but I am not sure it is relevant. (just to
 check for typo I guess).

  --
  Albert W. Hopkins
 
  --
  [EMAIL PROTECTED] mailing list

 Many thanks to take care of my problem :o)

 Gal'

 [1]: http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo

from /etc/conf.d/rc:
# RC_BOOTLOG will generate a log of the boot messages shown on the
console. # Useful for headless machines or debugging.  You need to
emerge the # app-admin/showconsole package for this to work.  Note that
this probably # won't work correctly with boot splash.

RC_BOOTLOG=no

I recommend you install showconsole and set RC_BOOTLOG to yes, that
might help you.  It is possible that maybe something as mundane as
networking is failing for a stupid reason, and therefore you cant get
to the computer because it cant finish booting.
--
[EMAIL PROTECTED] mailing list




Thank you Dan, but I did it before, and boot.log remains empty. In
fact, the new kernel boot turns on like grub couldn't find the kernel
image

Hereafter my /boot content:

sd-4421 boot # ll /boot
total 13M
-rw-rw-r-- 1 root root 767k Jul  6 00:02
System.map-2.6.16.49-xendedibox_r6_final
-rw-r--r-- 1 root root 929k Jun 16 19:29 System.map-2.6.20-gentoo-r8
lrwxrwxrwx 1 root root1 Apr 30 19:40 boot - ./
-rw-rw-r-- 1 root root  31k Jul  6 00:02 config-2.6.16.49-xendedibox_r6_final
-rw

Re: [gentoo-user] New kernel does not boot up on remote host

2007-07-05 Thread Galevsky

Sorry, I was building again my kernel image to confirm that It was not
a stupid mistake.

2007/7/6, Albert Hopkins [EMAIL PROTECTED]:

I recently discovered 'savefallback' in grub which I did not know about.
I'll assume you're using that but again, I haven't seen your grub.conf.

Dan Farrell made an intresting point about boot log and showconsole, but
I assumed you were already using that.


Ya, I did it. No boot.log created when booting the xen-kernel, but
reporting good status when I boot up the good 2.6.20 one. So, feature
is on.


 But I still don't that will help
you because your problem appears to be one of the following:

  * Grub is not loading your kernel and is falling back (same as my
original theory)


Ya, you should be right...


  * Your kernel/hypervisor is loading but is crashing immediately.
If the Xen hypervisor is crashing you really need the console.
AFAIK there's no option to log.  The only option you really have
is whether or not to immediately reboot when it crashes.  If Xen
is loading successfully then it loads your dom0. If that's
crashing it's probably crashing immediately (i.e. not even
mounting root). If it is the dom0 then that seems to be the case
since you can't find any record of it having booted.  If you
crash before you mount root read/write then showconsole and
bootlog are useless.
All things said, I'm still guessing that it's either a grub problem or
Xen doesn't like your hardware.  Xen is picky about hardware and
sometimes you have to turn on/off things in the BIOS or as a parameter
to Xen (like the ACPI controller) but it's going to be hard to guess
without an error message and I'm betting that error message appears
before bootlog/showconsole take effect.



Okay, thanks a lot, I am looking for such information since I am new
to xen. I will google for people running xen solutions on the same
kind of boxes.



--
Albert W. Hopkins

--
[EMAIL PROTECTED] mailing list




Many thanks for your support guys ;o)

Gal'
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Index to /usr/share/doc/...html... a reinvented wheel?

2007-07-04 Thread Galevsky

surely not all the gentooers. Not me, since my bookmarks are
day-to-day matters but the doc.

2007/7/4, Kevin O'Gorman [EMAIL PROTECTED]:

On 7/3/07, Naga [EMAIL PROTECTED] wrote:

[snip]

So: am I the only one who likes this?

 ++ kevin


--
Kevin O'Gorman, PhD


--
[EMAIL PROTECTED] mailing list



[gentoo-user] New kernel does not boot up on remote host

2007-07-04 Thread Galevsky

Hi ML,

I need your help to find the right way.

I am running a

Linux sd-4421 2.6.20-gentoo-r8 #1 SMP Sat Jun 16 19:27:48 CEST 2007
i686 VIA Esther processor 2000MHz CentaurHauls GNU/Linux

remote box. This kernel was compiled on my own. It is good. But I need
a xen box now. So I emerged the linux-2.6.16.49-xen sources and
compiled them successfully (I made an oldconfig on the /proc/config.gz
of the running 2.6.20). I followed the
http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo doc for dom0-Xen specific
kernel config.

Well, now it is time to boot up the new dom0_2.6.18... grub.conf got
the changes, fall-backing to previous kernel if required

... the matter is Grub falls back to previous 2.6.20 kernel. So I have
no log at all about what went wrong during the dom0_2.6.18 boot.

Any idea to know what went wrong ?

Many thanks for your help,

Gal'
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] hacking an ebuild

2007-06-19 Thread Galevsky

I advise you to read the dev howto at
http://www.gentoo.org/doc/en/index.xml?catid=gentoodev

Gal'

2007/6/19, James [EMAIL PROTECTED]:

Hello,


The devs seems to be busy. Also, I should have learn this some time
ago anyway. There is a existing ebuild for JFFNMS, but, it is masked
for amd64. Is there a guide I can follow to use an x86 ebuild and
create an amd64 derivative ebuild? Since it uses php and other high
level software, I would not think that this is a terrible difficult
process?

If not, can somebody briefly itemized what needs to be done,
in very general terms, to hack together an ebuild for amd64
when one exist for x86?


James



--
[EMAIL PROTECTED] mailing list



--
[EMAIL PROTECTED] mailing list



[gentoo-user] make oldconfig behaviour

2007-06-16 Thread Galevsky

Hi all,

I faced an ethernet driver miss during my kernel configuration,
because I had a wrong idea of what 'make oldconfig' did. I thought the
oldconfig target build up a new .config file starting from the
/proc/config.gz one then asking for new options.

But It was not the case here:

sd-4421 linux-2.6.20-gentoo-r8 # gunzip -c /proc/config.gz | grep VIA
CONFIG_MVIAC3_2=y
CONFIG_BLK_DEV_VIA82CXXX=y
CONFIG_SCSI_SATA_VIA=y
CONFIG_VIA_RHINE=y
# CONFIG_VIA_RHINE_MMIO is not set
# CONFIG_VIA_RHINE_NAPI is not set
CONFIG_VIA_VELOCITY=y
CONFIG_HW_RANDOM_VIA=y
CONFIG_I2C_VIA=m
CONFIG_I2C_VIAPRO=m
# CONFIG_SENSORS_VIA686A is not set

sd-4421 linux-2.6.20-gentoo-r8 # make mrproper oldconfig
[snip]

sd-4421 linux-2.6.20-gentoo-r8 # grep VIA .config
# CONFIG_MVIAC3_2 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
CONFIG_SATA_VIA=y
# CONFIG_PATA_VIA is not set
# CONFIG_VIA_RHINE is not set
# CONFIG_VIA_VELOCITY is not set
CONFIG_HW_RANDOM_VIA=y
# CONFIG_AGP_VIA is not set
# CONFIG_SOUND_VIA82CXXX is not set

So, I did not build up the VIA RHINE and VELOCITY drivers.
Now I have to build my conf again since the whole configuration may
not suit what I was looking for.

Anyone to tell me what oldconfig target does ?


Many thanks for your support,

Gal'
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: make oldconfig behaviour

2007-06-16 Thread Galevsky

Many thanks Alexander, I misunderstood what oldconfig means. just
any existing .config file into ... into the src dir. LOL. Thanks
again.

Gal'


2007/6/16, Alexander Skwar [EMAIL PROTECTED]:

· Galevsky [EMAIL PROTECTED]:

 Now I have to build my conf again since the whole configuration may
 not suit what I was looking for.

Take your old .config as a base.

 Anyone to tell me what oldconfig target does ?

It takes the .config it finds in the source directory and
builds the config from there. If there are new selections
in the new kernel, you'll be asked for the value they should
get.

In short: Before running make oldconfig, copy the .config
from your old kernel to your new kernel tree and then run
make oldconfig.

Alexander Skwar
--
Linux!  Guerrilla UNIX Development Venimus, Vidimus, Dolavimus.
-- Mark A. Horton KA4YBR, [EMAIL PROTECTED]


--
[EMAIL PROTECTED] mailing list



z���(��j)b�   b�

Re: [gentoo-user] Re: Date and time reset randomly.

2007-06-12 Thread Galevsky

Surely not. As for the dual bout with an other OS (let's call it
MS-Win ;o)), people can easily face a wrong time due to a bad
configuration in linux side: the hardware time should be set as local
time instead of UTC to avoid a time difference between both the OSes.
But no time reset symptom (unless possible MS-Win virus). As said
earlier, bios battery must be going out.

Gal'

2007/6/12, Dan Farrell [EMAIL PROTECTED]:

On Tue, 12 Jun 2007 11:01:51 +0200
Xavier Parizet [EMAIL PROTECTED] wrote:

  Hello gentoo peoples ;)
 
  I have a little problem on my laptop. Everything is fine, except the
  fact that sometimes, the date and time reset to the 01/01/2000 .
 do you check that isn't your bios ? Maybe your bios battery is out
 and cause the bios settings to reset randomly...
That is only going to work if the computer has been turned off.  The
bios should be able to remember everything without an external battery
if the computer is running.
  Consequently, on reboot, the boot process warn me that there are
  many files wich have modification dates in the future   That
  happens randomly, in something like every 15 reboots ...
 
  I have then to reconfigure my dates 
 
  So, does anyone knows where is that problem coming from ?
 
  It is of course not very important , but I would be happy to fix
  it ..
Perhaps NTP could help you...
  Thanks.
 Regards.

--
[EMAIL PROTECTED] mailing list



--
[EMAIL PROTECTED] mailing list



[gentoo-user] xen-sources compilation error: net/ipv4/netfilter

2007-06-08 Thread Galevsky

Hi all,

I recently emerged xen-sources and launched a dom0 kernel compilation.

Compil' gave up on :

net/ipv4/netfilter/ipt_REJECT.c: In function 'send_reset':
net/ipv4/netfilter/ipt_REJECT.c:162: error: 'struct skb_shared_info'
has no member named 'tso_size'
net/ipv4/netfilter/ipt_REJECT.c:163: error: 'struct skb_shared_info'
has no member named 'tso_segs'
make[3]: *** [net/ipv4/netfilter/ipt_REJECT.o] Error 1
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2


I tried to search on https://bugzilla.netfilter.org/bugzilla/index.cgi
but the search feature was down. Google gave me other errors, but this
wrong struct usage. Any idea to put me on the right way ?

Many thanks for your support,

Gal'
--
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: xen-sources compilation error: net/ipv4/netfilter

2007-06-08 Thread Galevsky

Solution here: http://bugs.gentoo.org/show_bug.cgi?id=177142

Sorry.


Gal'


2007/6/8, Galevsky [EMAIL PROTECTED]:

Hi all,

I recently emerged xen-sources and launched a dom0 kernel compilation.

Compil' gave up on :

net/ipv4/netfilter/ipt_REJECT.c: In function 'send_reset':
net/ipv4/netfilter/ipt_REJECT.c:162: error: 'struct skb_shared_info'
has no member named 'tso_size'
net/ipv4/netfilter/ipt_REJECT.c:163: error: 'struct skb_shared_info'
has no member named 'tso_segs'
make[3]: *** [net/ipv4/netfilter/ipt_REJECT.o] Error 1
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2


I tried to search on https://bugzilla.netfilter.org/bugzilla/index.cgi
but the search feature was down. Google gave me other errors, but this
wrong struct usage. Any idea to put me on the right way ?

Many thanks for your support,

Gal'


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how to move windows partition to be begining of hard?

2007-06-05 Thread Galevsky

Ya there is. Have a look at GParted, and burn this useful live-cd.

http://gparted.sourceforge.net/index.php

Gal

2007/6/5, Platoali [EMAIL PROTECTED]:


Hi

I  have a box that has a 4GB fat32 partition in the middle of hard.
I want to move this partition to the end or  begining of hard, so I can
create
bigger partitions.

How can I do this without losing the data in this partition? I know that
softwares like Partition magick can do this without any problem.  Is
there
any opensource competitor in linux world?

Thank you very much for you answeres
--
[EMAIL PROTECTED] mailing list




Re: [gentoo-user] Xen Doc compilation failed = latex2html pb

2007-06-05 Thread Galevsky

Hi all,

I am still facing the problem. I run my box with -doc flag for a
while, but had re-emerged system and world with doc flag then
disappointed to see that doc compiling for app-emulation/xen-tools
still failed.

Is there anybody for who xen doc compilation succeeds ? I tried to
update latex2html dev-tex/latex2html-2002.2.1_pre20041025-r1
correctly set up. My previous log is still relevant and suits the
current behavior.

No one to show me the way ?

Thanks for your support,

Gal'

2007/4/15, [EMAIL PROTECTED] [EMAIL PROTECTED]:

Hi,

I emerged app-emulation/xen-tools-3.0.2-r4 on my gentoo box but the
compilation failed with the DOC use flag :

[...]
make: Entering directory
`/var/tmp/portage/app-emulation/xen-tools-3.0.2-r4/work/xen-3.0.2/docs'
latex src/user.tex /dev/null
latex src/interface.tex /dev/null
make[1]: Entering directory
`/var/tmp/portage/app-emulation/xen-tools-3.0.2-r4/work/xen-3.0.2/docs'
install -d -m0755 html/user
latex2html -split 0 -show_section_numbers -toc_depth 3 -nonavigation \
-numbered_footnotes -local_icons -noinfo -math -dir html/user \
src/user.tex 1/dev/null 2/dev/null
if [ -e user.toc ] ; then latex src/user.tex /dev/null ; fi
if [ -e interface.toc ] ; then latex src/interface.tex /dev/null ; fi
make[1]: Entering directory
`/var/tmp/portage/app-emulation/xen-tools-3.0.2-r4/work/xen-3.0.2/docs'
install -d -m0755 man1
install -d -m0755 ps
dvips -Ppdf -G0 -o ps/user.ps.new user.dvi
pod2man --release=xen-unstable --name=`echo man1/xm.1 | sed 's/^man1.//'| \
sed 's/.1//'` -s 1 -c Xen man/xm.pod.1 man1/xm.1
This is dvips(k) 5.95b Copyright 2005 Radical Eye Software (www.radicaleye.com)
' TeX output 2007.04.15:1612' - ps/user.ps.new
tex.proalt-rule.pro8r.enctexps.prospecial.pro. cmsy8.pfb
cmsy10.pfbcmmi10.pfb[1figs/xenlogo.eps] [2] [1] [2] [3] [4] [1] [2] [3]
[4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19]
[20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34]
[35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47] [48] [49]
[50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62]
mv ps/user.ps.new ps/user.ps
install -d -m0755 ps
dvips -Ppdf -G0 -o ps/interface.ps.new interface.dvi
This is dvips(k) 5.95b Copyright 2005 Radical Eye Software (www.radicaleye.com)
' TeX output 2007.04.15:1612' - ps/interface.ps.new
tex.proalt-rule.pro8r.enctexps.prospecial.pro. cmmi10.pfb
cmsy10.pfb[1figs/xenlogo.eps] [2] [1] [2] [1] [2] [3] [4] [5] [6] [7] [8]
[9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23]
[24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38]
[39] [40] [41] [42] [43] [44] [45] [46] [47]
mv ps/interface.ps.new ps/interface.ps
install -d -m0755 pdf
ps2pdf ps/user.ps pdf/user.pdf.new
install -d -m0755 man5
pod2man --release=xen-unstable --name=`echo man5/xend-config.sxp.5 |
sed 's/^man5.//'| \
sed 's/.5//'` -s 5 -c Xen man/xend-config.sxp.pod.5
man5/xend-config.sxp.5
install -d -m0755 man5
pod2man --release=xen-unstable --name=`echo man5/xmdomain.cfg.5 | sed
's/^man5.//'| \
sed 's/.5//'` -s 5 -c Xen man/xmdomain.cfg.pod.5
man5/xmdomain.cfg.5
make[1]: Leaving directory
`/var/tmp/portage/app-emulation/xen-tools-3.0.2-r4/work/xen-3.0.2/docs'
install -d -m0755 pdf
ps2pdf ps/interface.ps pdf/interface.pdf.new
mv pdf/user.pdf.new pdf/user.pdf
install -d -m0755 html/interface
latex2html -split 0 -show_section_numbers -toc_depth 3 -nonavigation \
-numbered_footnotes -local_icons -noinfo -math -dir html/interface \
src/interface.tex 1/dev/null 2/dev/null
mv pdf/interface.pdf.new pdf/interface.pdf
make[1]: *** [html/user/index.html] Error 2
make[1]: *** Waiting for unfinished jobs
make[1]: *** [html/interface/index.html] Error 2
make[1]: Leaving directory
`/var/tmp/portage/app-emulation/xen-tools-3.0.2-r4/work/xen-3.0.2/docs'
make: *** [html] Error 2
rm user.dvi interface.dvi
make: Leaving directory
`/var/tmp/portage/app-emulation/xen-tools-3.0.2-r4/work/xen-3.0.2/docs'

!!! ERROR: app-emulation/xen-tools-3.0.2-r4 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3633:   Called src_compile
  xen-tools-3.0.2-r4.ebuild, line 147:   Called die

!!! compiling docs failed
!!! If you need support, post the topmost build error, and the call
stack if relevant.
!!! A complete build log is located at
'/root/ebuild-logs/app-emulation:xen-tools-3.0.2-r4:20070415-141126.log'.


So I did a manual make html without  1 and 2  /dev/nul:
Everything was fine until the build of images:

[...]
94/95:section:...B.2 Installing vnet support for user.html
;.,.,..,,.,.;.

95/95:chapter:..C. Glossary of Terms for user.html
;.,;
.
Doing footnotes ...
Writing image file ...

Fatal (syswait): exec  ./images.tex failed: Permission denied
 at /usr/lib/latex2html/latex2html.pl line 3760

Cannot read 

Re: [gentoo-user] postfix - how to test

2007-06-01 Thread Galevsky

Just my two cents: don't forget to use temporary email boxes like
yopmail.com, these boxes can be very helpful for the kind of tests you
may run.

Gal'

2007/6/1, Albert Hopkins [EMAIL PROTECTED]:

On Fri, 2007-06-01 at 14:45 +0200, Johannes Skov Frandsen wrote:
 testing if apache works is easy, you just go to http://localhost and
 see
 if something happens,
 but how do I test if postfix actual sends my mail?

Well, you set up a web server to deliver web content.  I'm assuming
you're setting up a mail server to deliver mail.  So the test is to see
that it delivers mail.

Not that I've ever used postfix, but testing a mail server should be
pretty similar for any platform.

 1. Create a mailbox (or use a remote one)
 2. Using a MUA, for example, connect to mail server.
 3. Send message to be delivered to mailbox
 4. Verify message delivered to mailbox.

--
Albert W. Hopkins

--
[EMAIL PROTECTED] mailing list



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: which syslog?

2007-05-30 Thread Galevsky

http://gentoo-wiki.com/Syslog-ng

Is that kind of conf (described in Quick Start section) far away from
what you are looking for ?

Gal'

2007/5/30, Sven Köhler [EMAIL PROTECTED]:

I am curious, though: If you like the sysklogd
 layout to the point that you want to replicate it exactly in other log
 daemons, why do you want to switch log daemons?

Last sysklogd version if from 2001.
And portage contains 1.4.2_pre2007* versions. This was curious to me.

And on the other hand, other distributions don't use sysklogd anymore.
Instead they use syslog-ng, for example.

But i guess, they have a more suitable default setting. Everything going
to /var/log/messes is just to simple, i think. Actually i don't want the
layout to be like sysklogd. But i would like a little more complicated
default setting.




--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT: An XML Question

2007-05-29 Thread Galevsky

Hi,

you can learn the xml concepts at http://www.w3schools.com/. Then,
depending on the language you choose, there is lots of libs to deal
with xml in many languages. Though you always have two different ways
of parsing your xml file: a SAX parser approach, that runs on an
element-by-element process, retrieving each element with no view on
the next ones. The second way is a DOM object builder, parsing the xml
file as a whole, then giving you back the whole tree as an object that
can browse later with a set of methods. The later is faster to get all
the information of the xml, but takes more memory since the whole xml
tree must be built first. You have to look for the libs of your
language now for further details, but the choice between the two is
crucial. I remind a Xmlchecker java tool I wrote to run no-diff
tests I implemented first with jdom, and it was good. until I
had to deal with 300 Mb files ... and rewrite the whole browsing
engine with SAX.

Gal'


2007/5/29, [EMAIL PROTECTED] [EMAIL PROTECTED]:



Are there any really  good XML tutorials on the web, or perhaps a book that is 
actually  useful?

Also, which libs do  people preffer for dealing with XML?

I am contemplating  messing arround with XML for data files for a project I 
want to mess  with.

The project would  involve loading objects into a dynamic list.  I do not think 
I want to deal  with the XML file in real time, as I am not sure how fast that 
would be, but  rather load the data into memory, then save it to the XML file 
at save  points.

:-)  My views  may change as time goes by, but for now I am learning, and 
starting to do  research. ^_^




Kenneth M. Burling Jr


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT: An XML Question

2007-05-29 Thread Galevsky

Well, a man libxml2 gives you all that you need:

Documentation   for   libxml   is   available   on-line   at
http://www.xmlsoft.org/

;o)

Gal'

2007/5/29, [EMAIL PROTECTED] [EMAIL PROTECTED]:



 -Original Message-
 From: Galevsky [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, May 29, 2007 4:21 PM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] OT: An XML Question


 Hi,

 you can learn the xml concepts at http://www.w3schools.com/.
 Then, depending on the language you choose, there is lots of
 libs to deal with xml in many languages. Though you always
 have two different ways of parsing your xml file: a SAX
 parser approach, that runs on an element-by-element process,
 retrieving each element with no view on the next ones. The
 second way is a DOM object builder, parsing the xml file as a
 whole, then giving you back the whole tree as an object that
 can browse later with a set of methods. The later is faster
 to get all the information of the xml, but takes more memory
 since the whole xml tree must be built first. You have to
 look for the libs of your language now for further details,
 but the choice between the two is crucial. I remind a
 Xmlchecker java tool I wrote to run no-diff tests I
 implemented first with jdom, and it was good. until I had
 to deal with 300 Mb files ... and rewrite the whole browsing
 engine with SAX.

 Gal'


 2007/5/29, [EMAIL PROTECTED] [EMAIL PROTECTED]:
 
 
  Are there any really  good XML tutorials on the web, or
 perhaps a book
  that is actually  useful?
snip

Thanks for the info!
I think I may look into the DOM approach. ^_^
Does(do?) libxml or libxml2 have a DOM interface?  I know that
libxml2 is already on the system (part of the base install), so
it may be a good place to look. :)  Does anyone know of a good
tutorial site with a .org or .edu web address?  The firewall I
am stuck behind at the moment has some funky restrictions. :P

^_^

--
[EMAIL PROTECTED] mailing list



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Add something to KDE's shutdown

2007-05-01 Thread galevsky

Another question: Which options are appropriate to mount my backup partition
while executing the script:
noexec,async,dev,rw ?


Hi,

default options: rw, suid, dev, exec, auto, nouser, and async. match
your needs, but nouser : you have to know before if the users would
launch your script on behalf of themselves, or if the script would
have sticky-bit, or the users would have to sudo and run it as root.

As for exec and auto, you can disable them depending on how you manage
your back-up space.

Gal'
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Xen Doc compilation failed = latex2html pb

2007-04-19 Thread galevsky

No one can advise me to open a bug or consider my own configuration ?
Am I  alone facing pb with Xen doc compilation ?

Gal'
--
[EMAIL PROTECTED] mailing list



[gentoo-user] Xen Doc compilation failed = latex2html pb

2007-04-16 Thread galevsky

Hi,

I emerged app-emulation/xen-tools-3.0.2-r4 on my gentoo box but the
compilation failed with the DOC use flag :

[...]
make: Entering directory
`/var/tmp/portage/app-emulation/xen-tools-3.0.2-r4/work/xen-3.0.2/docs'
latex src/user.tex /dev/null
latex src/interface.tex /dev/null
make[1]: Entering directory
`/var/tmp/portage/app-emulation/xen-tools-3.0.2-r4/work/xen-3.0.2/docs'
install -d -m0755 html/user
latex2html -split 0 -show_section_numbers -toc_depth 3 -nonavigation \
   -numbered_footnotes -local_icons -noinfo -math -dir html/user \
   src/user.tex 1/dev/null 2/dev/null
if [ -e user.toc ] ; then latex src/user.tex /dev/null ; fi
if [ -e interface.toc ] ; then latex src/interface.tex /dev/null ; fi
make[1]: Entering directory
`/var/tmp/portage/app-emulation/xen-tools-3.0.2-r4/work/xen-3.0.2/docs'
install -d -m0755 man1
install -d -m0755 ps
dvips -Ppdf -G0 -o ps/user.ps.new user.dvi
pod2man --release=xen-unstable --name=`echo man1/xm.1 | sed 's/^man1.//'| \
   sed 's/.1//'` -s 1 -c Xen man/xm.pod.1 man1/xm.1
This is dvips(k) 5.95b Copyright 2005 Radical Eye Software (www.radicaleye.com)
' TeX output 2007.04.15:1612' - ps/user.ps.new
tex.proalt-rule.pro8r.enctexps.prospecial.pro. cmsy8.pfb
cmsy10.pfbcmmi10.pfb[1figs/xenlogo.eps] [2] [1] [2] [3] [4] [1] [2] [3]
[4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19]
[20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34]
[35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47] [48] [49]
[50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62]
mv ps/user.ps.new ps/user.ps
install -d -m0755 ps
dvips -Ppdf -G0 -o ps/interface.ps.new interface.dvi
This is dvips(k) 5.95b Copyright 2005 Radical Eye Software (www.radicaleye.com)
' TeX output 2007.04.15:1612' - ps/interface.ps.new
tex.proalt-rule.pro8r.enctexps.prospecial.pro. cmmi10.pfb
cmsy10.pfb[1figs/xenlogo.eps] [2] [1] [2] [1] [2] [3] [4] [5] [6] [7] [8]
[9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23]
[24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38]
[39] [40] [41] [42] [43] [44] [45] [46] [47]
mv ps/interface.ps.new ps/interface.ps
install -d -m0755 pdf
ps2pdf ps/user.ps pdf/user.pdf.new
install -d -m0755 man5
pod2man --release=xen-unstable --name=`echo man5/xend-config.sxp.5 |
sed 's/^man5.//'| \
   sed 's/.5//'` -s 5 -c Xen man/xend-config.sxp.pod.5
man5/xend-config.sxp.5
install -d -m0755 man5
pod2man --release=xen-unstable --name=`echo man5/xmdomain.cfg.5 | sed
's/^man5.//'| \
   sed 's/.5//'` -s 5 -c Xen man/xmdomain.cfg.pod.5
man5/xmdomain.cfg.5
make[1]: Leaving directory
`/var/tmp/portage/app-emulation/xen-tools-3.0.2-r4/work/xen-3.0.2/docs'
install -d -m0755 pdf
ps2pdf ps/interface.ps pdf/interface.pdf.new
mv pdf/user.pdf.new pdf/user.pdf
install -d -m0755 html/interface
latex2html -split 0 -show_section_numbers -toc_depth 3 -nonavigation \
   -numbered_footnotes -local_icons -noinfo -math -dir html/interface \
   src/interface.tex 1/dev/null 2/dev/null
mv pdf/interface.pdf.new pdf/interface.pdf
make[1]: *** [html/user/index.html] Error 2
make[1]: *** Waiting for unfinished jobs
make[1]: *** [html/interface/index.html] Error 2
make[1]: Leaving directory
`/var/tmp/portage/app-emulation/xen-tools-3.0.2-r4/work/xen-3.0.2/docs'
make: *** [html] Error 2
rm user.dvi interface.dvi
make: Leaving directory
`/var/tmp/portage/app-emulation/xen-tools-3.0.2-r4/work/xen-3.0.2/docs'

!!! ERROR: app-emulation/xen-tools-3.0.2-r4 failed.
Call stack:
 ebuild.sh, line 1614:   Called dyn_compile
 ebuild.sh, line 971:   Called qa_call 'src_compile'
 environment, line 3633:   Called src_compile
 xen-tools-3.0.2-r4.ebuild, line 147:   Called die

!!! compiling docs failed
!!! If you need support, post the topmost build error, and the call
stack if relevant.
!!! A complete build log is located at
'/root/ebuild-logs/app-emulation:xen-tools-3.0.2-r4:20070415-141126.log'.


So I did a manual make html without  1 and 2  /dev/nul:
Everything was fine until the build of images:

[...]
94/95:section:...B.2 Installing vnet support for user.html
;.,.,..,,.,.;.

95/95:chapter:..C. Glossary of Terms for user.html
;.,;
.
Doing footnotes ...
Writing image file ...

Fatal (syswait): exec  ./images.tex failed: Permission denied
at /usr/lib/latex2html/latex2html.pl line 3760

Cannot read logfile './images.log': No such file or directory
Compilation failed in require at /usr/bin/latex2html line 39.
make[1]: *** [html/user/index.html] Error 2
make[1]: Leaving directory
`/var/tmp/portage/app-emulation/xen-tools-3.0.2-r4/work/xen-3.0.2/docs'
make: *** [html] Error 2

Here is the line 3760:

sub make_latex_images{
   close_dbm_database if $DJGPP;
   local($dd) = $dd; $dd = '/' if ($dd eq \\);
   local($latex_call) = $LATEX .$dd${PREFIX}images.tex;
   print $latex_call\n if (($DEBUG)||($VERBOSITY  1));
   L2hos-syswait($latex_call);
= 3760
  

[gentoo-user] Xen Doc compilation failed = latex2html pb

2007-04-15 Thread galevsky

Hi,

I emerged app-emulation/xen-tools-3.0.2-r4 on my gentoo box but the
compilation failed with the DOC use flag :

[...]
make: Entering directory
`/var/tmp/portage/app-emulation/xen-tools-3.0.2-r4/work/xen-3.0.2/docs'
latex src/user.tex /dev/null
latex src/interface.tex /dev/null
make[1]: Entering directory
`/var/tmp/portage/app-emulation/xen-tools-3.0.2-r4/work/xen-3.0.2/docs'
install -d -m0755 html/user
latex2html -split 0 -show_section_numbers -toc_depth 3 -nonavigation \
   -numbered_footnotes -local_icons -noinfo -math -dir html/user \
   src/user.tex 1/dev/null 2/dev/null
if [ -e user.toc ] ; then latex src/user.tex /dev/null ; fi
if [ -e interface.toc ] ; then latex src/interface.tex /dev/null ; fi
make[1]: Entering directory
`/var/tmp/portage/app-emulation/xen-tools-3.0.2-r4/work/xen-3.0.2/docs'
install -d -m0755 man1
install -d -m0755 ps
dvips -Ppdf -G0 -o ps/user.ps.new user.dvi
pod2man --release=xen-unstable --name=`echo man1/xm.1 | sed 's/^man1.//'| \
   sed 's/.1//'` -s 1 -c Xen man/xm.pod.1 man1/xm.1
This is dvips(k) 5.95b Copyright 2005 Radical Eye Software (www.radicaleye.com)
' TeX output 2007.04.15:1612' - ps/user.ps.new
tex.proalt-rule.pro8r.enctexps.prospecial.pro. cmsy8.pfb
cmsy10.pfbcmmi10.pfb[1figs/xenlogo.eps] [2] [1] [2] [3] [4] [1] [2] [3]
[4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19]
[20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34]
[35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47] [48] [49]
[50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62]
mv ps/user.ps.new ps/user.ps
install -d -m0755 ps
dvips -Ppdf -G0 -o ps/interface.ps.new interface.dvi
This is dvips(k) 5.95b Copyright 2005 Radical Eye Software (www.radicaleye.com)
' TeX output 2007.04.15:1612' - ps/interface.ps.new
tex.proalt-rule.pro8r.enctexps.prospecial.pro. cmmi10.pfb
cmsy10.pfb[1figs/xenlogo.eps] [2] [1] [2] [1] [2] [3] [4] [5] [6] [7] [8]
[9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23]
[24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38]
[39] [40] [41] [42] [43] [44] [45] [46] [47]
mv ps/interface.ps.new ps/interface.ps
install -d -m0755 pdf
ps2pdf ps/user.ps pdf/user.pdf.new
install -d -m0755 man5
pod2man --release=xen-unstable --name=`echo man5/xend-config.sxp.5 |
sed 's/^man5.//'| \
   sed 's/.5//'` -s 5 -c Xen man/xend-config.sxp.pod.5
man5/xend-config.sxp.5
install -d -m0755 man5
pod2man --release=xen-unstable --name=`echo man5/xmdomain.cfg.5 | sed
's/^man5.//'| \
   sed 's/.5//'` -s 5 -c Xen man/xmdomain.cfg.pod.5
man5/xmdomain.cfg.5
make[1]: Leaving directory
`/var/tmp/portage/app-emulation/xen-tools-3.0.2-r4/work/xen-3.0.2/docs'
install -d -m0755 pdf
ps2pdf ps/interface.ps pdf/interface.pdf.new
mv pdf/user.pdf.new pdf/user.pdf
install -d -m0755 html/interface
latex2html -split 0 -show_section_numbers -toc_depth 3 -nonavigation \
   -numbered_footnotes -local_icons -noinfo -math -dir html/interface \
   src/interface.tex 1/dev/null 2/dev/null
mv pdf/interface.pdf.new pdf/interface.pdf
make[1]: *** [html/user/index.html] Error 2
make[1]: *** Waiting for unfinished jobs
make[1]: *** [html/interface/index.html] Error 2
make[1]: Leaving directory
`/var/tmp/portage/app-emulation/xen-tools-3.0.2-r4/work/xen-3.0.2/docs'
make: *** [html] Error 2
rm user.dvi interface.dvi
make: Leaving directory
`/var/tmp/portage/app-emulation/xen-tools-3.0.2-r4/work/xen-3.0.2/docs'

!!! ERROR: app-emulation/xen-tools-3.0.2-r4 failed.
Call stack:
 ebuild.sh, line 1614:   Called dyn_compile
 ebuild.sh, line 971:   Called qa_call 'src_compile'
 environment, line 3633:   Called src_compile
 xen-tools-3.0.2-r4.ebuild, line 147:   Called die

!!! compiling docs failed
!!! If you need support, post the topmost build error, and the call
stack if relevant.
!!! A complete build log is located at
'/root/ebuild-logs/app-emulation:xen-tools-3.0.2-r4:20070415-141126.log'.


So I did a manual make html without  1 and 2  /dev/nul:
Everything was fine until the build of images:

[...]
94/95:section:...B.2 Installing vnet support for user.html
;.,.,..,,.,.;.

95/95:chapter:..C. Glossary of Terms for user.html
;.,;
.
Doing footnotes ...
Writing image file ...

Fatal (syswait): exec  ./images.tex failed: Permission denied
at /usr/lib/latex2html/latex2html.pl line 3760

Cannot read logfile './images.log': No such file or directory
Compilation failed in require at /usr/bin/latex2html line 39.
make[1]: *** [html/user/index.html] Error 2
make[1]: Leaving directory
`/var/tmp/portage/app-emulation/xen-tools-3.0.2-r4/work/xen-3.0.2/docs'
make: *** [html] Error 2

Here is the line 3760:

sub make_latex_images{
   close_dbm_database if $DJGPP;
   local($dd) = $dd; $dd = '/' if ($dd eq \\);
   local($latex_call) = $LATEX .$dd${PREFIX}images.tex;
   print $latex_call\n if (($DEBUG)||($VERBOSITY  1));
   L2hos-syswait($latex_call);
= 3760
  

[gentoo-user] Re: Can I share my /boot and swap partitions with other Linux installs?

2007-04-03 Thread galevsky

/etc, /var, /usr, /bin and so on I can see the (potential) problems.
But just /root ? It is a must to have it does not contain important
tuned up files, does it ? It is just an account that root use for
admin task, so is there a known problem to share it ?

I used to mount /root aside from /.

Gal'

2007/4/2, Boyd Stephen Smith Jr. [EMAIL PROTECTED]:

On Monday 02 April 2007, [EMAIL PROTECTED] wrote about '[gentoo-user] Re:
Can I share my /boot and swap partitions with other Linux installs?':
 And what's about sharing /root ? is there any problem or not ? I never
 did it but was wondering about.

No, different distros will require slightly different layouts in /etc
(which is normally part of the same mount as /) and, in particular, will
install (and confuse each other with) distro-specific scripts
in /etc/init.d.

--
Boyd Stephen Smith Jr. ,= ,-_-. =.
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-'
http://iguanasuicide.org/  \_/



--
gentoo-user@gentoo.org mailing list



[gentoo-user] emerge human readable format.

2007-04-03 Thread galevsky

Is there a way to have human readable format with emerge ?

It could be much more convenient to have this kind of information more
readable :

Number of files: 122567
Number of files transferred: 675
Total file size: 159275947 bytes
Total transferred file size: 3030220 bytes
Literal data: 3030220 bytes
Matched data: 0 bytes
File list size: 2969859
File list generation time: 2.042 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 18837
Total bytes received: 4035665

sent 18837 bytes  received 4035665 bytes  901000.44 bytes/sec
total size is 159275947  speedup is 39.28

but I see no human readable formatting option. Any trick ?

Gal'
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: emerge human readable format.

2007-04-03 Thread galevsky

Great !!

Thanks guys,

I was out of business since I am launching emerge --sync and emerge
helper does not provide -h option. I need more readings on Portage I
think.

Gal'

2007/4/3, Heinz Hombergs [EMAIL PROTECTED]:

Am Dienstag, 3. April 2007 schrieb [EMAIL PROTECTED]:
 emerge --sync makes a call to rsync program ? I did not take the time
 yet to learn more about Gentoo specific softwares, but I will do that
 soon. Look at the sizes format in bytes. Today it often happens -well,
 most of the time- several Mo of download, so the byte unit is not very
 useful but Kb/Mb/Gb units could be a more human readable format. I
 used to deal with --si or -H when using df as an example. By default,
 size unit is byte, but when you want to understand the numbers with no
 mental extra operation, It is quite good to print the more suitable
 unit.


Maybe it is possible.
man rsync with rsync version 2.6.9-r2 {~ Keyword} installed:
   -h, --human-readable
  Output  numbers in a more human-readable format.  This makes big
numbers output using larger units, with a K, M, or G suffix.  If this option
was specified once, these
  units are K (1000), M (1000*1000), and G (1000*1000*1000); if
the option is repeated, the units are powers of 1024 instead of 1000.

So you can add PORTAGE_RSYNC_EXTRA_OPTS=-h or
PORTAGE_RSYNC_EXTRA_OPTS=-h -h in your /etc/make.conf to do that.

--
Q:  How many IBM CPU's does it take to do a logical right shift?
A:  33.  1 to hold the bits and 32 to push the register.



--
gentoo-user@gentoo.org mailing list