[gentoo-user] Re: Finding other machines on the network

2005-08-30 Thread Michael Mauch
Uwe Thiem wrote:

> On 30 August 2005 15:51, Andrew Lowe wrote:

> > I have the situation where I've been loaned an old Sun SPARC box for
> > some work. It has a static IP somewhere in the 192.168.0.* range, which
> > my home network also is in. My question is, how can I find out the IP
> > address of the machine? I've forgotten what it is and it's also headless
> > with no keyboard. 

> Can't you remote log in and do "ifconfig"?

How can he log in if he doesn't know the IP address?

Regards...
Michael

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] AMD64 - which stage3 file for new install?

2005-08-30 Thread Mark Knecht
John,
   As per a thread over the last couple of days I was planningon using
the 2005.0 CD that I've used for a number of other machines, but that
CD doesn't have any 64-bit stuff on it. If there's a 64-bit install CD
then I'll go look for that.

   Thanks for the info!

With best regards,
Mark

On 8/30/05, John Jolet <[EMAIL PROTECTED]> wrote:
> there is an actual one on the 64-bit universal install cd  which install
> cd did you download?
> 
> On Tuesday 30 August 2005 13:09, Mark Knecht wrote:
> > Unless I missed it this page doesn't seem to indicate which one to use
> > for an AMD64 processor.
> >
> > http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=5
> >
> > So, is it:
> >
> > stage3-i686-2005.0.tar.bz
> > stage3-x86-2005.0.tar.bz
> >
> > or is there an actual AMD64 stage file somewhere on the net I should be
> > using?
> >
> > Thanks,
> > Mark
> 
> --
> John Jolet
> Your On-Demand IT Department
> 512-762-0729
> www.jolet.net
> [EMAIL PROTECTED]
> --
> gentoo-user@gentoo.org mailing list
> 
>

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] To emerge -e world or not to emerge -e world?

2005-08-30 Thread Willie Wong
On Tue, Aug 30, 2005 at 12:20:22PM -0400, Matt Randolph wrote:
> $ emerge -ep system | genlop -p
> [...]
> Estimated update time: 2 hours, 30 minutes.

whoa! that is scary. 
2 hours 30 minutes is barely enough for me to emerge gcc and glibc.

> 
> $ emerge -ep world | genlop -p
> [...]
> Estimated update time: 14 hours, 40 minutes.
> 
> But genlop is entitled to make mistakes.  Those did seem like rather 
> small numbers to me.  What would be more realistic?  100 hours?

2 days?

W
-- 
Chocolate has many preservatives.  Preservatives make you look younger.
Sortir en Pantoufles: up 18 days, 23:05
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] AMD64 - which stage3 file for new install?

2005-08-30 Thread John Jolet
Yeah, there's a 2005.1 amd_64 universal install.  I know, because I  
just used it to set up 4 servers :)

On Aug 30, 2005, at 2:57 PM, Mark Knecht wrote:


John,
   As per a thread over the last couple of days I was planningon using
the 2005.0 CD that I've used for a number of other machines, but that
CD doesn't have any 64-bit stuff on it. If there's a 64-bit install CD
then I'll go look for that.

   Thanks for the info!

With best regards,
Mark

On 8/30/05, John Jolet <[EMAIL PROTECTED]> wrote:

there is an actual one on the 64-bit universal install cd   
which install

cd did you download?

On Tuesday 30 August 2005 13:09, Mark Knecht wrote:

Unless I missed it this page doesn't seem to indicate which one  
to use

for an AMD64 processor.

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=5

So, is it:

stage3-i686-2005.0.tar.bz
stage3-x86-2005.0.tar.bz

or is there an actual AMD64 stage file somewhere on the net I  
should be

using?

Thanks,
Mark



--
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
[EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list





--
gentoo-user@gentoo.org mailing list




--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] usb storage transfer is very slow

2005-08-30 Thread Michal Kurgan
On Tuesday 30 of August 2005 15:21, Miroslav Flídr wrote:
> Michal Kurgan napsal(a):
> > Exactly this is the problem... so sync every sector.
> > I have one question, how this work earlier? With sync i know when files
> > where copied in realtime, not after the umount command (there is info
> > that fat filesystem ignore sync option, then why it works differently
> > with and without).
>
> IMHO the old behaviour was that it synchronized the files and only upon
> unmount the FAT table.

Then why i saw difference?
But better not to try know too much...

> > So where will by default it will work flawless...
>
> I doubt that it will be changed in the near future :(.

I hope not.

> --
> Miroslav Flídr
-- 
Michal Kurgan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] AMD64 - which stage3 file for new install?

2005-08-30 Thread Mark Knecht
Thanks. I'm buring a copy of the minimal install for AMD64 now.

Cheers,
Mark

On 8/30/05, John Jolet <[EMAIL PROTECTED]> wrote:
> Yeah, there's a 2005.1 amd_64 universal install.  I know, because I
> just used it to set up 4 servers :)
> On Aug 30, 2005, at 2:57 PM, Mark Knecht wrote:
> 
> > John,
> >As per a thread over the last couple of days I was planningon using
> > the 2005.0 CD that I've used for a number of other machines, but that
> > CD doesn't have any 64-bit stuff on it. If there's a 64-bit install CD
> > then I'll go look for that.
> >
> >Thanks for the info!
> >
> > With best regards,
> > Mark
> >
> > On 8/30/05, John Jolet <[EMAIL PROTECTED]> wrote:
> >
> >> there is an actual one on the 64-bit universal install cd
> >> which install
> >> cd did you download?
> >>
> >> On Tuesday 30 August 2005 13:09, Mark Knecht wrote:
> >>
> >>> Unless I missed it this page doesn't seem to indicate which one
> >>> to use
> >>> for an AMD64 processor.
> >>>
> >>> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=5
> >>>
> >>> So, is it:
> >>>
> >>> stage3-i686-2005.0.tar.bz
> >>> stage3-x86-2005.0.tar.bz
> >>>
> >>> or is there an actual AMD64 stage file somewhere on the net I
> >>> should be
> >>> using?
> >>>
> >>> Thanks,
> >>> Mark
> >>>
> >>
> >> --
> >> John Jolet
> >> Your On-Demand IT Department
> >> 512-762-0729
> >> www.jolet.net
> >> [EMAIL PROTECTED]
> >> --
> >> gentoo-user@gentoo.org mailing list
> >>
> >>
> >>
> >
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
> 
> --
> gentoo-user@gentoo.org mailing list
> 
>

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] AMD64 - which stage3 file for new install?

2005-08-30 Thread John Jolet
well, not sure what stage files, if any that one has on it.  I used  
the universal installer.


On Aug 30, 2005, at 3:15 PM, Mark Knecht wrote:


Thanks. I'm buring a copy of the minimal install for AMD64 now.

Cheers,
Mark

On 8/30/05, John Jolet <[EMAIL PROTECTED]> wrote:


Yeah, there's a 2005.1 amd_64 universal install.  I know, because I
just used it to set up 4 servers :)
On Aug 30, 2005, at 2:57 PM, Mark Knecht wrote:



John,
   As per a thread over the last couple of days I was planningon  
using
the 2005.0 CD that I've used for a number of other machines, but  
that
CD doesn't have any 64-bit stuff on it. If there's a 64-bit  
install CD

then I'll go look for that.

   Thanks for the info!

With best regards,
Mark

On 8/30/05, John Jolet <[EMAIL PROTECTED]> wrote:



there is an actual one on the 64-bit universal install cd
which install
cd did you download?

On Tuesday 30 August 2005 13:09, Mark Knecht wrote:



Unless I missed it this page doesn't seem to indicate which one
to use
for an AMD64 processor.

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml? 
part=1&chap=5


So, is it:

stage3-i686-2005.0.tar.bz
stage3-x86-2005.0.tar.bz

or is there an actual AMD64 stage file somewhere on the net I
should be
using?

Thanks,
Mark




--
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
[EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list






--
gentoo-user@gentoo.org mailing list





--
gentoo-user@gentoo.org mailing list





--
gentoo-user@gentoo.org mailing list




--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Creating new named colors

2005-08-30 Thread Holly Bostick
Michael Mauch schreef:
> Holly Bostick wrote:
> 
>>This is more dock stuff. I'm trying to change the colors on those
>>dockapps that allow it. These dockapps that allow it are *supposed* to
>>take hex color codes (#xx1x34), but they don't seem to. They do,
>>however, take named colors (orange, MediumSlateBlue, etc) correctly, but
>>unfortunately, these named colors do not *precisely* match my desktop.
>>
>>I've been using gcolor2 to pick the colors of my desktop, and I just
>>noticed that it also saves 'named' colors.
>>
>>So I thought, "can't I just 'pick' a color, name it, and then I could
>>use it like all the other named colors?"
>>
>>I suppose I could, if I knew where the heck such information is stored.
> 
> 
> Perhaps /usr/lib/X11/rgb.txt is it. There's a (masked) ebuild
> x11-apps/rgb. My xorg.conf has:
> 
> RgbPath  "/usr/lib/X11/rgb"
> 
> Alas, /usr/lib/X11/rgb doesn't exist here. 

I have it, and it looks like the stuff:
! $Xorg: rgb.txt,v 1.3 2000/08/17 19:54:00 cpqbld Exp $
255 250 250 snow
248 248 255 ghost white
248 248 255 GhostWhite
245 245 245 white smoke
245 245 245 WhiteSmoke
220 220 220 gainsboro
255 250 240 floral white
255 250 240 FloralWhite
253 245 230 old lace
253 245 230 OldLace
250 240 230 linen
250 235 215 antique white

The man page of "showrgb"
> talks about a /usr/X11R6/lib/X11/rgb file, which doesn't exist here,
> neither.

I don't have rgb installed, and the file I do have looks like it's
installed by xorg.

 >
>>Could anybody tell me (or tell me that it can't be done)?
> 
> 
> Perhaps it's easier to fix the application that fails to take hex color
> codes?

Not bloody likely; I can't code my way out of a paper bag, and I
certainly am not prepared to take on WindowMaker dockapps, though I will
likely write to the developers, if I can track them down, once I've
finished testing whether the PEBKAC or not.

But thanks a lot; I've not only learned something, but this looks like
it has a fair chance of working, as well.

I appreciate it.

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



[gentoo-user] two(related?) sound problems

2005-08-30 Thread maxim wexler
Hello everybody,

>From the boot console:

* Restoring Mixer Levels
/usr/sbin/alsactl: set_control:994: bad
control.7.value type
No state is present for card UART  !!!
  


Sound still works but about 1/2 an hour after having
started realplayer sound stops without any error that
I can find. Then if I try another player ogg, mpg etc
I get "can't open /dev/dsp." Have to reboot in order
to play any audio.

Here's the code:

$amixer
[...]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [off]
  Front Right: Playback 0 [0%] [off]
[...]

$cat /etc/asound.state
[...]
}
control.7 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Surround Playback Switch'
value false
}
[...]

$amixer contents
[...]
numid=7,iface=MIXER,name='Surround Playback Switch'
  ; type=BOOLEAN,access=rw---,values=2
  : values=off,off
[...]

-mw



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



Re: [gentoo-user] AMD64 - which stage3 file for new install?

2005-08-30 Thread Mark Knecht
Yeah, I decided to go for the Universal install since it has stage
files. Seemed that the Minimal didn't. I'd forgotten that.

The AMD64 will be nicer to install from. I'm getting 65MB/S DMA on the
hard drive whereas the x86 Universal didn't have the right chipset
stuff and I was only getting 2.5MB/S.

Two problems I've seen with the AMD64 Universal CD so far:

1) Console #2 doesn't go to a console. It stays with the boot up
graphics. I have to use Alt-Ctl-F3 to get to a second terminal.

2) The path in the login message telling you how to start links to get
the install docs is incorrect.

Both pretty minor.

Install underway if I can get comfortable with LVM2

Thanks,
Mark

On 8/30/05, John Jolet <[EMAIL PROTECTED]> wrote:
> well, not sure what stage files, if any that one has on it.  I used
> the universal installer.
> 
> On Aug 30, 2005, at 3:15 PM, Mark Knecht wrote:
> 
> > Thanks. I'm buring a copy of the minimal install for AMD64 now.
> >
> > Cheers,
> > Mark
> >
> > On 8/30/05, John Jolet <[EMAIL PROTECTED]> wrote:
> >
> >> Yeah, there's a 2005.1 amd_64 universal install.  I know, because I
> >> just used it to set up 4 servers :)
> >> On Aug 30, 2005, at 2:57 PM, Mark Knecht wrote:
> >>
> >>
> >>> John,
> >>>As per a thread over the last couple of days I was planningon
> >>> using
> >>> the 2005.0 CD that I've used for a number of other machines, but
> >>> that
> >>> CD doesn't have any 64-bit stuff on it. If there's a 64-bit
> >>> install CD
> >>> then I'll go look for that.
> >>>
> >>>Thanks for the info!
> >>>
> >>> With best regards,
> >>> Mark
> >>>
> >>> On 8/30/05, John Jolet <[EMAIL PROTECTED]> wrote:
> >>>
> >>>
>  there is an actual one on the 64-bit universal install cd
>  which install
>  cd did you download?
> 
>  On Tuesday 30 August 2005 13:09, Mark Knecht wrote:
> 
> 
> > Unless I missed it this page doesn't seem to indicate which one
> > to use
> > for an AMD64 processor.
> >
> > http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?
> > part=1&chap=5
> >
> > So, is it:
> >
> > stage3-i686-2005.0.tar.bz
> > stage3-x86-2005.0.tar.bz
> >
> > or is there an actual AMD64 stage file somewhere on the net I
> > should be
> > using?
> >
> > Thanks,
> > Mark
> >
> >
> 
>  --
>  John Jolet
>  Your On-Demand IT Department
>  512-762-0729
>  www.jolet.net
>  [EMAIL PROTECTED]
>  --
>  gentoo-user@gentoo.org mailing list
> 
> 
> 
> 
> >>>
> >>> --
> >>> gentoo-user@gentoo.org mailing list
> >>>
> >>>
> >>>
> >>
> >> --
> >> gentoo-user@gentoo.org mailing list
> >>
> >>
> >>
> >
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
> 
> --
> gentoo-user@gentoo.org mailing list
> 
>

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Finding other machines on the network

2005-08-30 Thread Christoph Gysin

John Jolet wrote:
yeah, if it's got a firewall disallowing icmp responses.  then you can do nmap 
-P0 to find it.  ping would never find it.  It's gotta have SOME port open.  


As far as I've read his post, there's no firewall involved. So why should he do portscans in all 
hosts on the subnet?


Also, nmap can do os fingerprinting and probably show you which one is the 
solaris or sunos machine...


Sure, but that's not what he's looking for...

Christoph
--
echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] lvm2/external partitions question

2005-08-30 Thread Mark Knecht
Thanks Neil

On 8/30/05, Neil Bothwick <[EMAIL PROTECTED]> wrote:
> On Mon, 29 Aug 2005 17:50:15 -0700, Mark Knecht wrote:
> 
> >I'm looking at LVN2 for this install. The main drive is 250GB. I'm
> > wondering a couple of things:
> 
> I've ben using LVM2 on my AMD64 box since I built it.
> 
> > 1) Should use all of the drive, other than the boot and swap
> > partitions, for the main LVN partition and then let LVN subdivide it
> > as needs come up as per the Gentoo-wiki on LVN2? This would meen, as I
> > understand it, that there would never been more than real partitions
> > on the drive.
> 
> I have /boot, swap and / on normal partitions, everything else on LVM. /
> is only 300MB, as /usr is on an LVM2 partition, /var and /opt are bound
> to directories in /usr. I kow I could put / on LVM, but that requires an
> initrd, which adds unnecessary complication IMO.

OK, so if

sda1 == /boot
sda2 == swap
sda3 == /

are on 'normal' partitions, then is LVM2 your last of 4 partitions or
is it in an extended partition to allow for other things later on the
drive?

I was considering making the 4th partition extended, placing LVM2 on
sda5, if that will work, and having one more partition that was
possibly FAT32 for transfer to my windows boxes if the need arises.

> 
> > 2) Possibly make the main install partition something like 50GB and
> > use the balance of the hard drive outside of LVM2? If I do this and
> > later add a new partition within LVM does that somehow change device
> > numbering (/dev/sdaX) on the external partitions?
> 
> LVM uses its own partition naming. As far as the /dev/sda is concerned,
> there are only four partitions in my setup. As someone else has already
> suggested, make your partitions within LVM no larger than you think
> you'll need, because it is so easy to enlarge them later. Most
> filesystems can be enlarged while still mounted, while shrinking a
> filesystem either requires it to be unmounted or is impossible depending
> on your filesystem.

So I think this says LVM2 is on a normal, non-extended, partition at
sda4 but just checking.

Thanks for your insights,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery

2005-08-30 Thread Paul Varner
On Mon, 2005-08-29 at 23:45 +0100, Jorge Almeida wrote:
> equery seems crazy. I have gentoolkit-0.2.0, and just reemerged it for
> good measure.
> 
>   $ equery depends vim
>   [ Searching for packages depending on vim... ]
>   Traceback (most recent call last):
> File "/usr/bin/equery", line 1551, in ?
>   cmd.perform(local_opts)
> File "/usr/bin/equery", line 996, in perform
>   packages = gentoolkit.find_all_installed_packages()
> File "/usr/lib/gentoolkit/pym/gentoolkit/gentoolkit.py", line 284, in 
> find_all_installed_packages
>   return [Package(x) for x in t]
> File "/usr/lib/gentoolkit/pym/gentoolkit/gentoolkit.py", line 52, in 
> __init__
>   self._settings = portage.config(clone=settings)
> File "/usr/lib/portage/pym/portage.py", line 882, in __init__
>   self.pmaskdict = copy.deepcopy(clone.pmaskdict)
> File "/usr/lib/python2.3/copy.py", line 192, in deepcopy
>   y = copier(x, memo)
> File "/usr/lib/python2.3/copy.py", line 286, in _deepcopy_dict
>   y[deepcopy(key, memo)] = deepcopy(value, memo)
> File "/usr/lib/python2.3/copy.py", line 192, in deepcopy
>   y = copier(x, memo)
> File "/usr/lib/python2.3/copy.py", line 259, in _deepcopy_list
>   y.append(deepcopy(a, memo))
> File "/usr/lib/python2.3/copy.py", line 224, in deepcopy
>   memo[d] = y
>   MemoryError
> 
> "vim" is just an example, it's the same with other packages. Also,
> revdep-rebuild -p says there is no problem with missing dependencies...

I believe that you are running into bug #90680


Regards,
Paul
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery

2005-08-30 Thread Jorge Almeida

On Tue, 30 Aug 2005, Paul Varner wrote:


I believe that you are running into bug #90680



Maybe not. I tried again while running "top" and memory usage din't go
over 4.8%...


Thanks,

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



Re: [gentoo-user] two(related?) sound problems

2005-08-30 Thread Mark Knecht
On 8/30/05, maxim wexler <[EMAIL PROTECTED]> wrote:
> Hello everybody,
> 
> From the boot console:
> 
> * Restoring Mixer Levels
> /usr/sbin/alsactl: set_control:994: bad
> control.7.value type
> No state is present for card UART  !!!

This says that the /etc/asound.state file is not correct for the
hardware in the system. Remove it by hand, run alsamixer by hand, then
do an alsactl store. Hopefully that will get it fixed for you.

If that doesn't work then post back stuff like lsmod,
/proc/asound/cards , etc. and we'll get it going.

cheers,
Mark

PS - I'm trying to get my new AMD64 going now. Problems with LVM2
(me=newbie!)

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Quanta setup for cervisia?

2005-08-30 Thread Jeff Cranmer

I have been using Quanta to develop a small website.  Apart from a
tendency to die with 'sigsegv' crashes at regular intervals, the program
seems to work quite well (the recovery function always manages to
recover almost all my work after a crash).

I would like to import the project into cervisia, so that I can maintain
it via cvs and perform some kind of version control on the website, but
I don't know how to set this up.

Opening the project from Quanta and clicking on the cvs icon simply
returns the error

"This is not a CVS folder"

I get a similar error when I try to open any folder from within
konqueror.   From konqueror, I can then go through a cycle of creating a
project via cervisia, but next time I try to open that project from
within konqueror, I get the same "This is not a CVS folder" error - back
to square one :-/

It seems that the first hurdle I need to get over is "How do you create
a CVS folder?"

Can anybody help me with this?

Thanks

Jeff

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Finding other machines on the network

2005-08-30 Thread John Jolet


On Aug 30, 2005, at 4:57 PM, Christoph Gysin wrote:


John Jolet wrote:

yeah, if it's got a firewall disallowing icmp responses.  then you  
can do nmap -P0 to find it.  ping would never find it.  It's gotta  
have SOME port open.




As far as I've read his post, there's no firewall involved. So why  
should he do portscans in all hosts on the subnet?



Also, nmap can do os fingerprinting and probably show you which  
one is the solaris or sunos machine...




Sure, but that's not what he's looking for...

perhaps I read the initial post wrong...I was under the impression  
that he had a headless sun box with a static ip on a known subnet,  
but the exact ip wasn't known.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] How do I get LVM2 off a drive?

2005-08-30 Thread Mark Knecht
I did an experiment with LVM2 to see how it worked, but I put it
inside of partition 3. I then wanted to remove it and put it in
partition 4 instead. (More like Neil's setup.) However, the system
keeps finding the old vg1 volume group. I went so far as to remove all
partitions, put on a new partition, make a new file system, then
remove that filesystem and do my final ones with LVM2 in partition 4
but the system still finds the old vg1 volume group and complains that
sda3 is too small.

I guess this is in the partition table? If so how do I completely
remove the LVM2 data and set the table back to default?

Thanks in advance,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] lvm2/external partitions question

2005-08-30 Thread Neil Bothwick
On Tue, 30 Aug 2005 15:03:49 -0700, Mark Knecht wrote:

> > I have /boot, swap and / on normal partitions, everything else on
> > LVM. / is only 300MB, as /usr is on an LVM2 partition, /var and /opt
> > are bound to directories in /usr. I kow I could put / on LVM, but
> > that requires an initrd, which adds unnecessary complication IMO.
> 
> OK, so if
> 
> sda1 == /boot
> sda2 == swap
> sda3 == /
> 
> are on 'normal' partitions, then is LVM2 your last of 4 partitions or
> is it in an extended partition to allow for other things later on the
> drive?

They're on RAID partitions now, but all of those are extended. Before I
added the second drive, they were directly on extended partitions. I never
use primary partitions on Linux-only boxes, I don't see the point is
adding another limitation.

It was

sda5 - /boot
sda6 - swap
sda7 - /
sda8 - LVM

If you're concerned that you may need non-LVM space later, leave a gap
between 7 and 8. That way you have the choice later of extending / or
adding another partition and adding it to LVM.


-- 
Neil Bothwick

Q. How many mice does it take to screw in a light bulb?
A. Only two - but it's difficult to get them in there.


pgppVWEJCIOHq.pgp
Description: PGP signature


Re: [gentoo-user] Re: Quanta setup for cervisia?

2005-08-30 Thread Steve Evans
On Tuesday 30 August 2005 23:39, Jeff Cranmer wrote:
> I have been using Quanta to develop a small website.  Apart from a
> tendency to die with 'sigsegv' crashes at regular intervals, the program
> seems to work quite well (the recovery function always manages to
> recover almost all my work after a crash).
>
> I would like to import the project into cervisia, so that I can maintain
> it via cvs and perform some kind of version control on the website, but
> I don't know how to set this up.
>
> Opening the project from Quanta and clicking on the cvs icon simply
> returns the error
>
> "This is not a CVS folder"
>
> I get a similar error when I try to open any folder from within
> konqueror.   From konqueror, I can then go through a cycle of creating a
> project via cervisia, but next time I try to open that project from
> within konqueror, I get the same "This is not a CVS folder" error - back
> to square one :-/
>
> It seems that the first hurdle I need to get over is "How do you create
> a CVS folder?"
>
> Can anybody help me with this?
>

First you need to create a CVS repository containing the existing Quanta 
project, using cvs import. Then checkout that repository somewhere with cvs 
checkout. Finally use the newly checked out copy as the Quanta project.

However it sounds to me as though you first need to learn something about CVS. 
There are many tutorials on the web, e.g. 
 which is targetted at people 
using Cervisia, or 
 which is a more 
general purpose tutorial.

Steve
-- 

Steve EvansE-mail: mailto:[EMAIL PROTECTED]
   WEB:http://www.gorbag.com
Registered Linux user #217906: http://counter.li.org
Public Encryption Key: http://www.gorbag.com/public-key.html


2.6.12-gentoo-r9 Intel(R) Pentium(R) 4 CPU 3.00GHz GNU/Linux

 00:05:13 up 13 days, 15:52,  8 users,  load average: 0.15, 0.14, 0.09

Saint:  A dead sinner revised and edited.
-- Ambrose Bierce


pgpjr74SfhPAt.pgp
Description: PGP signature


Re: [gentoo-user] lvm2/external partitions question

2005-08-30 Thread Mark Knecht
On 8/30/05, Neil Bothwick <[EMAIL PROTECTED]> wrote:
> On Tue, 30 Aug 2005 15:03:49 -0700, Mark Knecht wrote:
> 
> > > I have /boot, swap and / on normal partitions, everything else on
> > > LVM. / is only 300MB, as /usr is on an LVM2 partition, /var and /opt
> > > are bound to directories in /usr. I kow I could put / on LVM, but
> > > that requires an initrd, which adds unnecessary complication IMO.
> >
> > OK, so if
> >
> > sda1 == /boot
> > sda2 == swap
> > sda3 == /
> >
> > are on 'normal' partitions, then is LVM2 your last of 4 partitions or
> > is it in an extended partition to allow for other things later on the
> > drive?
> 
> They're on RAID partitions now, but all of those are extended. Before I
> added the second drive, they were directly on extended partitions. I never
> use primary partitions on Linux-only boxes, I don't see the point is
> adding another limitation.
> 
> It was
> 
> sda5 - /boot
> sda6 - swap
> sda7 - /
> sda8 - LVM
> 
> If you're concerned that you may need non-LVM space later, leave a gap
> between 7 and 8. That way you have the choice later of extending / or
> adding another partition and adding it to LVM.
> 

Thanks Neil. Very interesting.

I seem to be having too much trouble here getting LVM2 to set up. I'm
getting error messages and it wouldn't set up the user directory at
all. I don't know what's the matter yet.

As I'm somewhat anxious to get the machine running at all (I have some
PCI card issues I want to test) I'm going to do a quick install much
as BillK did where I'll just use 10GB for now and put everything
except boot in there. I'll bring the machine up and see how it goes.
After that I'll revisit the LVM2 stuff.

thanks for your help.

Cheers,
Mark

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] acpid

2005-08-30 Thread John Dangler
I got acpid emerged, started, and added to run level, but when I go into
gnome and mouse over the battery (the default applet) it says:
System is running on battery power
0 minutes (0%) remain

the laptop is plugged into the AC.

John D

emerged with +acpi -apm ...




-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: How do I get LVM2 off a drive?

2005-08-30 Thread Mark Knecht
Answering self:

1) fdisk didn't seem to work
2) cfdisk did

- Mark

On 8/30/05, Mark Knecht <[EMAIL PROTECTED]> wrote:
> I did an experiment with LVM2 to see how it worked, but I put it
> inside of partition 3. I then wanted to remove it and put it in
> partition 4 instead. (More like Neil's setup.) However, the system
> keeps finding the old vg1 volume group. I went so far as to remove all
> partitions, put on a new partition, make a new file system, then
> remove that filesystem and do my final ones with LVM2 in partition 4
> but the system still finds the old vg1 volume group and complains that
> sda3 is too small.
> 
> I guess this is in the partition table? If so how do I completely
> remove the LVM2 data and set the table back to default?
> 
> Thanks in advance,
> Mark
>

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] /etc/init.d/local - one thing led to another

2005-08-30 Thread John J. Foster
Good evening all,

I figured it was about time to start the Guarddog firewall script
automatically, instead of always typing /etc/rc.firewall. The obvious
thing to do was add it to /etc/conf.d/local.start. Easy enough. But it
didn't start. OK, let's put a few logger commands in there and see where
it fails. Nothing logged. Nada. Zilch. Tried the same thing in the
/etc/init.d/local script. Once again, nothing logged. Here's the
beginning of the local script

depend() {
after *
}

start() {
ebegin "Starting local"

# Add any misc programs that should be started
# to /etc/conf.d/local.start
logger -p auth.info "This is right before local.start is sourced"
if [[ -e /etc/conf.d/local.start ]] ; then
source /etc/conf.d/local.start
fi
eend $? "Failed to start local"
}

The initial "Starting local" is displayed as the system boots, but
that's all that happens. If I do a /etc/init.d/local restart, all is
well, and all is logged.

Am I once again missing the obvious?

Thanks,
John
-- 
Contrary to the lie machine, the world is not safer.


pgpXF83MYm1pC.pgp
Description: PGP signature


Re: [gentoo-user] How to work with etc-updates.

2005-08-30 Thread Sean Higgins
On Tuesday 30 August 2005 01:22 pm, Neil Bothwick wrote:
> On Tue, 30 Aug 2005 12:06:29 -0400, Eric Crossman wrote:
> > While I agree that etc-update is a vast improvement over other package
> > systems, it would be nice to have a CVS type merge where I only have to
> > make choices when the "system can't figure it out". It seems like
> > etc-update (and friends) should be able to take advantage of mtime
> > metadata and md5 checksums to determine if I've made any modifications
> > to the default config file. That way an unmodified default config from
> > version N can just safely be replaced with the new default for version N
> > +1. Does this functionality already exist with the current etc-update?
>
> It exists as an option with dispatch-conf, as do options to automatically
> replace files if the only differences are whitespace and comments.

But, it does not automatically do an update if the original file has not 
changed.  That would be a cool feature.  How often are files changed, for 
example in /etc/init.d, but you have not changed that file?  I would love the 
option to automatically update any configuration file that I did not change 
from the original install.

Right on Eric!

Sean

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



[gentoo-user] modifying locally an ebuild

2005-08-30 Thread Fernando Canizo
Hi all, 

I find a cute patch to mutt and to use it i modified the ebuild and
the pertinent files so now re-emerging mutt builds mutt with this
patch. Later i fixed the actual version of mutt so an upgrade cannot
erase it.

What i would like to know is how can i do this i a 'gentoo way'. I
have listen that there are something called SLOTs, but never used so
far (never need them?)

Or the only way is to propose the add of the patch to portage?

-- 
Fernando Canizo - http://www.lugmen.org.ar/~conan/
Hatred, n.:
A sentiment appropriate to the occasion of another's superiority.
-- Ambrose Bierce, "The Devil's Dictionary"
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /etc/init.d/local - one thing led to another

2005-08-30 Thread Michael Crute
On 8/30/05, John J. Foster <[EMAIL PROTECTED]> wrote:
Good evening all,I figured it was about time to start the Guarddog firewall scriptautomatically, instead of always typing /etc/rc.firewall. The obvious
thing to do was add it to /etc/conf.d/local.start. Easy enough. But itdidn't start. OK, let's put a few logger commands in there and see whereit fails. Nothing logged. Nada. Zilch. Tried the same thing in the
/etc/init.d/local script. Once again, nothing logged. Here's thebeginning of the local scriptdepend() {   after *}start() {   ebegin "Starting local"   # Add any misc programs that should be started
   # to /etc/conf.d/local.start   logger -p auth.info "This is right before local.start is sourced"   if [[ -e /etc/conf.d/local.start ]] ; then   source /etc/conf.d/local.start
   fi   eend $? "Failed to start local"}The initial "Starting local" is displayed as the system boots, butthat's all that happens. If I do a /etc/init.d/local restart, all is
well, and all is logged.Am I once again missing the obvious?Thanks,John--Contrary to the lie machine, the world is not safer.
You should use rc-update to run the startup script. Local is for commands that you want run, not really a great way to run other startup scripts. The command you want is probably `rc-update add rc.firewall default`. 

 
-Mike-- Michael E. CruteSoftware DeveloperSoftGroup Development CorporationLinux, because reboots are for installing hardware."In a world without walls and fences, who needs windows and gates?" 



Re: [gentoo-user] modifying locally an ebuild

2005-08-30 Thread Holly Bostick
Fernando Canizo schreef:
> Hi all, 
> 
> I find a cute patch to mutt and to use it i modified the ebuild and
> the pertinent files so now re-emerging mutt builds mutt with this
> patch. Later i fixed the actual version of mutt so an upgrade cannot
> erase it.
> 
> What i would like to know is how can i do this i a 'gentoo way'. I
> have listen that there are something called SLOTs, but never used so
> far (never need them?)
> 
> Or the only way is to propose the add of the patch to portage?
> 

Normally what one would do is place all modified ebuilds in your
PORTDIR_OVERLAY (Portage directory overlay), which location can be set
in /etc/make.conf (default is /usr/local/portage).

/usr/local/portage has the same structure as the 'normal' portage tree,
meaning that your ebuild would need to be placed in
/usr/local/portage/mail-client/mutt/mutt-whatever.ebuild, and the
currently-existing patch files would need to be copied to
/usr/local/portage/mail-client/mutt/files, along with your additional patch.

You would then use the command

ebuild /usr/local/portage/mail-client/mutt/mutt-whatever.ebuild digest

to create the manifest file (so that Portage knows what files are
associated with the ebuild, and can calculate their MD5 sums to check
them for corruption when emerging).

At that point, because your ebuild is newer than the one in Portage,
when you emerge mutt, your overlay ebuild is considered most recent, and
you will see it when you attempt to emerge as follows (this example  of
course uses a different ebuild because mutt isn't in my overlay):

emerge -pv unace


cfg-update 1.7.1 : Building checksum index... (takes a few seconds)  done!



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

Calculating dependencies ...done!
[ebuild   R   ] app-arch/unace-2.2  178 kB [1]

Total size of downloads: 178 kB
Portage overlays:
 [1] /usr/local/portage
 [2] /usr/local/bmg-main

As you see, the emerge data is footnoted with a [1], and the legend says
that the ebuild comes from my first overlay, in /usr/local/portage.

The thing is, that ebuilds in your overlay aren't overwritten or touched
in any way by Portage, so you don't have to keep 'redoing' the ebuild
every time you emerge sync.

If the ebuild in Portage hasn't changed, your modified ebuild will
always be newer; if the ebuild in Portage has changed, it's quite likely
that whatever patch or functionality you were waiting for has been
merged into the main tree upstream, or backported into the ebuild, so
you have an easy migration path back into main Portage (and of course,
if you care enough about the application and its patchset to modify an
ebuild and put it in your overlay, checking the ChangeLog of any updated
ebuilds is not an onerous task).

If the program has been updated, but your patch still isn't there, then
you can just copy and modify the updated ebuild and files.

So that's the userland solution, but yes, if you want the patch included
in Portage (which is likely to happen anyway, if it's a patch from
upstream), the place to submit it for inclusion (preferably with the
modified ebuild attached as well), would be bugs.gentoo.org (b.g.o).
That's where most of the ebuilds in my overlay come from :) .

The nice things about submitting the modified ebuild in this way are that

1) it makes less work for the devs (they don't have to write the ebuild,
only check/correct yours);

2) if for some reason they are delayed in, or don't want to, include the
ebuild into Portage (as is the case with the unace ebuild in the example
above), it's still available for those crazy or desperate enough to want
to use it anyway.

3) it helps people willing to debug to do so-- I'm fairly sure that
those of us who contributed to debugging the taskjuggler ebuild helped
the ebuild become better, faster, so that it was recently included in
Portage (though I can't compile it for some reason, gotta revisit that
bug, actually).

Hope that helps answer your question.
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: How do I get LVM2 off a drive?

2005-08-30 Thread Alvin A ONeal Jr
I don't think LVM2 cares about partitions. AFAIK you only use fdisk 
(marking partitions as 8e? for lvm2) to be polite to other OSes that 
don't auto-detect like Linux does.


I'm not exactly sure what's happening to you, but try this:
vgchange -a y; vgchange -a n
vgchange -a y; vgchange -a n
emerge -C lvm2; rm /etc/lvm/ -rf; emerge lvm2
vgchange -a y; vgchange -a n
vgchange -a y; vgchange -a n

I don't know what it does, but I got frustrated one time when copying an 
imaged machine (the old partitions didn't match on the new machine) and 
I think that was how I fixed it.

--
8^)
Laterz-
~Alvin
http://CoolAJ86.Havenite.net

---
Wow! You should get a gold star sticker!
begin:vcard
fn:Alvin A ONeal Jr
n:ONeal;Alvin
adr;dom:;;34 Fletcher Lane;Shelburne;VT;05482
email;internet:[EMAIL PROTECTED]
tel;work:1.802.877.2938
tel;home:1.802.985.5277
tel;cell:1.802.578.0599
note;quoted-printable:DoB: 19860616=0D=0A=
	
x-mozilla-html:FALSE
url:http://coolaj86.havenite.net
version:2.1
end:vcard



Re: [gentoo-user] what is wrong with script

2005-08-30 Thread Alvin A ONeal Jr
From the looks of the script you aren't testing for a "regular file", 
hence "-f" doesn't work.




I tested it on my machine

WORKS:
 ACTION=add
 DEVICE=/tmp/testfile

DOESN'T WORK:
 ACTION=add
 DEVICE=/dev/sda1

SCRIPT:
 #!/bin/bash
 if [ "${ACTION}" == "add" ] && [ -f "${DEVICE}" ]; then
 echo "SUCCESS"
 fi


--
8^)
Laterz-
~Alvin
http://CoolAJ86.Havenite.net

---
Gentoo makes easy things difficult, impossible things easy, but it also 
gives you enough rope to hang yourself. ~ swegener (Sven Wegener)
begin:vcard
fn:Alvin A ONeal Jr
n:ONeal;Alvin
adr;dom:;;34 Fletcher Lane;Shelburne;VT;05482
email;internet:[EMAIL PROTECTED]
tel;work:1.802.877.2938
tel;home:1.802.985.5277
tel;cell:1.802.578.0599
note;quoted-printable:DoB: 19860616=0D=0A=
	
x-mozilla-html:FALSE
url:http://coolaj86.havenite.net
version:2.1
end:vcard



[gentoo-user] Quicktime for Java

2005-08-30 Thread Justin Hart
Hey, is there an ebuild for Quicktime for Java?

-- 
Justin W. Hart

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Quicktime for Java

2005-08-30 Thread Justin Hart
Oh, there isn't even one for Linux.  Nevermind.

Justin

On 8/30/05, Justin Hart <[EMAIL PROTECTED]> wrote:
> Hey, is there an ebuild for Quicktime for Java?
> 
> --
> Justin W. Hart
> 


-- 
Justin W. Hart

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Do I need the vmlinuz symbolic link with Grub?

2005-08-30 Thread Daevid Vincent
Somehow net-wireless/madwifi-driver has broken on me (0.1_pre20050420-r1),
so I thought I'd recompile it. No luck. So I thought, maybe my kernel source
was different than my actual kernel (2.6.10-gentoo-r6), so I ran: 
"make bzImage modules modules_install"

Copied and renamed the bzImage file over to /boot and all that jazz.

But I don't think I'm getting the right kernel as the date for my kernel is
today, but my vmlinuz is older.

How is that symlink created? And how is the vmlinuz-2.6.10-gentoo-r6
created? What happens if I rm that symlink or the file? Is my system
unbootable?

locutus ~ # ll /boot
total 9896
drwxr-xr-x   5 root root1024 Aug 30 18:54 .
drwxr-xr-x  21 root root4096 Aug  2 19:31 ..
lrwxr-xr-x   1 root root  27 Jul 21 19:55 System.map ->
System.map-2.6.10-gentoo-r6
-rw-r--r--   1 root root 1097083 Jul 21 19:55 System.map-2.6.10-gentoo-r6
lrwxrwxrwx   1 root root   1 Sep  4  2004 boot -> .
lrwxr-xr-x   1 root root  34 Jul 21 19:56 config ->
config-kernel-2.6.10-gentoo-r6-cpu
-rw-r--r--   1 root root   34887 Aug 30 12:16
config-kernel-2.6.10-gentoo-r6-cpu
-rw-r--r--   1 root root  602620 Nov 14  2004 fbsplash-emergence-1024x768
-rw-r--r--   1 root root 1267876 Nov 17  2004 fbsplash-emergence-1600x1200
-rw-r--r--   1 root root 2262456 Apr 12 23:19 fbsplash.tgz
drwxr-xr-x   2 root root1024 Jul  7 10:53 grub
-rw-r--r--   1 root root  172826 Aug 18  2004 initrd-Emergance-1280x1024
-rw-r--r--   1 root root  101494 Jun 15  2004 initrd-gentoo-1280x1024
-rw-r--r--   1 root root  150334 Jun 15  2004 initrd-matrix-1280x1024
-rw-r--r--   1 root root 2171358 Aug 30 12:16 kernel-2.6.10-gentoo-r6-cpu
-rw-r--r--   1 root root   41895 Feb 27  2004 splash.initrd
lrwxr-xr-x   1 root root  24 Jul 21 19:55 vmlinuz ->
vmlinuz-2.6.10-gentoo-r6
-rw-r--r--   1 root root 2164025 Jul 21 19:55 vmlinuz-2.6.10-gentoo-r6

I don't see any mention of vmlinuz in my grub.conf file:

default=0
timeout=10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Gentoo Linux (2.6.10r6) [resume framebuffer splash 1600 CPU]
root=(hd0,0)
kernel=(hd0,0)/boot/kernel-2.6.10-gentoo-r6-cpu ro root=/dev/hda3
video=vesafb:ywrap,mtrr,[EMAIL PROTECTED] splash=silent,theme:emergence
CONSOLE=/dev/tty1 hdb=ide-scsi resume=/dev/hda6 pmdisk=/dev/hda6
netdev=5,0xec80,eth0
initrd (hd0,0)/boot/fbsplash-emergence-1600x1200


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Following a well overdue world -u I have no network

2005-08-30 Thread Harry Putnam
Followin a well overdue emerge world -u I have no network on reboot.

The pieces seem to be there, although I'm not sure I remember what all
goes into it.

/etc/conf.d/net has the eht0 address and gateway address but its not
getting set on bootup.

I can ifconfig and route it into place of course but wondering why it
isn't just happening like before the update.

I went thru the new conf files with etc-update and seemingly was
carefull to get them right or merged etc.

Another very disturbing phenomena is that a mail spool directory I've
used for years in ~/spool is getting deleted by something.  This is
not tolerable of course since all mail resides there at least until it
is slurped by my emacs/gnus reader.

I did notice some rsnaphot errors on first reboot that indicated a
needed parameter (`config_version') was missing from my conf files.
Must be someting new in rsnapshot since those confs worked fine
prior to update.  I went ahead and added the parameter:
  config_version1.2  to each conf and recieved no more errors.

What steps do I need to track down the network not getting setup and
the mysterious deletions?

Can some one just list the various files that contain the needed
network settings.  Maybe I've inadvertantly overwritten something.

Any ideas how to track donw what is deleting ~/spool?


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mail in $HOME/.maildir, why ??? (cont.)

2005-08-30 Thread Walter Dnes
On Mon, Aug 29, 2005 at 08:42:38PM +0200, Jarry wrote

  If you have a problem with users having access to certain email, then
don't let them access that email at all.  That is the only way.

> Neil Bothwick wrote:
> 
> Q: How can I prohibit users from changing mail-path in their
> $HOME/.procmailrc back to $HOME/.maildir? That way they could
> circumvent my /var userqouta settings (100MB) and use /home
> settings (5GB)...

  I believe that procmail is paranoid about any .procmailrc not having
"correct" ownership and permissions.  So if you chown it to root,
procmail may ignore it when processing email for the user.  You might
want to look at setting up .procmailrc "properly" in the user's name,
and then "chattr +i" on it.  That should lock it down.

  Having said that... what's to prevent a user from saving copies of his
email to a directory in his own account?  I repeat what I said at the
start of this message... if you have a problem with users having access
to certain email, then don't let them access that email at all.  That is
the only way.

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



Re: [gentoo-user] Do I need the vmlinuz symbolic link with Grub?

2005-08-30 Thread Holly Bostick
Daevid Vincent schreef:
> Somehow net-wireless/madwifi-driver has broken on me (0.1_pre20050420-r1),
> so I thought I'd recompile it. No luck. So I thought, maybe my kernel source
> was different than my actual kernel (2.6.10-gentoo-r6), so I ran: 
> "make bzImage modules modules_install"

OK, don't quite get this:

to see what kernel you're running do

uname -r

 uname -r
2.6.12-gentoo-r9

to see what kernel is linked to /usr/src/linux (which is the symlink
external modules will follow to determine what source to build against), do

la /usr/src/linux

la /usr/src/linux
lrwxrwxrwx  1 root root 23 aug 31 00:25 /usr/src/linux ->
linux-2.6.12-gentoo-r10

As you see, the kernel I am currently running is different from the
source that I downloaded earlier this evening and will compile tomorrow.
In less than 24 hours, both outputs will say the same thing.

I just don't get why people tend 'speculate' on stuff instead of just
checking. :) .

Also not quite sure why you're doing all those steps; it's like you're
running a 2.4 kernel or something.

For ages under 2.6, all that's needed is

make
make modules_install
make install or manual copy of the kernel to /boot

> 
> Copied and renamed the bzImage file over to /boot and all that jazz.
> 
> But I don't think I'm getting the right kernel as the date for my kernel is
> today, but my vmlinuz is older.
> 
> How is that symlink created? And how is the vmlinuz-2.6.10-gentoo-r6
> created? 

They are both created if you use 'make install' as the third step of
kernel compilation; the bzImage created by the 'make' command is copied
to /boot, renamed vmlinuz-whatever and symlinked to vmlinuz. Any
currently existing kernel's symlink is removed, and a new link is
created to vmlinuz.old. The same occurs for System.map and .config

The idea is that it simplifies GRUB configuration (you only have to say
the current kernel is vmlinuz and the previous one is vmlinuz.old. Any
yet older kernels can be added using the full name of
vmlinuz-kernel.version).

What happens if I rm that symlink or the file? Is my system
> unbootable?

Possibly, if you delete the kernel, and its the one you're using.
Nothing ever happens if you delete a symlink (it doesn't affect the
file), but of course any bootloader entries that refer to the symlink or
the deleted file will be invalid.

For reference, here's my grub.conf, and the contents of /boot:

   1 apr 27 18:52 boot -> .
  23 aug 28 19:18 config -> config-2.6.12-gentoo-r9
   60418 mrt 24 01:31 config-2.6.11.4-20a-default
   36162 jul  7 02:09 config-2.6.11-gentoo-r11
   36338 mei  5 00:52 config-2.6.11-gentoo-r6
   35926 jun 13 23:49 config-2.6.11-gentoo-r8
   32555 jul 24 02:08 config-2.6.12-gentoo-r6
   32009 aug 28 19:18 config-2.6.12-gentoo-r9
   32533 aug 28 18:19 config-2.6.12-gentoo-r9.old
  27 aug 28 19:18 config.old -> config-2.6.12-gentoo-r9.old
1024 aug 23 19:57 grub
  27 apr 27 14:23 initrd -> initrd-2.6.11.4-20a-default
 1365529 apr 27 14:23 initrd-2.6.11.4-20a-default
   0 apr 29 00:47 .keep
   12288 apr 27 14:13 lost+found
  138240 apr 27 14:23 message
   68372 mrt 24 01:32 symvers-2.6.11.4-20a-i386-default.gz
  27 aug 28 19:18 System.map -> System.map-2.6.12-gentoo-r9
  708925 mrt 24 01:26 System.map-2.6.11.4-20a-default
 1015185 jul  7 02:09 System.map-2.6.11-gentoo-r11
 1022418 mei  5 00:52 System.map-2.6.11-gentoo-r6
  978467 jun 13 23:49 System.map-2.6.11-gentoo-r8
 1023832 jul 24 02:08 System.map-2.6.12-gentoo-r6
  972725 aug 28 19:18 System.map-2.6.12-gentoo-r9
  972876 aug 28 18:19 System.map-2.6.12-gentoo-r9.old
  31 aug 28 19:18 System.map.old -> System.map-2.6.12-gentoo-r9.old
1024 apr 29 15:52 .Trash-root
  24 aug 28 19:18 vmlinuz -> vmlinuz-2.6.12-gentoo-r9
 1424645 mrt 24 01:26 vmlinuz-2.6.11.4-20a-default
 2231337 jul  7 02:09 vmlinuz-2.6.11-gentoo-r11
 2279794 mei  5 00:52 vmlinuz-2.6.11-gentoo-r6
 2132248 jun 13 23:49 vmlinuz-2.6.11-gentoo-r8
 2122433 jul 24 02:08 vmlinuz-2.6.12-gentoo-r6
 3540799 aug 28 19:18 vmlinuz-2.6.12-gentoo-r9
 3540532 aug 28 18:19 vmlinuz-2.6.12-gentoo-r9.old


I should probably get rid of the old 2.6.11 kernels, since I don't need
them for emergency backup anymore.

Anyway, when I compile 2.6.12-gentoo-r10 later today, 2.6.12-gentoo-r9
will be linked to vmlinuz.old (again), 2.6.12-gentoo-r10 will be linked
directly to vmlinuz, and any other kernels I want to put in the menu can
be linked directly by name:


splashimage=(hd0,1)/grub/grub-livecd2.xpm.gz
title Gentoo_current (2.6.12-gentoo-r9)
root (hd0,1)
kernel /vmlinuz ro quiet root=/dev/hda5
video=vesafb:ywrap,mtrr,[EMAIL PROTECTED]
splash=silent,fadein,theme:livecd-2005.1 CONSOLE=/dev/tty1
#   initrd (hd0,1)/fbsplash-emergence-2612-6

title Gentoo_prev (2.6.11-gentoo-r6)
root (hd0,1)
kernel /vmlinuz-2.6.11-gentoo-r6 ro root=/dev/hda5
video=vesafb:ywrap,pmipal,mtrr,[EMAIL PROTECTED]
splash=verbose,theme:emergence quiet CONSOLE=/dev/tty1
initrd /fbsplash-e

Re: [gentoo-user] thunderbird stopped opening firefox windows...

2005-08-30 Thread Qiangning Hong
Antoine wrote:
> When I click on an email now nothing happens. It was fine and dandy for
> a while but now nothing... anyone got any ideas?

Add the following line into prefs.js of your Thunderbird profile:

user_pref("network.protocol-handler.app.http", "firefox");

I believe Thunderbird has changed its default behavior from some version.


-- 
Qiangning Hong

I'm usually annoyed by IDEs because, for instance, they don't use VIM
as an editor. Since I'm hooked to that, all IDEs I've used so far have
failed to impress me.
-- Sybren Stuvel @ c.l.python

Get Firefox!

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] modifying locally an ebuild

2005-08-30 Thread Nick Rout

On Wed, 31 Aug 2005 03:36:57 +0200
Holly Bostick wrote:

> Fernando Canizo schreef:
> > Hi all, 
> > 
> > I find a cute patch to mutt and to use it i modified the ebuild and
> > the pertinent files so now re-emerging mutt builds mutt with this
> > patch. Later i fixed the actual version of mutt so an upgrade cannot
> > erase it.
> > 
> > What i would like to know is how can i do this i a 'gentoo way'. I
> > have listen that there are something called SLOTs, but never used so
> > far (never need them?)
> > 
> > Or the only way is to propose the add of the patch to portage?
> > 
> 
[snip]
> 
> If the ebuild in Portage hasn't changed, your modified ebuild will
> always be newer; if the ebuild in Portage has changed, it's quite likely
> that whatever patch or functionality you were waiting for has been
> merged into the main tree upstream, or backported into the ebuild, so
> you have an easy migration path back into main Portage (and of course,
> if you care enough about the application and its patchset to modify an
> ebuild and put it in your overlay, checking the ChangeLog of any updated
> ebuilds is not an onerous task).
> 
> If the program has been updated, but your patch still isn't there, then
> you can just copy and modify the updated ebuild and files.
> 
[snip]

Good post Holly, you should make it into a howto.

2 things spring to mind:

1. i thought that overlay always beats normal portage, but you are
saying newer ebuild file wins (ie if the official ebuild has been
updated but not renamed it will beat what is in overlay. ) - do you have
any reference for that (I sure don't, its just how I thought it worked)

2. Fernando might like to note that the way to introduce a patch to a
package (rather than an amendment to the ebuild) is to use the epatch
command. Commonly the line looks like this:

epatch ${FILESDIR}/cool-all-mutt.patch

In that case the patch is in the files directory below the ebuild file.

If the patch is large or publicly available, you are better NOT to put
it in the portage tree but have it downloaded from a mirror with e
SRC_URI command. If you want an example of this take a look at the
vlc-0.8.2-r1 ebuild (chosen by me cos I was unsuccessfully hacking it
the other day)

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

-- 
Nick Rout <[EMAIL PROTECTED]>

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Following a well overdue world -u I have no network

2005-08-30 Thread Roy Wright

Harry Putnam wrote:


Followin a well overdue emerge world -u I have no network on reboot.

The pieces seem to be there, although I'm not sure I remember what all
goes into it.

/etc/conf.d/net has the eht0 address and gateway address but its not
getting set on bootup.

I can ifconfig and route it into place of course but wondering why it
isn't just happening like before the update.

I went thru the new conf files with etc-update and seemingly was
carefull to get them right or merged etc.

Another very disturbing phenomena is that a mail spool directory I've
used for years in ~/spool is getting deleted by something.  This is
not tolerable of course since all mail resides there at least until it
is slurped by my emacs/gnus reader.

I did notice some rsnaphot errors on first reboot that indicated a
needed parameter (`config_version') was missing from my conf files.
Must be someting new in rsnapshot since those confs worked fine
prior to update.  I went ahead and added the parameter:
 config_version1.2  to each conf and recieved no more errors.

What steps do I need to track down the network not getting setup and
the mysterious deletions?

Can some one just list the various files that contain the needed
network settings.  Maybe I've inadvertantly overwritten something.

Any ideas how to track donw what is deleting ~/spool?


 


For the network problem:

hostname and domainname migrated from /etc to /etc/conf.d

check /etc/conf.d/net for something like:
iface_eth0="dhcp"

check dmesg

check /var/log

HTH,
Roy
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Do I need the vmlinuz symbolic link with Grub?

2005-08-30 Thread Volker Armin Hemmann
On Wednesday 31 August 2005 04:25, Daevid Vincent wrote:
> Somehow net-wireless/madwifi-driver has broken on me (0.1_pre20050420-r1),
> so I thought I'd recompile it. No luck. So I thought, maybe my kernel
> source was different than my actual kernel (2.6.10-gentoo-r6), so I ran:
> "make bzImage modules modules_install"
>
> Copied and renamed the bzImage file over to /boot and all that jazz.
>
> But I don't think I'm getting the right kernel as the date for my kernel is
> today, but my vmlinuz is older.
>
> How is that symlink created? And how is the vmlinuz-2.6.10-gentoo-r6
> created? What happens if I rm that symlink or the file? Is my system
> unbootable?
>

if you type 'make install' (very recommended) the vmlinuz-2.6.XX file is 
copied to /boot, alongside its corresponding config and system.map.
A 'vmlinuz'/'System.map' link is created that points to the latest installed 
kernel, and some '*.old' symlinks that point to the previous kernel version.

Can you safely remove all this symlinks?
Yes, of course.

But it is very convinient, to have vmlinuz and vmlinuz.old as boot options in 
grub.conf.
This way, you'll have nothing to do after an update, and the old kernel is 
always there as a safety net.

make all modules_install install and you have nothing to do (except 
mounting /boot).
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Following a well overdue world -u I have no network

2005-08-30 Thread Nick Rout

On Tue, 30 Aug 2005 22:26:30 -0500
Roy Wright wrote:

> Harry Putnam wrote:
> 
> >Followin a well overdue emerge world -u I have no network on reboot.
> >
> >The pieces seem to be there, although I'm not sure I remember what all
> >goes into it.
> >
> >/etc/conf.d/net has the eht0 address and gateway address but its not
> >getting set on bootup.
> >
> >I can ifconfig and route it into place of course but wondering why it
> >isn't just happening like before the update.
> >
> >I went thru the new conf files with etc-update and seemingly was
> >carefull to get them right or merged etc.
> >
> >Another very disturbing phenomena is that a mail spool directory I've
> >used for years in ~/spool is getting deleted by something.  This is
> >not tolerable of course since all mail resides there at least until it
> >is slurped by my emacs/gnus reader.
> >
> >I did notice some rsnaphot errors on first reboot that indicated a
> >needed parameter (`config_version') was missing from my conf files.
> >Must be someting new in rsnapshot since those confs worked fine
> >prior to update.  I went ahead and added the parameter:
> >  config_version1.2  to each conf and recieved no more errors.
> >
> >What steps do I need to track down the network not getting setup and
> >the mysterious deletions?
> >
> >Can some one just list the various files that contain the needed
> >network settings.  Maybe I've inadvertantly overwritten something.
> >
> >Any ideas how to track donw what is deleting ~/spool?
> >
> >
> >  
> >
> For the network problem:

first thing to know - have you updated your config files with
etc-update or dispatch-conf?

> 
> hostname and domainname migrated from /etc to /etc/conf.d
> 
> check /etc/conf.d/net for something like:
> iface_eth0="dhcp"
> 
> check dmesg
> 
> check /var/log
> 
> HTH,
> Roy
> -- 
> gentoo-user@gentoo.org mailing list

-- 
Nick Rout <[EMAIL PROTECTED]>

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /etc/init.d/local - one thing led to another

2005-08-30 Thread A. Khattri
On Tue, 30 Aug 2005, John J. Foster wrote:

> The initial "Starting local" is displayed as the system boots, but
> that's all that happens. If I do a /etc/init.d/local restart, all is
> well, and all is logged.
>
> Am I once again missing the obvious?

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=4#doc_chap2


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Do I need the vmlinuz symbolic link with Grub?

2005-08-30 Thread Nick Rout

On Wed, 31 Aug 2005 04:56:50 +0200
Holly Bostick wrote:

> For ages under 2.6, all that's needed is
> 
> make
> make modules_install
> make install or manual copy of the kernel to /boot

yep, and if you forget what is what, there is always

make help



-- 
Nick Rout <[EMAIL PROTECTED]>

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Sound with Virtual Channels

2005-08-30 Thread Nick Rout

On Tue, 30 Aug 2005 20:28:37 +0200
Christoph Eckert wrote:

> 

> 
> Recent ALSA versions do softwaremixing using the DMIX plugin per 
> default. Older versions can do it by creating an soundrc file.
> 
> Unfortunately this does not help with legacy applications which still 
> use OSS or the ALSA OSS emulation - like Skype or Realplayer do :( .

does that mean that OSS emulation does not use dmix?

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

-- 
Nick Rout <[EMAIL PROTECTED]>

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] acpid

2005-08-30 Thread Ralph Slooten
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Have you tried looking at http://www.linux-laptop.net/ ? It might give
you some hints with the same (or similar) laptops.

To see if you have working acpi support check
/proc/acpi/battery/BAT1/info
/proc/acpi/battery/BAT1/state

They should tell you more-or-less the state your battery is in (charging
or not, power etc). If these files exists then you have working acpi
support, and the problem might be the gnome applets. What kernel are you
using?

Ralph

John Dangler wrote:
> I got acpid emerged, started, and added to run level, but when I go into
> gnome and mouse over the battery (the default applet) it says:
> System is running on battery power
> 0 minutes (0%) remain
> 
> the laptop is plugged into the AC.
> 
> John D
> 
> emerged with +acpi -apm ...

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDFUCpCt0ZF9kLPvYRAgjnAKCQ9GtiMRXuNmWL+C4zLJ+b/5pIDACeNwFP
u3EQXYMdejdnAa6fJ3j2n4M=
=aBtE
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] modifying locally an ebuild

2005-08-30 Thread Fernando Canizo
El 30/ago/2005 a las 22:36 -0300, Holly me decía:
> Normally what one would do is place all modified ebuilds in your
> PORTDIR_OVERLAY ...

Thank you very much. You should take advice from Nick and make it a howto. I'm
surely going to translate to spanish and put it in my blog, maybe i would add
something if i get to make it work ;) 

I can't make it work but it's after 2 AM and maybe i just need to read some
docs.

ebuild says:

# ebuild /usr/local/portage/mail-client/mutt/mutt-conan-1.5.8-r2.ebuild digest
!!! aux_get(): ebuild path for 'mail-client/mutt-conan-1.5.8-r2' not specified:
!!!None
!!! aux_get(): ebuild path for 'mail-client/mutt-conan-1.5.8-r2' not specified:
!!!None
doebuild(): aux_get() error reading mail-client/mutt-conan-1.5.8-r2; aborting.

> to create the manifest file (so that Portage knows what files are
> associated with the ebuild, and can calculate their MD5 sums to check
> them for corruption when emerging).

I did it by hand, first time, when modified ebuild in /usr/portage

> The thing is, that ebuilds in your overlay aren't overwritten or touched
> in any way by Portage, so you don't have to keep 'redoing' the ebuild
> every time you emerge sync.

Cool, that's what i wanted. But i have to fix version in
/etc/portage/packages.mask if i want to forbid mutt being upgraded, have i?

> If the ebuild in Portage hasn't changed, your modified ebuild will
> always be newer; if the ebuild in Portage has changed, it's quite likely
> that whatever patch or functionality you were waiting for has been
> merged into the main tree upstream, or backported into the ebuild, so
> you have an easy migration path back into main Portage (and of course,
> if you care enough about the application and its patchset to modify an
> ebuild and put it in your overlay, checking the ChangeLog of any updated
> ebuilds is not an onerous task).

Well, i've not synced for a while, but i think sooner or later will do.
Emm... the patch isn't going to be upstream soon if ever. I asked for some
behaviour in mutt-user mailing list and someone give me this patch. Now i'm
asking there to put it in the core, but that could not happen.

> So that's the userland solution, but yes, if you want the patch included
> in Portage (which is likely to happen anyway, if it's a patch from
> upstream), the place to submit it for inclusion (preferably with the
> modified ebuild attached as well), would be bugs.gentoo.org (b.g.o).

Well, maybe i try it, the patch is so simple that even if never gets to mutt
core, i think it wouldn't do any damage to maintain it in gentoo. I can do that.

> Hope that helps answer your question.

Sure it does!

-- 
Fernando Canizo - http://www.lugmen.org.ar/~conan/
Renning's Maxim:
Man is the highest animal.  Man does the classifying.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] modifying locally an ebuild

2005-08-30 Thread Fernando Canizo
El 31/ago/2005 a las 00:23 -0300, Nick me decía:
> 2. Fernando might like to note that the way to introduce a patch to a
> package (rather than an amendment to the ebuild) is to use the epatch
> command. Commonly the line looks like this:

You're saying that i can emerge mutt, run epatch command and then
re-emerge and assumes the patch? It sounds crazy for me, maybe i don't
understand.

> epatch ${FILESDIR}/cool-all-mutt.patch

I see that command in ebuilds, but where is it? I can't find it in my
installation, but somewhere must be since it gets used.

> If the patch is large or publicly available, you are better NOT to put
> it in the portage tree but have it downloaded from a mirror with e
> SRC_URI command. If you want an example of this take a look at the
> vlc-0.8.2-r1 ebuild (chosen by me cos I was unsuccessfully hacking it
> the other day)
 
I don't understand this either, if i put something un *my* portage
tree the mirrors get infested?

(hum... better get some sleep now, i'm understanding less after each
minute)

-- 
Fernando Canizo - http://www.lugmen.org.ar/~conan/
lighthouse, n.:
A tall building on the seashore in which the government
maintains a lamp and the friend of a politician.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT: font management software

2005-08-30 Thread Martin S
I admit - I'm adicted to fonts.
Is there a font management app that's good under Linux?
I need to see what the fonts look like and be able to install what's not installed.

I found Fontlinge which isn't in portage and consists of a gazillion dependencies. Any more?Regards,Martin S


Re: [gentoo-user] Can`t play dvd with xine based video players

2005-08-30 Thread Makurin Roman
В сообщении от Воскресенье 28 августа 2005 17:28 Alex написал(a):
> On Saturday 27 August 2005 20:57, Roman Makurin wrote:
> > What I need to do ? :-)
>
> I've been looking for the same thing for some days now... The good thing I
> just found a solution (well at least it worked for me :) )
> You have to enable direct raw access in the kernel:
>
> Device Drivers  ---> ATA/ATAPI/MFM/RLL support  --->  [*] IDE Taskfile
> Access
>
> boot with your new kernel and enjoy your movies ;)

The problem has gone with xine-lib-1.1.0-r2 :-)




pgpbAmExHKs3s.pgp
Description: PGP signature


Re: [gentoo-user] modifying locally an ebuild

2005-08-30 Thread Nick Rout
On Wed, 2005-08-31 at 02:56 -0300, Fernando Canizo wrote:
> El 31/ago/2005 a las 00:23 -0300, Nick me decía:
> > 2. Fernando might like to note that the way to introduce a patch to a
> > package (rather than an amendment to the ebuild) is to use the epatch
> > command. Commonly the line looks like this:
> 
> You're saying that i can emerge mutt, run epatch command and then
> re-emerge and assumes the patch? It sounds crazy for me, maybe i don't
> understand.

no no, you put the epatch command in your ebuild file (your own version
that you put in PORTAGE_OVERLAY.)  Then the patch gets applied to the
mutt source file before compilation.

> 
> > epatch ${FILESDIR}/cool-all-mutt.patch
> 
> I see that command in ebuilds, but where is it? I can't find it in my
> installation, but somewhere must be since it gets used.
> 

epatch is internal to portage, it is the gentoo version of the patch
command. If you want to see some examples look in portage, eg:

grep epatch /usr/portage/* -r


> > If the patch is large or publicly available, you are better NOT to put
> > it in the portage tree but have it downloaded from a mirror with e
> > SRC_URI command. If you want an example of this take a look at the
> > vlc-0.8.2-r1 ebuild (chosen by me cos I was unsuccessfully hacking it
> > the other day)
>  
> I don't understand this either, if i put something un *my* portage
> tree the mirrors get infested?
> 

no. lets start again.

there are two places that portage can get the patch from. 


1. If it is small you can put it in ${FILESDIR} which is, in our case:

/usr/local/portage/mail-client/mutt/files/cool-all-mutt.patch

Then it is only on your system. If your revised ebuild gets accepted
into portage then the patch file will also get in the portage tree and
every gentooista will eventually get it via emerge sync.

2. If it is large, or if it is, for example, a commonly available public
patch (for example that some third party has published) then you can
instruct portage to download it from the net by specifying a SRC_URI,
viz:

SRC_URI="http://some.place.net/pub/patches/mutt/cool-all-mutt.patch";


You can do that in your private OVERLAY ebuild, and as you say you found
the patch on the net, that may be the best way to do it.

Again, if your revised ebuild gets accepted and if the "powers that be"
get with it, the patch file might also get into the gentoo mirrors,
meaning that it is easier to get with more redundancy.

> (hum... better get some sleep now, i'm understanding less after each
> minute)
> 
> -- 
> Fernando Canizo - http://www.lugmen.org.ar/~conan/
> lighthouse, n.:
>   A tall building on the seashore in which the government
>   maintains a lamp and the friend of a politician.
-- 
Nick Rout <[EMAIL PROTECTED]>

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Finding other machines on the network

2005-08-30 Thread Frank Schafer
On Tue, 2005-08-30 at 17:51 -0500, John Jolet wrote:
> On Aug 30, 2005, at 4:57 PM, Christoph Gysin wrote:
> 
> > John Jolet wrote:
> >
> >> yeah, if it's got a firewall disallowing icmp responses.  then you  
> >> can do nmap -P0 to find it.  ping would never find it.  It's gotta  
> >> have SOME port open.
> >>
> >
> > As far as I've read his post, there's no firewall involved. So why  
> > should he do portscans in all hosts on the subnet?
> >
> >
> >> Also, nmap can do os fingerprinting and probably show you which  
> >> one is the solaris or sunos machine...
> >>
> >
> > Sure, but that's not what he's looking for...
> >
> perhaps I read the initial post wrong...I was under the impression  
> that he had a headless sun box with a static ip on a known subnet,  
> but the exact ip wasn't known.

... what about arp?

Just a thought
Frank
-- 
gentoo-user@gentoo.org mailing list



<    1   2