Re: [gentoo-user] Re: 7. Configuring the Kernel

2007-11-18 Thread Dirk Heinrichs
Am Samstag 17 November 2007 schrieb Thufir:
 On Sat, 17 Nov 2007 20:54:41 +, Mick wrote:
  So if you look into /dev/hdb1 while mounted under /boot, can you see a
  file called kernel-has-alsa?

 I don't understand your question, but does this answer it?

No, see below.

 arrakis ~ #
 arrakis ~ # mount
 /dev/hdb3 on / type ext3 (rw,noatime)
 proc on /proc type proc (rw)
 sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
 udev on /dev type tmpfs (rw,nosuid)
 devpts on /dev/pts type devpts (rw,nosuid,noexec)
 /dev/hdb1 on /boot type ext2 (rw)

That show's that /dev/hdb1 is mounted as /boot (which, BTW, is completely 
irrelevant for GRUB). However, once it's mounted, does ls -l /boot show a 
file called kernel-has-alsa? If not, that's your problem. You're trying to 
boot a kernel that doesn't exist on (hd1,0).

I also don't quite get the idea behind having two partitions for /boot (hda1 
and hdb1 in your case). One of them should be sufficient.

 arrakis ~ #
 arrakis ~ # cat /etc/gentoo-release
 Gentoo Base System release 1.12.9
 arrakis ~ #
 arrakis ~ # date
 Sat Nov 17 14:55:04 PST 2007
 arrakis ~ #
 arrakis ~ #

Could you leave this totally irrelevant information out, please. It just 
lengthens the mails w/o being worth a single cent.

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Netfilter TRACE target?

2007-11-18 Thread Eray Aslan
How do you get the TRACE target to work in iptables?

north ~ # /sbin/iptables -t raw -A PREROUTING -j TRACE
iptables v1.3.8: Couldn't load target
`TRACE':/lib/iptables/libipt_TRACE.so: cannot open shared object file:
No such file or directory

Try `iptables -h' or 'iptables --help' for more information.

Sure enough, libipt_TRACE.so is not there:

north ~ # ls -la /lib/iptables/*TRACE*
ls: cannot access /lib/iptables/*TRACE*: No such file or directory

TRACE is enables in the kernel config and extensions use flag is enabled
for iptables:
north ~ # uname -r
2.6.23-gentoo-r1
north ~ # zgrep NETFILTER /proc/config.gz
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
CONFIG_BRIDGE_NETFILTER=y
CONFIG_NETFILTER_NETLINK=y
CONFIG_NETFILTER_NETLINK_QUEUE=y
CONFIG_NETFILTER_NETLINK_LOG=y
CONFIG_NETFILTER_XTABLES=y
CONFIG_NETFILTER_XT_TARGET_CLASSIFY=y
CONFIG_NETFILTER_XT_TARGET_CONNMARK=y
# CONFIG_NETFILTER_XT_TARGET_DSCP is not set
CONFIG_NETFILTER_XT_TARGET_MARK=y
CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m
CONFIG_NETFILTER_XT_TARGET_NFLOG=m
CONFIG_NETFILTER_XT_TARGET_NOTRACK=m
CONFIG_NETFILTER_XT_TARGET_TRACE=y
CONFIG_NETFILTER_XT_TARGET_TCPMSS=y
CONFIG_NETFILTER_XT_MATCH_COMMENT=m
CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m
CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=m
CONFIG_NETFILTER_XT_MATCH_CONNMARK=y
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
CONFIG_NETFILTER_XT_MATCH_DCCP=m
CONFIG_NETFILTER_XT_MATCH_DSCP=m
CONFIG_NETFILTER_XT_MATCH_ESP=m
CONFIG_NETFILTER_XT_MATCH_HELPER=m
CONFIG_NETFILTER_XT_MATCH_LENGTH=y
CONFIG_NETFILTER_XT_MATCH_LIMIT=y
CONFIG_NETFILTER_XT_MATCH_MAC=m
CONFIG_NETFILTER_XT_MATCH_MARK=y
CONFIG_NETFILTER_XT_MATCH_POLICY=m
CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m
CONFIG_NETFILTER_XT_MATCH_PHYSDEV=m
CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m
CONFIG_NETFILTER_XT_MATCH_QUOTA=m
CONFIG_NETFILTER_XT_MATCH_REALM=m
CONFIG_NETFILTER_XT_MATCH_SCTP=m
CONFIG_NETFILTER_XT_MATCH_STATE=y
CONFIG_NETFILTER_XT_MATCH_STATISTIC=m
CONFIG_NETFILTER_XT_MATCH_STRING=m
CONFIG_NETFILTER_XT_MATCH_TCPMSS=y
CONFIG_NETFILTER_XT_MATCH_U32=m
CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m
north ~ # emerge -vp iptables
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-firewall/iptables-1.3.8-r2  USE=extensions -imq
-ipv6 -l7filter -static 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Any ideas? Thank you
-- 
Eray
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: 7. Configuring the Kernel

2007-11-18 Thread Dirk Heinrichs
Am Sonntag 18 November 2007 schrieb Thufir:
 On Sun, 18 Nov 2007 10:45:38 +0100, Dirk Heinrichs wrote:
  That show's that /dev/hdb1 is mounted as /boot (which, BTW, is
  completely irrelevant for GRUB).

 wouldn't GRUB would need that location to use the kernel?

No. GRUB uses its own naming scheme (hdx,y).

  However, once it's mounted, does ls -l
  /boot show a file called kernel-has-alsa?

 Yes:

Errh, no. Look again, please.

 arrakis ~ #
 arrakis ~ # ls /boot/
 kernel-with-alsa

See the difference?

  I also don't quite get the idea behind having two partitions for /boot
  (hda1 and hdb1 in your case). One of them should be sufficient.

 hda1 is from Fedora, hdb1 is from Gentoo.  I started with Fedora, then
 installed Gentoo from the live-CD (networkless).  Yes, I suppose that
 the /boot/ at hda1 is superfluous, but then all of hda is marked for
 deletion :)

Or hdb1, since hda1 was already there and could have been used for both, 
Fedora and Gentoo.

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Re: 7. Configuring the Kernel

2007-11-18 Thread Thufir
On Sun, 18 Nov 2007 10:45:38 +0100, Dirk Heinrichs wrote:

 That show's that /dev/hdb1 is mounted as /boot (which, BTW, is
 completely irrelevant for GRUB).

wouldn't GRUB would need that location to use the kernel?

 However, once it's mounted, does ls -l
 /boot show a file called kernel-has-alsa?

Yes:

arrakis ~ # 
arrakis ~ # ls /boot/
System.map-genkernel-x86-2.6.19-gentoo-r5  kernel-genkernel-x86-2.6.19-
gentoo-r5
boot   kernel-genkernel-x86-2.6.19-
gentoo-r5-2
grub   kernel-with-alsa
initramfs-genkernel-x86-2.6.19-gentoo-r5   lost+found
arrakis ~ # 
arrakis ~ # date
Sun Nov 18 02:40:23 PST 2007
arrakis ~ # 




 If not, that's your
 problem. You're trying to boot a kernel that doesn't exist on (hd1,0).
 
 I also don't quite get the idea behind having two partitions for /boot
 (hda1 and hdb1 in your case). One of them should be sufficient.


hda1 is from Fedora, hdb1 is from Gentoo.  I started with Fedora, then 
installed Gentoo from the live-CD (networkless).  Yes, I suppose that 
the /boot/ at hda1 is superfluous, but then all of hda is marked for 
deletion :)





-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] (more about) portage issues and simple/basic hacks/ideas about how to deal with them ...

2007-11-18 Thread Albretch Mueller
 Hi *,
~
 I have been using different Linux and BSD distros without settling
for any in particular. As it always happens with any other thing
anyway in life you find things you like in one that you don't have in
the other
~
 I like the gentoo way, except for their BSD-like portage system's
attempt to keep everything on the bleeding edge, which seems to me to
be quite a bit stupidly risky. I am thinking here mostly about running
servers
~
 Almost everything else about the portage system I like (even though
reverse dependency checks and all this good stuff would be great to
have)
~
 I have been fancying about a portage-system-like package management
utility that would let me:
~
 1) choose the most Linux stable kernel
~
 2) choose the most stable applications' versions that would dance
well after 1)'s music
~
 3) check all most stable dependencies
~
 4) let me compile a-la portage my custom system (verifying and
keeping the sources ...)
~
 I think this is doable. To me it is just a case of bridging cultures.
You could for example cheat/use the list of packages and dependencies
of the most stable debian release
~
 I love gentoo (specially the hardened gentoo project) and I
understand gentoo does things this way by its very design. Nonetheless
I have also heard endless complaints from gentoo users about portage
~
 I think most probably there exists something like what I have in mind
and/or there are other people that have been thinking about the same
thing
~
 Any clarifications, leads, ideas or comments on it?
~
 In which other way do you think can portage be improved? Especially
for server, HA setups
~
 Thanks
 lbrtchx
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: 7. Configuring the Kernel

2007-11-18 Thread Thufir
On Sun, 18 Nov 2007 12:01:46 +0100, Dirk Heinrichs wrote:

  However, once it's mounted, does ls -l /boot show a file called
  kernel-has-alsa?

 Yes:
 
 Errh, no. Look again, please.
 
 arrakis ~ #
 arrakis ~ # ls /boot/
 kernel-with-alsa
 
 See the difference?



arrakis ~ # 
arrakis ~ # 
arrakis ~ # ls -l /boot/
total 13131
-rw-r--r-- 1 root root  980149 Apr 21  2007 System.map-genkernel-
x86-2.6.19-gentoo-r5
lrwxrwxrwx 1 root root   1 Jul 26 02:45 boot - .
drwxr-xr-x 2 root root1024 Nov 17 21:54 grub
-rw-r--r-- 1 root root 5455004 Apr 21  2007 initramfs-genkernel-
x86-2.6.19-gentoo-r5
-rw-r--r-- 1 root root 2137705 Apr 21  2007 kernel-genkernel-x86-2.6.19-
gentoo-r5
-rw-r--r-- 1 root root 2137705 Nov 17 11:20 kernel-genkernel-x86-2.6.19-
gentoo-r5-2
-rw-r--r-- 1 root root 2658736 Nov 16 23:52 kernel-with-alsa
drwx-- 2 root root   12288 Jul 26 02:36 lost+found
arrakis ~ # 
arrakis ~ # 
arrakis ~ # ls  /boot/
System.map-genkernel-x86-2.6.19-gentoo-r5  kernel-genkernel-x86-2.6.19-
gentoo-r5
boot   kernel-genkernel-x86-2.6.19-
gentoo-r5-2
grub   kernel-with-alsa
initramfs-genkernel-x86-2.6.19-gentoo-r5   lost+found
arrakis ~ # 
arrakis ~ # mount
/dev/hdb3 on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw,nosuid,noexec)
/dev/hdb1 on /boot type ext2 (rw)
none on /dev/shm type tmpfs (rw)
/dev/mapper/VolGroup00-LogVol00 on /mnt/VolGroup00/LogVol00 type ext3 
(rw,noexec,nosuid,nodev)
usbfs on /proc/bus/usb type usbfs 
(rw,noexec,nosuid,devmode=0664,devgid=85)
arrakis ~ # 
arrakis ~ # 



Are you asking whether or not /boot/ has the kernel?  From the above, 
isn't the answer yes?  Or, are you asking about what's mounted?  
Pardon, I don't see a difference.  (Aside from ls -al giving different 
results from ls -l, of course.)




-Thufir

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: 7. Configuring the Kernel

2007-11-18 Thread Dirk Heinrichs
Am Sonntag 18 November 2007 schrieb Thufir:

 Are you asking whether or not /boot/ has the kernel?  From the above,
 isn't the answer yes?

No, from the above the answer is no: It's kernel-with-alsa in /boot 
vs. kernel-has-alsa in your grub.conf.

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: 7. Configuring the Kernel

2007-11-18 Thread Billy Holmes
Thufir wrote:
 -rw-r--r-- 1 root root 2658736 Nov 16 23:52 kernel-with-als

why do you have kernel-WITH-alsa in your /boot, but kernel-HAS-alsa in
your grub.conf? typo? or is there a particular reason?
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] /bin/sh - dash?

2007-11-18 Thread Sean
I'd really like to replace the /bin/sh link to point to a smaller shell,
such as ash or dash instead of the bash default, but that apparently makes
functions.sh _very_ unhappy. Does anyone know of some unbashification
documentation for functions.sh? 

-- 
Sean

  Great Moments in History: #3
  
  August 27, 1949:
A Hall of Fame opened to honor outstanding members of the
Women's Air Corp.  It was a WAC's Museum.


pgpwYnkc1MrpR.pgp
Description: PGP signature


[gentoo-user] Kernel 2.6.22-r9 installation problems

2007-11-18 Thread Jeff Cranmer
I have just tried to install the latest 2.6.22-r9 kernel
I copied the config file across from the present 2.6.17.r8 installed kernel, 
then recompiled.

The grub line which works for the 2.6.17-r8 kernel is:
# For booting GNU/Linux
title  Gentoo Linux 2.6.17-r8
root (hd0,4)
kernel /kernel-2.6.17-gentoo-r8 root=/dev/sda3
#initrd /initrd.img

I created the following grub line for the new kernel
# For booting GNU/Linux
title  Gentoo Linux 2.6.22-r9
root (hd0,4)
kernel /kernel-2.6.22-gentoo-r9 root=/dev/sda3
#initrd /initrd.img

The fstab is as follows
# fs  mountpointtype  optsdump/pass
/dev/sda5   /bootext3   noauto,noatime  1 2
/dev/sda3   /   ext3noatime   0 1
/dev/sda2   none swap   sw  0 0
/dev/dvdrw  /mnt/dvdrw  iso9660   noauto,user 0 0
#/dev/fd0   /mnt/floppy auto  noauto  0 0
/dev/sda7   /mnt/data   ext3  noatime 0 1
/dev/hde1   /mnt/backup ext3  noatime 0 1
proc/proc   procdefaults  0 0
shm /dev/shmtmpfs   nodev,nosuid,noexec   0 0

In other words, the boot directory is at sda5, and the root directory is at 
sda3.  sda3 is the bootable partition.

When I try to access the new kernel, I get the following error text 
(summarised)

Cannot open root device sda3 or unknown block (0,0)
Please append a correct root= boot option.
Here are the available partitions
hde driver: ide-disk
hde1
hdf driver: ide-disk
hdf1
hda driver: ide-cdrom
kernel panic - not syncing: VFS: unable to mount root fs on unknown-block(0,0)

Can anyone point me in the direction of why the new kernel will not boot, 
while the old one boots fine?

Thanks

Jeff
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] pygtk blocking pygobject

2007-11-18 Thread Grant
I get the following message when attempting to emerge world:

dev-python/pygtk-2.9 (is blocking dev-python/pygobject-2.14.0)

I un-emerged pygtk and emerged pygobject but I get the same message
when trying to emerge world.  I did 'equery depends pygtk' and there
are a few packages listed with their python USE.  Should I remove the
python USE flag from those packages?

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] pygtk blocking pygobject

2007-11-18 Thread Albert Hopkins

On Sun, 2007-11-18 at 08:59 -0800, Grant wrote:
 I get the following message when attempting to emerge world:
 
 dev-python/pygtk-2.9 (is blocking dev-python/pygobject-2.14.0)
 
 I un-emerged pygtk and emerged pygobject but I get the same message
 when trying to emerge world.  I did 'equery depends pygtk' and there
 are a few packages listed with their python USE.  Should I remove the
 python USE flag from those packages?

No, you should look at those packages and see which one is depending on
dev-python/pygtk-2.9, which is an older version of pygtk and likely
not compatible with pygobject-2.14, thus the block.

Blindly changing the USE flag may or may not solve the block and could
possibly create even more issues for you.

--
Albert W. Hopkins

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: 7. Configuring the Kernel

2007-11-18 Thread Dan Farrell
On Sat, 17 Nov 2007 23:37:21 + (UTC)
Thufir [EMAIL PROTECTED] wrote:

 e error message is caused by GRUB currently being 
 configured for genkernel.
 
 
 -Thufir
 
 -- 
Thufir,

Grub  does not care what kernel it boots, or what OS it implements or
what partition it is stored on.  Grub only cares about being able to
find the specified kernel file (in *nix's case). A comprehensive list
of grub's requirements follows:
0) run 'grub' from a running system (gentoo boot cd, perhaps) to which
the desired boot hard drive is attached
   a) sprcify the root partition to use (here, 1st hd, 1st partition)
 root (hd0,0)  
   b) set up bootloader on MBR (in this case; could use hd0,0 for part.)
 setup (hd0)
1) configure grub.conf as (hd0,0)/grub/grub.conf == /boot/grub/grub.conf
   a) Specify timeout and default:
default 0
timeout 1 # i am impatient ; )
   b) specify the root filesystem for kernel image.  this doesn't have 
  to correlate with any other partition; you can boot an image from
  any filesystem grub can read.  You could even boot it from 
  /usr/src/linux/arch/i386/boot/bzImage if you liked.  
root (hd0,0)
   c) specify the kernel, and any command line parameters required 
  by it.  
   d) specify an initrd, if necessary.  
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: ALSA, speakers, volume, mute

2007-11-18 Thread Dan Farrell
On Sun, 18 Nov 2007 00:07:50 + (UTC)
Thufir [EMAIL PROTECTED] wrote:

 On Sun, 18 Nov 2007 00:19:34 +0200, Alan McKinnon wrote:
 
  Think about this a little bit. Modern audio hardware has multiple
  inputs and often multiple outputs as well.
  
  You absolutely need to be able to control these independantly,
  because that's the way stuff works.
 
 
 Ah, well, ok.  It just seemed weird to have to hit unmute in
 different places.
 
 
 -Thufir
 

The master mute button should mute everything; in addition, each
control's mute button will  mute only that control.  

Depending on your sound application, the number of volume controls and
mute buttons shown may be more or less irrational.  You might be able
to change the view settings in the program config.  
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: ALSA, speakers, volume, mute

2007-11-18 Thread Alan McKinnon
On Sunday 18 November 2007, Thufir wrote:
 On Sun, 18 Nov 2007 00:19:34 +0200, Alan McKinnon wrote:
  Think about this a little bit. Modern audio hardware has multiple
  inputs and often multiple outputs as well.
 
  You absolutely need to be able to control these independantly,
  because that's the way stuff works.

 Ah, well, ok.  It just seemed weird to have to hit unmute in
 different places.

On the other hand, it IS very frustrating to open up alsamixer after not 
using it for a while, see all those channels and have to figure out all 
over again what each one does :-)

The thing that is really stupid though and freaks me out is when 
notebook manufacturers use hardware with a brazillion channels and only 
two in and one out actually do something (yes Dell, I'm looking at you 
here). Alsa looks at this and gives you a mixer slider for everything 
that is there whether it works or not...

alan


-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] pygtk blocking pygobject

2007-11-18 Thread Grant
  I get the following message when attempting to emerge world:
 
  dev-python/pygtk-2.9 (is blocking dev-python/pygobject-2.14.0)
 
  I un-emerged pygtk and emerged pygobject but I get the same message
  when trying to emerge world.  I did 'equery depends pygtk' and there
  are a few packages listed with their python USE.  Should I remove the
  python USE flag from those packages?

 No, you should look at those packages and see which one is depending on
 dev-python/pygtk-2.9, which is an older version of pygtk and likely
 not compatible with pygobject-2.14, thus the block.

 Blindly changing the USE flag may or may not solve the block and could
 possibly create even more issues for you.

According to their ebuilds, none of them depend on  pygtk anything.
Oh wow, I just realized all that information is printed by portage,
but in white.  Am I the only one with a white terminal background?

app-office/gnumeric-1.6.3 (python? =dev-python/pygtk-2)
gnome-base/gnome-menus-2.18.3-r1 (python? dev-python/pygtk)
gnome-extra/libgsf-1.14.3 (python? =dev-python/pygtk-2.8)
media-gfx/gimp-2.2.17 (python? =dev-python/pygtk-2)
x11-libs/vte-0.16.8 (python? =dev-python/pygtk-2.4)
xfce-extra/exo-0.3.2 (python? dev-python/pygtk)

- Grant
-- 
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] glibc unmerged by accident (solved)

2007-11-18 Thread de Almeida, Valmor F.
 -Original Message-
 From: Neil Bothwick [mailto:[EMAIL PROTECTED]
 
 What's wrong with tar xf glibc-2.6.1.tbz2 -C /mnt/gentoo? It's
worked
 for me in the past when I upgraded to a broken glibc.
 

I was not sure what would happen with other files in some of the
existing directories. Just fear of messing things up even more.

Thanks,

--
Valmor
--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] dev-libs/apr-0.9.12 pulled back by revdep-rebuild

2007-11-18 Thread de Almeida, Valmor F.
 -Original Message-
 From: Neil Bothwick [mailto:[EMAIL PROTECTED]

 It looks like you still have the temporary files from a previous
 revdep-rebuild run, so you don't get to see the list of broken
packages.
 Add --ignore to the command.
 

Indeed there were some left over files and the ignore option fixed it.

Thanks,

--
Valmor
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel 2.6.22-r9 installation problems

2007-11-18 Thread b.n.
Jeff Cranmer ha scritto:
 I have just tried to install the latest 2.6.22-r9 kernel
 I copied the config file across from the present 2.6.17.r8 installed kernel, 
 then recompiled.
[...]
 Can anyone point me in the direction of why the new kernel will not boot, 
 while the old one boots fine?

Didn't you run make oldconfig ? I don't know how safe it is to copy
and use a .config directly between different major revisions of the kernel.

m.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel 2.6.22-r9 installation problems

2007-11-18 Thread Jeff Cranmer
On Sunday 18 November 2007 03:42:53 pm b.n. wrote:
 Jeff Cranmer ha scritto:
  I have just tried to install the latest 2.6.22-r9 kernel
  I copied the config file across from the present 2.6.17.r8 installed
  kernel, then recompiled.

 [...]

  Can anyone point me in the direction of why the new kernel will not boot,
  while the old one boots fine?

 Didn't you run make oldconfig ? I don't know how safe it is to copy
 and use a .config directly between different major revisions of the kernel.

 m.

I did not.  What is the procedure for doing this, and what exactly does it 
accomplish?

Thanks

Jeff
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: 7. Configuring the Kernel

2007-11-18 Thread Thufir
On Sun, 18 Nov 2007 13:48:52 +0100, Dirk Heinrichs wrote:

 Are you asking whether or not /boot/ has the kernel?  From the above,
 isn't the answer yes?
 
 No, from the above the answer is no: It's kernel-with-alsa in /boot
 vs. kernel-has-alsa in your grub.conf.



Thank you,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: 7. Configuring the Kernel

2007-11-18 Thread Thufir
On Sun, 18 Nov 2007 11:04:15 -0500, Billy Holmes wrote:


 why do you have kernel-WITH-alsa in your /boot, but kernel-HAS-alsa in
 your grub.conf? typo? or is there a particular reason?

Typo.  I think it seemed more intimidating than it really is, hence the 
typo.  After correcting the typo, it booted.

I'm going to experiment a bit and then recompile again, though because, 
ironically, the alsa kernel fails to load alsa and the genkernel had 
alsa all along, which was the impetus for the recompile.

In any event, at least I'm learning a bit :)


arrakis ~ # 
arrakis ~ # ll /boot/
total 13131
-rw-r--r-- 1 root root  980149 Apr 21  2007 System.map-genkernel-
x86-2.6.19-gentoo-r5
lrwxrwxrwx 1 root root   1 Jul 26 02:45 boot - .
drwxr-xr-x 2 root root1024 Nov 17 21:54 grub
-rw-r--r-- 1 root root 5455004 Apr 21  2007 initramfs-genkernel-
x86-2.6.19-gentoo-r5
-rw-r--r-- 1 root root 2137705 Apr 21  2007 kernel-genkernel-x86-2.6.19-
gentoo-r5
-rw-r--r-- 1 root root 2137705 Nov 17 11:20 kernel-genkernel-x86-2.6.19-
gentoo-r5-2
-rw-r--r-- 1 root root 2658736 Nov 16 23:52 kernel-has-alsa
drwx-- 2 root root   12288 Jul 26 02:36 lost+found
arrakis ~ # 
arrakis ~ # 
arrakis ~ # cat /boot/grub/grub.conf
default 3
timeout 30
splashimage=(hd1,0)/grub/splash.xpm.gz


#works
#alsa fails
#dhcp fails
title=Gentoo Linux with ALSA
root (hd1,0)
kernel /kernel-has-alsa root=/dev/hdb3 

#works
title=Gentoo Linux
root (hd1,0)
kernel /kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/ram0 
init=/linuxrc ramdisk=8192 real_root=/dev/hdb3 
initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5

#works
title=Gentoo Linux Genkernel 2
root (hd1,0)
kernel /kernel-genkernel-x86-2.6.19-gentoo-r5-2 root=/dev/ram0 
init=/linuxrc ramdisk=8192 real_root=/dev/hdb3 
initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5

#unknown
#needs testing
title=Gentoo Linux Genkernel 3
root (hd1,0)
kernel /kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/hdb3 

#works
title Fedora (2.6.21-1.3228.fc7)
   root (hd0,1)
   kernel /vmlinuz-2.6.21-1.3228.fc7 ro root=LABEL=/ rhgb quiet
   initrd /initrd-2.6.21-1.3228.fc7.img
arrakis ~ # 
arrakis ~ # date
Sun Nov 18 12:45:59 PST 2007
arrakis ~ # 
arrakis ~ # 




thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] dev-libs/apr-0.9.12 pulled back by revdep-rebuild

2007-11-18 Thread de Almeida, Valmor F.
 -Original Message-
 From: Bo Ørsted Andresen [mailto:[EMAIL PROTECTED]
 
 This could be bug #189720 which would mean you need to manually remerge
 slot 1
 of apr and apr-util.
 
 [1] https://bugs.gentoo.org/show_bug.cgi?id=189720

It was actually left over files from a previous revdep-rebuild run. The 
--ignore flag fixed it.

Thanks,

--
Valmor

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] glibc unmerged by accident (solved)

2007-11-18 Thread Neil Bothwick
On Sun, 18 Nov 2007 15:05:24 -0500, de Almeida, Valmor F. wrote:

  What's wrong with tar xf glibc-2.6.1.tbz2 -C /mnt/gentoo? It's  
 worked
  for me in the past when I upgraded to a broken glibc.

 
 I was not sure what would happen with other files in some of the
 existing directories. Just fear of messing things up even more.

There wouldn't be any files to overwrite if you've unmerged glibc!
However you do it, you should emerge glibc, either from source or the
package, once you have a working system.

-- 
Neil Bothwick

Why is bra singular and pants plural?


signature.asc
Description: PGP signature


RE: [gentoo-user] glibc unmerged by accident (solved)

2007-11-18 Thread de Almeida, Valmor F.
 -Original Message-
 From: Neil Bothwick [mailto:[EMAIL PROTECTED]
 
 However you do it, you should emerge glibc, either from source or the
 package, once you have a working system.
 

Yes. After it became operational, still booted from the cd, I did a
total rebuild over the weekend; just to be on the safe side. It is
working and fully upgraded.

Thanks for the inputs.

--
Valmor
--
[EMAIL PROTECTED] mailing list



[gentoo-user] Building all packages except gcc

2007-11-18 Thread ~/Timur Aydin
Hello,

How would I go about rebuilding all installed packages, except gcc? I
suppose I could do emerge --emptytree world, but that would also merge
gcc, which I don't want, because I want to be sure that the whole system
is rebuilt with the same compiler.

Any help is appreciated...

-- 
Timur Aydin
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] pygtk blocking pygobject

2007-11-18 Thread Albert Hopkins

On Sun, 2007-11-18 at 11:01 -0800, Grant wrote:

 
 app-office/gnumeric-1.6.3 (python? =dev-python/pygtk-2)
 gnome-base/gnome-menus-2.18.3-r1 (python? dev-python/pygtk)
 gnome-extra/libgsf-1.14.3 (python? =dev-python/pygtk-2.8)
 media-gfx/gimp-2.2.17 (python? =dev-python/pygtk-2)
 x11-libs/vte-0.16.8 (python? =dev-python/pygtk-2.4)
 xfce-extra/exo-0.3.2 (python? dev-python/pygtk)

Perhaps you can mask pygtk-2.9 and see what's trying to pull it in.
You could also post the exact command you're typing and error message to
give us a better idea of what's going on.
--
Albert W. Hopkins

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Building all packages except gcc

2007-11-18 Thread David Relson
On Mon, 19 Nov 2007 01:19:06 +0200
~/Timur Aydin wrote:

 Hello,
 
 How would I go about rebuilding all installed packages, except gcc? I
 suppose I could do emerge --emptytree world, but that would also
 merge gcc, which I don't want, because I want to be sure that the
 whole system is rebuilt with the same compiler.
 
 Any help is appreciated...
 
 -- 
 Timur Aydin

I'm not an emerge expert but perhaps the following idea will be helpful:

/var/lib/world has a (partial) list of installed packages.  You could
do something like:

  cat /var/lib/world | grep -v /gcc$ | xargs emerge

which would emerge all the packages (except for gcc).  You could add
flags -d to include dependent packages as well.  Of course
dependencies would bring in some packages multiple times, so you might
want to use sort and uniq, which leads to:

  cat cat /var/lib/world | \
  grep -v /gcc$ | \
  xargs emerge -d -p | \
  sort -u | \
  xargs emerge

Hope this idea helps towards a solution for you!

Regards,

David
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] LTSP 5

2007-11-18 Thread sean
Is anyone able to tell me what the status is of Gentoo moving to LTSP 5?

http://wiki.ltsp.org/twiki/bin/view/Ltsp/Ltsp5Status shows Gentoo as not
supported but states work is being done to provide LTSP-5 in the future.

Doing some searches I do not come across any information newer than
eight months old.

So would anyone know if this is still being worked on for inclusion into
Gentoo and portage?

Thanks
Sean
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] LTSP 5

2007-11-18 Thread Jerry McBride
On Sunday 18 November 2007 08:38:04 pm sean wrote:
 Is anyone able to tell me what the status is of Gentoo moving to LTSP 5?

 http://wiki.ltsp.org/twiki/bin/view/Ltsp/Ltsp5Status shows Gentoo as not
 supported but states work is being done to provide LTSP-5 in the future.

 Doing some searches I do not come across any information newer than
 eight months old.

 So would anyone know if this is still being worked on for inclusion into
 Gentoo and portage?

   Thanks
   Sean

LTSP is in portage now... at version 4.2. There are no operation features in 
LTSP 5.0 that would drive you to use it. I haven't visited bugs.gentoo.org to 
check on a 5.0 request yet... Since you want/need it, why don;t you post one?

-- 


From the Desk of: Jerome D. McBride
--
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Building all packages except gcc

2007-11-18 Thread Miernik
David Relson [EMAIL PROTECTED] wrote:
 /var/lib/world has a (partial) list of installed packages.  You could
 do something like:
 
  cat /var/lib/world | grep -v /gcc$ | xargs emerge

???

przehyba ~ # cat /var/lib/world
cat: /var/lib/world: No such file or directory
przehyba ~ # uname -a
Linux przehyba 2.6.22-gentoo-r9 #1 SMP Fri Nov 9 22:38:35 CET 2007 x86_64 AMD 
Athlon(tm) 64 X2 Dual Core Processor 4000+ AuthenticAMD GNU/Linux
przehyba ~ #

-- 
Miernik
http://miernik.name/

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Building all packages except gcc

2007-11-18 Thread Sean
On Mon, Nov 19, 2007 at 03:14:47AM +0100, Miernik wrote:
 David Relson [EMAIL PROTECTED] wrote:
  /var/lib/world has a (partial) list of installed packages.  You could
  do something like:
  
   cat /var/lib/world | grep -v /gcc$ | xargs emerge
 
 ???
 
 przehyba ~ # cat /var/lib/world
 cat: /var/lib/world: No such file or directory
 przehyba ~ # uname -a
 Linux przehyba 2.6.22-gentoo-r9 #1 SMP Fri Nov 9 22:38:35 CET 2007 x86_64 AMD 
 Athlon(tm) 64 X2 Dual Core Processor 4000+ AuthenticAMD GNU/Linux
 przehyba ~ #

/var/lib/portage/world

-- 
Sean

  The PILLSBURY DOUGHBOY is CRYING for an END to BURT REYNOLDS movies!!


pgpGlyxasHUkG.pgp
Description: PGP signature


Re: [gentoo-user] Re: Building all packages except gcc

2007-11-18 Thread Michael Sullivan
On Mon, 2007-11-19 at 03:14 +0100, Miernik wrote:
 David Relson [EMAIL PROTECTED] wrote:
  /var/lib/world has a (partial) list of installed packages.  You could
  do something like:
  
   cat /var/lib/world | grep -v /gcc$ | xargs emerge
 
 ???
 
 przehyba ~ # cat /var/lib/world
 cat: /var/lib/world: No such file or directory
 przehyba ~ # uname -a
 Linux przehyba 2.6.22-gentoo-r9 #1 SMP Fri Nov 9 22:38:35 CET 2007 x86_64 AMD 
 Athlon(tm) 64 X2 Dual Core Processor 4000+ AuthenticAMD GNU/Linux
 przehyba ~ #
 
/var/lib/portage/world
 -- 
 Miernik
 http://miernik.name/
 

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Building all packages except gcc

2007-11-18 Thread W.Kenworthy
emerge world -ep  buildfile
edit buildfile and do some search and replaces on each line.

[ebuild   R   ] sys-libs/gpm-1.20.1-r5  
[ebuild   R   ] sys-libs/ncurses-5.6-r1

becomes
emerge =sys-libs/gpm-1.20.1-r5  \ 
emerge =sys-libs/ncurses-5.6-r1  \
and so on

Make sure there are no spaces after the \

Run the file using sh buildfile.  If an emereg stops, just edit the
file deleting or comment the completed builds and restartinmg it.

BillK


On Sun, 2007-11-18 at 21:20 -0500, Sean wrote:
 On Mon, Nov 19, 2007 at 03:14:47AM +0100, Miernik wrote:
  David Relson [EMAIL PROTECTED] wrote:
   /var/lib/world has a (partial) list of installed packages.  You could
   do something like:
   
cat /var/lib/world | grep -v /gcc$ | xargs emerge
  
  ???
  
  przehyba ~ # cat /var/lib/world
  cat: /var/lib/world: No such file or directory
  przehyba ~ # uname -a
  Linux przehyba 2.6.22-gentoo-r9 #1 SMP Fri Nov 9 22:38:35 CET 2007 x86_64 
  AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ AuthenticAMD GNU/Linux
  przehyba ~ #
 
 /var/lib/portage/world
 
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Building all packages except gcc

2007-11-18 Thread Kenneth Prugh
On Mon, 19 Nov 2007 01:19:06 +0200
~/Timur Aydin [EMAIL PROTECTED] wrote:

 Hello,
 
 How would I go about rebuilding all installed packages, except gcc? I
 suppose I could do emerge --emptytree world, but that would also
 merge gcc, which I don't want, because I want to be sure that the
 whole system is rebuilt with the same compiler.
 
 Any help is appreciated...
 

If you have eix installed...

emerge -av $(eix -Icn --only-names | grep -v gcc)

-- 
Ken


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Kernel 2.6.22-r9 installation problems

2007-11-18 Thread Jeff Cranmer
Well, I tried this, and didn't see any additional options which would explain 
the error.  After copying the newly compiled kernel into the boot directory 
and re-running grub-install, I still get the same kernel panic error.

I wonder what else could be going on which could explain this?

Jeff

On Sunday 18 November 2007 05:00:12 pm »Q« wrote:
 Jeff Cranmer [EMAIL PROTECTED] wrote:
  On Sunday 18 November 2007 03:42:53 pm b.n. wrote:
   Jeff Cranmer ha scritto:
I have just tried to install the latest 2.6.22-r9 kernel
I copied the config file across from the present 2.6.17.r8
installed kernel, then recompiled.
  
   [...]
  
Can anyone point me in the direction of why the new kernel will
not boot, while the old one boots fine?
  
   Didn't you run make oldconfig ? I don't know how safe it is to
   copy and use a .config directly between different major revisions
   of the kernel.
 
  I did not.  What is the procedure for doing this, and what exactly
  does it accomplish?

 Copy the old .config file to /usr/src/[new kernel directory], and run
 'make oldconfig' in that directory.  It picks out the changes and
 prompts you to decide what to do about them.  After that, IMO it's a
 good idea to use 'make menuconfig' or 'make xconfig' to make sure the
 new config makes sense before compiling the new kernel;  this is
 especially important if any of the questions asked by oldconfig didn't
 quite make sense to you.
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Kernel 2.6.22-r9 installation problems

2007-11-18 Thread Danis Petkakis
i think that sda option might be removed for newer kernels and that you
should go along
with hdx...when you boot and you get the grub screen choose the entry of
your new kernel
and type e so that you can edit that entry...then you have to choose the
appropriate root
partition to boot with...i think that pressing tab button will show you
the available options even
when you're in edit mode...otherwise you should boot for example with the
new knoppix livecd and
see how your partitions are recognized...

On 19/11/2007, Jeff Cranmer [EMAIL PROTECTED] wrote:

 Well, I tried this, and didn't see any additional options which would
 explain
 the error.  After copying the newly compiled kernel into the boot
 directory
 and re-running grub-install, I still get the same kernel panic error.

 I wonder what else could be going on which could explain this?

 Jeff

 On Sunday 18 November 2007 05:00:12 pm »Q« wrote:
  Jeff Cranmer [EMAIL PROTECTED] wrote:
   On Sunday 18 November 2007 03:42:53 pm b.n. wrote:
Jeff Cranmer ha scritto:
 I have just tried to install the latest 2.6.22-r9 kernel
 I copied the config file across from the present 2.6.17.r8
 installed kernel, then recompiled.
   
[...]
   
 Can anyone point me in the direction of why the new kernel will
 not boot, while the old one boots fine?
   
Didn't you run make oldconfig ? I don't know how safe it is to
copy and use a .config directly between different major revisions
of the kernel.
  
   I did not.  What is the procedure for doing this, and what exactly
   does it accomplish?
 
  Copy the old .config file to /usr/src/[new kernel directory], and run
  'make oldconfig' in that directory.  It picks out the changes and
  prompts you to decide what to do about them.  After that, IMO it's a
  good idea to use 'make menuconfig' or 'make xconfig' to make sure the
  new config makes sense before compiling the new kernel;  this is
  especially important if any of the questions asked by oldconfig didn't
  quite make sense to you.
 --
 [EMAIL PROTECTED] mailing list




Re: [gentoo-user] Kernel 2.6.22-r9 installation problems

2007-11-18 Thread Billy Holmes
Jeff Cranmer wrote:
 Cannot open root device sda3 or unknown block (0,0)
 Please append a correct root= boot option.
 Here are the available partitions
   

run make menuconfig in your new kernel dir.

check to ensure ext3 is compiled in. (not sure why it wouldn't be)

check to make sure you've got udev or devfs installed properly in both
kernels (maybe one isn't defined in the kernel, and the old kernel had
it). I'd really try to ensure you're running udev and not devfs, but
first things first.

IF SATA:
Make sure the proper SATA options are the same for each kernel. There's
one SATA option that isn't compatible with another SATA option. (it
could be fixed in newer kernels by now)

IF SCSI:
Make sure all your SCSI options are the same for each kernel.

also you can compare the two configs of each kernel.

Compare Option #1:

# diff -u kernel-old/.config kernel-new/.config

Compare Option #2:

# vimdiff kernel-old/.config kernel-new/.config


You can also pipe #1 through less (or more).
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: 7. Configuring the Kernel

2007-11-18 Thread Billy Holmes
Thufir wrote:
 I'm going to experiment a bit and then recompile again, though because, 
 ironically, the alsa kernel fails to load alsa and the genkernel had 
 alsa all along, which was the impetus for the recompile.
   

alsa, at least to me, is some sort of dark magic. Once I get it to work,
I leave it alone. Some of the issues maybe due to the limited driver
support for my chipset. hda-intel. One one system, I had to remove alsa
from the kernel and install the alsa-driver package. On another
computer, I could set the right kernel options and it worked.

I've noticed that once you update kernels, you'll have to redo your
volume settings sometimes.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] (more about) portage issues and simple/basic hacks/ideas about how to deal with them ...

2007-11-18 Thread Billy Holmes
Albretch Mueller wrote:
 be quite a bit stupidly risky. I am thinking here mostly about running
 servers
   

on servers, I am VERY selective about what gets updated with portage. I
have even added package versions to portage.mask in order to keep things
from upgrading (such as php4 vs php5). Also, reading the ChangeLogs are
very important for a server install.

There was talk at one point to introduce a server portage tree, which
would probably have less bleeding edge packages. In my opinion, it would
at the very least have immediate critical updates, and a 60 or 90 day
delay from new ebuilds to migrate to stable ebuilds. The who or why or
how regarding critical patch backporting is another can of worms that I
have no idea where to start.

Would I use such a tree? Maybe. If I did, it would be for a very
specific machine which I knew would have little updates. If it ain't
broke, don't fix it. - those machines.

  1) choose the most Linux stable kernel
   

I would think this is mostly subjective, based on your driver selection.
Some configurations of hardware may talk better to newer versions of
drivers (I have a couple of wireless cards where this is very true).

  2) choose the most stable applications' versions that would dance
 well after 1)'s music
   

again, I think this is very subjective. For applications, it's mainly
due to package age. If it's old and doesn't have critical security
patches, then it's stable. There are plenty of distros which actually
BACKPORT security patches to OLD packages. These same groups of distros
don't always agree which version is the stable one.

  3) check all most stable dependencies
   

again. you're trying to deduce most stable via some metric of which
there is no standard nor defacto method.

Gentoo, from what I've seen uses the 30-day metric. Once an updated
ebuild has been released into the production portage tree, it takes at
least 30 days for that ebuild to migrate to stable in x86 that's ~x86
to x86 for ACCEPT_KEYWORDS or /etc/portage/package.keywords. I'm sure
there are other factors which could delay that to greater than 30 days.

  I think this is doable. To me it is just a case of bridging cultures.
 You could for example cheat/use the list of packages and dependencies
 of the most stable debian release
   

I think you're asking a lot of the current portage and package
maintainers. Having a portage tree designed with this layout would
require some type of decision making and possible backporting of code to
older versions. Those two things bother me on two levels:

1) I like gentoo, because it gives me plenty of choices. If I choose to
shoot my box in the harddrive by installing package 123, then so be it.
It's my harddrive (or one I control). A stable tree takes control away
from me due to another body making saner decisions. In reality, if I
had to choose between this supposed stable tree or the original
tree, I'm probably going to choose the original. This is one of the
reasons I stopped installing redhat - even on some production machines.

2) Without a rather large QA group, I'm not sure how much better a
backport or critical patches would be compared to the actual updated
version from the upstream. There's LOTS of packages, and the upstream
developers for most package understand their packages better than a
maintainer. I also feel this type of setup would be putting a bit more
liability on the gentoo maintainers that they might be prepared to take
on. Especially the ones that don't get paid :)


I'd also like to point out that not every linux distro has to be an
EVERYTHING or EVERYONE distro. I really don't think it's possible
really, as the very nature of making one distro EVERY-whatever imposes
restrictions and limitations that some people will shy away from.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] pygtk blocking pygobject

2007-11-18 Thread Billy Holmes
Grant wrote:
 but in white.  Am I the only one with a white terminal background?
   

back in my day, we didn't have colored backgrounds! A GUI was putting
the printed cardboard mapping sheet on the keyboard for your word processor.
-- 
[EMAIL PROTECTED] mailing list