Re: [gentoo-user] split-usr

2024-01-12 Thread Felix Kuperjans

Am 12.01.24 um 08:24 schrieb William Kenworthy:
Some years back I did the usr-merge and my laptop has continued on 
more or less ok.


Now, I suddenly have a number of packages failing to build with 
internal collisions as they try and install (for example) a binary 
into /bin and /usr/bin and collide.  "emerge --info" is showing the 
split-usr flag enabled on my profile (5):


  [5]   default/linux/amd64/17.1/desktop (stable)
  [6]   default/linux/amd64/17.1/desktop/gnome (stable)
  [7]   default/linux/amd64/17.1/desktop/gnome/systemd (stable)
  [8]   default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr 
(stable)

  [9]   default/linux/amd64/17.1/desktop/plasma (stable)
  [10]  default/linux/amd64/17.1/desktop/plasma/systemd (stable)
  [11]  default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr 
(stable)

  [12]  default/linux/amd64/17.1/desktop/systemd (stable)
  [13]  default/linux/amd64/17.1/desktop/systemd/merged-usr (stable)

So which profile should I use for an XFCE4 desktop.  This laptop is 
openrc and predates the devils spawn (systemd) and I dont use gnome or 
plasma?


BillK


Hello William,

from the profiles listed you probably go with the plain desktop profile 
[5] at best.


In the 23.0 profiles the /usr merge will be properly addressed, until 
then you'll need to do the adjustments in your /etc/portage/.


To see what is needed, you can check the actual changes which the 
merged-usr profiles introduce in ::gentoo repository:


profiles/features/merged-usr/

From what you're describing I think you you're not properly masking the 
split-usr USE flag, i.e. check especially use.force and use.mask.


Cheers
Felix




Re: [gentoo-user] Re: How to copy gzip data from bytestream?

2022-02-22 Thread Felix Kuperjans

On 2022-02-22, Grant Edwards wrote:

That doesn't work. It shows the size of the drive as the
"uncompressed" size and 0 as compressed:

# gzip -clt  foo
 $ ls -l foo
 -rw-r--r-- 1 grante users 12923 Feb 22 07:51 foo
 
 $ gzip foo

 $ ls -l foo.gz
 -rw-r--r-- 1 grante users 6083 Feb 22 07:51 foo.gz
 
 $ gzip -clt 
  compresseduncompressed  ratio uncompressed_name
6083   12923  53.1% stdout
 
 $ echo asdf >> foo.gz
 
 $ gzip -clt 
  compresseduncompressed  ratio uncompressed_name
6088   174482547 100.0% stdout
 
 $ cat foo.gz | gzip -clt

  compresseduncompressed  ratio uncompressed_name
  -1  -1   0.0% stdout
 
 
 
Here's relevent portion of the strace for the 'gzip -clt 
where it seeks to end-8 and reads what it thinks is the uncompressed
length and the CRC:

 lseek(0, -8, SEEK_END)  = 6080
 read(0, "2\0\0asdf\n", 8)   = 8
 write(1, "   6088   17"..., 54) = 54
 close(0)= 0
 close(1)= 0
 exit_group(0)   = ?


Hi Grant,

you're right it doesn't work with the trailing garbage. I wasn't aware 
it actually seeks even on pipes.


By coincidence it seems the next release will even change this behavior:

https://git.savannah.gnu.org/cgit/gzip.git/commit/?id=cf26200380585019e927fe3cf5c0ecb7c8b3ef14

But this actually still doesn't solve your problem, since this only 
adjust the calculation of the uncompressed size, but the compressed size 
is still derived from stat.





Re: [gentoo-user] How to copy gzip data from bytestream?

2022-02-22 Thread Felix Kuperjans

On Mon, Feb 21, 2022 at 8:29 PM Grant Edwards  wrote:


I've got a "raw" USB flash drive containing a large chunk of gzipped
data. By "raw" I mean no partition table, now filesystem. Think of it
as a tape (if you're old enough).

gzip -tv is quite happy to validate the data and says it's OK, though
it says it ignored extra bytes after the end of the "file".

The flash drive size is 128GB, but the gzipped data is only maybe
20-30GB.

Question: is there a simple way to copy just the 'gzip' data from the
drive without copying the extra bytes after the end of the 'gzip'
data?

The only thing I can think of is:

$ zcat /dev/sdX | gzip -c > data.gz

But I was trying to figure out a way to do it without uncompressing
and recompressing the data. I had hoped that the gzip header would
contain a "length" field (so I would know how many bytes to copy using
dd), but it does not. Apparently, the only way to find the end of the
compressed data is to parse it using the proper algorithm (deflate, in
this case).

--
Grant


Hi Grant,

you could use gzip to tell you the compressed size of the file and then 
use another method to copy just those bytes (dd for example):


gzip -clt Should print the compressed size in bytes, although by reading through 
the entire stream once.


--
Felix




Re: [gentoo-user] best rss reader?

2020-04-20 Thread Felix Kuperjans
Hi,

I use liferea for many years now and I'm pretty happy. Doesn't sync to
multiple machines though but I read RSS news only on my main laptop.

I like how it's very straightforward and locally collects a configurable
history of each feed and allows to structure them hierarchically into
folders - however, many others offer similar features as well.

Best Regards
Felix

Am 19.04.20 um 23:15 schrieb Caveman Al Toraboran:
> hi - could everyone share his rss reading setup?
>
> i have newsboat, but it got masked.  so i'm now
> starting to look around again.
>
> i'm open minded and welling to question
> fundamentals in the theory of the optimality of
> rss feed readers.
>
> so if you have some principles/theories about what
> makes an rss feed optimum, please share these too,
> as it might help me think in a better way in my
> quest to find the best rss feed reader.
>
> summary of questions:
> -
> 1. what rss feed reader do you use?
> 2. what are your theoretical principles that
>guided you to choose the rss feed that you
>use.
>
> rgrds,
> cm.
>
>




[gentoo-user] why --noclear not set on tty1 in default /etc/inittab?

2015-08-08 Thread Felix Miata
I don't get why any distro leaves this out, why anyone wouldn't like to
automatically notice while booting any announcement that something failed,
especially someone who has just gotten a new installation up for the first
times. Why isn't --noclear set by default?

Once I set this and rebooted I saw several things that needed fixing that I
didn't have a clue about:

1-error loading /etc/.../hostname (I had copied it from openSUSE installation
instead of following installation instruction, and without reading or saving
the existing one)

2-depending on hostname working, syslog-ng fails to start

3-missing mount points

As a consequence of my ineptitude (and prior to reading
http://www.gentoo-wiki.info/FQDN) I did emerge -s hostname, found a package
by that name, and chose to emerge it. 30 minutes later, it and 3 dep packages
were still compiling, lots lots longer than a kernel compile. :-(
-- 
The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: [gentoo-user] why --noclear not set on tty1 in default /etc/inittab?

2015-08-08 Thread Felix Miata
Fernando Rodriguez composed on 2015-08-08 03:43 (UTC-0400):

 Felix Miata wrote:

 I don't get why any distro leaves this out, why anyone wouldn't like to
 automatically notice while booting any announcement that something failed,
 especially someone who has just gotten a new installation up for the first
 times. Why isn't --noclear set by default?

 Because it's your choice (and your job) to set it or not. Gentoo is not a 
 distro per se, it' more of a set of tools to help you build your own system. 
 In most cases it provides whatever upstream ships with only patches and fixes 
 as needed.

Understood, but there were actually two questions posed. You seem to have
answered only the second. Maybe Mick's answer addresses the first.

 There's also a logging setting on rc.conf that logs the boot process.

That's not an automatic tickler, only a log. Clearing tty1's init messages
has never ever made sense to me. IOW, they get put there by default, so why
not leave them there by default? If upstream's responsible for the default
clearing, why did it so choose?

 The rest of your problems where due to failure to follow the handbook.

But did I need to emerge dev-haskell/hostname, or was another hostname
function already part of the base, and the haskell one something more or
different from built in?
-- 
The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: [gentoo-user] why --noclear not set on tty1 in default /etc/inittab?

2015-08-08 Thread Felix Miata
Neil Bothwick composed on 2015-08-08 18:02 (UTC+0100):

 On Sat, 8 Aug 2015 16:00:29 + (UTC), Grant Edwards wrote:

 Yep, I find it infuriating that by default all distros seem to go to
 great effort to hide as much information about the boot/startup
 process as possible.  WTF?  Do they think that stuff is top secret or
 something?  Are they afraid they'll lose their jobs if that info gets
 out?

 No, they think that the type of user they are trying to attract is likely
 to be scared off by all that cryptic text scrolling by. They are probably
 right.

 Gentoo doesn't hide it, it merely clears the screen once the boot has
 completed successfully.

Clear happens so quickly the messages may as well have never been there. I
get to see first maybe 4 or 5 if I don't blink at the wrong time.

 If the boot halts, you can see where and,
 usually, why it stopped. Try that with openUbundora.

I'm not sure Fedostemdtering hasn't incorporated noclear for tty1 by default.
I dislike Anaconda, so don't install it often, preferring to upgrade with
Yum-DNF. I just booted an F23 installation that didn't clear, but I can't
say that wasn't because I long ago reconfigured systemd.

openSUSE has been my distro of choice since before it was born, as SuSE 8.2.
Except for a period of transitioning from sysvinit to systemd[1], noclear has
been always its default for *getty on tty1. To actually have all the init
messages reach tty1 requires eliminating splash=silent and/or quiet from boot
stanza, but that's easy rote during its installer's bootloader configuration
step, and easily doable on the fly in Grub GFXboot if overlooked during
installation.

[1] https://bugzilla.opensuse.org/show_bug.cgi?id=721660
-- 
The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: [gentoo-user] boots, but not on first try

2015-08-07 Thread Felix Miata
Neil Bothwick composed on 2015-08-07 08:56 (UTC+0100):

 On Thu, 06 Aug 2015 23:34:56 -0400, Felix Miata wrote:

 I got ahead of things I suppose on the bootloader instructions, which
 include no example for Grub 0.97. I did emerge -s grub to identify the
 package name, then did 'emerge --ask sys-boot/grub-static' without
 first looking for any instructions, after which I somehow found
 https://wiki.gentoo.org/wiki/GRUB and its instruction saying
 'sys-boot/grub:0'. Having already emerged sys-boot/grub-static without
 the :0 appendage, I punted instead of looking up meaning of :0, running
 'emerge --ask sys-boot/grub-static:0'. That produced 4 beeps prior to
 emerge exit, which the previous emerge did not do. Next I set Grub up
 according to its man page: grub find /boot/grub/stage1; grub root
 (hd0,21); grub setup (hd0,21), then adjusted grub.conf.

 Didn't we cover this already? You have GRUB installed to boot your other
 distros, all you need to do is add a stanza for Gentoo to your existing
 menu.lst.

Subject only got touched. That's all I *need* to do. :-)

My machines have lots of installations[1], so my master bootloaders only load
default kernels (via symlink vmlinuz-cur), installation kernel(s),
memtest(s), or chainload. I maintain these manually.

Bootloaders on my / partitions are chainloaded to for choosing among multiple
installed kernels per distro. Their menus are typically maintained
automatically by them rather than me.

 Why is root=/dev/ram0 real_root= in the sample/prototype?

 That's for using an initrd, specifically the one produced by genkernel.
 With no initrd you simply give the actual root device.

I can't remember ever using a distro without an initrd before Gentoo, or
needing /dev/ram* to boot except for an installation kernel.

[1] e.g., this is from the Athlon I installed Gentoo to 50 months ago, and
since decided not to use any time soon to get a newer/current Gentoo. Among
my machines, it has a slightly lower than average installation count.
http://fm.no-ip.com/Tmp/Dfsee/kt400L13.txt
-- 
The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: [gentoo-user] minimal installation CD iso is where?,

2015-08-06 Thread Felix Miata
Neil Bothwick composed on 2015-08-06 08:33 (UTC+0100):

 I can think of no good reason to start with GRUB 0.97it.

I have hundreds of installations. Grub is simple and works. I'm not into
breaking what works.

 Goal #2 is to get through that first pass
 without any of systemd being installed. 

 Then just follow the handbook. It appears you have read neither the
 handbook nor the recent posts to your threads fully or you would know
 that systemd is not the default and requires some extra steps to install.

I don't remember the handbook saying I was supposed to memorize the whole
thing before going back to the beginning and actually trying to install. If
it did I would have been done before trying to start. I don't have an eidetic
memory. I forget, a lot.
https://wiki.gentoo.org/wiki/Handbook:X86/Installation/About and the
following several pages made the process look like it shouldn't be very
difficult. If they were the only pages I knew or read, maybe it would have
been easy, but that's not what happened.

 Choosing options rather
 accepting defaults is not pretty easy, at least for me who installed
 Gentoo only once previously, more than 4 years ago.

 Gentoo is not supposed to be easy, but if you'd just followed the
 handbook you would have got what you wanted.

Choosing non-defaults breaks the flow, especially when a branch explanation
ends before an answer emerges. It probably would have been easy if only the
first 3 or 4 Distrowatch columns existed and it had an empty systemd row. I
haven't been able to reconcile apparent choices the older columns imply with
Gentoo's instructions and mirror content. You understand how Gentoo version
selection works. 4 days later and I'm apparently still a long way off from
getting it, or whether it even offers any such thing.

The swarm of good help I got here early on induced me to keep trying when I
was really too exhausted to focus. I need to table it until some time when
I'm mentally stronger, and less distracted. Dogged persistence isn't a
positive attribute in every context. Sleep gets short changed, and failure
snowballs.

Neil Bothwick composed on 2015-08-06 09:10 (UTC+0100):

 On Thu, 06 Aug 2015 03:59:44 -0400, Felix Miata wrote:

 1-Distrowatch is what lead me to believe I could do something I wished
 to do.

 Is it DistroWatch that led you to believe that what you wanted wasn't
 the default to start with?

Yes.

 e.g. https://wiki.gentoo.org/wiki/Handbook:X86/Installation/Base
 discusses use of mirrorselect, before it directs to start chroot. In
 the context of a non-Gentoo boot (as offered in the alternative boot
 instructions) to get to stage 4, how exactly is mirrorselect to be
 found?

 Mirrorselect is optional, just pick a mrror based on geographical
 location.

Done.

 Re progress: I'm at the point of running emerge --ask
 sys-kernel/gentoo-sources, but it quits if I say no, and fails emerging
 sys-devel/bc-1.06.95-r1 (emake AR=$(tc-getAR)) if I say yes. :-(

 http://fm.no-ip.com/Tmp/Linux/G/config.txt

 Which clearly says ccache not found. That implies you have added ccache
 to FEATURES but not installed the ccache package. I know, I did the same
 thing last week.

An addition was done somewhere around a decade ago, the last time I
compiled anything from source. Before chrooting, I copied .bashrc from my
template stash into the target /root. It has 'export CC=ccache gcc' in it.
I commented it out, rebooted, rechrooted and tried again. bc still failed so
I tried emerging ccache. That too failed.

Lightbulb. Comment ccache out of chroot host too, restart. emerge ccache
succeeded. emerge --ask
sys-kernel/gentoo-sources did too.

I still need to better balance persistence with sleep. Bed now. TBC.
-- 
The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



[gentoo-user] boots, but not on first try

2015-08-06 Thread Felix Miata
If I followed the kernel instructions page correctly, its E8400 Core2Duo
wasn't in need of an initrd, and so did not get one. Main deviation from
suggestions/defaults was enabling HPFS filesystems. Result was 6001056 byte
4.0.5. openSUSE Tumbleweed 4.0.5 kernel is virtually identical at 6004656,
but there is also its 8712096 initrd.

I reached the bottom of
https://wiki.gentoo.org/wiki/Handbook:X86/Installation/Bootloader and
restarted host before clicking on link to next step. Before emerging
recommendations in the Tools instructions page I took a timeout to emerge mc.
The process involved 22 packages, more than I had any idea mc depended on,
but I guess that's at least partly because the installation to that point was
so very skeletal.

I got ahead of things I suppose on the bootloader instructions, which include
no example for Grub 0.97. I did emerge -s grub to identify the package name,
then did 'emerge --ask sys-boot/grub-static' without first looking for any
instructions, after which I somehow found https://wiki.gentoo.org/wiki/GRUB
and its instruction saying 'sys-boot/grub:0'. Having already emerged
sys-boot/grub-static without the :0 appendage, I punted instead of looking up
meaning of :0, running 'emerge --ask sys-boot/grub-static:0'. That produced 4
beeps prior to emerge exit, which the previous emerge did not do. Next I set
Grub up according to its man page: grub find /boot/grub/stage1; grub root
(hd0,21); grub setup (hd0,21), then adjusted grub.conf.

First boot try I used Gentoo's Grub 0.97 (grub.conf) chainloaded from
openSUSE's Grub 0.97-194 (menu.lst). Kernel quickly panic'd. I recognized
nothing on the screen to indicate why, though I had seen such things before,
among them, not syncing: VFS: Unable to mount root fs on unknown block(0,0).
/ filesystem is mkfs.ext4 created while running openSUSE kernel 3.12.44.

Second try I used menu.lst. Fastest boot I've ever experienced!

I then tweaked on grub.conf, but #3 try using it also panic'd (~@1.37), also
producing no help I recognized.

So now after some experimenting with cmdline arguments I'm on ~#10, headed
into https://wiki.gentoo.org/wiki/Handbook:X86/Installation/Finalizing ,
wondering why a Gentoo sample/prototype-based Grub stanza produces panic.

Panicing grub.conf cmdline arguments:
root=/dev/ram0 real_root=/dev/sda22 ipv6.disable=1 net.ifnames=0 splash=0
video=1024x768@60 3

Working grub.conf cmdline arguments:
root=/dev/sda22 ipv6.disable=1 net.ifnames=0 splash=0 video=1024x768@60 3

Why is root=/dev/ram0 real_root= in the sample/prototype?

4.0.5's /boot/config* FWIW:
http://fm.no-ip.com/Tmp/Linux/G/config-4.0.5-gentoo-gx780.txt
-- 
The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: [gentoo-user] minimal installation CD iso is where?,

2015-08-06 Thread Felix Miata
Jc García composed on 2015-08-05 23:57 (UTC-0600):

 Felix Miata composed:

 Are you sure you read what I wrote and not what you think I wrote? Pages like
 LMGTFY *leads to*, not LMGTFY. I was where that *leads to* yesterday and the
 day before while progressing generally through wiki.gentoo.org and
 www.gentoo.org futilely trying to reconcile what's available according to
 Distrowatch and what's sitting on Gentoo's mirrors.

 I'll be blunt, basically the intention was to say you should use
 google for these kind of questions, the options are really obvious if
 you have read the instructions in the gentoo wiki, and don't go to
 Distrowatch when trying to find instructions to install gentoo(why
 would you do that?).

1-Distrowatch is what lead me to believe I could do something I wished to do.

2-Support for the Distrowatch info that produced that belief defies discovery
on gentoo.org.

IOW, searching doesn't always produce useful results. Even when results are
putatively useful, not everyone sees the same words as having unambiguous
meaning. If they did, wither mailing lists and other QA forums.

e.g. https://wiki.gentoo.org/wiki/Handbook:X86/Installation/Base discusses
use of mirrorselect, before it directs to start chroot. In the context of a
non-Gentoo boot (as offered in the alternative boot instructions) to get to
stage 4, how exactly is mirrorselect to be found?

Re progress: I'm at the point of running emerge --ask
sys-kernel/gentoo-sources, but it quits if I say no, and fails emerging
sys-devel/bc-1.06.95-r1 (emake AR=$(tc-getAR)) if I say yes. :-(

http://fm.no-ip.com/Tmp/Linux/G/config.txt
-- 
The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/




Re: [gentoo-user] minimal installation CD iso is where?,

2015-08-05 Thread Felix Miata
Heiko Baums composed on 2015-08-06 07:19 (UTC+0200):
...
 It's actually pretty easy.

I'm sure plenty have found that to be the case. My problem is inability to
connect the dots between the 12.1 column on
http://distrowatch.com/table.php?distribution=gentoo and the instructions.
Goal #1 is to get Grub 0.97 on my first pass following those instructions,
and Grub2 never, rather than skipping the bootloader installation step. Goal
#2 is to get through that first pass without any of systemd being installed.
Choosing options rather accepting defaults is not pretty easy, at least for
me who installed Gentoo only once previously, more than 4 years ago.
-- 
The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: [gentoo-user] minimal installation CD iso is where?,

2015-08-05 Thread Felix Miata
Felix Miata composed on 2015-08-05 22:23 (UTC-0400):

 After reading
 https://wiki.gentoo.org/wiki/Handbook:X86/Installation/Media#Minimal_installation_CD
 which does not link to it until after its first mention I spent considerable
 time on http://mirrors.us.kernel.org/gentoo/ trying to find one. The only iso
 files I managed to find are DVD size. When I reach the location that I think
 should list them,
 http://mirrors.us.kernel.org/gentoo/releases/x86/autobuilds/current-iso (aka
 www.gtlib.gatech.edu/pub/gentoo), I consistently get this instead:

   http://mirrors.us.kernel.org/images/bucket.jpg
   Sorry, we cannot find your kernels

My brain got entangled again. I did find the minimal install .iso, but not
one corresponding to the Gentoo starting point I wanted, something resembling
the date of the stage below. :-p

 I really wanted to install by booting from an installed Linux anyway, but
 first command after extracting stage and chrooting, I got this:

   failed to run command '/bin/bash': Exec format error

 When I attempted to find the stage file to download in the first place, they
 all seemed to be arch-agnostic, so this is the one I tried (newest pre-Grub2):

   
 http://www.gtlib.gatech.edu/pub/gentoo/releases/sh/autobuilds/20120323/sh4-unknown-linux-gnu/stage3-sh4-20120307.tar.bz2

 Kernel booted from is Debian Jessie's 3.16.0-4-amd64, on a Core2Duo E8400, so
 I'm confused why the apparent arch error message. ???
-- 
The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



[gentoo-user] minimal installation CD iso is where?,

2015-08-05 Thread Felix Miata
After reading
https://wiki.gentoo.org/wiki/Handbook:X86/Installation/Media#Minimal_installation_CD
which does not link to it until after its first mention I spent considerable
time on http://mirrors.us.kernel.org/gentoo/ trying to find one. The only iso
files I managed to find are DVD size. When I reach the location that I think
should list them,
http://mirrors.us.kernel.org/gentoo/releases/x86/autobuilds/current-iso (aka
www.gtlib.gatech.edu/pub/gentoo), I consistently get this instead:

http://mirrors.us.kernel.org/images/bucket.jpg
Sorry, we cannot find your kernels

I really wanted to install by booting from an installed Linux anyway, but
first command after extracting stage and chrooting, I got this:

failed to run command '/bin/bash': Exec format error

When I attempted to find the stage file to download in the first place, they
all seemed to be arch-agnostic, so this is the one I tried (newest pre-Grub2):


http://www.gtlib.gatech.edu/pub/gentoo/releases/sh/autobuilds/20120323/sh4-unknown-linux-gnu/stage3-sh4-20120307.tar.bz2

Kernel booted from is Debian Jessie's 3.16.0-4-amd64, on a Core2Duo E8400, so
I'm confused why the apparent arch error message. ???
-- 

The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/





Re: [gentoo-user] minimal installation CD iso is where?,

2015-08-05 Thread Felix Miata
Fernando Rodriguez composed on 2015-08-05 23:46 (UTC-0400):

 On Wednesday, August 05, 2015 10:23:03 PM Felix Miata wrote:
...
 all seemed to be arch-agnostic, so this is the one I tried (newest 
 pre-Grub2):
...
 What makes you think it's arch agnostic when it says sh4-unknown-linux-gnu? 

Unknown significance of sh4, absence of string 32, coupled with string
unknown, having read that what I want is under autobuild, after having
looked all over mirrors.us.kernel.org/gentoo finding only DVD sized iso files
regardless whether base URL included amd64 or *32*, and finding lots of
differently aged alternatives for everything *except* the minimal
installation CD.
http://mirrors.us.kernel.org/gentoo/releases/amd64/autobuilds/current-install-amd64-minimal/stage3-amd64-20150730.tar.bz2
found I assumed because current would direct me past the post-Grub2 milestone.

 You want amd64, not sh4. And why would you want a stage from 2012?

Answered above (and in other thread I started in recent hours here).

 http://lmgtfy.com/?q=download+gentoo

Pages like that leads to are like Windows and Sourceforge software hosts
where after muddling past licenses and assumption what one's looking for has
anything to do with the puter used to search and script links autostarting
download with web browser instead of wget I just stay away from their
download links whenever I can find a direct route going straight to a mirror
and see the hosting context, and very important to me, the file's timestamp,
so that I can ensure the resulting download timestamp matches the host's
timestamp whenever possible.
-- 
The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: [gentoo-user] minimal installation CD iso is where?,

2015-08-05 Thread Felix Miata
Jc García composed on 2015-08-05 23:02 (UTC-0600):

 2015-08-05 22:40 GMT-06:00 Felix Miata ocmposed:

 Fernando Rodriguez composed on 2015-08-05 23:46 (UTC-0400):

 http://lmgtfy.com/?q=download+gentoo

 Pages like that leads to are like Windows and Sourceforge software hosts
 where after muddling past licenses and assumption what one's looking for has
 anything to do with the puter used to search and script links autostarting

 LOL nothing like that, go ahead and find the beauty of lmgtfy.

Are you sure you read what I wrote and not what you think I wrote? Pages like
LMGTFY *leads to*, not LMGTFY. I was where that *leads to* yesterday and the
day before while progressing generally through wiki.gentoo.org and
www.gentoo.org futilely trying to reconcile what's available according to
Distrowatch and what's sitting on Gentoo's mirrors.

 Also sourceforge is a pretty decent host for publishing open source
 software, it offers wikis, mailing list, code repositories, in fact
 various projects use it to develop open source, you might be talking
 about softonic.

Sourceforge hosts a ton of good stuff, but its presentation is annoying
enough that I habitually avoid it except as last resort, typically choosing
to avoid needing whatever it hosts rather than suffer mousetype and redirects
to slow mirrors.

 PD: I think you would be better using SystemRescueCD than the minimal
 cd, go ahead http://lmgtfy.com/?q=systemrescuecd+download

Again not funny. I've been pointing people (directly) to systemrescuecd for
years, but rarely need it myself because all my systems are very multiboot.

I didn't want to boot live media in the first place, trying it only because
of misunderstanding stage3 options using alternative boot. I'm in chroot in
phase 4 now.
-- 
The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/




[gentoo-user] 'tar xvjpf stage3-*.tar.bz2 --xattrs' failed with unknown option --xattrs

2015-08-05 Thread Felix Miata
I booted x86_64 openSUSE 13.1 HD installation to try to begin Gentoo
installation, beginning from Unpacking the stage tarball on
https://wiki.gentoo.org/wiki/Handbook:X86/Installation/Stage :

# tar xvjpf /pub/stage3-sh4-20120307.tar.bz2 --xattrs

Tar (GNU tar) v1.26 reported

unrecognized option '--xattrs'

Searching the tar man page for 'xattrs' produced no hits, and same for bzip2
man page. I rebooted into Debian Jessie instead to try again, and the same
command with Gnu tar 1.27.1 completed, apparently normally. ???
-- 
The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: [gentoo-user] want to upgrade 50 month old installation

2015-08-04 Thread Felix Miata
Neil Bothwick composed on 2015-08-04 21:36 (UTC+0100):

 On Tue, 04 Aug 2015 15:32:51 -0400, Felix Miata wrote:

 I've yet to figure out how to get a list of
 all installed packages akin to 'rpm -qa | sort', so I really don't know
 what my starting configuration is.

 qlist -ICv

-bash: qlist: command not found
emerge qlist fails (with unable to parse profile...unsupported EAPI '5')
-- 
The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: [gentoo-user] want to upgrade 50 month old installation

2015-08-04 Thread Felix Miata
James composed on 2015-08-04 21:07 (UTC):

 Interesting choice:: how do you like your choices, Felix?

Choices are a double edged sword. The more you have, the more power you have,
but the harder to choose, especially while overwhelmed by the unfamiliar.
Your later provided ungrading old installation links are intriguing, but
nevertheless I'm leaning heavily toward starting fresh.

Whether that or upgrade, questions asked and remaining unanswered are leaving
me unable to pick a target, whether latest release, or unknown where best
to go without being encumbered by the systemd adolescent, if there's any
practical point in so doing.

Also there's an as yet unasked question I want to get a handle on before
doing anything else. What I have now has no /dev/fb*, so I'm stuck in 80x25
mode unable to use vga= and apparently with a non-modesetting kernel. I
wouldn't want a new installation also so hamstrung right off the bat
without first knowing what to do about it.

 To the wider list of gentoo hacks::

 Still think we do not need an easier installation semantic? If he decides to
 'upgrade' there will be tons of man-hours spent on this effort. If we had a
 mostly unattended basic installation semantic (proceedure/install) I bet he
 (Felix) would choose that pathway.  Felix, care to comment?

Again it's a question of ability to and interest in dealing with choices.
Among conventional distro installers, only openSUSE's YaST2 power pleases me.
I would say the traditional text-only Debian installer (shared by *buntu) was
worst, if only Anaconda wasn't so horribly horribly unintuitive. Mageia's
isn't too bad if one doesn't mind needing to install minimal and then
pickchoose from urpmi cmdline after setting no-recommends in order to avoid
bloat.

The Gentoo instructions look competent enough to do well for most of the
people it's designed for, if only they aren't trying to do as currently I,
avoid systemd.

I really should have followed up on my installation 50 months ago at *least*
3 years ago. I have no recollection what stopped me, unless it was a naive
choice to put it on one of my oldest slowest machines with nv11 instead of
newer Intel or ATI and bunches more CPU power. It could also at least in part
be a result of space required exceeding what I'm used to. Most of my test
installations are in 4.8G / partitions that wind up 80% full or less. This
original is on 4.8G, has only 26% free, apparently has no Xorg or KDE, and no
qlist to figure what *is* installed.

 If we (gentoo) had a simple installation semantic, this sort of problem
 would most likely disappear; so the wider community could delve into other
 technical support issues.. YMMV.

I get the feeling Gentoo isn't a right choice for people who need a simple
installation semantic.
-- 
The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: [gentoo-user] want to upgrade 50 month old installation

2015-08-04 Thread Felix Miata
Neil Bothwick composed on 2015-08-04 18:44 (UTC+0100):

 On Tue, 04 Aug 2015 13:12:42 -0400, Felix Miata wrote:
 
 6-# emerge portage
  This produced a longish warning:
 !!! /etc/make.profile is not a symlink and will probably prevent most
 merges. !!! It should point into a profile within /usr/portage/profiles/
 !!! (You can safely ignore this message when syncing. It's harmless.)
 !!! If you have just changed your profile configuration, you should
 revert !!! backto the previous configuration. Due to your current
 profile being !!! invalid, allowed actions are limited to --help,
 --info, --sync, and !!! --version.
 
 So, /etc/make.profile exists, but it's a symlink to a non-existant
 ../usr/portage/profiles/default/linux/x86/10.0/desktop. Is all I need
 to do to be able to proceed to change the symlink to point
 to ...x86/13.0/des...? Any suggestions or words of wisdom?
 
 The message says it's not a symlink, not that it points nowhere. It may
 be that your cloning method dereferenced it when copying. Just reset it
 with eselect profile list followed by eselect profile set.

I think we have a n00b communication failure here. :-p

These are the current states of source and target
(post-emerge --sync, emerge portage, and eselect profile set 6 on 
target):

Source:
# uname -a  out
Linux kt400 2.6.37-gentoo-r4 #1 Sun May 15 19:32:50 EDT 2011 i686 AMD 
Athlon(tm) XP 2000+ AuthenticAMD GNU/Linux
# mount | grep ' / '  out
/dev/sda7 on / type ext3 (rw,noatime)
# blkid /dev/sda29  out
/dev/sda29: LABEL=gentoon UUID=eb3b5ce7-1675-4356-a508-ba6c30e590e0 
SEC_TYPE=ext2 TYPE=ext3 
# ls -l /etc/mak* | grep -v *conf.1* out
-rw-r--r-- 1 root root 670 May 16  2011 /etc/make.conf
-rw-r--r-- 1 root root 421 Apr 26  2011 /etc/make.conf.01
-rw-r--r-- 1 root root 544 May 15  2011 /etc/make.conf.12
-rw-r--r-- 1 root root 588 May 15  2011 /etc/make.conf.13
-rw-r--r-- 1 root root 677 May 15  2011 /etc/make.conf.14
-rw-r--r-- 1 root root 698 May 16  2011 /etc/make.conf.15
-rw-r--r-- 1 root root 670 May 16  2011 /etc/make.conf.16
-rw-r--r-- 1 root root 421 Apr 26  2011 /etc/make.conf.catalyst
lrwxrwxrwx 1 root root  40 Apr 26  2011 /etc/make.globals - 
../usr/share/portage/config/make.globals
lrwxrwxrwx 1 root root  54 May 16  2011 /etc/make.profile - 
../usr/portage/profiles/default/linux/x86/10.0/desktop
# ls -l /usr/portage/profiles/default/linux/x86/10.0/desktop/* out
-rw-r--r-- 1 portage portage2 Oct 22  2009 
/usr/portage/profiles/default/linux/x86/10.0/desktop/eapi
-rw-r--r-- 1 portage portage   34 Aug  6  2009 
/usr/portage/profiles/default/linux/x86/10.0/desktop/parent
/usr/portage/profiles/default/linux/x86/10.0/desktop/gnome:
total 2
-rw-r--r-- 1 portage portage  2 Mar 29  2010 eapi
-rw-r--r-- 1 portage portage 43 Mar 29  2010 parent
/usr/portage/profiles/default/linux/x86/10.0/desktop/kde:
total 2
-rw-r--r-- 1 portage portage  2 Mar 29  2010 eapi
-rw-r--r-- 1 portage portage 41 Mar 29  2010 parent

Target:
# uname -a  out
Linux kt400 2.6.37-gentoo-r4 #1 Sun May 15 19:32:50 EDT 2011 i686 AMD 
Athlon(tm) XP 2000+ AuthenticAMD GNU/Linux
# mount | grep ' / '
/dev/sda29 on / type ext3 (rw,noatime)
# blkid /dev/sda29
/dev/sda29: LABEL=gentoon UUID=eb3b5ce7-1675-4356-a508-ba6c30e590e0 
TYPE=ext3 
# ls -l /etc/mak* | grep -v *conf.1*
-rw-r--r-- 1 root root 670 May 16  2011 /etc/make.conf
-rw-r--r-- 1 root root 421 Apr 26  2011 /etc/make.conf.01
-rw-r--r-- 1 root root 544 May 15  2011 /etc/make.conf.12
-rw-r--r-- 1 root root 588 May 15  2011 /etc/make.conf.13
-rw-r--r-- 1 root root 677 May 15  2011 /etc/make.conf.14
-rw-r--r-- 1 root root 698 May 16  2011 /etc/make.conf.15
-rw-r--r-- 1 root root 670 May 16  2011 /etc/make.conf.16
-rw-r--r-- 1 root root 421 Apr 26  2011 /etc/make.conf.catalyst
lrwxrwxrwx 1 root root  40 Apr 26  2011 /etc/make.globals - 
../usr/share/portage/config/make.globals
lrwxrwxrwx 1 root root  58 Aug  4 13:30 /etc/make.profile - 
../usr/portage/profiles/default/linux/x86/13.0/desktop/kde
# ls -l /usr/portage/profiles/default/linux/x86/13.0/desktop/kde/*
-rw-r--r-- 1 root root2 Mar 19  2014 
/usr/portage/profiles/default/linux/x86/13.0/desktop/kde/eapi
-rw-r--r-- 1 root root   41 Jan 18  2013 
/usr/portage/profiles/default/linux/x86/13.0/desktop/kde/parent
/usr/portage/profiles/default/linux/x86/13.0/desktop/kde/systemd:
total 2
-rw-r--r-- 1 root root  2 Mar 19  2014 eapi
-rw-r--r-- 1 root root 40 Oct 19  2013 parent

In case it might be useful, .bash_history:
Up until I started today's thread:
http://fm.no-ip.com/Tmp/Linux/G/bash_history-kt400N.txt
From back when I installed 4 years ago, annotated at the time:
http://fm.no-ip.com/Tmp/Linux/G/bash_history.05
-- 
The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: [gentoo-user] want to upgrade 50 month old installation

2015-08-04 Thread Felix Miata
Grant Edwards composed on 2015-08-04 17:20 (UTC):

 Felix Miata wrote:

 That's right, May 2011, my first and only Gentoo installation, 32 bit on an
 old Athlon, which means no sse2, and kernel 2.6.37. It coexists in multiboot
 on one HD with 12 installations of Fedora and openSUSE. I'd like to upgrade
 it rather than installing fresh,

 Can we ask why?

Because, assuming it's feasible, I can? :-)

1-I just find upgrade processes more enjoyable than inital installations and
their follow-up tedium getting from defaults back to the way I like things to
work.

2-From one installation to the next, I typically forget installation choices
that in hindsight I would not have made.

 if it's doable.

 It probably is (for some degnerate value of doable).

 My gut feeling is that a fresh install is going to be a _lot_ easier

For some degenerate value of easier. :-)

 and faster.  A fresh install will take a couple hours. An upgrade will
 take somewhere between a couple days and a couple weeks.

Seriously, more than a day?

Now that I've seen several thread responses subsequent to this one, I'm
leaning towared just doing a fresh installation, but I'm curious about what
would happen by trying, and how long it really would take.

Skipping or after attemping upgrade, I'd chroot from an existing, probably
openSUSE rather than Fedora, because I have Tumbleweed all the way back to
11.2 to choose from. Would there be any particular advantage to picking a
particular one to use, with/without systemd, or a kernel version close, or
newer, or older, than that which will be emerged?

I like that eselect list currently offers a kde sans systemd sans plasma
option. Ultimately what I'd like to do is get Gentoo on at least one of my
much faster systems, but only after enough experience with it to have a
respectable shot at putting Trinity on it instead of any of the more popular
DEs.  This machine is a guinea pig for familiarization purposes.
-- 
The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



[gentoo-user] want to upgrade 50 month old installation

2015-08-04 Thread Felix Miata
That's right, May 2011, my first and only Gentoo installation, 32 bit on an
old Athlon, which means no sse2, and kernel 2.6.37. It coexists in multiboot
on one HD with 12 installations of Fedora and openSUSE. I'd like to upgrade
it rather than installing fresh, if it's doable. My initial steps have been:

1-scan through:
a: https://wiki.gentoo.org/wiki/Upgrading_Gentoo
b: https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage
2-clone the existing partition to a larger one to be the upgrade target
3-boot the target
4-note that there exists no /etc/portage/
5-# emerge --sync
which warned I need to emerge portage before doing anything else
6-# emerge portage
This produced a longish warning:
!!! /etc/make.profile is not a symlink and will probably prevent most merges.
!!! It should point into a profile within /usr/portage/profiles/
!!! (You can safely ignore this message when syncing. It's harmless.)
!!! If you have just changed your profile configuration, you should revert
!!! backto the previous configuration. Due to your current profile being
!!! invalid, allowed actions are limited to --help, --info, --sync, and
!!! --version.

So, /etc/make.profile exists, but it's a symlink to a non-existant
../usr/portage/profiles/default/linux/x86/10.0/desktop. Is all I need to do
to be able to proceed to change the symlink to point to ...x86/13.0/des...?
Any suggestions or words of wisdom?
-- 

The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: [gentoo-user] want to upgrade 50 month old installation

2015-08-04 Thread Felix Miata
Dale composed on 2015-08-04 12:41 (UTC-0500):

 First, you are going to have a interesting few days, at least.  It would
 be faster and easier to start fresh.  Honestly.  If you just have to or
 want to for a learning experience, cool. 

 See if eselect exists.  If it does, try this:

 eselect profile list

 If that works, pick whatever profile is closest to what you use and set
 it.  That *should* take care of your first problem. 

No complaint from selecting 3, then 6.

 You got lots more coming I bet.

It already seems to be telling me don't. Man portage works, but portage
--help produces not found. :-P I've yet to figure out how to get a list of
all installed packages akin to 'rpm -qa | sort', so I really don't know what
my starting configuration is. Startx doesn't work, which looks like maybe
because /usr/bin/X* doesn't exist, and /etc/X11 is rather sparse.

 If that doesn't work, then you have to link it the old fashioned way. 
 Link the directory for the profile in
 /usr/portage/profiles/your-profile to /etc/make.profile and then see
 if it is happy. 

 Also, since this is going to be uphill all the way, I'd use the latest
 unstable portage excluding the  version.  At least that way, portage
 will help solve some problems, if it can. 

http://mirrors.us.kernel.org/gentoo/distfiles/portage-2.2.8.tar.bz2 wouldn't
be close enough, or is that what you're suggesting?
http://mirrors.us.kernel.org/gentoo/snapshots/ has a lot to pick from.

 I suspect this thread could get long and interesting.  o_O

At least for now, I'd like to not try to go past 20121221 in order to avoid
systemd. So far I've not found a procedure lending itself to that except to
install via http://mirrors.us.kernel.org/gentoo/releases/x86/20121221/ , but
the machine doesn't boot USB and only has a CD reader. Neither of those
normally matter, since my preferred installation method is HTTP initiated by
Grub loading an installation kernel and initrd, but I've yet to locate
Gentoo's for that AFAICT, if it even has any such thing. I guess the chroot
to untar methodology on
https://wiki.gentoo.org/wiki/Handbook:X86/Installation/Stage obviates any
such need? On http://mirrors.us.kernel.org/gentoo/releases/x86/autobuilds/ I
don't see anything that looks like a way to get to 20121221 if not already 
there.


Neil Bothwick composed on 2015-08-04 18:44 (UTC+0100):

 How did you clone it? It appears parts are missing.

I used the word clone a bit loosely. I did rsync -av after a fresh mkfs.ext3.
What's missing on clone is missing on source too. Difference in used below I
suppose is mostly on account of having already run emerge --sync?

Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/sda3   396623256772119369  69% /disks/boot
/dev/sda7  4875929   3410712   1219425  74% /disks/ogentoo
/dev/sda29 6501216   3689976   2483516  60% /
/dev/sda10 4837465   3365041   1226632  74% /disks/evergreen
/dev/sda12 3250579   1302593   1784125  43% /home
/dev/sda13 1625241248895   1294417  17% /usr/local
-- 
The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: [gentoo-user] Gentoo on System76 laptop, and Netflix

2013-09-11 Thread felix
On Wed, Sep 11, 2013 at 10:02:20PM +0800, Guillaume Poulin wrote:
 2013/9/11  fe...@crowfix.com:
1.  Anyone have any experience installing gentoo on a System76 laptop?
 
 If it works fine on Ubuntu I don't any reason why you would have
 difficulty with Gentoo.

Right, in theory.  Software is software,Ubuntu is free source software, the 
code should be avalable.  But Ubuntu does a lot of things differently and I 
have reached a stage in life where using my computer is more important than 
spending inordinate amounts of time piecing together the parts that make it wrk.

What I was hoping for was someone who had done this and could report what 
specific steps were needed, what modules, custom config, etc.  (Hopeing, not 
expecting :-)

2.  If I use kvm/virsh, is it possible to install a Mac image to watch 
  Netflix streaming movies?  Or, yecch, Windows, but I'd really rather not 
  try that, as I haven't touched Windows for 15-20 years and see no reason to 
  enrich Boll Gates' pension.
 
 If it's just to watch Netflix, the windows native client work greatly
 on wine. I'm not a big fan of wine but it's what I did for my sister
 on her Ubuntu laptop and she seems happy

That's good to know.  Where is this native client -- is it a download from 
Netflix?

Last time I played arund with wine was back in the days when experimentation in 
oddball corners was fun.  Now there are so many such corners, and so much that 
each can do, that my interests have moved up a step.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Gentoo on System76 laptop, and Netflix

2013-09-11 Thread felix
On Wed, Sep 11, 2013 at 11:31:26AM -0500, Paul Hartman wrote:
 On Tue, Sep 10, 2013 at 3:04 PM,  fe...@crowfix.com wrote:
 
2.  If I use kvm/virsh, is it possible to install a Mac image to watch 
  Netflix streaming movies?  Or, yecch, Windows, but I'd really rather not 
  try that, as I haven't touched Windows for 15-20 years and see no reason to 
  enrich Boll Gates' pension.
 
 Check out the Gentoo Wiki for a couple alternative ways to possibly
 watch Netflix in Linux without needing a virtual machine at all:
 http://wiki.gentoo.org/wiki/Netflix
 http://wiki.gentoo.org/wiki/Netflix/Pipelight

Pipelight looks interesting; saved the bookmark.  Thanks.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



[gentoo-user] Gentoo on System76 laptop, and Netflix

2013-09-10 Thread felix
I have an old (6-7 years?) Mac laptop which I mostly use for watching streaming 
Netflix movies, and ssh into work computers of one sort or another.  It has one 
dead key (up arrow), another which is flaky, the screen brightness sometimes 
flickers, but it generally still works, mostly.

My home computer is gentoo but a big server.

At work I have a System76 laptop, Gazelle Pro I think, which has one of the 
best keyboards I have ever used of any type, so I have been thinking of getting 
one for myself.  But it runs Ubuntu, and while that is ok for work, I'd get 
pretty tired of it on a personal computer.

So, two questions:

  1.  Anyone have any experience installing gentoo on a System76 laptop?

  2.  If I use kvm/virsh, is it possible to install a Mac image to watch 
Netflix streaming movies?  Or, yecch, Windows, but I'd really rather not try 
that, as I haven't touched Windows for 15-20 years and see no reason to enrich 
Boll Gates' pension.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] pop up windows with text message

2013-07-13 Thread felix
On Tue, Jul 09, 2013 at 10:54:31AM -0600, Joseph wrote:
 How to design a sticky note pop-up when file is present?
 
 I would like to check if file is present via and open a terminal window with 
 a simple message.
 I think a simple bash script and a cron job would do the trick or is there a 
 better solution?

Only partially related, I wrote the following dumb little script for crontab 
notifies, or to check a laptop battery every 5 minutes and report if below a 
certain level, etc.  Really simple, but it works on most X systems.

#!/bin/sh

if [ -z $DISPLAY ]; then export DISPLAY=localhost:0; fi
xmopts=
while [ $1 = -x ]; do
xmopts=$xmopts $2
shift;shift
done
echo $@
 | xmessage -bg green -fg red -file - -title Alert -nearmouse -default 
okay $xmopts

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] texlive-basic

2013-05-02 Thread Felix Kuperjans
Hello Silvio,

Silvio Siefke wrote:
 Hello,

 have someone run the texlive update succesfully? I have problems with
 building. 

 The message:
 ###
 fmtutil: Error! Not all formats have been built successfully.
 Visit the log files in directory
   /var/tmp/portage/dev-texlive/texlive-basic-2012/work/texmf-var/web2c
 for details.
 ###

 This is a summary of all `failed' messages:
 `luatex -ini  -jobname=dviluatex -progname=dviluatex dviluatex.ini' failed
 `luatex -ini  -jobname=luatex -progname=luatex luatex.ini' failed
  * ERROR: dev-texlive/texlive-basic-2012 failed (compile phase):
  *   failed to build format texmf/fmtutil/format.texlive-basic.cnf
  * 
  * Call stack:
  * ebuild.sh, line   93:  Called src_compile
  *   environment, line 2195:  Called texlive-module_src_compile
  *   environment, line 2834:  Called die
  * The specific snippet of code:
  *   VARTEXFONTS=${T}/fonts 
 TEXMFHOME=${S}/texmf:${S}/texmf-dist:${S}/texmf-var env -u TEXINPUTS 
 fmtutil --cnffile ${i} --fmtdir ${S}/texmf-var/web2c --all || die failed 
 to build format ${i};
  * 
  * If you need support, post the output of `emerge --info 
 '=dev-texlive/texlive-basic-2012'`,
  * the complete build log and the output of `emerge -pqv 
 '=dev-texlive/texlive-basic-2012'`.
  * The complete build log is located at 
 '/var/tmp/portage/dev-texlive/texlive-basic-2012/temp/build.log'.
  * The ebuild environment file is located at 
 '/var/tmp/portage/dev-texlive/texlive-basic-2012/temp/environment'.
  * Working directory: '/var/tmp/portage/dev-texlive/texlive-basic-2012/work'
  * S: '/var/tmp/portage/dev-texlive/texlive-basic-2012/work'
That error occurred on my 32-Bit systems, too (interestingly, not on any
amd64 system). Was easily solved by recompiling luatex, it had some
broken dependency not detected by revdep-rebuild.

To check that, maybe try running luatex on the console, it crashed
instantly on my boxes until it was re-emerged...
 Thank you  Greetings Silvio 
Regards,
Felix



[gentoo-user] udev upgrade and baselayout 2.2

2013-04-29 Thread felix
I've finally got my system settled enough to look into teh scary udev upgrade.  
Especially I have all data dirs off in their own LVM partitions (/home, /encfs, 
/usr/portage, /var/spool), and a backup of the most recent bootable and runable 
/, so I can boot back to that if I need to and still get email etc. while 
working oout what I screwed up.

Excluding gcc, llvm, various app-emulation packages, videolibs, etc, most of it 
looks innocent enough.

=sys-apps/coreutils-8.21
=sys-apps/dbus-1.6.10
=sys-apps/dmidecode-2.12
=sys-apps/gptfdisk-0.8.6
=sys-apps/hwids-20130329
=sys-apps/hwloc-1.6.2
=sys-apps/kmod-13
=sys-apps/pciutils-3.2.0
=sys-apps/portage-2.1.11.62
=sys-apps/sandbox-2.6-r1
=sys-apps/sysvinit-2.88-r4
=sys-apps/usbutils-006-r1
=sys-apps/util-linux-2.22.2
=sys-auth/consolekit-0.4.5_p20120320-r2
=sys-auth/pambase-20120417-r1
=sys-auth/polkit-0.110
=sys-block/nbd-3.3
=sys-block/thin-provisioning-tools-0.1.5-r1
=sys-cluster/openmpi-1.6.4
=sys-fs/ecryptfs-utils-103
=sys-fs/lvm2-2.02.98
=sys-fs/s3fs-1.67
=sys-fs/s3ql-1.14
=sys-fs/udev-202
=sys-fs/udev-init-scripts-26
=sys-fs/udisks-1.0.4-r5
=sys-fs/udisks-2.1.0:2
=sys-libs/glibc-2.17:2.2
=sys-libs/pam-1.1.6-r4
=sys-power/cpufrequtils-008-r2
=sys-power/cpupower-3.8-r1
=sys-power/powertop-2.3
=sys-power/upower-0.9.20-r2
=sys-process/lsof-4.87-r1
=virtual/udev-197-r3

Some give me pause:

=sys-apps/baselayout-2.2

Is baselayout 2.2 necessary for upgrading udev, or just optional?  Could I 
upgrade this without upgrading udev?

=sys-boot/grub-2.00-r3:2

I'm running grub 1.  What I have seen of grub 2 doesn't impress me, and 
besides, my bootable backup is on a different disk but relies on the grub 1 
boot setup, and I'd just as soon not upgrade to grub 2 ever if possible.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] VirtualBox guest eth0/enp0s3 problem

2013-04-04 Thread Felix Kuperjans
Hi João,

João Matos:
 Hi list.

 I decided to install a virtual server for testing some stuff, but I
 couldn't configure eth0 as usual. The system complain it doesn't
 exist. After compiling the kernel hundreds  of times, I supposed the
 problem wasn't my kernel configuration then installed dhcpcd.
Due to the new udev version, the devices will be renamed by default to
names like enp0s3. This is not done by the kernel and no driver issue,
just a renaming at boot time done by udev.

 For my surprise, I got an IP address, but there weren't eth0, just
 enp0s3 instead. It wouldn't be a problem (even with dhcp), but I can't
 start any service. They (sshd) complain that there is no eth0.
You might have some old references to eth0 around, e.g.:
- /etc/init.d/net.eth0 (move this file to /etc/init.d/net.enp0s3)
- entries in /etc/conf.d/net (same here, rename them all to enp0s3)
- net.eth0 is maybe installed in the default runlevel. Remove it and add
net.enp0s3
- in case SSH still refuses to start, try running /lib/rc/bin/rc-depend
-u as root and/or setting rc_depend_strict=NO in /etc/rc.conf

 I'm using stable packages (x86).

 Any suggestions? Thank you.

 -- 
 João de Matos
 Linux User #461527
Regards,
Felix



Re: [gentoo-user] How can I prevent gentoo-sources being installed?

2013-03-24 Thread Felix Kuperjans
On Sun, Mar 24, 2013 at 18:39, Canek Peláez Valdés wrote:
 On Sun, Mar 24, 2013 at 11:14 AM, Jarry mr.ja...@gmail.com wrote:
 Thanks, this works (never heard of this file before). But there is
 one small problem: no wildcards are allowed, so whenever new sorces
 come I'll have to edit package.provided again, and again... BTW why
 should kmod depend on kernel-sources? Or even better, why should be
 kmod installed, if I have static (non-modular) kernel? 
 Because your use case is not standard. The normal situation for users
 with kmod installed (and you have already kmod installed, since in
 your --pretend run appears as to be reinstalled) is for them to use
 kernel modules. The developers cannot handle every possible
 combination of configurations, so defaults are set for the least weird
 cases, or the common case even.

 Your setup is not the norm; therefore, it depends on you to keep it as
 you like it.

 Regards.
The case is actually quite common; Linux *sources* are only needed for
building kernels on the local machine (and - if used - additional
modules like nvidia-drivers).
Anyone who does not build the kernel on the local machine, e.g. taking
stock kernels from Debian/Fedora/..., kernel provided by
netboot/openvz/Xen domUs or build them remotely will almost never need
linux-sources installed.

BTW this will also add full kernel sources to all stage3 archives,
increasing their size quite significantly.

Regards,
Felix



Re: [gentoo-user] How can I prevent gentoo-sources being installed?

2013-03-24 Thread Felix Kuperjans
Neil Bothwick wrote:
 On Sun, 24 Mar 2013 19:41:18 +0100, Felix Kuperjans wrote:

 BTW this will also add full kernel sources to all stage3 archives,
 increasing their size quite significantly.
 Stage 3 archives only contains necessary packages for which there is no
 choice. They don't include a cron daemon or a system logger for that
 reason, so they won't include kernel sources.


AFAICT stage3 archives include everything of @system.

virtual/dev-manager usually pulls in udev, which might pull in kmod
(depending on USE flags) and virtual/modutils is part of system, which
by default uses kmod.
So kmod is part of system and it then requires virtual/linux-sources as
a dependency, so they are now part of system as well.

That wasn't the case some days ago, and IMHO linux-sources should not be
part of @system in the future.

Regards,
Felix



Re: [gentoo-user] portage insists in pulling in sys-apps/kmod

2013-03-23 Thread Felix Kuperjans
Mike Gilbert:
 On Sat, Mar 23, 2013 at 1:42 PM, Dan Johansson dan.johans...@dmj.nu wrote:
 Hello,

 Some of my servers are running with a kernel without module-support.
 On these servers something has started to pull in sys-apps/kmod, which when 
 compiled complains about missing modules-support in the kernel (as it 
 should).
 Doing an equery d sys-apps/kmod I can see that the following two packages 
 depends on sy-apps/kmod:
 sys-fs/udev-197-r8 (kmod ? =sys-apps/kmod-12)
 virtual/modutils-0 (sys-apps/kmod[tools])

 sys-fs/udev has -kmod in its USE-flags, so that should not be an issue).
 # emerge --verbose --pretend sys-fs/udev
 [ebuild   R] sys-fs/udev-197-r8  USE=acl openrc -doc -gudev -hwdb 
 -introspection -keymap -kmod (-selinux) -static-libs 0 kB

 With virtual/modutils its an other thing, here we have a circular dependency 
 between virtual/modutils and sys-apps/kmod if the tools USE-flag is set.
 That circular dep is interesting; sys-apps/kmod only depends on
 virtual/modutils because it inherits linux-mod.eclass.

 Could you file about about the circular dependency please?
I recognized another issue possibly caused by inheriting linux-mod.eclass:
kmod is pulling in virtual/linux-sources as a dependency, which actually
is not necessary at all (and maybe even annoying, it's at least some
hundred megabytes).



Re: [gentoo-user] PATA vs SATA kernel driver (was: 4 machines - no /dev/cdrom or /dev/dvd anymore)

2013-01-09 Thread felix
On Wed, Jan 09, 2013 at 11:32:03AM +0200, Alan McKinnon wrote:
 On Wed, 09 Jan 2013 03:01:57 -0600
 Dale rdalek1...@gmail.com wrote:
 
  Since this is
  depreciated, which generally means no longer maintained
 
 nitpick
 
 The word you want is deprecated.
 
 depreciated is something else entirely, it's what your employer does
 to the book value of your company car over 5 years to get the value
 down to nothing.
 
 /nitpick

Depreciated is perfectly cromulent in this instance.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Re: 3.7.1 SATA errors -- SOLVED

2012-12-27 Thread felix
On Wed, Dec 26, 2012 at 09:41:54PM -0800, fe...@crowfix.com wrote:
 
 I configured a minimal kernel to test it sooner, and it booted to a
 prompt.  Now I am compiling with my normal config, including encfs and
 a lot of other gorp, and will try it in the morning.

My bloated fully-larded normal config version of the patched 3.7.1
kernel also works.  dmesg logs match with the usual differences in USB
assignments and a few messages which changed wording.

The patch author says the patch is just waiting for the maintainers to
approve it up the line.  I do not know if that means it will be in 3.7.2.

Thanks to everyone who helped here, especially with git bisect.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] 3.7.1 SATA errors

2012-12-26 Thread felix
On Wed, Dec 26, 2012 at 12:56:39PM +0100, Florian Philipp wrote:

 `git tag` should give you a list of version numbers. The tag you are
 searching for is v3.7.

Thanks -- power went out, standby generator kicked in and woke me up
at 0430, and I woke realizing that.  Bisect is happy.  My git-fu is
weak, since I mostly use it for personal projects.  Work only uses
subversion, blecch.  Didn't know about git tag, and got bisect help
doesn't mention it.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



[gentoo-user] Re: 3.7.1 SATA errors -- Bisect done

2012-12-26 Thread felix
Finished the bisect between 3.6.10 and 3.7.  Here's the log.  The suspect patch 
has an interesting name:

ahci: implement aggressive SATA device sleep support

I'll send email to the patch author too.

I should make it clear that this is not urgent for me, since 3.6.10 isn't 
obsolete yet.


Bisecting: a merge base must be tested
[a0d271cbfed1dd50278c6b06bead3d00ba0a88f9] Linux 3.6
Bisecting: 6499 revisions left to test after this (roughly 13 steps)
[d66e6737d454553e1e62109d8298ede5351178a4] Merge 
git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Bisecting: 3257 revisions left to test after this (roughly 12 steps)
[6d55d5968a8622f3ea20ec40737aea1cfba6438c] Merge branch 'next/soc' into HEAD
Bisecting: 1329 revisions left to test after this (roughly 11 steps)
[aecdc33e111b2c447b622e287c6003726daa1426] Merge 
git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
Bisecting: 684 revisions left to test after this (roughly 9 steps)
[65b99c74fdd325d1ffa2e5663295888704712604] Merge tag 'upstream-3.7-rc1' of 
git://git.infradead.org/linux-ubi
Bisecting: 337 revisions left to test after this (roughly 8 steps)
[16642a2e7be23bbda013fc32d8f6c68982eab603] Merge tag 'pm-for-3.7-rc1' of 
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Bisecting: 164 revisions left to test after this (roughly 7 steps)
[7a9a2970b5c1c2ce73d4bb84edaa7ebf13e0c841] Merge tag 'rdma-for-linus' of 
git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband
Bisecting: 81 revisions left to test after this (roughly 6 steps)
[c26d4114aac55b57078caf83e261621d22e4596d] Merge branch 'pm-qos'
Bisecting: 45 revisions left to test after this (roughly 5 steps)
[c09b890b763df3ccd79a2c34c2f1abeb73179caf] spi/imx: set the inactive state of 
the clock according to the clock polarity
Bisecting: 24 revisions left to test after this (roughly 5 steps)
[7fe0b14b725d6d09a1d9e1409bd465cb88b587f9] Merge tag 'spi-3.7' of 
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc
Bisecting: 12 revisions left to test after this (roughly 4 steps)
[f1e70c2c535923de253eea2021376a936eb8d478] ata/ahci_platform: Add clock 
framework support
Bisecting: 5 revisions left to test after this (roughly 3 steps)
[583661a89ed2e484bd295e7b4606099340478c38] ata: define enum constants for 
IDENTIFY DEVICE
Bisecting: 2 revisions left to test after this (roughly 2 steps)
[8996b89d6bc98ae2f6d6e6e624a42a3f89d06949] ata: add platform driver for Calxeda 
AHCI controller
Bisecting: 0 revisions left to test after this (roughly 1 step)
[100f586bd0959fe0e52b8a0b8cb49a3df1c6b044] sata_fsl: add workaround for data 
length mismatch on freescale V2 controller
Bisecting: 0 revisions left to test after this (roughly 0 steps)
[65fe1f0f66a57380229a4ced844188103135f37b] ahci: implement aggressive SATA 
device sleep support
65fe1f0f66a57380229a4ced844188103135f37b is the first bad commit
commit 65fe1f0f66a57380229a4ced844188103135f37b
Author: Shane Huang shane.hu...@amd.com
Date:   Fri Sep 7 22:40:01 2012 +0800

ahci: implement aggressive SATA device sleep support

Device Sleep is a feature as described in AHCI 1.3.1 Technical Proposal.
This feature enables an HBA and SATA storage device to enter the DevSleep
interface state, enabling lower power SATA-based systems.

Aggressive Device Sleep enables the HBA to assert the DEVSLP signal as
soon as there are no commands outstanding to the device and the port
specific Device Sleep idle timer has expired. This enables autonomous
entry into the DevSleep interface state without waiting for software
in power sensitive systems.

This patch enables Aggressive Device Sleep only if both host controller
and device support it.

Tested on AMD reference board together with Device Sleep supported device
sample.

Signed-off-by: Shane Huang shane.hu...@amd.com
Reviewed-by: Aaron Lu aaron@gmail.com
Signed-off-by: Jeff Garzik jgar...@redhat.com

:04 04 9441b703760224de98a80546977129214d9528f8 
436fe4f42392a48b4564f09cad69dafbe82be2c1 M  drivers
:04 04 3177c859173da3d15f3c2fb287364f063aa420d9 
a39a26dc3f6c0b21433688420a820b121a921cec M  include


-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Re: 3.7.1 SATA errors -- Bisect done

2012-12-26 Thread felix
On Wed, Dec 26, 2012 at 08:53:14PM -0800, Mark Knecht wrote:

 Possibly related?
 
 https://bugzilla.kernel.org/show_bug.cgi?id=51881

Indeed :-) The patch author directed me there, I've applied the 51881
patch to the 3.7.1 sources, and it just started compiling.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Re: 3.7.1 SATA errors -- patch works

2012-12-26 Thread felix
On Wed, Dec 26, 2012 at 09:14:33PM -0800, fe...@crowfix.com wrote:

 Indeed :-) The patch author directed me there, I've applied the 51881
 patch to the 3.7.1 sources, and it just started compiling.

I configured a minimal kernel to test it sooner, and it booted to a
prompt.  Now I am compiling with my normal config, including encfs and
a lot of other gorp, and will try it in the morning.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] 3.7.1 SATA errors

2012-12-25 Thread felix
On Tue, Dec 25, 2012 at 08:56:56AM -0600, Bruce Hill wrote:

 We're on the road, getting ready to pack, and not in a good position to do
 much on this issue atm.

Nevertheless, a most unexpected Christmas present!  In progress, and thank you.

My dilemna certainly isn't urgent, since 3.6.10 still works.


-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] 3.7.1 SATA errors

2012-12-25 Thread felix
On Tue, Dec 25, 2012 at 10:58:54AM -0500, Todd Goodman wrote:
 A me too on the problem the original poster is seeing.
 
 I too am seeing this on a server I have.  3.7.0 and 3.7.1 both don't work
 but 3.6.10 works fine.
 
 I'm using the sata_mv driver with a SuperMicro (two actually) cards with
 Marvell MV88SX6081's.  These chips and their driver have had some issues
 in the past.

A pruned lspci -nnk:

00:07.1 IDE interface [0101]: Advanced Micro Devices [AMD] AMD-8111 IDE 
[1022:7469] (rev 03)
Subsystem: Advanced Micro Devices [AMD] AMD-8111 IDE [1022:7469]
Kernel driver in use: pata_amd
01:03.0 SCSI storage controller [0100]: Marvell Technology Group Ltd. 
MV88SX6081 8-port SATA II PCI-X Controller [11ab:6081] (rev 09)
Subsystem: Marvell Technology Group Ltd. Device [11ab:11ab]
Kernel driver in use: sata_mv
02:06.0 SCSI storage controller [0100]: Adaptec AIC-7902B U320 [9005:801d] 
(rev 10)
Subsystem: Adaptec Device [9005:005e]
Kernel driver in use: aic79xx
02:06.1 SCSI storage controller [0100]: Adaptec AIC-7902B U320 [9005:801d] 
(rev 10)
Subsystem: Adaptec Device [9005:005e]
Kernel driver in use: aic79xx
03:05.0 Mass storage controller [0180]: Silicon Image, Inc. SiI 3114 
[SATALink/SATARaid] Serial ATA Controller [1095:3114] (rev 02)
Subsystem: Silicon Image, Inc. SiI 3114 SATALink Controller [1095:3114]
Kernel driver in use: sata_sil

pata_amd /dev/sdg 320G for boot which seems happy

sata_mv  /dev/sd[ab] 2 x 300G LVM mounted automatically from fstab
 /dev/sd[cd] 2 4T ditto

sata_sil /dev/sde512G SSD with / and swap
 /dev/sdf512G SSD wirh LVM for /home, /encfs, and mail spool

aic79xx  no drives

The sata_mv drives are not necessary for boot, but they do take up
/dev/sd? namespace.  Might be interesting to try Bruce Hill's idea of
a pruned 3.7.1 kernel without that driver.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] 3.7.1 SATA errors

2012-12-25 Thread felix
On Tue, Dec 25, 2012 at 08:56:56AM -0600, Bruce Hill wrote:

 I would suggest you run lspci -nnk with your running 3.6.10 kernel and save
 that output. Then go into the kernel source directory for 3.7.1, run make
 mrproper then make defconfig and enable all the kernel drivers listed in
 the lspci -nnk output, as well as the drivers for your IDE/SATA controllers,
 and / filesystem. That kernel should boot you, and will get rid of a lot of
 the cruft from the present bloated kernels.

Made a minimal 3.7.1 kernel, much smaller and compiled nice and fast.
Hung just like the bloated one, drat.

So I guess I will read up on bisecting.  I know the principle, but
have never tried it.  I suppose one starting point is make sure a
pure-vanilla 3.6.10 kernel boots.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] 3.7.1 SATA errors

2012-12-25 Thread felix
On Tue, Dec 25, 2012 at 04:20:23PM -0600, Dale wrote:

 This is what I would try:
 ...
 Maybe that will help.  At least get you to a console.  That alone makes
 fixing something else easier. 

Checked all that -- it boots into the same ATA driver failures as the
bloated version of the kernel.  Even have to power off and wait a
while before it resets properly for a 3.6.10 reboot.  So I think it is
bisecting for me.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] 3.7.1 SATA errors

2012-12-25 Thread felix
On Tue, Dec 25, 2012 at 06:03:12PM -0600, Dale wrote:

 Is it possible that you have two SATA drivers enabled and the two
 conflict each other?  I read, I think on this list, where someone had to
 disable one driver for the correct driver to work.  You may want to go here:
 
 http://kmuto.jp/debian/hcl/

I'm not sure what good it would do me to find driver incompatibility
like that, since I need all the drivers working at once, and I'd still
have to bisect them.

 One other thought, you tried a even more recent kernel version?  Maybe
 that version is bad or something.  Back to my stump. 

3.7.0 failed, then 3.7.1.  I haven't tried anything more recent.  I'm
trying to download the kernel git, but my satellite link is kinda
slow, and it's snowing on and off and temporarily clogging the dish
until the heater kicks in.

Once I get it downloaded, I'll make sure the 3.6.10 equivalent works
and the 3.7.0 fails, then start bisecting.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] 3.7.1 SATA errors

2012-12-25 Thread felix
On Tue, Dec 25, 2012 at 01:11:04PM +0100, Florian Philipp wrote:

 The best way to find out what's wrong is to bisect the kernel, i.e.
 finding the exact commit that caused the issue to appear.
 
 http://wiki.gentoo.org/wiki/Kernel_git-bisect

Got the repository cloned:

# git clone 
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git 
linux-stable

Tried to start the bisect, but ran into a problem:

# git bisect start
# git bisect bad v3.7.0
fatal: Needed a single revision
Bad rev input: v3.7.0

Tried v3.7.0.0 for fun, same error.

Tried good first, guessing it can't do much harm that a git bisect reset can't 
fix.

# git bisect good v3.6.10
a63a7cf3fc2ac1aff657f58ea446c34f3252209a was both good and bad
# git bisect bad v3.7.0
fatal: Needed a single revision
Bad rev input: v3.7.0

Have I grabbed a repository which doesn't include 3.7.0?

Google research continues.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] 3.7.1 SATA errors

2012-12-24 Thread felix
On Mon, Dec 24, 2012 at 08:35:20AM -0600, Bruce Hill wrote:

 Puhleeeze don't put such long stuff in an email. Have you heard of 
 attachments?
 pastebins?

I was under the impression that gentoo strips attachments.  At any
rate, I summarized as much as possible and only put the the full logs
at the end.

As for the cookies, shrug so many sites require cookies and/or
javascript these days that I won't waste my time trying to find one
that doesn't.  I just make sure they are temporary.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] 3.7.1 SATA errors

2012-12-24 Thread felix
On Mon, Dec 24, 2012 at 10:07:04AM -0600, Bruce Hill wrote:

 Would you consider our own pastebin from portage?

Sure, in progress.  I'll have to read up on this pastebin stuff.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] 3.7.1 SATA errors

2012-12-24 Thread felix
On Mon, Dec 24, 2012 at 10:07:04AM -0600, Bruce Hill wrote:

 emerge -av app-text/wgetpaste  wgetpaste /path/to/3.6/.config
 /path/to/3.7/.config

3.6.10 .config -- http://bpaste.net/show/66307/
3.7.1 .config  -- http://bpaste.net/show/66309/

 Also can you dmesg | wgetpaste and note the uname -srm output?

3.6.10 dmesg   -- http://bpaste.net/show/66310/

uname -srm: Linux 3.6.10-gentoo x86_64

A couple of others:

My partial transcription of the 3.7.1 boot error messages: 
http://bpaste.net/show/66311/

3.6.10 emerge --info: http://bpaste.net/show/66312/

I also added all this to the Dropbox dir.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] 3.7.1 SATA errors

2012-12-24 Thread felix
On Mon, Dec 24, 2012 at 07:41:10AM -0800, fe...@crowfix.com wrote:
 
 I was under the impression that gentoo strips attachments.  At any
 rate, I summarized as much as possible and only put the the full logs
 at the end.

Looks like the attachments got thru.  I will try to remember that.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Re: 3.7.1 SATA errors

2012-12-24 Thread felix
On Mon, Dec 24, 2012 at 10:53:34AM -0600, Bruce Hill wrote:

 This time it has 4 attachments; afaik there were zero attachments the first
 time (deleted email here so can't check now). No worries, files here now.

Yes, I originally sent no attachments, since I thought the mailing list 
stripped them.

 Do you have a /var/log/messages (might be in rotated, gzipped one even) that
 includes the 3.6.10 *and* 3.7.1 boot?

Can't do anything for 3.7.1, since it never boots.  Here is the 3.6.10
file, from boot until all disks are found: http://bpaste.net/show/66317/

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



[gentoo-user] 3.7.1 SATA errors

2012-12-23 Thread felix

Asymmetric public-key crypto algorithm subtype 
(ASYMMETRIC_PUBLIC_KEY_SUBTYPE) [N/m/?] (NEW) m

  RSA public-key algorithm (PUBLIC_KEY_ALGO_RSA) [N/m/?] (NEW) m

  X.509 certificate parser (X509_CERTIFICATE_PARSER) [N/m/?] (NEW) m

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Re: 3.7.1 SATA errors

2012-12-23 Thread felix
On Sun, Dec 23, 2012 at 10:49:46PM +0200, Nikos Chantziaras wrote:
 On 23/12/12 21:23, fe...@crowfix.com wrote:
  A few weeks ago I had a scare when a reboot paniced the kernel with a
  complaint that it could not find the root device (/dev/sde), and
  further reboots couldn't even see the USB keyboard.  Leavng the
  system powered off overnight fixed the problem and the system has
  been working fine ever since.
 
 Do a memtest first.  emerge sys-apps/memtest86+ and then add an entry 
 for it in Grub:
 
title=Memtest86+
root (hd0,0) # - adapt this to your partition
kernel /boot/memtest86plus/memtest.bin
 
 Then boot that entry and see if you get any errors in the first 5 
 minutes or so.

Starting the emerge etc.  But why would this be a memory problem when
it is so clearly 3.6 vs 3.7?

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Re: 3.7.1 SATA errors

2012-12-23 Thread felix
On Sun, Dec 23, 2012 at 10:49:46PM +0200, Nikos Chantziaras wrote:

 Then boot that entry and see if you get any errors in the first 5 
 minutes or so.

Let it run a complete pass, about an hour, no errors.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] ~amd64 compatibility with modern cpus -- REBOOT OK THIS A.M.

2012-12-17 Thread felix
On Mon, Dec 17, 2012 at 10:10:30PM +, Robert Walker wrote:

 I amused to read this thread. I've an old dual-Opteron box that I'm 
 still using. It was my first watercooling experiment. Apart from the 
 complete lack of power management support (the system sucks down a 
 continuous 300+Watts) and no Vt-d hardware virtualisation support it's 
 quite a pleasant rig to play about with :-)

Mine is also my first water cooled rig, but I'm not sure I'd do it
again.  It's certainly quieter, but it has given me several surprises
in sudden warm weather, changing the fluid every couple of years is a
major pain, and retubing it is a several day headache by the time I
add in cabling problems.  Having to blow out the dust perdiocially is
probably less hassle since there aren't fans to blow the dust around
so much.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



[gentoo-user] ~amd64 compatibility with modern cpus

2012-12-14 Thread felix
Something went haywire with my 8 or 9 year old dual Opteron ~amd64 system last 
night.  I may have a bricked system.  I haven't given up yet, but I may have to 
buy a replacement system.  I have external USB drive backups, but the only 
other computer I have right now is an old Mac laptop which can't read Linux LVM 
partitions.

Questions:

1.  I don't remember, and can't look up, the make.conf processor flags I 
emerge with.  But it is dual Opterons, and ~amd64.  How compatible could that 
be with modern Intel CPUs?  I know Intel adopted the extra registers of the 
AMD64 instruction set, but are there other differences which would prevent an 
Opteron system from running as is under an Intel processor?  Maybe AMD still 
sells Opterons, and I will be stuck with building a system.

2.  Is it feasible to buy some commodity box, like from Dell, with an Intel 
processor, and plug in my two SATA SSD drives and get a console boot?  I don't 
give a fig right now about any GUI interface, and even Internet is not the 
problem.  If it will boot and run emerges, I can import the source files for X 
and Ethernet and other peripherals via USB stick.  But SATA drivers ...

3.  My kernels always have just about every driver compiled in as modules, 
an old habit from when I used to swap in PCI cards like crazy.  I don't 
remember now how many SATA drivers are built in and how many are modules; if 
the commodity box needs SATA drivers which aren't built in, that could get 
tricky.  Are there boot command line options to preload certain modules?  Might 
not do me any good.  I think I could scrape by with USB modules, but not SATA.

For the curious, here is wat happened.  When I left off last night, the USB 
keyboard was only recognized when I unplugged all other USB devices, and the 
system hung at the grub point, with a blank screen.

A reboot failed because it couldn't find the root=/dev/sde drive.  But the 
USB keyboard was working because I used it in grub to select a new 3.7.0 kernel 
(had been running 3.6.8).

A second reboot ignored the USB keyboard and generated an ATA error I had 
never seen before for every ATA drive and some I don't have, all the way up to 
ATA13 before I rebooted it again.  I haven't got it to boot even this far 
since, so I can't regenerate that error.  There was a 5 second or so delay 
between these errors, making me think the ATAnn designator might not be 
different drives, just retries.

It booted a rescue DVD, but without the keyboard it was kind of pointless, 
and it hung after showing two lines which I believe are unrelated other than a 
place marker (generating xxx key, generating RSA key).

The keyboard wasn't even recognized by the BIOS.  I finally disconnected 
every USB device, all the ubs, and then the keyboard worked.

But when I left it last night, it wouldn't even bring up the grub screen.  
All the BIOS screens show the usual disk drives.

The system was working perfectly fine before all hell broke loose.  The 
keyboard was recognized during grub the first time, but after that only if all 
other USB devices were disconnected.  The disk drives acted funny during the 
boot, first with the unknown root- device error, then with the funky ATA 
errors, and finally with not even bringing up grub.

I will try some more desperate tricks today, like reconnecting the USB pile to 
see if it at least boots the disks again - is my choice between disks and 
keyboard?  I will find out.  My best guess right now is that booting 3.7.0 is 
what clobbered things; whether I added a option which loaded bad firmware, or 
3.7.0 is broken, I have no idea.  It could well be something unrelated to 
3.7.0.  My goal for today is to try to get keyboard and disk working, then boot 
with 3.6.8.

-- 
Felix Finch, a la mode



Re: [gentoo-user] ~amd64 compatibility with modern cpus

2012-12-14 Thread felix
On Fri, Dec 14, 2012 at 11:28:41AM -0500, Michael Mol wrote:
 (Admittedly quick and dirty response)

Much appreciated.  Gives me some hope ...

 Pull out an old PS2 keyboard. Sometimes, that's the easiest way to get
 things going.

I thought of that -- don't have any.  They all got recycled a few years back :-(

-- 
Felix Finch, a la mode



Re: [gentoo-user] ~amd64 compatibility with modern cpus

2012-12-14 Thread felix
On Fri, Dec 14, 2012 at 06:22:10PM +0100, Volker Armin Hemmann wrote:

 how about a more stable kernel - like 3.4.X?

It was running 3.6.8 fine, and ~ kernels for ages before that.

The paranoid in me thinks it was 3.7.0, but I really don't know.

 and yes, a confused bios can do a lot of strange things. One thing you might 
 try: disconnect your box from the main for several minutes, reset bios...
 
 had to do that dance A LOT with a costly POS asus board...

I unplugged it last night, tried again half an hour later, no joy, so I 
unplugged it again and have been eating breakfast, got osme errands to run, and 
then I will try again.

What's so frustrating is that the box was working fine, including the keyboard, 
until that first boot into 3.7.0, where it couldn't find the root drive, and 
then the keyboard stopped working, even with the BIOS, almost as if 3.7.0 did 
something nasty and clobbered everything it could get its hands on.

Well, I'll try again in a bit.

-- 
Felix Finch, a la mode



Re: [gentoo-user] ~amd64 compatibility with modern cpus

2012-12-14 Thread felix
On Fri, Dec 14, 2012 at 12:16:46PM -0600, Bruce Hill wrote:
 On Fri, Dec 14, 2012 at 11:18:21AM -0500, fe...@crowfix.com wrote:
  
  I will try some more desperate tricks today, like reconnecting the USB pile 
  to see if it at least boots the disks again - is my choice between disks 
  and keyboard?  I will find out.  My best guess right now is that booting 
  3.7.0 is what clobbered things; whether I added a option which loaded bad 
  firmware, or 3.7.0 is broken, I have no idea.  It could well be something 
  unrelated to 3.7.0.  My goal for today is to try to get keyboard and disk 
  working, then boot with 3.6.8.
 
 Whatever you think of logic, it is entirely illogical that a kernel could kill
 your BIOS, or any hardware ... at least, just booting into it.
 
 The southbridge is a good thing to look at, esp for a burned spot/pit.
 
 My suggestion is http://www.sysresccd.org/SystemRescueCd_Homepage

That's what I've been using.

But the hardware failure is illogical too; why would USB and SATA fail at the 
same time?  Or why would southbridge fail when it had been running perfectly 
fine?

I don't really think it was 3.7.0, but who knows, did I answer some config 
question incorrectly and tell it to load some firmware?  Without access to the 
disk, I can't tell.  I don't remember any question about loading BIOS firmware, 
and can't see why the kernel would even care about that.

The whole mess makes no sense.

-- 
Felix Finch, a la mode



Re: [gentoo-user] ~amd64 compatibility with modern cpus

2012-12-14 Thread felix
On Fri, Dec 14, 2012 at 12:34:49PM -0600, Bruce Hill wrote:

 Boot with SystemRescueCd and you can't get to a prompt?

Currently can't even boot -- it hangs wit a blank screen at the point grub or 
the rescue DVD would take over.

 Yes, your southbridge chipset could just happened to have failed at the same
 time; or it failed on the reboot; or USB and SATA are both on the southbridge
 that failed so you lost both, basically.

Then my natural naive question is, can this be readily replaced, or is it 
soldered in and/or obsolete?  It is about 8 years old.

-- 
Felix Finch, a la mode



Re: [gentoo-user] ~amd64 compatibility with modern cpus -- REBOOT OK THIS A.M.

2012-12-14 Thread felix
I finally ran out of excuses to not reboot after a night powered off, and it 
did.

It's all running normally now, but I think it's time for me to take the hint, 
grab a clue, and start researching a replacement.

-- 
Felix Finch, a la mode



Re: [gentoo-user] ~amd64 compatibility with modern cpus -- REBOOT OK THIS A.M.

2012-12-14 Thread felix
On Fri, Dec 14, 2012 at 03:19:53PM -0600, Dale wrote:

 I did some math, my new rig is almost 8 times faster/powerful than my
 old rig but pulls much less than half the power even when fully loaded. 
 I might add, I think the old rig was idle when I measured that. 

My next box will be a commodity box.  This one is a big tower because
I wanted compute power for pictures I was generating, lots of them,
and I wanted lots of storage room.  Now with 4TB drives so cheap and
USB 3 for speed, the storage can all be done by external drives, and I
don't need the compute power any more.  I do like building computers,
in a way, but I don't like the idea of being rushed into building a
replacement, and I don't need any custom features.

A friend suggested a big lightning storm a month ago might have
temporarily scrambled something.  It tripped breakers in the house and
blew out a battery in the standby generator shed, but I've rebooted
twice since that storm without any problems.  I guess it will remain a
mystery.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] backing up system files

2012-12-03 Thread felix
On Sun, Dec 02, 2012 at 03:29:58PM -0500, Philip Webb wrote:
 My recently-built machine has an SSD for everyday storage
 + an HDD for less often used stuff + back-ups (in dir  /y ).
 To avoid having to re-install the system if the SSD collapses one day,
 I wanted to make a simple back-up copy of vital files on the HDD.

I recently installed an SSD to replace three SCSI drives and changed
my backup at the same time to work llike this.  But I just do
everything except /home, /encfs, the mail spool dir, etc.  I also use
a spare IDE drive for a system backup which I manually rsync before a
big emerge, so I can boot the backup if the main system no longer
boots due to emerge screwup.  I have some other changes to make before
testing this.

What I haven't figured out yet is how to reverse rsync the backup to
the main system.  Rsync has no --source-is-always-right option that I
could find.  cp -a might work, with a little care for /dev etc, but
it won't delete destination files which aren't in the backup, and the
idea of reformatting the system partition as part of this seems a bit
extreme when rsync is the natural choice for restoring the backup.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] swap on ssd?

2012-11-25 Thread felix
On Mon, Nov 26, 2012 at 12:02:23AM +0100, Volker Armin Hemmann wrote:
 Am Montag, 26. November 2012, 06:46:28 schrieb William Kenworthy:
  Has anyone tried swap on ssd?  - has it killed the drive prematurely? -
  any other effects?
  
  I have a system that is maxed with with 4G ram and tends to use swap
^^
  heavily at times which slows things down ... so I am thinking a small
  ssd might help here.
 
 you know what helps even more? replacing those 4g with 8g.

Not when it's maxed at 4g.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



[gentoo-user] Creating KVM image using existing gentoo partition

2012-09-25 Thread felix
Got a new laptop at work,, running Linux instead of Mac, yay!  Unfortunately, 
it comes with Ubuntu installed, boo!  But I split the 500GB drive into two 
parts, began a gentoo install in the second half, and now I am stalled.

The main purpose of the laptop is to run Centos 6.2 in a KVM image so it can 
simulate production as much as possible.  As much as I dislike Ubuntu, I really 
only use it for terminals, Emacs, and Firefox.  I ssh into the Centos image for 
all that stuff.  I'd love to switch Ubuntu to gentoo and set up my usual fvwm 
etc instead of that awful Unity.

Unfortunately, because I have to leave that Centos image running as much as 
possible, I can't take the time to reboot into the gentoo partition to finish 
the install, not even on weekends or evenings.  It was ok getting the initial 
gentoo install started, but that was only an hour or two.  I can't take the 
time for a real install, there's work to do.

So it occurred to me it would be great to create a new KVM image using the 
gentoo partition as is for its file system, instead of creating one out of a 
file as it did for the Centos image.  But I don't see any obvious options to do 
that.  This is my first time with KVM, and someone else set up the Centos image 
using some GUI wizard.


Here be my scurvy dog question(s):

Is it possible to create a KVM image using an existing gentoo partition 
(/dev/sda3) for the filesystem, such that once I get the gentoo install 
finished, I can boot directly to the gentoo partition and not have to purify it 
or sanitize it after KVM has meddled with it?  (and how do I do this? :-)

If not, seems like the simplest workaround would be to create a KVM image from 
scratch and do a complete install there, then use cp, tar, cpio, or something 
similar to copy everything over to the real partition.  But that sounds ugly 
for some reason.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Creating KVM image using existing gentoo partition

2012-09-25 Thread felix
On Wed, Sep 26, 2012 at 12:40:32AM +0200, Alan McKinnon wrote:
 Just bite the bullet, shut the machine down and do the install properly
 - you know you need to do it.
 
 I can't quite fathom why you think a laptop of all things must be on
 24/7. if that were true, it would be a server in your data center
 surely?
 
 Are you real completely 100% certain that out of 168 hours a week you
 can't spare 2 to get your tools in order?

It's good you know so much about my job and work requirements, means I
needn't waste more time educating on them.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Kernel options and udisk

2012-09-17 Thread Felix Kuperjans
Dale wrote:
 Howdy,

 I was doing a update a while back and noticed a ewarn, enotice or
 something going by. I used the elogviewer to go back and dig it out.
 This is what it says:

 Found sources for kernel version:
 3.5.0-gentoo
 Checking for suitable kernel configuration options...
 ERROR (setup)

 CONFIG_USB_SUSPEND: is not set when it should be.
 WARN (setup)
udisks will work without that, but if you try to safely unplug a USB
stick or other USB storage device, an error will occur because udisks is
unable to power off the device before unplugging.
The option is not required for its essential functionality, but it's
definitely useful and does not add any big overhead to the kernel, so I
always enable it and would recommend enabling it unless you have a
strong reason not to set it.

 Please check to make sure these options are set correctly.
 Failure to do so may cause unexpected problems.

 So, I go into the kernel's menuconfig and find this:

 │ CONFIG_USB_SUSPEND: │
 │ │
 │ If you say Y here, you can use driver calls or the sysfs │
 │ power/control file to enable or disable autosuspend for │
 │ individual USB peripherals (see │
 │ Documentation/usb/power-management.txt for more details). │
 │ │
 │ Also, USB remote wakeup signaling is supported, whereby some │
 │ USB devices (like keyboards and network adapters) can wake up │
 │ their parent hub. That wakeup cascades up the USB tree, and │
 │ could wake the system from states like suspend-to-RAM. │
 │ │
 │ If you are unsure about this, say N here. │
This message is on a lot of important stuff, it just means you will be
able to use USB (at least on *some* machines) without enabling it.
As soon as you have any reason to set it or know what it does, this
recommendation is superfluous. Only take care if the help message says
something like:
* This is usually not needed, so if unsure, say no
* This is highly experimental, ...
* only set this as module ...
* Do not enable unless ...
In such cases, you should be sure what you are doing and usually no
ebuild would require options like that.
 │ │
 │ Symbol: USB_SUSPEND [=n] │
 │ Type : boolean │
 │ Prompt: USB runtime power management (autosuspend) and wakeup │
 │ Defined at drivers/usb/core/Kconfig:41 │
 │ Depends on: USB_SUPPORT [=y]  USB [=y]  PM_RUNTIME [=y] │
 │ Location: │
 │ - Device Drivers │
 │ - USB support (USB_SUPPORT [=y]) │
 │ - Support for Host-side USB (USB [=y])

 The important part is about 'if you are unsure about this, say N here'.
 Well, I don't think I need USB remote wakeup or anything so I don't
 think I need this but at the same time, udisk is giving me notice that
 it should be there.

 This is a desktop system not a laptop. Do I need to listen to me not
 needing it or udisk that says I do?
This option is only USB relevant and can be used on any laptop / desktop
system / whatever with USB support.
 Opinions?

 Dale

 :-) :-)

 P. S. The only things I have USB right now is my printer and a camera. I
 may have a UPS added to that when I get around to rebooting again. I'm
 not sure on how I will end up connecting it yet.
In case you have no USB sticks and never want to use any USB storage
device, you won't need udisks at all, try disabling the udisks USE
flags on your desktop packages (esp. gvfs).

Regards,
Felix



Re: [gentoo-user] How do I determine the processor type? -- grub2 comments

2012-09-15 Thread felix
On Sat, Sep 15, 2012 at 01:05:41AM -0400, G.Wolfe Woodbury wrote:
 On 09/15/2012 12:28 AM, Dale wrote:
  Put your kernel and such on /boot and run update-grub if I recall
  correctly. I installed Kubuntu for my brother and it has grub2 which
  has some magic sprinkled on it. I'm not sure how to tell it where to
  point for the root partition tho. That may require a thread here if
  google doesn't help. I might add, you may get better Ubuntu answers
  here than from the Ubuntu folks. I'll forgive you if everyone else
  will. ROFL Dale :-) :-) 
 grub2 is a completely rewritten animal, so it is *different*
 
 grub2-install /dev/sd??
 
 is the incantation to put grub2 onto the selected boot partition. Then
 
 editor /etc/default/grub
 grub2-mkconfig -o /boot/grub2/grub.cfg

I figure I have to keep the existing Ubuntu install happy for a couple
of weeks.  This is a work laptop and the Ubuntu side is productive
right now, so gentoo is my spare time conversion, and only after I
have it doing everything the Ubuntu install does, can I muck up
Ubuntu.  It also is a handy reference if I get in a gentoo corner,
like setting up X or KVM.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



[gentoo-user] How do I determine the processor type?

2012-09-14 Thread felix
I have a shiny new System76 laptop with a 3rd Generation Intel Core i7-3720QM 
Processor (2.60GHz 6MB L3 Cache - 4 Cores plus Hyperthreading).

It comes with Ubuntu, so naturally my first move was to split the Ubuntu 
partition in half and install gentoo.  I will say no more about my first 
experiences with Unity.

The Ubunto uname -a says 3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24 16:52:48 
UTC 2012 x86_64 x86_64 x86_64 GNU/Linux.

I installed the latest stage3 tarball and set up make.conf as

ACCEPT_KEYWORDS=~x86
CFLAGS=-O2 -march=i686 -pipe
CHOST=i686-pc-linux-gnu

When I try to compile gentoo-sources-3.5.3, it tells me

scripts/mod/empty.c:1:0: error: CPU you selected does not support x86-64 
instruction set

My home system is dual Athlon, ancient, and ~amd64..  I haven't kept track of 
all the Intel processors, but the kernel config doesn't have many choices.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] How do I determine the processor type?

2012-09-14 Thread felix
On Sat, Sep 15, 2012 at 12:45:51AM +0100, Kerin Millar wrote:
 fe...@crowfix.com wrote:
  I have a shiny new System76 laptop with a 3rd Generation Intel Core 
  i7-3720QM Processor (2.60GHz 6MB L3 Cache - 4 Cores plus Hyperthreading).
 
  It comes with Ubuntu, so naturally my first move was to split the Ubuntu 
  partition in half and install gentoo.  I will say no more about my first 
  experiences with Unity.
 
  The Ubunto uname -a says 3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24 
  16:52:48 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux.
 
 Take note - it's a x86_64 host environment.
 
 
  I installed the latest stage3 tarball and set up make.conf as
 
 Which stage3 tarball exactly?

Maybe that's part of my confusion -- I was following the x86 handbook, not 
amd64, because it's not amd.  But if amd64 should be used for all 64 bit 
installs, that's probably my problem.

As for the exact stage3 tarball, the ftp choice was 
gentoo/releases/x86/current-stage3.  This was about Sep 10.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] How do I determine the processor type?

2012-09-14 Thread felix
On Sat, Sep 15, 2012 at 01:26:41AM +0100, Kerin Millar wrote:
 fe...@crowfix.com wrote:
  On Sat, Sep 15, 2012 at 12:45:51AM +0100, Kerin Millar wrote:
  fe...@crowfix.com wrote:
  I have a shiny new System76 laptop with a 3rd Generation Intel Core 
  i7-3720QM Processor (2.60GHz 6MB L3 Cache - 4 Cores plus Hyperthreading).
 
  It comes with Ubuntu, so naturally my first move was to split the Ubuntu 
  partition in half and install gentoo.  I will say no more about my first 
  experiences with Unity.
 
  The Ubunto uname -a says 3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24 
  16:52:48 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux.
  Take note - it's a x86_64 host environment.
 
  I installed the latest stage3 tarball and set up make.conf as
  Which stage3 tarball exactly?
 
  Maybe that's part of my confusion -- I was following the x86 handbook, not 
  amd64, because it's not amd.  But if amd64 should be used for all 64 bit 
  installs, that's probably my problem.
 
  As for the exact stage3 tarball, the ftp choice was 
  gentoo/releases/x86/current-stage3.  This was about Sep 10.
 
 
 It will work if you chroot as described in my previous message. linux32 
 is a symlink to setarch so you can read the setarch manpage if you're 
 curious as to why it is necessary. Still, unless you have a particular 
 reason not to avoid using an amd64 stage tarball, I'd suggest starting 
 over with one.

Nope, just ignorance, thinking that amd64 shouldn't be used with an intel 
processor.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] How do I determine the processor type?

2012-09-14 Thread felix
On Fri, Sep 14, 2012 at 09:42:42PM -0500, Dale wrote:

 From my understanding, someone correct me if I am off here, AMD sort of
 beat Intel to the 64 bit thing.  So, it sort of got named amd64 even tho
 Intel came along later on and the name just stuck.  That's a very short
 version of the story and I think that is how it went but someone may
 come along and correct something. 

I sort of knew that, but I haven't kept up with all the processor
names, and linux the kernel merged x86 and amd64 in some fashion, or
was it x86 and x86_64?  /usr/src/linux/arch/x86_64/boot/bzImage is a
symlink to the x86.  It's all very confusing, and one of the gentoo
docs says iCore2 is Xeon, so what do I know about iCore7?

Kernel compile finished, 16 minutes (SSD sure speeds it up).  I'll
finish the setup tomorrow.  At some point I have to figure out where
Ubuntu hides the boot config so I can add an entry for the gentoo install.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] My PC died. What should I try?

2012-08-17 Thread felix
Mouse-to-mouse resuscitation?

Unless it's headless.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Any recommendations for PCI-X SATA cards?

2012-06-29 Thread felix
On Sat, Jun 23, 2012 at 06:05:30PM -0400, Michael Mol wrote:

 I have a couple MV88SX6081 8-port SATA II PCI-X Controller devices I
 picked up from Newegg a couple years back. They work beautifully.

It came, I installed it, it shows a BIOS page on reboot, and lspci
knows about it.  However, the two drives on it are unrecognized.

Does this require some specific kernel options or modules or firmware?

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Any recommendations for PCI-X SATA cards?

2012-06-29 Thread felix
On Fri, Jun 29, 2012 at 09:57:20AM -0700, fe...@crowfix.com wrote:
 On Sat, Jun 23, 2012 at 06:05:30PM -0400, Michael Mol wrote:
 
  I have a couple MV88SX6081 8-port SATA II PCI-X Controller devices I
  picked up from Newegg a couple years back. They work beautifully.
 
 It came, I installed it, it shows a BIOS page on reboot, and lspci
 knows about it.  However, the two drives on it are unrecognized.
 
 Does this require some specific kernel options or modules or firmware?

Aiieee!  For some reason, my kernel has every SATA driver configured EXCEPT 
sata_mv.

I'll report back in a while 

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Any recommendations for PCI-X SATA cards?

2012-06-29 Thread felix
On Fri, Jun 29, 2012 at 10:45:27AM -0700, fe...@crowfix.com wrote:

 Aiieee!  For some reason, my kernel has every SATA driver configured EXCEPT 
 sata_mv.
 
 I'll report back in a while 

That did it.  I now have 8TB of new drive to play with.  Thanks for the card 
recommendation and all the patience :-)

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



[gentoo-user] pvcreate won't create pv

2012-06-29 Thread felix
Got my two 4TB drives installed.  Now I need to get stuff off /dev/hda
so I can turn it into an LVM volumne.  So I copied everything there to
the the 7.3TB LVM filesystem, then tried to create a new pv on
/dev/hda1.  No joy.  I get

Device /dev/hda1 not found (or ignored by filtering).

/dev/hda has only /dev/hda1 which takes all the space.  The partition
type is 8e, Linux LVM.  It's not mounted.  I tried pvcreate -f.  I
tried dd if=/dev/zero of=/dev/hda1 count=1.  What is pvcreate really
complaining about?

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] pvcreate won't create pv

2012-06-29 Thread felix
On Fri, Jun 29, 2012 at 05:56:58PM -0400, cov...@ccs.covici.com wrote:
 
 fe...@crowfix.com wrote:
 
  Got my two 4TB drives installed.  Now I need to get stuff off /dev/hda
  so I can turn it into an LVM volumne.  So I copied everything there to
  the the 7.3TB LVM filesystem, then tried to create a new pv on
  /dev/hda1.  No joy.  I get
  
  Device /dev/hda1 not found (or ignored by filtering).
  
  /dev/hda has only /dev/hda1 which takes all the space.  The partition
  type is 8e, Linux LVM.  It's not mounted.  I tried pvcreate -f.  I
  tried dd if=/dev/zero of=/dev/hda1 count=1.  What is pvcreate really
  complaining about?
 How come its hda?  Perhaps this is the problem, it certainly should be
 fixed anyway.

Because it was set up that way 8 years ago.  /dev/hda is the only IDE
drive in the system, and has the MBR, so I can't make /dev/hda an LVM
volume, it has to be /dev/hda1.  I don't want to make some other drive
the boot drive; they are LVM volumes also.  And I also want an hd(0,x)
for grub which doesn't change as I add new drives.

Besides all that, why do you think it's a problem and how do you
propose fixing it?

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] pvcreate won't create pv

2012-06-29 Thread felix
On Sat, Jun 30, 2012 at 10:05:40AM +1000, Paul Colquhoun wrote:

 What active 'filter = ' lines do you currently have in /etc/lvm/lvm.conf?
 
 Does it have something like 'r|/dev/hd.*' in it to hide all the IDE devices 
 from LVM?

Ah geez, yet more LVM lore I have long since forgotten from lack of
use.  I didn't see it in 'man pvcreate' and had other things to do for
the time being.  I guess LVM is not like a bicycle..

Yes it does.  Thanks.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] pvcreate won't create pv

2012-06-29 Thread felix
On Fri, Jun 29, 2012 at 08:13:54PM -0400, Michael Mol wrote:

 ...I don't know, but I think you ought to burn in those drives before
 you move all of your data onto them. One good way might be to create,
 damage and rebuild a raid5 volume on them. They're at the high risk
 period of their lifetime, and you don't want them to fail once you've
 got data on them.

I don't have much data at all for them yet.  My plan is to gradually
fill them, and have two sets of USB backups in the fire safe.  It may
take years to fill them, so the USB backups will start small and
gradually expand as necessary.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] pvcreate won't create pv

2012-06-29 Thread felix
On Fri, Jun 29, 2012 at 09:02:42PM -0400, cov...@ccs.covici.com wrote:
 If they are serial ata drives, I thought newer kernels would use
 /dev/sda  etc.  Is this really a ide drive?  Or do you have the BIOS
 pretend they are?

Please gve me a little credit.  I can screw up lots of things and
forget lots of things, but this drive is a replacement for a drive so
old that it is labeled IDE, not PATA, it has that awful big flat
ribbon, and there are two IDE connectors on the main board (which is
old enough to be called a mother board), and there were two IDE DVD
drives on there also, in fact hiding the IDE drive so that I had to
trace cables to find it.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



[gentoo-user] Any recommendations for PCI-X SATA cards?

2012-06-23 Thread felix
I need to get a PCI-X SATA card.  Two drives is fine, or 8, even tho I can't 
fit 8 drives in the box.  This is for bulk storage, so I don't mind if it can 
only handle 100 Mhz or even less.  My mainboard can't go over 133 Mhz.  They 
are 64 bit 3.3v slots.

One thing I don't want is RAID; I will be using LVM to roll my own.  But if a 
RAID card can handle dissimilar drives in a non-RAID fashion, that's fine by me.

Running ~amd64.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Any recommendations for PCI-X SATA cards?

2012-06-23 Thread felix
On Sat, Jun 23, 2012 at 06:05:30PM -0400, Michael Mol wrote:
 I have a couple MV88SX6081 8-port SATA II PCI-X Controller devices I
 picked up from Newegg a couple years back. They work beautifully.
 
 They were marked as RAID cards, but it's software raid, and I only
 wanted them as AHCI SATA controllers anyhow. As it happens, they work
 in PCI slots as well as PCI-X slots.

Hmmm ... that's one I bookmarked, but I am curious how they claim 8
port when it only has three connectors?  Newegg's pictures aren't
clear enough for me to figure that out.  Is it two on the back and
three doublt-ports on the front?  How well do they work?  I suppose
must be good enough to recommend it :-)  Do you actually have 8 drives
connected to one?

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Any recommendations for PCI-X SATA cards?

2012-06-23 Thread felix
On Sat, Jun 23, 2012 at 06:32:30PM -0400, Michael Mol wrote:

 There are three modules on one side of the PCB. Each module has two
 SATA ports. There are two modules on the flip side that each have only
 one SATA port. So, that's 3x2+2, or 8.

How easy is it to connect to cables in one of the doubles?

My tower is pretty full, but some of that is 3 SCSI drives, and I may
at some point change all three to a single SSD drive and put in two
more 4T drives.

 The reason I'm only using 3? This system doesn't have PCI-X, only PCIe
 and PCI. So I want as much as reasonable plugged into the mainboard's
 SATA ports.

Why not use the PCIe slots for SATA to get more speed?  I suppose you
could just want bulk where speed is not essential, or they could be full

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Any recommendations for PCI-X SATA cards?

2012-06-23 Thread felix
On Sat, Jun 23, 2012 at 07:00:01PM -0400, Michael Mol wrote:
  How easy is it to connect to cables in one of the doubles?
..two...

Botched that one!  Well, doesn't matter; I ordered one, and it is what
it is.  I reckon it must be possible, and I don't think I can get that
many drives in the tower.

I did look at another card which has two SATA connectors inside and
two eSata, but I think USB 3 will be better, if I can find a good
PCI-X USB 3 card.  But that's for later, I don't need it yet.

Thanks.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Getting around ancient SATA disk size limitations

2012-06-19 Thread felix
On Tue, Jun 19, 2012 at 10:49:48AM -0400, Michael Mol wrote:
 A thought...if the system is old enough that it only has PCI and PCI-X
 (as opposed to PCIe), then it's definitely not going to have USB3.
 
 Perhaps putting attaching the USB3 enclosure to the system by way of a
 USB2 hub might work?

No USB 3 on the motherboard.  I tried a USB 3 enclosure but got zero
response from Linux when plugging it in.  Didn't even show up in
/var/log/messages.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Getting around ancient SATA disk size limitations

2012-06-19 Thread felix
On Tue, Jun 19, 2012 at 10:43:41AM -0500, Paul Hartman wrote:
 On Mon, Jun 18, 2012 at 1:16 AM,  fe...@crowfix.com wrote:
  I bought a USB 3.0 disk enclosure and the system refused to even 
  acknowledge its presence. ?USB 3.0 may be advertised as backwards 
  compatible, but not on my system.
 
 Is the drive powered by USB, or an external power supply? USB3
 supplies more power than USB2 was capable of, so if a USB3 device does
 not have an external power supply it probably won't be backwards
 compatible.

Good question -- if it had a power supply, I would have used it, but I
don't remember now if it did.  Doubt I would have given it a second
thought if it had no external power supply.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



[gentoo-user] Getting around ancient SATA disk size limitations

2012-06-18 Thread felix
I have an ancient system which was quite the bee's knees in its day 8 years 
ago, but is showing its age.

I plugged two 4TB SATA drives in and the BIOS hangs trying to display the disk 
size.  Whether it is the size itself, or from using 4K blocks, I do not know.

I bought a USB 3.0 disk enclosure and the system refused to even acknowledge 
its presence.  USB 3.0 may be advertised as backwards compatible, but not on my 
system.

I put one of the drives into an old USB 2.0 enclosure, and while it was found 
and useable, it saw the size as 1.6TB.

I can't get a USB 3.0 PCI card; there are PCI-e cards, but my system is PCI and 
PCI-X.

I did get a SATA II PCI card (SATA III requires PCI-e), but won't get a chance 
to plug it in for a few days.  I'm hoping it will let me use the 4T drives.

Does anyone know of any verified cheap tricks to make this old system recognize 
the 4TB drives properly?  I'm not interested in any NAS or other expensive 
solutions; I'd just as soon buy a cheap modern system and lots of USB 3.0 disk 
enclosures.  But I'd rather not go that route yet.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Getting around ancient SATA disk size limitations

2012-06-18 Thread felix
On Mon, Jun 18, 2012 at 02:35:03PM +0800, Bill Kenworthy wrote:
 32bit or 64 bit system?

Dual opteron, ~amd64.

 Kernel options for large file systems?

Yes.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Getting around ancient SATA disk size limitations

2012-06-18 Thread felix
On Mon, Jun 18, 2012 at 09:06:54AM +0100, Neil Bothwick wrote:
 On Sun, 17 Jun 2012 23:16:24 -0700, fe...@crowfix.com wrote:
 
  I plugged two 4TB SATA drives in and the BIOS hangs trying to display
  the disk size.  Whether it is the size itself, or from using 4K blocks,
  I do not know.
 
 Have you updated the BIOS to the latest available version?

No, didn't even think about that.  I've never upgraded BIOS an any of
my systems.  It's a Tyan S2882 Thunder K8S Pro.  Guess I'll google for that.


-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Getting around ancient SATA disk size limitations

2012-06-18 Thread felix
On Mon, Jun 18, 2012 at 06:11:31AM -0700, fe...@crowfix.com wrote:
 On Mon, Jun 18, 2012 at 09:06:54AM +0100, Neil Bothwick wrote:
  On Sun, 17 Jun 2012 23:16:24 -0700, fe...@crowfix.com wrote:
  
   I plugged two 4TB SATA drives in and the BIOS hangs trying to display
   the disk size.  Whether it is the size itself, or from using 4K blocks,
   I do not know.
  
  Have you updated the BIOS to the latest available version?
 
 No, didn't even think about that.  I've never upgraded BIOS an any of
 my systems.  It's a Tyan S2882 Thunder K8S Pro.  Guess I'll google for that.

Found a Tyan page for my motherboard.  Didn't see any obvious fixes
for SATA size.  I also don't remember my BIOS version, I'll have to
check that.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Re: Getting around ancient SATA disk size limitations

2012-06-18 Thread felix
On Mon, Jun 18, 2012 at 06:59:13AM -0700, walt wrote:
 On 06/17/2012 11:16 PM, fe...@crowfix.com wrote:
  I bought a USB 3.0 disk enclosure and the system refused to even
  acknowledge its presence.
 
 By 'system' do you mean the BIOS, or the kernel driver?

I plugged them into the USB after boot, so it's the kernel.  I didn't try 
booting with them.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Getting around ancient SATA disk size limitations

2012-06-18 Thread felix
On Mon, Jun 18, 2012 at 04:12:35PM +0200, pk wrote:
 On 2012-06-18 08:16, fe...@crowfix.com wrote:
 
  I plugged two 4TB SATA drives in and the BIOS hangs trying to display the 
  disk size.
 Whether it is the size itself, or from using 4K blocks, I do not know.
 
 This is a bit confusing. Do you mean to say that these are 4TB internal
 drives (3.5)? I can't find any manufacturer that manufactures this size
 (yet)... Or is it 2x 2TB harddrives in a USB3 enclosure? There are
 plenty of those it seems from Seagate, Western digital etc...

Hitachi, I think.  Fry's had two choies differing in size of cache
(64M vs 32M) and some 3TB drives too.  I could get the model numbers
when I get back to that system (not near it for a few days).

 I bought a USB 3.0 disk enclosure and the system refused to even acknowledge 
 its presence.
 USB 3.0 may be advertised as backwards compatible, but not on my system.
 
 If possible try a BIOS upgrade... if not you can always try this (no
 guarantees though):
 http://www.addonics.com/products/ad2u3pci.php

Interesting ... Cheap enough to be worth trying.  Thanks.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Getting around ancient SATA disk size limitations

2012-06-18 Thread felix
On Mon, Jun 18, 2012 at 10:24:58AM -0400, Michael Mol wrote:
 On Mon, Jun 18, 2012 at 10:12 AM, pk pete...@coolmail.se wrote:
  On 2012-06-18 08:16, fe...@crowfix.com wrote:
 
  I plugged two 4TB SATA drives in and the BIOS hangs trying to display the 
  disk size.
 Whether it is the size itself, or from using 4K blocks, I do not know.
 
  This is a bit confusing. Do you mean to say that these are 4TB internal
  drives (3.5)? I can't find any manufacturer that manufactures this size
  (yet)... Or is it 2x 2TB harddrives in a USB3 enclosure? There are
  plenty of those it seems from Seagate, Western digital etc...
 
 http://www.amazon.com/Seagate-Barracuda-3-5-Inch-Internal-ST4000DX000/dp/B005WX3NEU/
 
 Seagate Barracuda 7200 4 TB 7200RPM SATA 6 Gb/s NCQ 128MB Cache
 3.5-Inch Internal Bare Drive
 
 It does bring to mind a question...when I went to put SATAII drives in
 a SATA box, I needed to flip a jumper on the drive so that it would
 operate at 1.5Gb/s instead of 3Gb/s. Felix, did you follow any
 analogous steps for the 4TB drives?

I don't remember seeing any jumpers at all.  I'll take another look when I get 
back there.

 (Cripes, that's a lot of data. One drive, bigger than any of my
 aggregate volumes.)

I remember buying a 330MB ATA drive for $300 and being amazed it was
less than $1/MB.  These were $299 at Fry's, 10 cents per GB.  Don't
know what I'll do with 8TB but I am sure it will fill up sooner rather
than later.  If nothing else, I'll snapshot the system files every
night and take a year to fill it up.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Getting around ancient SATA disk size limitations

2012-06-18 Thread felix
On Mon, Jun 18, 2012 at 04:48:09PM +0200, pk wrote:
 That would be a possibility of course... but if that fails he also have
 this option:
 http://www.areca.com.tw/products/pcix.htm
 (I'm sure there are similar options from other manufacturers)...

My google-fu is deteriorating.  I didn't see this or the USB 3.0 PCI
card, everything was for PCI-e.

This motherboard has some weird mixture of PCI and PXI-X slots.  Don't
remember the tricks right now, but I can't put a good graphics card in
it without slowing down the SCSI drives, I think.  Since it's a server
mostly, that doesn't matter, but I'll have to refresh my memory before
getting this card.  Thanks for the lead.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Getting around ancient SATA disk size limitations

2012-06-18 Thread felix
On Mon, Jun 18, 2012 at 05:45:28PM +0200, pk wrote:

 Will you be using these (huge!) drives as boot drives or merely as
 storage? If the latter and you're really desperate (haven't tried this
 myself) there should be an option to turn off the automatic discovery of
 drives in the BIOS and (possibly) let the kernel discover them (again
 haven't tried it but I don't see why you can't hotswap the drives
 without BIOS aid)...

Just storage.  Currently my bulk storage is two 300GB SATA drives,
about 90% full, so I figured an upgrade was in order.  I poked around
the BIOS screens and don' remember any way to turn off discovery.  But
I'll check again, since I hadn't been looking for that specific possibility.

 Also, this is an advanced format drive that emulates 512-byte sectors
 so there may be some fiddling before getting it right:
 https://www.ibm.com/developerworks/linux/library/l-4kb-sector-disks/

I replaced a failing PATA (nee IDE) drive at the same time, which is
what triggered this whole mess, and notice that fdisk now defaults the
start sector to 2048 insyead of 63, presumably for the same reason.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Re: Getting around ancient SATA disk size limitations

2012-06-18 Thread felix
On Mon, Jun 18, 2012 at 04:46:15PM -0700, walt wrote:
 On 06/18/2012 07:28 AM, fe...@crowfix.com wrote:
  On Mon, Jun 18, 2012 at 06:59:13AM -0700, walt wrote:
  On 06/17/2012 11:16 PM, fe...@crowfix.com wrote:
  I bought a USB 3.0 disk enclosure and the system refused to even 
  acknowledge its presence.
  
  By 'system' do you mean the BIOS, or the kernel driver?
  
  I plugged them into the USB after boot, so it's the kernel.  I didn't
  try booting with them.
  
 
 I have an outboard usb3 docking station that needs the xhci driver.
 Do you have that driver enabled?  Maybe one of the many rescue/install
 CD's will recognize the drive/enclosure combination?

Compiled as a module, and not loaded.  Hadn't thought of that.  I'll
try it when I get back there.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



[gentoo-user] fuse-encfs and decoding single filenames

2012-06-08 Thread felix
I have a failing disk drive which has a fuse-encfs filesystem.  I am
copying data off the drive before it completely croaks, and a few of
the encrypted files have errors.  I also have a full backup, so I
don't expect to lose much if anything, but I wonder if there is some
way to get fuse-encfs to decrypt a single filename for me, so I can
find out which plaintext files may have been garbled.  I can probably
find out by trial and error, but a simple command line translation
would be nice.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Encfs suddenly read-only -- DISK FAILURE

2012-05-15 Thread felix
On Mon, May 14, 2012 at 05:33:48AM -0700, fe...@crowfix.com wrote:
 I have been using encfs to store most of my home dir for ages.  I rebooted 
 Sunday morning (it's a ~amd64 system) to change kernel to 3.3.5 from 3.3.4, 
 and sometime overnight, after the nightly backups and mail archives had run, 
 the encfs mounted partition became read-only.  I know the timing only by the 
 cron jobs; the nightly mail backup moves files from the /home partition to 
 the encfs partition, and it had not failed.  I unmounted the encfs partition, 
 remounted, and it was read-only right from the get go.

It's a failing disk drive:

May 15 03:30:26 kernel: [80220.600747] hda: dma_intr: status=0x51 { 
DriveReady SeekComplete Error }
May 15 03:30:26 kernel: [80220.600759] hda: dma_intr: error=0x40 { 
UncorrectableError }, LBAsect=94761183, sector=94761183
May 15 03:30:26 kernel: [80220.600788] hda: possibly failed opcode: 0x25
May 15 03:30:26 kernel: [80220.600794] end_request: I/O error, dev hda, 
sector 94761183
May 15 03:30:26 kernel: [80220.600835] REISERFS error (device hda5): 
vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat 
data of [2511 633054 0x0 SD]
May 15 03:30:26 kernel: [80220.600840] REISERFS (device hda5): Remounting 
filesystem read-only
May 15 03:30:31 kernel: [80224.859713] hda: dma_intr: status=0x51 { 
DriveReady SeekComplete Error }

 There are no errors in /var/log/messages of any sort since the 3.3.5 boot.  
 The mount command showed both the encfs partition and the underlying regular 
 partition as rw, not ro.

I didn't see it the first time because I rebooted twice and only looked since 
the second reboot, after spending a while googling for hints and forgetting 
about the double reboot.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



[gentoo-user] Encfs suddenly read-only

2012-05-14 Thread felix
I have been using encfs to store most of my home dir for ages.  I rebooted 
Sunday morning (it's a ~amd64 system) to change kernel to 3.3.5 from 3.3.4, and 
sometime overnight, after the nightly backups and mail archives had run, the 
encfs mounted partition became read-only.  I know the timing only by the cron 
jobs; the nightly mail backup moves files from the /home partition to the encfs 
partition, and it had not failed.  I unmounted the encfs partition, remounted, 
and it was read-only right from the get go.

There are no errors in /var/log/messages of any sort since the 3.3.5 boot.  The 
mount command showed both the encfs partition and the underlying regular 
partition as rw, not ro.

I just now rebooted back to 3.3.4, and it's read-write, but so was 3.3.5 at the 
beginning, and for at least 20 hours.  I do not know if the read-only switch 
was from a time delay, from some activity, from the kernel change, or some 
other package.  If it lasts a day or two without switching to read-only, I will 
try 3.3.5 again.

I am going to set up a screen session to check the rw capability every minute, 
to see if pinning down the time helps any with the log file.

Does anyone know of any package changes that would have caused this?  Neither 
google nor the gentoo bug search found anything interesting for encfs or 
fuser.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Encfs suddenly read-only

2012-05-14 Thread felix
On Mon, May 14, 2012 at 04:11:20PM +0200, Michael Hampicke wrote:

 If I remember correctly, EncFS is not a file system on it's own, it's
 more like an addon to any other file system.
 So maybe the problem is not with EncFS, but the underlaying file system.
 
 A wild guess would be that the underlaying filesystem of your EncFS
 partition is ext2/3/4 and has run out of inodes? You can check the inode
 count with 'df -i'
 
 This happend to me once, but I cannot remember if the file system then
 was mounted readonly or there were 'out-of-space' error messages.

It's a reiserfs, and df -i shows zeroes; I had never given any thought
to reiserfs and inodes.  Interesting.

 If that does not help, try to fsck your EncFS partition. Unmount first.

I may try that later.  What puzzles me is that remounting without
reboot still came up read-only, even tho it had been read-write for 20
hours, and reboot came up read-write.

I wonder if some timeout feature was added to encfs or fuser, such that
if there is no activity for a certain time, it becomes read-only.  I
didn't see any such change in any release notes.  My little screen
jobis still creating files every minute, and will defeat any such
timeout, so there's something else to investigate later.

encfs was last emerged 14 March.  fuser was last emerged 23 Apr.  I
have rebooted several times since then, so I don't think either of
them had any sudden surprises left.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



  1   2   3   4   >