Re: [gentoo-user] linuxtv-dvb-headers gone virtual blocks mythtv overlay

2012-02-17 Thread Raffaele BELARDI
On 02/17/2012 08:48 AM, Alan McKinnon wrote:
 On Fri, 17 Feb 2012 08:19:33 +0100
 Your changes will be overwritten and reverted next time you resync the
 portage tree and every time thereafter.
 
 Editing the ebuild is not the simplest route, it is a vastly more
 complex route. Instead, put the ebuild in the local overlay where
 portage knows not to touch it. A local overlay does not require layman.

The change was done in the mythtv overlay (/usr/local/mythtv_portage/),
would that be overwritten by a resync? I understood that overlay gets
updated only when there is a mythtv update upstream.

raf


Re: [gentoo-user] ebuild for a fee?

2012-02-17 Thread Michael Orlitzky
On 02/16/12 22:47, Pandu Poluan wrote:
 
 On Feb 17, 2012 10:13 AM, Grant emailgr...@gmail.com
 mailto:emailgr...@gmail.com wrote:

 I'd like to pay to have an ebuild built.  Can anyone recommend a way
 to get in touch with a good person for the job?

 - Grant



Diego seems to be mad about the same things I am on a regular basis:

  http://www.flameeyes.eu/hire-me





Re: [gentoo-user] linuxtv-dvb-headers gone virtual blocks mythtv overlay

2012-02-17 Thread Alan McKinnon
On Fri, 17 Feb 2012 09:01:36 +0100
Raffaele BELARDI raffaele.bela...@st.com wrote:

 On 02/17/2012 08:48 AM, Alan McKinnon wrote:
  On Fri, 17 Feb 2012 08:19:33 +0100
  Your changes will be overwritten and reverted next time you resync
  the portage tree and every time thereafter.
  
  Editing the ebuild is not the simplest route, it is a vastly more
  complex route. Instead, put the ebuild in the local overlay where
  portage knows not to touch it. A local overlay does not require
  layman.
 
 The change was done in the mythtv overlay
 (/usr/local/mythtv_portage/), would that be overwritten by a resync?
 I understood that overlay gets updated only when there is a mythtv
 update upstream.


It will be overwritten with every layman update/resync

layman will notice that you have a file that is different from the repo
and will revert it, and you cannot stop this happening. It does not
depend on whether the remote file has changed, it only depends on you
locally having a file that is different to the repo.

Seriously, the gentoo docs are full or warning to not do what you did.
Use the local overlay, it was designed for exactly this purpose.


-- 
Alan McKinnnon
alan.mckin...@gmail.com




Re: [gentoo-user] linuxtv-dvb-headers gone virtual blocks mythtv overlay

2012-02-17 Thread Raffaele BELARDI
On 02/17/2012 11:18 AM, Alan McKinnon wrote:
 On Fri, 17 Feb 2012 09:01:36 +0100
 Raffaele BELARDI raffaele.bela...@st.com wrote:
 The change was done in the mythtv overlay
 (/usr/local/mythtv_portage/), would that be overwritten by a resync?
 I understood that overlay gets updated only when there is a mythtv
 update upstream.
 
 It will be overwritten with every layman update/resync
 
 layman will notice that you have a file that is different from the repo
 and will revert it, and you cannot stop this happening. It does not
 depend on whether the remote file has changed, it only depends on you
 locally having a file that is different to the repo.
 
 Seriously, the gentoo docs are full or warning to not do what you did.
 Use the local overlay, it was designed for exactly this purpose.

I'm probably oversimplifying because I don't know much about overlays.

I'm not using layman at all but I am using a local overlay for mythtv.
From what I understand the 'overlayed' mythtv ebuild is responsible for
the overlay update though a script installed in /etc/portage/postsync.d/
which basically performs a 'git pull'. So unless there is a new git
snapshot upstream the modified ebuild will not get overwritten, correct?

raf


Re: [gentoo-user] linuxtv-dvb-headers gone virtual blocks mythtv overlay

2012-02-17 Thread Alan McKinnon
On Fri, 17 Feb 2012 11:39:24 +0100
Raffaele BELARDI raffaele.bela...@st.com wrote:

 On 02/17/2012 11:18 AM, Alan McKinnon wrote:
  On Fri, 17 Feb 2012 09:01:36 +0100
  Raffaele BELARDI raffaele.bela...@st.com wrote:
  The change was done in the mythtv overlay
  (/usr/local/mythtv_portage/), would that be overwritten by a
  resync? I understood that overlay gets updated only when there is
  a mythtv update upstream.
  
  It will be overwritten with every layman update/resync
  
  layman will notice that you have a file that is different from the
  repo and will revert it, and you cannot stop this happening. It
  does not depend on whether the remote file has changed, it only
  depends on you locally having a file that is different to the repo.
  
  Seriously, the gentoo docs are full or warning to not do what you
  did. Use the local overlay, it was designed for exactly this
  purpose.
 
 I'm probably oversimplifying because I don't know much about overlays.
 
 I'm not using layman at all but I am using a local overlay for mythtv.
 From what I understand the 'overlayed' mythtv ebuild is responsible
 for the overlay update though a script installed
 in /etc/portage/postsync.d/ which basically performs a 'git pull'. So
 unless there is a new git snapshot upstream the modified ebuild will
 not get overwritten, correct?

I have no idea what you are talking about actually.

ebuilds do not update themselves, something else does.

All an overlay is, is an alternate bunch of ebuilds laid out in the
same format as the portage tree. Layman is nothing more than a nice
bunch of scripts that automate the install, update and resync aspect of
using them. The process you just described makes no sense to me at all
unless it is some customization you did yourself.

But step back and look at this logically. You have a copy of a file
that gets updated from a repo somewhere. But you are also fiddling
around with the same file and expecting it to all magically just work
without collisions despite having two agents fooling around with it.

Does that strike you as a good idea?

The sane way to do this is to leave the remote repo alone and let it do
it's thing when and how it wants to using layman. You will then always
have an ebuild synced to upstream. Copy the ebuild you feel you need to
modify to PORTDIR_OVERLAY and make your changes there. Portage will use
your customized ebuild in preference to the one from the overlay
(due to priority rules) so all is good. When the ebuild in the git repo
is updated, the version number will be bumped and portage will then use
that one in preference to your local copy (due to version number being
higher). If that ebuild doesn't quite work for you yet, copy it to
PORTDIR_OVERLAY and make your custom changes there. keep doing this,
rinse and repeat, until the upstream repo gets their act together.


-- 
Alan McKinnnon
alan.mckin...@gmail.com




Re: [gentoo-user] [OT] (A nice illustration of Gentoo)

2012-02-17 Thread Marc Joliet
Am Fri, 17 Feb 2012 08:29:40 +0700
schrieb Pandu Poluan pa...@poluan.info:

 On Feb 17, 2012 8:16 AM, Peter Humphrey pe...@humphrey.ukfsn.org wrote:
 
  On Thursday 16 February 2012 04:07:38 Pandu Poluan wrote:
 
 
 
   I am one of those guys who are against initrd/initramfs :-P
 
 
 
  Congratulations! The first correct use of one of those who I've seen in
 several years. If only Americans would speak English!
 
 
 ???
 
 I'm not aware that there can be a 'wrong' usage of one of those who...

I think he means one of those who *are* vs. one of those who *is*.
 
 (Gosh; this thread is so meta...)
 
 Rgds,


-- 
Marc Joliet
--
People who think they know everything really annoy those of us who know we
don't - Bjarne Stroustrup


signature.asc
Description: PGP signature


Re: [gentoo-user] [OT] (A nice illustration of Gentoo)

2012-02-17 Thread Pandu Poluan
On Feb 17, 2012 6:10 PM, Marc Joliet mar...@gmx.de wrote:

 Am Fri, 17 Feb 2012 08:29:40 +0700
 schrieb Pandu Poluan pa...@poluan.info:

  On Feb 17, 2012 8:16 AM, Peter Humphrey pe...@humphrey.ukfsn.org
wrote:
  
   On Thursday 16 February 2012 04:07:38 Pandu Poluan wrote:
  
  
  
I am one of those guys who are against initrd/initramfs :-P
  
  
  
   Congratulations! The first correct use of one of those who I've
seen in
  several years. If only Americans would speak English!
  
 
  ???
 
  I'm not aware that there can be a 'wrong' usage of one of those who...

 I think he means one of those who *are* vs. one of those who *is*.

  (Gosh; this thread is so meta...)
 
  Rgds,



Ah, I see...

So that proves that Gentoo is indeed a mets-distribution...

... even the mailing list is a meta-mailing list :-D

Rgds,


Re: [gentoo-user] linuxtv-dvb-headers gone virtual blocks mythtv overlay

2012-02-17 Thread Neil Bothwick
On Fri, 17 Feb 2012 12:59:32 +0200, Alan McKinnon wrote:

 ebuilds do not update themselves, something else does.
 
 All an overlay is, is an alternate bunch of ebuilds laid out in the
 same format as the portage tree. Layman is nothing more than a nice
 bunch of scripts that automate the install, update and resync aspect of
 using them. The process you just described makes no sense to me at all
 unless it is some customization you did yourself.

The MythTV overlay is not serviced by layman. Instead, it includes a
script called from /etc/portage/postsync.d/ to update itself after every
emerge --sync.

 But step back and look at this logically. You have a copy of a file
 that gets updated from a repo somewhere. But you are also fiddling
 around with the same file and expecting it to all magically just work
 without collisions despite having two agents fooling around with it.
 
 Does that strike you as a good idea?

Now that you understand how it works, I hope you can see that your
comments still make absolute sense.

Basically, there are two types of portage tree, ones you manage yourself
and one that are managed remotely and synced to your system. The latter
includes the main portage tree, all layman overlays and the MythTV one.
Only fiddle with the former.


-- 
Neil Bothwick

If you think talk is cheap, try hiring a lawyer.


signature.asc
Description: PGP signature


Re: [gentoo-user] slim keyboard layout

2012-02-17 Thread Dzianis Kahanovich

András Csányi пишет:


I have been googling for a while to find the answer for the question
how on earth I'm able to set up the default keyboard layout of slim,
but I haven't find any answer for this.
A few articles say that if the keyboard layout is set up in xorg.conf
than it will be okay. It doesn't work. I haven't find any option to
set up in /etc/slim.conf file and I also haven't find any information
about it in the gentoo documents.

So, I would like to know that somebody does know the answer for this question?


If you just have broken keys on notebook - there are not keyboard layout: there 
are forced numlock. But layout taken from xorg.conf. Look to xorg.conf to 
common keyboard layout and numlock on line in slim.conf. IMHO no other points 
of keyboard+slim.



--
WBR, Dzianis Kahanovich AKA Denis Kaganovich, http://mahatma.bspu.unibel.by/



Re: [gentoo-user] linuxtv-dvb-headers gone virtual blocks mythtv overlay

2012-02-17 Thread Raffaele BELARDI
On 02/17/2012 02:12 PM, Neil Bothwick wrote:
 On Fri, 17 Feb 2012 12:59:32 +0200, Alan McKinnon wrote:
 
 The MythTV overlay is not serviced by layman. Instead, it includes
 a script called from /etc/portage/postsync.d/ to update itself
 after every emerge --sync.
 
 Basically, there are two types of portage tree, ones you manage
 yourself and one that are managed remotely and synced to your
 system. The latter includes the main portage tree, all layman
 overlays and the MythTV one. Only fiddle with the former.

Much clearer now, thanks to you and Alan. I'll try to do it the proper
way.

raf


Re: [gentoo-user] Re: Alternative to firefox?

2012-02-17 Thread Grant
 Thanks for the suggestions everyone.  It sounds like chromium and
 midori are the most popular here but lots of other suggestions I will
 look into too.

  Thanks for posting the question.  I found out about midori, thanks to
 this thread.  It passes *MY* acid test.  I'm a paying subscriber to
 both live365.com (internet radio) and NHL Gamecenter Live (NHL Hockey),
 and they both work fine under midori.  Both of them rely heavily on
 Flash.

I think I'm switching to midori.  Does anyone know how to beautify it
just a bit?  Smoother fonts and maybe just a bit of edge roundness?

- Grant



Re: [gentoo-user] Re: Alternative to firefox?

2012-02-17 Thread Grant
 Thanks for the suggestions everyone.  It sounds like chromium and
 midori are the most popular here but lots of other suggestions I will
 look into too.

  Thanks for posting the question.  I found out about midori, thanks to
 this thread.  It passes *MY* acid test.  I'm a paying subscriber to
 both live365.com (internet radio) and NHL Gamecenter Live (NHL Hockey),
 and they both work fine under midori.  Both of them rely heavily on
 Flash.

 I think I'm switching to midori.  Does anyone know how to beautify it
 just a bit?  Smoother fonts and maybe just a bit of edge roundness?

 - Grant

Ouch, is copy/paste in midori working for anyone?  I seem to be bitten
by this bug which has no resolution:

https://bugs.launchpad.net/midori/+bug/707888

- Grant



Re: [gentoo-user] Re: Alternative to firefox?

2012-02-17 Thread Grant
 Thanks for the suggestions everyone.  It sounds like chromium and
 midori are the most popular here but lots of other suggestions I will
 look into too.

  Thanks for posting the question.  I found out about midori, thanks to
 this thread.  It passes *MY* acid test.  I'm a paying subscriber to
 both live365.com (internet radio) and NHL Gamecenter Live (NHL Hockey),
 and they both work fine under midori.  Both of them rely heavily on
 Flash.

 I think I'm switching to midori.  Does anyone know how to beautify it
 just a bit?  Smoother fonts and maybe just a bit of edge roundness?

 - Grant

 Ouch, is copy/paste in midori working for anyone?  I seem to be bitten
 by this bug which has no resolution:

 https://bugs.launchpad.net/midori/+bug/707888

 - Grant

Flash isn't working for me either:

http://forums.gentoo.org/viewtopic-p-6901904.html

Also bookmark support is super-buggy and I have to 'paxctl -m
/usr/bin/midori' to avoid crashing on some websites.

- Grant



[gentoo-user] Fail to emerge banshee music player / gdk-sharp.

2012-02-17 Thread imacake/LK
Hi everyone,

I love music, and I love banshee (tho about to seek for a command line 
interface, but nevermind).

Now it fails to emerge: http://pastebin.com/sngZLVgj
emerge --info gdk-sharp: http://pastebin.com/qSsGXsnT

Help!



Re: [gentoo-user] [OT] (A nice illustration of Gentoo)

2012-02-17 Thread Frank Steinmetzger
On Fri, Feb 17, 2012 at 12:07:30PM +0100, Marc Joliet wrote:
 Am Fri, 17 Feb 2012 08:29:40 +0700
 schrieb Pandu Poluan pa...@poluan.info:
 
  On Feb 17, 2012 8:16 AM, Peter Humphrey pe...@humphrey.ukfsn.org wrote:
  
   On Thursday 16 February 2012 04:07:38 Pandu Poluan wrote:
  
  
  
I am one of those guys who are against initrd/initramfs :-P
  
  
  
   Congratulations! The first correct use of one of those who I've seen in
  several years. If only Americans would speak English!
  
  
  ???
  
  I'm not aware that there can be a 'wrong' usage of one of those who...
 
 I think he means one of those who *are* vs. one of those who *is*.

Actually, the *is* variant would be (syntactically) correct, too.  In that case
he would be you know, just one of those guys, who coincidentally is also
against initrd/initramfs.
Gosh, don't you just love languages and their syntax. :o)
-- 
Gruß | Greetings | Qapla'
I forbid any use of my email addresses with Facebook services.

...llaw eht no rorrim ,rorriM


pgpDGYPjY74uo.pgp
Description: PGP signature


[gentoo-user] rsync from ext3 to vfat?

2012-02-17 Thread Mark Knecht
Hi,
   I'm looking for what rsync options I can use to copy existing files
on an ext3 file system to an external eSATA drive formatted with vfat.
I think I want to match only the name, creation date  file size. The
eSATA drive needs to be vfat due to limitations of the audio/video
device it will be plugged into.

   Thanks in advance for any ideas.

Cheers,
Mark



Re: [gentoo-user] rsync from ext3 to vfat?

2012-02-17 Thread ny6p01
On Fri, Feb 17, 2012 at 12:12:40PM -0800, Mark Knecht wrote:
 Hi,
I'm looking for what rsync options I can use to copy existing files
 on an ext3 file system to an external eSATA drive formatted with vfat.
 I think I want to match only the name, creation date  file size. The
 eSATA drive needs to be vfat due to limitations of the audio/video
 device it will be plugged into.
 
Thanks in advance for any ideas.
 
 Cheers,
 Mark
 

FWIW, I routinely backup important directories with rsync from ext3 and ext4
file systems to vfat, with no additional options. The command I use is:

sudo rsync -vvvruxi --size-only --exclude-from=/home/rh/rsync-home-excl-list 
/home/rh/ /mnt/Datastor/Gentoo/
for the home directory.

HTH.

Terry



[gentoo-user] Invalid boot diskette what do I do?

2012-02-17 Thread Grant
LOL.  Except not really.  Am I totally screwed or is there some
little-known method for kick-starting an apparently dead HD?
Everything was fine until it was rebooted.  Multiple reboots always
come back to:

Invalid Boot diskette- Enter BOOT diskette into A:

Cracks about how if the system is old enough to have a floppy drive
then it's overdue for a dead HD are appropriate.

- Grant



Re: [gentoo-user] Re: Alternative to firefox?

2012-02-17 Thread v_2e
On Fri, 17 Feb 2012 08:37:19 -0800
Grant emailgr...@gmail.com wrote:
 
 Does anyone know how to beautify it just a bit?  Smoother fonts and
 maybe just a bit of edge roundness?
 

On Fri, 17 Feb 2012 08:51:18 -0800
Grant emailgr...@gmail.com wrote:
 
 Ouch, is copy/paste in midori working for anyone?  I seem to be bitten
 by this bug which has no resolution:
 
 https://bugs.launchpad.net/midori/+bug/707888

On Fri, 17 Feb 2012 10:42:21 -0800
Grant emailgr...@gmail.com wrote:
 
 Flash isn't working for me either:
 
 http://forums.gentoo.org/viewtopic-p-6901904.html
 
 Also bookmark support is super-buggy and I have to 'paxctl -m
 /usr/bin/midori' to avoid crashing on some websites.
 

  And otherwise Midori is a very cool browser. :)

  Well, to be serious, I'm also annoyed by this not-working Ctrl+C
story. Still, as somebody pointed out, one may use Ctrl+Insert or
Ctrl+X which seem to work most of the time.
  As for the interface roundness, as far as I know, Midori may be
compiled to use with either GTK2 or GTK3. The GTK2 interface looks more
round, I'd say. So, you may try USE=-gtk3
  As for the bookmarking, it is also a long story, but the
developers seem to work on this. At least, I noticed a couple of
changes in bookmarks management for several recent releases.

  To be short, Midori is indeed a problematic browser, but still it has
a nice (not all-inclusive, but exactly 'nice') set of features which
make it the most convenient for me at the moment... well, except for
that broken Ctrl+C thing...

- 
 v...@ukr.net



Re: [gentoo-user] Invalid boot diskette what do I do?

2012-02-17 Thread James Broadhead
On 17 February 2012 20:47, Grant emailgr...@gmail.com wrote:
 LOL.  Except not really.  Am I totally screwed or is there some
 little-known method for kick-starting an apparently dead HD?
 Everything was fine until it was rebooted.  Multiple reboots always
 come back to:

 Invalid Boot diskette- Enter BOOT diskette into A:

 Cracks about how if the system is old enough to have a floppy drive
 then it's overdue for a dead HD are appropriate.

This worked for me moderately well recently:
 http://superuser.com/questions/1078/harddrive-in-the-freezer-ever-work-for-you

... in that I was able to get enough files off it to putter along
until I could restore from backups.



Re: [gentoo-user] rsync from ext3 to vfat?

2012-02-17 Thread m...@trausch.us
On 02/17/2012 03:12 PM, Mark Knecht wrote:
I'm looking for what rsync options I can use to copy existing files
 on an ext3 file system to an external eSATA drive formatted with vfat.
 I think I want to match only the name, creation date  file size. The
 eSATA drive needs to be vfat due to limitations of the audio/video
 device it will be plugged into.

rsync works just fine with any normal set of options when using any sort
of FAT as a destination.  There are, of course, a couple of gotchas:

  - FAT has limitations on file sizes.
  - FAT cannot store permissions or ACLs
  - FAT does not support extended attributes

Other than that, though, you should be good.

--- Mike

-- 
A man who reasons deliberately, manages it better after studying Logic
than he could before, if he is sincere about it and has common sense.
   --- Carveth Read, “Logic”



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Alternative to firefox?

2012-02-17 Thread Volker Armin Hemmann
Am Dienstag, 14. Februar 2012, 12:41:25 schrieb Grant:
 Has anyone found a GUI alternative to firefox they like that's in
 portage?  Something minimal preferably but with flash support?
 
 - Grant

konqueror or chromium.
-- 
#163933



Re: [gentoo-user] Alternative to firefox?

2012-02-17 Thread Michael Mol
On Fri, Feb 17, 2012 at 4:28 PM, Volker Armin Hemmann
volkerar...@googlemail.com wrote:
 Am Dienstag, 14. Februar 2012, 12:41:25 schrieb Grant:
 Has anyone found a GUI alternative to firefox they like that's in
 portage?  Something minimal preferably but with flash support?

 - Grant

 konqueror or chromium.

Konqueror 'minimal'? Doesn't it come with all of KDE? ;P

(To be fair, I liked Konqueror back when I was using KDE around 2001.)


-- 
:wq



[gentoo-user] PAM and utmp

2012-02-17 Thread Nils Holland
Hi folks,

well, I did some searches on this already, but without success, so I
thought I'd ask here. Following issue:

I have the strong feeling that my ~x86 Gentoo box no longer seems to
record local logins into /var/run/utmp. When I use screen or login via
ssh, everything works fine, but I can do millions of local, non-X11
plain vanilla terminal logins without ever seeing anything when running
who or w. And I have the feeling that this used to work in the past.

Now, what do I know, I tried to trace the problem down a bit. My
/var/run/utmp seems absolutely fine structure- and permission-wise. So I
had a look at the sources of /bin/login, because I believed that this
little guy actually writes to utmp entry when I login. That assumption
seemed to be wrong, however, since in cases where PAM is used (which is
the case here), /bin/login no longer seems to be responsible for that,
but instead it is handled by PAM. At least it looks so in the source.

Interestingly, I found a man page for the PAM module pam_lastlog.so on
the web which states that this modul would create the utmp entry. The
pam_lastlog man page on my local system only mentions /var/log/lastlog
and wtmp - nothing about utmp. So ... I have pam_lastlog in use here but
it in fact doesn't seem to make a difference utmp-wise. Is it possible
that the module *used* to do utmp stuff but no longer does today?

Some further searching revealed another PAM module called
pam_loginuid, which, according to its man page, sets the loginuid
process attribute for the process that was authenticated and should be
used for entry point applications like login. Aha. Tried that. Didn't
seem to do anything. Now I really wonder who on earth is really
responsible to record my login this days. ;-)

Am I the only thing seeing this, or can somebody confirm this? Any hints
would be greatly appreciated!

Thanks and greetings,
Nils


-- 
Nils Holland * Ti Systems, Wunstorf-Luthe (Germany)
Our Gentoo mirror: http://rush.tisys.org/ (IPv4 + IPv6)
Powered by GNU/Linux since 1998



Re: [gentoo-user] Fail to emerge banshee music player / gdk-sharp.

2012-02-17 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 17.02.2012 19:55, imacake/LK wrote:
 Hi everyone,
 
 I love music, and I love banshee (tho about to seek for a command
 line interface, but nevermind).
 
 Now it fails to emerge: http://pastebin.com/sngZLVgj emerge --info
 gdk-sharp: http://pastebin.com/qSsGXsnT
 
 Help!
 

Have you pango-sharp installed?
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPPs9QAAoJEJwwOFaNFkYci5IIAIJW3vRsJc1Du92zyOxQe8N4
YsUTL4OX4ITKhFyUZI9xGkWx99VJAg2vClIgEuQcY2EFKl+zXJCBegbjX+ah9T8O
RlgOdxg6dBBcEev9RYWMcuqxKV8sF50GygQ+3HXLPp5EuHhdTOm0BMqXTsNTO634
l+m0l7Asj9nCMnTkdj+l9wCtN+TV5pC8LYLWpMJchmBAnuC+DwPcjkyUzSMXwAkG
y3/RQ+qdgsuQB/ziN3ocgaTAzf203DRWdwA48Mez0R564+eqtQUYr483pMA2z2Ov
AcGBB3ebh51YcyqEuTJOxN7G15pPW+uMhI80cXwH9X4ZoVDJBF1Bq6x/vYyKzWY=
=zj3C
-END PGP SIGNATURE-



Re: [gentoo-user] rsync from ext3 to vfat?

2012-02-17 Thread Manuel McLure
On Fri, Feb 17, 2012 at 1:03 PM, m...@trausch.us m...@trausch.us wrote:
 rsync works just fine with any normal set of options when using any sort
 of FAT as a destination.  There are, of course, a couple of gotchas:

  - FAT has limitations on file sizes.
  - FAT cannot store permissions or ACLs
  - FAT does not support extended attributes

 Other than that, though, you should be good.

Add FAT considers two filenames that are the same except for case as
the same filename to that list. NTFS has the same limitation.
-- 
Manuel A. McLure WW1FA man...@mclure.org http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft



Re: [gentoo-user] rsync from ext3 to vfat?

2012-02-17 Thread m...@trausch.us
On 02/17/2012 05:11 PM, Manuel McLure wrote:
 Add FAT considers two filenames that are the same except for case as
 the same filename to that list. NTFS has the same limitation.

I had forgotten about that.  FAT is always case-sensitive.

While it is possible to change the rules slightly for NTFS, there are
serious repurcussions if you do.  NTFS supports the notion of a POSIX
namespace, but if you use it and have multiple files that match
according to the Win32 rules, one of them will be inaccessible to
applications that use the Win32 namespace.

--- Mike

-- 
A man who reasons deliberately, manages it better after studying Logic
than he could before, if he is sincere about it and has common sense.
   --- Carveth Read, “Logic”



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] rsync from ext3 to vfat?

2012-02-17 Thread Michael Mol
On Fri, Feb 17, 2012 at 5:11 PM, Manuel McLure man...@mclure.org wrote:
 On Fri, Feb 17, 2012 at 1:03 PM, m...@trausch.us m...@trausch.us wrote:
 rsync works just fine with any normal set of options when using any sort
 of FAT as a destination.  There are, of course, a couple of gotchas:

  - FAT has limitations on file sizes.
  - FAT cannot store permissions or ACLs
  - FAT does not support extended attributes

 Other than that, though, you should be good.

 Add FAT considers two filenames that are the same except for case as
 the same filename to that list. NTFS has the same limitation.

No. http://support.microsoft.com/kb/100625

However, ntfs-3g only creates files in the POSIX namespace on NTFS,
which means that, depending on the filename, some files you create on
Linux won't be able to be opened by apps (such as the Windows shell)
that rely on assumptions not violated by the DOS and Win32 namespaces.

I ran into that one. .

-- 
:wq



Re: [gentoo-user] Invalid boot diskette what do I do?

2012-02-17 Thread imacake/LK
On Fri, Feb 17, 2012 at 12:47:36PM -0800, Grant wrote:
 LOL.  Except not really.  Am I totally screwed or is there some
 little-known method for kick-starting an apparently dead HD?
 Everything was fine until it was rebooted.  Multiple reboots always
 come back to:
 
 Invalid Boot diskette- Enter BOOT diskette into A:
 
 Cracks about how if the system is old enough to have a floppy drive
 then it's overdue for a dead HD are appropriate.

Diskette is not HDD

A: looks too much windows-like. old system you said.. so OK.



Re: [gentoo-user] rsync from ext3 to vfat?

2012-02-17 Thread Mark Knecht
On Fri, Feb 17, 2012 at 12:32 PM,  ny6...@gmail.com wrote:
 On Fri, Feb 17, 2012 at 12:12:40PM -0800, Mark Knecht wrote:
 Hi,
    I'm looking for what rsync options I can use to copy existing files
 on an ext3 file system to an external eSATA drive formatted with vfat.
 I think I want to match only the name, creation date  file size. The
 eSATA drive needs to be vfat due to limitations of the audio/video
 device it will be plugged into.

    Thanks in advance for any ideas.

 Cheers,
 Mark


 FWIW, I routinely backup important directories with rsync from ext3 and ext4
 file systems to vfat, with no additional options. The command I use is:

 sudo rsync -vvvruxi --size-only --exclude-from=/home/rh/rsync-home-excl-list 
 /home/rh/ /mnt/Datastor/Gentoo/
 for the home directory.

 HTH.

 Terry


Thanks Terry. I'm through about 30GB of the 400GB I want to back up.
It looks like it's working.

The --size-only option was what I needed. (Assuming it completes
without any other problems.)

Cheers,
Mark

NOTE: To others discussing the various positives and negatives of
Windows file systems please note that I had no choice in the matter.
The only thing this piece of equipment accepts on it's USB port is
VFAT.



Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 4

2012-02-17 Thread Walter Dnes
  This revision removes a couple of steps in the process, so there's
less stuff involved.  If only software developers worked that way G.

* Busybox stable is now past the buggy version that didn't work with
mdev.  There is no need to keyword version 1.19.2

* The virtual/dev-manager-0.ebuild has been modified as per my feature
request to support an mdev-based system.  There is no longer any need
for a customized/hacked ebuild in an overlay
 
  The usual warnings apply...
* this is a beta
* use a spare test machine
* if you don't follow the instructions correctly, the result might be
  an unbootable linux
* even if you do follow instructions, the result might be an unbootable
  linux


1) Set up your kernel to support and automount a devtmpfs filesystem at
   /dev

* If you prefer to edit .config directly, set
  CONFIG_DEVTMPFS=y and CONFIG_DEVTMPFS_MOUNT=y

* If you prefer make menuconfig, the route is as shown below.  Note
  that the Autount devtmpfs... option won't appear until you enable
  Maintain a devtmpf... option.

make menuconfig
  Device Drivers  ---
Generic Driver Options  ---
  [*] Maintain a devtmpfs filesystem to mount at /dev
  [*]   Automount devtmpfs at /dev, after the kernel mounted the rootfs

  Once you've made the changes, rebuild the kernel.


2) Set up for emerging busybox.  busybox requires the mdev flag in
this situation.  The static flag is probably also a good idea.  In
file /etc/portage/package.use add the line

sys-apps/busybox static mdev

   Now, emerge busybox


3) In the bootloader append line, include init=/sbin/linuxrc where
   the file /sbin/linuxrc consists of *AT LEAST*...

#!/bin/busybox ash
mount -t proc proc /proc
mount -t sysfs sysfs /sys
exec /sbin/init

   This should be enough for most users.  If you have an unusual setup,
   you may need additional stuff in there.  If you're using lilo remember
   to re-run lilo to implement the changes.

4) Remove udev from the services list, and replace it with mdev.  Type
   the following 2 commands at the command line
rc-update del udev sysinit
rc-update add mdev sysinit


5) reboot to your new kernel.  You're now running without using udev.


6) ***THIS STEP IS OPTIONAL***  This is only to alay any suspicion that
   udev is still in use.

* execute the following command at the commandline
emerge --unmerge sys-fs/udev

* In file /atc/portage/package.mask, append the line
sys-fs/udev
  Create the file if it doesn't already exist.  You now have a totally
udev-free machine

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Fail to emerge banshee music player / gdk-sharp.

2012-02-17 Thread imacake/LK
On Fri, Feb 17, 2012 at 11:06:09PM +0100, Hinnerk van Bruinehsen wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 17.02.2012 19:55, imacake/LK wrote:
  Hi everyone,
  
  I love music, and I love banshee (tho about to seek for a command
  line interface, but nevermind).
  
  Now it fails to emerge: http://pastebin.com/sngZLVgj emerge --info
  gdk-sharp: http://pastebin.com/qSsGXsnT
  
  Help!
  
 
 Have you pango-sharp installed?
Yes. 2.12.10

Maybe some mono runtimes? I didnt have mono installed previously




Re: [gentoo-user] Invalid boot diskette what do I do?

2012-02-17 Thread Grant
 LOL.  Except not really.  Am I totally screwed or is there some
 little-known method for kick-starting an apparently dead HD?
 Everything was fine until it was rebooted.  Multiple reboots always
 come back to:

 Invalid Boot diskette- Enter BOOT diskette into A:

 Cracks about how if the system is old enough to have a floppy drive
 then it's overdue for a dead HD are appropriate.

 Diskette is not HDD

 A: looks too much windows-like. old system you said.. so OK.

I think the BIOS can't find a HD at all so it's trying to boot from
the floppy drive which does not contain a floppy disk.

- Grant



Re: [gentoo-user] I want to play movies without hangs

2012-02-17 Thread Walter Dnes
On Thu, Feb 16, 2012 at 04:29:48PM +0100, Alex Schuster wrote

 Then my hardware broke, and I got new one...

  I had ***EXACTLY THE SAME PROBLEM ON A FRESH INSTALL***.  In My case
it was a 4+ year old Dell with onboard Intel GPU that was having
problems playing NHL Gamecenter Live streams at the slowest speed.  I
solved the problem and sped up everything by doing...
1) emerge system
2) emerge world
3) rebuild the kernel and reboot

  A fresh install will have the stage 3 binaries built with
lowest-common-denominator x86 or amd64 code (depending if you chose 32
or 64 bit install).  This is necessary in order to allow the install
code to run on all CPUs with the target platform.  The downside is that
you lose all the optimisations that make Gentoo scream.  Rebuilding the
install as described above builds optimized (i.e. faster) binaries.  My
CFLAGS line in /etc/make.conf is...

CFLAGS=-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe
CXXFLAGS=${CFLAGS}

  Before rebuilding your system, go over your USE flags to make sure
you've got the maximum optimization.  To find out what your CPU
supports, execute the command

grep flags /proc/cpuinfo | head -1

  This will define the limits what your system can support.  For
instance, mplayer can use the following flags...

waltdnes@d530 ~ $ emerge -pv mplayer

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R] media-video/mplayer-1.0_rc4_p20110322-r1  USE=X a52 alsa ass 
dga encode gif jpeg mmx mmxext mng mp3 opengl png quicktime real rtmp sse sse2 
ssse3 theora truetype win32codecs x264 xv xvid xvmc -3dnow -3dnowext -aalib 
(-altivec) -amr (-aqua) -bidi -bindist -bl -bluray -bs2b -cddb -cdio 
-cdparanoia -cpudetection -custom-cpuopts -debug -dirac -directfb -doc -dts -dv 
-dvb -dvd -dvdnav (-dxr3) -enca (-esd) -faac -faad -fbcon -ftp -ggi -gsm -iconv 
-ipv6 -jack -joystick -jpeg2k -ladspa -libcaca -libmpeg2 -lirc -live -lzo -mad 
-md5sum -mpg123 -nas -network -nut -openal -osdmenu -oss -pnm -pulseaudio -pvr 
-radio -rar -rtc -samba -schroedinger -sdl -shm -speex -tga -toolame -tremor 
-twolame -unicode -v4l -vdpau -vidix -vorbis -vpx -xanim -xinerama 
-xscreensaver -zoran VIDEO_CARDS=-mga -s3virge -tdfx -vesa 0 kB

  Your CPU will obviously support a different set of USE flags than
mine.  Check the files /usr/portage/profiles/use.desc for a list of
global flags and /usr/portage/profiles/use.local.desc for
package-specific flags.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Invalid boot diskette what do I do?

2012-02-17 Thread Willie Matthews
On Fri, 17 Feb 2012 12:47:36 -0800
Grant emailgr...@gmail.com wrote:

 LOL.  Except not really.  Am I totally screwed or is there some
 little-known method for kick-starting an apparently dead HD?
 Everything was fine until it was rebooted.  Multiple reboots always
 come back to:
 
 Invalid Boot diskette- Enter BOOT diskette into A:
 
 Cracks about how if the system is old enough to have a floppy drive
 then it's overdue for a dead HD are appropriate.
 
 - Grant
 

It could be the boot sector of the drive that is bad. You should boot
off a live CD and see how far you can get with the drive. If you can
read it with no problem reinstall grub and see how it does with the
boot afterwards.

-- 

Willie Matthews
matthews.wil...@gmail.com



Re: [gentoo-user] I want to play movies without hangs

2012-02-17 Thread Alex Schuster
Paul Hartman writes:

 I wonder if you copy the movie to /dev/shm first (so disk I/O is not
 an issue) does it still have problems? At least this can potentially
 eliminate disk I/O as the cause if something else weird is going on.
 :)

Yes, this helps. As does copying the movie to another partition than that
on which I to the I/O with my dd if=/dev/zero of= command. If I dd to
this partition, tough, it happens again.

 For the problem of massive amounts of RAM consumed, that's strange.

It's been so for years... but with 16 G of RAM it's no longer an issue.
Well, unless this weird problem happened wth parallel emerges on tmpfs. It
doesn't happen every time though.

 Are you compiling debug symbols? That can make the RAM usage (in
 linking especially) explode...

No. I sometimes enable it, but only when I hunt a bug and want to produce
better bug reports.
And even if the emerge would need very much memory, shouldn't this be
taken from the 8 G of caches being used, instead of starting to swap?

Wonko



Re: [gentoo-user] I want to play movies without hangs

2012-02-17 Thread Alex Schuster
Walter Dnes writes:

 On Thu, Feb 16, 2012 at 04:29:48PM +0100, Alex Schuster wrote
 
  Then my hardware broke, and I got new one...
 
   I had ***EXACTLY THE SAME PROBLEM ON A FRESH INSTALL***.  In My case
 it was a 4+ year old Dell with onboard Intel GPU that was having
 problems playing NHL Gamecenter Live streams at the slowest speed.  I
 solved the problem and sped up everything by doing...
 1) emerge system
 2) emerge world
 3) rebuild the kernel and reboot

Good idea, Walter! But not in my case. The system had been set up long
ago, and I did an emerge -e @world in the past already.

   A fresh install will have the stage 3 binaries built with
 lowest-common-denominator x86 or amd64 code (depending if you chose 32
 or 64 bit install).  This is necessary in order to allow the install
 code to run on all CPUs with the target platform.  The downside is that
 you lose all the optimisations that make Gentoo scream.  Rebuilding the
 install as described above builds optimized (i.e. faster) binaries.  My
 CFLAGS line in /etc/make.conf is...
 
 CFLAGS=-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe
 CXXFLAGS=${CFLAGS}

I had those, when I upgraded the hardware:
CFLAGS=-march=k8-sse3 -mfpmath=sse -O2 -pipe
Or something very silimar.

But I also just did an emerge -e @world on the new system, using more
sophisticated CFLAGS. I got them by doing like suggested on [*], using
what -march=natve would do. And adding support for this graphite
stuff. They are:
CFLAGS=-pipe -march=amdfam10 -O2 \
-floop-interchange -floop-strip-mine -floop-block \
-msse -msse2 -msse3 -msse4 -msse4.1 -msse4.2 -m3dnow \
-mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx \
--param l1-cache-size=16 --param l1-cache-line-size=64 \
--param l2-cache-size=2048

   Before rebuilding your system, go over your USE flags to make sure
 you've got the maximum optimization.  To find out what your CPU
 supports, execute the command
 
 grep flags /proc/cpuinfo | head -1
 
   This will define the limits what your system can support.  For
 instance, mplayer can use the following flags...
 
 waltdnes@d530 ~ $ emerge -pv mplayer
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 [ebuild   R] media-video/mplayer-1.0_rc4_p20110322-r1  USE=X a52
 alsa ass dga encode gif jpeg mmx mmxext mng mp3 opengl png quicktime
 real rtmp sse sse2 ssse3 theora truetype win32codecs x264 xv xvid xvmc
 -3dnow -3dnowext -aalib (-altivec) -amr (-aqua) -bidi -bindist -bl
 -bluray -bs2b -cddb -cdio -cdparanoia -cpudetection -custom-cpuopts
 -debug -dirac -directfb -doc -dts -dv -dvb -dvd -dvdnav (-dxr3) -enca
 (-esd) -faac -faad -fbcon -ftp -ggi -gsm -iconv -ipv6 -jack -joystick
 -jpeg2k -ladspa -libcaca -libmpeg2 -lirc -live -lzo -mad -md5sum
 -mpg123 -nas -network -nut -openal -osdmenu -oss -pnm -pulseaudio -pvr
 -radio -rar -rtc -samba -schroedinger -sdl -shm -speex -tga -toolame
 -tremor -twolame -unicode -v4l -vdpau -vidix -vorbis -vpx -xanim
 -xinerama -xscreensaver -zoran VIDEO_CARDS=-mga -s3virge -tdfx -vesa
 0 kB
 
   Your CPU will obviously support a different set of USE flags than
 mine.  Check the files /usr/portage/profiles/use.desc for a list of
 global flags and /usr/portage/profiles/use.local.desc for
 package-specific flags.

These are my USE flags for mplayer, they should be fine:
[ebuild   R] media-video/mplayer-1.0_rc4_p20120213  USE=3dnow
3dnowext X a52 aalib alsa ass cdio dga directfb dts dv dvb dvd dvdnav
enca encode faad fbcon ftp ggi gif iconv ipv6 jack jpeg jpeg2k live mad
mmx mmxext mng mp3 nas network openal opengl osdmenu oss png pnm
quicktime rar real rtc samba sdl shm speex sse sse2 ssse3 theora toolame
tremor truetype twolame unicode vorbis x264 xinerama xscreensaver xv xvid
(-altivec) (-aqua) -bidi -bindist -bl -bluray -bs2b -cddb -cdparanoia
-cpudetection -debug -doc (-dxr3) (-esd) -faac -gsm -joystick -ladspa
-libcaca -libmpeg2 -lirc -lzo -md5sum -nut -pulseaudio -pvr -radio -rtmp
-tga -v4l -vdpau (-vidix) (-win32codecs) -xanim -xvmc -zoran
VIDEO_CARDS=-mga -s3virge -tdfx 0 kB

Now I'm bulding a new kernel, using genkernel, and without providing a
custom made .config. Just in case I have some weird setting somewhere
(debug output for SCSI stuff or something like that).

[later...]

So I did. Argh. I thought genkernel was smart enough to generate a
working kernel from scratch, if no existing .config would be given. But
the initramfs could not open my encrypted root partition, until I compiled
XTS and AES directly into the kernel, not only as modules. Genkernel did
not include modules for my NIC, somewhat annoying because I had to wait
several minutes for mysql to start, until I could open a root shell. KDM
was already running at that time, but I only saw a blank screen, because
the radeon stuff was not compiled with KMS. There's also something
wrong with my hardware clock. And iotop does not work, the kernel is
missing CONFIG_TASKSTATS, 

Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 4

2012-02-17 Thread Pandu Poluan
On Feb 18, 2012 6:46 AM, Walter Dnes waltd...@waltdnes.org wrote:

  This revision removes a couple of steps in the process, so there's
 less stuff involved.  If only software developers worked that way G.

 * Busybox stable is now past the buggy version that didn't work with
 mdev.  There is no need to keyword version 1.19.2

 * The virtual/dev-manager-0.ebuild has been modified as per my feature
 request to support an mdev-based system.  There is no longer any need
 for a customized/hacked ebuild in an overlay

  The usual warnings apply...
 * this is a beta
 * use a spare test machine
 * if you don't follow the instructions correctly, the result might be
  an unbootable linux
 * even if you do follow instructions, the result might be an unbootable
  linux


 1) Set up your kernel to support and automount a devtmpfs filesystem at
   /dev

 * If you prefer to edit .config directly, set
  CONFIG_DEVTMPFS=y and CONFIG_DEVTMPFS_MOUNT=y

 * If you prefer make menuconfig, the route is as shown below.  Note
  that the Autount devtmpfs... option won't appear until you enable
  Maintain a devtmpf... option.

 make menuconfig
  Device Drivers  ---
Generic Driver Options  ---
  [*] Maintain a devtmpfs filesystem to mount at /dev
  [*]   Automount devtmpfs at /dev, after the kernel mounted the rootfs

  Once you've made the changes, rebuild the kernel.


 2) Set up for emerging busybox.  busybox requires the mdev flag in
 this situation.  The static flag is probably also a good idea.  In
 file /etc/portage/package.use add the line

 sys-apps/busybox static mdev

   Now, emerge busybox


 3) In the bootloader append line, include init=/sbin/linuxrc where
   the file /sbin/linuxrc consists of *AT LEAST*...

 #!/bin/busybox ash
 mount -t proc proc /proc
 mount -t sysfs sysfs /sys
 exec /sbin/init

   This should be enough for most users.  If you have an unusual setup,
   you may need additional stuff in there.  If you're using lilo remember
   to re-run lilo to implement the changes.

 4) Remove udev from the services list, and replace it with mdev.  Type
   the following 2 commands at the command line
 rc-update del udev sysinit
 rc-update add mdev sysinit


 5) reboot to your new kernel.  You're now running without using udev.


 6) ***THIS STEP IS OPTIONAL***  This is only to alay any suspicion that
   udev is still in use.

 * execute the following command at the commandline
 emerge --unmerge sys-fs/udev

 * In file /atc/portage/package.mask, append the line
 sys-fs/udev
  Create the file if it doesn't already exist.  You now have a totally
 udev-free machine


Thanks for the update!

I've been mdev-ing my servers, and no problems whatsoever until now (touch
wood!).

For those still on the sidelines re: mdev-for-udev, be aware that progress
is happening rapidly with regards to what udev feature is 'vital' for
modern systems.

Heck, mdev is already perfect for my needs: it can rename devices, fire up
a script on hotplug/hotunplug events, load a firmware if told so by the
kernel...

I suggest interested people should at least lurk in the busybox mailing
list. The mdev-for-udev discussion us quite fresh, patches (not bloats)
have been submitted... and we have our very own Walt Dnes in that list,
proudly waving the Gentoo banner ;-)

Rgds,


[gentoo-user] [OT] Still trying to compile hydrogen

2012-02-17 Thread meino . cramer
Hi,

I want to compile hydrogen cleanly.

Since the ebuild of hydrogen fails to compile because
the system linux3 is not known (which happens even
when compiled on a linux-2.6*-booted machine)...

I was pointed to patch which fixes this problem, but
unfortunately it only opens the way to the next problem.

I decided to try to compile hydrogen from vanilla sources
and outside the emerge/portage system to better understand
wahts happening.

When doing so, one has to set QTDIR and then run scons.

Hydrogen needs qt4.

I set QTDIR to /usr/share/qt4.

The compilation fails because QtGui could not be found.

QtGui is here /usr/include/qt4/Qt/QtGui which is a file which 
includes all relevant header file in one go.

So I tried to set QTDIR to /usr/include/qt4 but this produces
the same problem.

I decided to hack the relevant file of hydorgen and hardcoded
the path to QtGui directly into the include statement. No comments
on this please, it is a bad bad ugly thing to do so. I simply
wa curious to see next problem...

And I was not dissappointed. This time the QtGui-file could not
find the first header file which it includes:

#include QtCore/QtCore

To hack also /usr/include/qt4/Qt/QtGui is no way.

Soeither hydrogens build mechanism does not fit the installation 
of Qt4 on my Gentoo system (Qt4 was installed via emerge/portage) or
it has a bug or the problem sits right in front of my monitor and
is currently writing a post to the gentoo-users mailinglist... ;)

In the latter case the chance are not small, that I will be able to
fix the problem...

If I only would know, how ;))

What did I wrong here?

Thank you very much in advance for any help!

Best regards
mcc




Re: [gentoo-user] Invalid boot diskette what do I do?

2012-02-17 Thread Paul Hartman
On Fri, Feb 17, 2012 at 2:47 PM, Grant emailgr...@gmail.com wrote:
 LOL.  Except not really.  Am I totally screwed or is there some
 little-known method for kick-starting an apparently dead HD?
 Everything was fine until it was rebooted.  Multiple reboots always
 come back to:

 Invalid Boot diskette- Enter BOOT diskette into A:

 Cracks about how if the system is old enough to have a floppy drive
 then it's overdue for a dead HD are appropriate.

Things I would try:

Go into BIOS and make sure settings are still proper (sometimes it can
get wiped out and set to bad values)

Make sure BIOS can see the HDD manufacturer and model number etc.

If not, power off, re-seat the HDD cables and try again

If yes, boot from liveCD and use your favorite tools to examine the drive

If the drive is visible, partition table in-tact, then I would try to
chroot into your gentoo and reinstall your boot loader like in the
installation handbook

If drive is not visible, take it out and hook it up to another computer

If other computer can read it, maybe your motherboard/controller got
fried somehow

If other computer can't read it either... buy a new HDD and restore
from your most recent backup ;)



[gentoo-user] Marvell 9128 controller and SSD in Gentoo

2012-02-17 Thread Paul Hartman
Hi,

I obtained a Samsung 830 128GB SSD, it supports SATA3 interface, but
haven't installed it yet. My motherboard has the Marvell 9128 SATA3
chipset. I read a lot of FUD about this chipset, but it is always
exclusively from the perspective of Windows users complaining about
Marvell drivers, lack of TRIM support in the driver, etc. (Official
statement on the capability of the chip itself is covered by NDA,
apparently...) The driver should be irrelevant in Linux since I'm just
using ahci for everything, but limitations of the chipset or BIOS
implementation itself... who knows?

I understand the Marvell 9128 chip does not reach the full speed of
the SATA3, but it should still be faster than the onboard SATA2 ports
even if it's not as fast as the drive's maximum speeds. Lack of TRIM
would be bad, though, and any bugs causing disconnects or data
corruption obviously would be unacceptable to me.

Are any of you using this chipset in Linux with SSD and can tell me if
it works properly for you and has working TRIM commands passed through
to the SSD?

Thanks



Re: [gentoo-user] gptfdisk on livedvd-12.0 ?

2012-02-17 Thread Paul Hartman
On Thu, Feb 16, 2012 at 1:53 PM, James wirel...@tampabay.rr.com wrote:
 Hello,

 My download of livedvd-12 is running really slow,
 despite trying dozens of mirrors (mirrorselect produced
 poor suggestions) currently.

I suggest using bittorrent, it always achieves the best results for me
for downloading linux ISOs. I have a 100mbit internet connection here
and downloaded the gentoo livedvd in just 5 minutes.

http://torrents.gentoo.org/


 So, I am trying to find out if gptfdisk is on the latest
 livedvd or SystemrescueCD. I cannot find the software listing for the
 livedvd-12. Here is a gentoo page that lists the software
 (packages) included on livedvd-10 [1]

I just mounted the gentoo livedvd ISO and don't see gdisk anywhere on
it. Don't know about system rescue CD.

I happen to be booted into a Parted Magic disc right now on another
machine I'm working on, and it DOES contain gdisk. FYI. :)



Re: [gentoo-user] rsync from ext3 to vfat?

2012-02-17 Thread Paul Hartman
On Fri, Feb 17, 2012 at 4:31 PM, Mark Knecht markkne...@gmail.com wrote:
 NOTE: To others discussing the various positives and negatives of
 Windows file systems please note that I had no choice in the matter.
 The only thing this piece of equipment accepts on it's USB port is
 VFAT.

If you run into any unreadable files when reading it on the
destination equipment, it's possibly due to incompatible filenames.
Try mounting vfat with check=strict and possibly changing the codepage
to whatever the destination system wants it to be.

If you don't use symbols or excessively long file names or extensions
I think it should be fine. (I think there's a 256 character full
path+filename limit as well on Windows systems)



Re: [gentoo-user] PAM and utmp

2012-02-17 Thread Nils Holland
On 22:37 Fri 17 Feb , Nils Holland wrote:

 I have the strong feeling that my ~x86 Gentoo box no longer seems to
 record local logins into /var/run/utmp. When I use screen or login via
 ssh, everything works fine, but I can do millions of local, non-X11
 plain vanilla terminal logins without ever seeing anything when running
 who or w. And I have the feeling that this used to work in the past.

Replying to myself here, but...:

Obviously, /bin/login is responsible for handling utmp entries even when
PAM is in used, and the upstream maintainer disabled this in the
shadow-4.1.5 release (I could verify that it worked in shadow-4.1.4.3).
The issue seems to be known already, however, and should be fixed soon,
as can be seen at:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659957

That's enough for me to know then, I'll just wait for a new release of
shadow, which will make it work again. I still thought I'd post this
follow-up here, in case anyone else stumbles over this issue. ;-)

Greetings,
Nils


-- 
Nils Holland * Ti Systems, Wunstorf-Luthe (Germany)
Our Gentoo mirror: http://rush.tisys.org/ (IPv4 + IPv6)
Powered by GNU/Linux since 1998