Re: [gentoo-user] Gentoo not detecting full amount of memory

2005-07-24 Thread Mark Shields
Ah, I wasn't aware, but that's a perfectly plausible explanation.

On 7/24/05, Daniel Drake [EMAIL PROTECTED] wrote:
 Hi,
 
 Mark Shields wrote:
  [EMAIL PROTECTED] ~ $ cat /proc/meminfo | grep Mem
  MemTotal:  1034284 kB
  MemFree:953172 kB
 
 
  Thanks for the tip.  But strangely, 12mb is still missing.
 
 That sounds perfectly normal. The kernel usually secures 10-20mb RAM for
 itself, which isn't available to the rest of the system.
 
 Daniel
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
- Mark Shields

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] X locale fonts

2005-07-24 Thread Martins Steinbergs
hi

i changed ISO-8859-1 to ISO-8859-13;
changed keymap from us to lv;
changed fonts ftom -1 to -13;

everything i got right in gdm login window, but in KDE wont show correct 
specific characters, what i am mising? should i reemerge glibc?

Martins
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help

2005-07-24 Thread Martins Steinbergs
i was wondering too ;)

corect is initramfs, not initramdisk, see my grub.conf entry

title Gentoo 11.12 - vanilla
root (hd1,2)
kernel /kernel-genkernel-x86_64-2.6.11.12 root=/dev/ram0 init=/linuxrc 
ramdisk=8192 real_root=/dev/hdb9 video=radeonfb:mtrr:ywrap vga=7 
splash=silent udev devfs=nomount
initrd /initramfs-genkernel-x86_64-2.6.11.12

On Monday 25 July 2005 02:31, Alex A. Smith MCP wrote:
 Hi,

 Have you made sure of the filenames of the init ram disk and the kernel?

 Only reason I say this is because the other day when I did a Stage 3
 Genkernel the files were named something completely different from what is
 in the handbook. (I think initrd was something along the lines of
 initramdisk-more text and the both included genkernel in the file name)

 I had myself wondering over that for a while :)

 hth

 Alex A. Smith

 p.s. im installing a gentoo 2.6.12-r6 Stage 3 genkernel atm so I'll let you
 know when its done if the above didn't help ya.

 -Original Message-
 From: C.Beamer [mailto:[EMAIL PROTECTED]
 Sent: 24 July 2005 18:24
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] Help

 Hi All,

 After getting side-tracked by a power outage in the middle of a Gentoo
 install a couple of weeks ago, I finally got back to doing a Gentoo
 install trial run.

 All seemed to go well.  When I rebooted I got the menu with the two
 selections listed (Gentoo and DOS).  The computer will boot into DOS
 okay, but I can't get it to boot into Gentoo.  Ergo, I think the grub
 install is fine, but I made an error in my grub.conf file.

 Since I'm only moderately savvy about editing configuration files, I
 relied on the examples in the Gentoo Handbook.

 Details are as follows:

 I have a dual boot system:

 hda1 is DOS
 hda2 is /boot
 hda3 is swap
 hda4 is my extended partition
 hda5 is /root

 The grub.conf file that I entered is as follows:

 default 0
 timeout 30

 splashimage=(hd0,1)/grub/splash.xpm.gz

 title=Genoo Linux 2.6.12-r6

 root (hda0, 1)
 kernel /kernel-2.6.12-gentoo-r6 root=/dev/ram0 init=linuxrc ramdisk=8192
 real_root=/dev/hda5 udev
 initrd /initrd-2.6.12-gentoo-r6

 title=DOS
 root (hda0,0)
 makeactive
 chainloader +1

 I put the initrd line in the grub.conf file even though when I ran the
 command

 'ls /boot/kernel* /boot/initrd*'

 as instructed in the Handbook, I got told that there was no initrdfile.

 Have I missed something or done something wrong?

 Is there a way to fix the grub.conf file?

 I tried selecting the Gentoo line from the menu and pressing 'e' to
 edit, but no matter what changes I made, I still get an error message
 when I try to boot into Gentoo that says:

 Error 15:  File not found

 This displays immediatedly after the line

 kernel /kernel-2.6.12-gentoo-r6 root=/dev/ram0 init=linuxrc ramdisk=8192
 real_root=/dev/hda5 udev

 Any assistance would be appreciated.  And please remember, I am not
 stupid, but I'm not a computer science grad.  I've been running Linux at
 home for about 3 years and dabbling with it for a couple of years before
 that, but I've always used Redhat or Fedora.  However, I'm finding that
 with each release of Fedora, more quirks appear.  Things that I was
 able to do with no problem in a previous release, I now can't do without
 letting some blood.  Hence, I wanted to try Gentoo because I can
 install the software from source using emerge.  This will be a learning
 curve for me, but I can conquer it - I have come a long way since a
 friend first mentioned Linux to me and I asked what it was!

 Anyway, the point of the previous paragraph is to ask that complete
 details be stated for any help that is provided.  And if you tell me
 that I screwed up royally and have to start all over, that's okay.
 That's what this exercise was for - to learn what I needed to know
 before installing Gentoo on a production system.

 BTW, I did a Stage 3 install.  Since it was my first time and I don't
 know anything about optimizations, I didn't want to get in over my
 head.  :-)

 Thanks in advance for any assistance.

 Respectfully,

 Colleen

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



Re: [gentoo-user] switching to LCD monitor

2005-07-24 Thread Walter Dnes
On Sun, Jul 24, 2005 at 01:36:44AM -0400, Philip Webb wrote
 050723 [EMAIL PROTECTED] wrote:
  LCD monitors are fixed-rate,
  so you have to buy one that has the resolution you like
  with CRT monitors where you buy the highest resolution
  and then display at a lower rate if you wish.
 
 Why would you want to display at lower resolution than the best
 available ?

  Internet TV, or videos are one reason.  Do you want an animated
postage stamp in one corner of your 1280x1024 display?  Software scaling
imposes a heavy load on the cpu, so hardware scaling is preferable.  As
I mentioned in a previous message, attempting to interpolate partial
pixels hurts image quality.  E.g. going from 1280x1024 to 1024x768 or
800x600 or 640x480 is bad.

  However, you can retain picture quality if you divide the resolution
cleanly by whole integers.  E.g. a 1280x1024 display should be just as
good at 640x512 or 320x256.  Similarly a 1600x1200 LCD would do OK at
800x600 or 400x300.  xrandr -q is your friend.

 SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
 ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
 TRANSIT`-O--O---'  University of Toronto

  Hello from Vaughan, The city above Torontog.

-- 
Walter Dnes [EMAIL PROTECTED]
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] He's baaaaaack!

2005-07-24 Thread maxim wexler
Hello everybody,

You may recall my tussle with an Sempron/Asus K8N-e
box: first it wouldn't boot but I fixed that and then
the entire unit died.

The tech at Asus suggested I *reverse* the CMOS
battery for a few seconds. I was skeptical but it
seems to have done the trick. 

However LBA remains 'off' for my Maxtor120G HD in the
POST even though it's listed as LBA-capable in the
BIOS and LBA is also set to 'auto' in the BIOS.

Also gentoo boots but not WinXP.

To recap: I moved all my boot stuff to a 200M HD,
mounted as Pri-Master. The Maxtor 120G(Pri-Slave) was
split nearly in two with WinXP on the first half,
gentoo on the 2nd.

When I try to boot WinXP I get:

rootnoverify (hd1,0)#2nd drive,first partition,right?
makeactive
chainloader +1

then the cursor advances a couple of lines and just
sits there blinking.

Does WinXP absolutely have to be the first partition
on the first drive? What if I made the 200M the slave
and re-did grub, could I still boot from it.

-mw




Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Name Resolution Problem

2005-07-24 Thread Russell Slater

I am relatively new to Gentoo and I am having a problem resolving localhost. I always get "unknown host localhost" I can connect to any other site such as www.yahoo.com but nothing else works. I have gone through the Gentoo Handbook several times and googled the issue but could not find a resolution. Please let me know what you files you might need to look at to troubleshoot the issue.
Thanks,
 Russ

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Name Resolution Problem

2005-07-24 Thread Zac Medico

Russell Slater wrote:
I am relatively new to Gentoo and I am having a problem resolving 
localhost. I always get unknown host localhost I can connect to any 
other site such as www.yahoo.com http://www.yahoo.com but nothing else 
works. I have gone through the Gentoo Handbook several times and googled 
the issue but could not find a resolution. Please let me know what you 
files you might need to look at to troubleshoot the issue.


Thanks,

 Russ



Normally localhost maps to 127.0.0.1 inside /etc/hosts (see the hosts(5) 
manpage).  This file basically allows you to override the normal DNS resolution 
process for specific host names.

Zac
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] He's baaaaaack!

2005-07-24 Thread Martins Steinbergs
had same problem, solved rebuilding mbr
check fdisk, if same problem (16 heads instead of 255 heads) this will help

http://www.mail-archive.com/gentoo-user%40lists.gentoo.org/msg07969.html

On Monday 25 July 2005 03:39, maxim wexler wrote:
 Hello everybody,

 You may recall my tussle with an Sempron/Asus K8N-e
 box: first it wouldn't boot but I fixed that and then
 the entire unit died.

 The tech at Asus suggested I *reverse* the CMOS
 battery for a few seconds. I was skeptical but it
 seems to have done the trick.

 However LBA remains 'off' for my Maxtor120G HD in the
 POST even though it's listed as LBA-capable in the
 BIOS and LBA is also set to 'auto' in the BIOS.

 Also gentoo boots but not WinXP.

 To recap: I moved all my boot stuff to a 200M HD,
 mounted as Pri-Master. The Maxtor 120G(Pri-Slave) was
 split nearly in two with WinXP on the first half,
 gentoo on the 2nd.

 When I try to boot WinXP I get:

 rootnoverify (hd1,0)#2nd drive,first partition,right?
 makeactive
 chainloader +1

 then the cursor advances a couple of lines and just
 sits there blinking.

 Does WinXP absolutely have to be the first partition
 on the first drive? What if I made the 200M the slave
 and re-did grub, could I still boot from it.

 -mw



 
 Start your day with Yahoo! - make it your home page
 http://www.yahoo.com/r/hs
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't emerge mozilla-firefox-1.0.6-r2

2005-07-24 Thread Holly Bostick
Patrick Börjesson schreef:
 On 05/07/23 18:37, Richard Fish wrote:
 
And it seems to me that if there is a bug, it might be a *documentation*
bug (because the other person who mentioned using march=k8 said that
that was the recommendation of the docs, but that seems to no longer be
the case, if people using this flag are regularly receiving compilation
errors).
  

Documentation bug? Not recommended by the docs any more? 
You might want to actually try to find information about the subjects
you respond to. 

Straight out of the AMD64 Gentoo Handbook:
AMD64 users who want to use a native 64 bit system should use
-march=k8
Combining that cite with the information from the gcc info page, I'm
pretty sure it's not a documentation bug. 




Hold on...the -march thing would be an easy mistake to make for those of 
us who don't run AMD processors, and are just trying to help.  Afterall, 
the platform keyword  is amd64.  And gcc info says that k8, opteron, 
athlon64, and athlon-fx are all equivalent, although I would suggest 
that the non-k8 options are more descriptive.
 
 
 Of course, but in this case it wasn't an oversight... The poster
 explicitly said that using march=k8 seemed to no longer be the
 recommendation of the docs. That implies at least _some_ looking into
 the subject before posting... 
 

If the poster being referred to is me, that wasn't what I meant to say,
or rather what I meant to be *understood*-- what I meant was that
apparently the Handbook recommends using the k8 flag, but people using
that flag seem (and I stress seem, as I don't follow this issue that
closely, naturally) to be running into problems, whereas those using the
amd64 flag are not (or at least not the same problems).

Now, I don't know the truth of the matter, but that would lead me to
suspect that there could be *outdated information in the Gentoo
documentation* (thus, a documentation bug), which, if those affected
can verify, should perhaps be submitted.

Sorry for the confusion.

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Name Resolution Problem

2005-07-24 Thread Russell Slater

The /etc/hosts file has the only the following entry in it:
127.0.0.1 localhost
I cannot get the system to reconize anything that I place in /etc/hosts. For some reason it does not appear that the /etc/hosts file is being processed. Is there a config file somewhere that specifies whether or not the hosts file gets processed? My system is setup for DHCP and resolv.conf gets overwritten every time the system is booted.
Any ideas?
 RussFrom: Zac Medico [EMAIL PROTECTED]Reply-To: gentoo-user@lists.gentoo.orgTo: gentoo-user@lists.gentoo.orgSubject: Re: [gentoo-user] Name Resolution ProblemDate: Sun, 24 Jul 2005 18:20:37 -0700Russell Slater wrote:I am relatively new to Gentoo and I am having a problem resolving localhost. I always get "unknown host localhost" I can connect to any other site such as www.yahoo.com http://www.yahoo.com but nothing else works. I have gone through the Gentoo Handbook several times and googled the issue but could not find a resolution. Please let me know what you files you might need to look at to troubleshoot the 
issue.Thanks,RussNormally localhost maps to 127.0.0.1 inside /etc/hosts (see the hosts(5) manpage).This file basically allows you to override the normal DNS resolution process for specific host names.Zac--gentoo-user@gentoo.org mailing list

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Name Resolution Problem

2005-07-24 Thread Nick Rout
 The /etc/hosts file has the only the following entry in it:
 127.0.0.1 localhost
 I cannot get the system to reconize anything that I place in /etc/hosts. For 
 some reason it does not appear that the /etc/hosts file is being processed. 
 Is there a config file somewhere that specifies whether or not the hosts file 
 gets processed? My system is setup for DHCP and resolv.conf gets overwritten 
 every time the system is booted.

Just check first that the lo interface is up? ifconfig will tell you.

also try

ping localhost
ping 127.0.0.1



-- 
Nick Rout

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Name Resolution Problem

2005-07-24 Thread Russell Slater

lo is up, verified with ifconfig. I can ping 127.0.0.1, however pinging localhost results in "ping: unknown host localhost". I get the same result with anything else that I add to the hosts file.
Thanks,
 RussFrom: Nick Rout [EMAIL PROTECTED]Reply-To: gentoo-user@lists.gentoo.orgTo: gentoo-user@lists.gentoo.orgSubject: Re: [gentoo-user] Name Resolution ProblemDate: Mon, 25 Jul 2005 15:14:45 +1200  The /etc/hosts file has the only the following entry in it:  127.0.0.1 localhost  I cannot get the system to reconize anything that I place in /etc/hosts. For some reason it does not appear that the /etc/hosts file is being processed. Is there a config file somewhere that specifies whether or not the hosts file gets processed? My system is setup for DHCP and resolv.conf gets overwritten every time the system is booted.Just check first that the lo interface is up? ifconfig will tell you.also 
tryping localhostping 127.0.0.1--Nick Rout--gentoo-user@gentoo.org mailing list

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Name Resolution Problem

2005-07-24 Thread W.Kenworthy
check 'man dhcpcd' to check the arguments to pass to it
(via /etc/conf.d/net) to prevent it overwriting local config files
like /etc/resolv.conf. 

Are you using a local bind server? recent updates to localhost
processing in a recent gentoo update did the same for me with clients on
other machines (principly firefox, but sometimes other apps).
eventually I overwrote the gentoo supplied localhost and 127.zone config
files with my own and now its all sweet.  I dont know why browsers
seem to ignore /etc/hosts, but firefox, mozilla and I think IE all do.

My /etc/nsswitch setting is files DNS which should make apps
check /etc/hosts first.

BillK


On Sun, 2005-07-24 at 23:09 -0400, Russell Slater wrote:
 The /etc/hosts file has the only the following entry in it:
 
 127.0.0.1 localhost
 
 I cannot get the system to reconize anything that I place
 in /etc/hosts. For some reason it does not appear that the /etc/hosts
 file is being processed. Is there a config file somewhere that
 specifies whether or not the hosts file gets processed? My system is
 setup for DHCP and resolv.conf gets overwritten every time the system
 is booted.
 
 
 Any ideas?
 
  Russ
...
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Name Resolution Problem

2005-07-24 Thread Nick Rout
 lo is up, verified with ifconfig. I can ping 127.0.0.1, however pinging 
 localhost results in ping: unknown host localhost. I get the same result 
 with anything else that I add to the hosts file.
 Thanks,
  Russ

I would try strace now to see if /etc/hosts is being opened:

strace -e open ping localhost

(if that generates too much lok at man strace, there is an option to
save to a file - redirection does not work IIRC.)
-- 
Nick Rout

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Firefox 1.0.6-r2 emerge error

2005-07-24 Thread Adrian
Greetings all.  I am trying to emerge Firefox 1.0.6-r2

Here are my outputs.  If anyone can advise me I would be amazingly
grateful.  Thank you in advance.  I'm trying to make something out of
this message (no programmer am I) does my problem have something to do
with freetype?

Thank you all
Skippy


 pretending the emerge 

Sun Jul 24 19:01:17
/home/skippi
 root $  emerge -pv mozilla-firefox

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild U ] www-client/mozilla-firefox-1.0.6-r2 [1.0.4] -debug
+gnome +ipv6 +java -mozcalendar -mozdevelop -moznoxft -mozsvg +truetype
-xinerama -xprint 0 kB


*  attempt to emerge *

i686-pc-linux-gnu-g++ -o nsDeviceContextGTK.o -c -DNATIVE_THEME_SUPPORT
-DOSTYPE=\Linux2.6\ -DOSARCH=\Linux\ -DUSE_POSTSCRIPT -I../.. -I./.
-I./.. -I./../shared -I./../freetype -I./../x11shared
-I/usr/X11R6/include -I/usr/include/freetype2   
-I../../../dist/include/xpcom -I../../../dist/include/string
-I../../../dist/include/widget -I../../../dist/include/view
-I../../../dist/include/util -I../../../dist/include/pref
-I../../../dist/include/uconv -I../../../dist/include/unicharutil
-I../../../dist/include/locale -I../../../dist/include/necko
-I../../../dist/include/content -I../../../dist/include/dom
-I../../../dist/include/layout -I../../../dist/include/imglib2
-I../../../dist/include/gfx -I../../../dist/include
-I/var/tmp/portage/mozilla-firefox-1.0.6-r2/work/mozilla/dist/include/n
spr   -I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include -fno-rtti
-fno-handle-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
-Wno-non-virtual-dtor -Wno-long-long -march=pentium4 -pipe
-Wno-deprecated -Wno-return-type -w -fshort-wchar -pthread -pipe 
-DNDEBUG -DTRIMMED -ffunction-sections -O2  -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   
-I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h
-Wp,-MD,.deps/nsDeviceContextGTK.pp nsDeviceContextGTK.cpp In file
included from /usr/X11R6/include/X11/Xft/Xft.h:35, from
nsDeviceContextGTK.cpp:78:
/usr/include/freetype2/freetype/freetype.h:20:2: #error `ft2build.h'
hasn't been included yet!
/usr/include/freetype2/freetype/freetype.h:21:2: #error Please always
use macros to include FreeType header files.
/usr/include/freetype2/freetype/freetype.h:22:2: #error Example:
/usr/include/freetype2/freetype/freetype.h:23:2: #error   #include
ft2build.h /usr/include/freetype2/freetype/freetype.h:24:2: #error  
#include FT_FREETYPE_H gmake[4]: *** [nsDeviceContextGTK.o] Error 1
gmake[4]: Leaving directory
`/var/tmp/portage/mozilla-firefox-1.0.6-r2/work/mozilla/gfx/src/gtk'
gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory
`/var/tmp/portage/mozilla-firefox-1.0.6-r2/work/mozilla/gfx/src'
gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory
`/var/tmp/portage/mozilla-firefox-1.0.6-r2/work/mozilla/gfx' gmake[1]:
*** [tier_9] Error 2 gmake[1]: Leaving directory
`/var/tmp/portage/mozilla-firefox-1.0.6-r2/work/mozilla' make: ***
[default] Error 2

!!! ERROR: www-client/mozilla-firefox-1.0.6-r2 failed.
!!! Function src_compile, Line 159, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status
message.


 system info 

Sun Jul 24 20:38:32
~
 skippi $  emerge --info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5,
glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r1 i686)
= System
uname: 2.6.9-gentoo-r1 i686 Intel(R) Celeron(R) CPU 2.40GHz Gentoo Base
System version 1.4.16 dev-lang/python: 2.2.3-r1, 2.3.5
sys-apps/sandbox:1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.19-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS=x86
AUTOCLEAN=yes
CBUILD=i686-pc-linux-gnu
CFLAGS=-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control
CONFIG_PROTECT_MASK=/etc/gconf /etc/terminfo /etc/env.d CXXFLAGS=-O3
-march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe
DISTDIR=/usr/portage/distfiles FEATURES=autoconfig distlocks sandbox
sfperms strict GENTOO_MIRRORS=ftp://ftp.ussg.iu.edu/pub/linux/gentoo
http://gentoo.om.com ftp://gentoo.om.com
http://gentoo.osuosl.org/ http://mirror.datapipe.net/gentoo;
PKGDIR=/distfiles/packages PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=x86 X alsa apm arts avi 

Re: [gentoo-user] Name Resolution Problem

2005-07-24 Thread Russell Slater

Thanks Nick! strace showed that /etc/hosts was not being opened, but it showed that nsswitch.conf was being opened but did not exist, so I created a nsswitch.conf file with the following line:
hosts: files dns
Now everything works.
Thank you,
 RussFrom: Nick Rout [EMAIL PROTECTED]Reply-To: gentoo-user@lists.gentoo.orgTo: gentoo-user@lists.gentoo.orgSubject: Re: [gentoo-user] Name Resolution ProblemDate: Mon, 25 Jul 2005 15:38:12 +1200  lo is up, verified with ifconfig. I can ping 127.0.0.1, however pinging localhost results in "ping: unknown host localhost". I get the same result with anything else that I add to the hosts file.  Thanks, RussI would try strace now to see if /etc/hosts is being opened:strace -e open ping localhost(if that generates too much lok at man strace, there is an option tosave to a file - redirection does not work IIRC.)--Nick Rout--gentoo-user@gentoo.org mailing list

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Firefox 1.0.6-r2 emerge error

2005-07-24 Thread Rumen Yotov
Adrian wrote:

Greetings all.  I am trying to emerge Firefox 1.0.6-r2

Here are my outputs.  If anyone can advise me I would be amazingly
grateful.  Thank you in advance.  I'm trying to make something out of
this message (no programmer am I) does my problem have something to do
with freetype?

Thank you all
Skippy


 pretending the emerge 

Sun Jul 24 19:01:17
/home/skippi
 root $  emerge -pv mozilla-firefox

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild U ] www-client/mozilla-firefox-1.0.6-r2 [1.0.4] -debug
+gnome +ipv6 +java -mozcalendar -mozdevelop -moznoxft -mozsvg +truetype
-xinerama -xprint 0 kB


*  attempt to emerge *

i686-pc-linux-gnu-g++ -o nsDeviceContextGTK.o -c -DNATIVE_THEME_SUPPORT
-DOSTYPE=\Linux2.6\ -DOSARCH=\Linux\ -DUSE_POSTSCRIPT -I../.. -I./.
-I./.. -I./../shared -I./../freetype -I./../x11shared
-I/usr/X11R6/include -I/usr/include/freetype2   
-I../../../dist/include/xpcom -I../../../dist/include/string
-I../../../dist/include/widget -I../../../dist/include/view
-I../../../dist/include/util -I../../../dist/include/pref
-I../../../dist/include/uconv -I../../../dist/include/unicharutil
-I../../../dist/include/locale -I../../../dist/include/necko
-I../../../dist/include/content -I../../../dist/include/dom
-I../../../dist/include/layout -I../../../dist/include/imglib2
-I../../../dist/include/gfx -I../../../dist/include
-I/var/tmp/portage/mozilla-firefox-1.0.6-r2/work/mozilla/dist/include/n
spr   -I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include -fno-rtti
-fno-handle-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
-Wno-non-virtual-dtor -Wno-long-long -march=pentium4 -pipe
-Wno-deprecated -Wno-return-type -w -fshort-wchar -pthread -pipe 
-DNDEBUG -DTRIMMED -ffunction-sections -O2  -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   
-I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h
-Wp,-MD,.deps/nsDeviceContextGTK.pp nsDeviceContextGTK.cpp In file
included from /usr/X11R6/include/X11/Xft/Xft.h:35, from
nsDeviceContextGTK.cpp:78:
/usr/include/freetype2/freetype/freetype.h:20:2: #error `ft2build.h'
hasn't been included yet!
/usr/include/freetype2/freetype/freetype.h:21:2: #error Please always
use macros to include FreeType header files.
/usr/include/freetype2/freetype/freetype.h:22:2: #error Example:
/usr/include/freetype2/freetype/freetype.h:23:2: #error   #include
ft2build.h /usr/include/freetype2/freetype/freetype.h:24:2: #error  
#include FT_FREETYPE_H gmake[4]: *** [nsDeviceContextGTK.o] Error 1
gmake[4]: Leaving directory
`/var/tmp/portage/mozilla-firefox-1.0.6-r2/work/mozilla/gfx/src/gtk'
gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory
`/var/tmp/portage/mozilla-firefox-1.0.6-r2/work/mozilla/gfx/src'
gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory
`/var/tmp/portage/mozilla-firefox-1.0.6-r2/work/mozilla/gfx' gmake[1]:
*** [tier_9] Error 2 gmake[1]: Leaving directory
`/var/tmp/portage/mozilla-firefox-1.0.6-r2/work/mozilla' make: ***
[default] Error 2

!!! ERROR: www-client/mozilla-firefox-1.0.6-r2 failed.
!!! Function src_compile, Line 159, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status
message.


 system info 

Sun Jul 24 20:38:32
~
 skippi $  emerge --info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5,
glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r1 i686)
= System
uname: 2.6.9-gentoo-r1 i686 Intel(R) Celeron(R) CPU 2.40GHz Gentoo Base
System version 1.4.16 dev-lang/python: 2.2.3-r1, 2.3.5
sys-apps/sandbox:1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.19-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS=x86
AUTOCLEAN=yes
CBUILD=i686-pc-linux-gnu
CFLAGS=-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control
CONFIG_PROTECT_MASK=/etc/gconf /etc/terminfo /etc/env.d CXXFLAGS=-O3
-march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe
DISTDIR=/usr/portage/distfiles FEATURES=autoconfig distlocks sandbox
sfperms strict GENTOO_MIRRORS=ftp://ftp.ussg.iu.edu/pub/linux/gentoo
http://gentoo.om.com ftp://gentoo.om.com
http://gentoo.osuosl.org/ http://mirror.datapipe.net/gentoo;
PKGDIR=/distfiles/packages PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=x86 X alsa 

Re: [gentoo-user] Name Resolution Problem

2005-07-24 Thread W.Kenworthy
nsswitch.conf has a number of other entries in it which if missing may
give rise to similar weird problems like this.  You might like to
extract it from sys-libs/glibc (the owner on my system) and replace it
with the full file.

BillK


On Sun, 2005-07-24 at 23:59 -0400, Russell Slater wrote:
 Thanks Nick! strace showed that /etc/hosts was not being opened, but
 it showed that nsswitch.conf was being opened but did not exist, so I
 created a nsswitch.conf file with the following line:
 
 hosts:   files dns
 
 Now everything works.
 
 Thank you,
 
  Russ
 
 
 
 
 
 
 From: Nick Rout [EMAIL PROTECTED]
 Reply-To: gentoo-user@lists.gentoo.org
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Name Resolution Problem
 Date: Mon, 25 Jul 2005 15:38:12 +1200
 
   lo is up, verified with ifconfig. I can ping 127.0.0.1, however
 pinging localhost results in ping: unknown host localhost. I get the
 same result with anything else that I add to the hosts file.
   Thanks,
Russ
 
 I would try strace now to see if /etc/hosts is being opened:
 
 strace -e open ping localhost
 
 (if that generates too much lok at man strace, there is an option to
 save to a file - redirection does not work IIRC.)
 --
 Nick Rout
 
 --
 gentoo-user@gentoo.org mailing list
 
 
 -- gentoo-user@gentoo.org mailing list

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 6x13 font for gnome-terminal

2005-07-24 Thread A. Khattri
On Fri, 22 Jul 2005, Allan Gottlieb wrote:

 All my screens are 1600x1200 pixels.

 Several are reasonably large (~20 inch) lcds and I use what emacs
 calls a 6x13 font.  Its real name is
 -Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1

 This permits 3 side by side windows (frames in emacs) of 81 columns.

 I have tried every fixed-width frame I found in the list given for
 gnome-terminal and cannot find one this size.

 Is there some way I can tell gnome-terminal to use
 -Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1
 or, even better, tell gnome to make this font available on the menus?

Maybe you can set that in your ~/.Xdefaults file?


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] He's baaaaaack!

2005-07-24 Thread maxim wexler


--- Martins Steinbergs [EMAIL PROTECTED] wrote:

 had same problem, solved rebuilding mbr
 check fdisk, if same problem (16 heads instead of
 255 heads) this will help
 

http://www.mail-archive.com/gentoo-user%40lists.gentoo.org/msg07969.html
 

hmm, yes it *is* 16 heads. But before I try this thing
can you recall trying to boot WinXP after running
(win95)fdisk /mbr? In my case the boot.ini file on the
c:\ drive actually opens giving me a choice of WinXP
and the Recovery Console but clicking one or the other
just leads to a blank screen. Seems if I can reach
boot.ini all should be OK windows-wise.

-mw




Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Name Resolution Problem

2005-07-24 Thread Russell Slater

No idea why the file wasn't there. I certainly didn't delete it becauseI never even knew it was there.
RussFrom: Zac Medico [EMAIL PROTECTED]Reply-To: gentoo-user@lists.gentoo.orgTo: gentoo-user@lists.gentoo.orgSubject: Re: [gentoo-user] Name Resolution ProblemDate: Sun, 24 Jul 2005 21:29:09 -0700Do you know what may have removed that file?If you have gentoolkit installed then you can do "equery check glibc" to see if any other files are missing.ZacW.Kenworthy wrote:nsswitch.conf has a number of other entries in it which if missing maygive rise to similar weird problems like this.You might like toextract it from sys-libs/glibc (the owner on my system) and replace itwith the full file.BillKOn Sun, 
2005-07-24 at 23:59 -0400, Russell Slater wrote:Thanks Nick! strace showed that /etc/hosts was not being opened, butit showed that nsswitch.conf was being opened but did not exist, so Icreated a nsswitch.conf file with the following line:hosts: files dnsNow everything works.Thank you, Russ--gentoo-user@gentoo.org mailing list

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] He's baaaaaack!

2005-07-24 Thread Martins Steinbergs
On Monday 25 July 2005 07:35, maxim wexler wrote:
 --- Martins Steinbergs [EMAIL PROTECTED] wrote:
  had same problem, solved rebuilding mbr
  check fdisk, if same problem (16 heads instead of
  255 heads) this will help

 http://www.mail-archive.com/gentoo-user%40lists.gentoo.org/msg07969.html


 hmm, yes it *is* 16 heads. But before I try this thing
 can you recall trying to boot WinXP after running
 (win95)fdisk /mbr? In my case the boot.ini file on the
 c:\ drive actually opens giving me a choice of WinXP
 and the Recovery Console but clicking one or the other
 just leads to a blank screen. Seems if I can reach
 boot.ini all should be OK windows-wise.

 -mw


there were no succesful winxp boot, because bios didnt enable LBA seting. i 
dont think (win95)fdisk wil work with linux partitions.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] MySQL Run Script Weirdness

2005-07-24 Thread A. Khattri
On Sat, 23 Jul 2005, Patrick Rutkowski wrote:

 Nope, same old stuff:

 localhost ~ # /etc/init.d/mysql start
  * Starting mysqld (/etc/mysql/my.cnf) ...
  * MySQL NOT started, proceding anyway
 [ !! ]
 localhost ~ # /etc/init.d/mysql zap
 localhost ~ # /etc/init.d/mysql start
  * Starting mysqld (/etc/mysql/my.cnf) ...
 [ !! ]
 localhost ~ # /etc/init.d/mysql stop
  * ERROR:  mysql has not yet been started.
 localhost ~ #

You could try rebuilding mysql - that missing symbol error message may
have been a clue...


-- 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Is there a 'widget' Konfabulator emulator for X-windows?

2005-07-24 Thread Daevid Vincent
I just got hip to these little applet thingys called widgets. Mac OS-X
started them, but in some divine miracle, Konfabulator is also a Windows XP
program too. There like a thousand of these little widget/applet things --
all free -- that do all kinds of amazing things from the obligatory
calculators, clocks, RSS feeds, etc, but even more advanced stuff, I have
one that controls my TiVo! 

http://www.widgetgallery.com/

It looks like they are just basically a javascript language and a way to run
them on the desktop. 

I did some google searching for widget and linux but can't find anything
aside from (G)Tk stuff.

This would be a fantastic project for someone with more X-windows/KDE/Gnome
skills than me to tackle. Then all those fancy OS-X/XP widgets would just
work too! How great is that?!



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] He's baaaaaack!

2005-07-24 Thread Richard Fish

maxim wexler wrote:


--- Martins Steinbergs [EMAIL PROTECTED] wrote:

 


had same problem, solved rebuilding mbr
check fdisk, if same problem (16 heads instead of
255 heads) this will help


   


http://www.mail-archive.com/gentoo-user%40lists.gentoo.org/msg07969.html
 



hmm, yes it *is* 16 heads. But before I try this thing
can you recall trying to boot WinXP after running
(win95)fdisk /mbr? In my case the boot.ini file on the
c:\ drive actually opens giving me a choice of WinXP
and the Recovery Console but clicking one or the other
just leads to a blank screen. Seems if I can reach
boot.ini all should be OK windows-wise.

 



Did you fix the disk references in boot.ini?  For example, my boot.ini:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=Microsoft Windows XP 
Professional /fastdetect /NoExecute=OptIn


I am pretty sure that those disk(0) options need to be changed to 
disk(1).  Although, I don't actually know what the rdisk(0) means, so 
you may need to play with both.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] lost /lib/security/pam_console.so

2005-07-24 Thread George Roberts

Richard Fish wrote:


George Roberts wrote:


Richard Fish wrote:


Peter Gordon wrote:


Try setting the pam_console USE flag and re-emerging pam:
# echo sys-libs/pam  pam_console  /etc/portage/package.use
# emerge sys-libs/pam

Although, it's rather odd that you are unable to login. I do not have
pam_console either but I can still login through gdm just fine (with a
similar warning in my system log).
 



If /etc/pam.d/gdm specifies pam_console, then this is why it is 
required.  George, can you post the contents of that file?


-Richard

I just downgraded my baselib and pam after I found a simular issue in 
the forums.  But gdm still not working.
I don't have the time to check the logs (yuck work) this morning, 
will check them tonight.

Here is my currant /etc/pam.d/gdm
#%PAM-1.0
auth   optionalpam_env.so
auth   includesystem-auth
auth   requiredpam_nologin.so
accountincludesystem-auth
password   includesystem-auth
sessionincludesystem-auth



Ok, so we include system-auth.  Then we also need to look at 
/etc/pam.d/system-auth.


Also, what you have is the version of the pam config file from 
gdm-2.6.0.9-r3 (the ~x86 version).  Earlier (non ~x86) versions use a 
different gdm configuration for pam:


#%PAM-1.0
auth   required /lib/security/pam_env.so
auth   required /lib/security/pam_stack.so service=system-auth
auth   required /lib/security/pam_nologin.so
accountrequired /lib/security/pam_stack.so service=system-auth
password   required /lib/security/pam_stack.so service=system-auth
sessionrequired /lib/security/pam_stack.so service=system-auth
sessionoptional /lib/security/pam_console.so

As you can see, pam_console.so is referenced directly here.  Can you 
confirm that you still get the error about pam_console.so with -r3, or 
only with earlier versions of gdm?


-Richard


Latest update.
After adding/removing use flags, downgrading/upgrading packages (not to 
mention some firefox/thunderbird upgrades thrown in for flavor) based on 
information I stumbled across in the forums, gdm is now half working.  I 
can login as root but not as the user.  As to which piece of of the 
process actually fixed the problem I don't truly know.
The process of fixing the currant problem brings to mind questions that 
are better not addressed in this thread, so I will be opening a new 
thread. 
Thanks for the help that you each have offered.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] He's baaaaaack!

2005-07-24 Thread maxim wexler
 
 there were no succesful winxp boot, because bios
 didnt enable LBA seting. i 
 dont think (win95)fdisk wil work with linux
 partitions.

Right, but booting a win95/98 CD and running fdisk
/mbr from the DOS prompt will usually restore a WinXP
boot sector. What's so bizarre in this case is that it
should only partially restore(so it seems)
bootability. Can you or anyone explain what this
16/255 controversy has to do with it? True, LBA is
'off', but WinXP starts at the beginning of /dev/hdb
and *doesn't* boot, whereas gentoo starts at the 60G
point and it *does* boot. Also FWIW all WinXP files
are readable from gentoo once it's up.

Even when I eliminate the first drive, the 200M drive
where grub resides, and install the 120G HD as
pri-master and try to boot, boot.ini opens up giving
me the choices of WinXP and Recovery Console as I said
before; only problem: neither goes anywhere, just
hangs. 

-mw

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



<    1   2