[gentoo-user] Clock/Daylight Savings

2007-04-18 Thread Randy Barlow
Ever since the new daylight savings change, my clock hasn't done the 
"Spring Forward".  I use ntp and the like, and it seems happy being 
behind by an hour.  I can use the date command to set it correctly, but 
after the next reboot it's back to its old games.  Pointers?


R
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Why is the latest release 2006.1?

2007-04-18 Thread chris

On 4/18/07, Drew <[EMAIL PROTECTED]> wrote:


Who'd have thought a Promise SATA300 TX4 would be unsupported in 2006.1?



I'm running 2006.1 and my Promise SATA300TX4 worked fine on a new
install.  The kernel I started on was: 2.6.17-r8.   I never changed
anything in my BIOS or on teh controller itself.  Just worked (tm). :)

I just chose the Promise modules for SATA to install into the kernel
(not as a module).

I had 3 of them in my system running 12 drives till I switched 2 out
for a 8 port card (Supermicro AOC-SAT2-MV8).

I'm currently on 2.6.19-r5.
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: FUSE (was: Add a module post kernel config/build)

2007-04-18 Thread Nistor Andrei
On Thursday 19 April 2007, [EMAIL PROTECTED] wrote:
> Neil Bothwick <[EMAIL PROTECTED]> writes:
> > On Wed, 18 Apr 2007 15:35:49 +0200, Alexander Skwar wrote:
> >> Hm. Not so sure anymore. I seem to remember, that either sys-fs/ntfs3g
> >> or sys-fs/fuse would completely refuse to build, if in-kernel fuse was
> >> built.
> >
> > sys-fs/fuse builds the tools but not the module if the kernel module is
> > detected.
>
> I have sys-fs/fuse installed.
> # eix -I fuse
> [I] sys-fs/fuse
>  Available versions:  2.6.1 2.6.3
>  Installed versions:  2.6.3(06:56:33 03/20/07)(-kernel_FreeBSD
> kernel_linux) Homepage:http://fuse.sourceforge.net
>  Description: An interface for filesystems implemented in
> userspace.
>
> [I] sys-fs/sshfs-fuse
>  Available versions:  1.6 (~)1.7
>  Installed versions:  1.7(06:38:10 02/22/07)
>  Homepage:http://fuse.sourceforge.net/sshfs.html
>  Description: Fuse-filesystem utilizing the sftp service.
>
>  Should I have a fuse module?
>
> /usr/src/linux/.config has:
>
> grep -i fuse .config
> # CONFIG_FUSE_FS is not set
>
> I believe this is how I've been setup for some time.  The previous
> kernel `.config' file also contains the line:
>  # CONFIG_FUSE_FS is not set
> but I've had no problem loading the fuse module.
>
> In this case, after emerge -uvD world and building the new
> (linux-2.6.20-gentoo-r6) kernel with genkernal I cannot load the fuse
> module.  It is not present in /lib/modules/under new kernel
> (...20..r6) but is present in previous modules directory
>
> root # find /lib/modules -iname '*fuse*'
> /lib/modules/2.6.19-gentoo-r4/fs/fuse.ko
> /lib/modules/2.6.19-gentoo-r4/kernel/fs/fuse
> /lib/modules/2.6.19-gentoo-r4/kernel/fs/fuse/fuse.ko
>
> I guess I'm kind of lost here, as to what has happened...


Try "module-rebuild -X rebuild". Usually, after a kernel upgrade, you have to 
re-emerge all the kernel modules you have installed from portage. 
Module-rebuild does it for you ;)
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] List installed packaged for 'system'

2007-04-18 Thread Bo Ørsted Andresen
On Thursday 19 April 2007 04:50:22 Bo Ørsted Andresen wrote:
> # cd /var/db/pkg && \
>    emerge -peq system | sed -n 's|^\[ebuild[^]]*\] \([^ $]\+\).*$|\1|p' | \
>sed -r 's/-[^-]+(-r[0-9]+)*$//' | while read pkg; do
>        for p in "${pkg}-"*; do
>            quickpkg "=$p";
>        done;
>    done

Hah, I thought `quickpkg automake` would only make a binpkg for the highest 
version available. Turns out it handles all versions installed. So...

# emerge -peq system | sed -n 's|^\[ebuild[^]]*\] \([^ $]\+\).*$|\1|p' | \
sed -r 's/-[^-]+(-r[0-9]+)*$//' | sort -u | xargs quickpkg

:)

-- 
Bo Andresen


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


Re: [gentoo-user] List installed packaged for 'system'

2007-04-18 Thread Bo Ørsted Andresen
On Thursday 19 April 2007 04:50:22 Bo Ørsted Andresen wrote:
>     sed -r 's/-[^-]+(-r[0-9]+)*$//' | while read pkg; do

Probably a good idea to insert a `sort -u`:

sed -r 's/-[^-]+(-r[0-9]+)*$//' | sort -u | while read pkg; do

-- 
Bo Andresen


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


Re: [gentoo-user] List installed packaged for 'system'

2007-04-18 Thread Bo Ørsted Andresen
On Thursday 19 April 2007 04:28:37 [EMAIL PROTECTED] wrote:
> I had installed the 2006.1 release on an i686 system.
>  Few weeks later I just synced the portage (only)
>  using a snapshot. Now using quickpkg i want to
>  create the binary packages of 'system' and
>  install it on an underpowered system.
>
> I got the following tip from this forum for that..
>
> emerge -pe system|sed 's/\[ebuild  N\] /=/g' > pkglist.out
> cat pkglist.out | xargs quickpkg
>
> But this fails because of the portage re-sync. Hence my question.

This fails with portage >= 2.1.1 (iirc). Before that --emptytree caused all 
packages to show up as New - i.e. as not installed. With portage >= 2.1.1 
they'll show as installed i.e. U(pdate) or R(eplace)... `man emerge` for 
details. And that's not the only thing that's flawed with that sed. It gets 
the version that would be installed rather that what is installed...

This should work:

# cd /var/db/pkg && \
emerge -peq system | sed -n 's|^\[ebuild[^]]*\] \([^ $]\+\).*$|\1|p' | \
sed -r 's/-[^-]+(-r[0-9]+)*$//' | while read pkg; do
for p in "${pkg}-"*; do
quickpkg "=$p";
done;
done

> Also from the man page
>
>--emptytree (-e)
>   Reinstalls  all world packages and their
>   dependencies to the current USE specifi-
>   cations while differing from the installed
>   set of packages as little as possible.
>
> What is the real meaning of the term empty tree here?
> It is something more than including the dependencies ?

It's reinstall targets and all dependencies (indirect as well as direct). It 
used to be pretend nothing is installed but it doesn't really do that anymore 
(would result in stupid circular deps aborts even though the deps were 
installed)...

-- 
Bo Andresen


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


[gentoo-user] List installed packaged for 'system'

2007-04-18 Thread [EMAIL PROTECTED]

Hello,

short question:
How can I list all the installed packages with their
version no.s which belong to the virtual 'system' ?

  emerge -pe system  ---> this is giving me the list of
packages  which are latest in the portage.
 I want the same list  but what is actually
 installed.

long story:

I had installed the 2006.1 release on an i686 system.
Few weeks later I just synced the portage (only)
using a snapshot. Now using quickpkg i want to
create the binary packages of 'system' and
install it on an underpowered system.

I got the following tip from this forum for that..

emerge -pe system|sed 's/\[ebuild  N\] /=/g' > pkglist.out
cat pkglist.out | xargs quickpkg

But this fails because of the portage re-sync. Hence my question.


Also from the man page

  --emptytree (-e)
 Reinstalls  all world packages and their
 dependencies to the current USE specifi-
 cations while differing from the installed
 set of packages as little as possible.

What is the real meaning of the term empty tree here?
It is something more than including the dependencies ?


thanks
sathish


Re: [gentoo-user] Re: New kernel 2.6.20-r6

2007-04-18 Thread Iain Buchanan
On Wed, 2007-04-18 at 22:58 +0100, Mick wrote:
> On Wednesday 18 April 2007 19:37, Mick wrote:
> > Hi All,
> >
> > I see these two messages in dmesg and I am not sure what they're about:
> >
> > intel_rng: FWH not detected
> 
> I think this has to do with:
> 
> CONFIG_HW_RANDOM_INTEL=y
> 
> Evidently my laptop does not have a firmware hub (FWH) for generating random 
> numbers.

Or that your laptop can't generate random hardware.

> > hda: 39070080 sectors (20003 MB) w/1740KiB Cache, CHS=16383/255/63<6>hda:
> > hw_config=600d, UDMA(100)
> >
> > What's the hw_config part?
> 
> Any more (useful) ideas on this?

I admit I had to read the joke 4 times before I got it, but that only
makes it funnier.

um, I think it's a register (ie. a number where each bit has some
meaning) about the capability of your HD.  What exactly 0x6000, 0x8,
0x4, and 0x1 are, I don't know.  Something to do with cable types, and
so on, I think.

someone more into the kernel could probably help more here I think :)

HTH,
-- 
Iain Buchanan 

linux: the choice of a GNU generation
([EMAIL PROTECTED] put this on Tshirts in '93)

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Add a module post kernel config/build

2007-04-18 Thread reader
"Boyd Stephen Smith Jr." <[EMAIL PROTECTED]> writes:

> On Wednesday 18 April 2007, [EMAIL PROTECTED] wrote about '[gentoo-user]  
> Add a module post kernel config/build':
>> Summary:
>> How can I add an additional module once I've configured/built a kernel?
>>
>> Details: After looking thru the handbook, especially section about
>> kernel config, I don't see information about how to add a module once
>> a kernel is built and running.
>
> For in-tree modules, go into the kernel source directory, use menuconfig or 
> whatever to set that configuration setting to 'm', make, make 
> modules-install.  (Or, at least, that's my preferred method modulo typos.)
>
[...]

All good info and tips.  Thanks Boyd.

Etaoin Shrdlu <[EMAIL PROTECTED]> writes:

[...]

> I never used genkernel, but if you have the kernel source tree available, 
> you can just cd into it, adjust your configuration (using make *config), 
> then do "make && make modules_install". Only the new stuff you added 
> will be rebuilt and installed (ie, the fuse module in your case), 
> assuming you did not delete the already compiled object files inside the 
> tree.

Again... good and helpfull info... thanks.

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: FUSE (was: Add a module post kernel config/build)

2007-04-18 Thread reader
Neil Bothwick <[EMAIL PROTECTED]> writes:

> On Wed, 18 Apr 2007 15:35:49 +0200, Alexander Skwar wrote:
>
>> Hm. Not so sure anymore. I seem to remember, that either sys-fs/ntfs3g
>> or sys-fs/fuse would completely refuse to build, if in-kernel fuse was
>> built.
>
> sys-fs/fuse builds the tools but not the module if the kernel module is
> detected.

I have sys-fs/fuse installed. 
# eix -I fuse
[I] sys-fs/fuse
 Available versions:  2.6.1 2.6.3
 Installed versions:  2.6.3(06:56:33 03/20/07)(-kernel_FreeBSD kernel_linux)
 Homepage:http://fuse.sourceforge.net
 Description: An interface for filesystems implemented in userspace.

[I] sys-fs/sshfs-fuse
 Available versions:  1.6 (~)1.7
 Installed versions:  1.7(06:38:10 02/22/07)
 Homepage:http://fuse.sourceforge.net/sshfs.html
 Description: Fuse-filesystem utilizing the sftp service.

 Should I have a fuse module?

/usr/src/linux/.config has:

grep -i fuse .config
# CONFIG_FUSE_FS is not set

I believe this is how I've been setup for some time.  The previous
kernel `.config' file also contains the line:
 # CONFIG_FUSE_FS is not set
but I've had no problem loading the fuse module.

In this case, after emerge -uvD world and building the new
(linux-2.6.20-gentoo-r6) kernel with genkernal I cannot load the fuse
module.  It is not present in /lib/modules/under new kernel
(...20..r6) but is present in previous modules directory

root # find /lib/modules -iname '*fuse*'
/lib/modules/2.6.19-gentoo-r4/fs/fuse.ko
/lib/modules/2.6.19-gentoo-r4/kernel/fs/fuse
/lib/modules/2.6.19-gentoo-r4/kernel/fs/fuse/fuse.ko

I guess I'm kind of lost here, as to what has happened...












-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] New kernel 2.6.20-r6

2007-04-18 Thread Guillermo A. Amaral
On Wednesday 18 April 2007, Benno Schulenberg wrote:
> Mick wrote:
> > hda: 39070080 sectors (20003 MB) w/1740KiB Cache,
> > CHS=16383/255/63<6>hda: hw_config=600d, UDMA(100)
> >
> > What's the hw_config part?
>
> It just means that the "hardware configuration is good".
>
> Sorry, couldn't resist.  :)
>
> Benno
>
> --
> Cetere mi opinias ke ne ĉio tradukenda estas.

LOL nice, 600d

-- 
Guillermo A. Amaral, CSE
# Free & Open Source Advocate
& nick: guillermoamaral
@ blog: http://blog.guillermoamaral.com/
@ site: http://www.guillermoamaral.com/
$ irc: [EMAIL PROTECTED]
% gpg: http://downloads.guillermoamaral.com/public.asc


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


Re: [gentoo-user] New kernel 2.6.20-r6

2007-04-18 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Dan Cowsill wrote:
> Lol

ROFL!

Why did I choose THIS moment (1) to understand the joke?

Sincerely,
Buanzo

(1): After a good stout beer. Sorry, after TWO good stout beers.

- --
Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad Informatica
Foros GNU/Buanzo: Respeto, Soluciones y Buena Onda: http://foros.buanzo.com.ar
Consulting and Secure Mail Hosting: http://www.buanzo.com.ar/pro/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGJph8AlpOsGhXcE0RCgd3AJ9ReXxiOeWbbgZm0sT2vV2Bc1Dd7ACbBWHm
tkT8Nf6bie3r25Ad2J8cvzI=
=eWqu
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: New kernel 2.6.20-r6

2007-04-18 Thread Mick
On Wednesday 18 April 2007 19:37, Mick wrote:
> Hi All,
>
> I see these two messages in dmesg and I am not sure what they're about:
>
> intel_rng: FWH not detected

I think this has to do with:

CONFIG_HW_RANDOM_INTEL=y

Evidently my laptop does not have a firmware hub (FWH) for generating random 
numbers.

> hda: 39070080 sectors (20003 MB) w/1740KiB Cache, CHS=16383/255/63<6>hda:
> hw_config=600d, UDMA(100)
>
> What's the hw_config part?

Any more (useful) ideas on this?
-- 
Regards,
Mick


pgpRA7xd4awhQ.pgp
Description: PGP signature


Re: [gentoo-user] New kernel 2.6.20-r6

2007-04-18 Thread Dan Cowsill

Lol

On 4/18/07, Benno Schulenberg <[EMAIL PROTECTED]> wrote:

Mick wrote:
> hda: 39070080 sectors (20003 MB) w/1740KiB Cache,
> CHS=16383/255/63<6>hda: hw_config=600d, UDMA(100)
>
> What's the hw_config part?

It just means that the "hardware configuration is good".

Sorry, couldn't resist.  :)

Benno

--
Cetere mi opinias ke ne ĉio tradukenda estas.
--
[EMAIL PROTECTED] mailing list





--
-·=»Ðŧħ«=·-


Re: [gentoo-user] no images displayed in Konqueror or Gwenview

2007-04-18 Thread Hemmann, Volker Armin
On Mittwoch, 18. April 2007, Garry Smith wrote:
> Hi,
>
> >> My Konqueror and Gwenview applications are not displaying images (no
> >> thumbnails or images displayed)
> >>
> >> Gwenview 1.3.1 (Using KDE 3.5.5)
> >>
> >> What library do I need to be looking at to get png, gif, jpeg support
> >> for these two applications?
> >
> > you need to rebuild qt with support for all of them. Check your useflags!
>
> Thanks for the replies.
>
> I recompiled QT but still no joy with either Konqueror or gwenview
> displaying images.
>
> I did:
>
> USE="opengl png zlib gif" emerge -av  x11-libs/qt
>
> emerge -av  media-gfx/gwenview
>
> Use flags for these packages are:
>
> obufki gms # emerge -av  x11-libs/qt
> Calculating dependencies... done!
> [ebuild   R   ] x11-libs/qt-4.2.3-r1  USE="cups dbus doc examples jpeg
> mysql opengl png zlib -accessibility -debug -firebird -gif* -glib -mng
> -nas -nis -odbc -pch -postgres -qt3support -sqlite -sqlite3 -xinerama"
> INPUT_DEVICES="-wacom" 0 kB

that is the wrong qt. You need to rebuilt qt3!
Also, set the flags in your make.conf.

And FIRST rebuilt qt THAN kdelibs and gwenview!
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] no images displayed in Konqueror or Gwenview

2007-04-18 Thread Garry Smith

Hi,


My Konqueror and Gwenview applications are not displaying images (no
thumbnails or images displayed)

Gwenview 1.3.1 (Using KDE 3.5.5)

What library do I need to be looking at to get png, gif, jpeg support
for these two applications?



you need to rebuild qt with support for all of them. Check your useflags!
  

Thanks for the replies.

I recompiled QT but still no joy with either Konqueror or gwenview
displaying images.

I did:

USE="opengl png zlib gif" emerge -av  x11-libs/qt

emerge -av  media-gfx/gwenview

Use flags for these packages are:

obufki gms # emerge -av  x11-libs/qt
Calculating dependencies... done!
[ebuild   R   ] x11-libs/qt-4.2.3-r1  USE="cups dbus doc examples jpeg
mysql opengl png zlib -accessibility -debug -firebird -gif* -glib -mng
-nas -nis -odbc -pch -postgres -qt3support -sqlite -sqlite3 -xinerama"
INPUT_DEVICES="-wacom" 0 kB


obufki gms # emerge -av konqueror
Calculating dependencies... done!
[ebuild   R   ] kde-base/konqueror-3.5.5  USE="java -arts -debug
-kdeenablefinal -kdehiddenvisibility -xinerama" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB


obufki gms #  emerge -av gwenview
Calculating dependencies... done!
[ebuild   R   ] media-gfx/gwenview-1.3.1-r1  USE="-arts -debug
-kdehiddenvisibility -kipi -xinerama" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB

Any other ideas?

Thanks in advance
Garry


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] New kernel 2.6.20-r6

2007-04-18 Thread Benno Schulenberg
Mick wrote:
> hda: 39070080 sectors (20003 MB) w/1740KiB Cache,
> CHS=16383/255/63<6>hda: hw_config=600d, UDMA(100)
>
> What's the hw_config part?

It just means that the "hardware configuration is good".

Sorry, couldn't resist.  :)

Benno

-- 
Cetere mi opinias ke ne ĉio tradukenda estas.
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] New kernel 2.6.20-r6

2007-04-18 Thread Mick
Hi All,

I see these two messages in dmesg and I am not sure what they're about:

intel_rng: FWH not detected

hda: 39070080 sectors (20003 MB) w/1740KiB Cache, CHS=16383/255/63<6>hda: 
hw_config=600d, UDMA(100)

What's the hw_config part?
-- 
Regards,
Mick


pgpixq5sDfv1l.pgp
Description: PGP signature


Re: [gentoo-user] Re: Re: Monitor SATA with smart?

2007-04-18 Thread Hemmann, Volker Armin
On Mittwoch, 18. April 2007, Alexander Skwar wrote:

> It really depends. The Google study (one of the links above) says,
> that SMART very often does not warn you about an impending failure.
> So, even though SMART reports that everything is fine, it may very
> well not be fine at all. Classic case of false negative.

but when smart starts to warn, it is a good sign, that the disk is on its way 
to harddisk-hell 

There is no way to predict all kinds of failure - and covering at least some 
of them is better than nothing.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] [Somewhat OT] Backup software for CDs.

2007-04-18 Thread Dale
Etaoin Shrdlu wrote:
>
>
> That's because it cannot find mindi:
>
> bach ~ # mindi
> -bash: mindi: command not found
>
> /usr/sbin/mindi is a broken symlink to /usr/share/mindi/mindi, which does 
> not exist. There is a bug for this on b.g.o. (along with others for 
> missing dependencies in the ebuild). Furthermore, it's not clear at all 
> what the current portage status of mondo-rescue is.
> The liquidx overlay has newer mondo ebuilds, but doing a quick check they 
> seem to be broken too.
>
> It's perhaps easier to use some other tool with better "official" portage 
> support, like dar/kdar (yes, I'm aware that I am the one that suggested 
> mondorescue in the first place, but at that time I was using it under 
> LFS, not gentoo. Nevertheless, I thought setting it up under gentoo 
> should have been easy - hence my advice -, but it seems that I was 
> wrong. My apologies).
>   

Well, looks like by now it would have been fixed.  :/  I'm not sure I
can use Kdar to do a system backup.  I use it to backup my Documents and
such though.  Problem is, it uses the .dar thing instead of a regular
tarball.  I also don't think I can uncompress it from the Gentoo CD either.

Kdar is nice but it seems to me that this mondo thing would be better to
rescue from.

Oh well, Say a prayer that nothing breaks.  ;-)  Open to ideas though.  :-)

Dale

:-)  :-)  :-)

-- 
www.myspace.com/-remove-me-dalek1967

Copy n paste then remove the -remove-me- part.



Re: [gentoo-user] [Somewhat OT] Backup software for CDs.

2007-04-18 Thread Etaoin Shrdlu
On Wednesday 18 April 2007 11:15, Dale wrote:

> It has been a while and I still can not get mondoarchive to work.  I
> get
>
> this:
> > [EMAIL PROTECTED] / # mondoarchive
> > Initializing...
> > See /var/log/mondo-archive.log for details of backup run.
> > root is mounted at /dev/hda
> > Checking sanity of your Linux distribution
> > Please install 'mindi'. I cannot find it on your system.
> > There may be hyperlink at http://www.mondorescue.com which
> > will take you to the relevant (missing) package.
> > Could not ascertain mindi's version number.
> > You have not installed Mondo and/or Mindi properly.
> > Please uninstall and reinstall them both.
> > Fatal error... Please reinstall Mondo and Mindi.
> > ---FATALERROR--- Please reinstall Mondo and Mindi.
> > If you require technical support, please contact the mailing list.
> > See http://www.mondorescue.org for details.
> > Log file: /var/log/mondo-archive.log
> > FYI, I have gzipped the log and saved it to /tmp/MA.log.gz
> > The list's members can help you, if you attach that file to your
> > e-mail. Mondo has aborted.
> > Execution run ended; result=254
> > Type 'less /var/log/mondo-archive.log' to see the output log
> > [EMAIL PROTECTED] / #

That's because it cannot find mindi:

bach ~ # mindi
-bash: mindi: command not found

/usr/sbin/mindi is a broken symlink to /usr/share/mindi/mindi, which does 
not exist. There is a bug for this on b.g.o. (along with others for 
missing dependencies in the ebuild). Furthermore, it's not clear at all 
what the current portage status of mondo-rescue is.
The liquidx overlay has newer mondo ebuilds, but doing a quick check they 
seem to be broken too.

It's perhaps easier to use some other tool with better "official" portage 
support, like dar/kdar (yes, I'm aware that I am the one that suggested 
mondorescue in the first place, but at that time I was using it under 
LFS, not gentoo. Nevertheless, I thought setting it up under gentoo 
should have been easy - hence my advice -, but it seems that I was 
wrong. My apologies).
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Monitor SATA with smart?

2007-04-18 Thread Sven Köhler
> is it possible to monitor SATA disks with smart?
> sys-apps/smartmontools can not read smart on that disks.

You have to tell smartmontools, that it's actually an ATA disk. SATA
devices show up as SCSI devices, but the protocol is still ATA.
So this can be done with the "-d ata" switch - also see /etc/smartd.conf.

BUT: recent versions of smartmontools can recognize SATA disks. No need
for -d ata anymore! smartmontools-5.37 (which is still ~x86 and ~amd64)
correctly SATA disks in all my computers.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Packet Shaping

2007-04-18 Thread Grant

> I switched from The Wonder Shaper and started using shorewall configs
> and it's working great.  I can't get ipp2p to identify bittorrent
> traffic though, so I have the default set up for really low priority.
> Thanks for your help!  This is fun.
>
> - Grant

Never got Shorewall traffic shaping to do anything.
shorewall show | grep mark | grep -v "mark=0" | wc -l
is 0. It seems to fail when classifying packets. Neither port based
classifying worked nor ipp2p based classifying.

If you have a working configuration, I'd like to see how you did it.


Glady.  This works like a dream.  360kbps bittorrent download with a
simultaneous voip call in perfect clarity, remote ssh feeling local,
and extremely responsive browsing.  I do wish I could get ipp2p
working so I don't have to default to mark 4 though.  I'm using
Verizon 3.0Mbps DSL.  No special shorewall.conf config at all.

tcdevices:
eth0365kbps 150kbps

tcrules:
eth01   fullfull1
eth02   full/2  full2
eth03   full/3  full*9/10   3
eth04   full/25 full/15 4   default

tcrules:
1   0.0.0.0/0   so.me.i.p/32 udp
2   0.0.0.0/0   0.0.0.0/0   tcp 22
2   0.0.0.0/0   0.0.0.0/0   icmpecho-request
2   0.0.0.0/0   0.0.0.0/0   icmpecho-reply
2   0.0.0.0/0   so.me.i.p/32 all
3   0.0.0.0/0   0.0.0.0/0   udp 53
3   0.0.0.0/0   0.0.0.0/0   tcp 80,443
3   0.0.0.0/0   0.0.0.0/0   tcp 873
3   0.0.0.0/0   0.0.0.0/0   udp 873

- Grant
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Portage package.use

2007-04-18 Thread Neil Bothwick
On Wed, 18 Apr 2007 16:34:38 +0200, Bo Ørsted Andresen wrote:

> > This will annul any entries for dev-java packages you already have in
> > package.use. A safer option is to emerge flagedit and do  
> 
> With latest portage, no. It's accumulative now. As of 2.1.2 iirc.

OK. I'd got bitten by this enough times in the past to not risk it any
more.

I'd still advocate using flagedit as it makes package.use easier to
manage with all flags for a package being kept together.


-- 
Neil Bothwick

Do not meddle in the affairs of dragons, for thou art crunchy.


signature.asc
Description: PGP signature


Re: [gentoo-user] FUSE (was: Add a module post kernel config/build)

2007-04-18 Thread Neil Bothwick
On Wed, 18 Apr 2007 15:35:49 +0200, Alexander Skwar wrote:

> Hm. Not so sure anymore. I seem to remember, that either sys-fs/ntfs3g
> or sys-fs/fuse would completely refuse to build, if in-kernel fuse was
> built.

sys-fs/fuse builds the tools but not the module if the kernel module is
detected.


-- 
Neil Bothwick

When childhood dies, its corpses are called adults.


signature.asc
Description: PGP signature


Re: [gentoo-user] Portage package.use

2007-04-18 Thread Bo Ørsted Andresen
On Wednesday 18 April 2007 09:58:45 Neil Bothwick wrote:
> On Wed, 18 Apr 2007 05:15:38 +0200, Bo Ørsted Andresen wrote:
> > # { echo "# disable doc for all packages in dev-java" && \
> > cd $(portageq portdir) && find dev-java -mindepth 1 -maxdepth 1
> > -type d | \ sed 's/$/ -doc/'; } >> /etc/portage/package.use
>
> This will annul any entries for dev-java packages you already have in
> package.use. A safer option is to emerge flagedit and do

With latest portage, no. It's accumulative now. As of 2.1.2 iirc.

-- 
Bo Andresen


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


Re: [gentoo-user] kernel net eth1 but no eth1

2007-04-18 Thread Helmut Jarausch
Many thanks, I'll try that. I'd never thought of this possibility.

Is there an update-to-date documentation on udev-rules?

Many thanks again,
Helmut.

On 18 Apr, Elias Probst wrote:
> On Wednesday 18 April 2007 11:06:46 Helmut Jarausch wrote:
>>
>> How can I make the kernel bring up 'eth0' instead of 'eth1'.
> 
> Take a look at /etc/udev/rules.d/70-persistent-net.rules
> If you just delete this file, your devicenames will be "regenerated" 
> by /etc/udev/rules.d/75-persistent-net-generator.rules.
> 


-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] FUSE (was: Add a module post kernel config/build)

2007-04-18 Thread Alexander Skwar
Neil Bothwick <[EMAIL PROTECTED]> wrote:

> On Wed, 18 Apr 2007 12:37:07 +0200, Alexander Skwar wrote:
> 
>> As far FUSE is concerned, it might be advisable to stay away from the
>> in-kernel FUSE and use the standalone sys-fs/fuse package. At
>> least ntfs3g doesn't work with the in-kernel fuse.
> 
> Really? It works here, as do sshfs and encfs.

Hm. Not so sure anymore. I seem to remember, that either sys-fs/ntfs3g
or sys-fs/fuse would completely refuse to build, if in-kernel fuse was
built.

But checking out the ebuilds on the CVS, I can't seem to be able to back
this statement I made.

While we're at the topic of fuse - which version is more recent?
The one in gentoo kernel or the one in the seperate package?

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Re: Monitor SATA with smart?

2007-04-18 Thread Alexander Skwar
Matthias Fechner <[EMAIL PROTECTED]> wrote:

> Hello Alexander,
> 
> * Alexander Skwar <[EMAIL PROTECTED]> [18-04-07 12:35]:
>> Keep in mind though, that SMART doesn't give you reliable information,
>> though.
>> 
>> Message-ID: <[EMAIL PROTECTED]>
>> http://www.computerworld.com/blogs/node/5038
>> http://storagemojo.com/?p=383
>> http://www.usenix.org/events/fast07/tech/schroeder/schroeder_html/index.html
>> http://216.239.37.132/papers/disk_failures.pdf
> 
> thx a lot for your links. It was really nice and informative to read.
> It's clear that smart is not reliability but it is better then
> nothing.

It really depends. The Google study (one of the links above) says,
that SMART very often does not warn you about an impending failure.
So, even though SMART reports that everything is fine, it may very
well not be fine at all. Classic case of false negative.

> And smart protected my (backup-upped) data two times and that is 
> really a good rate :)

:)

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Add a module post kernel config/build

2007-04-18 Thread Neil Bothwick
On Wed, 18 Apr 2007 12:37:07 +0200, Alexander Skwar wrote:

> As far FUSE is concerned, it might be advisable to stay away from the
> in-kernel FUSE and use the standalone sys-fs/fuse package. At
> least ntfs3g doesn't work with the in-kernel fuse.

Really? It works here, as do sshfs and encfs.


-- 
Neil Bothwick

Q: How many builders does it take to change a light bulb?
A: "If only it was just the light bulb..we'll have to replace the
ceiling and..."


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Monitor SATA with smart?

2007-04-18 Thread Matthias Fechner
Hello Alexander,

* Alexander Skwar <[EMAIL PROTECTED]> [18-04-07 12:35]:
> Keep in mind though, that SMART doesn't give you reliable information,
> though. 
> 
> Message-ID: <[EMAIL PROTECTED]>
> http://www.computerworld.com/blogs/node/5038
> http://storagemojo.com/?p=383
> http://www.usenix.org/events/fast07/tech/schroeder/schroeder_html/index.html
> http://216.239.37.132/papers/disk_failures.pdf

thx a lot for your links. It was really nice and informative to read.
It's clear that smart is not reliability but it is better then
nothing. And smart protected my (backup-upped) data two times and that is
really a good rate :)

Best regards,
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Monitor SATA with smart?

2007-04-18 Thread Matthias Fechner
Hello Markus,

* Markus Schnhaber <[EMAIL PROTECTED]> [18-04-07 12:26]:
> It can. Try something like
> smartctl -a -d ata /dev/sda
> This ahould print all SMART info about the disk /dev/sda. The important part 
> wrt SATA disks is "-d ata"

thx, works now fine.

Best regards,
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Add a module post kernel config/build

2007-04-18 Thread Mike Williams
On Wednesday 18 April 2007 10:15:12 [EMAIL PROTECTED] wrote:
> Summary:
> How can I add an additional module once I've configured/built a kernel?
>
> Details: After looking thru the handbook, especially section about
> kernel config, I don't see information about how to add a module once
> a kernel is built and running.
>
> Using `genkernel all' on latest sources (linux-2.6.20-gentoo-r6) I
> ended up with no `fuse' module.
>
> Far as I know I've been getting a fuse module when using `genkernal'
> on previous kernels.
>
> What is proceedure for adding that module now?

genkernel --menuconfig all

You can also add --no-clean and --no-menuconfig to stop it clearing out 
already compiled code, but you run the risk to getting symbols messed up 
(quite unlikely though).

-- 
Mike Williams
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Add a module post kernel config/build

2007-04-18 Thread Alexander Skwar
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> Using `genkernel all' on latest sources (linux-2.6.20-gentoo-r6) I
> ended up with no `fuse' module.

As far FUSE is concerned, it might be advisable to stay away from the
in-kernel FUSE and use the standalone sys-fs/fuse package. At
least ntfs3g doesn't work with the in-kernel fuse.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Add a module post kernel config/build

2007-04-18 Thread Etaoin Shrdlu
On Wednesday 18 April 2007 11:15, [EMAIL PROTECTED] wrote:

> Summary:
> How can I add an additional module once I've configured/built a
> kernel?
>
> Details: After looking thru the handbook, especially section about
> kernel config, I don't see information about how to add a module once
> a kernel is built and running.
>
> Using `genkernel all' on latest sources (linux-2.6.20-gentoo-r6) I
> ended up with no `fuse' module.
>
> Far as I know I've been getting a fuse module when using `genkernal'
> on previous kernels.
>
> What is proceedure for adding that module now?

I never used genkernel, but if you have the kernel source tree available, 
you can just cd into it, adjust your configuration (using make *config), 
then do "make && make modules_install". Only the new stuff you added 
will be rebuilt and installed (ie, the fuse module in your case), 
assuming you did not delete the already compiled object files inside the 
tree.
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Monitor SATA with smart?

2007-04-18 Thread Alexander Skwar
Matthias Fechner <[EMAIL PROTECTED]> wrote:

> is it possible to monitor SATA disks with smart?

Keep in mind though, that SMART doesn't give you reliable information,
though. 

Message-ID: <[EMAIL PROTECTED]>
http://www.computerworld.com/blogs/node/5038
http://storagemojo.com/?p=383
http://www.usenix.org/events/fast07/tech/schroeder/schroeder_html/index.html
http://216.239.37.132/papers/disk_failures.pdf

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Add a module post kernel config/build

2007-04-18 Thread Boyd Stephen Smith Jr.
On Wednesday 18 April 2007, [EMAIL PROTECTED] wrote about '[gentoo-user]  
Add a module post kernel config/build':
> Summary:
> How can I add an additional module once I've configured/built a kernel?
>
> Details: After looking thru the handbook, especially section about
> kernel config, I don't see information about how to add a module once
> a kernel is built and running.

For in-tree modules, go into the kernel source directory, use menuconfig or 
whatever to set that configuration setting to 'm', make, make 
modules-install.  (Or, at least, that's my preferred method modulo typos.)

Changing kernel settings doesn't always require a new kernel image; here's 
a table (please view in a fixed width font.

Old New Result
N   M   Rebuild modules
N   Y   Rebuild image
M   N   No rebuild needed
M   Y   Rebuild image [1]
Y   N   Rebuild image
Y   M   Rebuild image

If the image needs rebuilding, you'll also need to rebuild all modules.  
You'll also want to re-install anything you had to rebuild.

[1]: Remove the module from /lib/modules to make sure you don't try and 
load it twice.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Monitor SATA with smart?

2007-04-18 Thread Markus Schönhaber
Matthias Fechner wrote:

> is it possible to monitor SATA disks with smart?

Yes.

> sys-apps/smartmontools can not read smart on that disks.

It can. Try something like
smartctl -a -d ata /dev/sda
This ahould print all SMART info about the disk /dev/sda. The important part 
wrt SATA disks is "-d ata"

Regards
  mks
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Why is the latest release 2006.1?

2007-04-18 Thread Hans-Werner Hilse
Hi,

On Wed, 18 Apr 2007 02:41:34 -0700 Drew <[EMAIL PROTECTED]> wrote:

> Who'd have thought a Promise SATA300 TX4 would be unsupported in
> 2006.1?

In all honesty, it's probably not absolutely "unsupported". Switch your
SATA controller to compatibility mode in BIOS, don't care for DMA, and
it will probably happily work.

I never checked this, though, since I've never installed Gentoo using a
Gentoo boot CD.

-hwh
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Add a module post kernel config/build

2007-04-18 Thread reader
Summary:
How can I add an additional module once I've configured/built a kernel?

Details: After looking thru the handbook, especially section about
kernel config, I don't see information about how to add a module once
a kernel is built and running.

Using `genkernel all' on latest sources (linux-2.6.20-gentoo-r6) I
ended up with no `fuse' module.

Far as I know I've been getting a fuse module when using `genkernal'
on previous kernels.

What is proceedure for adding that module now?

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Why is the latest release 2006.1?

2007-04-18 Thread Drew

> Once again, there should be some problem with my English. It is
> official Gentoo release policy to have minimal, live, and platform
> releases in sync. Posting a new image to forums is not that tightly
> related to policies.

No it's not, and I never suggested it was. As an Open Source project,
ANYONE can build a new, unofficial image that supports brand new
hardware. They don't need to wait for the full releng cycle of testing on
all packages.


Perhaps.

But as I discovered late last year, being able to build an image that
supports your hardware is kinda impossible when you can't even install
Gentoo onto it in the first place using the images available.

Who'd have thought a Promise SATA300 TX4 would be unsupported in 2006.1?


-Drew
--
[EMAIL PROTECTED] mailing list



[gentoo-user] Monitor SATA with smart?

2007-04-18 Thread Matthias Fechner
Hi,

is it possible to monitor SATA disks with smart?
sys-apps/smartmontools can not read smart on that disks.

Best regards,
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kernel net eth1 but no eth1

2007-04-18 Thread Elias Probst
On Wednesday 18 April 2007 11:06:46 Helmut Jarausch wrote:
>
> How can I make the kernel bring up 'eth0' instead of 'eth1'.

Take a look at /etc/udev/rules.d/70-persistent-net.rules
If you just delete this file, your devicenames will be "regenerated" 
by /etc/udev/rules.d/75-persistent-net-generator.rules.

Regards,
Elias P.


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


Re: [gentoo-user] [Somewhat OT] Backup software for CDs.

2007-04-18 Thread Dale
Etaoin Shrdlu wrote:
> On Sunday 24 December 2006 04:53, Dale wrote:
>
>   
>> Speaking of booting, it would be nice if the first CD was bootable and
>> could be restored that way.  I only have one CD drive at the moment so
>> something to boot from would be nice.
>> 
>
> Yes, that can be done. Mondorescue makes the first backup CD bootable, 
> using a mini kernel and distro called mindi.
> You can even restore an entire system from scratch, using the "barebones 
> (nuke) restore". Read the docs for more info.
>   

Hi again,

It has been a while and I still can not get mondoarchive to work.  I get
this:

> [EMAIL PROTECTED] / # mondoarchive
> Initializing...
> See /var/log/mondo-archive.log for details of backup run.
> root is mounted at /dev/hda
> Checking sanity of your Linux distribution
> Please install 'mindi'. I cannot find it on your system.
> There may be hyperlink at http://www.mondorescue.com which
> will take you to the relevant (missing) package.
> Could not ascertain mindi's version number.
> You have not installed Mondo and/or Mindi properly.
> Please uninstall and reinstall them both.
> Fatal error... Please reinstall Mondo and Mindi.
> ---FATALERROR--- Please reinstall Mondo and Mindi.
> If you require technical support, please contact the mailing list.
> See http://www.mondorescue.org for details.
> Log file: /var/log/mondo-archive.log
> FYI, I have gzipped the log and saved it to /tmp/MA.log.gz
> The list's members can help you, if you attach that file to your e-mail.
> Mondo has aborted.
> Execution run ended; result=254
> Type 'less /var/log/mondo-archive.log' to see the output log
> [EMAIL PROTECTED] / #

If I try to use options I get the same thing.  Does anybody have this
working?  If so, can you tell me what version of mondo-rescue and mindi
you have installed?

I want to use this but I got to get it working first.

Thanks

Dale

:D :D :D :D




-- 
www.myspace.com/-remove-me-dalek1967

Copy n paste then remove the -remove-me- part.



Re: [gentoo-user] Why is the latest release 2006.1?

2007-04-18 Thread Andrey Gerasimenko

On Wed, 18 Apr 2007 00:11:21 +0400, Neil Walker <[EMAIL PROTECTED]> wrote:


Andrey Gerasimenko wrote:
I do not see how it is hard to create a minimal installation CD image  
every time new hardware support is added into the kernel, or new gcc  
version goes stable, or new portage version goes stable.


How is any of that relevant to the minimal install CD? GGC, Portage,  
etc. come from the stage tarball you install. All the install CD does is  
boot the system - you can use any livecd for that. What is really  
needed, is updated stages.




Exactly. I linked GCC and Portage to the minimal CD because all the docs  
and the numbering scheme itself link the stages file with the minimal CD  
image. If the minimal CD is  
gentoo/releases/x86/2006.1/installcd/install-x86-minimal-2006.1.iso, then  
the stage is gentoo/releases/x86/2006.1/stages/stage3-i686-2006.1.tar.bz2.


I cannot tell if it is easier to brake this 1 to 1 relationship and modify  
the docs or to just rename the CD image to the new version if there are no  
changes to it.


I agree that any livecd can be used to boot the system (I used Knoppix).  
Thus it is possible to change the minimal CD numbering radically, for  
example, base it on the kernel number since it normally increases as new  
hardware support is added to Linux. The CD will be  
install-x86-minimal-2.6.21-rc6.iso, and the stages will be numbered and  
updated independently.


I do not know if this will cause problems with the live CD or not.

--
Andrei Gerasimenko
--
[EMAIL PROTECTED] mailing list



[gentoo-user] kernel net eth1 but no eth1

2007-04-18 Thread Helmut Jarausch
Hi,

I hope someone can help.

I've configured a 2.6.20 kernel manually (as I have done hundreds of
times) but this time for a machine which has an Intel E1000 network
adapter. When the kernel boots 'dmesg' shows that it uses this driver
and calls it  'eth0', initially. But lateron, since the machine is
connected to a 100MBits ethernet (only), it switches to 100 MBits but
renames itself to 'eth1' .
So I have no 'eth0' but only an 'eth1' device. Manipulating some files
in /etc/init.d, the network comes up just fine.
But I fear there are some (commercial) software packages whose license
manager looks for 'eth0'.

How can I make the kernel bring up 'eth0' instead of 'eth1'.

Many thanks for any hints,

Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Howto get nvidia serial ATA with DMA running

2007-04-18 Thread Matthias Fechner
Hello Daniel,

* Daniel Iliev <[EMAIL PROTECTED]> [17-04-07 15:22]:
> May be it's a io-scheduling issue. This topic from the forums
> could be helpful: http://forums.gentoo.org/viewtopic-t-462230.html

thx, that helps a lot. Now I can trottle high volume copy operations.

Best regards,
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Portage package.use

2007-04-18 Thread Neil Bothwick
On Wed, 18 Apr 2007 05:15:38 +0200, Bo Ørsted Andresen wrote:

> # { echo "# disable doc for all packages in dev-java" && \
> cd $(portageq portdir) && find dev-java -mindepth 1 -maxdepth 1
> -type d | \ sed 's/$/ -doc/'; } >> /etc/portage/package.use

This will annul any entries for dev-java packages you already have in
package.use. A safer option is to emerge flagedit and do

cd $(portageq portdir)
find dev-java -mindepth 1 -maxdepth 1 -type d | while read p; do
  flagedit $p -doc
  done


-- 
Neil Bothwick

Yoda of the Borg am I. Futile, resistance is. Be assimilated, you will.


signature.asc
Description: PGP signature