Re: [gentoo-user] MySQL5 and Innodb not working

2007-01-17 Thread Alexander Kirillov
I'm using Gentoo Base System version 1.6.14 on a x86_64 Intel(R) 
Celeron(R) CPU 2.66GHz.
I've added dev-db/mysql innodb berkdb to my package.use then I've run 
emerge -1 dev-db/mysql.


I've installed PHPMyAdmin that is up and running (MySQL 5.0.26).
When I try to create a Innodb table, I get an error :
#2013 - Lost connection to MySQL server during query

After that, I cannot stop or start my MySQL server.
Everything seems to be corrupted, and all I can do is to erase all the 
content of /var/lib/mysql and restart from scratch.


Have you checked the logs in /var/log/mysql?
Anything relevant there?

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] MySQL5 and Innodb not working

2007-01-17 Thread Alexander Kirillov


mysql dies attempting to execute malformed, unknown,
or privileged instructions. You should probably run

# emerge --pretend --update --newuse --deep world
# revdep-rebuild -i

and see if this happens again.
There's also no need to start from scratch when it dies. Try

# /etc/init.d/mysql zap
# /etc/init.d/mysql start

HTH


You'll find my mysqld.err in attachment.

I must admin that I don't undersdand what all that mess mean.
Do you understand anything?
Thomas.

On 1/17/07, *Alexander Kirillov* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


  I'm using Gentoo Base System version 1.6.14 on a x86_64 Intel(R)
  Celeron(R) CPU 2.66GHz.
  I've added dev-db/mysql innodb berkdb to my package.use then
I've run
  emerge -1 dev-db/mysql.
 
  I've installed PHPMyAdmin that is up and running (MySQL 5.0.26).
  When I try to create a Innodb table, I get an error :
  #2013 - Lost connection to MySQL server during query
 
  After that, I cannot stop or start my MySQL server.
  Everything seems to be corrupted, and all I can do is to erase
all the
  content of /var/lib/mysql and restart from scratch.

Have you checked the logs in /var/log/mysql?
Anything relevant there?



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] apache2+php

2006-09-15 Thread Alexander Kirillov
 Warning:  Cannot load module 'pdo_pgsql' because required module 'pdo' is not 
loaded in Unknown on line 0


I'm not using pdo, but do you have dev-php5/pecl-pdo installed?
Should be pulled in as a dependency of dev-php5/pecl-pdo-pgsql.
You may also try to rebuild pecl-pdo with postgres flag.
Do you sometimes emerge --update --newuse --deep world?
HTH,
Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user][FIXED] net.ppp0 status: inactive

2006-08-15 Thread Alexander Kirillov

Upgraded to sys-apps/baselayout-1.12.4-r2 today
(and changed pppoe config according to /etc/conf.d/net.example)
While it works net.ppp0 status is always inactive
so the services depending on net.ppp0 never start:

WARNING:  ntpd is scheduled to start when net.ppp0 has started.
WARNING:  snort.ppp0 is scheduled to start when net.ppp0 has started.


The problem doesn't show up after upgrade to
sys-apps/baselayout-1.12.4-r4 and net-dialup/ppp-2.4.3-r16


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ccache: unsupported compiler option

2006-08-12 Thread Alexander Kirillov

I'm trying to find out why ccache won't cache anything.  Building and
maintaining for three months an entire system got me all of 5 cache
hits.  What can I do to encourace more cache usage?  One of the methods
I'm investigating is to determine and eliminate CFLAGS arguments that
may cause 'unsupported compiler option' to be incremented.  Is there
anything else I can try?

# ccache -s
cache directory /var/tmp/ccache
cache hit  5
cache miss   153
called for link14836
multiple source files 87
compile failed 2
preprocessor error  1732
bad compiler arguments 1
not a C/C++ file4774
autoconf compile/link  28079
unsupported compiler option 2569
no input file   8965
files in cache   306
cache size   4.3 Mbytes
max cache size   2.5 Gbytes

# grep CFLAGS /etc/make.conf
CFLAGS=-march=athlon64 -mtune=athlon64 -m64 -O3 -fmessage-length=0 -pipe
CXXFLAGS=${CFLAGS}


Have you tried http://gentoo-wiki.com/Ccache?


--
gentoo-user@gentoo.org mailing list



[gentoo-user] net.ppp0 status: inactive

2006-08-12 Thread Alexander Kirillov

Hi,

Upgraded to sys-apps/baselayout-1.12.4-r2 today
(and changed pppoe config according to /etc/conf.d/net.example)
While it works net.ppp0 status is always inactive
so the services depending on net.ppp0 never start:

WARNING:  ntpd is scheduled to start when net.ppp0 has started.
WARNING:  snort.ppp0 is scheduled to start when net.ppp0 has started.

Anything I can do about this?

Thanks,
Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] burning audiocd with k3b

2006-08-10 Thread Alexander Kirillov

/usr/bin/cdrecord: A write error occured.
/usr/bin/cdrecord: Please properly read the error message above.
write track data: error after 3309696 bytes


Try to disable dma on this drive.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] launching iptables

2006-08-02 Thread Alexander Kirillov
I've got my own iptables script to launch a customized firewall, located in 
/usr/local/bin. 


I'm aware of /etc/init.d/iptables the 'runscipt'. I do not wish to edit this
scipt as 'gentoo' updates nuke my edits therein.  Where is the gentoo
place of preference to launch my scipt after the gentoo runscipt
'/etc/init.d/iptables'  is finished running?

Is their a way to get 'rc-update add my_firewall  default' to launch
my_firewall without putting it in the /etc/init.d/ dir and using the 
runscipt template for my script?


thoughts, suggestions and examples are most welcome.



Keep your script in /etc and run it once.
If you have SAVE_ON_STOP=yes in /etc/conf.d/iptables
your rules will be restored whenever you restart iptables.

HTH,
Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emerge doesn't download stuff

2006-07-31 Thread Alexander Kirillov

  Even if I changed mirror (it worked for a while) I still have to
download
  packages manually on my windows pc and then trensfer the files.
  It's strange: it download some packeges, but not some others.

Can you give some examples?  Maybe the packages that are not
downloading have been obsoleted by newer versions, so only the newer
versions are available on the mirror.  You did run the emerge --sync
step, right?

That's what I thought.

Ie.: ftp://mi.mirror.garr.it/pub/1/gentoo/distfiles/kbd-1.12.tar.gz

I can download it from the laptop (firefox), but not with wget...

***
sickboy2 ~ # wget 
ftp://mi.mirror.garr.it/pub/1/gentoo/distfiles/kbd-1.12.tar.gz--00:53:30--  
ftp://mi.mirror.garr.it/pub/1/gentoo/distfiles/kbd-1.12.tar.gz

   = `kbd-1.12.tar.gz'
Resolving mi.mirror.garr.it... 1.0.0.0 http://1.0.0.0
Connecting to mi.mirror.garr.it|1.0.0.0|:21... failed: Connection timed out.
Retrying.
***


If you can download files over http:// and ftp:// doesn't work
this might be a firewall problem.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mysql, bind and dns hostnames

2006-07-26 Thread Alexander Kirillov
I just installed on PC1 (pc-0001.localarea) mysql and bind. locally all OK. 
when I try to connect via phpmyadmin from PC2 (pc-0002.localarea), the 
following error prompts:


Host '192.168.0.2' is not allowed to connect to this MySQL server

- on my server, I inserted a new record for host=pc-0002.localarea in 
mysql.user table with the correct userpassword, but it seems that somewhere 
mysql can not to resolve client's IP. Of course, if I insert a new 
host=192.168.0.2 record, it works fine, but I prefere to use hostnames.


If you have net-dns/bind-tools installed
what's the output of dig -x 192.168.0.2 ?

Are you using FQDN in mysql tables?

You should use GRANT statements instead of hacking
mysql tables directly and FLUSH PRIVILEGES afterwards.

HTH,
Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mysql, bind and dns hostnames

2006-07-26 Thread Alexander Kirillov

If you have net-dns/bind-tools installed
what's the output of dig -x 192.168.0.2 ?


# dig -x 192.168.0.2

;  DiG 9.3.2  -x 192.168.0.2
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 914
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;2.0.168.192.in-addr.arpa.  IN  PTR

;; ANSWER SECTION:
2.0.168.192.in-addr.arpa. 172800 IN PTR 
pc-0002.0.168.192.in-addr.arpa.


;; AUTHORITY SECTION:
0.168.192.in-addr.arpa. 172800  IN  NS  
pc-0002.0.168.192.in-addr.arpa.


Hi Stefano,

Check your reverse zone.
dig -x 192.168.0.2 on mysql box should give you something like:

;; ANSWER SECTION:
2.0.168.192.in-addr.arpa. 172800 IN PTR  pc-0002.localarea.

Same goes for AUTHORITY SECTION

try dig pc-0002.localarea as well.
You may also install and run net-dns/dnswalk
which is a DNS database debugger.

HTH,
Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] kde 3.4 and kde 3.5

2006-07-17 Thread Alexander Kirillov

Which is the way? emerge -C kdebase-3.4 ?¿


http://www.gentoo.org/doc/en/kde-config.xml
4. Managing KDE Installations

HTH,
Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Konqueror and javascript

2006-06-22 Thread Alexander Kirillov
Now, I have no special knowledge of javascript, so my question is: are 
these problems due (as happened some times in the past) to konqueror 
being too strict (and firefox and ie being more permissive) about 
javascript or, rather, is konqueror's javascript support that is buggy 
(although this sounds strange to me)?


Konqueror doesn't handle some complex scripts wery well.
Use any mozilla clone or ie. Even opera's doing better nowadays.
Sasha

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Lost most locales after glibc upgrade

2006-06-19 Thread Alexander Kirillov

I've lost most of them locales after upgrade to glibc-2.3.6-r4.
I don't have userlocales flag set either.
And probably should consider selling sweatshirts to oil-exporting 
countries instead of software engineering as I don't seem to be capable 
of running STABLE system anymore.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lost most locales after glibc upgrade

2006-06-19 Thread Alexander Kirillov

# locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
de_DE
[EMAIL PROTECTED]
en_HK
en_PH
en_US
en_US.utf8
es_MX
fa_IR
fr_FR
[EMAIL PROTECTED]
it_IT
ja_JP
ja_JP.eucjp
ja_JP.utf8

You've probably been lucky enough to be either en, de or fr?:)


I did upgrade the glibc today. How did you recognize the missing locale?

I've lost most of them locales after upgrade to glibc-2.3.6-r4.
I don't have userlocales flag set either.



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lost most locales after glibc upgrade

2006-06-19 Thread Alexander Kirillov

I've lost most of them locales after upgrade to glibc-2.3.6-r4.


You'll need to create a /etc/locale.gen file. After that, read

man 5 locale.gen
man 8 locale-gen

and run /usr/sbin/locale-gen


Yep. Thanks. Easy enough.
I've seen something of the sort in glibc-2.3.6-r4.log
The devs should probably mention in the notes
it doesn't take rebuilding the whole glibc
to fix the problem.


I don't have userlocales flag set either.


As there *is* no such flag, there's really no need to set it.


The flag is still there in the handbook.
Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mysql database getting too big

2006-06-18 Thread Alexander Kirillov

mythconverg itself is only 34Mbytes, but /var/lib/mysql is full of files
named (myth1 is the hostname):

myth1-bin.01
myth1-bin.02
myth1-bin.03
...

basicly one for each day operations occur on the database. 


Can they be safely deleted/compressed or reduced in size somehow?  I
have run optimise table and the database itself is fine.  I suspect that
some of the larger files are to do with hardware related lockups
requiring a database repair after recovery.


You've enabled binary logs, mostly being used for replication.
You may start mysql client and

PURGE MASTER LOGS TO 'myth1-bin.XX'

as root. Where XX is the max number.

HTH,
Sasha

--
gentoo-user@gentoo.org mailing list



[gentoo-user] FF 1.5.0.4 about:cache problem

2006-06-12 Thread Alexander Kirillov

Hi guys,

I probably hit a bug in a linux (non-windows) version of Firefox.
If you are using FF 1.5.0.4 can you please try if about:cache
works for you after the steps listed below:

1. Type about:cache into location bar
and make sure about:cache works

2. Go to any other url. about:blank for example

3. Go to Edit-Preferences-Privacy-Cache
and select 'Clear Cache Now'

4. Try about:cache again

Does it work for you?
Are you you using a binary/source build?

Thanks,
Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mysql won't start

2006-06-12 Thread Alexander Kirillov
I moved my /var to a new disk and now amarok will nor work because it can't 
connect to mysql
Can't connect to local MySQL server through 
socket '/var/run/mysqld/mysqld.sock' (2)


If I /etc/init.d/mysql stop
 * Caching service dependencies ...  [ ok ]
 * WARNING:  mysql has not yet been started.

If I /etc/init.d/mysql start
 *  ...
 * Starting mysql (/etc/mysql/my.cnf)
 * MySQL NOT started (0) 


If I just type mysql, I get the following error:-
ERROR 2002 (HY000): Can't connect to local MySQL server through 
socket '/var/run/mysqld/mysqld.sock' (2)


So it looks as if I have really screwed up moving /var
The /var/run/mysql directory is empty


Check the permissions on /var/run/mysql.
It should be owned by mysql.
What's in mysql logs? They're probably in /var/log/mysql

Sasha


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mysql won't start

2006-06-12 Thread Alexander Kirillov
I moved my /var to a new disk and now amarok will nor work because it can't 
connect to mysql
Can't connect to local MySQL server through 
socket '/var/run/mysqld/mysqld.sock' (2)


If I /etc/init.d/mysql stop
 * Caching service dependencies ...  [ ok ]
 * WARNING:  mysql has not yet been started.

If I /etc/init.d/mysql start
 *  ...
 * Starting mysql (/etc/mysql/my.cnf)
 * MySQL NOT started (0) 


If I just type mysql, I get the following error:-
ERROR 2002 (HY000): Can't connect to local MySQL server through 
socket '/var/run/mysqld/mysqld.sock' (2)


So it looks as if I have really screwed up moving /var
The /var/run/mysql directory is empty


On the second thought.
Is it /var/run/mysql or /var/run/mysqld?
You should probably recreate /var/run/mysqld
and set the permissions.
And make /etc/my.cnf a symlink to /etc/mysql/my.cnf
CLI utilities probably look for /etc/my.cnf

HTH,
Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mysql won't start

2006-06-12 Thread Alexander Kirillov

Is their anything else that should not be root root in /var/run or /var/tmp ??


Probably. It depends on the programs you've installed.
Next time use cp -Rp to preserve the permissions.

Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] firefox 1.5 CPU usage - is it normal?

2006-06-05 Thread Alexander Kirillov
 I updated today to FF 1.5.0.4 x86 stable.
 I noticed that it seems to eat MUCH more cpu than 1.0.x ; in particular
 when scrolling pages or the bookmarks the cpu usage rockets to 90%, and
 scrolling becomes not fluid. It also tends to get stuck when loading
 pages and the like.
 
 Is it normal behaviour? I looked in the forums but I found nothing.

Pango is enabled by default in Firefox 1.5.
export MOZ_DISABLE_PANGO=1 and try again.
There's been a thread in the forums lately:
http://forums.gentoo.org/viewtopic-t-460383-highlight-mozdisablepango.html

HTH,
Sasha

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] firefox 1.5 CPU usage - is it normal?

2006-06-05 Thread Alexander Kirillov
 Pango is enabled by default in Firefox 1.5.
 export MOZ_DISABLE_PANGO=1 and try again.

 Wow. Thanks a lot, I missed that post in the forums.
 It seems to make a difference.
 Why does Pango support cripple the thing?

AFAIK it's supposed to be capable of rendering some complex Asian
scripts. Unfortunately it comes with a huge performance hit.
Why? I don't know:(

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Where are Menuconfigs Iptables options?

2006-06-03 Thread Alexander Kirillov

last week I built a kernel for my home router. It works
fine. Configuring the kernel I used these instructions:
http://www.gentoo.org/doc/en/home-router-howto.xml#doc_chap2_pre2.

Now, I try to configure a 2.6.16 kernel instead of a 2.6.15
and I cannot find the configuration options any more:

  [*] IP tables support (required for filtering/masq/NAT)
(all below)

I was sure it was me who forgot to activate another option
somewhere else. But I opened two terminal windows side by
side, compared, and still cannot find it. I diffed the
`.config' files, too.

Copying the IP_NF_* part into the `.config' file yields
these warnigs when executing `make menuconfig' next time:

  .config:338:warning: trying to assign nonexistent symbol IP_NF_MATCH_LIMIT
  ...

Did I miss something essential?


Nope. You have to enable netfilter xtables support first.
HTH

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] FreeBSD equivalent features?

2006-06-03 Thread Alexander Kirillov

1) periodic(8) -- run periodic system functions.  runs daily, weekly,
monthly and security scripts.  These scripts do everything from check
rejected emails to backing up the passwd file.  It's also got a local
facility where I can put my own scripts in.  It's run out of cron and
emails the output of the periodic output nice and clean.  I
understand that I can manually manufacture the equivalent scripts,
but I was hoping there was something similar out there.



I don't see how this is any different to just using cron?


Ye, you need sys-process/vixie-cron.
Then you may have a look at app-forensics/aide
which checks for altered files in selected dirs.
And probably app-admin/tenshi - log parsing and notification.

HTH,
Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mozilla-firefox-1.0.8 \w xorg-x11-6.8.2-r7 problem

2006-05-28 Thread Alexander Kirillov

recently my sister descovered a strange and serious bug with
mozilla-firefox-1.0.8 in combination with xorg-x11-6.8.2-r7. After
visiting
http://profile.myspace.com/index.cfm?fuseaction=user.viewprofilefriendid=36939781
xorg shuts down immediatly direct access to the box via the terminal
is
impossible. logging in remotley via ssh still works ...

can anyone with the above combination verify this ?


Yep. Killed my X too. I have these same versions of xorg and firefox.
Fortunately I got a kdm login prompt again. The only relevant messages
I could find in the logs:

# cat /var/log/messages
...
May 26 01:10:39 baikal kdm[11220]: X server for display :0 terminated
unexpectedly
...

# cat /var/log/kdm.log
...
*** glibc detected *** free(): invalid next size (normal): 0x096128c0
***
...

You probably should file a bug.
Please post to the list if you have any new info on the subject.




Alexander, as you are the only one so far that can verify this bug, can
you post about:plugins to
http://bugs.gentoo.org/show_bug.cgi?id=134373 ?


Hi Matthias,
I posted my system config as you requested.
But I can't reproduce this bug with the cached page.
MP3 Flash player seems to be working except I can't load/play
some songs from the list.
I don't have any popups I had with the real page either.
So it probably was one of the ads?
Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problems installing Opera 8.54

2006-05-28 Thread Alexander Kirillov

I tried upgrading my Opera 8.52 to 8.54. That gave me severa ACCESS DENIED
errors, as well as a ACCESS VIOLATION SUMMARY and stop in emerge even
though more packages were ready to install.


As a workaround you may temporarily mask opera-8.54.
I have same problem and syncing didn't help so far.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mozilla-firefox-1.0.8 \w xorg-x11-6.8.2-r7 problem

2006-05-26 Thread Alexander Kirillov

recently my sister descovered a strange and serious bug with
mozilla-firefox-1.0.8 in combination with xorg-x11-6.8.2-r7. After
visiting
http://profile.myspace.com/index.cfm?fuseaction=user.viewprofilefriendid=36939781
xorg shuts down immediatly direct access to the box via the terminal is
impossible. logging in remotley via ssh still works ...

can anyone with the above combination verify this ?


Yep. Killed my X too. I have these same versions of xorg and firefox.
Fortunately I got a kdm login prompt again. The only relevant messages I 
could find in the logs:


# cat /var/log/messages
...
May 26 01:10:39 baikal kdm[11220]: X server for display :0 terminated 
unexpectedly

...

# cat /var/log/kdm.log
...
*** glibc detected *** free(): invalid next size (normal): 0x096128c0 ***
...

You probably should file a bug.
Please post to the list if you have any new info on the subject.



I've now filed a bug:
http://bugs.gentoo.org/show_bug.cgi?id=134373

If you are experiencing the same behavour, please post a comment on that
bug including 'emerge --info', use-flag combinations for xorg-x11 and
firefox and relevant log entries.


I've just tried to open the link above with flash plugin disabled
and the page is gone:

Invalid Friend ID.
This user has either cancelled their membership, or their account has 
been deleted.


You should probably keep your sister's page intact as a test case.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mozilla-firefox-1.0.8 \w xorg-x11-6.8.2-r7 problem

2006-05-26 Thread Alexander Kirillov

recently my sister descovered a strange and serious bug with
mozilla-firefox-1.0.8 in combination with xorg-x11-6.8.2-r7. After
visiting
http://profile.myspace.com/index.cfm?fuseaction=user.viewprofilefriendid=36939781
xorg shuts down immediatly direct access to the box via the terminal is
impossible. logging in remotley via ssh still works ...

can anyone with the above combination verify this ?


Yep. Killed my X too. I have these same versions of xorg and firefox.
Fortunately I got a kdm login prompt again. The only relevant messages I 
could find in the logs:


# cat /var/log/messages
...
May 26 01:10:39 baikal kdm[11220]: X server for display :0 terminated 
unexpectedly

...

# cat /var/log/kdm.log
...
*** glibc detected *** free(): invalid next size (normal): 0x096128c0 ***
...

You probably should file a bug.
Please post to the list if you have any new info on the subject.



I've now filed a bug:
http://bugs.gentoo.org/show_bug.cgi?id=134373

If you are experiencing the same behavour, please post a comment on that
bug including 'emerge --info', use-flag combinations for xorg-x11 and
firefox and relevant log entries.


I've just tried to open the link above with flash plugin disabled
and the page is gone:

Invalid Friend ID.
This user has either cancelled their membership, or their account has 
been deleted.



That's what i feared. With that page gone (this wasn't the page of my
sister) it might be nearly impossible to reproduce this bug.


Shoot. That's a pity.
I still think there's a problem with either flash or sound.
Next time then.
Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mozilla-firefox-1.0.8 \w xorg-x11-6.8.2-r7 problem

2006-05-25 Thread Alexander Kirillov

recently my sister descovered a strange and serious bug with
mozilla-firefox-1.0.8 in combination with xorg-x11-6.8.2-r7. After
visiting
http://profile.myspace.com/index.cfm?fuseaction=user.viewprofilefriendid=36939781
xorg shuts down immediatly direct access to the box via the terminal is
impossible. logging in remotley via ssh still works ...

can anyone with the above combination verify this ?


Yep. Killed my X too. I have these same versions of xorg and firefox.
Fortunately I got a kdm login prompt again. The only relevant messages I 
could find in the logs:


# cat /var/log/messages
...
May 26 01:10:39 baikal kdm[11220]: X server for display :0 terminated 
unexpectedly

...

# cat /var/log/kdm.log
...
*** glibc detected *** free(): invalid next size (normal): 0x096128c0 ***
...

You probably should file a bug.
Please post to the list if you have any new info on the subject.
Sasha


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Need help with NAT

2006-05-11 Thread Alexander Kirillov

I have been having trouble forwarding packets using iptables on my
Gentoo box. I am no iptables expert.

I connect to the internet using rp-pppoe. I use firestarter for
firewalling. Yesterday I installed VMware and chose host only
networking between the VMs. vmnet0 was bound to 192.168.128.1 and the
rest of the subnet being 192.168.128.0/24.

As should be obvious by now, I need to forward packets from ppp0 to
vmnet0 and allow outbound packets as well.


Add
net.ipv4.conf.all.forwarding = 1
to 
/etc/sysctl.conf

and apply the setting by issuing
sysctl -p
as root.

Issue the command:
iptables -t nat -A POSTROUTING \
-o ppp0 \
--source 192.168.128.0/24 \
-j MASQUERADE
also as root.

You may also want to issue:
iptables -t mangle -A OUTPUT \
-p tcp \
--tcp-flags SYN,RST SYN \
-j TCPMSS --clamp-mss-to-pmtu
and possibly
iptables -t mangle -A OUTPUT \
-p tcp \
--tcp-flags SYN,RST SYN \
-j TCPMSS --clamp-mss-to-pmtu
as root to help control packet fragmentation.

I believe the iptables init script should handle saving/restoring these 
rules on reboot.


I have NO IDEA how to add these iptables rules to firestarter.


You may also try to uncomment CLAMPMSS=1412 in /etc/ppp/pppoe.conf
instead to see if this works with firestarter
connection sharing settings.
And you may try shorewall on your gateway/router
as an alternative to firestarter.

HTH,
Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nvidia-kernel vs. gentoo-sources

2006-05-02 Thread Alexander Kirillov

is there any reason not to try drver version 8756?
6629 is very old. very, very old. Even older. It is old.


As I said, all other available versions in portage didn't compile or
load afterwards. Only one version (other than 6629, one of the 1.0.7...)
did both successfully but crashed when starting X.


I ran into the same problem after upgrading the kernel to 
gentoo-sources-2.6.16-r3.

And don't have any problems with most recent nvidia drivers:
media-video/nvidia-glx-1.0.8756
media-video/nvidia-kernel-1.0.8756
media-video/nvidia-settings-1.0.20051122-r3
Did you rebuild nvidia-glx and all the dependencies?
HTH,
Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nvidia-kernel vs. gentoo-sources

2006-05-02 Thread Alexander Kirillov

is there any reason not to try drver version 8756?
6629 is very old. very, very old. Even older. It is old.


As I said, all other available versions in portage didn't compile or
load afterwards. Only one version (other than 6629, one of the 1.0.7...)
did both successfully but crashed when starting X.


I ran into the same problem after upgrading the kernel to 
gentoo-sources-2.6.16-r3.

And don't have any problems with most recent nvidia drivers:
media-video/nvidia-glx-1.0.8756
media-video/nvidia-kernel-1.0.8756
media-video/nvidia-settings-1.0.20051122-r3
Did you rebuild nvidia-glx and all the dependencies?


Also you have to explicitly add the Modes you need
to Display SubSection in /etc/X11/xorg.conf
if you didn't already. As X doesn't build
a pool of available modes with this newer driver
and gets stuck in nvidia-auto-select mode:
/usr/share/doc/nvidia-kernel-1.0.8756/README.gz

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Re-caching dependency info (mtimes differ)...

2006-03-31 Thread Alexander Kirillov

I needed to restart sendmail more than once after upgrade
and noticed the script always produces these warnings:

# /etc/init.d/sendmail restart
 * Re-caching dependency info (mtimes differ)...
 * Stopping sendmail ... [ok]
 * Re-caching dependency info (mtimes differ)...
 * Re-caching dependency info (mtimes differ)...
 * Re-caching dependency info (mtimes differ)...
 * Re-caching dependency info (mtimes differ)...
 * Starting sendmail ... [ok]

What might be wrong here?


I have seen this too recently with samba, vmware, ntpd, privoxy and others
(but not always) during both startup and shutdown sequences. I think something 
has changed in the init scripts. Everything seems to work OK and there is 
nothing in the logs indicating anything wrong.


Not sure what's being cached or recached. Makes no sense to me.
Ideas?


The problem went away and I don't really know why... Probably a reboot.
I also had 2 packages providing firewall service installed at the time.
I've tried to reproduce the problem reinstalling one of them
before writing this reply. Nope. What else?
hw clock on this box is set to local time.
But this happened well after baselayout upgrade
and well after the last reboot.
And sendmail was the only service giving the troubles.
I'm sure I had to restart several others
without any problems.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] BSD /usr/bin/from

2006-03-31 Thread Alexander Kirillov

I am wondering whether gentoo has any portage containing equivalents
to the /usr/bin/from on *BSD; it's a small program that prints names
of those who have sent mail.  Thanks in advance for any help/comments!


You may try something like
$ grep '^From:' /your/mailbox

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] unmerge meta packages problems

2006-03-25 Thread Alexander Kirillov

i'd like to ask you if it's possible to unmerge the dependencies of a
meta package that installed automatic but have recorded in world file
after a while.
For example, i want to unmerge gnome-light but many dependencies have
already re-emerged without oneshot option and have recorded in world
file. So emerge -C gnome-light || emerge --depclean does not help anymore.


You have to edit world file manually
and remove everything but the packages you really need
and then run emerge --depclean again.

HTH

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel

2006-03-24 Thread Alexander Kirillov

I'm very very new to Gentoo.  I managed to squeak through a install
from the live CD, however, this gave me a kernel with little or no
ACPI support - I have a laptop, so I'd like to have this support
enabled.

However, I don't know how to rebuild the kernel, or do so enabling
ACPI support.  I only know a few precious things about emerge, like
--sync, --search, and even --help, but beyond that I'm not that good
at all, and the man pages didn't offer much help for me.


There's a chapter on kernel config in Gentoo handbook:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml

If LiveCD kernel works for you,
you may use its config as a starting point for your custom kernel.

There's a couple of articles on Gentoo wiki which may be helpful:
http://gentoo-wiki.com/Index:HOWTO#ACPI_.26_APM

HTH,
Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to install iplimit?

2006-03-24 Thread Alexander Kirillov

I would like to use iplimit in my firewall.


Did you check for new netfilter options in kernel config
after installing iptables extensions?
Did /usr/src/linux point to correct location
when you were installing the patches?
This is just a guess. Didn't do that myself.
Sasha

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re-caching dependency info (mtimes differ)...

2006-03-23 Thread Alexander Kirillov

Hi all,

I needed to restart sendmail more than once after upgrade
and noticed the script always produces these warnings:

# /etc/init.d/sendmail restart
 * Re-caching dependency info (mtimes differ)...
 * Stopping sendmail ... [ok]
 * Re-caching dependency info (mtimes differ)...
 * Re-caching dependency info (mtimes differ)...
 * Re-caching dependency info (mtimes differ)...
 * Re-caching dependency info (mtimes differ)...
 * Starting sendmail ... [ok]

What might be wrong here?

TIA,
Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to apply a patch to ebuild?

2006-03-22 Thread Alexander Kirillov

Hi I was reading the bug report 114915 at gentoo bugzilla and it
mentions a patch to ebuid, I had downloaded the patch but I don't have
any clue about how can I apply it to current ebuid.


There may be a patched version already in portage, still masked.
If there isn't you may consider creating a new ebuild under 
PORTDIR_OVERLAY using the old one as a template.


HTH

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] DDNS Problem

2006-03-15 Thread Alexander Kirillov
I am facing problems in configuring DDNS with dhcpd. When i'm rebooting 
linux machine, it is getting dynamically ip address from linux server 
but no dynamic dns updates are there. Also when i renew ip address of 
windows 2000 prof, it not getting ip address from linux dhcp server. 


You should explicitly allow updates in named.conf and
make some directories and zone files writable by bind.
Read relevant parts of BIND Administrator Reference Manual.
You may also want to add more logging options to named.conf
and there should be enough info in syslogs to troubleshoot
the problem you're having.

HTH

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Bind Questions

2006-03-11 Thread Alexander Kirillov
Also in the same 
network there are many linux and windows
clients but the Linuz DNS server (named) is not giving any response to 
the host or dig command by its own. Can any one tell me
how the Named/DNS server works? How it discovers neighboorhood(local 
LAN) hosts?


I don't think it does. But you may get something similar
with dhcp and dynamic dns updates.

 Also can we check/list all the hosts/ip addresses that are

cached by dns server? If yes, then HOW?


# rndc dumpdb -cache

HTH

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] QoS/tc under gentoo

2006-03-07 Thread Alexander Kirillov
I've recently gotten interested in using tc to manage my upstream 
bandwidth.  Is there a gentoo package that provides an init script to 
start tc rules ala iptables-save/restore?


What about /etc/conf.d/local.start /etc/conf.d/local.stop?

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: bind zone.file won't load

2006-03-05 Thread Alexander Kirillov

;BIND DUMP V8
$ORIGIN 10.10.IN-ADDR.ARPA.
0   3600IN  SOA baikal.iproducts.test. 
root.baikal.iproducts.test. (



Alexander, I meant to ask in my reply what the 3600 is all about?  My
study of DNS and Bind hasn't discussed that field yet.


Each RR can have a TTL as the second field in the RR, which will control 
how long other servers can cache the it.


The file looks this way after being updated by dhcpd:)

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: bind zone.file won't load

2006-03-05 Thread Alexander Kirillov

Here's a reverse zone file for my home network. It's 10.10.0/24
but you'll figure out how to tailor this to your needs.



Yikes I promised to post my reverse file based on your example and
then mailed my response without including it.  You saw the failure:

 nslookup  192.168.1.2
  Server: 127.0.0.1
  Address:127.0.0.1#53

  ** server can't find 2.1.168.192.in-addr.arpa: NXDOMAIN

Here is the zone file:

db.192.168.1
$TTL 1D
$ORIGIN 0.168.192.IN-ADDR.ARPA.
4   IN SOA  reader.local.lan. reader.reader.local.lan. (

  200405190  ; serial
  28800  ; refresh (8 hours)
  14400  ; retry (4 hours)
  2419200; expire (4 weeks)
  86400  ; minimum (1 day)
  )
;
; Name servers (The name '@' is implied)
;
IN  NS  reader
$ORIGIN 1.168.192.IN-ADDR.ARPA.
;
; Addresses point to canonical names
;

2   IN  PTR rdmz.local.lan.
1   INPTR   fwdmz.local.lan.


What's in your named.conf?
Should be something like this:

zone local.lan IN {
...
};

zone 0.168.192.in-addr.arpa IN {
...
};

zone 1.168.192.in-addr.arpa IN {
...
};

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: bind zone.file won't load

2006-03-05 Thread Alexander Kirillov

What's in your named.conf?
Should be something like this:



Just posted a few minutes ago... but I noticed I wasn't really
following your example thoroughly.  Now trying this db.192.168.1 


Still fails miserably:

$TTL 1D
$ORIGIN 168.192.IN-ADDR.ARPA.
0   IN SOA  reader.local.lan. reader.reader.local.lan. (
  200405190  ; serial
  28800  ; refresh (8 hours)
  14400  ; retry (4 hours)
  2419200; expire (4 weeks)
  86400  ; minimum (1 day)
  )
;
; Name servers (The name '@' is implied)
$ORIGIN 0.168.192.IN-ADDR.ARPA.
;
4   IN  NS  reader.local.lan.


You don't need 4 at the start of the line


$ORIGIN 1.168.192.IN-ADDR.ARPA.
;
; Addresses point to canonical names
;

2   IN  PTR rdmz.local.lan.
1   INPTR   fwdmz.local.lan.
=== 8 snip ===

Produces theses log lines:

  Mar 5 07:35:06 reader named[10615]: pri/db.192.168.1:3: ignoring
out-of-zone data (0.168.192.IN-ADDR.ARPA)

  Mar 5 07:35:06 reader named[10615]: pri/db.192.168.1:14: ignoring
out-of-zone data (4.0.168.192.IN-ADDR.ARPA)

  Mar 5 07:35:06 reader named[10615]: zone 1.168.192.in-addr.arpa/IN:
has 0 SOA records

  Mar 5 07:35:06 reader named[10615]: zone 1.168.192.in-addr.arpa/IN:
has no NS records


Make it 2 separate files for each of the reverse zones.
Each with its own SOA record.
Emerge bind with doc flag and read into Adminstrators Reference Manual

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: bind zone.file won't load

2006-03-05 Thread Alexander Kirillov

What is the significance of the zero here:



$ORIGIN 168.192.IN-ADDR.ARPA.
0   IN SOA  reader.local.lan. reader.reader.local.lan. (


You need to define 2 zones of authority:

0.168.192.IN-ADDR.ARPA. IN SOA ...
1.168.192.IN-ADDR.ARPA. IN SOA ...

You may use either of 2 shortcuts:

either use

@ IN SOA ...

at the beginning of each zone file where @ stands for the current origin
in this case defined in the zone statement in your named.conf

or

use the example I've sent you in my first reply:

$ORIGIN 168.192.IN-ADDR.ARPA.
0 IN SOA ...; for 0.168.192.IN-ADDR.ARPA. zone
1 IN SOA ...; for 1.168.192.IN-ADDR.ARPA. zone

And please be more careful reading the examples
and take time to learn the exact meaning of the statements.
You need just a few to make it all work
and some reading will save you time in the long run.

And the manual is:

# equery files net-dns/bind|grep html
/usr/share/doc/bind-9.3.2/html
/usr/share/doc/bind-9.3.2/html/Bv9ARM.ch01.html
/usr/share/doc/bind-9.3.2/html/Bv9ARM.ch02.html
/usr/share/doc/bind-9.3.2/html/Bv9ARM.ch03.html
/usr/share/doc/bind-9.3.2/html/Bv9ARM.ch04.html
/usr/share/doc/bind-9.3.2/html/Bv9ARM.ch05.html
/usr/share/doc/bind-9.3.2/html/Bv9ARM.ch06.html
/usr/share/doc/bind-9.3.2/html/Bv9ARM.ch07.html
/usr/share/doc/bind-9.3.2/html/Bv9ARM.ch08.html
/usr/share/doc/bind-9.3.2/html/Bv9ARM.ch09.html
/usr/share/doc/bind-9.3.2/html/Bv9ARM.html

HTH

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: bind zone.file won't load

2006-03-05 Thread Alexander Kirillov

Oh and do you see problems with the other solution proposed by Jo Are
in this thread?


192.168/16? Not at all.
But this is a training exercise, right?
I don't need dhcp for 3 hosts on my network either:)

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] bind zone.file won't load

2006-03-04 Thread Alexander Kirillov

Running an authoritative name server on a small home lan as training
exercise. And using DNS and Bind 4th ed as a guide.

A quick sketch of this network(There are more hosts on it
but for simplicity):

(All have prefix 192.168 and netmask 255.255.255.0)

 INTERNET
   | (Dynamic IP)
   |
NETGEAR (consumer grade router)
reader  | 0.20  fwobsd
  --
  | 0.4| 0.3  | 0.5| 0.19
  ||  ||  
[ m1 ]   [ m2 ] [ m3 ]   [ m4 ]

  | 1.2| 1.1
  ||
rdmz  fwdmz

So I have two networks here.. 192.168.0/24 and 192.168.1/24
M1 and M4 both have 2 nics and addresses in 192.168.0 and 192.168.1
as shown... (if mail doesn't mangle my asci production too bad.)

My problem is how to integrate 192.168.1/24 into my zone.files

The reverse-pointer zone.file for 192.168.1 is where the rub is.
I'm very inexperienced with routing in general and nameservers in
particular  setting up a home lan nameserver is a training
exercise for me.

Where I get confused is what is the origin `@' for this zone?
Can I use `@' or need to spell out 192.168.1?
What happens to my domain... `local.lan' does it still cover what are
now really two numeric domains 192.168.0 and 192.168.1?


Here's a reverse zone file for my home network. It's 10.10.0/24
but you'll figure out how to tailor this to your needs.

# cat pri/0.10.10.zone

;BIND DUMP V8
$ORIGIN 10.10.IN-ADDR.ARPA.
0   3600IN  SOA baikal.iproducts.test. 
root.baikal.iproducts.test. (
20050421 3600 900 360 3600 );Cl=5
3600IN  NS  baikal.iproducts.test.  ;Cl=5
$ORIGIN 0.10.10.IN-ADDR.ARPA.
2   3600IN  PTR volga.iproducts.test.   ;Cl=5
1   3600IN  PTR baikal.iproducts.test.  ;Cl=5
3   3600IN  PTR g40.iproducts.test. ;Cl=5
;10 3600IN  PTR wisla.iproducts.test.   ;Cl=5


#cat named.conf

...
zone 0.10.10.in-addr.arpa IN {
type master;
file pri/0.10.10.zone;
allow-update{
10.10.0.1;
};
};
...

HTH,
Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Apache ?!?

2006-02-28 Thread Alexander Kirillov

If you've enabled server-status handler
this might give you an idea of what apache threads are doing
when it's eating up your resources.
HTH,
Sasha


That's just what buggers me the most. NO. If only I did I would know how to get 
back.

It's happening for some time now. Only since yesterday evening it's persistent. 
When it first came to my attention I was thinking at a cron job that triggered 
something, or a visitor. Even without any cron jobs running it's happening. And 
it is not visitor related. At least not as far as I can figure out true there 
IP-numbers and so on. I was thinking this because I had the impression that it 
happened on a regular basis, every two weeks or so. When I then stopped Apache 
for a few seconds and restarted Apache again everything was back to normal.

I now have been uninstalling everything that I could miss for a while, even 
stopped Apache for several hours. No result. The only thing that happens is a 
very slow server.


Did you change something in the apache configuration or anything else?


Just a question. Has anyone experienced the fact that Apache is eating up
all the server resources and filling all swap space?  Where do I find the
reason why? Or in what log-file do I look for what reason?  The server runs
a Drupal based site if that should matter. Only after restarting Apache it
directly goes true the roof. As well as I am at the moment.

To be honest, it runs on Debian. I know, I know, if only I had the nerves
to install Gentoo on it from a distance. Then I would be as happy as my
home system running day after day without stopping, thanks to Gentoo. Only
I don't want to surprise the hosting company and tell them to please fix my
ssh connection. At least not for now ;-)

Thanks in advance, why aren't all systems like Gentoo. It could also be
possible that it's me being to stupid :-)

Cheers,
William.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Apache ?!?

2006-02-28 Thread Alexander Kirillov

Hi William,
You should also have the list of workers
with the DOCUMENTS they are currently serving.
If you don't, check if ExtendedStatus is On in httpd.conf.
If you're using any scripting engines server-side you probably
should check the limits on the resources your scripts may consume.
Like max_execution_time, memory_limit, mysql.connect_timeout and so on 
if it's PHP.

HTH,
Sasha


I have it running. I believe the lines that follow this one :
Srv PID Acc M   CPU SS  Req ConnChild   Slot
Client  VHost   Request
are the ones that are going to give me an answer.

The start of the page gives me this information :
Current Time: Tuesday, 28-Feb-2006 20:14:15 CET
Restart Time: Tuesday, 28-Feb-2006 19:54:28 CET
Parent Server Generation: 0
Server uptime: 19 minutes 47 seconds
Total accesses: 219 - Total Traffic: 1.4 MB
CPU Usage: u5.88 s.8 cu0 cs0 - .563% CPU load
.184 requests/sec - 1263 B/second - 6.7 kB/request
31 requests currently being processed, 5 idle servers

This long after my swap space got filled. That only takes about 2 minutes. And 
doesn't get filled with Apache not running. The CPU load doesn't rise higher 
then 5%.

If I understand the lines at the bottom of the page. And the direction you are 
heading at. Then my problem is site related. Only how do I know which one 
causes it. Or where do I have to pay the most attention at when looking at the 
outcome? Which always changes, I don't see anything looking different, or 
sticking out from the rest.


If you've enabled server-status handler
this might give you an idea of what apache threads are doing
when it's eating up your resources.
HTH,
Sasha



That's just what buggers me the most. NO. If only I did I would know how to
get back.

It's happening for some time now. Only since yesterday evening it's
persistent. When it first came to my attention I was thinking at a cron job
that triggered something, or a visitor. Even without any cron jobs running
it's happening. And it is not visitor related. At least not as far as I can
figure out true there IP-numbers and so on. I was thinking this because I
had the impression that it happened on a regular basis, every two weeks or
so. When I then stopped Apache for a few seconds and restarted Apache again
everything was back to normal.

I now have been uninstalling everything that I could miss for a while, even
stopped Apache for several hours. No result. The only thing that happens is
a very slow server.



Did you change something in the apache configuration or anything else?



Just a question. Has anyone experienced the fact that Apache is eating up
all the server resources and filling all swap space?  Where do I find the
reason why? Or in what log-file do I look for what reason?  The server runs
a Drupal based site if that should matter. Only after restarting Apache it
directly goes true the roof. As well as I am at the moment.

To be honest, it runs on Debian. I know, I know, if only I had the nerves
to install Gentoo on it from a distance. Then I would be as happy as my
home system running day after day without stopping, thanks to Gentoo. Only
I don't want to surprise the hosting company and tell them to please fix my
ssh connection. At least not for now ;-)

Thanks in advance, why aren't all systems like Gentoo. It could also be
possible that it's me being to stupid :-)

Cheers,
William.



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Where do these use flags come from?

2006-02-27 Thread Alexander Kirillov
Too bad the guy willing to answer your question didn't live up to the 
expectations


Do you never read to the end of mails to which you reply? Stop top-posting. 
Don't include quotes to which you do not reply. Reply below quotes to which 
you do reply. It is not that hard!


http://www.catb.org/jargon/html/T/top-post.html


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CVSup vs Gentoo's Rsync

2006-02-23 Thread Alexander Kirillov

BSD ports system may not be as complex as Gentoo's
and needs more attention to maintain port dependencies
but this abuse of make IS REAL FAST.


portage is REAL SLOW.
So you should install/use cdb, which makes the whole rsync/update process REAL 
FAST.



If you sync regularly it's usually within 5 min.


it is, with cdb.


Thanks for the hint.
If I got it right here's the link for those interested:
http://gentoo-wiki.com/TIP_speed_up_portage_with_cdb
Looks very interesting and I wonder why is it not in portage yet?

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] X ?

2006-01-20 Thread Alexander Kirillov

Probably placeholders for character codes invalid
in currently selected encoding?


i have this in AmaroK:
http://img11.imageshack.us/img11/5130/xisaretleri8yh.png 
http://img11.imageshack.us/img11/5130/xisaretleri8yh.png


and this in Kontact:
http://img11.imageshack.us/img11/1793/kontactxleri9xu.png 
http://img11.imageshack.us/img11/1793/kontactxleri9xu.png


so do you have any idea about what are these X signs? :) and how can i 
remove them?


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How many people use KDE?

2006-01-20 Thread Alexander Kirillov

I wanna to know KDE and Gnome which is more popular.


Linus recommends you use KDE.

http://lists.osdl.org/pipermail/desktop_architects/2005-December/000390.html


I've been using KDE for years but switched to Gnome recently.
Though I'm still using Kate. It's a matter of taste. Try them both.
You'll probably find KDE more flexible and Gnome more responsive
and better integrated with other open source projects out there.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How many people use KDE?

2006-01-20 Thread Alexander Kirillov

and better integrated with other open source projects out there.


That is not a quality of Gnome but GTK. Gnome uses GTK while KDE uses QT. 
Since (earlier) QT had a non-acceptable license for most of the developers of 
FLOSS, they chose GTK over QT. This lead to more and more applications being 
written with the toolkit, hence their better integration with Gnome.


I've been thinking about xscreensaver and mozilla:)

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] php mysql problem

2006-01-05 Thread Alexander Kirillov

Try to locate the first line in a php script which triggers the error
and use /usr/bin/mysql tool to either test connection parameters or
the query in question. You can also turn on MySQL query log.


Yes, everything installs fine with Typo3. At least it looks like it.
Only thing is that after the installation routine I get the error messages.

2006/1/5, Alexander Kirillov  [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]:


  I'm installing Apach2, Mysql 5.0.18 and PHP 5 on my laptop for a
project.
  However, when I install the main CMS system (Typo3 4.0) I keep
getting
  various
 
  supplied argument is not a valid MySQL result resource
 
  So I did a test page to see that PHP was actually emerged with the
  correct USE flags
 
  '--with-mysql=/usr/lib/mysql'
  '--with-mysql-sock=/var/run/mysqld/mysqld.sock'
 
  And did a check that I have the socket in the correct place
 
  [EMAIL PROTECTED] ~ $ ls -l /var/run/mysqld/mysqld.sock
  'srwxrwxrwx  1 mysql mysql 0 Jan  3 05:35 /var/run/mysqld/mysqld.sock
  [EMAIL PROTECTED] ~ $
 
  I've tried with PHP4 and PHP5, with MySQL 4.x and 5.x
 
  I still can't get the system up. And the code is valid, as others are
  running the beta code, and I had a Typo3 system
  before my forced reinstallation.
 
  I've read contless articles on Gentoo and Typo3 forums/lists but
still...
 
  Any suggestions how to get past this?

There should be enough information in PHP and MySQL logs
to troubleshoot problems of this sort. Don't know anything about Typo3
but an app of this kind should come with a script which creates
databases, tables, users and grants privileges needed.
So I'd suggest to stop playing with PHP and MySQL versions -
they're pretty much backward compatible and dig into Typo3-related
issues.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] problems in world file?

2005-12-06 Thread Alexander Kirillov

Simple question here, but what is emaint? No trace of it on my
up-to-date system.


It seems to be in portage-2.0.53 which is still masked.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?

2005-11-29 Thread Alexander Kirillov

The local resolver lib will use either /etc/hosts file or dns queries in
the order defined in your /etc/host.conf


You mean /etc/nsswitch.conf?


I probably do. Is /etc/host.conf still of any use?


Actually, I'm not sure.  I've always edited nsswitch.conf to get it to
do what I want, with good results.

I see with strace that when I ping somehost, both nsswitch.conf and
host.conf are opened.  The man pages don't reveal anything about their
relationship, so I guess I'll have to take a look at the glibc sources
tonight.


As close as I can tell from reading the code (which is to say, I am
making an only slightly educated guess), the 'order' keyword in
host.conf is pretty much ignored by current glibc versions.  Host.conf
is only consulted by the libnss_files.so module, and then only for the
'multi' option.  The order in nsswitch.conf is authoritative.

This seems to be confirmed by a few strace ping attempts with
various configurations.


Thanks Rich,
I also was curious and spent some time googling
and reading man pages (without success) but didn't go that far:)
Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cdrtools and 2.6.13-r3 kernel

2005-11-28 Thread Alexander Kirillov

Does anyone know if cdrtools 2.01-r3 works at all with the gentoo
2.6.13-r3 kernel?

I saw cdrecord giving a warning about later kernels.  Xcdroast just
doesn't seem to do anything when I've tried it.


Works for me with 2.6.14-gentoo-r2 since I disabled dma on /dev/cdrw
HTH,
Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?

2005-11-28 Thread Alexander Kirillov

Our cable internet service goes out frequently (and probably even more
frequently now that winter has come to OKlahoma.)  When it goes out,
pretty much everything on my Gentoo system slows down.  It's gotten to
where just to get an application (like gnumeric) to open I have to su -
to root and shut down /etc/init.d/net.eth0 until the Internet comes back
on.  This morning the internet was out and I'd shut down net.eth0 and
then tried to run monodevelop and it refused to start giving me some
message about my PC's hostname not being set correctly in /etc/hosts.  I
checked it and /etc/hosts was correct.  Must just be a glitch with
monodevelop.  My question is what is it about Gentoo that relies so
heavily on connecting to the internet?  My network was running just fine
- just the connection between the cable modem and the internet was down,
but everything inside my router should have been fine...


Do you have nscd running? Try to stop or restart it. It can be a real 
nuisance when internet connection goes down.

It's also a good idea to run dns server locally
if only to troubleshoot name resolution problems.
HTH,
Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?

2005-11-28 Thread Alexander Kirillov

Our cable internet service goes out frequently (and probably even more
frequently now that winter has come to OKlahoma.)  When it goes out,
pretty much everything on my Gentoo system slows down.  It's gotten to
where just to get an application (like gnumeric) to open I have to su -
to root and shut down /etc/init.d/net.eth0 until the Internet comes back
on.  This morning the internet was out and I'd shut down net.eth0 and
then tried to run monodevelop and it refused to start giving me some
message about my PC's hostname not being set correctly in /etc/hosts.  I
checked it and /etc/hosts was correct.  Must just be a glitch with
monodevelop.  My question is what is it about Gentoo that relies so
heavily on connecting to the internet?  My network was running just fine
- just the connection between the cable modem and the internet was down,
but everything inside my router should have been fine...


Do you have nscd running? Try to stop or restart it. It can be a real 
nuisance when internet connection goes down.

It's also a good idea to run dns server locally
if only to troubleshoot name resolution problems.


I don't have a full DNS server for my domain.  Each computer on my
network has a copy of the same /etc/hosts file.  Is there some way I can
make it use that for DNS lookups locally?


The local resolver lib will use either /etc/hosts file or dns queries in 
the order defined in your /etc/host.conf

Anyway I think it makes sense to go through the chores of setting up
local dns server ones to save some time later down the road.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?

2005-11-28 Thread Alexander Kirillov

Our cable internet service goes out frequently (and probably even more
frequently now that winter has come to OKlahoma.)  When it goes out,
pretty much everything on my Gentoo system slows down.  It's gotten to
where just to get an application (like gnumeric) to open I have to su -
to root and shut down /etc/init.d/net.eth0 until the Internet comes back
on.  This morning the internet was out and I'd shut down net.eth0 and
then tried to run monodevelop and it refused to start giving me some
message about my PC's hostname not being set correctly in /etc/hosts.  I
checked it and /etc/hosts was correct.  Must just be a glitch with
monodevelop.  My question is what is it about Gentoo that relies so
heavily on connecting to the internet?  My network was running just fine
- just the connection between the cable modem and the internet was down,
but everything inside my router should have been fine...


Do you have nscd running? Try to stop or restart it. It can be a real 
nuisance when internet connection goes down.

It's also a good idea to run dns server locally
if only to troubleshoot name resolution problems.
HTH,
Sasha



I don't have a full DNS server for my domain.  Each computer on my
network has a copy of the same /etc/hosts file.  Is there some way I can
make it use that for DNS lookups locally?



http://gentoo-wiki.com/HOWTO_setup_a_home-server
may be of use though I've never tried dnsmasq myself.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?

2005-11-28 Thread Alexander Kirillov

The local resolver lib will use either /etc/hosts file or dns queries in
the order defined in your /etc/host.conf


You mean /etc/nsswitch.conf?


I probably do. Is /etc/host.conf still of any use?

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge kernel?

2005-09-25 Thread Alexander Kirillov

Is there a way to list all ebuilds which need to be remerged
after kernel upgrade? Would be nice to have a special emerge
target for this very thing to happen automatically.


emerge -v $( equery b /lib/modules | sed -e 's:^:=:' )


Thanks Peter,
Found a module I forgot to rebuild using equery b /lib/modules:)
On the other hand splashutils need to be remerged sometimes afaik.
And vmware drivers.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE fails to start when coupled with firewall...

2005-09-04 Thread Alexander Kirillov
I have set up a set of rules with iptables so that the default policy of 
all tables is to block all communication if it's not specifically 
allowed in the given table. Now I'm wondering why KDE doesn't start when 
those rules are applicable. It always stops where it should be 
initializing services... What does it need the network for and why can't 
it stop probing if access is forbidden? ...And most of all, what could I 
do to make it all work?


It makes sense to log the packets you drop
to see what holes you may need to open in your firewall.
As a minimum you have to allow traffic through lo interface.
You may find a bunch of howtos and examples on http://www.iptables.org
HTH
Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Yet another geforce4 problem

2005-08-28 Thread Alexander Kirillov

I've recently installed GeForce4 MX440 AGP 8x
into my gentoo box and got it working.
Bootsplash, opengl and so on..
But one serious problem remains.
I have 90% chance to get garbled screen right after system reboot
when bios is starting hw checks. The problem goes away
after a random number of poweroffs.
Is there a way to fix this?



If you've upgraded the bios on the motherboard, then trash the motherboard.
It's not doing a proper reset to the AGP bus.

Other possibility is the chip on the MX440 is on the slow side of things and 
the reset
is too short for it.  Generally, the chip will eventually get slower as it ages 
and the problem
will get worse.


Thanks for the hint Bob,
Upgraded the bios. The problem's still there:(
As I don't reboot very often I may live with this for a while.
Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Yet another geforce4 problem

2005-08-28 Thread Alexander Kirillov



Do you have any other gfx board you can put in ?
Just to identify the source of the problem, ie. gfx board or mobo


Nope, I don't:( But this is an interesting idea. Thanks Stuart.


Alternatively do you get the problem when booting under a liveCD of
some description


Same [EMAIL PROTECTED] booting from liveCD and windows.
(I have a small win partition for hw troubleshooting)
So it doesn't look like a driver problem
and Bob's guess seems to be correct. Unfortunately:(


I've recently installed GeForce4 MX440 AGP 8x
into my gentoo box and got it working.
Bootsplash, opengl and so on..
But one serious problem remains.
I have 90% chance to get garbled screen right after system reboot
when bios is starting hw checks. The problem goes away
after a random number of poweroffs.
Is there a way to fix this?



If you've upgraded the bios on the motherboard, then trash the motherboard.
It's not doing a proper reset to the AGP bus.

Other possibility is the chip on the MX440 is on the slow side of things and 
the reset
is too short for it.  Generally, the chip will eventually get slower as it ages 
and the problem
will get worse.


Thanks for the hint Bob,
Upgraded the bios. The problem's still there:(
As I don't reboot very often I may live with this for a while.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] strange problem with kdm

2005-08-28 Thread Alexander Kirillov

After installing kde through emerge kdebase-meta and test with
startx of no problem,
I add xdm to default runlevel with modifying display manager to kdm in
rc.conf.
However when I reboot the computer, the screen turn black for a second
and then up
without kdm start. The log file only contain following info about kdm:

kdm[5526]: x server for display: 0 terminated unexpectedly
kdm[5526]: unknow session exit code 0 (sig 9) from manager process

ps -ef show kdm[5526] are still running. 
However when I del xdm from default runlevel or kill 5526 then type:

/etc/init.d/xdm start
the kdm just turn out to run smoothly.

And startup with default xdm in rc.conf also had no problem.

It is so strange that there is no problem to start kdm after login
from command line,
and only to fail at startup in default runlevel.


Have you checked /var/log/Xorg.0.log?
Anything related to the problem you're having?
Sasha

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Yet another geforce4 problem

2005-08-26 Thread Alexander Kirillov

Hi all,
I've recently installed GeForce4 MX440 AGP 8x
into my gentoo box and got it working.
Bootsplash, opengl and so on..
But one serious problem remains.
I have 90% chance to get garbled screen right after system reboot
when bios is starting hw checks. The problem goes away
after a random number of poweroffs.
Is there a way to fix this?
Thanks,
Sasha


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gforce4 and gensplash [RESOLVED]

2005-08-25 Thread Alexander Kirillov

Can I make gensplash to work with gforce4?


yes


What fb driver are you using?
I've tried with vesafb which was working well
with my onboard i810 chip without success.


Eventually got it working with vesafb-tng.
Had to splash_geninitramfs with all available resolutions
(was using 1024x768)
and explicitly specify color depth in kernel command line
(the driver uses 8bpp by default).

Still the console comes up in 800x600 despite explicit
resolution settings. Why?

I could get better resolution in the console with nvidiafb
but nvidia binary drivers I'm using in X don't work with it.

Cheers,
Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gforce4 and gensplash

2005-08-24 Thread Alexander Kirillov

Can I make gensplash to work with gforce4?


yes


Hi Matan,
That's good news. Thanks.
What fb driver are you using?
I've tried with vesafb which was working well
with my onboard i810 chip without success.
Thanks,
Sasha

--
gentoo-user@gentoo.org mailing list



[gentoo-user] gforce4 and gensplash

2005-08-23 Thread Alexander Kirillov

Hi all,
Can I make gensplash to work with gforce4?
Thanks in advance,
Sasha

--
gentoo-user@gentoo.org mailing list



[gentoo-user] [OT] Can't unlock session in KDE 3.4

2005-07-17 Thread Alexander Kirillov
Hi all,
Kb layout switch in session unlock screen
doesn't work for me after upgrade to kde 3.4
When kde session locks on timeout
and the keyboard happens to be left in non-english layout
I can't switch it back to en and have to kill X
to get things back to normal.
This only happens when unlocking a session
and works well inside kde.
Any ideas?
TIA,
Sasha

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Can't unlock session in KDE 3.4

2005-07-17 Thread Alexander Kirillov
 Kb layout switch in session unlock screen
 doesn't work for me after upgrade to kde 3.4
 When kde session locks on timeout
 and the keyboard happens to be left in non-english layout
 I can't switch it back to en and have to kill X
 to get things back to normal.
 This only happens when unlocking a session
 and works well inside kde.
 Any ideas?
 
 Sounds like it could be a security constraint.  A locked screen
 shouldn't allow much more than password input.  You can't input the
 password with the non-en layout? Too bad :-(.

Hi Zac,
That doesn't sound optimistic. Does it?
The problem is it used to be working.
And the widget to switch kb layouts is still there.
But it doesn't work as expected.
And yep. The damn password is all ascii. Too bad.
I've just found this is not the only problem I'm having
with i18n in kde. For some reason I can't switch encodings in
kde editors either.
I should mention this happened after massive system cleanup.
Removed gnome and a bunch of multimedia soft I didn't need any more.
Followed by usual depcleans and revdep-rebuilds.
Didn't find any inconsistences in installed ebuilds though.
So the challenge still stands and all suggestions welcome.
Sasha

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Can't unlock session in KDE 3.4

2005-07-17 Thread Alexander Kirillov
 Kb layout switch in session unlock screen
 doesn't work for me after upgrade to kde 3.4
 When kde session locks on timeout
 and the keyboard happens to be left in non-english layout
 I can't switch it back to en and have to kill X
 to get things back to normal.
 This only happens when unlocking a session
 and works well inside kde.
 Any ideas?

 Sounds like it could be a security constraint.  A locked screen
 shouldn't allow much more than password input.  You can't input the
 password with the non-en layout? Too bad :-(.

 That doesn't sound optimistic. Does it?
 The problem is it used to be working.
 And the widget to switch kb layouts is still there.
 But it doesn't work as expected.
 And yep. The damn password is all ascii. Too bad.
 I've just found this is not the only problem I'm having
 with i18n in kde. For some reason I can't switch encodings in
 kde editors either.
 I should mention this happened after massive system cleanup.
 Removed gnome and a bunch of multimedia soft I didn't need any more.
 Followed by usual depcleans and revdep-rebuilds.
 Didn't find any inconsistences in installed ebuilds though.
 So the challenge still stands and all suggestions welcome.
 
 I wasn't aware that such a widget existed.  If I knew how to make the
 widget appear and switch keyboard layouts then I would gladly test it
 for you on my end.

Thanks. Would be good if you have time for this.
I think you have to add an extra kb layout for the widget to show up
in session unlock screen. I'm using en_US and ru.
BTW what I said above of not being able to switch encodings in kde
editors isn't true. Early birds have big eyes they say:)
I probably didn't select proper encoding when saving non-en document.
So it's all question marks (3f hex). No wonder I couldn't get the
encoding right.
Thanks for your help,
Sasha

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Can't unlock session in KDE 3.4

2005-07-17 Thread Alexander Kirillov
 Kb layout switch in session unlock screen
 doesn't work for me after upgrade to kde 3.4
 When kde session locks on timeout
 and the keyboard happens to be left in non-english layout
 I can't switch it back to en and have to kill X
 to get things back to normal.
 This only happens when unlocking a session
 and works well inside kde.
 Any ideas?

 Sounds like it could be a security constraint.  A locked screen
 shouldn't allow much more than password input.  You can't input the
 password with the non-en layout? Too bad :-(.


 That doesn't sound optimistic. Does it?
 The problem is it used to be working.
 And the widget to switch kb layouts is still there.
 But it doesn't work as expected.
 And yep. The damn password is all ascii. Too bad.

 I wasn't aware that such a widget existed.  If I knew how to make the
 widget appear and switch keyboard layouts then I would gladly test it
 for you on my end.

 Thanks. Would be good if you have time for this.
 I think you have to add an extra kb layout for the widget to show up
 in session unlock screen. I'm using en_US and ru.
 
 I think I can reproduce your problem.  I used kcontrol to add another
 keyboard layout under Regional  Accesibility and the keyboard layout
 widget now appears when the the screen is locked.  When I click the
 widget it's text changes to err.  It seems to be a bug in
 kde-base/kscreensaver-3.4.1 because the system tray widget works fine.

Thanks a lot Zac,
I'm not using split ebuilds so this seems to be a kde bug indeed.
I've filed a bug report to kde.org. Bug ID #109234.
It's real annoying and hopefully will be fixed soon enough.
Sasha

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: KDE/KDM problems

2005-07-11 Thread Alexander Kirillov
What sort of a problem with /dev/dsp?
You can't use /dev/dsp when arts (KDE sound daemon) is active.
Either try artsdsp [-m] or wait till arts is suspended.
Sasha

 - KDE now start ok
 - /dev/null on reboot is now crw-rw-rw, which is ok
 - /de/vdsp on reboot is now crw-rw-rw
 - konsole now works
 
 There are two remaining problems
 
 - Sound, whenever kde starts I get an error with /dev/dsp. Is it work
 changing the owner from root:audio to user:audio?
 - Kmail keeps crashing, and whilst showing mail subjects ok will not
 show the mail bodies.
 
 All fun and games!
 
 Simon
 
 On Mon, 2005-07-11 at 16:37 +, James wrote:
 
Simon Windsor simon.windsor at cornfield.org.uk writes:



I have just built KDE, version 3.4.1, and it is not starting properly.

I have 

- disabled IP6 tests - it now faster to start
- chmod 666 /dev/null allows kdm to start, otherwise startkde reports
errors
- chmod 660 /dev/dsp to grant access to users in audio group

After all this, kde starts, but I still get errors with /dev/dsp.

Well, I'm not sure of your KDE versus /dev/dsp issues, so I'll 
remind you about  checking rc.conf. It change a while back, but
mine still has these settings:

DISPLAYMANAGER=kdm

SESSION=kde-3.4.1

The system boots into KDE just fine. I'm not sure if the SESSION
setting in rc.conf is deprecated now or not

Before running 'env-update  source /etc/profile  etc-update'

I look at the proposed list of updates to config files that
etc-update wants to perform. If I have a question about the
files to be updated, I make a backup of the file with the current
date appended. That way, you can recover config files
or look at them over time to see how they have changed.
/etc/rc.conf is a good example

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] man segmentation fault

2005-07-10 Thread Alexander Kirillov
 Le 10 juillet à 10:43:39 Sascha Hlusiak [EMAIL PROTECTED] écrit notamment:
 
 | Hi,
 | 
 |  hello all,
 |  Since my last emerge -uD world (where man was updated to man-1.6), I
 |  receive a segmentation fault when trying to see a man page, this seems
 |  to be true for all users and within bash as well as zsh. I remember that
 |  the conf file has been modified but I'm afraid i did not care to look at
 |  what was changed!
 | I have the same problem. I figured out that it only occurs, when I run
 | man in a small terminal in X. When I resize the terminal, it works fine,
 | as well as in an vc.
 
 Well in the vc it didn't work either for me.
 
 | I just found out now, that it also seems to be a problem with caching.
 | If I uncomment the NOCACHE line in /etc/man.conf, it seems to work
 | again. Can you confirm that?
 
 Yes I confirm that, thanks for the tip!

Seems to be fixed in sys-apps/man-1.6-r1
Still complains if called without parameters:
Cannot open the message catalog man for locale ru_RU.KOI8-R
(NLSPATH=none)
Is there a way to fix this?
TIA,
Sasha

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mplayer is blue!

2005-07-10 Thread Alexander Kirillov
I had a problem with mplayer theme colours.
Never with the picture itself.
Don't know if my experience is of any use to you
but you may try mplayer with 16 and 24 colour depth
and with sse and sse2 use flags if supported by your cpu
to see if it makes any difference.

 My gmplayer screen (using the X11/Xv video driver (which is the only
 driver that provides adequate full-screen performance)) is showing blue.
 The movie's sound comes through, but no picture - just that blue screen.
 I seem to remember someone had this same problem several months ago, but
 I cannot seem to find the thread in the archives at gmane.org.  Can
 anyone help me?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help interpreting top(1) display

2005-07-06 Thread Alexander Kirillov
top reads some tick counters from /proc/stat
provided by the kernel and defined as

struct cpu_usage_stat {
cputime64_t user;
cputime64_t nice;
cputime64_t system;
cputime64_t softirq;
cputime64_t irq;
cputime64_t idle;
cputime64_t iowait;
cputime64_t steal;
};

in kernel_stat.h

You probably can guess the meaning better than I could:

# time spent waiting for IO to complete
wa=iowait

# time spent within hardware interrupt handlers
hi=irq

# time spent within other critical sections within the kernel
si=softirq

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user][SOLVED] /dev/net/tun doesn't exist

2005-07-06 Thread Alexander Kirillov
There now seems to be certain time lag between tun module is loaded
and /dev/net/tun is created. So the script would die on the following lines:

modprobe tun
if [ ! -c /dev/net/tun ]; then
echo /dev/net/tun doesn't exist
exit
fi

Adding tun to /etc/modules.autoload.d/kernel-2.6 helps
but the question now is if it's normal behaviour or a bug
introduced with recent udev upgrade?

 Do you have Universal TUN/TAP device driver support (CONFIG_TUN)
 enabled in your kernel configuration? It should be a network device in
 your kernel configuration:
 
 Device Drivers --
   Networking support --
 Network device support --
   * Universal TUN/TAP device driver support
 
 You can also build it as a module, and it will be called tun.
 Hope that helps!

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user][SOLVED] /dev/net/tun doesn't exist

2005-07-06 Thread Alexander Kirillov
Yep. It's async and that's an expected udev behaviour.
I've been just lucky.
Those interested may search for udev is too slow creating devices
thread in linux kernel mailing list archives or google:)

 There now seems to be certain time lag between tun module is loaded
 and /dev/net/tun is created. So the script would die on the following lines:
 
 modprobe tun
 if [ ! -c /dev/net/tun ]; then
   echo /dev/net/tun doesn't exist
   exit
 fi
 
 Adding tun to /etc/modules.autoload.d/kernel-2.6 helps
 but the question now is if it's normal behaviour or a bug
 introduced with recent udev upgrade?
 
 
Do you have Universal TUN/TAP device driver support (CONFIG_TUN)
enabled in your kernel configuration? It should be a network device in
your kernel configuration:

Device Drivers --
  Networking support --
Network device support --
  * Universal TUN/TAP device driver support

You can also build it as a module, and it will be called tun.
Hope that helps!
 
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problem Booting

2005-05-16 Thread Alexander Kirillov
Try to install boot loader on the first HD.
Or read grub FAQ. IIRC there was something
about using grub with the second HD.
Sasha

 I have installed Gentoo to a dual had drive system
 
 /dev/hda1 -- Windows XP Professional
 
 /dev/sda -- Gentoo Install
 /dev/sda1 - /boot
 /dev/sda3 - /
 /dev/sda5 - /usr
 /dev/sda6 - /var
 /dev/sda7 - /tmp
 /dev/sda8 - /home
 
 grub.conf kernel line:
 root(hd1,0)
 kernel /kernel-2.6.11-gentoo-r8 root /dev/ram0 real_root=/dev/sda3 
 init=linuxrc vga=0x318 splash=verbose
 
 The liveCD boots and runs. 
 
 when I try to boot the system from grub to the gentoo selection I get 
 
 
Loading Modules...
Mounting Filesystems...
Activating udev
Determining Root device
 
 block device /dev/sda3 is not a valid root device...
 
 The SDA Device is a Maxtor SATA Drive, I think it's not loading ata_piix 
 which the live CD loads. Is this a module or built into the kernel?
 I did used genkernel to create my kernel.
 
 Please help
 
 Thanks.
 CR Little
 
 CONFIDENTIALITY NOTICE:
 
 This e-mail and any attachments are confidential. If you are not the intended 
 recipient, any further dissemination or use of this e-mail is prohibited. If 
 you have received this e-mail in error, please notify us immediately by 
 returning it to the sender. You should then delete all copies from your 
 system and destroy any hard copies you may have made. Thank you for your 
 cooperation.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] XML parsing errors editing Mozilla prefs

2005-05-13 Thread Alexander Kirillov
That was it.
Thanks Alin,
Sasha

 Reinstall mozilla, but this time make sure that you don't have any
 existing mozilla processes running while installing the new version.
 
 I have a problem with recently emerged Mozilla (1.7.7)
 Selecting Advanced or Scripts  Plug-ins in Edit-Preferences
 results in the following error messages in the right panel:
 
 XML Parsing Error: not well formed
 Location: chrome://communicator/content/pref/pref-advanced.xul
 Line Number 1, Column 1:
 
 XML Parsing Error: not well formed
 Location: chrome://communicator/content/pref/pref-scripts.xul
 Line Number 1, Column 1:

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Intel 82865 owners - do you have X-Video support?

2005-04-25 Thread Alexander Kirillov
The driver's still marked as experimental.
You have to enable development/incomplete drivers in kernel config first.
You'd probably need to add intel_agp to /etc/modules.autoload.d/kernel-2.6
later down the road.

As for the copy I was just in make menuconfig, copied the area I
 was interested in and pasted it into gmail. I had to edit a few
 extraneous characters and then the mail looked like what I sent. Not
 too difficult but the editing did take about 60 seconds or so to clean
 it up.
 
OK, I found it but I was tricked for a minute. Could you tell me
 what you are doing in terms of modules vs. built in? To get it to show
 up I had to choose:
 
 /dev/agpgart
 /dev/agpgart/Intel 440LX/BX/GX, I8XX  E7x05 chipset support 
 (I was not choosing that before)
 
 /dev/agpgart/Intel i865 chipset support
 (I was choosing this as it is an i865 chipset...)
 
 DRM 
 Intel 830M, 845G, 852GM, 855GM, 865G
 i915
 
Thanks for helping me find this. I didn't think the second line
 above (44LX) was required as I was choosing the i865!
 
OK, off to build the kernel as a first pass. If you could write
 back and let me know whether you choose everything as modules or build
 specific parts in I would appreciate it.

Hi Mark,
Sasha is short for Alexander.
I have all Intelrelated video drivers built as modules
and using vesafb for bootsplash consoles.
Hope this helps,
Sasha

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] usb adsl billion bipac-7000

2005-04-25 Thread Alexander Kirillov
Hi Kitti,
If there's a driver for your kernel the chances are you'll be able to build it.
If this doesn't work look for open source alternatives.
I only had 2.4 drivers on vendor's CD. Fortunately
eciadsl nortek drivers (not yet in portage) work well with my modem.

 billion driver can't install when i use make command. i think the driver
 support this kernel.
 but have something wrong the procedure install
 pls. addvice me

 Check http://www.billion.com/
 they seem to have linux drivers for their modems.

  Who ever install usb adsl billion bipac-7000. the liveCD can't detect
 this hardware. what about driver for it where i can get?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] MythTV (or possibly mysql) stopped working after a kernel rebuild

2005-04-25 Thread Alexander Kirillov
   I have since done this in the last hour. I had saved the kerenl
config this morning before finding the i915 driver. I went back to
that config, turned on i915 support, and rebooted, etc. I did that
before I wrote this message. however something has caused the system
tobe unhappy with either mythbackend or mysql. I'm still having
trouble though and I'm at a loss to figure out what's causing it.
 
 Is MySQL running?
 
 Run the usual mysql command and see if you can login.
 
 If MySQL is not running then do /etc/init.d/mysql start  rc-update add
 mysql default

Check MySQL logs also. Usually found in /var/log/mysql

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Intel 82865 owners - do you have X-Video support?

2005-04-24 Thread Alexander Kirillov
Try i915 driver. I have

:00:02.0 VGA compatible controller: Intel Corp. 82845G/GL[Brookdale-G]/GE 
Chipset Integrated
Graphics Device (rev 03)

with Xv and open GL working.
Good luck,
Sasha

 Does anyone out there use an Intel 82865G chipset with (apparently) a
 built in graphics controller? Have you managed to get X-Video support
 running? If so, how did you do it?
 
 What X driver are you running? I'm running the Intel 810 driver. It
 seemed the newest and works otherwise, but no X-Video support.
 
 [EMAIL PROTECTED] ~ $ /sbin/lspci
 SNIP
 :00:02.0 VGA compatible controller: Intel Corp. 82865G Integrated
 Graphics Device (rev 02)
 
 SNIP
 
 [EMAIL PROTECTED] ~ $ xvinfo
 X-Video Extension version 2.2
 screen #0
  no adaptors present
 [EMAIL PROTECTED] ~ $
 
 Running xorg-x11-6.8.2.
 
 Thanks,
 Mark
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] usb adsl billion bipac-7000

2005-04-24 Thread Alexander Kirillov
Check http://www.billion.com/
they seem to have linux drivers for their modems.
Best of luck,
Sasha

 Hi all,
   Who ever install usb adsl billion bipac-7000. the liveCD can't detect
 this hardware. what about driver for it where i can get?
 
 thanks,
 ti

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Vmware: Eject CD crashes VM

2005-04-10 Thread Alexander Kirillov
I've seen a lot of CD-related problems with vmware3.
Have you checked /var/lib/vmware/vmware.log?
If there's anything related to the problem
you may search for clues on vmware site or/and
play with CD drive settings in guest OS.
Cheers,
Sasha

 Has anybody else noticed this?  It just gives an 11 exception and dies
 with a core.  I checked the log and it gives a register dump, etc.

--
gentoo-user@gentoo.org mailing list