Re: [gentoo-user] Can't install Gentoo on Dell Inspiron 530

2007-08-24 Thread Mick
On Friday 24 August 2007, Walter Dnes wrote:
   I got a shiny new Dell Inspiron from the PC fairy.  Windows Vista
 works OK (at least good enough for Windows).  It does not want to be
 formattedg.  I insert the latest minimal install CD, and things start
 off OK at the beginning of the boot process.  *THE USB KEYBOARD WORKS OK
 AT THE BEGINNING*  I can type in gentoo or gentoo-nofb.  

Could you try passing to the kernel the keyboard parameter at this stage?  I 
am thinking of something like:

gentoo keyboard=gb or keyboard=41, or whatever.
-- 
Regards,
Mick


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


Re: [gentoo-user] Re: i586 install

2007-08-24 Thread Mick
On Friday 24 August 2007, James wrote:
 Sarpy Sam sarpy.sam at gmail.com writes:
   #0
   title=kernel-2.6.21-gentoo-r4
   root(hd0,1)

Change this to:  

root (hd0,0)

if you have installed Grub's fs in your /dev/hda1.  If your Grub root is 
in /dev/hda3 then you need (hd0,2).  Use find from the command line to see 
where your Grub root has been installed (see below).

BTW, unless you are dual booting with MS Windows you do not need a boot flag, 
even more so two boot flags!

   kernel /boot/kernel-2.6.21-gentoo-r4 root=/dev/hda3
   #0
   title=kernel-2.6.21-gentoo-r4
   root(hd0,1)
   kernel /boot/kernel-2.6.21-gentoo-r4 root=/dev/hda1
 
  Grub method of numbering has always confused me but I thought that
  root(hd0,1) would point to the hda2 partition which is the swap
  partition.  Shouldn't it be root(hd0,0) to point it to the hda1
  partition?  I could easily be wrong but that is what I would try.

 actually the above is what I tried first,
 the last few attempts have been:

  root(hd0,0)

add a space after root. 

 After I made that change, I even reemerged  grub
 and even used the grub shell..

The Grub shell is a very good way of finding where the Grub fs has been 
installed.  From a root shell run:

# grub
grub find /boot/grub/stage1
 (hd0,X)
grub

Where X is the partition number in Grub's nomenclature that your Grub root 
resides.

Good luck.

-- 
Regards,
Mick


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


Re: [gentoo-user] i586 install

2007-08-24 Thread Neil Bothwick
On Thu, 23 Aug 2007 17:00:26 + (UTC), James wrote:

 The ide disk setup is very simple:
 fdisk /dev/hda
 #   Device BootStartEnd  Blocks   Id  System
 # /dev/hda1   *  1 50  401593+  83  Linux
 # /dev/hda2 51 185 1084387+  82  Linux swap
 # /dev/hda3   * 186 243418065092+  83  Linux

Is hda1 /boot and hda3 the root partition?

 #0
 title=kernel-2.6.21-gentoo-r4
 root(hd0,1)
 kernel /boot/kernel-2.6.21-gentoo-r4 root=/dev/hda3
 #0
 title=kernel-2.6.21-gentoo-r4
 root(hd0,1)
 kernel /boot/kernel-2.6.21-gentoo-r4 root=/dev/hda1

If so, this is all wrong. /boot is not mounted, so GRUB cannot find the
kernel in (hd0,x)/boot (unless you have it symlinked to itself) and
(hd0,1) is your swap partition anyway.

root (hd0,0)
kernel /kernel-2.6.21-gentoo-r4...

would find the kernel correctly. If in any doubt, use
find /kernel-2.6.21-gentoo-r4 in the GRUB shell.

Incidentally, if you use make install to install your kernels, and set
up grub to use kernel /vmlinuz you don't need to update GRUB each time
you update your kernel, because vmlinuz will always be a symlink to the
latest.


-- 
Neil Bothwick

The Japanese call us lazy, but at least we cook our fish!


signature.asc
Description: PGP signature


Re: [gentoo-user] removing old kernels from system

2007-08-24 Thread Neil Bothwick
On Thu, 23 Aug 2007 14:22:03 -0400, Denis wrote:

 Indeed, the old
 kernel directories were still in /usr/src, and they were still filled
 with executables.  The modules for the old kernels in /lib/modules
 were also still there.  I ended up removing all those directories by
 hand.

emerge --unmerge only removes files installed by portage, which is the
kernel source in this case. Files created outside of portage, when you
compile the kernel, are not included in the packages' contents files and
so remain until you delete them manually. The same applies to modules and
kernels.

 Is there a tool for automatically removing the old kernels/modules and
 all their respective directories?

I use this script to do it, saved as /usr/src/prunekernels.

#!/bin/bash

# clean /lib/modules
cd /lib/modules
ls -1rt | head -n -2 | xargs --no-run-if-empty rm -fr

# clean /boot
grep --quiet /boot /etc/fstab  mount /boot -o remount,rw
cd /boot
ls -1rt config-* | head -n -2 | while read f; do
bzip2 -9 $f
mv $f.bz2 oldconfigs/
done

ls -1rt System.map-* | head -n -2 | xargs --no-run-if-empty rm -f
if [ -f vmlinux ]; then
ls -1rt vmlinux-* | head -n -2 | xargs --no-run-if-empty rm -f
else
ls -1rt vmlinuz-* | head -n -2 | xargs --no-run-if-empty rm -f
fi

# clean /usr/src
cd /usr/src
ls -1drt linux-* | head -n -2 | xargs --no-run-if-empty rm -fr
equery --quiet list gentoo-sources | head -n -2 | xargs --no-run-if-empty 
emerge --unmerge /dev/null

grep --quiet /boot /etc/fstab  mount /boot -o remount,ro


-- 
Neil Bothwick

Yes, I am an agent of Satan, but my duties are largely ceremonial.


signature.asc
Description: PGP signature


[gentoo-user] Setting up sftp and user permissions

2007-08-24 Thread Mick
Hi All,

I have a desktop box which I am starting to use as a LAN server.  I created a 
new user and noticed that:

a) The new user is asked to login with passwd as opposed to pubkey.  This is 
surprising as (I thought) that I had set up sshd_config to allow pubkey 
authentication only - need to check this again when I get home.  Other than a 
misconfigured sshd_config could it be anything else that causes this?

b) Once logged in via sftp the new user can read and access other users files.  
This is because the default permission setting for /home/%u/ is 0644 
(rw-r--r--).  Is there a clever way of tightening this down without messing 
up all home file and directory permissions indiscriminately?

I understand that there are many ways to skin a cat - in this case to contain 
somewhat what a plain user can and cannot do when they log in via sftp.  Some 
ideas that I have across are to use a limited shell like rssh, use an ssh 
chroot, modify the umask for user directories.

I am interested to find out what you might have tried and what you would 
recommend.
-- 
Regards,
Mick


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


[gentoo-user] About the expat update and such

2007-08-24 Thread Alex Schuster
Hi there!

The last expat update was an example of something that annoys me about 
gentoo. I usually do world updates every few days, mostly without 
trouble. I only tend to forget to restart services, but even for this 
there is an automatic solution now (see the recent Rolling upgrades 
thread). I have even compiled X.org or a new KDE while having KDE 
running.

But then, there are things like the expat update. This happens seldomly, 
but if it does, it's rather annoying. Maybe I have become too comfortable 
with updating along the way, while working with the system, but usually 
it works fine. But in the case of expat, I got a message _after_ it was 
updated that I have to revdep-rebuild some stuff (and I know I should 
read these messages, but at first I just did not notice until the first 
problems hapened).

In the meantime, much of the system just does not work any more. It took 
me two days on a not-so-fast PC until revdep-rebuild was done (skipping 
koffice) and I had kmail running again. It was no big problem, I had the 
time, and had downgraded expat before when I needed my whole system, but 
still.

So, what I would like is some way of being informed that the next update 
of some software would cause major trouble and break many things, leaving 
the system possibly unusable for a while, and the choice of not doing so 
until I have the time to deal with it. Something like a --force option to 
emerge, without which things like expat would not be updated.

I know, it's not that simple to decide which updates are that critical, 
but I think at least in the case of expat we agree that this was a 
problem, as e.g. whole KDE was affected.

A soution might be to slot expat, and issue a 
revdep-rebuild --library=/usr/lib/libexpat.so.0.5.0 afterwards. This 
makes all the not-yet-broken apps use the new version, which could be 
unmerged afterwards. In the meantime, all would be working fine.

What do you think?

Alex
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] About the expat update and such

2007-08-24 Thread Florian Philipp
Am Freitag 24 August 2007 14:13:23 schrieb Alex Schuster:
 Hi there!

 The last expat update was an example of something that annoys me about
 gentoo. I usually do world updates every few days, mostly without
 trouble. I only tend to forget to restart services, but even for this
 there is an automatic solution now (see the recent Rolling upgrades
 thread). I have even compiled X.org or a new KDE while having KDE
 running.

 But then, there are things like the expat update. This happens seldomly,
 but if it does, it's rather annoying. Maybe I have become too comfortable
 with updating along the way, while working with the system, but usually
 it works fine. But in the case of expat, I got a message _after_ it was
 updated that I have to revdep-rebuild some stuff (and I know I should
 read these messages, but at first I just did not notice until the first
 problems hapened).

 In the meantime, much of the system just does not work any more. It took
 me two days on a not-so-fast PC until revdep-rebuild was done (skipping
 koffice) and I had kmail running again. It was no big problem, I had the
 time, and had downgraded expat before when I needed my whole system, but
 still.

 So, what I would like is some way of being informed that the next update
 of some software would cause major trouble and break many things, leaving
 the system possibly unusable for a while, and the choice of not doing so
 until I have the time to deal with it. Something like a --force option to
 emerge, without which things like expat would not be updated.

 I know, it's not that simple to decide which updates are that critical,
 but I think at least in the case of expat we agree that this was a
 problem, as e.g. whole KDE was affected.

 A soution might be to slot expat, and issue a
 revdep-rebuild --library=/usr/lib/libexpat.so.0.5.0 afterwards. This
 makes all the not-yet-broken apps use the new version, which could be
 unmerged afterwards. In the meantime, all would be working fine.

 What do you think?

   Alex

I definitely agree with you. 

Until it's done I suggest two ways of handling it:
1. Check if any update seems to be bigger (like expat from 1.9 to 2.1)
2. Make it your general rule to wait two days between emerge --sync and 
emerge -uD world (except of critical updates). That way you can watch the 
mailing list for the trouble that awaits you. 


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


Re: [gentoo-user] About the expat update and such

2007-08-24 Thread Etaoin Shrdlu
On Friday 24 August 2007, Florian Philipp wrote:

  What do you think?
 
  Alex

 I definitely agree with you.

 Until it's done I suggest two ways of handling it:
 1. Check if any update seems to be bigger (like expat from 1.9 to 2.1)
 2. Make it your general rule to wait two days between emerge --sync
 and emerge -uD world (except of critical updates). That way you can
 watch the mailing list for the trouble that awaits you.

I agree too. The information that a certain new or upgraded package might 
break something and/or require special actions (like eg revdep-rebuild) 
can usually be known in advance (the warning messages are in the ebuild, 
after all), so imho a very simple yet effective solution could be to 
somehow mark or flag those packages before they are installed. 

One place to do this could be in the output of emerge -uDavnt world 
(before the user hits y!), another in the eix-sync summary that is 
usually displayed after the sync (this only for those who use eix-sync, 
of course). I'm sure the devs could find many other good (and probably 
better) ways to do this.
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] [OT] xorg.conf gui editor

2007-08-24 Thread Daniel Iliev
Hi, list

I came across an article [1] about xorg.conf gui editor developed by
Ubuntu. I just thought some of you might be interested in reading more
about this and someone could even put a request for including that tool
in Gentoo.


[1] http://fosswire.com/2007/08/17/ubuntu-getting-xorgconf-gui/

-- 
Best regards,
Daniel
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] About the expat update and such

2007-08-24 Thread Mick
On Friday 24 August 2007, Alex Schuster wrote:
 Hi there!

 The last expat update was an example of something that annoys me about
 gentoo. I usually do world updates every few days, mostly without
 trouble. I only tend to forget to restart services, but even for this
 there is an automatic solution now (see the recent Rolling upgrades
 thread). I have even compiled X.org or a new KDE while having KDE
 running.

 But then, there are things like the expat update. This happens seldomly,
 but if it does, it's rather annoying. Maybe I have become too comfortable
 with updating along the way, while working with the system, but usually
 it works fine. But in the case of expat, I got a message _after_ it was
 updated that I have to revdep-rebuild some stuff (and I know I should
 read these messages, but at first I just did not notice until the first
 problems hapened).

I can't but agree with you.  You have become too comfortable!  :))

I am happy that major system (well, desktop) downtime does not happen more 
often. I was running ~x86 for about a year, more than four years ago and 
breakages were a weekly if not a daily occurrence.  Running stable these days 
is quite . . . stable(!) with incidents like this taking place less than once 
a year.  On the other hand, I have a box that I don't want to take off line 
to do this update/upgrade beacuse it is slow and will take the best part of 3 
days to complete.  Will have to wait for the holiday weekend to get it done.

I bet this is not something your average MS Windows user have to concern 
themselves with - but they are not running a meta-distribution, right?  ;)

 So, what I would like is some way of being informed that the next update
 of some software would cause major trouble and break many things, leaving
 the system possibly unusable for a while, and the choice of not doing so
 until I have the time to deal with it. Something like a --force option to
 emerge, without which things like expat would not be updated.

YES PLEASE!  I would really appreciate a formal heads up, a couple of weeks in 
advance, along with instructions if need be; e.g. like the GCC upgrade.

 I know, it's not that simple to decide which updates are that critical,
 but I think at least in the case of expat we agree that this was a
 problem, as e.g. whole KDE was affected.

I'd say that toolchain, (big) Display Environments, and Xorg can cause 
significant disruption and therefore I would include them in a 'early 
warning' system for gentoo upgrades.

 A soution might be to slot expat, and issue a
 revdep-rebuild --library=/usr/lib/libexpat.so.0.5.0 afterwards. This
 makes all the not-yet-broken apps use the new version, which could be
 unmerged afterwards. In the meantime, all would be working fine.

 What do you think?

Not sure that would add anything.  You would still need to emerge and remerge 
a lorry load of packages at the end.
-- 
Regards,
Mick


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


Re: [gentoo-user] About the expat update and such

2007-08-24 Thread William Kenworthy
On Fri, 2007-08-24 at 14:13 +0200, Alex Schuster wrote:
 Hi there!

 But then, there are things like the expat update. This happens seldomly, 
 but if it does, it's rather annoying. Maybe I have become too comfortable 

I'm all for comfort - I remember back in the old gentoo 1.1b days - back
then world upgrades were an adventure ...

The numerous gcc and glibc adventures we went through at the time make
the expat one seem ... tame!

BillK

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Setting up sftp and user permissions

2007-08-24 Thread Sean Johnson
a) The new user is asked to login with passwd as opposed to pubkey.  This is 
surprising as (I thought) that I had set up sshd_config to allow pubkey 
authentication only - need to check this again when I get home.  Other than a 
misconfigured sshd_config could it be anything else that causes this?


If you want to disable password based logons, and only use shared keys, 
then change UsePAM yes to UsePAM no.


b) Once logged in via sftp the new user can read and access other users files.  
This is because the default permission setting for /home/%u/ is 0644 
(rw-r--r--).  Is there a clever way of tightening this down without messing 
up all home file and directory permissions indiscriminately?


chmod 700 /home/*

I understand that there are many ways to skin a cat - in this case to contain 
somewhat what a plain user can and cannot do when they log in via sftp.  Some 
ideas that I have across are to use a limited shell like rssh, use an ssh 
chroot, modify the umask for user directories.


I am interested to find out what you might have tried and what you would 
recommend.


If you're that worried about them having shell access, then don't use 
sftp. Use encrypted ftp (ftp + tls ... pureftpd provides this) for file 
transfers, or even webdav over https.


-Sean
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] About the expat update and such

2007-08-24 Thread Rumen Yotov

William Kenworthy wrote:

On Fri, 2007-08-24 at 14:13 +0200, Alex Schuster wrote:
  

Hi there!



  
But then, there are things like the expat update. This happens seldomly, 
but if it does, it's rather annoying. Maybe I have become too comfortable 



I'm all for comfort - I remember back in the old gentoo 1.1b days - back
then world upgrades were an adventure ...

The numerous gcc and glibc adventures we went through at the time make
the expat one seem ... tame!

BillK

  

Hi,
The 'new' news module might come handy here.
IIRC there's a work to include it in portage (not very sure tough).
Paludis already has it, after a sync you get a message about new 'news' 
items.

HTH. Rumen
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] About the expat update and such

2007-08-24 Thread Alex Schuster
Mick writes:

 On Friday 24 August 2007, Alex Schuster wrote:

  But then, there are things like the expat update. This happens
  seldomly, but if it does, it's rather annoying. Maybe I have become
  too comfortable with updating along the way, while working with the
  system, but usually it works fine. But in the case of expat, I got a
  message _after_ it was updated that I have to revdep-rebuild some
  stuff (and I know I should read these messages, but at first I just
  did not notice until the first problems hapened).

 I can't but agree with you.  You have become too comfortable!  :))

:-)

 I am happy that major system (well, desktop) downtime does not happen
 more often. I was running ~x86 for about a year, more than four years
 ago and breakages were a weekly if not a daily occurrence.  Running
 stable these days is quite . . . stable(!) with incidents like this
 taking place less than once a year.  On the other hand, I have a box
 that I don't want to take off line to do this update/upgrade beacuse it
 is slow and will take the best part of 3 days to complete.  Will have
 to wait for the holiday weekend to get it done.

I also have two systems for wich I haves masked expat-2, as I only have 
remote access to them at the moment. There should be no problem, but I am 
not entirely sure, and prefer to be there when upgrading.

 I bet this is not something your average MS Windows user have to
 concern themselves with - but they are not running a meta-distribution,
 right?  ;)

Right. But even with a meta-distribution downtimes are not really 
necessary I think, so why not tune the updating process a little bit.


  A soution might be to slot expat, and issue a
  revdep-rebuild --library=/usr/lib/libexpat.so.0.5.0 afterwards. This
  makes all the not-yet-broken apps use the new version, which could be
  unmerged afterwards. In the meantime, all would be working fine.
 
  What do you think?

 Not sure that would add anything.  You would still need to emerge and
 remerge a lorry load of packages at the end.

Sure. But I don't mind remerging stuff as long as I can still use my 
system.

Alex
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] About the expat update and such

2007-08-24 Thread Bo Ørsted Andresen
On Friday 24 August 2007 14:13:23 Alex Schuster wrote:
 So, what I would like is some way of being informed that the next update
 of some software would cause major trouble and break many things, leaving
 the system possibly unusable for a while, and the choice of not doing so
 until I have the time to deal with it. Something like a --force option to
 emerge, without which things like expat would not be updated.

 I know, it's not that simple to decide which updates are that critical,
 but I think at least in the case of expat we agree that this was a
 problem, as e.g. whole KDE was affected.

 A soution might be to slot expat, and issue a
 revdep-rebuild --library=/usr/lib/libexpat.so.0.5.0 afterwards. This
 makes all the not-yet-broken apps use the new version, which could be
 unmerged afterwards. In the meantime, all would be working fine.

Till now I've seen four proposed solutions for this. Two of those are for 
informing the user before the upgrade and the other two are technical 
solutions.

1) GLEP 42. Post-sync notification via eselect news.
2) pkg_pretend() in the ebuild which runs at pretend time and is able to
   notify the user if required.
3) Do proper slotting.
4) preserve_old_lib*() from eutils.eclass. Preserve the .so only and notify
   the user to run revdep-rebuild --library.. and remove the old lib.

I for one am in favour of all of 1), 2) and 3).

1) has been agreed upon but noone skilled enough has found the motivation to 
make it work with portage. 2) might be agreed upon if the EAPI ever starts 
moving again.. 3) and 4) are claimed to have unfortunate side effects, but 
I'm not sure whether that has to be correct (depending on how it's done), and 
I'm not sure it's any worse than the current situation anyway.

-- 
Bo Andresen


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


Re: [gentoo-user] Setting up sftp and user permissions

2007-08-24 Thread Alex Schuster
Mick writes:

 I understand that there are many ways to skin a cat - in this case to
 contain somewhat what a plain user can and cannot do when they log in
 via sftp.  Some ideas that I have across are to use a limited shell
 like rssh, use an ssh chroot, modify the umask for user directories.

I am using net-misc/scponly, a tiny pseudoshell which only permits scp and 
sftp.

http://www.sublimation.org/scponly/

Alex
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] dhcp connect problem

2007-08-24 Thread Thierry de Coulon
Hello,

Trying to show that we could use Linux in our chool, I am trying to connect a 
machine per wifi to a rather Macintosh oriented network.

I know I can connect from a (PC) laptop running Mac OS, and the Linux machine 
is so far that I know the card works and I can see the network. It's an open 
network (no wep) as the students should be able to connect as well.

The problem is that I don't get an IP, and it seems I don't get the access 
point either (both are probably linked).

If I run net-setup it fonds the card and configures it by simply asking if i 
use DHCP, but that info obviously is not enough.

I very nood when it comes to DHCP, as my local network uses fixed IP and I had 
no problem connecting to it with the same machine. I've found a lot of infos 
as to how to tell which channel or which network I want to connect to, but I 
can't solve this no IP, no AP problem.

If anyone can give me a hint I'd be glad.

Thierry

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] About the expat update and such

2007-08-24 Thread Ralf Stephan
I might be a bit too naive or hands-on -- I think portage
or paludis should be able to tell you which upgrades that
expat one will draw behind it. I don't know what would be
required for implementation, though.

In other words, even the existence of a separate revdep-rebuild
tool is a design error, IMHO.

ralf

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] About the expat update and such

2007-08-24 Thread Alex Schuster
Ralf Stephan writes:

 I might be a bit too naive or hands-on -- I think portage
 or paludis should be able to tell you which upgrades that
 expat one will draw behind it. I don't know what would be
 required for implementation, though.

 In other words, even the existence of a separate revdep-rebuild
 tool is a design error, IMHO.

I agree, revdep-rebuild is a kludge. However, I do not think portage knows 
which libraries a specific package needs, so it is necessary at the 
moment.

It might not be impossible to implement, though. After the install step, 
emerge could run ldd for each binary to check for its libraries, run 
equery belongs to it and save the list of so found dependent packages 
somewhere. When such a library is later about to be removed during the 
cleaning phase, the dependent applications could be re-merged before 
(assuming the configure step will use the newest library available - not 
sure if this is entirely true).

I guess the equery step would slow things down a lot, but once done, 
revdep-rebuild would not need to run ldd for every binary in the system 
over and over again, which does not seem to be that elegant indeed.

Alex
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Server Network Configuration

2007-08-24 Thread BRM
Ok, first - I wasn't sure which list this should go to, so if this is
the wrong list please just let me know.

I am in the process of upgrading my server from a P90 running Slackware
to a newer system running Gentoo 2007.0. Everything is pretty okay
until I got to doing the network config. My basic config is as follows:

Public DHCP'd Interface - eth0 (default gw)
Private Lan Interface #1 - eth1
Private Lan Interface #2 - eth2

I also have a number of IP Aliases on the eth1  eth2. I managed this
under Slack through a series of custom rc scripts, which autodetected
the IP address of eth0 for use in the routing. However, I am having
trouble figuring out how to do the same thing in Gentoo's conf.d/net
file system.

Thus far, in /etc/conf.d/net, I have the following:

config_eth0(dhcp)

config_eth1(list of static IP addresses)

config_eth2(static ip address)

I also had a route line for eth1 and eth2, but it specified the IP of
eth1, not eth0 - which is unknown.

I've tried the following:

route_eth1(default via ${COMMAND_STRING_TO_EXTRACT_IP_OF_ETH1})

which kinda works (it does get the IP address, but fails with at adding
the route - I'm not at the system right now, so I'll have to post the
specific SIG name later); however, I am very much doubting that that is
the right way to do what I want under Gentoo.

So, my primary question is:

What is the proper way to do this under Gentoo?

I know I could just go and manually write versions of
/etc/init.d/net.eth1/eth2, but I'd rather do it the right way if there
is one, and only do that as a last resort. (And even then, wouldn't I
be risking the Gentoo Configuration system replace them with symlinks?)

Any how...any advice on the proper way to do this would be greatly
appreciated. I really like Gentoo and really do want to keep - I use to
keep Slack up-to-date manually, and just don't have the time for it
anymore, which is why I'm trying Gentoo.

Thanks,

Ben
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] [OT] xorg.conf gui editor

2007-08-24 Thread Brian Johnson
This program certainly does look nice, I wonder how it will play with 
nvidia-settings and the equivalent ATI program.


Given Ubuntu's fairly large dependency on gnome, I'm betting that this 
program has the usual gnome dependencies. Since I use Xfce, I will 
likely not use it because of that.


Anyone know if this (or an equivalent program) will be included in 
Xubuntu and Kubuntu and other non-Gnome Ubuntu distributions?


- Brian

Daniel Iliev wrote:

Hi, list

I came across an article [1] about xorg.conf gui editor developed by
Ubuntu. I just thought some of you might be interested in reading more
about this and someone could even put a request for including that tool
in Gentoo.


[1] http://fosswire.com/2007/08/17/ubuntu-getting-xorgconf-gui/

  


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Server Network Configuration

2007-08-24 Thread Mark Shields
On 8/24/07, BRM [EMAIL PROTECTED] wrote:

 Ok, first - I wasn't sure which list this should go to, so if this is
 the wrong list please just let me know.

 I am in the process of upgrading my server from a P90 running Slackware
 to a newer system running Gentoo 2007.0. Everything is pretty okay
 until I got to doing the network config. My basic config is as follows:

 Public DHCP'd Interface - eth0 (default gw)
 Private Lan Interface #1 - eth1
 Private Lan Interface #2 - eth2

 I also have a number of IP Aliases on the eth1  eth2. I managed this
 under Slack through a series of custom rc scripts, which autodetected
 the IP address of eth0 for use in the routing. However, I am having
 trouble figuring out how to do the same thing in Gentoo's conf.d/net
 file system.

 Thus far, in /etc/conf.d/net, I have the following:

 config_eth0(dhcp)

 config_eth1(list of static IP addresses)

 config_eth2(static ip address)

 I also had a route line for eth1 and eth2, but it specified the IP of
 eth1, not eth0 - which is unknown.

 I've tried the following:

 route_eth1(default via ${COMMAND_STRING_TO_EXTRACT_IP_OF_ETH1})

 which kinda works (it does get the IP address, but fails with at adding
 the route - I'm not at the system right now, so I'll have to post the
 specific SIG name later); however, I am very much doubting that that is
 the right way to do what I want under Gentoo.

 So, my primary question is:

 What is the proper way to do this under Gentoo?

 I know I could just go and manually write versions of
 /etc/init.d/net.eth1/eth2, but I'd rather do it the right way if there
 is one, and only do that as a last resort. (And even then, wouldn't I
 be risking the Gentoo Configuration system replace them with symlinks?)

 Any how...any advice on the proper way to do this would be greatly
 appreciated. I really like Gentoo and really do want to keep - I use to
 keep Slack up-to-date manually, and just don't have the time for it
 anymore, which is why I'm trying Gentoo.

 Thanks,

 Ben
 --
 [EMAIL PROTECTED] mailing list


eth0 gives you the default gw via DHCP, and you're trying to set a default
gw for eth1, right?  If so, you can't do that.  There can only be one
default gateway (hence the name).  What are the functions of the NICs on the
private networks (eth1/eth2)?

-- 
- Mark Shields


[gentoo-user] dependencies from eclass and from ebuild

2007-08-24 Thread David Bonnafous
hi,

I'm working to get a stable portage overlay to keep ebuild and files
I used to build my system.

But even if I keep the ebuild and all the files needed, the command
emerge --sync introduces some dependencies by modifying eclass.

How can I know (localize) this kind of dependencies ?

I found the first one using grep 

  JAVA_PKG_PORTAGE_DEP==sys-apps/portage-2.1.2.7

in eclass/java-utils-2.eclass (change from version 1.91 to 1.92)

thank you.
-- 
David Bonnafous
Institut de Mathématiques
Université Paul Sabatier
Toulouse - France
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Server Network Configuration

2007-08-24 Thread Sean
I've done this sort of thing before, but never with one interface 
running dhcp. You definitely want to emerge iproute2 (which gives you 
the ip command), and add your interfaces to /etc/iproute2/rt_tables, for 
example (though in this case, 10 eth0 won't actually get used):


10 eth0
11 eth1
12 eth2

Then in /etc/conf.d/net, put:

modules_eth0=(iproute2)
modules_eth1=(iproute2)
modules_eth2=(iproute2)

config_eth0=(dhcp)

config_eth1=(10.0.0.{1-10} netmask 255.255.255.0 broadcast 10.0.0.255)
rules_eth1=(from 10.0.0.0/24 src table eth1)
routes_eth1=(10.0.0.0/24 src 10.0.0.1 table eth1
 10.0.0.0/24 src 10.0.0.2 table eth1
 *** and so on ***)

Then do the same kind of thing for eth1. Now, I also seem to remember 
that I had another system that I just did everything with the ip 
commands in rc.local. And since you're also using dhcp, I don't know if 
that will muck with the routing tables everytime the IP renews itself.


Hope that helps. (Also, I seem to remember finding a decent amount of 
information about multihoming with iproute2 on the gentoo forums)


-Sean

BRM wrote:

Ok, first - I wasn't sure which list this should go to, so if this is
the wrong list please just let me know.

I am in the process of upgrading my server from a P90 running Slackware
to a newer system running Gentoo 2007.0. Everything is pretty okay
until I got to doing the network config. My basic config is as follows:

Public DHCP'd Interface - eth0 (default gw)
Private Lan Interface #1 - eth1
Private Lan Interface #2 - eth2

I also have a number of IP Aliases on the eth1  eth2. I managed this
under Slack through a series of custom rc scripts, which autodetected
the IP address of eth0 for use in the routing. However, I am having
trouble figuring out how to do the same thing in Gentoo's conf.d/net
file system.

Thus far, in /etc/conf.d/net, I have the following:

config_eth0(dhcp)

config_eth1(list of static IP addresses)

config_eth2(static ip address)

I also had a route line for eth1 and eth2, but it specified the IP of
eth1, not eth0 - which is unknown.

I've tried the following:

route_eth1(default via ${COMMAND_STRING_TO_EXTRACT_IP_OF_ETH1})

which kinda works (it does get the IP address, but fails with at adding
the route - I'm not at the system right now, so I'll have to post the
specific SIG name later); however, I am very much doubting that that is
the right way to do what I want under Gentoo.

So, my primary question is:

What is the proper way to do this under Gentoo?

I know I could just go and manually write versions of
/etc/init.d/net.eth1/eth2, but I'd rather do it the right way if there
is one, and only do that as a last resort. (And even then, wouldn't I
be risking the Gentoo Configuration system replace them with symlinks?)

Any how...any advice on the proper way to do this would be greatly
appreciated. I really like Gentoo and really do want to keep - I use to
keep Slack up-to-date manually, and just don't have the time for it
anymore, which is why I'm trying Gentoo.

Thanks,

Ben

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Server Network Configuration

2007-08-24 Thread BRM

--- Mark Shields [EMAIL PROTECTED] wrote:

 On 8/24/07, BRM [EMAIL PROTECTED] wrote:
 
  Ok, first - I wasn't sure which list this should go to, so if this
 is
  the wrong list please just let me know.
 
  I am in the process of upgrading my server from a P90 running
 Slackware
  to a newer system running Gentoo 2007.0. Everything is pretty
 okay
  until I got to doing the network config. My basic config is as
 follows:
 
  Public DHCP'd Interface - eth0 (default gw)
  Private Lan Interface #1 - eth1
  Private Lan Interface #2 - eth2
  I also have a number of IP Aliases on the eth1  eth2.
  Thus far, in /etc/conf.d/net, I have the following:
  config_eth0(dhcp)
  config_eth1(list of static IP addresses)
  config_eth2(static ip address)
  What is the proper way to do this under Gentoo?
 eth0 gives you the default gw via DHCP, and you're trying to set a
 default
 gw for eth1, right?  If so, you can't do that.  There can only be one
 default gateway (hence the name).  What are the functions of the NICs
 on the
 private networks (eth1/eth2)?

Running route -n does not show any of the three interfaces set as a
default gateway - all three are set as gateways (UG) though. I'm aware
there can only be one _default_ gateway.

I'm really trying to get the default routing to go through eth0. I
still have to get to working on my firewall rules (haven't done that
yet), but this is the first step.

Ben
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Server Network Configuration

2007-08-24 Thread BRM
I'll have to check into iproute2. Seems interesting...won't be able to
try until tonight (after I get home), but will certainly share the
results.

Thanks,

Ben.

--- Sean [EMAIL PROTECTED] wrote:

 I've done this sort of thing before, but never with one interface 
 running dhcp. You definitely want to emerge iproute2 (which gives you
 
 the ip command), and add your interfaces to /etc/iproute2/rt_tables,
 for 
 example (though in this case, 10 eth0 won't actually get used):
 
 10 eth0
 11 eth1
 12 eth2
 
 Then in /etc/conf.d/net, put:
 
 modules_eth0=(iproute2)
 modules_eth1=(iproute2)
 modules_eth2=(iproute2)
 
 config_eth0=(dhcp)
 
 config_eth1=(10.0.0.{1-10} netmask 255.255.255.0 broadcast
 10.0.0.255)
 rules_eth1=(from 10.0.0.0/24 src table eth1)
 routes_eth1=(10.0.0.0/24 src 10.0.0.1 table eth1
   10.0.0.0/24 src 10.0.0.2 table eth1
   *** and so on ***)
 
 Then do the same kind of thing for eth1. Now, I also seem to remember
 
 that I had another system that I just did everything with the ip 
 commands in rc.local. And since you're also using dhcp, I don't know
 if 
 that will muck with the routing tables everytime the IP renews
 itself.
 
 Hope that helps. (Also, I seem to remember finding a decent amount of
 
 information about multihoming with iproute2 on the gentoo forums)
 
 -Sean
 
 BRM wrote:
  Ok, first - I wasn't sure which list this should go to, so if this
 is
  the wrong list please just let me know.
  
  I am in the process of upgrading my server from a P90 running
 Slackware
  to a newer system running Gentoo 2007.0. Everything is pretty
 okay
  until I got to doing the network config. My basic config is as
 follows:
  
  Public DHCP'd Interface - eth0 (default gw)
  Private Lan Interface #1 - eth1
  Private Lan Interface #2 - eth2
  
  I also have a number of IP Aliases on the eth1  eth2. I managed
 this
  under Slack through a series of custom rc scripts, which
 autodetected
  the IP address of eth0 for use in the routing. However, I am having
  trouble figuring out how to do the same thing in Gentoo's
 conf.d/net
  file system.
  
  Thus far, in /etc/conf.d/net, I have the following:
  
  config_eth0(dhcp)
  
  config_eth1(list of static IP addresses)
  
  config_eth2(static ip address)
  
  I also had a route line for eth1 and eth2, but it specified the IP
 of
  eth1, not eth0 - which is unknown.
  
  I've tried the following:
  
  route_eth1(default via ${COMMAND_STRING_TO_EXTRACT_IP_OF_ETH1})
  
  which kinda works (it does get the IP address, but fails with at
 adding
  the route - I'm not at the system right now, so I'll have to post
 the
  specific SIG name later); however, I am very much doubting that
 that is
  the right way to do what I want under Gentoo.
  
  So, my primary question is:
  
  What is the proper way to do this under Gentoo?
  
  I know I could just go and manually write versions of
  /etc/init.d/net.eth1/eth2, but I'd rather do it the right way if
 there
  is one, and only do that as a last resort. (And even then, wouldn't
 I
  be risking the Gentoo Configuration system replace them with
 symlinks?)
  
  Any how...any advice on the proper way to do this would be greatly
  appreciated. I really like Gentoo and really do want to keep - I
 use to
  keep Slack up-to-date manually, and just don't have the time for it
  anymore, which is why I'm trying Gentoo.
  
  Thanks,
  
  Ben
 -- 
 [EMAIL PROTECTED] mailing list
 
 

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dependencies from eclass and from ebuild

2007-08-24 Thread Alan McKinnon
On Friday 24 August 2007, David Bonnafous wrote:
 hi,

 I'm working to get a stable portage overlay to keep ebuild and
 files I used to build my system.

 But even if I keep the ebuild and all the files needed, the command
 emerge --sync introduces some dependencies by modifying eclass.

 How can I know (localize) this kind of dependencies ?

 I found the first one using grep

   JAVA_PKG_PORTAGE_DEP==sys-apps/portage-2.1.2.7

 in eclass/java-utils-2.eclass (change from version 1.91 to 1.92)


Sounds like you want to keep the old eclass around inside the overlay 
and let portage update ${PORTDIR}/eclass/* as it sees fit?

I have this setup, I simply created an eclass directory in my overlay 
directory, added the ebuild to the overlay, and the ebuilds started 
using the overlay version of the eclass. Something like:

/var/portage/local/alan/eclass/ is where I put my eclasses.

-- 
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] dependencies from eclass and from ebuild

2007-08-24 Thread Bo Ørsted Andresen
On Friday 24 August 2007 18:49:38 Alan McKinnon wrote:
 Sounds like you want to keep the old eclass around inside the overlay
 and let portage update ${PORTDIR}/eclass/* as it sees fit?

 I have this setup, I simply created an eclass directory in my overlay
 directory, added the ebuild to the overlay, and the ebuilds started
 using the overlay version of the eclass. Something like:

 /var/portage/local/alan/eclass/ is where I put my eclasses.

Uh, that will cause the eclasses in ${PORTDIR} to be overshadowed (just like 
the same version of any ebuild in the overlay will overshadow the ebuilds in 
${PORTDIR}. If you really want to keep two trees separate and use them both, 
you should use a package manager that has proper support for multiple 
repositories (like Paludis ;)...

-- 
Bo Andresen


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


[gentoo-user] possible MBR corruption?

2007-08-24 Thread Marc Joliet
Hi,

After the reboot following my daily upgrade from yesterday - during
which a revised kernel was installed - GRUB just wouldn't finish
starting. It's attempt to start looked like this:

GRUB _

with the underscore blinking. Ctrl-alt-del (reboot) worked.

Now, to make it clear, I solved that: after finding out that I could
make a bootable GRUB CD, I made one from within a live-CD (c't
Knoppicillin 5.2). I was then able to boot into Gentoo with it and
reinstalled GRUB into the MBR. Don't you just love GRUB ;-)?

What I *do* want to know, however, is how the hell the MBR could have
been wrecked in the first place. All I did was install the new
kernel/initramfs via

$ genkernel --lvm2 --symlink --install all [1]

, edit grub.conf appropriately and reboot. It worked flawlessly until
now. Is Genkernel known to cause anything like this?

For the record: I have a Windows partition, but never use it[3]. So I
can't imagine how that might be related. In the event that it helps,
here's a list of the packages that were updated to yesterday:

=net-misc/rsync-2.6.9-r3
=media-sound/madplay-0.15.2b-r1
=media-libs/libdvdcss-1.2.9-r1
=sys-kernel/gentoo-sources-2.6.22-r5
=app-misc/beagle-0.2.17
=app-arch/tar-1.18-r2

Also, just to understand the issue better, am I correct in assuming that
GRUB *always* installs its stage1 into the MBR or a boot sector (unless
you install it onto a floppy or CD)? I know it's a stupid question, but
I want to be sure that it was in the MBR in the first place, in the
event that there was a completely different cause. If it helps, this was
originally a Sabayon 3.20 install. A lot has changed since the initial
install, though ;-).

Of course, it could just be random disk corruption, but I sure hope not.

- SATA drive: Seagate ST3320620AS
- Motherboard: Asus M2N-E

This computer was assembled about 9 months ago.

Any information appreciated,
Marc Joliet

[1] The --symlink option[2] is for my second GRUB CD, which has entries
for the Symlinks. That way, I can always use those entries no matter the
kernel version :-).

[2] For those without Genkernel: --symlink creates two Symlinks to the
newest kernels and optionally to the newest initramfs'.

[3] I tested Windows and can boot into it after reinstalling GRUB.
-- 
Of course, I could switch back to Windows. At least there, if I have a
problem, I don't suffer under the illusion that I could ever fix it. - Unknown
(paraphrased)


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: [gentoo-user] dependencies from eclass and from ebuild

2007-08-24 Thread Bo Ørsted Andresen
On Friday 24 August 2007 18:24:33 David Bonnafous wrote:
 I'm working to get a stable portage overlay to keep ebuild and files
 I used to build my system.

 But even if I keep the ebuild and all the files needed, the command
 emerge --sync introduces some dependencies by modifying eclass.

 How can I know (localize) this kind of dependencies ?

 I found the first one using grep

   JAVA_PKG_PORTAGE_DEP==sys-apps/portage-2.1.2.7

 in eclass/java-utils-2.eclass (change from version 1.91 to 1.92)

I didn't quite understand what this question is about. Are you trying to 
figure out why that dependency were added? What do you intend to do with this 
overlay? Why do you sync at all?

-- 
Bo Andresen


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


Re: [gentoo-user] Treason uncloaked! solution?

2007-08-24 Thread Hans-Werner Hilse
Hi,

On Thu, 23 Aug 2007 12:55:06 -0500
Dan Farrell [EMAIL PROTECTED] wrote:

  It usually means that the other side of the TCP
  connection reduced the window to zero size, thus leading stupid TCP
  stacks to save information on a basically starved connection. The
  kernel just sends an information to the log, so in case if you
  recognize the IP and are in charge of the sender, you'll know that it
  has a very broken TCP stack. Essentially: Just ignore it, if the
  sender IP doesn't belong to one of your own networks.
  
 I found a line in my Treason-related output that pointed to an internal
 IP on a distcc port.  Should I be worried about this computer?  It's
 running a brand new gentoo install and is solely for the purpose of
 distcc.  

Hm. I don't think so, but I'm not that deep into TCP that I could
easily tell some circumstances when such things can happen and if it
indicates a bug by all means.

There might be a slight possibility that the packet sender was forged.
It depends on your uplink whether such packets can get through.
Additionally, when inside a potentially hostile LAN, you can't trust
any IP adresses.

If it's just a single line, I'd ignore it, I think. But there's no good
reason I could give for that proposal, except of some absent feeling
that anything would be wrong.

-hwh
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] possible MBR corruption?

2007-08-24 Thread Mick
On Friday 24 August 2007, Marc Joliet wrote:
 Hi,

 After the reboot following my daily upgrade from yesterday - during
 which a revised kernel was installed - GRUB just wouldn't finish
 starting. It's attempt to start looked like this:

 GRUB _

 with the underscore blinking. Ctrl-alt-del (reboot) worked.

At that stage you should have checked if the symlink /boot/grub/menu.lst is 
still there and, or if its permissions were messed up.

 Now, to make it clear, I solved that: after finding out that I could
 make a bootable GRUB CD, I made one from within a live-CD (c't
 Knoppicillin 5.2). I was then able to boot into Gentoo with it and
 reinstalled GRUB into the MBR. Don't you just love GRUB ;-)?

 What I *do* want to know, however, is how the hell the MBR could have
 been wrecked in the first place. 

I doubt that the MBR was wrecked, because if it were wrecked you wouldn't see 
the Grub prompt and would just get a BIOS message.

 All I did was install the new 
 kernel/initramfs via

 $ genkernel --lvm2 --symlink --install all [1]

 , edit grub.conf appropriately and reboot. It worked flawlessly until
 now. Is Genkernel known to cause anything like this?

Sorry, can't help with this because I have no genkernel experience . . .

 Also, just to understand the issue better, am I correct in assuming that
 GRUB *always* installs its stage1 into the MBR or a boot sector (unless
 you install it onto a floppy or CD)? I know it's a stupid question, but
 I want to be sure that it was in the MBR in the first place, in the
 event that there was a completely different cause. If it helps, this was
 originally a Sabayon 3.20 install. A lot has changed since the initial
 install, though ;-).

I have no experience with Sabayon either, but Grub will install wherever you 
tell it to install.  That can be in the Master Boot Record (e.g. system 
(hd0,0) or in any partition's boot record (e.g. system (hd0,1).

 Of course, it could just be random disk corruption, but I sure hope not.

It could be a semi-random fs corruption, if e.g. you run out of juice, or 
there was a hard crash, while that file was being read/written.  If 
your /boot is not mounted by default then that's probably unlikely.  If the 
machine is a laptop, or someone kicked the box while the disk was spinning 
then things could go bad this way too.
-- 
Regards,
Mick


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


Re: [gentoo-user] Server Network Configuration

2007-08-24 Thread kashani

Mark Shields wrote:

eth0 gives you the default gw via DHCP, and you're trying to set a 
default gw for eth1, right?  If so, you can't do that.  There can only 
be one default gateway (hence the name).  What are the functions of the 
NICs on the private networks (eth1/eth2)?




router geek hat on

	You can have as many default gateways or perhaps gateway of last resort 
or the least specific gateway are better names as your routing engine 
can support. There is nothing special about a default gateway. It's just 
a route like all other routes, just far less specific.


	By default Linux uses the first 0.0.0.0/0 route you set. However by 
turning on advanced routing in the kernel you can configure more than 
one. Unfortunately Linux will do per packet instead of the fancier per 
TCP stream that most routers do by default these days. Per packet round 
robins between your gateways and can cause packets to arrive out of 
order in some cases. Per stream, this isn't quite the right terminology 
but you get the idea, has the downside that one large connection like 
your db backing up to a remote server can swamp a single gateway.


	Going back to the original question I don't you're having a routing 
problem though I'm not sure I understand exactly what you're doing. Once 
a packet reaches any interface of your route/firewall the Linux should 
be aware of all local networks. Unless you're routing specific non 
connected networks to various interfaces you shouldn't need any 
additional routes.


A netstat -rn should look roughly like this:

Kernel IP routing table
Destination GatewayGenmask Flags   MSS Window  irtt Iface
24.x.x.43  0.0.0.0 255.255.255.0   U 0 0   0 eth0
127.0.0.0  127.0.0.1   255.0.0.0   UG0 0   0 lo
10.x.11.1  0.0.0.0 255.255.255.0   U 0 0   0 eth1
10.x.12.1  0.0.0.0 255.255.255.0   U 0 0   0 eth1:0
10.x.21.1  0.0.0.0 255.255.255.0   U 0 0   0 eth2
10.x.22.1  0.0.0.0 255.255.255.0   U 0 0   0 eth2:0
0.0.0.024.x.x.10.0.0.0 UG0 0   0 eth0

However unless you have enabled ip_forward on your router, Linux is 
unlikely to route packets from one interface to another. I'm betting 
that's your problem.


kashani
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can't install Gentoo on Dell Inspiron 530

2007-08-24 Thread Walter Dnes
On Fri, Aug 24, 2007 at 08:24:02AM +0100, Mick wrote

 Could you try passing to the kernel the keyboard parameter at
 this stage?  I am thinking of something like:
 
 gentoo keyboard=gb or keyboard=41, or whatever.

  There don't seem to be any such parameters.  I did read through the
file /usr/src/linux/Documentation/kernel-parameters.txt and tried
various iterations of
gentoo atkbd.foobar=n

  No luck.

-- 
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
Q. Mr. Ghandi, what do you think of Microsoft security?
A. I think it would be a good idea.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can't install Gentoo on Dell Inspiron 530

2007-08-24 Thread Sean
You could always install via a knoppix livecd, since knoppix seems to be 
the best around for odd hardware. There's really nothing special about 
the gentoo livecd as far as being able to install gentoo.


Walter Dnes wrote:

On Fri, Aug 24, 2007 at 08:24:02AM +0100, Mick wrote


Could you try passing to the kernel the keyboard parameter at
this stage?  I am thinking of something like:

gentoo keyboard=gb or keyboard=41, or whatever.


  There don't seem to be any such parameters.  I did read through the
file /usr/src/linux/Documentation/kernel-parameters.txt and tried
various iterations of
gentoo atkbd.foobar=n

  No luck.


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] possible MBR corruption?

2007-08-24 Thread Marc Joliet
Am Freitag, den 24.08.2007, 19:42 +0100 schrieb Mick:
 On Friday 24 August 2007, Marc Joliet wrote:
  Hi,
 
  After the reboot following my daily upgrade from yesterday - during
  which a revised kernel was installed - GRUB just wouldn't finish
  starting. It's attempt to start looked like this:
 
  GRUB _
 
  with the underscore blinking. Ctrl-alt-del (reboot) worked.
 
 At that stage you should have checked if the symlink /boot/grub/menu.lst is 
 still there and, or if its permissions were messed up.

Yes, I should have. I know it was there, though, since I mounted /boot/
in the live-CD to check if I had made a typo. However, I doubt that was
the problem, since I copied the menu.lst for inclusion in the grub.iso
and it worked. Note that on my System menu.lst is a Symlink to
grub.conf. If this isn't standard Gentoo, please let me know. Also,
does 

grub root (hd0,5)
grub setup (hd0)

touch anything other than the MBR and stages if you already have a boot
partition installed? Of course, I didn't keep record of grubs output,
so, yeah... there goes all potentially useful information.

However, could it be related to bug 189934? Reading through the linked
bug 132135, I switched /lib and /lib64, so instead of /lib64 being a
Symlink to /lib, /lib is now a Symlink to /lib64.

  Now, to make it clear, I solved that: after finding out that I could
  make a bootable GRUB CD, I made one from within a live-CD (c't
  Knoppicillin 5.2). I was then able to boot into Gentoo with it and
  reinstalled GRUB into the MBR. Don't you just love GRUB ;-)?
 
  What I *do* want to know, however, is how the hell the MBR could have
  been wrecked in the first place. 
 
 I doubt that the MBR was wrecked, because if it were wrecked you wouldn't see 
 the Grub prompt and would just get a BIOS message.

Heh, that's obvious *blushes*... However, I didn't really mean
completely hosed. Could it have been a broken stage1 that only started
in part, or the like?

  All I did was install the new 
  kernel/initramfs via
 
  $ genkernel --lvm2 --symlink --install all [1]
 
  , edit grub.conf appropriately and reboot. It worked flawlessly
 until
  now. Is Genkernel known to cause anything like this?
 
 Sorry, can't help with this because I have no genkernel
 experience . . .

OK. I don't think it was Genkernel, anyway.

  Also, just to understand the issue better, am I correct in assuming that
  GRUB *always* installs its stage1 into the MBR or a boot sector (unless
  you install it onto a floppy or CD)? I know it's a stupid question, but
  I want to be sure that it was in the MBR in the first place, in the
  event that there was a completely different cause. If it helps, this was
  originally a Sabayon 3.20 install. A lot has changed since the initial
  install, though ;-).
 
 I have no experience with Sabayon either, but Grub will install wherever you 
 tell it to install.  That can be in the Master Boot Record (e.g. system 
 (hd0,0) or in any partition's boot record (e.g. system (hd0,1).

OK, so nothing new, then. I just mentioned Sabayon in the event there
was a known problem with how it set up GRUB. Because then I could have
found out if it was the MBR or not. I did just check the Sabayon
Bugzilla for bugs related to GRUB and MBR and found nothing relevant. Oh
well.

  Of course, it could just be random disk corruption, but I sure hope not.
 
 It could be a semi-random fs corruption, if e.g. you run out of juice, or 
 there was a hard crash, while that file was being read/written.  If 
 your /boot is not mounted by default then that's probably unlikely.  If the 
 machine is a laptop, or someone kicked the box while the disk was spinning 
 then things could go bad this way too.

Yeah, I should have set noauto the instant I found out about it. Any
other recommended mount options? Right now they are

defaults,noauto,user_xattr 1 2

which is how it was installed (except for noauto, of course).

Thanks for the info,
Marc Joliet
-- 
Of course, I could switch back to Windows. At least there, if I have a
problem, I'm not under the illusion that I could ever fix it. - Unknown
(paraphrased)


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[gentoo-user] AutoCad2000 on wine

2007-08-24 Thread James
Hello,

Noodling around, I ran across a web page that said autocad2000 would
run on wine and gentoo. Naturally, I just had to test this out.

It was really quite easy.

Ivman picked up the install cd and as root I issued this command:
wine /media/sr0/autorun.exe

then It ran to 99% completion, looking like it hung on fonts:
wine: creating configuration directory '/root/.wine'...
wine: '/root/.wine' created successfully.


ixme:seh:check_no_exec No-exec fault triggered at 0x17793c, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x1148de, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x113900, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x1450bc, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x144750, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x17825a, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x171298, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x175eaa, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x1604cf, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x176c3a, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x14622e, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x143f70, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x183546, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x172000, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x173da2, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x174458, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x12ba1f, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x12aeb8, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x12c3d5, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x179195, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x1a4d4c, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x1a5260, enabling 
work-around


I do remember some (google) noise about fonts (mostlikely missing
MS fonts, so does anyone know where I van find these fonts, or
or how to extract them from win98,2k,2000 or XP?

Since this is my first foray into wine country, any and all
suggestions are most welcome.


James




-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] possible MBR corruption?

2007-08-24 Thread Mick
On Friday 24 August 2007, Marc Joliet wrote:
 Am Freitag, den 24.08.2007, 19:42 +0100 schrieb Mick:

  At that stage you should have checked if the symlink /boot/grub/menu.lst
  is still there and, or if its permissions were messed up.

 Yes, I should have. I know it was there, though, since I mounted /boot/
 in the live-CD to check if I had made a typo. However, I doubt that was
 the problem, since I copied the menu.lst for inclusion in the grub.iso
 and it worked. 

Hmm, in that case then the symlink may not have been the problem.

 Note that on my System menu.lst is a Symlink to 
 grub.conf. If this isn't standard Gentoo, please let me know. 

Yes, this is the default gentoo:

lrwxrwxrwx 1 root root  9 Mar 26  2006 menu.lst - grub.conf

 Also, does

 grub root (hd0,5)
 grub setup (hd0)

 touch anything other than the MBR and stages if you already have a boot
 partition installed? Of course, I didn't keep record of grubs output,
 so, yeah... there goes all potentially useful information.

OK, the above commands install Grub boot code in the MBR of the first hard 
disk and the Grub fs in the /boot directory within /dev/hda6.  I assume that 
your /boot directory is meant to be in /dev/hda6?

 However, could it be related to bug 189934? Reading through the linked
 bug 132135, I switched /lib and /lib64, so instead of /lib64 being a
 Symlink to /lib, /lib is now a Symlink to /lib64.

From a cursory look, I don't think so.

  I doubt that the MBR was wrecked, because if it were wrecked you wouldn't
  see the Grub prompt and would just get a BIOS message.

 Heh, that's obvious *blushes*... However, I didn't really mean
 completely hosed. Could it have been a broken stage1 that only started
 in part, or the like?

Could be I guess, but I'm not sure.

  I have no experience with Sabayon either, but Grub will install wherever
  you tell it to install.  That can be in the Master Boot Record (e.g.
  system (hd0,0) 

oops!  I meant to say: system (hd0)

  or in any partition's boot record (e.g. system (hd0,1). 
[snip]
 Yeah, I should have set noauto the instant I found out about it. Any
 other recommended mount options? Right now they are

 defaults,noauto,user_xattr 1 2

 which is how it was installed (except for noauto, of course).

These options look OK to me as long as you remember to manually mount /boot 
every time you are installing a new kernel.
-- 
Regards,
Mick


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


Re: [gentoo-user] AutoCad2000 on wine

2007-08-24 Thread Sean
Wow .. you are one brave soul fiddling around with windows software and 
wine as root.


James wrote:

Hello,

Noodling around, I ran across a web page that said autocad2000 would
run on wine and gentoo. Naturally, I just had to test this out.

It was really quite easy.

Ivman picked up the install cd and as root I issued this command:
wine /media/sr0/autorun.exe

then It ran to 99% completion, looking like it hung on fonts:
wine: creating configuration directory '/root/.wine'...
wine: '/root/.wine' created successfully.


ixme:seh:check_no_exec No-exec fault triggered at 0x17793c, enabling 
work-around

fixme:seh:check_no_exec No-exec fault triggered at 0x1148de, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x113900, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x1450bc, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x144750, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x17825a, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x171298, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x175eaa, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x1604cf, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x176c3a, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x14622e, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x143f70, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x183546, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x172000, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x173da2, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x174458, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x12ba1f, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x12aeb8, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x12c3d5, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x179195, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x1a4d4c, enabling 
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x1a5260, enabling 
work-around


I do remember some (google) noise about fonts (mostlikely missing
MS fonts, so does anyone know where I van find these fonts, or
or how to extract them from win98,2k,2000 or XP?

Since this is my first foray into wine country, any and all
suggestions are most welcome.


James





--
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: AutoCad2000 on wine

2007-08-24 Thread James
Sean sjohnson at sbinsystems.com writes:


 Wow .. you are one brave soul fiddling around with windows software and 
 wine as root.


Yea that was just to see if it makes a difference. The machine is very isolated
from the net

It's got the same (font problems) installed as a user too.


Any ideas where I can find all of those windows/acad fonts:

comsc.ttf
romantic.ttf
swiss.ttf
snip
etc etc

???

James

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: AutoCad2000 on wine

2007-08-24 Thread Sean
Heheheh. No, but you might try setting up an alias to a font you do 
have. If you fire up regedit, and go to:


HKEY_LOCAL_MACHINE/Software/Microsoft/Windows NT/CurrentVersion/

you should be able to create a FontSubstitues folder and define substitues.

I've never actually done it, but seem to remember folks talking about it 
somewhere. Or even under Fonts, if you define the font name and then 
tell it to use a different .ttf file perhaps.


James wrote:

Sean sjohnson at sbinsystems.com writes:


Wow .. you are one brave soul fiddling around with windows software and 
wine as root.



Yea that was just to see if it makes a difference. The machine is very isolated
from the net

It's got the same (font problems) installed as a user too.


Any ideas where I can find all of those windows/acad fonts:

comsc.ttf
romantic.ttf
swiss.ttf
snip
etc etc

???

James


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can't install Gentoo on Dell Inspiron 530

2007-08-24 Thread Walter Dnes
On Fri, Aug 24, 2007 at 04:21:47PM -0400, Sean wrote
 You could always install via a knoppix livecd, since knoppix seems to
 be the best around for odd hardware. There's really nothing special
 about the gentoo livecd as far as being able to install gentoo.

  Same old same old.  Gentoo and Knoppix and Xubuntu all...
a) fail to find the install CD after the initial stages of booting
b) double up keystrokes after the initial stages of booting

  Of course, Vista works on the system.

-- 
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
Q. Mr. Ghandi, what do you think of Microsoft security?
A. I think it would be a good idea.
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] how list all emerged portages?

2007-08-24 Thread Xihong Yin

How do I list all emerged portages?

Xihong

--
Find out how you can get spam free email.
http://www.bluebottle.com/tag/3

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how list all emerged portages?

2007-08-24 Thread Sean

emerge gentoolkit
equery list

Xihong Yin wrote:

How do I list all emerged portages?

Xihong

--
Find out how you can get spam free email.
http://www.bluebottle.com/tag/3


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can't install Gentoo on Dell Inspiron 530

2007-08-24 Thread Mick
On Saturday 25 August 2007, Walter Dnes wrote:
 On Fri, Aug 24, 2007 at 04:21:47PM -0400, Sean wrote

  You could always install via a knoppix livecd, since knoppix seems to
  be the best around for odd hardware. There's really nothing special
  about the gentoo livecd as far as being able to install gentoo.

   Same old same old.  Gentoo and Knoppix and Xubuntu all...
 a) fail to find the install CD after the initial stages of booting
 b) double up keystrokes after the initial stages of booting

   Of course, Vista works on the system.

g
Well, if keyboard=X, nokeymap, etc., won't work even in Knoppix (which is tad 
richer in kernel parameters than the Gentoo LiveCD) then I can only suggest 
two things:

a)Ubuntu, SUSE, Fedora, SLAX, FreeSBIE, LiveCDs - just in case they have the 
required driver.
b)Plugging in an external keyboard, which is hopefully recognised.

If all else fails, can you return it and get another make/model?

Good luck.
-- 
Regards,
Mick


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