Re: [gentoo-user] udev recent genkernel + gentoo-sources

2005-07-14 Thread Richard Fish
Dmitry S. Makovey wrote:

finally I've got to optimum (in my opinion) combination:

title  Gentoo linux (update)
 root (hd0,0)
 kernel /kernel-genkernel-x86-2.6.12-gentoo-r4 real_root=/dev/hda11 
video=vesafb:[EMAIL PROTECTED] splash=verbose

  


You should also change real_root= to just root=.

But I've got new problem - for some reason KDE (3.4.1) now hangs after 
login doing initialize peripherals or something like that... and it 
happens only when I switch to 2.6.12, weird... anybody seen symptoms 
like that? First time since I've switched to 2.6.x kernels I've got 
so many issues with simple kernel upgrade, is there something going 
on I should be aware of?
  


Have not seen this.  Might be related to DBUS or HAL support though.  Do
you get anything odd in ~/.xsession-errors?  FYI, some scary looking
messages in that file are completely normal!

Also, on this list it is the standard to reply only to the list, and not
to CC someone privately, unless specifically requested to do so.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't mount a fat32 partition

2005-07-14 Thread Mariusz Pękala
On 2005-07-13 23:29:56 + (Wed, Jul), aabb wrote:
 I use 2 partitions for Windows 98, hda1 and hda5. I set both up as type
 c (fat32 LBA) during my gentoo installation, using fdisk. The entries
 in /etc/fstab are almost identical:
 
 /dev/hda1/mnt/win_cvfatumask=0,noexec  0 0
 /dev/hda5/mnt/win_dvfatumask=0,noexec  0 0
 
 Yet hda1 mounts with no problems, whereas hda5 doesn't. If I execute
 mount /mnt/win_d I get the error:
 
 mount: wrong fs type, bad option, bad superblock on /dev/hda5,
or too many mounted file systems
 
 I tried various combinations (such as mount -t vfat /dev/hda5
 /mnt/win_d) and always get the same error. The only differences between
 the 2 partitions that I can think of are:
 

Check any messages in dmesg output and your syslog file
(/var/log/messages or /var/log/everything/current) after you try to
mount /dev/hda5.

Usually the winner is the lack of necessary encoding in kernel:
File Systems - Native Language Support - ...

I assume that /dev/hda5 _HAS_ proper FAT filesystem on it.. ;-)

HTH

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgp0rm0SW0ZXJ.pgp
Description: PGP signature


Re: [gentoo-user] udev recent genkernel + gentoo-sources

2005-07-14 Thread Ow Mun Heng
On Thu, 2005-07-14 at 08:03 +0200, Richard Fish wrote:
 Dmitry S. Makovey wrote:

 happens only when I switch to 2.6.12, weird... anybody seen symptoms 
 like that? First time since I've switched to 2.6.x kernels I've got 
 so many issues with simple kernel upgrade, is there something going 
 on I should be aware of?

I've had this too. After switching over to 2.6.12 kernels, fbsplash
doesn't work anymore and I don't even get my Tux on bootup :-(



-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 14:12:35 up 1 day, 1:37, 5 users, load average: 1.13, 0.83,
0.78 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Hanging out with fbsplash

2005-07-14 Thread Richard Fish
Zac Medico wrote:

That sounds nice.  Do you use busybox for the root-on-loop-AES setup?  What is 
better about initramfs?  Do you have to compile the cpio archive into the 
kernel or is it just as good when you load it like an initrd?  I'm looking 
forward to the howto ;-).

  


Well, I don't use busybox.  The main problem using an initrd with
loop-AES is that the memory used by the initrd can never be freed (I
think it can be swapped out though), and thus the reason you want to use
something small like busybox/dietlibc/klibc.  In my case, to make my
initrd small, I ended up using /bin and /lib directories on the /boot
partition to contain the majority of the programs needed by the /linuxrc
script.

But with an initramfs, you don't care as much about the memory problem,
because almost every byte of that can be reclaimed simply by rm -rf'ing
all of the files in the initramfs once you have the root filesystem
mounted and you have pivoted to it.

Thus the reason I don't use busybox...having a 10MB uncompressed
initramfs is not a problem.  I can have bash, glibc, and a bunch of
other regular utilities available before the root is mounted, and when I
am done with them, I simply delete the files and umount -n -l the
initramfs.

Oh, and it works either way, but I have a slight preference for
compiling the cpio into the kernel.  It keeps the init environment and
the kernel inexorably linked, and also lets me dump all ramdisk support
from my kernel config.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't mount a fat32 partition

2005-07-14 Thread Richard Fish
aabb wrote:

Thanks for all replies so far.

  

What's the output of fdisk -l /dev/hda?
 



Output from fdisk -l /dev/hda:

Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/hda1   *   1179414410273+   c  W95 FAT32 (LBA)
/dev/hda217951800   48195   83  Linux
/dev/hda31801   19457   141829852+   5  Extended
/dev/hda51801420019277968+   c  W95 FAT32 (LBA)
/dev/hda64201710023294218+  83  Linux
/dev/hda771017190  722893+  82  Linux swap / Solaris
/dev/hda87191   1945798534646   83  Linux

  


Maybe it isn't really a FAT32 filesystem?

Could you try something like: strings /dev/hda5  | less

With a FAT32 filesystem, I get:

mkdosfs
BRJF_KEYFAT32
This is not a bootable disk.  Please insert a bootable floppy and
press any key to try again ...
RRaA
rrAa{
mkdosfs
BRJF_KEYFAT32
This is not a bootable disk.  Please insert a bootable floppy and
press any key to try again ...
list of short filenames on system...

Obviously I formatted the above with mkdosfs, but you can see the label
(RJF_KEY) and type as well.

By comparison, on NTFS, I get:

374 t+a`j
454 Invalid partition table
504 Error loading operating system
543 Missing operating system
0077003 NTFS
...

HTH

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



Re: [gentoo-user] strange /init kernel-2.6.12-gentoo-r5 boot problems

2005-07-14 Thread Richard Fish
Iain Buchanan wrote:

-install: applet not found
/init: 41: In: not found
/init: 45: cat: not found
/init: 150: sed: not found
  


Apparently it is a problem with busybox configuration:

From another thread on this list less than 12 hours old:

Zac Medico wrote:

It's not as bad as it looks.  I had the same problem.  You simply need to 
enable CONFIG_FEATURE_INSTALLER in the busybox config.  Then you can do 
busybox --install and it automatically creates hardlinks for all the enabled 
applets.

Zac


HTH,

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [tight/real]vnc and ctrl-alt-del

2005-07-14 Thread Ow Mun Heng
I noticed that in the windows version of tightvnc, there is an option to
send ctrl-alt-del to window boxes. In the linux version, there is not
such capability.

Or am I wrong?


-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 17:02:56 up 1 day, 4:28, 8 users, load average: 1.80, 1.56,
1.37 


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] problems with udev

2005-07-14 Thread renna
hi to all
i'm having some problems, with, i think, the permissions 
of /dev/null /dev/console and /dev/zero. every time i boot they're set up to 
660, like this

crw-rw  1 renna root 5, 1 Jul 13 17:04 /dev/console
crw-rw  1 root  root 1, 3 Apr  9 06:31 /dev/null
crw-rw  1 root  root 1, 5 Apr  9 06:31 /dev/zero

so when i login as a normal user, i get
/dev/null: Permission denied

and i have to
chmod 666 /dev/null

to be able to login in kde

furthermore, in kde, when i launch konsole, the window of konsole shows up, 
but there's only the cursor blinking, and i cannot enter commands - i have to 
ctrl+alt+fn to a terminal
and allways in kde, when i launch a program that requires root's password, as 
kuser, i get a window with this message

The program 'su' is not found;
make sure your PATH is set correctly.

though su, which is perfectly working in a terminal, is in /bin which IS in my 
PATH

i really don't know if these problems in kde are correlated with the 
permissions in dev, but on google i found many persons having problems with 
udev and having more or less the same problems (though i couldn't find a 
solution to my case). i tried, as explained on 
http://www.gentoo.org/doc/en/udev-guide.xml#doc_chap3
to mknod new null and console in /dev, but when i boot the permissions are 
again set to 660. 
does somebody have an idea of what i should do? if there's some information i 
lacked to give please ask
thanks
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [tight/real]vnc and ctrl-alt-del

2005-07-14 Thread W.Kenworthy
yes there is, I think its right click in vncviewer for the menu, or
shiftF8 to get the menu.  Going from memory but this should point you
in the right direction.

BillK

On Thu, 2005-07-14 at 17:03 +0800, Ow Mun Heng wrote:
 I noticed that in the windows version of tightvnc, there is an option to
 send ctrl-alt-del to window boxes. In the linux version, there is not
 such capability.
 
 Or am I wrong?
 
 
 -- 
 Ow Mun Heng
 Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
 98% Microsoft(tm) Free!! 
 Neuromancer 17:02:56 up 1 day, 4:28, 8 users, load average: 1.80, 1.56,
 1.37 
 
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't login using KDM

2005-07-14 Thread Sean Higgins

Hello Daniel,

 Just to clarify, this is a problem with all 2.6.12 releases (not just
 -gentoo-r4)

Thanks for the information.  I only became aware of the issue when -gentoo-r4 
became stable.

 Sean


-- 
Sean Higgins, [EMAIL PROTECTED]
http://www.systura.com - Where information becomes knowledge.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] problems with udev

2005-07-14 Thread Sean Higgins

Try checking a file called /etc/udev/permissions.d/50-udev.permissions, this 
file sets the permissions of devices during boot.  My line in that file is:

null:root:root:0666

which sets the permissions to 0666 which is what you expect.

I had problems with some other devices, like misc/nvram, and had to make 
modifications to the file.

  Sean

On Thursday 14 July 2005 05:07 am, renna wrote:
 hi to all
 i'm having some problems, with, i think, the permissions
 of /dev/null /dev/console and /dev/zero. every time i boot they're set up
 to 660, like this

 crw-rw  1 renna root 5, 1 Jul 13 17:04 /dev/console
 crw-rw  1 root  root 1, 3 Apr  9 06:31 /dev/null
 crw-rw  1 root  root 1, 5 Apr  9 06:31 /dev/zero

 so when i login as a normal user, i get
 /dev/null: Permission denied

 and i have to
 chmod 666 /dev/null

 to be able to login in kde

 furthermore, in kde, when i launch konsole, the window of konsole shows up,
 but there's only the cursor blinking, and i cannot enter commands - i have
 to ctrl+alt+fn to a terminal
 and allways in kde, when i launch a program that requires root's password,
 as kuser, i get a window with this message

 The program 'su' is not found;
 make sure your PATH is set correctly.

 though su, which is perfectly working in a terminal, is in /bin which IS in
 my PATH

 i really don't know if these problems in kde are correlated with the
 permissions in dev, but on google i found many persons having problems with
 udev and having more or less the same problems (though i couldn't find a
 solution to my case). i tried, as explained on
 http://www.gentoo.org/doc/en/udev-guide.xml#doc_chap3
 to mknod new null and console in /dev, but when i boot the permissions are
 again set to 660.
 does somebody have an idea of what i should do? if there's some information
 i lacked to give please ask
 thanks

-- 
Sean Higgins, [EMAIL PROTECTED]
http://www.systura.com - Where information becomes knowledge.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Apache Sub directorys

2005-07-14 Thread Michael Thompson
All my previously working apache sub directorys have started to throw a 
forbidden message. 
 
 I have checked my configs and they have not changed at all. I did a emerge 
world the other day that installed the new PHP, but thats all. I really can 
not think of any reason why this has happend. All the permisions are right 
apache:apache. 
 
 There was a update to Apache, which went through the other night, but 
everything looks just fine here, so i do not understand why! 
 
 Any one got any ideas?

-- 
Mike

To see the world in a grain of sand,
and to see heaven in a wild flower,
hold infinity in the palm of your hands,
and eternity in an hour.

GnuGPG KeyID:=FC0D8D9A
http://www.thompsonmike.co.uk

I don't need to outrun the bear, just the guy next to me...
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Apache Sub directorys

2005-07-14 Thread Emanuele Morozzi
Try giving access to anyone to tost if it's a permissions related 
problem. (Perhaps using php files need also execution rights).

Does the apache server run with apache user rights (check with ps aux)?

Michael Thompson wrote:
All my previously working apache sub directorys have started to throw a 
forbidden message. 
 
 I have checked my configs and they have not changed at all. I did a emerge 
world the other day that installed the new PHP, but thats all. I really can 
not think of any reason why this has happend. All the permisions are right 
apache:apache. 
 
 There was a update to Apache, which went through the other night, but 
everything looks just fine here, so i do not understand why! 
 
 Any one got any ideas?






___ 
Yahoo! Messenger: chiamate gratuite in tutto il mondo 
http://it.beta.messenger.yahoo.com


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Apache Sub directorys

2005-07-14 Thread Michael Thompson
On Thursday 14 July 2005 15:23, Emanuele Morozzi wrote:
 Try giving access to anyone to tost if it's a permissions related
 problem. (Perhaps using php files need also execution rights).

The permissions have not changed. They are all apache:apache with a mask of:

drwxrwxr--  20 apache apache 4096 Jul 14 10:34 htdocs


 Does the apache server run with apache user rights (check with ps aux)?

ps aux

root 19093  0.0  0.8  22312  8872 ?Ss   12:26   
0:00 /usr/sbin/apache2 -k start -D SSL -D PHP4 -D MAILMAN
apache   19098  0.0  0.6  21600  6924 ?S12:26   
0:00 /usr/sbin/apache2 -k start -D SSL -D PHP4 -D MAILMAN
apache   19099  0.0  0.8  22336  9072 ?S12:26   
0:00 /usr/sbin/apache2 -k start -D SSL -D PHP4 -D MAILMAN
apache   19100  0.0  0.8  22336  9072 ?S12:26   
0:00 /usr/sbin/apache2 -k start -D SSL -D PHP4 -D MAILMAN
apache   19101  0.0  0.8  22312  8904 ?S12:26   
0:00 /usr/sbin/apache2 -k start -D SSL -D PHP4 -D MAILMAN
apache   19102  0.0  0.8  22312  8904 ?S12:26   
0:00 /usr/sbin/apache2 -k start -D SSL -D PHP4 -D MAILMAN
apache   19103  0.0  0.8  22312  8904 ?S12:26   
0:00 /usr/sbin/apache2 -k start -D SSL -D PHP4 -D MAILMAN
apache   19310  0.0  0.8  22312  8904 ?S12:30   
0:00 /usr/sbin/apache2 -k start -D SSL -D PHP4 -D MAILMAN

The main page loads, the user pages load, just *anything* in a subdirectory 
of /var/www/localhost/htdocs fails with a forbidden.





-- 
Mike

To see the world in a grain of sand,
and to see heaven in a wild flower,
hold infinity in the palm of your hands,
and eternity in an hour.

GnuGPG KeyID:=FC0D8D9A
http://www.thompsonmike.co.uk

I don't need to outrun the bear, just the guy next to me...
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] problems with udev

2005-07-14 Thread Dirk Heinrichs
Am Donnerstag, 14. Juli 2005 12:52 schrieb ext Sean Higgins:
 Try checking a file called /etc/udev/permissions.d/50-udev.permissions,
 this file sets the permissions of devices during boot.

No. This has already changed since more than 10 versions of udev. 
Permissions are now set in /etc/udev/rules.d/50-udev.rules.

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstraße 55  | Web:  http://www.capgemini.com
D-40472 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


pgp2VAtV4aJuX.pgp
Description: PGP signature


Re: [gentoo-user] Apache Sub directorys

2005-07-14 Thread Hans-Werner Hilse
Hi,

On Thu, 14 Jul 2005 13:40:42 +0100
Michael Thompson [EMAIL PROTECTED] wrote:

 On Thursday 14 July 2005 15:23, Emanuele Morozzi wrote:
  Try giving access to anyone to tost if it's a permissions related
  problem. (Perhaps using php files need also execution rights).
 
 The permissions have not changed. They are all apache:apache with a mask of:
 
 drwxrwxr--  20 apache apache 4096 Jul 14 10:34 htdocs

What about its subdirectories? They need to be executable to allow
access to paths below themselves and need to be readable to allow
directory listing (which also needs to be allowed as per httpd.conf).

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



Re: [gentoo-user] problems with udev

2005-07-14 Thread renna
On Thursday 14 July 2005 12:52, Sean Higgins wrote:
 Try checking a file called /etc/udev/permissions.d/50-udev.permissions,
 this file sets the permissions of devices during boot.  My line in that
 file is:

 null:root:root:0666

 which sets the permissions to 0666 which is what you expect.

 I had problems with some other devices, like misc/nvram, and had to make
 modifications to the file.

   Sean


uops i realized i hadn't done an etc-update after emerging udev. doing it 
adjusted some files in /etc/udev and now everything works. thanks to all
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Apache Sub directorys

2005-07-14 Thread Michael Thompson
On Thursday 14 July 2005 14:04, Hans-Werner Hilse wrote:
 Hi,

 On Thu, 14 Jul 2005 13:40:42 +0100

 Michael Thompson [EMAIL PROTECTED] wrote:
  On Thursday 14 July 2005 15:23, Emanuele Morozzi wrote:
   Try giving access to anyone to tost if it's a permissions related
   problem. (Perhaps using php files need also execution rights).
 
  The permissions have not changed. They are all apache:apache with a mask
  of:
 
  drwxrwxr--  20 apache apache 4096 Jul 14 10:34 htdocs

 What about its subdirectories? They need to be executable to allow
 access to paths below themselves and need to be readable to allow
 directory listing (which also needs to be allowed as per httpd.conf).

 -hwh

Umm, I thought of that earlier, here is the complete ls -all of the htdocs 
dir, nothing wrong here that I can see

polaris mike # ls -all /var/www/localhost/htdocs/
total 240
drwxrwxr--  20 apache apache  4096 Jul 14 10:34 .
drwxrwxr--   7 root   root4096 Feb 16 01:10 ..
-rwxrwxr--   1 apache apache  3612 Mar  8 05:34 Forwarded_eth1_All.png
-rwxrwxr--   1 apache apache  3026 Mar  8 05:34 Forwarded_eth1_out_All.png
-rwxrwxr--   1 apache apache  2640 Mar 17 00:40 Incoming_Total_Local.png
-rwxrwxr--   1 apache apache  2800 Mar 17 00:40 Incoming_Total_WAN.png
-rwxrwxr--   1 apache apache  2455 Mar  8 05:34 Incoming_eth0_All.png
-rwxrwxr--   1 apache apache  2951 Mar  8 05:34 Incoming_eth1_All.png
-rwxrwxr--   1 apache apache  2776 Mar 17 00:40 Outgoing_Total_Local.png
-rwxrwxr--   1 apache apache  2910 Mar 17 00:40 Outgoing_Total_WAN.png
-rwxrwxr--   1 apache apache  2763 Mar  8 05:34 Outgoing_eth0_Out_All.png
-rwxrwxr--   1 apache apache  2728 Mar  8 05:34 Outgoing_eth0_out_All.png
-rwxrwxr--   1 apache apache  2851 Mar  8 05:34 Outgoing_eth1_All.png
-rw-r--r--   1 root   root2326 Jul 13 09:51 apache_pb.gif
-rw-r--r--   1 root   root1385 Jul 13 09:51 apache_pb.png
-rw-r--r--   1 root   root2414 Jul 13 09:51 apache_pb2.gif
-rw-r--r--   1 root   root1463 Jul 13 09:51 apache_pb2.png
-rw-r--r--   1 root   root2160 Jul 13 09:51 apache_pb2_ani.gif
drwxrwxr--   5 apache apache  4096 Sep  1  2004 awstats-6.1
drwxrwxr--  11 apache apache  4096 Dec 31  2004 base
drwxrwxr--  10 apache apache  4096 Dec 30  2004 board
drwxrwxr--  10 apache apache  4096 Aug 31  2004 bugzilla
drwxrwxr--   7 apache apache  4096 Jun 17 19:57 catalog
drwxrwxr--  10 apache apache  4096 May 17 14:58 cpg133
-rwxrwxr--   1 apache apache 41100 Jan 16  2004 div_159.jpg
drwxrwxr--   2 apache apache  4096 Aug 31  2004 files
drwxrwxr--  11 apache apache  4096 Jan 19 11:37 geeklog-1.3.9sr1
drwxrwxr--  19 apache apache  4096 Feb  8 07:42 horde
-rwxrwxr--   1 apache apache   822 Mar  7 07:55 host-play.html
-rwxrwxr--   1 apache apache   840 Mar  8 05:29 host-polaris.html
drwxrwxr--   2 apache apache  4096 Feb 12 20:08 htdig
drwxrwxr--   2 apache apache  4096 Jan 22 03:02 images
-rwxrwxr--   1 apache apache   999 Jan 23 09:30 index.htm
drwxrwxr--   8 apache apache  4096 Jan 24 02:00 newsportal
-rwxrwxr--   1 apache apache 16067 Sep 22  2004 oe.JPG
drwxrwxr--   7 apache apache  4096 May  8 17:24 phpmyadmin
drwxrwsr-x  14 root   root4096 Jul 12 10:31 phpwebsite
-rwxrwxr--   1 apache apache  2376 Mar  8 05:29 polaris-internet-Daily.png
-rwxrwxr--   1 apache apache  2324 Mar  8 05:29 polaris-internet-Monthly.png
-rwxrwxr--   1 apache apache  2657 Mar  8 05:29 polaris-internet-Weekly.png
-rwxrwxr--   1 apache apache  2605 Mar  8 05:29 polaris-internet-Yearly.png
drwxrwxr--   5 apache apache  4096 Apr 11 19:43 squirrelmail
drwxrwxr--   2 apache apache  4096 Jun 16 12:35 temp
-rwxrwxr--   1 apache apache  1091 Mar  8 05:29 traf.html
-rwxrwxr--   1 apache apache  2818 Mar  8 05:34 traf2.html
drwxr-xr-x  14 root   root4096 Jul 14 10:35 xoops
drwxr-xr-x   2 root   root4096 Jun 10 10:09 zap

Even the drwxr-xr-x will not run at all. These have not changed since they 
were working previously. 

-- 
Mike

To see the world in a grain of sand,
and to see heaven in a wild flower,
hold infinity in the palm of your hands,
and eternity in an hour.

GnuGPG KeyID:=FC0D8D9A
http://www.thompsonmike.co.uk

I don't need to outrun the bear, just the guy next to me...


pgpMm2FEwezNc.pgp
Description: PGP signature


[gentoo-user] /usr/bin/man SGID ?

2005-07-14 Thread Jarry

Hallo,

I'm checking my freshly installed system for SUID/SGID files, and to my
surprise I see:

-r-xr-s--x  1 man 41172 Jul 13 13:28 /usr/bin/man

Does /usr/bin/man really have to have SGID-bit on? Why?
I just checked one debian-box, where /usr/bin/man is without SGID...

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



Re: [gentoo-user] /usr/bin/man SGID ?

2005-07-14 Thread Hans-Werner Hilse
Hi,

On Thu, 14 Jul 2005 15:28:57 +0200
Jarry [EMAIL PROTECTED] wrote:

 Does /usr/bin/man really have to have SGID-bit on? Why?

For caching the rendered man pages for all users, IMHO.

 I just checked one debian-box, where /usr/bin/man is without SGID...

On debian, if configured to be chatty when installing packages, one is
asked upon installation of the man package if it should be set SGID.

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



Re: [gentoo-user] Apache Sub directorys

2005-07-14 Thread Hans-Werner Hilse
Hi,

On Thu, 14 Jul 2005 14:12:56 +0100
Michael Thompson [EMAIL PROTECTED] wrote:

 Even the drwxr-xr-x will not run at all. These have not changed since they 
 were working previously. 

Hm. Isn't anything written to the apache error log that could give a hint?

Did you restart apache after installing the new php module? It may even
help to stop and then start it as a restart won't kill the apache
master process.

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



Re: [gentoo-user] Apache Sub directorys

2005-07-14 Thread Craig Duncan
Michael Thompson wrote:

All my previously working apache sub directorys have started to throw a 
forbidden message. 
 
 I have checked my configs and they have not changed at all. I did a emerge 
world the other day that installed the new PHP, but thats all. I really can 
not think of any reason why this has happend. All the permisions are right 
apache:apache. 
 
 There was a update to Apache, which went through the other night, but 
everything looks just fine here, so i do not understand why! 
 
 Any one got any ideas?

  

Try adding a directory statement in the http.conf file

Directory /var/www/localhost
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
/Directory

Then modify to suit your needs.

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



[gentoo-user] OpenOffice / localisation

2005-07-14 Thread Uwe Thiem
Hi folks,

I've got a couple of questions regarding localisation.

1. OO and English
If I set OO to either British or South African English the spellchecker still 
accepts American spelling which is wrong in Namibia. Anybody in the know how 
to make it stick to British spelling?

2. OO and currency
The Namibian Dollar (either NAD or N$) is missing from the list of currencies. 
Is it possible to add a new one to OO?

3. KDE and aspell
I emerged aspell-af, aspell-de, aspell-en and aspell-pt. KDE's control centre 
shows a whole plethora of languages, some of them looking like English 
(United Kingdom - ise-w_accents-only). I bet No user has got an idea what 
that means. In kmail on the other hand, most languages are shown as 
Unknown. I would like to nail that down to:
British English
American English
German German   (no Swiss or Austrian German)
Portuguese Portuguese
Brazilian Portuguese
Afrikaans
with British English the default. Do I simply delete the other stuff 
under /usr/lib/aspell-0.60? Exactly what can I safely delete?

There is more but this should be enough for today. ;-)

Uwe

-- 
95% of all programmers rate themselves among the top 5% of all software 
developers. - Linus Torvalds

http://www.uwix.iway.na (last updated: 20.06.2004)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] udev recent genkernel + gentoo-sources

2005-07-14 Thread Dmitry S. Makovey
For archiving purposes:

I've finally fixed my machine up with as follows:

1. chosen kernel was 2.6.12-r5 as it fixes ugly bug with iptables 
which takes ages for applications to load.

2. configured grub without using initrd

title  Gentoo linux (update)
 root (hd0,0)
 kernel /kernel-genkernel-x86-2.6.12-gentoo-r5 root=/dev/hda11 
video=vesafb:[EMAIL PROTECTED] splash=verbose

After doing all that system became usable again and boots with no 
glitch. Thanks everybody for help.

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgpxLnnGjhmkH.pgp
Description: PGP signature


[gentoo-user] 1st Install

2005-07-14 Thread Mark Humphrey
Hi there

I'm new to Gentoo and I'm currently running WinXP at home. I'd like to
know how I should go about an installation with release 2005.0 to make
it a dual boot with XP, but upgrade to KDE 3.4.1?




Email Disclaimer
http://www.aplitec.co.za/emaildisclaimer.htm

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't login using KDM - solved

2005-07-14 Thread Yuval Scharf
On Tuesday 12 July 2005 18:23, Zac Medico wrote:
 Yuval Scharf wrote:
  Hi,
 
  I'm using KDE 3.4.
  Since few days ago I can't login using KDM.
  The login process can't pass the initializing peripherals stage.
  I can see that there are two processes running kded (one of the is the
  father of the other) which I can't kill.
  After rebooting the machine I can login once and then the probelm
  returns.
 
  Any ideas?
 
  Thanks,
  Yuval Scharf

 This kind of problem is usually some type of permissions issue.  Maybe it's
 related to the hidden .ICE-unix, .X0-lock, or .X11-unix in /tmp.  Try
 logging in as root and/or bypass kdm with startx.  Did you get anything in
 /var/log/kdm.log?

 Zac

Hi,

Apparently /tmp/.ICE-unix was owned by my user instead of the root.

Thanks,
Yuval
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Apache Sub directorys

2005-07-14 Thread Michael Thompson
On Thursday 14 July 2005 15:15, Craig Duncan wrote:

 Try adding a directory statement in the http.conf file

 Directory /var/www/localhost
 Options Indexes MultiViews
 AllowOverride None
 Order allow,deny
 Allow from all
 /Directory

 Then modify to suit your needs.

 Craig

Does not help any. That is already there in the default config, but I did try 
that earlier to see if it did help. No joy.


-- 
Mike

To see the world in a grain of sand,
and to see heaven in a wild flower,
hold infinity in the palm of your hands,
and eternity in an hour.

GnuGPG KeyID:=FC0D8D9A
http://www.thompsonmike.co.uk

I don't need to outrun the bear, just the guy next to me...


pgpTwvvkcinCo.pgp
Description: PGP signature


[gentoo-user] Interesting install experience

2005-07-14 Thread Jim Hatfield
The machine I posted about earlier (GRUB GRUB GRUB...) is dead.
It hung booting the 2005.0 CD, and if I booted a DriveImage CD
with a DOS partition, every key on the keyboard was echoed ^A.
Ah well.

So I just installed another machine, using the 2005.0 CD and using
the new instructions. It has a Matrox G400 so I added support for
that in the kernel. This may have been a mistake.

Everything is fine until I reboot, when after the GRUB screen and
kernel selection, the screen goes black with lots of pretty blue
squares all over it. Nice, but not helpful in logging in. And of 
course sshd isn't enabled by default. No matter, I reboot off the
CD, mount everything, do the chroot thing and add sshd to the default
runlevel, reboot and I can get in remotely.

I guess I will rebuild the kernel with Matrox support removed and
see if that fixes.

BTW, what is the received wistom wrt building things into the
kernel or building them as modules? As well as the G400 I have
an Intel NIC and a VIA sound card, and this time round chose to
build them in, though before I built them as modules. I'm not 
clear as to the pros and cons.



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't login using KDM

2005-07-14 Thread Uwe Klosa
Thanks for this information. It helped to solve my problem. :)

Uwe

Daniel Drake wrote:
 Sean Higgins wrote:
 
Did you recently update your kernel?  There is a problem with 
gentoo-sources-2.6.12-r4.  There is a bug in iptables that causes problems 
with KDE logins.  If you stop iptables, your login will work.
 
 
 Just to clarify, this is a problem with all 2.6.12 releases (not just 
 -gentoo-r4)
 
 
If you upgrade to gentoo-sources-2.6.12-r5, the problem will be solved.
 
 
 Yes, and it'll be fixed upstream for 2.6.12.3 and 2.6.13 :)
 
 Daniel
begin:vcard
fn:Uwe Klosa
n:Klosa;Uwe
org:Uppsala University;Electronic Publishing Centre
adr:;;;Uppsala;;75120;Sweden
email;internet:[EMAIL PROTECTED]
tel;work:+46 (0)18 471 7658
url:http://publications.uu.se/epcentre
version:2.1
end:vcard



[gentoo-user] Subversion 1.2

2005-07-14 Thread Steve [Gentoo]
I'd have thought lots of people in the gentoo crowd would have been 
eagerly awaiting subversion 1.2.x with its substantial new reserved 
checkout - but nothing seems to have moved forward.


Portage (by default) still gives me version 1.1.3... but version 1.2 has 
been available for a couple of months and 1.2.1 a fortnight... I 
wouldn't have considered this a difficult package to port to Gentoo - 
especially as just about every other platform is supported directly by 
the Subversion developers...


I've tried using ~x86 as my USE flag - but the 1.2 ebuild still won't 
install reporting a Problem in dev-util/subversion-1.2 dependencies... 
I'm reluctant to use an unstable subverison port as it would cost me a 
fair bit of time if it scrambles my version controlled files.  Does 
anyone know what the problems are and why its taking so long to get 
1.2.x into the default portage tree?



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 1st Install

2005-07-14 Thread Volker Armin Hemmann
On Thursday 14 July 2005 16:39, Mark Humphrey wrote:
 Hi there

 I'm new to Gentoo and I'm currently running WinXP at home. I'd like to
 know how I should go about an installation with release 2005.0 to make
 it a dual boot with XP, but upgrade to KDE 3.4.1?


first, read the instructions on gentoo.org. If you do not want to print 
everything, you should at least take some notes.
Read them again,  look out for other helpfull guides.
The examples are always helpfull, you might want to write them down, too.

After that use your favorite partition tool, to make some free space on your 
harddisk. PartitionMagic should be able to do this and a lot more. google is 
your friend

Boot from the gentoo cd. Now use cfdisk to make at least two partitions into 
the free space, / and /boot.
Do not use PartitionMagic to create the linux-partitions!
This will sometimes cause some very delicate problems.

After that, install into that partitions like described in the guides.

Will take 24h- some days, depends on your CPU and ram.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Interesting install experience

2005-07-14 Thread Hans-Werner Hilse
Hi,

On Thu, 14 Jul 2005 16:27:49 +0100
Jim Hatfield [EMAIL PROTECTED] wrote:

 So I just installed another machine, using the 2005.0 CD and using
 the new instructions. It has a Matrox G400 so I added support for
 that in the kernel. This may have been a mistake.
 
 Everything is fine until I reboot, when after the GRUB screen and
 kernel selection, the screen goes black with lots of pretty blue
 squares all over it.

This may be due to the framebuffer chosing a wrong mode for the kind of
monitor you have. You can set the resolution and frame rate on the
kernel command line. This should be documented in /usr/src/linux/
Documentation/fb/... (don't have it here atm)

 I guess I will rebuild the kernel with Matrox support removed and
 see if that fixes.

This will probably work, too :-)

 BTW, what is the received wistom wrt building things into the
 kernel or building them as modules? As well as the G400 I have
 an Intel NIC and a VIA sound card, and this time round chose to
 build them in, though before I built them as modules. I'm not 
 clear as to the pros and cons.

If the hardware is builtin, and you don't have problems with somewhat
random hardware enumeration (i.e., multiple NICs getting different
devices on each boot), there's little reason to build the drivers as
modules. OTOH, probing a module triggers (if it loads successfully) a
hotplug event, which is not the case during bootup (AFAIK, at least
there are no hotplug scripts available at that moment). So if you chose
to compile them into the kernel, you need to e.g. have net.eth0 in
the runlevel configuration for boot or default. If you're probing
them as modules, that will trigger hotplug and this should take care of
running the respective start script. If you intend to run a common
kernel on multiple machines, it may be wiser to compile some drivers to
modules, but for e.g. PCI devices this shouldn't matter a lot, you only
will save some RAM on machines that don't need the driver (compiled
into the kernel).

Sound is another matter: The kernel ALSA isn't always the latest
version. So it's best to only configure sound support but no ALSA or
OSS and then later emerge alsa-driver.

Then there are drivers that have their own code base only. In most
cases it's much more complicated to integrate them into the kernel
sources than to compile them as external modules.


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



Re: [gentoo-user] Interesting install experience

2005-07-14 Thread Daniel Drake
Jim Hatfield wrote:
 BTW, what is the received wistom wrt building things into the
 kernel or building them as modules? As well as the G400 I have
 an Intel NIC and a VIA sound card, and this time round chose to
 build them in, though before I built them as modules. I'm not 
 clear as to the pros and cons.

We are writing documentation on this at the moment. With manual configuration,
build everything into the kernel unless you have a reason *not* to. Build ALSA
(sound) as modules, since the ALSA utilities work better with modules.

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



Re: [gentoo-user] Subversion 1.2

2005-07-14 Thread Kurt Guenther
Steve [Gentoo] wrote:

 I'd have thought lots of people in the gentoo crowd would have been
 eagerly awaiting subversion 1.2.x with its substantial new reserved
 checkout - but nothing seems to have moved forward.

 Portage (by default) still gives me version 1.1.3... but version 1.2
 has been available for a couple of months and 1.2.1 a fortnight... I
 wouldn't have considered this a difficult package to port to Gentoo -
 especially as just about every other platform is supported directly by
 the Subversion developers...

 I've tried using ~x86 as my USE flag - but the 1.2 ebuild still won't
 install reporting a Problem in dev-util/subversion-1.2 dependencies...


Huh?   I've been using 1.2 for awhile and emerge 1.2.1 as of
yesterday.   Did you add:

dev-util/subversion ~x86

to your /etc/portage/package.keywords.   You can just emerge subversion
and keep everything else on the stable build.   If you still block, send
the output from:

emerge -pv subversion

--Kurt





-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] problems with udev

2005-07-14 Thread Daniel Drake
Volker Armin Hemmann wrote:
 I switched last night from devfs to udev and had the same kde problem.
 I solved it by running udevstart as root. Oh, and I checked the permissions 
 file in /etc/udev

If running 'udevstart' fixes your ownership/permissions problem, try logging
in again and see if the problem reappears. If it does, then it means something
is running on login and imposing its own permissions. This is probably pam,
which you'll want to turn off.

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



Re: [gentoo-user] Subversion 1.2

2005-07-14 Thread Marco Matthies
Steve [Gentoo] wrote:
 I'd have thought lots of people in the gentoo crowd would have been
 eagerly awaiting subversion 1.2.x with its substantial new reserved
 checkout - but nothing seems to have moved forward.

you must have missed this link from the gentoo homepage (on the left):
http://packages.gentoo.org/
a search yields this:
http://packages.gentoo.org/search/?sstring=subversion

also, for a command-line version, read:
man equery

You might also want to read up on the portage section in the gentoo
handbook:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3chap=3

sorry for such a canned answer, but i would only repeat what's been
written there.

 I've tried using ~x86 as my USE flag - but the 1.2 ebuild still won't
 install reporting a Problem in dev-util/subversion-1.2 dependencies...
 I'm reluctant to use an unstable subverison port as it would cost me a
 fair bit of time if it scrambles my version controlled files.  Does
 anyone know what the problems are and why its taking so long to get
 1.2.x into the default portage tree?

Don't put ~x86 in your USE flags just for that - use
/etc/portage/package.keywords (see the above mentioned portage guide).
I'm not exactly sure what you want - Gentoo leaves packages in unstable
for a default period of time to make sure they work allright. If you
want the newest version of a package, you must tell portage to do so by
putting the appropriate stuff (subversion and it's dependencies) in
/etc/portage/package.keywords.

Here, i just did it myself by putting this in my package.keywords
(create this file if it doesn't exist) :

=dev-util/subversion-1.2.1  ~x86
=dev-libs/apr-util-0.9.5~x86
=dev-libs/apr-0.9.5 ~x86

You just add one package, ask portage to merge, then put in the next
dependency, and so on...
Tried this on amd64 (with ~amd64 instead of ~x86, naturally), it's
happily compiling away... This was just info about portage, it is in no
way any form of endorsement on the new version of subversion, as I
haven't used it at all - and I don't know if you should be so impatient
with a new version of a package that seems to be important to you and
your data...

Hope this helps,

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



Re: [gentoo-user] Apache Sub directorys

2005-07-14 Thread A. Khattri
On Thu, 14 Jul 2005, Michael Thompson wrote:

 Umm, I thought of that earlier, here is the complete ls -all of the htdocs
 dir, nothing wrong here that I can see

Do those sub-dectories have index.html file in them?
If not, then you need to explicitly switch on directory listings (they are
off by default). An example config:

# allow dir listings for stats folders
Directory /home/*/html/stats
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch
Limit GET POST OPTIONS PROPFIND
Order allow,deny
Allow from all
/Limit
/Directory


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



Re: [gentoo-user] udev recent genkernel + gentoo-sources

2005-07-14 Thread A. Khattri
On Wed, 13 Jul 2005, Zac Medico wrote:

 I heard there was a problem like that with gentoo-sources-2.6.12-r4 and 
 iptables: http://marc.theaimsgroup.com/?l=gentoo-userm=112129686806476

Im using the kernel with iptables - no problems.


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



Re: [gentoo-user] Apache Sub directorys

2005-07-14 Thread Michael Thompson
On Thursday 14 July 2005 18:25, A. Khattri wrote:
 On Thu, 14 Jul 2005, Michael Thompson wrote:
  Umm, I thought of that earlier, here is the complete ls -all of the
  htdocs dir, nothing wrong here that I can see

 Do those sub-dectories have index.html file in them?
 If not, then you need to explicitly switch on directory listings (they are
 off by default). An example config:

 # allow dir listings for stats folders
 Directory /home/*/html/stats
 AllowOverride FileInfo AuthConfig Limit
 Options MultiViews Indexes SymLinksIfOwnerMatch
 Limit GET POST OPTIONS PROPFIND
 Order allow,deny
 Allow from all
 /Limit
 /Directory

They were all working fine until the upgrade of apache, which I missed. They 
all have index files. 
-- 
Mike

To see the world in a grain of sand,
and to see heaven in a wild flower,
hold infinity in the palm of your hands,
and eternity in an hour.

GnuGPG KeyID:=FC0D8D9A
http://www.thompsonmike.co.uk

I don't need to outrun the bear, just the guy next to me...
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] emerge error with glibc and nptl

2005-07-14 Thread kristina clair
Hi,

I'm trying to update glibc with nptl and nptlonly USE flags, but I'm
getting an error.

The emerge command I'm running is:
emerge --newuse -buD glibc

The error is:
 Install glibc-2.3.4.20041102-r1 into
/var/tmp/portage/glibc-2.3.4.20041102-r1/image/ category sys-libs
/usr/portage/sys-libs/glibc/glibc-2.3.4.20041102-r1.ebuild: line 845:
cd: 
/var/tmp/portage/glibc-2.3.4.20041102-r1/work/build-default-i386-pc-linux-gnu-nptl:
No such file or directory
 * Installing GLIBC with NPTL...
Makeconfig:84: x86/config.make: No such file or directory
Makerules:782: no file name for `include'
configure.in  configure.new
/bin/sh: configure.in: command not found
make: *** [configure] Error 127

Everything I've read about ntpl and glibc would seem to indicate that
I should just be able to emerge a new glibc without any problems.  Any
ideas?

Thanks,
Kristina

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Packet loss unknown issue - SOLVED :)

2005-07-14 Thread José Pedro Saraiva
On 7/13/05, Petr Kocmid [EMAIL PROTECTED] wrote:
 Your modem/router which is 192.168.1.254 on eth0 fits the netmask of the eth1
 network.
 
Weird thing is that this configuration as always been working for me,
with no problems whatsoever... until now.

Anyways, thank you!
Problem solved!

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: My laptop is freaking me out.

2005-07-14 Thread Richard Fish
Ian K wrote:


 Some of the other things that I have read or can think of that might
 effect the fans would be:

 1. In dual boot system with Windows, warm or cold restarts from Windows
 to Linux can affect whether the fans spin up.


 What would you recommend along those lines?


Why, my Standard Operating Procedure of course!


 (Start)
|
 [ Try Something ]
|
 Problem Fixed?   -
/   \|
   Y N   |
  /   \  |
   (Quit)   [Try Something Else]

;-

Seriously, I've seen posts that:

1. Booting into Windows and letting it run for a while, then
warm-rebooting into linux, lets the fans work.
2. or also, that #1 makes things worse in Linux; That things work best
with a cold boot into Linux.



 On the topic of ACPI, I found this post on LinuxQuestions. I post as
 omega21
 there. The thread is in the SuSe Forum, but I doubt it matters too much.
 What do you make of it?

 http://www.linuxquestions.org/questions/showthread.php?s=threadid=288588


Looks like the A65 and A70 laptops have serious problems with fan
control, reboots, and static discharge issuesas far as what I make
of it...well, maybe the problem with my Sager 5680 of cracking plastic
around the hinges of that requires me to continually repair/glue the
thing together isn't such a bad problem after all!  (Sorry, I couldn't
resist)

 As well, someone else on LQ advised trying APM, instead of ACPI(?). Im not
 sure if its a good idea or not.


I say go for it.  ACPI isn't doing much for youdoesn't even know the
difference between battery power and AC!

You will probably want to configure your kernel with both APM and ACPI
support, then you can switch between them by adding the appropriate
apm=off or acpi=off entries to the kernel command line.

 Lastly, I found another project that packs Toshiba features into the
 kernel.
 Im not sure if I should try it though.

 http://sourceforge.net/projects/omke/


Project seems nearly dead.  Only 5 posts (including yours) between the
two forums this year.  And the last release of anything was in
Februrary, which doesn't list anything but an updated Makefile and a
change to some documentation as features

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Subversion 1.2

2005-07-14 Thread Steve [Gentoo]

Marco Matthies wrote:


Gentoo leaves packages in unstable for a default period of time to make sure 
they work allright. If you want the newest version of a package, you must tell 
portage to do so by putting the appropriate stuff (subversion and it's 
dependencies) in /etc/portage/package.keywords.
 

Hmmm - that all sounds sane, but what is this default period of time?  
What criteria must be met in order for a masked package (and 
specifically for Subversion) to become unmasked?



Here, i just did it myself by putting this in my package.keywords
(create this file if it doesn't exist) :

=dev-util/subversion-1.2.1  ~x86
=dev-libs/apr-util-0.9.5~x86
=dev-libs/apr-0.9.5 ~x86
 

In one way this looks better than my fiddling with USE - however I'm 
reluctant to choose specific versions in a durable configuration file.  
Ideally I'd like to follow the natural upgrade cycle in future.  
Wouldn't putting those lines in my package.keywords file prevent me 
getting, say, version 1.3 automatically when I do an emerge -uD world 
in another few months?



This was just info about portage, it is in no
way any form of endorsement on the new version of subversion, as I
haven't used it at all - and I don't know if you should be so impatient with a 
new version of a package that seems to be important to you and your data...
 

I'm only impatient in so far as I'd prefer to use my gentoo server 
rather than some other platform. I'm already using Subversion 1.2 on 
other platforms and I've found no problems for my configuration so 
(other than possible gentoo specific issues) I'm happy to run the latest 
Subversion.
[Disclaimer - please don't blame me if your requirements are more 
demanding than mine!. :-) ]


Thanks for the reply - it at least convinces me that it is possible to 
get Subersion-1.2 installed... However, your solution raises more 
questions from me about Gentoo.  I'm now unsure if I want to wait-out 
the default unstable time for packages (to minimise risk and to simplify 
systems management) - or if there is a more subtle way to declare that 
I'd like version 1.2.1 now and to have that upgraded when a future 
version newer than that which becomes unmasked.  Am I missing some other 
obvious things?  I found the Gentoo handbook a little opaque on the 
topic of masked packages... lots of info - just not the answers to the 
questions I was thinking.



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Subversion 1.2

2005-07-14 Thread Petteri Räty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Steve [Gentoo] wrote:
 Hmmm - that all sounds sane, but what is this default period of time? 
 What criteria must be met in order for a masked package (and
 specifically for Subversion) to become unmasked?

At least a month and there can't be any major bugs reported to
bugs.gentoo.org. About specifics on Subversion you need to ask its
maintainer. It will stay masked as long as needed for the maintainer to
become sure that the package really is stable.

 Ideally I'd like to follow the natural upgrade cycle in future. 
 Wouldn't putting those lines in my package.keywords file prevent me
 getting, say, version 1.3 automatically when I do an emerge -uD world
 in another few months?

No it would not. You are just changing the accepted the keywords for
Subversion. Portage always chooses the latest version with accepted
keywords. If just add dev-util/subversion you say that you will accept
every version marked as ~x86 or you can use =dev-util/subversion-1.2.1
to only mark one version. If you don't use version numbers, you will
always update to the latest version. If you lock down the version
number, the next time you will update if after there is a version
greater then 1.2.1, which is marked stable (x86).

 I'm only impatient in so far as I'd prefer to use my gentoo server
 rather than some other platform. I'm already using Subversion 1.2 on
 other platforms and I've found no problems for my configuration so
 (other than possible gentoo specific issues) I'm happy to run the latest
 Subversion.
 [Disclaimer - please don't blame me if your requirements are more
 demanding than mine!. :-) ]

Gentoo is all about choice.

 
 Thanks for the reply - it at least convinces me that it is possible to
 get Subersion-1.2 installed... However, your solution raises more
 questions from me about Gentoo.  I'm now unsure if I want to wait-out
 the default unstable time for packages (to minimise risk and to simplify
 systems management) - or if there is a more subtle way to declare that
 I'd like version 1.2.1 now and to have that upgraded when a future
 version newer than that which becomes unmasked.  Am I missing some other
 obvious things?  I found the Gentoo handbook a little opaque on the
 topic of masked packages... lots of info - just not the answers to the
 questions I was thinking.
 
 

Hopefully I answered this.

Regards,
Petteri Räty ([EMAIL PROTECTED])
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC1rBTcxLzpIGCsLQRAnfOAKCSwFJDenGWoGRiZWmvS/K67WGP9wCfZrjz
tTtBWzlJKXu5kwfNJUfgwQo=
=cdsY
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge error with glibc and nptl

2005-07-14 Thread Zac Medico
kristina clair wrote:
 Hi,
 
 I'm trying to update glibc with nptl and nptlonly USE flags, but I'm
 getting an error.
 
 The emerge command I'm running is:
 emerge --newuse -buD glibc
 
 The error is:
 
Install glibc-2.3.4.20041102-r1 into
 
 /var/tmp/portage/glibc-2.3.4.20041102-r1/image/ category sys-libs
 /usr/portage/sys-libs/glibc/glibc-2.3.4.20041102-r1.ebuild: line 845:
 cd: 
 /var/tmp/portage/glibc-2.3.4.20041102-r1/work/build-default-i386-pc-linux-gnu-nptl:
 No such file or directory
  * Installing GLIBC with NPTL...
 Makeconfig:84: x86/config.make: No such file or directory
 Makerules:782: no file name what ifor `include'
 configure.in  configure.new
 /bin/sh: configure.in: command not found
 make: *** [configure] Error 127
 
 Everything I've read about ntpl and glibc would seem to indicate that
 I should just be able to emerge a new glibc without any problems.  Any
 ideas?
 
 Thanks,
 Kristina
 

That default-i386-pc-linux-gnu-nptl looks suspicious because with nptl CHOST is 
restricted to i486|i586|i686-pc-linux-gnu.  What is your CHOST?

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



Re: [gentoo-user] emerge error with glibc and nptl

2005-07-14 Thread kristina clair
  I'm trying to update glibc with nptl and nptlonly USE flags, but I'm
  getting an error.
 
  The emerge command I'm running is:
  emerge --newuse -buD glibc
 
  The error is:
 
 Install glibc-2.3.4.20041102-r1 into
 
  /var/tmp/portage/glibc-2.3.4.20041102-r1/image/ category sys-libs
  /usr/portage/sys-libs/glibc/glibc-2.3.4.20041102-r1.ebuild: line 845:
  cd: 
  /var/tmp/portage/glibc-2.3.4.20041102-r1/work/build-default-i386-pc-linux-gnu-nptl:
  No such file or directory
   * Installing GLIBC with NPTL...
  Makeconfig:84: x86/config.make: No such file or directory
  Makerules:782: no file name what ifor `include'
  configure.in  configure.new
  /bin/sh: configure.in: command not found
  make: *** [configure] Error 127
 
  Everything I've read about ntpl and glibc would seem to indicate that
  I should just be able to emerge a new glibc without any problems.  Any
  ideas?
 
  Thanks,
  Kristina
 
 
 That default-i386-pc-linux-gnu-nptl looks suspicious because with nptl CHOST 
 is restricted to i486|i586|i686-pc-linux-gnu.  What is your CHOST?

Hm!
CFLAGS=-O2 -mcpu=i686 -fomit-frame-pointer
CHOST=i386-pc-linux-gnu

I did not set this box up, so I'm not sure - is there any reason why
someone would set the CHOST to that?

I checked the /var/tmp/portage/glibc-2.3.4.20041102-r1/work directory,
and indeed there is no subdirectory
build-default-i386-pc-linux-gnu-nptl.  In fact, in the work directory,
there is only glibc-2.3.3.

Thanks,
Kristina

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 1st Install

2005-07-14 Thread Allan Gottlieb
At Thu, 14 Jul 2005 17:38:43 +0200 Volker Armin Hemmann [EMAIL PROTECTED] 
wrote:

 On Thursday 14 July 2005 16:39, Mark Humphrey wrote:
 Hi there

 I'm new to Gentoo and I'm currently running WinXP at home. I'd like to
 know how I should go about an installation with release 2005.0 to make
 it a dual boot with XP, but upgrade to KDE 3.4.1?


 first, read the instructions on gentoo.org. If you do not want to print 
 everything, you should at least take some notes.
 Read them again,  look out for other helpfull guides.
 The examples are always helpfull, you might want to write them down, too.

 After that use your favorite partition tool, to make some free space on your 
 harddisk. PartitionMagic should be able to do this and a lot more. google is 
 your friend

 Boot from the gentoo cd. Now use cfdisk to make at least two partitions into 
 the free space, / and /boot.

Don't you also need swap?  /boot is desirable, but not required.

 Do not use PartitionMagic to create the linux-partitions!  This will
 sometimes cause some very delicate problems.

 After that, install into that partitions like described in the guides.

 Will take 24h- some days, depends on your CPU and ram.

Very good advice.

Good luck,
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Interesting install experience

2005-07-14 Thread Allan Gottlieb
At Thu, 14 Jul 2005 16:58:42 +0100 Daniel Drake [EMAIL PROTECTED] wrote:

 Jim Hatfield wrote:
 BTW, what is the received wistom wrt building things into the
 kernel or building them as modules? As well as the G400 I have
 an Intel NIC and a VIA sound card, and this time round chose to
 build them in, though before I built them as modules. I'm not 
 clear as to the pros and cons.

 We are writing documentation on this at the moment. With manual configuration,
 build everything into the kernel unless you have a reason *not* to. Build ALSA
 (sound) as modules, since the ALSA utilities work better with modules.

*Very* interesting.  Please let us know when the documentation is
 available.  I have build everything into the kernel (including alsa)
 and so far it is working well, but I haven't stressed audio.  What
 problems should I be looking for and do you advise rebuilding the
 kernel with alsa as modules even if we don't experience trouble with
 everything built in?  (I should have said all but nvidia built in).

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



Re: [gentoo-user] emerge error with glibc and nptl

2005-07-14 Thread Zac Medico
kristina clair wrote:
 
 Hm!
 CFLAGS=-O2 -mcpu=i686 -fomit-frame-pointer
 CHOST=i386-pc-linux-gnu
 
 I did not set this box up, so I'm not sure - is there any reason why
 someone would set the CHOST to that?
 
 I checked the /var/tmp/portage/glibc-2.3.4.20041102-r1/work directory,
 and indeed there is no subdirectory
 build-default-i386-pc-linux-gnu-nptl.  In fact, in the work directory,
 there is only glibc-2.3.3.
 
 Thanks,
 Kristina
 

Well, i386-pc-linux-gnu is the generic CHOST for the x86 arch so it could be 
for a number of reasons.  Maybe it was just a mistake.  You might be able to 
change the CHOST and emerge -e world but the normally recommended solution is 
to reinstall with a stage3 for your chosen subarch.

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



Re: [gentoo-user] 1st Install

2005-07-14 Thread Richard Fish
Allan Gottlieb wrote:

Boot from the gentoo cd. Now use cfdisk to make at least two partitions into 
the free space, / and /boot.



Don't you also need swap?  /boot is desirable, but not required.

  


You can create a swap file at any time..so a partition is really not
necessary here.  There may be some performance difference between a swap
partition or a swap file, but hard disks are so friggin slow these days
when compared to RAM and CPU that nobody really cares.

Be careful about /boot, many systems today still ship with borken LBA
implementations in BIOS that prevent access to cylinders above 8GB.  It
is *always* safest to have /boot, and to make it the first partition on
the disk.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Interesting install experience

2005-07-14 Thread Daniel Drake
Allan Gottlieb wrote:
 *Very* interesting.  Please let us know when the documentation is
  available.  I have build everything into the kernel (including alsa)
  and so far it is working well, but I haven't stressed audio.  What
  problems should I be looking for and do you advise rebuilding the
  kernel with alsa as modules even if we don't experience trouble with
  everything built in?  (I should have said all but nvidia built in).

It's fine to build ALSA into the kernel if you are happy to configure it,
which usually isn't too much hassle anyway.

The reasoning behind compiling ALSA as modules is that it then gives you the
option of using 'alsaconf'.

alsaconf is a great little utility, which, providing you have built the
modules, will configure pretty much any sound card for you, set up the system
for autoloading the relevant modules and saving/restoring volume, and unmuting
the channels.

I came across it when i was attempting to get an ISA sound card going in an
old computer. It just didn't work when built into the kernel or loading the
module manually. I discovered alsaconf, which did some weird probing, and 20
secs later informed me of 4 cryptic parameters that were needed to pass to the
module in order to find the sound card, as well as doing everything else I
described above.

Recently at work, I built *all* alsa drivers as modules, and proceeded to test
30-40 sound cards that we had lying around. ALSA supported every one of them
that wasn't so broken that it stopped the PC booting, and alsaconf made it
dead easy even with the older PCI cards and the ISA ones too.

So, the advantage of building ALSA modules is that you can use alsaconf, which
in most cases makes initial configuration a little bit simpler, and in some
cases is a complete lifesaver.

You might be interested in our recently revamped ALSA guide:
http://www.gentoo.org/doc/en/alsa-guide.xml

And also, if you are interested in the upcoming kernel config doc, then you
can add yourself to the CC list on http://bugs.gentoo.org/94955

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



Re: [gentoo-user] 1st Install

2005-07-14 Thread Volker Armin Hemmann
On Thursday 14 July 2005 21:22, Richard Fish wrote:
 Allan Gottlieb wrote:
 Boot from the gentoo cd. Now use cfdisk to make at least two partitions
  into the free space, / and /boot.
 
 Don't you also need swap?  /boot is desirable, but not required.

 You can create a swap file at any time..so a partition is really not
 necessary here.  There may be some performance difference between a swap
 partition or a swap file, but hard disks are so friggin slow these days
 when compared to RAM and CPU that nobody really cares.

nope ;)

there is no difference between swapfile and swap with 2.6
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Does (-win32codecs) mean Slots?

2005-07-14 Thread Edward Catmur
On Wed, 2005-07-13 at 10:53 +0800, Ow Mun Heng wrote:
 On Tue, 2005-07-12 at 22:48 -0400, daniel wrote:
  On July 12, 2005 05:12 am, Ow Mun Heng wrote:
   Why doesn't mplayer let me compile with win32codecs? It doesn't pull
   down win32codec as a dependency and having that USE flag in the CLI as
   well as on make.conf doesn't make a difference.
  
   I still can't get -win32codecs to +win32codecs
  
   Comment?

FWIW, if you haven't worked this out yet :) USE flag masking is
controlled by use.mask, which is a standard stackable profile file; as
with package.mask, the masked USE flags are generated by combining
use.mask from all the directories in the profile stack; but unlike
package.mask, which is counteracted by package.unmask, the way to
re-enable USE flags is to delete them from the use.mask profile stack by
entering them in a later-processed use.mask file with a - before.

So, what you would do in this case is:

echo -win32codecs  /etc/portage/profile/use.mask

(make sure /etc/portage/profile exists, yada yada.) Again: the - at the
beginning of the line instructs portage to *remove* win32codecs from
the list of masked USE flags generated by merging the use.mask profile
stack. Compare e.g. /usr/portage/profiles/default-linux/x86/use.mask.

HTH,

Ed

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] error during emerge --newuse --emptytree system

2005-07-14 Thread Karsten Gebbert

Hello list,

I have today attempted to do a stage 2 installation and I got to the 
point of building the system using emerge --newuse --emptytree system.
I was not shure how to understand the Handbook entry in that respect, 
and I got an error like:
!!!Files listed in the manifest do not exist! -- with another 32 
packages to be compiled left. I am not sure at all what to think of it 
and could not find a particular reason while searching on the net.
Should I have selected more mirrors earlier? I selected about 5 of the 
closest ones around London, so it should have been fine. Please help!


thnks Karsten


AMD Athlon XP +1600 1.040GHz
256MB RAM
Nvidia
--
gentoo-user@gentoo.org mailing list



[gentoo-user] fdisk errors after repartitioning

2005-07-14 Thread Robert G. Siebeck
Hi,

I recently repartitioned my harddisk. Before my HD had 4 partitions,
all primary ones: boot, swap, Linux (Reiserfs) and Windows (FAT32).
I shrinked the reiserfs-partition and then deleted it. I deleted swap,
too. Then I created an extended partition. Within this extended
partition I created a new logical partition which had the same start
and end cylinders as the resized Reiserfs partition. Further I created
a new swap partition within the extended partition and created a
(primary) partition for FreeBSD on the place freed by resizing the
Reiser-partition.
Actually everything seems to work, I'm not missing any files and all
systems (Linux, FreeBSD and Windows) work fine.
The only thing which seems strange is an error thrown by fdisk:


# fdisk /dev/hda

The number of cylinders for this disk is set to 116280.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hda: 60.0 GB, 60011642880 bytes
16 heads, 63 sectors/track, 116280 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/hda1   1 130   65488+  83  Linux
Partition 1 does not end on cylinder boundary.
/dev/hda2 131   79717401118485  Extended
Partition 2 does not end on cylinder boundary.
/dev/hda3   *   79718   95960 8186314+  a5  FreeBSD
Partition 3 does not end on cylinder boundary.
/dev/hda4   95964  11627910239264c  W95 FAT32 (LBA)
Partition 4 does not end on cylinder boundary.
/dev/hda52212   7971739063024   83  Linux
/dev/hda6 1312211 1048792+  82  Linux swap / Solaris


cfdisk doesn't even start but stops with the following message:

FATAL ERROR: Bad logical partition 6: enlarged logical partitions overlap
Press any key to exit cfdisk


Do you have any ideas how I could get rid of these messages?
Thanks in advance!

Regards,

Robert.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] fdisk errors after repartitioning

2005-07-14 Thread Richard Fish
Robert G. Siebeck wrote:

The only thing which seems strange is an error thrown by fdisk:


# fdisk /dev/hda

The number of cylinders for this disk is set to 116280.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hda: 60.0 GB, 60011642880 bytes
16 heads, 63 sectors/track, 116280 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/hda1   1 130   65488+  83  Linux
Partition 1 does not end on cylinder boundary.
/dev/hda2 131   79717401118485  Extended
Partition 2 does not end on cylinder boundary.
/dev/hda3   *   79718   95960 8186314+  a5  FreeBSD
Partition 3 does not end on cylinder boundary.
/dev/hda4   95964  11627910239264c  W95 FAT32 (LBA)
Partition 4 does not end on cylinder boundary.
/dev/hda52212   7971739063024   83  Linux
/dev/hda6 1312211 1048792+  82  Linux swap / Solaris

  


Technically, there is no error here.  The first message is completely
normal for large disks.  The does not end on... messages mean that the
disk was originally parititoned in LBA mode (which represents the disk
as having 255 heads, and about 1/4 as many cylinders), but for some
reason, Linux is seeing the disk in non-LBA mode.  (side note: I really
don't understand why BIOSs don't provide an option that says Force the
damn disk to LBA!!!)

Again, nothing actually wrong with this, but if you were to delete and
recreate any partitions with fdisk, it would insist on creatin the
partitions on a cylinder boundary, meaning they start/end sectors would
*not* be the same.  So, if you see such messages, either be prepared to
delete the entire table and start over, or don't change anything with fdisk!

cfdisk doesn't even start but stops with the following message:

FATAL ERROR: Bad logical partition 6: enlarged logical partitions overlap
Press any key to exit cfdisk

  


Well, this is most likely because it is extremely rare to have logical
volumes out of order in the extended volume.  So the sanity checks in
cfdisk might be fairly simple, like making sure the start cylinder of
hda6 comes after the end cylinder of hda5.  Sounds like a bug in cfdisk
if you ask me

I think the only way to really get rid of the error messages would be to
do a full backup, then blow everything away, and then restore it. 
Probably not worth the effort though...

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] system update

2005-07-14 Thread Qv6

Folks,

I'm trying to update my system with this command:
 
emerge world -Dup

and got this type of output:

snip
...
[ebuild  NS   ] kde-base/kdebase-3.4.0  
[ebuild  NS   ] kde-base/kdeartwork-3.4.0  
[ebuild  NS   ] kde-base/kdegames-3.4.0  
...
snip

I am currently running kde-3.3, and do not want to have both 3.3 and 3.4 
on the box. How can I update kde or any other app and not have the old 
version still installed.

TIA,

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Subversion 1.2

2005-07-14 Thread Marco Matthies
Steve [Gentoo] wrote:
 Hmmm - that all sounds sane, but what is this default period of time? 
 What criteria must be met in order for a masked package (and
 specifically for Subversion) to become unmasked?

I *think* it is something along the lines of 30 days without a bug,
not 100% sure though.

 Here, i just did it myself by putting this in my package.keywords
 (create this file if it doesn't exist) :

 =dev-util/subversion-1.2.1  ~x86
 =dev-libs/apr-util-0.9.5~x86
 =dev-libs/apr-0.9.5 ~x86
  

 In one way this looks better than my fiddling with USE - however I'm
 reluctant to choose specific versions in a durable configuration file. 
 Ideally I'd like to follow the natural upgrade cycle in future. 
 Wouldn't putting those lines in my package.keywords file prevent me
 getting, say, version 1.3 automatically when I do an emerge -uD world
 in another few months?

the line:
=dev-util/subversion-1.2.1  ~x86
means that you tell portage that you'll accept subversion, version 1.2.1
exactly, with a keyword of '~x86'. You can use '=' instead of '=',
which means any version equal or greater than 1.2.1.
the two following lines were the two dependencies i found by trying
'emerge -uD subversion'.

once 1.3 or any version higher than 1.2.1 becomes stable (marked 'x86'),
it will be considered by portage as well and will be merged.

Hope that helps,

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



Re: [gentoo-user] system update

2005-07-14 Thread Edward Catmur
On Thu, 2005-07-14 at 17:58 -0500, Qv6 wrote:
 I am currently running kde-3.3, and do not want to have both 3.3 and 3.4 
 on the box. How can I update kde or any other app and not have the old 
 version still installed.

Update kde as usual, then 

# emerge -av --depclean

Make sure that portage doesn't offer to remove packages you want to keep
installed! Also a good idea to run revdep-rebuild afterwards.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] ivtv modprobe fails

2005-07-14 Thread Matthew Daubenspeck
I have been having this problem with kernels starting with 2.6.11-x
including the most recent 2.6.12 version. They are all gentoo kernels,
and I have also tried them with kernels directly from kernel.org with
the same result. Here is the error:

# modprobe ivtv
WARNING: Error inserting i2c_core 
(/lib/modules/2.6.12-gentoo-r4/kernel/drivers/i2c/i2c-core.ko): Unknown symbol 
in module, or unknown parameter (see dmesg)
WARNING: Error inserting i2c_algo_bit 
(/lib/modules/2.6.12-gentoo-r4/kernel/drivers/i2c/algos/i2c-algo-bit.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting ivtv (/lib/modules/2.6.12-gentoo-r4/extra/ivtv.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)

Here is dmesg:

i2c_core: Unknown parameter `i2c_debug'
i2c_algo_bit: Unknown symbol i2c_del_adapter
i2c_algo_bit: Unknown symbol i2c_add_adapter
ivtv: Unknown symbol i2c_bit_add_bus
ivtv: Unknown symbol i2c_bit_del_bus

I don't think it's ivtv itself, as I have tried the stable (0.2.0_rc3)
as well as 0.3.6z and get the same error. I have checked and rechecked
my kernel configs for i2c and I believe everything is correct. I am
using the same config with 2.6.10 and it works fine.

Any suggestions? Thanks for your time.
-- 
  Matthew Daubenspeck
  http://www.oddprocess.org

20:30:58 up 6:16, 1 user, load average: 0.03, 0.01, 0.00
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] strange /init kernel-2.6.12-gentoo-r5 boot problems

2005-07-14 Thread Iain Buchanan
On Thu, 2005-07-14 at 08:36 +0200, Richard Fish wrote: 
 Iain Buchanan wrote:
 
 -install: applet not found
 /init: 41: In: not found
 /init: 45: cat: not found
 /init: 150: sed: not found
   
 
 Apparently it is a problem with busybox configuration:
 
 From another thread on this list less than 12 hours old:
 
 Zac Medico wrote:
 
  It's not as bad as it looks.  I had the same problem.  You simply
 need to enable CONFIG_FEATURE_INSTALLER in the busybox config.  Then
 you can do busybox --install and it automatically creates hardlinks
 for all the enabled applets.

What busybox config? `equery files busybox` doesn't show any config
files for busybox.  I found the previous thread here
http://marc.theaimsgroup.com/?l=gentoo-userm=112127857419654w=2 and
Zac suggested some different options:

 root (hd0,0)
 kernel /kernel-genkernel-x86-2.6.12-gentoo-r4n 
 root=/dev/hda11 video=vesafb:[EMAIL PROTECTED] 
 splash=verbose gentoo=nodevfs udev devfs=nomount
 initrd /initramfs-genkernel-x86-2.6.12-gentoo-r4n

but that didn't help either.

And why do I need to do a `busybox --install` ?? shouldn't this come up
in some emerge warning or be done by genkernel or something? I monitor
all the output from emerge with enotice, but I didn't see anything about
busybox...

TIA,
-- 
Iain Buchanan [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't mount a fat32 partition

2005-07-14 Thread aabb
Thanks all. It's fixed. When I ran dosfsck /dev/hda5 I got the error:

Logical sector size is zero

So I re-created the file system with mkfs -t vfat -F 32 /dev/hda5
(after backing up all my files!) and now it mounts properly. Not sure I
understand it because I hadn't run the mkfs command on hda1 either. I
formatted both from Win98.

Thanks again,

Alex

Maybe it isn't really a FAT32 filesystem?

Could you try something like: strings /dev/hda5  | less

With a FAT32 filesystem, I get:

mkdosfs
BRJF_KEYFAT32
This is not a bootable disk.  Please insert a bootable floppy and
press any key to try again ...
RRaA
rrAa{
mkdosfs
BRJF_KEYFAT32
This is not a bootable disk.  Please insert a bootable floppy and
press any key to try again ...
list of short filenames on system...

Obviously I formatted the above with mkdosfs, but you can see the label
(RJF_KEY) and type as well.

By comparison, on NTFS, I get:

374 t+a`j
454 Invalid partition table
504 Error loading operating system
543 Missing operating system
0077003 NTFS
...

HTH

-Richard
  


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Recommended GB NIC

2005-07-14 Thread Michael Madden

We have several Dell Precision workstations (530, 610,
and 620 models) with 3Com 3c905 10/100 NICs.  We'd like
to upgrade the NICs to GB.  Which GB PCI card would you
recommend to work with Gentoo 2005.0 running Linux 2.6.12-gentoo-r4?
Intel, Broadcom, 3Com?

Thanks.
Mike

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Recommended GB NIC

2005-07-14 Thread Bob Sanders
On Thu, 14 Jul 2005 20:10:40 -0500
Michael Madden [EMAIL PROTECTED] wrote:

 We have several Dell Precision workstations (530, 610,
 and 620 models) with 3Com 3c905 10/100 NICs.  We'd like
 to upgrade the NICs to GB.  Which GB PCI card would you
 recommend to work with Gentoo 2005.0 running Linux 2.6.12-gentoo-r4?
 Intel, Broadcom, 3Com?
 

Yes.  They all work.  The Broadcom Tigon3 will generally give higher
sustained throughput.

While I don't know, nor care about, the specific Dell models,  if you don't have
a 64-bit 66 MHz slot for the GigE board, heavy use of the net port will cause
problems.  The typical 32-bit 33 MHz bus will saturate with network 
transactions.

And that bus saturation can cause...umm...interesting system behavior.

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



Re: [gentoo-user] strange /init kernel-2.6.12-gentoo-r5 boot problems

2005-07-14 Thread Zac Medico
Iain Buchanan wrote:
 On Thu, 2005-07-14 at 08:36 +0200, Richard Fish wrote: 
 
Iain Buchanan wrote:


-install: applet not found
/init: 41: In: not found
/init: 45: cat: not found
/init: 150: sed: not found
 

Apparently it is a problem with busybox configuration:

From another thread on this list less than 12 hours old:

Zac Medico wrote:


It's not as bad as it looks.  I had the same problem.  You simply

need to enable CONFIG_FEATURE_INSTALLER in the busybox config.  Then
you can do busybox --install and it automatically creates hardlinks
for all the enabled applets.
 
 
 What busybox config? `equery files busybox` doesn't show any config
 files for busybox.  I found the previous thread here
 http://marc.theaimsgroup.com/?l=gentoo-userm=112127857419654w=2 and
 Zac suggested some different options:
 
 
root (hd0,0)
kernel /kernel-genkernel-x86-2.6.12-gentoo-r4n 
root=/dev/hda11 video=vesafb:[EMAIL PROTECTED] 
splash=verbose gentoo=nodevfs udev devfs=nomount
initrd /initramfs-genkernel-x86-2.6.12-gentoo-r4n
 
 
 but that didn't help either.

So it still uses the initramfs even though you didn't specify root=/dev/ram0?  
Richard said something about that (I wasn't aware of this behavior).  
Apparently you need to remove the initrd parameter in order to disable it.

Genkernel builds busybox with the config file in 
/usr/share/genkernel/$arch/busy-config.  Of course, it will only build busybox 
if it doesn't find a suitable binary in your bincache (specified in 
/etc/genkernel.conf).

 
 And why do I need to do a `busybox --install` ?? shouldn't this come up
 in some emerge warning or be done by genkernel or something? I monitor
 all the output from emerge with enotice, but I didn't see anything about
 busybox...
 
 TIA,

You don't do busybox --install, that happens automatically in the init script.  
It seems that the genkernel devs may have overlooked this minor detail.  It's 
easy to forget about it after you have a working busybox in your bincache.

Zac

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] emerge error...

2005-07-14 Thread Karsten Gebbert

Hello list,

The described error, or failure, always occures when building the 59th 
app after emerge --newuse --emptytree system:


sys-apps/baselayout-1.11.12-r4

and again:

!!!Files listed in the manifest do not exist!
files/digest-baselayout-1.12.0-pre1
baselayout-1.12.0_pre1.ebuild

Why can it not get the sources and build it? Could this be a problem 
within make.conf's known mirrors or so?


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



[gentoo-user] xdm problems

2005-07-14 Thread Ryan Sims
I'm trying to finish up a fresh install of gentoo, and I've run into
the following problem:  when trying to start xdm, the screen turns
black, flickers once, and the system freezes.  According to the xdm
log (attached) I get errors regarding AGP, sometimes xf86_EINVAL and
sometimes xf86_ENODEV.  I tried setting the permissions mask in my
udev rules to 777, and now xdm starts up, but freezes on exit. 
Running startx both as root and as a normal user works fine, but xdm
has problems.

I've had this working before on the same hardware, using the same
config.  A different kernel; the working kernel was 2.6.11 whereas
this is 2.6.12, but all the relevant kernel options (framebuffer, drm,
etc) are the same.  So far the forums and googling have yielded
unhelpful results, except for the suggestion of changing the
permissions, so I'm assuming I've done something boneheaded that
perhaps the list will catch.  Thanks in advance.

X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.12-gentoo-r4 i686 [ELF] 
Current Operating System: Linux loki 2.6.12-gentoo-r4 #1 Thu Jul 14 19:39:16 
EDT 2005 i686
Build Date: 14 July 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Thu Jul 14 22:01:30 2005
(==) Using config file: /etc/X11/xorg.conf
Using vt 7
(WW) fglrx: No matching Device section for instance (BusID PCI:2:0:1) found
(EE) fglrx(0): [agp] unable to acquire AGP, error xf86_ENODEV
(EE) fglrx(0): cannot init AGP
xdm error (pid 6914): fatal IO error 32 (Broken pipe)

X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.12-gentoo-r4 i686 [ELF] 
Current Operating System: Linux loki 2.6.12-gentoo-r4 #1 Thu Jul 14 19:39:16 
EDT 2005 i686
Build Date: 14 July 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Thu Jul 14 22:01:42 2005
(==) Using config file: /etc/X11/xorg.conf
Using vt 7
(WW) fglrx: No matching Device section for instance (BusID PCI:2:0:1) found
xdm error (pid 6911): nable to acquire AGP, error xf86_EINVAL
Section DRI
Mode 0666
EndSection
Section Module
Loaddbe   # Double buffer extension
SubSection  extmod
Option  omit xfree86-dga
EndSubSection
Loadtype1
Loadfreetype
Loadglx   # libglx.a
Loaddri   # libdri.a
#Load   Xrandr
EndSection
Section Files
RgbPath /usr/lib/X11/rgb
#FontPath   /usr/share/fonts/local/
FontPath   /usr/share/fonts/misc/
FontPath   /usr/share/fonts/75dpi/:unscaled
FontPath   /usr/share/fonts/100dpi/:unscaled
FontPath   /usr/share/fonts/Type1/
#FontPath   /usr/share/fonts/Speedo/
FontPath   /usr/share/fonts/75dpi/
FontPath   /usr/share/fonts/100dpi/
EndSection
Section ServerFlags
Option RandR  On
Option Xinerama Off
EndSection
Section InputDevice
Identifier  Keyboard1
Driver  kbd
Option AutoRepeat 500 30
Option XkbRules   xorg
Option XkbModel   microsoftinet
Option XkbLayout  us
EndSection
Section InputDevice
Identifier  Mouse1
Driver mouse
Option Protocol   ExplorerPS/2
Option Device /dev/input/mice
Option ZAxisMapping 4 5
EndSection
Section Monitor
Identifier  Monitor0
HorizSync   31-97
VertRefresh 50-180
Option DPMS
#Modeline 1280x1024 108.0 1280 1328 1440 1688   1024 1025 1028 1066 
+hsync +vsync
#ModeLine 1280xi1024 167.61 1280 1336 1616 1728 960 962 974 1000 #97Hz
#ModeLine 1280x1024   135.00   1280 1296 1440 1688   1024 1025 1028 1066 
+hsync +vsync
#Modeline [EMAIL PROTECTED] 300.92 1600 1632 2768 2800 1200 1222 1239 
1261

EndSection
Section Device
Identifier  Standard VGA
VendorName  Unknown
BoardName   Unknown
Driver  vga
EndSection
Section Device
Identifier  ATI Graphics Adapter
Driver  fglrx
Option  NoDDC
#Option KernelModuleParm   agplock=0 # AGP locked user pages: 
disabled
Option no_accel   no
Option no_dri no
Option mtrr   off # disable DRI mtrr mapper, driver 
has its own code for mtrr
Option DesktopSetup   

[gentoo-user] Re: xdm problems {SOLVED}

2005-07-14 Thread Ryan Sims
On 7/14/05, Ryan Sims [EMAIL PROTECTED] wrote:
 So far the forums and googling have yielded
 unhelpful results, except for the suggestion of changing the
 permissions, so I'm assuming I've done something boneheaded that
 perhaps the list will catch.  Thanks in advance.

Yes, boneheaded indeed.  Misspelt my search terms.  Bloody hell.  The
solution was, as usual, in the forums.  Seems that ati doesn't play
nicely with the 2.6.12 kernel, so I downgraded to 2.6.11-gentoo-r8
and, voila!

Sorry for the static.


-=-
Ryan W

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Interesting install experience

2005-07-14 Thread Allan Gottlieb
At Thu, 14 Jul 2005 20:33:23 +0100 Daniel Drake [EMAIL PROTECTED] wrote:

 Allan Gottlieb wrote:
 *Very* interesting.  Please let us know when the documentation is
  available.  I have build everything into the kernel (including alsa)
  and so far it is working well, but I haven't stressed audio.  What
  problems should I be looking for and do you advise rebuilding the
  kernel with alsa as modules even if we don't experience trouble with
  everything built in?  (I should have said all but nvidia built in).

 It's fine to build ALSA into the kernel if you are happy to configure it,
 which usually isn't too much hassle anyway.

 The reasoning behind compiling ALSA as modules is that it then gives you the
 option of using 'alsaconf'.

 alsaconf is a great little utility, which, providing you have built the
 modules, will configure pretty much any sound card for you, set up the system
 for autoloading the relevant modules and saving/restoring volume, and unmuting
 the channels.

 I came across it when i was attempting to get an ISA sound card going in an
 old computer. It just didn't work when built into the kernel or loading the
 module manually. I discovered alsaconf, which did some weird probing, and 20
 secs later informed me of 4 cryptic parameters that were needed to pass to the
 module in order to find the sound card, as well as doing everything else I
 described above.

 Recently at work, I built *all* alsa drivers as modules, and proceeded to test
 30-40 sound cards that we had lying around. ALSA supported every one of them
 that wasn't so broken that it stopped the PC booting, and alsaconf made it
 dead easy even with the older PCI cards and the ISA ones too.

 So, the advantage of building ALSA modules is that you can use alsaconf, which
 in most cases makes initial configuration a little bit simpler, and in some
 cases is a complete lifesaver.

thank you for the lucid explanation.

 You might be interested in our recently revamped ALSA guide:
 http://www.gentoo.org/doc/en/alsa-guide.xml

It is indeed much improved since I last used it.

 And also, if you are interested in the upcoming kernel config doc, then you
 can add yourself to the CC list on http://bugs.gentoo.org/94955

Done.

Thanks again,
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge error...

2005-07-14 Thread Zac Medico
Karsten Gebbert wrote:
 Hello list,
 
 The described error, or failure, always occures when building the 59th
 app after emerge --newuse --emptytree system:
 
sys-apps/baselayout-1.11.12-r4
 
 and again:
 
!!!Files listed in the manifest do not exist!
files/digest-baselayout-1.12.0-pre1
baselayout-1.12.0_pre1.ebuild
 
 Why can it not get the sources and build it? Could this be a problem
 within make.conf's known mirrors or so?
 
 KArsten

Unfortunately our portage tree rsync system does not handle concurrency well 
which occasionally results in an inconsistent portage snapshot.  If you emerge 
sync again that should fix it.  Alteratively, you can use ebuild path to 
ebuild digest to correct the inconsistency yourself.  See the ebuild(1) 
manpage for details.

Also, maybe you can skip the first 58 packages with emerge --resume.

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



Re: [gentoo-user] emerge error...

2005-07-14 Thread Karsten Gebbert

Zac Medico wrote:


Karsten Gebbert wrote:
 


Hello list,

The described error, or failure, always occures when building the 59th
app after emerge --newuse --emptytree system:

   


sys-apps/baselayout-1.11.12-r4
 


and again:

   


!!!Files listed in the manifest do not exist!
files/digest-baselayout-1.12.0-pre1
baselayout-1.12.0_pre1.ebuild
 


Why can it not get the sources and build it? Could this be a problem
within make.conf's known mirrors or so?

KArsten
   



Unfortunately our portage tree rsync system does not handle concurrency well which occasionally 
results in an inconsistent portage snapshot.  If you emerge sync again that should fix it.  
Alteratively, you can use ebuild path to ebuild digest to correct the 
inconsistency yourself.  See the ebuild(1) manpage for details.

Also, maybe you can skip the first 58 packages with emerge --resume.

Zac
 

actually, that works fine! after emerge --sync and another emerge 
system, it seemed to have resumed at the respective point.


cheers,

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