[gentoo-user] Getting genkernel to use newer dmraid

2011-07-11 Thread Daniel Frey
Hi all,

I've been trying to get genkernel to use a newer version of dmraid.
For some reason, genkernel is using a build from 2006 (!)

I've tried an ubuntu livecd which uses a build that's available in
portage that works with my fakeraid. All this to try to dual-boot
using a raid 1+0.

I've discovered /etc/genkernel.conf has settings for this, so I tried
changing them:
-
#DMRAID_VER=1.0.0.rc14
DMRAID_VER=1.0.0.rc16
DMRAID_DIR=dmraid/${DMRAID_VER}
#DMRAID_SRCTAR=${DISTDIR}/dmraid-${DMRAID_VER}.tar.bz2
DMRAID_SRCTAR=/usr/share/dmraid/dmraid-1.0.0.rc16-3-prepatched.tar.bz2
DMRAID_BINCACHE=%%CACHE%%/dmraid-${DMRAID_VER}-%%ARCH%%.tar.bz2
-

After that I issued a `genkernel --lvm --dmraid initramfs` and got this:
-
ubuntu / # genkernel initramfs
* Gentoo Linux Genkernel; Version 3.4.17
* Running with options: initramfs

* Linux Kernel 2.6.38-gentoo-r6 for x86_64...
* blkid:  Using cache
* busybox:  Using cache
* initramfs:  Initializing...
*  Appending base_layout cpio data...
*  Appending auxilary cpio data...
*  Appending busybox cpio data...
*  Appending lvm cpio data...
*   LVM: Adding support (using local static binary /sbin/lvm.static)...
*  Appending dmraid cpio data...
* DMRAID: Adding support (compiling binaries)...
* ERROR: DMRAID directory ${DMRAID_DIR} is invalid!

* -- Grepping log... --

*  Appending dmraid cpio data...
* DMRAID: Adding support (compiling binaries)...
* Gentoo Linux Genkernel; Version 3.4.17
* Running with options: initramfs

* ERROR: DMRAID directory ${DMRAID_DIR} is invalid!

* -- End log... --
-

I can see that the dmraid directory is invalid, but I do not know how
to correct this?

I've not tried making an initramfs myself (I do not know how) but have
been building my own kernels since 2004. I couldn't really find
anything on genkernel after googling other than the basic usage.

Can anyone help?



Re: Re: [gentoo-user] Getting genkernel to use newer dmraid

2011-07-11 Thread Daniel Frey
On 01/-10/37 11:59, Alan McKinnon wrote:
 On Monday 11 July 2011 10:09:38 Daniel Frey did opine thusly:
 Hi all,

 I've been trying to get genkernel to use a newer version of dmraid.
 For some reason, genkernel is using a build from 2006 (!)

 I've tried an ubuntu livecd which uses a build that's available in
 portage that works with my fakeraid. All this to try to dual-boot
 using a raid 1+0.

 I've discovered /etc/genkernel.conf has settings for this, so I
 tried changing them:
 -
 #DMRAID_VER=1.0.0.rc14
 DMRAID_VER=1.0.0.rc16
 DMRAID_DIR=dmraid/${DMRAID_VER}
 You sure about this one?

 That lack of a leading / looks mighty suspicious



The only two lines I changed are the ones I commented out (so I only
changed DMRAID_VER and DMRAID_SRCTAR.) If I revert the changes, the
default initramfs with the included dmraid build properly.

I suspect there's a build directory somewhere buried deep down that I
can't find. I'm going to try to dig into this a little deeper...
although I do need a new motherboard soon. I'm starting to dislike the
reliability of Asus motherboards. I've had three fail now (different
models) so I ordered an Intel board to replace this current one. I
wouldn't be surprised at this point if the motherboard is the cause of
my grief.

Thankfully I have a laptop or I'd be going through serious internet
withdrawal symptoms. :)

Dan



Re: Re: [gentoo-user] Problem with xf86-video-ati nvidia-drivers

2011-07-19 Thread Daniel Frey
On 01/-10/37 11:59, Grant wrote:
--snip--
 The TV is an LG 47LH90 and and it is said to do 1080p.  I looked for
 ghosting in 16:9 mode instead of Just Scan mode and strangely the
 shadows are there, but they're oriented top and bottom instead of left
 and right.  I can take another photo if anyone would like to see.

 Why do I need to select Just Scan in order to prevent all 4 edges of
 the screen from being cut off?

 - Grant
 
 BTW I think you're on to something Stroller because the overall
 picture is definitely improved in 16:9 mode compared to Just Scan
 mode.  I just need to figure out how to prevent the edges of the
 screen from being cut off.
 
 - Grant

Grant,

By default most TVs overscan inputs due to broadcast signals at the
edges as the picture there is not well defined and can have white
overscan lines and such. The TV compensates by overscanning which
basically zooms in on the picture making (on my 46 Samsung TV) the
outer 1-1.5 of the picture disappear.

On my TV it was fairly simple to turn this off, I just had to label the
HDMI input as DVI PC and it automatically turned off any picture
processing/overscanning. Yours may be similar.

Sorry if there's typos, I have a bandaged finger and it's a PITA to type
with. I think I fixed all of them.

Dan



Re: Re: [gentoo-user] Problems with Nvidia fake raid array

2011-07-26 Thread Daniel Frey
On 01/-10/37 11:59, Michael Orlitzky wrote:
 
 I think this one should have worked? It seems to have found the
 superblock on /dev/sda, at least.
 
 Anyway, I imagine everyone (myself included) is afraid to tell you to do
 anything at this point that might trash your data. My advice now would
 be to put it back where it worked, and make a backup.

I'm just going through this myself. As far as I know mdadm does *not*
support nvraid. It does support imsm, or intel raid, which I'm in the
process of setting up on my workstation.

I can't find anything in the docs regarding mdadm working with nvraid,
you should be trying dmraid for that.

If all you have is /dev/control and you are not using a dmraid supported
kernel (genkernel requires dodmraid to find and assemble arrays) then
execute `dmraid -ay` and check dmesg and /dev/mapper for contents.

Dan



Re: [gentoo-user] Botched Raid1 install

2011-07-28 Thread Daniel Frey
On 01/-10/37 11:59, James wrote:
 Background:
 I worked on this last April can gave up on the (livedDVD)
 install with too many other things to do, and pissed off at
 a lack of usable (current) documentation.
 
 So, taking a fresh look at the BOTCHED system:
 The 2 drives are identical 2TB: Seagate
 drives:  Model Number:   ST32000542AS 
 
 I read about the 4K block problem and could have
 easily made a formating mistake(?).
 
 fdisk /dev/sda  (not the best tool to use...
 

fdisk does have a partition/drive limit of ~2.2TB, but this drive should
still work with it. The only other option is GPT, but I don't think grub
boots from that yet (unless you use grub2 with patches?)

 
 Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
 But in my attempt to install, I used this geometry:
 fdisk-H 224 -S 56 /dev/sda

That should align it to 4k blocks, I had to do the same on my SSD
(224/56=4)...


 using the livedDVD:
 
  cat /proc/mdstat
 Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
 md125 : active raid1 md127p1[0]
   262080 blocks [2/1] [U_]
   
 md126 : active raid1 md127p2[0]
   5023680 blocks [2/1] [U_]
   
 md127 : active raid1 sdb[1] sda[0]
   1948227584 blocks [2/2] [UU]
 
 

Are the partitions on each drive *exactly* the same? If the end cylinder
and start cylinder for the other drive is off by one it will affect two
partitions, leaving them in a dirty state and the third in a clean state.

 
 It has been suggested kernel =2.6.37 will have (better?) 
 support for 4k sectors disks [1].
 

I believe I have 2.6.37 on my htpc and it works fine with the 4k-aligned
SSD.

 Should I just start over?

I would start over.

Are you using BIOS-raid? (Such as Intel ICH*R?) I assume no, given the
'fd' type partitions. If you are, you are using the wrong approach. It's
already in a raid set and you need to create normal partitions on it,
not type 'fd'.

However, there's a lot of information on how to use mdraid and create
native linux software raid partitions.

If you are trying to use BIOS raid, it's a little different, and
unneeded if you are not using Windows. The reason I mention this is that
mdadm gave my BIOS fakeraid /dev/md126* partitions. When I created
native linux raid partitions, they were /dev/md0, /dev/md1, etc.

I can't really help more until I know exactly what you are trying to do.
Right now (to me, anyway) it looks like you are mixing software raid and
BIOS fakeraid, as with native mdadm you generally don't have partitions
(/dev/md126p1, /dev/md126p2, etc) with native raid (which is /dev/md0,
/dev/md1, etc) as I said above.

If you are trying to use mdadm with a BIOS fakeraid, then you are
correct in that there's no documentation. Just yesterday I finally got a
working install after three weeks of messing around.

What's the output of `mdadm --detail-platform`?

Dan



[gentoo-user] Run command after root mounted ro?

2011-08-09 Thread Daniel Frey
Greetings,

I discovered a possible reason for mdadm always marking my raid array as
bad on reboot. The problem is I don't know how to check for the issue.

When using root on a native mdadm raid, the kernel handles the array
state transition at shutdown, so it's not a big deal. However, it's
different when using external metadata - mdadm must be called before the
reboot.

Apparently mdadm must be called after the root filesystem is mounted
read-only. Then it can mark the array as clean and not rebuild every
single reboot.

Where do I check this? The /etc/init.d/mdadm script happens well before
root is mounted read-only.

Apparently `mdadm --wait-clean --scan` needs to be called so the
external metadata is updated correctly. If you use this command with a
native mdadm raid it does nothing, but it's critical apparently to the
health of other metadata types.

I've grepped through /etc/init.d/ and found nothing.

Dan



Re: Re: [gentoo-user] Run command after root mounted ro?

2011-08-09 Thread Daniel Frey
On 01/-10/37 11:59, Florian Philipp wrote:
 Remounting root read-only is done by an init script called mount-ro
 which is started in runlevel shutdown. Try to add a custom init script
 to your /etc/init.d directory with the following content:
 
 #!/sbin/runscript
 depend()
 {
  after mount-ro
 }
 start()
 {
  ebegin 'Shutting down mdadm'
  mdadm --wait-clean --scan
  eend $?
 }
 
 Add it to the runlevel with `rc-update add your-script shutdown` and
 don't forget to mark it executable.
 
 Disclaimer: I've not tried this (obviously) and if the script eats your
 dog and wreaks your system, it is entirely your fault ;)


Thanks, I tried this out, and while it does run after mounting ro, it
just hangs. I've noticed that it's supposed to be monitoring
/proc/mdstat but it was (presumably) unmounted long ago.

I guess I have to do some more experimenting.

Dan





Re: Re: [gentoo-user] OT: but cool - NASDAQ is gentoo powered

2011-08-16 Thread Daniel Frey
On 01/-10/37 11:59, Michael Mol wrote:
 This is related to a question I wanted to poll the list with. How does
 everybody here use Gentoo? For personal use? Production use? For
 server, desktop or embedded roles? What's your most interesting setup
 or use case?
 

I use gentoo on my laptop (1.6 GHz core2duo, 4GB RAM), desktop (3 GHz
QX9650, 8GB RAM), home file server (2.5GHz core2duo), htpc (another
core2duo and 2GB RAM), and various servers (one's a dual P3 1.1GHz box
that's getting retired) at work, both production and testing. Actually,
I'll be moving the servers at work onto ESXi soon.

They've all served me well.

Dan



[gentoo-user] Update to newer kernel completely hoses suspend

2012-09-12 Thread Daniel Frey
So about a month ago I decided to update my kernel to the dreaded 3.x
series. My old 2.6.x kernel was working fine, but of course I decided
to try to update it anyway, knowing there were problems with suspend
and a few other things.

I've always used gentoo-sources. So I tried 3.3.8.

Hrm. Suspend doesn't work. I tried 3.4.5, 3.4.9 and 3.0.35 (older
versions are no longer available.) If I'd known it would completely
kill my suspend and make it useless, I wouldn't have bothered.

Here's the problem:

I can suspend fine. It appears to work. It powers off and goes into
its suspend state. I press the space bar. Nothing. So, then I
discovered that as of 3.2 USB wakeup had completely changed in the
kernel, and you need to set hubs and devices in /proc/acpi/wakeup
(which is normally done for you) *and* in /sys/devices. No biggie, I
wrote a script to do just that at
http://forums.gentoo.org/viewtopic-t-933934.html. So now I can wake
with the keyboard as before. Or can I?

If I suspend and wake up the PC within about 10 minutes it works.
After that, all hell breaks loose. The PC is dead. Completely. Waking
up no longer works, not with the keyboard, or even the power button.
The *only* way is to pull the power plug and leave it unplugged for a
few seconds. Then the PC comes to life.

I've never seen an issue quite like this one...

I use mdraid in my kernel with IMSM to dual boot Windows. I've been
using it for a long time, so that's not it. The only thing that's
changed are the kernel versions I've tried. So far, every 3.x kernel
has done this. Now, this could very well be a kernel problem, heres my
ACPI config:

# Power management and ACPI options
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
# CONFIG_ACPI_PROCFS is not set
# CONFIG_ACPI_PROCFS_POWER is not set
# CONFIG_ACPI_EC_DEBUGFS is not set
CONFIG_ACPI_PROC_EVENT=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_FAN=y
# CONFIG_ACPI_DOCK is not set
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_HOTPLUG_CPU=y
# CONFIG_ACPI_PROCESSOR_AGGREGATOR is not set
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_CUSTOM_DSDT is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
# CONFIG_ACPI_PCI_SLOT is not set
CONFIG_ACPI_CONTAINER=y
# CONFIG_ACPI_SBS is not set
# CONFIG_ACPI_HED is not set
# CONFIG_ACPI_APEI is not set
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_PNPACPI=y
CONFIG_ATA_ACPI=y
# CONFIG_PATA_ACPI is not set
# ACPI drivers
# ACPI drivers
# CONFIG_SENSORS_ACPI_POWER is not set

Suspend stuff:
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
CONFIG_USB_SUSPEND=y


Here's output from my script (usbwakeup -l):(USB4 is where my keyboard is)
~ # usbwakeup -l
Listing USB hubs/devices and their wakeup status...

USB ID:: Device* :: Status :: Device Description

1d6b:0001 :: usb3 :: enabled :: UHCI Host Controller
051d:0002 :: 3-1 :: disabled :: Back-UPS RS 1200 FW:8.g1 .D USB FW:g1
1d6b:0001 :: usb4 :: enabled :: UHCI Host Controller
046d:c508 :: 4-1 :: disabled :: USB Receiver
046d:c221 :: 4-2.1 :: enabled :: Gaming Keyboard
1d6b:0001 :: usb5 :: enabled :: UHCI Host Controller
1d6b:0002 :: usb1 :: enabled :: EHCI Host Controller
1d6b:0001 :: usb6 :: enabled :: UHCI Host Controller
1d6b:0001 :: usb7 :: enabled :: UHCI Host Controller
1d6b:0001 :: usb8 :: enabled :: UHCI Host Controller
1d6b:0002 :: usb2 :: enabled :: EHCI Host Controller

*Use the Device column to identify hubs/devices to be toggled.

11 USB hubs/devices listed.

Output from acpitool -w:
osoikaze ~ # acpitool -w
   Device   S-state   Status   Sysfs node
  ---
  1. P0P1 S3*disabled  pci::00:01.0
  2. UAR1 S3*disabled  pnp:00:03
  3. P0P2 S4*disabled  pci::00:1e.0
  4. USB0 S3*disabled  pci::00:1d.0
  5. USB1 S3*disabled  pci::00:1d.1
  6. USB2 S3*disabled  pci::00:1d.2
  7. USB5 S3*disabled
  8. USB6 S3*disabled  pci::00:1a.2
  9. EUSB S3*disabled  pci::00:1d.7
  10. USB3S3*disabled  pci::00:1a.0
  11. USB4S3*enabled   pci::00:1a.1
  12. USBES3*disabled  pci::00:1a.7
  13. PEX0S4*disabled  pci::00:1c.0
  14. PEX1S4*disabled  pci::00:1c.1
  15. PEX2S4*disabled  pci::00:1c.2
  16. PEX3S4*disabled  pci::00:1c.3
  17. PEX4S4*disabled  pci::00:1c.4
  18. PEX5S4*disabled  pci::00:1c.5
  19. SLPBS4*enabled
  20. PWRBS3*enabled

Does anyone have any idea what could be wrong here? This is driving me
crazy, I hate shutting down my PC when I'm not using it. I could live
without the keyboard if the damn power button would work, but even if
I don't set the USB wakeup (through /proc/acpi/wakeup or my script) it
still gets stuck in the 'eternal' sleep. The whole kernel config is at

Re: [gentoo-user] Update to newer kernel completely hoses suspend

2012-09-13 Thread Daniel Frey
On 09/13/2012 10:37 AM, Volker Armin Hemmann wrote:
 Am Mittwoch, 12. September 2012, 17:18:38 schrieb Daniel Frey:
 So about a month ago I decided to update my kernel to the dreaded 3.x
 series. My old 2.6.x kernel was working fine, but of course I decided
 to try to update it anyway, knowing there were problems with suspend
 and a few other things.

 I've always used gentoo-sources. So I tried 3.3.8.

 Hrm. Suspend doesn't work. I tried 3.4.5, 3.4.9 and 3.0.35 (older
 versions are no longer available.) If I'd known it would completely
 kill my suspend and make it useless, I wouldn't have bothered.

 Here's the problem:

 I can suspend fine. It appears to work. It powers off and goes into
 its suspend state. I press the space bar. Nothing. So, then I
 discovered that as of 3.2 USB wakeup had completely changed in the
 kernel, and you need to set hubs and devices in /proc/acpi/wakeup
 I don't have to do that.

You're lucky then - I've googled the issue and it has hit a lot of users
from all sorts of distros, it's not specific to gentoo. Usually when the
keyboard won't wake up the PC you can use the power button, which didn't
work on my machine either.

I'm kind of suspecting the PSU now. It's getting worse, and it happens
on several kernel versions (even on 3.0.x which I had for about 3 weeks
before going to something  3.2. When I powered up my machine today
(after being off all night) X bombed with no screens found. I restarted
xdm and it worked... I'm thinking if the PSU is off maybe it's taking a
while to warm up to be reliable - my video card uses one of those 6 port
extra power plugs. I'll bet after being on for a few minutes it was
fine. I hate diagnosing weird  intermittent hardware problems. The PSU
in here is way too much for what I've got in here anyway. Come to think
of it, I think I have a spare in my closet, although I can't remember
the wattage.



 (which is normally done for you) *and* in /sys/devices. No biggie, I
 wrote a script to do just that at
 neither that. In fact, I have done nothing. It just works, with fglrx.

 uname -a
 Linux energy 3.4.10 #1 SMP Sun Sep 9 23:01:01 CEST 2012 x86_64 AMD Phenom(tm) 
 II X4 955 Processor AuthenticAMD GNU/Linux

 and 3.2 before that

 and 3.0 before that.

It worked with 3.0.x for a couple of weeks, all hell broke loose after I
upgraded to 3.3.8 (I think.) I've also tried 3.4.5 and 3.4.9, nothing
works. Sigh...

I'd better figure out a way to rule out the PSU. It's possible the
emerge world that I did at the same time I upgraded to 3.3.8 stressed
the PSU.

Dan



Re: Re: [gentoo-user] Update to newer kernel completely hoses suspend

2012-09-13 Thread Daniel Frey
On 09/12/2012 05:59 PM, Canek Peláez Valdés wrote:
 I switched to 3.0 more than a year ago (I use vanilla-sources). Never
 had a problem with suspend and/or hibernate; I'm now running kernel
 3.5.3. You didn't specify how do you suspend. pm-utils? dbus-send to
 upower? echo mem  /sys/power/state? I would recommend you to shut
 down X, and try pm-suspend from the console. It may tell you more
 info. Regards. 

I use KDE and use it to suspend. It's worked flawlessly for years now,
although I had to enable usb wakeup on one of the USB hubs for the
keyboard to wake.

The thing is, it goes to sleep fine. It goes into low power state 
shuts fans etc. off. The problem is, after leaving it for a while, you
can't wake it. I've tried waking immediately after suspending, and it
works. Leave it for a duration (like overnight) and neither the keyboard
or power button wakes it (as in absolutely nothing happens, it won't
even turn on/spin up fans etc.)

I think I might have a hardware issue now. I shut down last night and
this morning X wouldn't start right away - I turned it on and walked
away from it. Restarting xdm made it start, but it had been running for
 5 minutes at that point.

Dan



Re: Re: [gentoo-user] Update to newer kernel completely hoses suspend

2012-09-13 Thread Daniel Frey
On 09/12/2012 09:49 PM, Chris Stankevitz wrote:
 On Wed, Sep 12, 2012 at 5:18 PM, Daniel Frey djqf...@gmail.com wrote:
 So about a month ago I decided to update my kernel to the dreaded 3.x
 series. My old 2.6.x kernel ...
 FYI Linus Torvalds says there was no change between 2.6 and 3.0.  A quote:

 So what are the big changes?  NOTHING. Absolutely nothing. Sure, we
 have the usual two thirds driver
 changes, and a lot of random fixes, but the point is that 3.0 is
 *just* about renumbering, we are very much *not* doing a KDE-4 or a
 Gnome-3 here. No breakage, no special scary new features, nothing at
 all like that.

 You can read his entire letter here:
 https://lkml.org/lkml/2011/5/29/204

 Chris
When I updated, I knew about changes in 3.2 that affected USB keyboard
wake in suspend ( mostly how it deals with acpi. Most of the stuff
moved to /sys/devices, the normal /proc/acpi/wakeup didn't really do
anything.) This affected many users over many distros.

It also changed how lirc works, although that happened around 2.6.38??,
so my htpc frontend is still on 2.6.32. When I tried updating that
machine to 3.0, nothing worked and I spent about a day troubleshooting
it before I put the image I took of it before I upgraded it back on.

Dan



Re: Re: Re: [gentoo-user] Update to newer kernel completely hoses suspend

2012-09-15 Thread Daniel Frey
Well, it turns out it was my PSU. The voltage drop on the 5V line was
4.08, but it would slowly warm up to 4.95V, then the PC would behave
normally. I opened the PSU and there was a ruptured cap.

I've replaced it and the problems are all gone.

I guess it was not really a coincidence that the failure happened after
a major update. This isn't the first time an `emerge -pvuDN world`
killed my computer. :-)

Dan

On 09/13/2012 07:20 PM, Daniel Frey wrote:
 On 09/12/2012 09:49 PM, Chris Stankevitz wrote:
 On Wed, Sep 12, 2012 at 5:18 PM, Daniel Frey djqf...@gmail.com wrote:
 So about a month ago I decided to update my kernel to the dreaded 3.x
 series. My old 2.6.x kernel ...
 FYI Linus Torvalds says there was no change between 2.6 and 3.0.  A quote:

 So what are the big changes?  NOTHING. Absolutely nothing. Sure, we
 have the usual two thirds driver
 changes, and a lot of random fixes, but the point is that 3.0 is
 *just* about renumbering, we are very much *not* doing a KDE-4 or a
 Gnome-3 here. No breakage, no special scary new features, nothing at
 all like that.

 You can read his entire letter here:
 https://lkml.org/lkml/2011/5/29/204

 Chris
 When I updated, I knew about changes in 3.2 that affected USB keyboard
 wake in suspend ( mostly how it deals with acpi. Most of the stuff
 moved to /sys/devices, the normal /proc/acpi/wakeup didn't really do
 anything.) This affected many users over many distros.
 
 It also changed how lirc works, although that happened around 2.6.38??,
 so my htpc frontend is still on 2.6.32. When I tried updating that
 machine to 3.0, nothing worked and I spent about a day troubleshooting
 it before I put the image I took of it before I upgraded it back on.
 
 Dan



Re: Re: [gentoo-user] Update to newer kernel completely hoses suspend

2012-09-16 Thread Daniel Frey

On 09/15/2012 03:26 PM, Mick wrote:
 I was also replacing capacitors last weekend.  It is a good idea to upgrade 
 them if there are alternatives of a higher maximum temperature as they will 
 probably last longer.  A belts  braces approach is to add another/larger 
 case 
 fan to keep the in-case temperatures lower.

Well, after I replaced the cap, I decided to get a better power supply
anyway. The one that died was an OCZ 1010 W supply, which is way too
much for this machine. I used to have 12 hard drives in here
(Thermaltake Full Armor), but a few years ago I built a server to do
those tasks. I replaced it with a platinum 650 W rated supply. The new
PSU looks like it's built a lot better.

I already have three 12 cm fans that are controlled by the BIOS. I've
had really poor luck with OCZ anything (to the point that I won't buy
anything they make anymore.)

Dan



Re: Re: [gentoo-user] Update to newer kernel completely hoses suspend

2012-09-16 Thread Daniel Frey
On 09/15/2012 03:29 PM, Dale wrote:
 Daniel Frey wrote:
 Well, it turns out it was my PSU. The voltage drop on the 5V line was
 4.08, but it would slowly warm up to 4.95V, then the PC would behave
 normally. I opened the PSU and there was a ruptured cap.

 I've replaced it and the problems are all gone.

 I guess it was not really a coincidence that the failure happened after
 a major update. This isn't the first time an `emerge -pvuDN world`
 killed my computer. :-)

 Dan


 
 *cough cough*  Maybe you need a better or more powerful power supply? 
 If that cap went bad, you could have some others that are ready for the
 same problem.  I'd at least be on the look out for a new P/S.  The next
 one could go out and take a mobo or something with it.  That would be
 bad for sure. 
 
 Just a thought.
 
 Dale
 
 :-)  :-) 
 

After I changed the cap I decided to get a new PSU anyway. I went with
better (650 W Antec Platinum) rather than more powerful. The old one was
already 1010 W, by a manufacturer whom I don't trust any longer.

Dan



Re: [gentoo-user] MTP auto-mount? (Kindle Fire HD)

2012-09-18 Thread Daniel Frey
On 09/18/2012 10:37 AM, Mark Knecht wrote:
 Hi all,
Are there any known tricks for auto-mounting an MTP device? I think
 this stuff is used on some newer Android phone so I'm hoping someone
 has a nice solution.

MTP is used on a quite a few newer Android devices, including my Nexus
7. I haven't found an automount solution yet, but it is possible to
create an fstab entry, though

 
My wife decided to buy the new Kindle Fire HD based on our good
 experience with the original Kindle Fire. The new device is very nice
 - faster, nicer screen, better networking, etc. - but no longer
 presents itself as a USB Mass Storage device like my older Kindle
 Fire. Rather it uses Media Transfer Protocol. (MTP) I've managed to
 get it mounted using a package from the poly-c overlay called jmtpfs.
 Info is located here:
 
 http://research.jacquette.com/jmtpfs-exchanging-files-between-android-devices-and-linux/
 
I've copied some movies over and they play fine on the new device
 but it's all by-hand manual mounting, etc. When the device is plugged
 in I get this sort of info in dmesg:
 
 [15720.370654] usb 2-2: new high-speed USB device number 4 using ehci_hcd
 [15720.490935] usb 2-2: New USB device found, idVendor=1949, idProduct=0007
 [15720.490940] usb 2-2: New USB device strings: Mfr=2, Product=3, 
 SerialNumber=4
 [15720.490944] usb 2-2: Product: Kindle
 [15720.490947] usb 2-2: Manufacturer: Amazon
 [15720.490949] usb 2-2: SerialNumber: REMOVED
 
 and based on one post I read for Ubuntu (or maybe Arch - I don't
 remember) I've created this udev rule:
 
 mark@c2stable ~ $ cat /etc/udev/rules.d/51-android.rules
 UBSYSTEM==usb, ATTR{idVendor}==1949, ATTR{idProduct}==0007, MODE=0666
 mark@c2stable ~ $

I documented what I had to do to mount my Nexus 7 on the forums, under
my own Nexus 7 thread, although now that I think about it, I don't think
I put an fstab entry in it. I do have one in my /etc/fstab, though:

mtpfs  /mnt/nexus7  fuse  user,noauto,allow_other  0 0

Make sure the mountpoint will be writeable.

Anyway, it's all usable but a bit clumsy. Is there a sensible way I
 can have the device recognized and mounted via rules in fstab? (Or any
 other fixed file?)

I haven't looked to see if there's a way to automount it yet though.

 
 Thanks,
 Mark



Re: [gentoo-user] Re: android and mtp

2012-12-22 Thread Daniel Frey
On 12/22/2012 03:32 PM, Grant Edwards wrote:
 On 2012-12-21, Neil Bothwick n...@digimed.co.uk wrote:
 On Fri, 21 Dec 2012 16:19:10 -0600, Paul Hartman wrote:

 I think you can use mtpfs and then browse it like any other disk.
 
 
 I found that to be rather fragile, jmtpfs works far better for me, with a
 Galaxy S3 and a Nexus 7.
 
 I couldn't get mtpfs to work either, and I've seen a lot of reports
 that it's flakey.
 
 I second the recommendation for jmtpfs (I'm using version 0.4).  I've
 had zero problems with my Nexus Galaxy and jmtpfs.
 

I really struggled with my Nexus 7 and mtpfs. I did finally get it to
work, posted under the Nexus 7 thread on the forums:

http://forums.gentoo.org/viewtopic-p-7135656.html#7135656

I was getting a reliable connection and 8-9MB/sec transfer rate to my
device. I had to try all sorts of things to try to get the thing to
work. Miraculously, I got it to work after trying many things.

I specifically had:

* Searching for mtpfs ...
[IP-] [  ] sys-fs/mtpfs-1.0:0


installed.

I put an entry in /etc/fstab and manually mount it when needed:
mtpfs   /mnt/nexus7 fuse
user,noauto,allow_other 0 0

I remember trying for weeks to get this to work, I don't know if I just
lucked out.

Dan



Re: [gentoo-user] Re: android and mtp

2012-12-24 Thread Daniel Frey
On 12/23/2012 03:22 PM, luis jure wrote:
 well, it seems i have been very lucky indeed. i just emerged jmtpfs as per
 mark's suggestion, and it just worked. i just created a /media/galaxy
 directory, and an entry in fstab (like yours, but with jmtpfs instead of
 mtpfs) and that was it. now i can simply mount /media/galaxy.
 
 and the best, for those of you using xfce and thunar, in the multimedia
 tab of preferences - advanced - volume manager, i clicked the portable
 music players check box, and added the command mount /media/galaxy/.
 now when i connect my phablet it is automatically mounted, and i can
 umount/eject it from thunar. couldn't be easier, a perfect solution for my
 needs!
 
 
 best,
 
 
 lj
 

I just removed mtpfs and installed jmtpfs from the poly-c overlay, in
order to get access to my external SD card in my new Galaxy S3. It was
far easier to get to work than mtpfs - and so far jmtpfs hasn't
segfaulted yet. Apparently mtpfs only sees the internal SD and not the
external one.

Trying to get some music on there so I can bring my bluetooth speaker to
work so I have something to listen to while I work.

It's just me so I don't care too much about automounting, I just put an
entry in /etc/fstab and mount it manually when I need to update something.

Dan



Re: [gentoo-user] Any UPS recommendations?

2013-01-08 Thread Daniel Frey
On 01/08/2013 09:32 AM, Paul Hartman wrote:
 On Tue, Jan 8, 2013 at 11:27 AM, Paul Hartman
 paul.hartman+gen...@gmail.com wrote:
 On Tue, Jan 8, 2013 at 7:01 AM, Walter Dnes waltd...@waltdnes.org wrote:
   I think my UPS is dying.  Time to get a new one.  It's been years, so
 there may be new tech out there I don't know about.  My normal usage is
 * 1 LCD monitor 24
 * 1 (sometimes 2) desktop PCs connected to the monitor
 * 1 ADSL router/modem

   What brand and VA rating would people recommend.  The stuff I'm
 concerned about is the 2 or 3 times a year I get power flickers, or a
 short outage.  And also, if power is out for more than 5 minutes, and
 the battery is running low, I want the PC to be able to sense that and
 execute /usr/sbin/hibernate

 I personally have a Cyberpower 1350VA (with fancy LED display to show
 current load, estimated time remaining, etc.). It is supported by NUT
 in linux so my box can do a clean shutdown when the UPS battery is
 running low. Running my big PC (with 7 HDDs RAID) it gives me around
 30 to 45 minutes of life on battery before the shutdown kicks in. My
 power outages at my house are generally either 5 seconds, or
 hours/days with nothing in-between. :)
 
 I will also add I had an Ultra brand UPS before (actually made by
 Powercom), which was extremely cheap, I'm talking about $79 shipped
 for 1500VA UPS, and it spontaneously stopped working one day, just
 outside of the warranty period. It was not supported by NUT, the linux
 software required binaries instealled to /etc and also to write its
 logs to /etc and generally did not work well anyway. I will avoid
 Powercom/Ultra UPS in the future.
 
 At work we use APC brand UPS and they generally seem to work very
 well, though they tend to be quite expensive.
 

(Speaking from my own experience over the last 15 years)

If you have two desktop PCs plus monitor and switches I would try to get
1500VA or more.

I have tried Tripp-Lite, Cyberpower, and APC. So far, the best luck I've
had is with APC.

I started out with APC initially (small unit, 350VA) and paid the
premium price. The second and third time around (not replacing, needing
new UPSs) I tried other brands. First the Tripp-Lite, it was OK but a
year and a half later it just died with no warning. Got a replacement
battery and still no go. So I bought a Cyberpower UPS. This one lasted
almost two years, and when the power went out the first time it worked -
but the second time it went out when the power came back the UPS fried
and it unfortunately took out my PSU, motherboard, and hard drive. For
some reason the monitor survived... and no, I did not have any
high-amperage devices attached (printer is in a different room.)

Anyway, after that experience, I stuck with APC. I currently have four
of them, a little 350VA guy for my modem and switches, and 3 1200VA
models. These are old now, bought in 2004, and other than having to
change one battery in one of the units, they all still work. Nine years!

I also recommend APC based on my own experience. Yes, they're more
expensive (in some cases 50% more) than others, but longevity seems to
be great. Plus you can use apcupsd for monitoring in linux.

We also use APC at work. While a few have had their batteries changed,
most of the units themselves are at least 10 years old.

Dan



Re: [gentoo-user] Any UPS recommendations?

2013-01-09 Thread Daniel Frey
On 01/08/2013 11:24 PM, Walter Dnes wrote:
   Thanks to you, and others, for all the info.  And thanks for the
 apcupsd ebuild.  BTW, what does mailx do in the ebuild?  Send an email
 about an outage?
 

Yes, it sends email notifications. I currently have ssmtp set up to send
mail to my gmail account - when apcupsd detects a power outage/restore,
it sends me email indicating so.

Dan



Re: [gentoo-user] Redux: Any UPS recommendations?

2013-01-11 Thread Daniel Frey
On 01/10/2013 04:21 PM, Walter Dnes wrote:
 On Tue, Jan 08, 2013 at 08:01:47AM -0500, Walter Dnes wrote
 
   I got an APC Back-UPS BX1300G-CN from the local Staples.  No worry
 whatsoever about overloading this baby.  I'm currently running a
 torture test with the monitor, the modem, and both PC's running.
 They're both doing an update.  I set things up so that both are building
 gcc at the same time.  Even so, the load indicator is only lighting up 2
 of 5 bars, indicating approximately 40% of max load.  It might've been a
 different story years ago back in the days of the Pentium 4 or AMD space
 heaters, plus add-on video cards.
 
   Being the geek that I am, I did RTFM the docs that came with the UPS.
 It has an option to decide how much to allow voltage to vary before
 switching over to battery power.  I selected the narrowest range, i.e.
 the sensitive electronics setting.
 
   One question about the configuration of apcupsd; what do I have to do
 get it to execute /usr/sbin/hibernate when hydro is out, and the
 battery is running low?
 

I've never used hibernate. I would imagine that that apcupsd would have
a hook. I googled quickly and found an ArchWiki article that discusses
it. Apparently you can create a symlink and apcupsd will use it rather
than the usual shutdown process.

Disclaimer: I have not tried it myself.

Dan



[gentoo-user] Feeding new versions of mdadm to genkernel?

2013-02-04 Thread Daniel Frey
Hi all,

It seems that the genkernel team did the switcheroo with genkernel.

I used to build an initramfs with a newer mdadm by putting:

MDADM_VER=3.2.6

in genkernel.conf and copying the related tarball to /var/cache/genkernel.

I discovered a bit of a problem, all that's been removed in the latest
genkernel, and I don't see any obvious notes or new config files. Anyone
know how to do this?

Dan



[gentoo-user] pam_get_uid: no such user

2013-02-13 Thread Daniel Frey
I updated my server a while back, and just recently I noticed this in
/var/log/messages:

Feb 13 11:26:14 coretwoduo login[25575]: pam_tally2(login:auth):
pam_get_uid; no such user

I have thousands of entries in my logs. It doesn't seem to  prevent me
from logging in though.

I have figured out that it's looking for a user 'auth'? I don't see that
on my system.

Is this a misconfiguration of pam? Or update gone wonky? I've never seen
this before.

Dan



Re: [gentoo-user] Re: pam_get_uid: no such user

2013-02-13 Thread Daniel Frey
On 02/13/2013 02:51 PM, walt wrote:
 
 For sure there is no user named auth on my machines, so something must be
 wrong somewhere.  Just for fun I ran emerge -p /etc/pam.d/ and got this:
 
 #emerge -p /etc/pam.d/
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 [ebuild   R] sys-auth/pambase-20120417-r1 
 [ebuild   R] sys-apps/shadow-4.1.5.1-r1 
 [ebuild   R] net-mail/mailbase-1.1 
 [ebuild   R] app-admin/sudo-1.8.6_p6 
 [ebuild   R] sys-auth/polkit-0.110 
 [ebuild   R] sys-apps/openrc-0.11.8 
 [ebuild   R] net-print/cups-1.6.1 
 [ebuild   R] net-misc/openssh-6.1_p1-r1 
 [ebuild   R] net-fs/samba-3.6.12 
 
 I mention this mostly because I learned very recently that emerge will
 accept a directory name and rebuild all of the packages that install
 files there.  Maybe it won't help you but I'm looking for any excuse
 to use that new trick :)  (Some wise gentooer posted that revelation
 here in the last month or so and I can't recall who it was, sorry.)
 

Well, I did some poking around and googling, and it does appear like a
configuration issue. I'm in the middle of syncing right now, hopefully
an update will fix it.

Others reported issues of not being able to log in at all.

One other thing I noticed is my crons stopped running around the same
time, I'll bet it's related.

Dan



Re: [gentoo-user] Re: pam_get_uid: no such user

2013-02-13 Thread Daniel Frey
On 02/13/2013 02:51 PM, walt wrote:
 
 For sure there is no user named auth on my machines, so something must be
 wrong somewhere.  Just for fun I ran emerge -p /etc/pam.d/ and got this:
 
 #emerge -p /etc/pam.d/
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 [ebuild   R] sys-auth/pambase-20120417-r1 
 [ebuild   R] sys-apps/shadow-4.1.5.1-r1 
 [ebuild   R] net-mail/mailbase-1.1 
 [ebuild   R] app-admin/sudo-1.8.6_p6 
 [ebuild   R] sys-auth/polkit-0.110 
 [ebuild   R] sys-apps/openrc-0.11.8 
 [ebuild   R] net-print/cups-1.6.1 
 [ebuild   R] net-misc/openssh-6.1_p1-r1 
 [ebuild   R] net-fs/samba-3.6.12 
 
 I mention this mostly because I learned very recently that emerge will
 accept a directory name and rebuild all of the packages that install
 files there.  Maybe it won't help you but I'm looking for any excuse
 to use that new trick :)  (Some wise gentooer posted that revelation
 here in the last month or so and I can't recall who it was, sorry.)
 

I've poked into this a bit more, and every 60 seconds 5 attempts at
logon are being made. I am thinking that the install is corrupted now -
I had a SSD fail in this machine, and I was able to recover the data off
of it. I'm now thinking that maybe wasn't such a good idea...

I've tried disabling cron and it still does it, and my crons are not
running still, so I'm thinking something is borked on the box.

This weekend I'll reformat  reinstall.

Dan



Re: [gentoo-user] pam_get_uid: no such user

2013-02-14 Thread Daniel Frey
On 02/13/2013 08:56 PM, Stroller wrote:
 
 On 14 February 2013, at 04:13, Daniel Frey wrote:
 ...
 I've poked into this a bit more, and every 60 seconds 5 attempts at
 logon are being made… This weekend I'll reformat  reinstall.
 
 Excuse me if this is a dumb question, but does this machine have any ports 
 open to the internet?
 
 This thread reminds me of how we sometimes hear of logfiles full of many ssh 
 attempts made by script kiddies and botnets.
 
 Stroller.
 
 

This particular machine doesn't have ssh/xinetd or the like routed from
outside the local LAN.

I scoured through the logs and the problem started Jan 29th (this is the
day my SSD died.)

I have set up xinetd to spawn remote desktop sessions to X (again, not
from outside the LAN) and I noticed that these errors started right
after the first kernel boot from the replacement drive (rust-based, but
should make no difference.) The errors started immediately after xinetd
started.

I am thinking that the data I recovered from that SSD was not so reliable.

I think I'm going to oneshot libtool and gcc and do an emerge -e world.
I'll then check my xinetd configs. If that doesn't work I'll have to
reformat  reinstall (which will be a pain in the ass, this machine is
also my mythtv backend!)

I went through netstat and checked  doublechecked my router and there's
no forwarding of ports related to ssh or the like. I do have on port
forwarded for rtorrent but that's it.

At this point I'm 99.99% positive it's related to my SSD crash.

Dan



Re: [gentoo-user] Delayed update semantics

2013-02-14 Thread Daniel Frey
On 02/14/2013 11:26 AM, James wrote:
 Hello,
 
 Context: Stable Systems with a few newer packages
 (unmasked) in portage.
 
--snip--
 
 So, my latest ideas is to sync up and then wait one week
 before acutally installing those new packages. This would
 allow the fodder that the good folks on this list catch,
 bitch about (um, I mean file bug reports) and fix, to 
 occur first; then I can complete the package update
 cautiously avoiding an emerge sync.

I suppose you could set up a weekly cron job (say on a Saturday) to do
something like:

emerge -fuDN world  proposed_change.txt

Then a few days later (say Wednesday?) email that file to yourself so
you know what changes are being proposed. This will give you a
snapshot in email of changes week-to-week. I've done this before and
you'll just get output like this (in this case, I did mythtv only, not
world):

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

Calculating dependencies   done!
[ebuild   R   ~] media-tv/mythtv-0.26.0_p20130121


You can then manually apply the updates.

 
 But when you emerge sync if to do the updates immediately, they'll be
 the latest packages. If I do a emerge sync and wait
 7 days to begin updating the packages, I'll be delayed
 by one week, and have a one week  of buffered fixes for added
 problem filtering. But those fixes might not be available
 without a fresh emerge sync?

Yep, but if you set up an email above, you'll know which versions are
proposed and you can even search for problems beforehand. Additionally,
because you now have an email copy of it, you could probably set up
grep/awk/head/tail/etc to strip out everything but the package prefixed
with an '=' so it only pulls those packages. This way even if it syncs
again on its cron, you'll still have a list of packages, but this
doesn't help if the sync removes existing packages from portage (which
can happen.)

 
 
 When time permits I CAN CHOOSE to emerge sync and then immediately
 update the packages and parse through the issues mostly. Call
 this the stable-stable approach to gentoo updates.

Yep, but it's still work. Especially if you forgot one week and have to
update the packages manually.

 I'm increasingly managing more Gentoo systems, particularly embedded
 and server based gentoo systems and that is the source that compounds these
 time-sink-issues for me.  Maybe some external-integrated management approach
 such as CFengine is my answer?

CFEngine? I didn't even know what that was until now. I've usually just
used tools readily available on most installs that didn't require extra
software.

Dan




Re: [gentoo-user] pam_get_uid: no such user

2013-02-14 Thread Daniel Frey
On 02/14/2013 04:15 PM, Adam Carter wrote:
 This particular machine doesn't have ssh/xinetd or the like routed from
 
 outside the local LAN.
 
 
 Unless someone made a mistake with the config somewhere. Run tcpdump to
 be sure.

I just installed tcpdump and checked. During the burst of 5 login
attempts there's no network activity. I tried both interfaces.

It must be something local on the PC that's trying to get access, at
least I know it's not a remote attack.

Dan



Re: [gentoo-user] pam_get_uid: no such user

2013-02-15 Thread Daniel Frey
On 02/14/2013 04:15 PM, Adam Carter wrote:
 This particular machine doesn't have ssh/xinetd or the like routed from
 
 outside the local LAN.
 
 
 Unless someone made a mistake with the config somewhere. Run tcpdump to
 be sure.

Well, an `emerge -1 libtool glibc gcc  emerge -e world` fixed the
problem completely. Now that I went through that I'll have to get a
proper backup!

Dan




Re: [gentoo-user] Restart frozen X

2013-02-27 Thread Daniel Frey
On 02/26/2013 07:18 PM, Joseph wrote:
 I'm running Nvidia driver: 310.32 with my GeForce GTS 450 kernle-3.1.6
 
 but I've noticed it freezes my screen once a day or ever second day.
 Mouse is moving but no icon is responding, nor can I use the keyboard
 (all frozen).
 
 I can login to the system over ssh.  I've tried to restart/zap xdm it
 doesn't help.
 What else can I do to restart X?
 

If downgrading nvidia-drivers doesn't help check your power supply. My
computer exhibited this issue a while back because the voltages went all
wonky and the hardware really didn't like it - I could still ssh in from
my tablet but the entire computer appeared frozen.

If I just ran at the console (ie not starting X) the computer would work
fine all day.

I don't know what nvidia card you have but mine requires two extra power
connectors but the PSU just couldn't supply enough power to keep the GPU
stable.

Dan



Re: [gentoo-user] problems with kde 4.10.0

2013-02-27 Thread Daniel Frey
On 02/26/2013 07:13 PM, luis jure wrote:
 
 hello list,
 
 i use xfce, but i have several kde applications (k3b, digikam, tellico).
 after upgrading to kde 4.10.0 i had problems with all my kde apps. 
 
 i receive similar error messages saying that the application couldn't
 create the I/O slave and Klauncher returned: Error loading «kio_file»
 
 after downloading to 4.9.5 everything went back to normal.
 
 has anyone experienced similar problems?
 
 
 best,
 
 
 lj
 

Have you tried updating your whole system and possibly a revdep-rebuild?

I remember one KDE upgrade I did quite a while ago did something like
that and revdep-rebuild fixed it. I think it had to recompile kdelibs
and something else but your case may be different.

Dan



Re: [gentoo-user] wanrouter modprobe

2013-03-07 Thread Daniel Frey
On 03/07/2013 09:23 AM, Tamer Higazi wrote:
 Hi people!
 I have tried to install the latest release of wanpipe through the
 freeswitch overlay, which I did so far successfully. Shortly I have
 realised, that the wanrouter module is not loadable. When I try to
 load it I get the following error:
 
 office / # modprobe wanrouter
 modprobe: ERROR: could not insert 'wanrouter': Exec format error
 
 
 What could it be?!
 

It sounds like the kernel doesn't know how to run the binary. I don't
have experience with this particular error, but maybe running

`file wanrouter.ko`

and checking to see what it says may be of help.

It should tell you what executable format it is using, then you'd need
to cross-reference in the kernel .config to make sure you have support
for that executable format compiled in.

Dan



Re: [gentoo-user] stage3 only for i486?

2013-04-02 Thread Daniel Frey
On 04/02/2013 12:17 PM, Alan McKinnon wrote:
 
 Oh, and gentoo is fast is a nono swear word these days. That's ricing
 :-) Nowadays we say the benefit of gentoo is USE so you get what *you*
 want :-)
 

When I'm asked, I say that gentoo is extremely flexible and can be
tailored in almost infinite ways depending on its application.

It's why I'm still using it on the desktop, maintenance time be damned.
I've tried other distros and always come back to gentoo. The lack of
flexibility with other package managers (or lack of being able to
replace the default package manager) on other distros is very
disappointing. Guess I've been spoiled too much...

Dan




Re: [gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-02 Thread Daniel Frey
On 07/02/2013 07:23 AM, Grant Edwards wrote:
 On 2013-07-01, Grant Edwards grant.b.edwa...@gmail.com wrote:
 
 
  2) Unplug or power down the firewire drive when booting. 
 

I had this problem on my Intel motherboard, and found out you can
disable booting from external drives. Boot to removable devices or
similar in the BIOS. Failing that, changing the boot order so that the
firewire/USB device is at the very end of the boot list may help your
situation.

 
 Number 6 (fixing the kernel) is The Right Thing To Do(tm), but it's a
 bit out of scope for the momement.  The early code in the kernel
 obviously knows how to read partition tables and also knows about the
 relevent file system, so I'm a bit baffled why it can't look at the
 file system label.
 

Is CONFIG_EDD set?

CONFIG_EDD:


  Say Y or M here if you
want to enable BIOS Enhanced Disk Drive Services real mode BIOS calls to
determine which disk
BIOS tries boot from.  This information is then exported via sysfs.


Dan



Re: [gentoo-user] I don't want portage to update Libreoffice......

2013-08-10 Thread Daniel Frey
On 08/10/2013 09:27 AM, Andrew Lowe wrote:
 Hi all,
 As per usual an update of Libre Office is failing and causing all
 sorts of build troubles. I have an install, the previous version,  of
 Libre Office working so how do I stop portage from trying to update to
 the latest.
 
 
 [ebuild UD ] app-office/libreoffice-4.0.4.2 [4.1.0.1]
 
 What do I have to fiddle so that portage won't want to upgrade
 libreoffice? This is stopping my -NuD world from completing so I need
 to suppress libreoffice for the time being and come back to it later.
 
 Any thoughts, greatly appreciated,
 
 Andrew
 

You can use the --exclude parameter (I think?) and it will ignore it for
the one command, then after everything is updated you can solve it
further. Try:

emerge --exclude app-office/libreoffice -NuD world

This is not a permanent change but it will allow you to complete your
update, then you can set the masking afterwards.

Dan



Re: [gentoo-user] {OT} image metadata and privacy

2013-09-05 Thread Daniel Frey
Hi Grant,

Yes, I just had to do this myself.

There are two packages: jhead and exiftool. The former does jpegs only.
I wound up using exiftool, there's a single command to strip all metadata:

exiftool -all= *.jpg

If I remember right that creates a copy of the file it processes.

You can use exiftool to list tags and also remove individual tags. I
used it to make sure there were no GPS tags in pictures from my phone.

Dan

On 09/05/2013 06:32 AM, Grant wrote:
 Has anyone found a way to completely sanitize images of all
 potentially privacy-invading metadata for posting online?  I recently
 discovered that there is actually an EXIF thumbnail image.  So if you
 have a photo and you crop it and post it online, the EXIF thumbnail of
 the original uncropped image is still there for all to see.
 
 - Grant
 




Re: [gentoo-user] {OT} Need a new server

2013-09-13 Thread Daniel Frey
On 09/13/2013 03:47 PM, Peter Humphrey wrote:
 On Friday 13 Sep 2013 14:47:35 Grant wrote:
 
 Would the hot spare be in case I lose 2 drives at once?  Isn't that
 extraordinarily unlikely?
 
 Not really. One fails and you don't notice for a while, or it takes a while 
 to 
 recover from it. Then a second one fails. You're up queer street.
 

I like to do RAID6 now because I've been burned by this. The hot spare
did work and automatically start rebuilding, but another drive failed
during the rebuild process. Not that RAID6 will help if three drives
fail, but hey.

Another thing I've read is that firmware bugs on SSDs can wipe out a
whole array. I suspect it is when the raid has all the same
manufacturer/model in it and a bug appears on multiple drives killing
the array. I can't remember the details but I do believe the rebuild
procedure causing lots of writes and the drives bug out because of all
the writes. I'll admit this is not something that I've directly seen but
you may want to consider it, maybe even having 2 sets of 2 different
models in the array. My google-fu is failing me, I can't find that
article where I read this.

Dan



Re: [gentoo-user] Re: New mobo change

2013-10-21 Thread Daniel Frey
On 10/21/2013 02:13 AM, Dale wrote:
 Tyan is a mobo I have heard good things about.  I think someone gave me
 a puter to repair once that had a ASUS mobo.  It seemed to be a nice
 mobo.  Pity the guys house caught fire from the central heat tho.  I'm
 open to ideas here. 
 
 Basically, I want to make sure this is going to meet my expectations for
 years to come.  If it won't, time to switch. 
 
 Thanks to all for the help.  I figured I was missing something in the
 kernel but wasn't expecting this, not from Gigabyte at least.
 
 Dale
 
 :-)  :-) 
 
 -- 
 I am only responsible for what I said ... Not for what you understood or how 
 you interpreted my words!
 

I also like the Gigabyte and ASUS motherboards. I was sticking with
Intel desktop and workstation boards but now they discontinued them back
to what I knew...

I've only got one recommendation for ASUS: Stay far away from their
gaming boards. They're unstable as hell.

I also have an ASRock motherboard (budget board) for one of my computers
around here, it's not a bad board either.

The only really bad experience I had was with ECS. Garbage boards.

Dan



Re: [gentoo-user] /etc/passwd entry query

2013-10-21 Thread Daniel Frey
On 10/21/2013 04:39 AM, J. Roeleveld wrote:
 Adam Carter adamcart...@gmail.com wrote:
 
 I probably haven't looked at this file for years, but it contains
 
 named:x:40:40:added by portage for bind:/etc/bind:/sbin/nologin
 #named:x:40:40:added by portage for bind:/etc/bind:/bin/bash
 
 #postfix:x:207:207:added by portage for
 postfix:/var/spool/postfix:/sbin/nologin
 postfix:x:207:207:added by portage for
 postfix:/var/spool/postfix:/bin/bash
 
 I've now changed postfix to nologin, and since then it has restarted
 cleanly and accpted new mail.
 
 Does anyone have similar in their passwd or is this weird?
 
 
 I have never seen comments in my /etc/passwd file.
 That would really cause some alarmbells to ring in my head.
 -- 
 Sent from my Android device with K-9 Mail. Please excuse my brevity.

I've seen comments like this when portage makes changes, specifically in
/etc/portage/package.* - usually when package atoms change. Don't know
why it would do that with /etc/passwd though. Maybe it's an ebuild bug?

Dan



[gentoo-user] NFS kernel bug

2013-10-26 Thread Daniel Frey
Just a note to other NFS server users -

There's a kernel bug that can cause unmounting an NFS share to segfault
(and not actually unmount anything.)

I had in in the kernel 3.10 version, perhaps even before that as I don't
update the kernel on my mythtv backend server that often.

It hangs the shutdown process with an oops and it will require physical
manual intervention to shut the machine down.

If you upgrade to 3.11.5 or greater the problem goes away.

I've been banging my head against the wall with this for over a week and
*finally* found a resolution after going through a lot of NFS searches
via Google.

Dan



Re: [gentoo-user] do subslots improve user-experience?

2013-11-02 Thread Daniel Frey
On 11/02/2013 05:04 AM, hasufell wrote:
 Another round of questioning the users here.
 
 more specifically:
 * how often do you experience useless rebuilds?

A few times a year. To put this in perspective, I try to do major
updates (-uDN world) once a month. I used to do this weekly but can't
now due to time constraints. I find once a month is not too long - still
updateable without headaches caused by waiting half a year or more...

 * do you really have a problem with running
 revdep-rebuild/haskell-updater/perl-cleaner etc after every emerge?

Nope, although I use @preserved-rebuild more.

 * do you think it's worth the effort to add more stuff to the PM, so
 that you don't have to run revdep-rebuild that often?

 * do you trust the other methods like subslots or preserved-rebuild to
 work reliably? (as in: do you still use revdep-rebuild?)

I still use RR after a major update as it occasionally picks up
something that @preserved-rebuild misses. Last time it happened was a
month ago, but I can't recall the package, it was something to do with
multimedia, like libass or similar (on one of my mythtv frontends.)

Dan



Re: [gentoo-user] Re: Video card with two ports.

2013-11-08 Thread Daniel Frey
On Nov 7, 2013 9:47 PM, Dale rdalek1...@gmail.com wrote:

 Mine isn't skewed to one side, it's just a fraction to large.  It seems
to be cut off by a few pixels all the way around.  Watching a movie tho, no
problem.  Using it for a puter monitor tho, slight issue.  To give a bit of
a idea, about 1/3 of the clock on the little panel thing at the bottom is
cut off.  The little K menu thing is missing about the same on both bottom
and left side.  You can see it but it just isn't all there like on my puter
monitor.

 Since I don't really plan to use it for a monitor, it's no biggie.  I
figure it could be that they just put to much plastic around the display
itself.  Sort of covered up to much of the screen.


Dale,

I am assuming this is a TV? All TVs apply overscan to inputs and that is
what you are seeing.

Most TVs made in the last five years have a way to turn that off, but it
varies. On my Samsung, I have to use the dvi/HDMI input and set the input
label to dvi/PC and overscan is then turned off for that input. It is
buried in the menu options but it doesn't explain what it does.

I have several mythtv frontends and found this solution about four years
ago when I replaced my living room TV.

Dan


Re: [gentoo-user] rfcomm0 interface missing

2013-12-05 Thread Daniel Frey
On 12/05/2013 03:04 PM, Mick wrote:
 The connection bails out.  I don't understand what the message Serial line 
 is 
 looped back. means.  Any ideas?

This usually means the host is just echoing everything back to the
client. Most times this means the host is not starting the session or is
waiting for something before it starts the session.

This could very well be something to with your ISP blocking tethering.

I can't really offer assistance otherwise, but figured I'd chime in
because I've seen this message before.

Dan




Re: [gentoo-user] new printer : any thoughts ?

2013-12-10 Thread Daniel Frey
On 12/10/2013 06:01 PM, Philip Webb wrote:
 My ancient printer's ink cartridge has finally dried up
  the mobo in my regular computer accepts only USB.
 I don't do much printing, but occasionally need a few pages.
 
 The local store has an HP Deskjet 2510 on sale this week.
 
 Does anyone have thoughts or suggestions ?
 

I got tired of dried out cartridges years ago, and bought a Dell colour
laser. It was humongous, I got rid of it last year. Then about two
months later I went to print something and went Oh, yeah...

I found a HP colour laserjet on sale for $145 (it was actually cheaper
than the entry level HP BW lasers at the time) and hooked it up using
hplip. That's probably a lot more than an inkjet, but if it costs you
$50 a page due to dried ink, a couple of times pays for a laser.

http://hplipopensource.com/hplip-web/models/laserjet/hp_laserjet_cp1025.html

At least I don't have to worry about cartridges drying up, and this
printer is a LOT smaller than the one I had.

As a bonus, I found out KitKat can print to this printer using the
included HP drivers, if that's an issue for you. Was weird printing a
recipe from my phone!

Dan



Re: [gentoo-user] Nut and networked UPS config

2013-12-15 Thread Daniel Frey
On 12/13/2013 10:56 AM, Tanstaafl wrote:
 Hello all,
 
 I have a network accessible UPS (Powerware 9150 with the network option
 installed), so am looking for tips on how to properly configure a gentoo
 VM running on ESXi to initiate a safe shutdown during an extended power
 outage via this network card.

I have an APC UPS and am currently going through this myself. (ESXi 5.1,
but I don't believe that matters.)

Generally the proper way to do this is have the monitoring tools
installed on a vMA VM monitoring the host. It doesn't look like
Powerware has anything to work directly with vMA VM. APC does have this
tool. It appears it tells the host to shut down the VMs running then the
host itself. This does require that the Power Off method on VMs are set
to 'Guest shutdown' and that vmware-tools is running on all virtual
machines, and that the Virtual Machine startup/shutdown sequence is
enabled and configured.

 Looks like nut has full support for this UPS, so hopefully it won't be
 too difficult...

It looks like it has full USB support but experimental snmp support. It
may not work at all.


 The host is a Dell R515, which does have an iDRAC6 Enterprise card in
 it, but I'm not sure if I can utilize the BCM to talk to guest VMs
 running under ESXi?

From what I've read that card is like a remote console, so I don't think
it can be used in that manner.

 
 Would appreciate any suggestions...
 

I haven't tried this myself, but if you can get the Gentoo VM to listen
to the UPS via snmp you may be able to enable ssh on the host itself and
send the host a halt command to shut down (there are security risks
leaving ssh running on the host!) and not actually doing anything on the
local VM at all, and letting the host shut the system down. This still
requires the Power Off methods are set  Virtual Machine
startup/shutdown sequence enabled and configured and vmware-tools are
installed on all virtual machines. If you don't install vmware-tools on
everything it's possible those VMs will not shut down properly and
possibly get corrupted.

You can test it with no VMs running at first (well, except the one
monitoring the UPS, make sure you have a backup) to make sure the host
shuts down, if that works, test it with a few running. Just make sure
you have backups of your virtual machines!

Dan






Re: [gentoo-user] re: nvidia GeForce 8400 GS temperature readings

2013-12-21 Thread Daniel Frey
On 12/21/2013 05:36 AM, Alexander Kapshuk wrote:
 I've set up gentoo on my desktop PC. I have a question about what
 temperature readings for the Nvidia GPU in question are considered to be
 safe. At the moment, the temperature readings for my GPU, as reported by
 the XFCE sensors plugin are 73 degrees C.
 
 Here's some info about my current set-up that might be helpful.
 
 lspci -v|grep -i vga
 01:00.0 VGA compatible controller: NVIDIA Corporation G86 [GeForce 8400
 GS] (rev a1) (prog-if 00 [VGA controller])
 

Those cards should be OK up to the mid-high 90s C in temperature. It
also depends if the card is passively cooled or not. I had a passively
cooled one of those cards and it ran in the high 80s to high 90s all the
time. I remember reading way back when the card actually does some
throttling between 110-120C. Another thing to note is that your model
cards typically didn't have a very broad cooling solution, it only has
fan on and fan off states.

I wound up strapping a 80mm fan to my passively cooled card to cool it a
little more. Yours is running quite a bit cooler than mine though.

Dan




Re: [gentoo-user] recommendation sought for external disk

2014-01-01 Thread Daniel Frey
On 01/01/2014 02:07 PM, gottl...@nyu.edu wrote:
 I was considering what seagate calls an expansion hard drive.  They
 are USB 3, but I will be using only USB 2.  The desktop is gentoo-only
 and I don't need any backup software from seagate.
 
 The models are STBVx000100 for x=1,2,3,4 TB.
 
 I understand the price capacity trade-off, but wonder if anyone has any
 experience with these drives.
 
 

Hi Allan,

I am currently using 11 of these drives (1TB model; STBV1000100)
connected via USB doing daily/weekly backups of infrastructure at work.
They're specifically used on mostly Windows servers via WSB.

They're written to quite often and have been on 24x7 since last January.
I did have a problem with one drive a month in but it was replaced and
have had no issues since.

Keep in mind these have no on/off switch and are literally an expansiond
drive, meant to be on all the time.

I've performed test restores to a VM and no issues. Performance is OK
even on USB2.

I have no complaints on these particular models (other than the lack of
a power switch), although I really should have purchased the 2TB models.
Oh well.

Dan



Re: [gentoo-user] disable numlock on netbook

2014-01-08 Thread Daniel Frey
On 01/05/2014 01:41 PM, Alan McKinnon wrote:
 I have Gentoo on a first gen Acer Aspire One. The teeny keyboard doesn't
 have a numpad, it's simulated by using the right-hand bunch of keys and
 you engage it with Fn-F11
 
 It's recently started booting up with the numpad on which is annoying at
 first login as my username is not a3an0  The Num LED is also off at
 this stage. There used to be a way to set numlock on or off in
 baselayout/openrc but now I can't find it. grep -r numlock /etc
 returns nothing relevant, and /etc/init.d/numlock is to enable it with
 no function to disable it (I have this script disable in default runlevel)
 
 How is this done these days?
 Should I call setleds in rc.local somewhere?
 
 

Are you booting into X? If you are try x11-misc/numlockx.

I think all you have to do is use `numlockx off` and it should turn it off.

I had to do that for my laptop, same problem.

Dan



Re: [gentoo-user] auvisio white star II

2014-01-15 Thread Daniel Frey
On 01/15/2014 07:01 AM, Silvio Siefke wrote:
 Hello,
 
 i have become this DVB-T USB Stick, i has installed the firmware and in 
 Kernel i has build in the driver. 
 
 siefke ~ $  cat /usr/src/linux-3.12.3-pf/.config | egrep AF9015
 CONFIG_DVB_USB_AF9015=y
 
 siefke ~ $  ls /lib/firmware/ | egrep dvb
 dvb-usb-af9015.fw
 
 I understand not why the Stick will be activated as Keyboard.
 
 siefke ~ $  dmesg | egrep DVB
 [2.948871] usb 1-3: Product: USB2.0 DVB-T TV Stick
 [3.362579] DVB: registering new adapter (Afatech AF9015 reference design)
 [3.375389] usb 1-3: DVB: registering adapter 0 frontend 0 (Afatech 
 AF9013)...
 [   10.313875] NEWMI USB2.0 DVB-T TV Stick: Fixing fullspeed to highspeed 
 interval: 16 - 8
 [   10.314387] input: NEWMI USB2.0 DVB-T TV Stick as 
 /devices/pci:00/:00:1d.7/usb1/1-3/1-3:1.1/input/input11
 [   10.314685] hid-generic 0003:15A4:9016.0001: input,hidraw0: USB HID v1.01 
 Keyboard [NEWMI USB2.0 DVB-T TV Stick] on usb-:00:1d.7-3/input1
 
 
 Has someone Idea how can i installed and use the DVB Stick?
 
 
 Thank you for help  Nice Day
 Silvio
 

That's not enough of the dmesg to determine if the device is loading
properly, although it looks like it could be due to it registering the
adapter.

In order to display something you'll need to use something like
vlc/mplayer[2] or mythtv compiled with the dvb flag.

Dan



Re: [gentoo-user] auvisio white star II

2014-01-15 Thread Daniel Frey
On 01/15/2014 12:52 PM, Silvio Siefke wrote:
 Hello,
 
 
 VlC is compiled with dvb. Mplayer want not compiled give error messages. 
 The Problem is that this stick is in System as keyboard. I take in and 
 change my keyboard layout. Wscan want not install. Hhh so much trouble
 for tv. Oh oh Linux sometimes so hard.
 
 Thank you for help  Nice Day
 Silvio
 

What's the output of `ls -lR /dev/dvb` ?

What's the output of `dmesg | grep -i af9015` ? Anything relevant there?

Have you tried to locate newer firmware?

Dan



[gentoo-user] Anyone using open-vm-tools w/ESXi?

2014-01-15 Thread Daniel Frey
Hi all,

I managed to drag several 3+ year old gentoo webserver installs to
current. That was an interesting experience. I'd say it was difficult
and time-consuming but not impossible. ;-) Believe me, they were kicking
and screaming the whole way.

These are all virtualized under ESXi now so I did some reconfiguration
and decided to add open-vm-tools for shutdown support through the host.
All items for vmware are built into the kernel, and the VMs are working
as they should.

Well, except for starting vmware-tools:

vmsvc[1297]: [ warning] [GLib-GObject] invalid (NULL) pointer instance

vmsvc[1297]: [critical] [GLib-GObject] g_signal_emit_by_name: assertion
`G_TYPE_CHECK_INSTANCE (instance)' failed


I've tried rebuilding glib but no luck. I haven't tried changing the USE
flags on glib as of yet (just thought of that now, actually...) It
doesn't seem to affect the host shutdown (which is what I initially
wanted) but it probably shouldn't be crashing. I have a feeling it may
have something to do with VMCI.

I have 5 or 6 gentoo installs running under ESXi, some were new (started
off a new stage3) and they all have this problem. It's not show-stopping
by any means, but has anyone found a solution? Google has not been so
helpful here as most reponses I've found affect Windows.

Dan



Re: [gentoo-user] Anyone using open-vm-tools w/ESXi?

2014-01-16 Thread Daniel Frey
On 01/16/2014 11:55 AM, Tanstaafl wrote:
 On 2014-01-15 9:11 PM, Daniel Frey djqf...@gmail.com wrote:
 
 Did you mean it doesn't seem to affect the GUEST shutdown?
 

Yes, the guest shutdown seems to still be working. I've tested both
manual (i.e. asking for a guest shutdown) and it works, and I've set up
my APC ups to shutdown the host and all VMs, again all working. If
you're interested in the howtos for the APC shutdown I think I have a
bookmark around somewhere.


 And do the tools actually successfuly start after those warnings?

Yes, as far as I can tell. Seems I can't copy and paste to/from my local
clipboard though when in vSphere. Maybe that's what's broken. SSH gets
me around that.

 
 This is something I'm getting ready to tackle myself so am very
 interested...
 
 My primary concern is that the host (ESXi 5.0) can safely shut down my
 gentoo guest. Obviously I too would prefer not to have any ugly
 warnings, unless they are indeed harmless.
 

So far it seems to be harmless. I put syslog-ng in the boot runlevel so
it doesn't clutter up the service startup.

I've tried an emerge -euDN world on one of the VMs with no results so
I'm pretty sure that it's something in the open-vm-tools package that's
not quite right. I also tried enabling VMCI to a VM to test, still no-go.

If you google it apparently it's cluttering up Windows event logs too,
it's not just linux guests.

Dan



Re: [gentoo-user] auvisio white star II

2014-01-16 Thread Daniel Frey
On 01/16/2014 02:13 PM, Silvio Siefke wrote:
 It run now, after i load other Firmware which linked in Ubuntu Forum. 
 The Firmware from portage for dvb has some probs with download files. 
 Should write as bug report or to package maintainer? 
 

For a couple cards that I have to use firmware the actual firmware files
are not in the ebuild, you have to find them on the internet. You can
file a bug, not sure how they deal with firmware issues. First thing I
do is update the firmware, I generally never use the included one as it
never seems to work.

Dan



Re: [gentoo-user] Anyone using open-vm-tools w/ESXi?

2014-01-16 Thread Daniel Frey
On 01/16/2014 01:35 PM, Jarry wrote:
 
 BTW if all you want is safe shutdown, it can be done even without
 vm-tools (which I personally do not like at all). In vSphere-client
 I have suspend instead of shutdown (current state with memory
 snapshot is saved), from ESXi you'd have to play a little with
 /sbin/shutdown.sh script (i.e. with ssh/keys to log into all VM
 and shut them down), and for power-interruption you can use NUT
 (which I find better than apcupsd or PowerChute, because there is
 native NUT-client for ESXi)...
 
 apart from apcupsd
 you can use NUT (which I find better, there is native ESXi-client).
 
 Jarry
 

I did some testing a while back, suspending took significantly longer
than just shutting down the VMs. In my case I needed the Guest Shutdown
to work.

I don't run any UPS monitoring software on any VMs, I use the vMA
appliance with the APC PCNS software to signal the host of a failure.
The host then shuts down the VMs then powers down itself.

Dan



Re: [gentoo-user] Anyone using open-vm-tools w/ESXi?

2014-01-17 Thread Daniel Frey
On 01/17/2014 05:10 AM, Tanstaafl wrote:
 
 One major reason is open-vm-tools requires modules to be enabled in the
 kernel, and .
 
 But... does NUT require modules? Or can I just compile in whatever I
 need? I generally have always run my servers without modules enabled (I
 know that open-vm-tools requires modules to be enabled), for security
 purposes (one less thing to worry about).
 

open-vm-tools also requires fuse, FYI. VMWare does have a lot of kernel
options in 3.10.25, which is what I upgraded the virtual machines to.
The only module that wasn't in the kernel was vmblock.

Dan




Re: [gentoo-user] Re: updating old box: segfaults with python

2014-01-17 Thread Daniel Frey
On 01/16/2014 08:07 PM, lovely2 wrote:
 I doubt this is a memory problem. I've just had the same problem with
 glibc-2.17 and python. I manually went back to glibc-2.16 and everything is
 fine again. I then tried re-emerging all the python versions with glibc-2.16
 installed and then re-emerged glibc-2.17 and had the same problem.
 
 After running strace on the python2.7. My best guess is that it is a kernel
  glibc-2.17 incompatiblity. The segfault happens near a mprotect
 operation, very early on.
 
 vault ~ # strace python
 -- snip -- 
 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
 0xb7462000
 set_thread_area({entry_number:-1 - 6, base_addr:0xb74626c0, limit:1048575,
 seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1,
 seg_not_present:0, useable:1}) = 0
 mprotect(0xb7658000, 8192, PROT_READ)   = 0
 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
 +++ killed by SIGSEGV +++
 Segmentation fault
 
 vault ~ # uname -a
 Linux vault 2.6.31-gentoo-r10 #1 SMP Sun Mar 7 14:35:15 EST 2010 i686
 Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz GenuineIntel GNU/Linux
 
 I'm upgrading to the latest gentoo-sources. Only thing i'm worried about is
 rebooting but all in the life of a gentoo user.

That could very well be (kernel issue with glibc-2.17.) I just upgraded
some 3 year old gentoo VMs and managed to get everything installed. The
kernel was the last thing I did have to upgrade, but I was on
gentoo-sources-2.6.32 and had no segfault problems.

From memory, I had to upgrade things in this order:
-run emerge --sync
-gcc (then switch to new version)
-emerge libtool, binutils, linux-headers, glibc (glib as a dependency
had to be masked to build, may have to solve some other blocks like a
fallocate64 error, i think i had to use `ac_cv_func_fallocate=no emerge
bintuils` so libtool would build?)
-rebuild gcc (advise from the gcc package - rebuild after glibc update)
-upgrade baselayout and openrc (inc. udev, module-init-tool-kmod, etc)
-perl (then run perl-cleaner)
-python (then remove all stale versions of 3.x and 2.x, switch active to
2.7)
-python-updater
-upgrade portage, portage-utils
-unmask things I'd individually masked and try to solve blocks emerging
world
-eventually world would run, make sure everything built
-run emerge-pvuDNe to make sure nothing was missed (something always is)
then upgrade those packages
-run emerge --depclean
-run emerge @preserved-rebuild
-run python-update  perl-cleaner
-run revdep-rebuild
-build  install new kernel (in my case 3.10.25)
-reboot

Damn, it works and it's up to date. Now I wish I could say that only
took an hour, but on the first machine it took me almost 10 hours
because I was almost always trying to work around blocks. The very last
one I got down to 7 hours as I knew exactly what I had to do.

The problem is it doesn't look like there's still an old 2.6 kernel in
the tree you can upgrade to so it might be difficult:

$ eshowkw gentoo-sources
Keywords for sys-kernel/gentoo-sources:
  | | u   |
  | a a   a   p s   | n   |
  | l m   r h i m m   p s   p   | u s | r
  | p d a m p a 6 i p c 3   a x | s l | e
  | h 6 r 6 p 6 8 p p 6 9 s r 8 | e o | p
  | a 4 m 4 a 4 k s c 4 0 h c 6 | d t | o
--+-+-+---
   3.0.101| ~ ~ ~ o ~ ~ o o ~ ~ ~ ~ ~ ~ | o 3.0.101   | gentoo
--+-+-+---
3.2.54| ~ ~ ~ o ~ ~ o o ~ ~ ~ ~ ~ ~ | o 3.2.54| gentoo
--+-+-+---
3.4.76| ~ ~ ~ o ~ ~ o o ~ ~ ~ ~ ~ ~ | o 3.4.76| gentoo
--+-+-+---
3.4.77| ~ ~ ~ o ~ ~ o o ~ ~ ~ ~ ~ ~ | o 3.4.77| gentoo
--+-+-+---
  3.4.| o o o o o o o o o o o o o o | o 3.4.  | gentoo
--+-+-+---
3.9.11-r1 | o ~ ~ o o ~ o o o o o o o ~ | o 3.9.11-r1 | gentoo
--+-+-+---
3.10.7| + + + o + + o ~ + + + + + + | o 3.10.7| gentoo
--+-+-+---
3.10.7-r1 | + + + o + + o ~ + + + + + + | o 3.10.7-r1 | gentoo
--+-+-+---
[I]3.10.17| ~ + ~ o + ~ o ~ ~ ~ ~ ~ ~ + | o 3.10.17   | gentoo
--+-+-+---
   3.10.25| ~ + + o + + o ~ + + ~ ~ ~ + | o 3.10.25   | gentoo
--+-+-+---
   3.10.26| ~ ~ ~ o ~ ~ o ~ ~ ~ ~ ~ ~ ~ | o 3.10.26   | gentoo
--+-+-+---
   3.10.27| ~ ~ ~ o ~ ~ o ~ ~ ~ ~ ~ ~ ~ | o 3.10.27   | gentoo

Re: [gentoo-user] open-vm-tools: seems to be working but...

2014-02-01 Thread Daniel Frey
On 02/01/2014 07:13 AM, Tanstaafl wrote:
 I'm getting an error I start it, but it says it starts:
 
 dinkumthinkum : Sat Feb 01, 09:52:46 : ~
  # /etc/init.d/vmware-tools start
  * /tmp/VMwareDnD: correcting mode
  * /proc/fs/vmblock/mountPoint: creating directory
  * checkpath: mkdir: No such file or directory
  * Mounting vmblock ...
 mount: mount point /proc/fs/vmblock/mountPoint does not exist[ !! ]
  * Starting vmware-tools ... [ ok ]
 dinkumthinkum : Sat Feb 01, 09:52:50 : ~
  #
 
 Also, vCenter Server also sees it as running on the Summary tab...
 
 I did try rebooting one last time, but it shows the same error when
 starting up automatically too...
 
 Anyone have any ideas how to resolve this? Or does it need to be resolved?
 
 Thx
 

vmblock needs fuse enabled in the kernel. I'm not sure if it needs a
module or not, I know my kernels use fuse as a module.

If fuse is set in the kernel already, then app-emulation/open-vm-tools
is not built with the 'fuse' USE flag.

Dan



Re: [gentoo-user] Anyone using open-vm-tools w/ESXi?

2014-02-01 Thread Daniel Frey
On 02/01/2014 05:05 AM, Tanstaafl wrote:
 Coming back to this now...
 
 Is there a list of all kernel modules that need to be installed for
 open-vm-tools?

Nope, but here's a list (through trial and error):

General setup  ---
  -*- Namespaces support  ---
[ ]   User namespace  (This needs to be UNchecked)

Processor type and features  ---
  [*] Linux guest support  ---

[*] Networking support  ---
  Networking options  ---
* Virtual Socket protocol
*   VMware VMCI transport for Virtual Sockets

Device Drivers  ---
  Misc devices  ---
* VMware Balloon Driver
* VMware VMCI Driver
  SCSI device support  ---
  [*] SCSI low-level drivers  ---
*   VMware PVSCSI driver support
  [*] Fusion MPT device support  ---
*   Fusion MPT ScsiHost drivers for SPI
  [*] Network device support  ---
[*]   Ethernet driver support  ---
  [*]   Intel devices
* Intel(R) PRO/1000 Gigabit Ethernet support
* Intel(R) PRO/1000 PCI-Express Gigabit Ethernet support
*   VMware VMXNET3 ethernet driver
  Graphics support  ---
* Direct Rendering Manager (--snip--)  ---
* DRM driver for VMware Virtual GPU
[*]   Enable framebuffer console under vmwgfx by default
* Support for frame buffer devices  ---
  [*]   Enable firmware EDID
  [*]   Enable Video Mode Handling Helpers
  [*]   Enable Tile Blitting Support
  [*]   VESA VGA graphics support
  * Sound card support  ---
*   Advanced Linux Sound Architecture  ---
  [*]   PCI sound devices (NEW)  ---
*   (Creative) Ensoniq AudioPCI 1371/1373

File systems  ---
  M FUSE (Filesystem in Userspace) support

A couple notes:
-Select 'Linux guest support' first or a lot of options won't be
 visible.
-There was a conflict with one of the VMWare drivers if namespace
 support is selected. I have forgotten which driver had the
 conflict.
-Storage: Defaults on ESXi use the mptspi driver. You can change
 the virtual machine to use PVSCSI.
-Audio: I haven't tried audio with ESXi. I would assume it's the same
 as the wiki article you linked.
-Networking: Newer versions of ESXi use e1000e; older use e1000.
 VMWare also can have its own driver selected; depends how the
 virtual machine is set up. With ESXi 5.1, if you use defaults it'll
 use either e1000 or e1000e.
-Display: If you want something other than 80x25 through vSphere use
 the vga= parameter on the kernel line. I use vga=773 and it works OK
 with vSphere, haven't tried vCenter.
-Don't forget to set the 'fuse' USE flag for open-vm-tools.

Most of this stuff I experimented with until I got a combination that
worked. You can also search for vmw in the kernel config to find VMWare
drivers.

Dan



Re: [gentoo-user] net.eth0 failed to start

2014-03-02 Thread Daniel Frey
On 03/02/2014 08:14 AM, Skippy wrote:
 Did an upgrade, prior to which all was working fine.  To figure out
 which packages upgraded I went to my emerge logs.  I thought there might
 be a clue there.  Here are the logs, and thus in my mind, a list of all
 the packages that were upgraded.
 
 --
 
 sys-fs:udev-210:20140225-162321.log
 
 ---
 
 After rebooting I get this at start up
 
 
 
 Bringing up interface eth0
 ERROR: Interface eth0 does not exist
 Ensure you have loaded the correct kernel module for your hardware
 ERROR: net.eth0 failed to start
 
 --

What's the output of `ifconfig -a` ?

What's the output of 'lsmod' ?

What's the output of `lspci -k` ?

Sounds like your network devices have been renamed.

Dan




Re: [gentoo-user] python-updater: updating cracklib forever...

2014-03-06 Thread Daniel Frey
On 03/06/2014 10:40 AM, Jarry wrote:
 
 If I understand it correctly, then -python means package is
 compiled *without* python-support. So a) it should not depend
 on python at all and b) recompilation does not change anything...
 
 Jarry
 

I wonder if python-updater can even tell the package is built without
the python USE flag. It sounds to me like it can't, and it notices that
modules are missing, so it adds it to the rebuild list.

Easy way to find out is emerge cracklib with the python USE flag
enabled. If python-updater gives an all-clear after that, maybe it's a bug?

Just a thought...

Dan



Re: [gentoo-user] Script to tar.tgz /etc, works run manually, broken when run from cron

2014-03-31 Thread Daniel Frey
On 03/31/2014 04:01 AM, Tanstaafl wrote:
 Hi all,
 
 Ok, this is really irritating me...
 
 I have a script that simply performs some backups. The commands are like
 this:
 
 # perform tar.tgz backup of /etc
 tar -czpvf $BKUP_DIR_etc/$BKUP_DateTime-dev-ecat-etc.tgz /etc
 
 When I run this script manually, it does what it is supposed to, and the
 resulting file is about 500K.
 
 When it runs from cron (roots crontab), it results in a 20 byte (empty)
 file.
 
 So what am I missing/doing wrong?
 

You need to use the full path to commands in your script or set an
environment variable. In my case using full paths to executables was enough.

i.e.

# perform tar.tgz backup of /etc
/bin/tar -czpvf $BKUP_DIR_etc/$BKUP_DateTime-dev-ecat-etc.tgz /etc

Dan




Re: [gentoo-user] virtual problem : how can I unmerge Nano ?

2014-04-28 Thread Daniel Frey
On 04/28/2014 07:32 AM, Philip Webb wrote:
 I never use Nano -- Vim or Ed are available in a raw terminal --
  would like to unmerge it, but Portage tells me
 that  virtual/editor  requires it  that  @system  requires  virtual/editor .
 
 How can I tell Portage that Vim or Ed satisfy  virtual/editor ?
 

Have you tried:

$ emerge -C app-editors/nano  emerge app-editors/vim virtual/editor

Dan



Re: [gentoo-user] planned btrfs conversion: questions

2014-05-12 Thread Daniel Frey
On 05/12/2014 08:04 AM, Marc Joliet wrote:
 There have been, however, plenty of
 other candidates that I *almost* put in a kill file, but didn't, because no 
 one
 has yet shown themselves to be simultaneously overly annoying and
 unknowledgeable.
 

Is that a challenge? ;-)

Dan




Re: [gentoo-user] What's with foomatic-filters and cups-filters?

2014-06-08 Thread Daniel Frey
On 06/08/2014 03:08 PM, Dale wrote:
 
 Every time I upgrade CUPS or hplip, I go to a Konsole and type in
 hp-setup as root.  A window pops up and I just set the printer up again,
 it's GUI based.  So far, that has worked.  Don't jinx it tho.  lol 

Yep, same here. I read a lot of horror stories getting it to work, and
when I first installed hplip it didn't do anything until I googled and
found I had to run hp-setup with elevated privileges. I haven't had any
issues printing - hplip prints great with my CP1025nw.

 
 If needed, I go to my web browser to CUPS and delete the printer first. 

I hate updating cups and hplip, I've masked newer versions and will only
update when I really have to. (Like another package needing a new
version of something-or-other.)

 
 Since I ran out of ink, I haven't printed in a while however, the same
 works on my brothers puter and he runs Kubuntu.  Well, was my brothers
 anyway.  :/

I'm using hplip on Ubuntu, Mint, and Gentoo.

Dan



Re: [gentoo-user] GCC upgrade can't run fix_libtool_files

2014-06-16 Thread Daniel Frey
On 06/16/2014 09:56 AM, Nikos Chantziaras wrote:
 Does someone know what causes the error? I got this when upgrading from
 GCC 4.8.2 to 4.8.3:
 
 Installing (1 of 1) sys-devel/gcc-4.8.3
  * gcc-config: Could not locate 'x86_64-pc-linux-gnu-4.8.2' in
 '/etc/env.d/gcc/' !
  * Running 'fix_libtool_files.sh 4.8.2'
  * Scanning libtool files for hardcoded gcc library paths...
  * gcc-config: Active gcc profile is invalid!
 gcc-config: error: could not run/locate 'gcc'
 :0: assertion failed: (gcc -dumpversion) | getline NEWVER)
 
 

It looks like you've upgraded gcc and removed the version that was
currently active.

What's the output of `gcc-config -l`?

It should look something like this:
$ sudo gcc-config -l
 [1] x86_64-pc-linux-gnu-4.7.3 *


The asterisk means it's active. If you see a list and none are active,
you need to set one.

Dan



Re: [gentoo-user] problem with nvidia card -- could it be hardware?

2014-06-20 Thread Daniel Frey
On 06/20/2014 12:31 PM, Alexander Kapshuk wrote:
 On 06/20/2014 11:58 AM, cov...@ccs.covici.com wrote:
 Hi.  I am using the nvidia GeForce GT 430 for years and suddenly within
 the last few days, if I start gdm, it gives me an error, no screens
 found and dumpss core and if I let it go it will keep dumping core and
 filling up my root partition.  It works with my frame buffer, but no
 longer with gdm or even startx.  So is this some kind of strange
 hardware glitch?  I did downgrade the nvidia driver, but no joy.

 Thanks in advance for any suggestions.

 You may want to take a look at this,
 http://forums.gentoo.org/viewtopic-t-858782-start-0.html, see if that helps.
 
 What is the version of your nvidia driver?
 
 Did the problem you're experiencing come about as a result of a recent
 nvidia driver, and/or xorg server update?
 
 As already suggested, having a look at your /var/log/Xorg.0.log may
 through some more light on what could be amiss.
 
 

Also, if it started out of the blue, check your other hardware. When my
power supply started to go, X would randomly crap out with No screens
found.

I'd let it sit for a few minutes and restart X and it would be fine.

Dan




Re: [gentoo-user] smartctrl drive error @60%

2014-06-25 Thread Daniel Frey
On 06/25/2014 10:44 AM, Rich Freeman wrote:
 
 Like I said, I'm certainly interested in any actual data that supports
 that drives sold to run 24x7 last any longer than desktop drives when
 run 24x7.
 

Anecdotal, but...

In 2008 I bought four 24x7 drives (500GB) and eight regular drives to be
used in raid. Out of the eight regular drives, six failed before 4 years
was up.

All of the 24x7 drives are still in use (although I don't remember which
machine(s) they're in now), six years later.

All Seagate.

I initially did do warranty replacement on the failed drives (all drives
had 5 year warranty back then), and out of the six replacements, four
failed a little over three months in.

At that point I went and bought a real battery backed raid card
(computer still has a UPS) with WD enterprise drives and no hiccups of
any kind in about two years. And disk performance is way, way up.

Dan



Re: [gentoo-user] OT: power requirement (WAS: smartctrl drive error @60%)

2014-06-26 Thread Daniel Frey
On 06/26/2014 09:19 AM, Frank Steinmetzger wrote:
 Gosh, power must be really cheap in your corner of the world (or is it just
 stupidly expensive over here?) I wouldn’t call 150 W “only”, especially for
 a 24/7 device. Or is that the maximum under load?
 

Where I am power 7.52 cents per kWh. However, if you go over a certain
amount per billing period (in my area it's 1376 kWh) the price increases
to 11.2 cents per kWh for anything above that limit.

In comparison to around the world, I know we are on the low end of power
cost.

When I build a PC, I don't even think anything about its power
requirements. Lately though I've been going to smaller form factors for
convenience, and due to this I can take advantage of better energy
efficiency. When I shop for appliances, etc. I do consider the power
consumption. I guess I'm strange that way.

Dan




Re: [gentoo-user] smartctrl drive error @60%

2014-06-26 Thread Daniel Frey
On 06/26/2014 05:57 AM, Alan McKinnon wrote:
 
 Take care of the environmental factors, and statistics fall in your
 favour making the odds good you'll get the life you expect
 

Yep, but sometimes crap just fails for no reason whatsoever. As an
example, my old house had central A/C and never went above 23.5 C in the
summer and was typically 19 C in winter. All machines on their own UPS
boxes. Oddly enough most failures I've seen were from drives on 24x7 and
for whatever reason I had to shut them down and they would not power up
again. I still lost a quite a few drives there, regardless.

Computer hardware fails. I just say shit happens and move on. ;-)

Oh, and I make sure critical stuff is in more than two places. What I
consider critical is likely less than 5% of my total storage.

Dan




Re: [gentoo-user] smartctrl drive error @60%

2014-06-26 Thread Daniel Frey
On 06/25/2014 08:54 PM, Dale wrote:
 Curious.  I hope I don't start a flame war here.  I have had WD, Seagate
 and I think there is a Samsung here somewhere, may be the one that is
 rolling over on its back now.  The one drive that failed a few years ago
 was a WD drive.  That said, all the other WD drives I have had just got
 to small to really use, and slow when SATA came out.  I'm partial to WD
 and Seagate still since I got good long term use out of those.  Based on
 your experience, you tend to be of the same opinion? 
 

Flame war on a mailing list? Nah, will never happen. :-)

We have over 100 workstations at work and so far the WD Blue drives fail
the most, Seagate second, Samsung third.

At home once I get a bad run of one manufacturer I usually get ticked
off and find another to switch to.

I originally used WD, then Maxtor, then Seagate, then Samsung, then WD
again... where I am now.

Dan




Re: [gentoo-user] resolv.conf is different after every reboot

2014-07-27 Thread Daniel Frey
On 07/27/2014 04:30 AM, Grand Duet wrote:
 
 and also the output of the rc-update show command?
 
 # rc-update show
  alsasound | boot
bootmisc | boot
   dbus |  default
  devfs |   sysinit
dmesg |   sysinit
fsck | boot
   hostname | boot
  hwclock | boot
 keymaps | boot
  killprocs |  shutdown
 kmod-static-nodes |   sysinit
local |  default
 localmount | boot
loopback | boot
 metalog |  default
modules | boot
   mount-ro |  shutdown
  mtab | boot
net.eth0 |  default
 net.lo | boot
  netmount |  default
  privoxy |  default
procfs | boot
root | boot
  savecache |  shutdown
   swap | boot
swapfiles | boot
  sysctl | boot
   sysfs |   sysinit
   termencoding | boot
  tmpfiles.dev |   sysinit
   tmpfiles.setup | boot
   udev |   sysinit
   udev-mount |   sysinit
   urandom | boot
 
 Everywhere above eth0 has been put instead of its udev predictable name.
 
 Do you think that I need
 carrier_timeout_eth0=20
 somewhere in /etc/conf.d/net ?
 

Have you tried disabling network hotplugging in /etc/rc.conf?

i.e. setting rc_hotplug=!net.*

Sounds like the interfaces are being brought up out of order.

Dan



Re: [gentoo-user] resolv.conf is different after every reboot

2014-07-27 Thread Daniel Frey
On 07/27/2014 08:08 AM, Grand Duet wrote:
 
 If eth0 starts after lo, then I have the right /etc/resolv.conf
 file, however if lo starts after eth0, then the DNS IPs in
 resolv.conf file are overwritten with dummy instruction
 for lo interface.
 
 But, now, after your suggestion, I have looked into
 my /etc/rc.conf file, and have found there the option
 rc_parallel=NO
 which softens my previous arguments a bit, but not completely:
 may be lo and eth0 are brought up not in parallel but in different
 order, anyway.
 

The first thing I do on any new build is disable network hotplugging in
/etc/rc.conf, as I've run into lots of problems, especially if you have
multiple network devices and need to bring them up in a specific order.
udev processes these items and apparently brings the interfaces up on
its own unless you tell it otherwise (the !net.* in rc.conf). I've just
gotten used to disabling that automagic because I want things to start
in a certain order and udev can mess that up.

During boot, you'll see something like 'processing events' and that's
when udev is automagically doing it's start. From what I recall, this
happens before the boot runlevel. So yes, it can mess things up as
you've seen.

I've never had the issue you have, even though I use a static ip, routes
and dns servers in /etc/conf.d/net, but I would presume that this is
just udev. FYI it doesn't always process things in the same order, as
I've experienced with udev and my TV tuner cards... it can be random.

Dan



Re: [gentoo-user] --exclude gentoo-sources

2014-08-01 Thread Daniel Frey
On 08/01/2014 01:19 PM, behrouz khosravi wrote:
 On Fri, Aug 1, 2014 at 12:58 PM, James wirel...@tampabay.rr.com wrote:
 Howdy,

 I know I can use this option to protect kernel sources I
 want to keep around, from  removal, via depclean.

 
 Well I not a proficient user, but I think that depclean wont remove
 packages from distfiles.
 At least what happened to me was that depclean removed the sources
 from /usr/src/ folder but the linux.xxx remained in the disfiles
 folder.
 

If you want to clean the distfiles directory, use eclean-dist. It scans
what you have installed and removes sources that you don't need. Use
`eclean-dist --help` for more info.

Dan



Re: [gentoo-user] Re: akonadi ... don't you just love it?

2014-08-12 Thread Daniel Frey
On 08/12/2014 12:31 AM, Neil Bothwick wrote:
 
 Yes, I think it was dev-qt/qtsql that broke MythTV. I notice that
 dev-python/mysql-python was rebuilt at the same time, so that must have
 been missed too, whereas dev-perl/DBD-mysql was re-emerged right after
 mysql.
 
 

It most definitely was, I just updated my backend and 3 remote frontends
and had this issue. Portage missed this completely, it was
revdep-rebuild that found this breakage and repaired it. From what I
remember there was a python sql package that wound up being broken too.

Dan



Re: [gentoo-user] SSD recmmendation / input

2014-08-29 Thread Daniel Frey
On 08/28/2014 09:54 PM, Joseph wrote:
 No, I wouldn't get 1TB SSD too expensive but something like 300GB I
 might consider it.
 Are they worth the investment? What brand do you have and how long?

I have several SSDs. I currently use Kingston, Crucial, and Intel.

A bit of background - I use a mythtv setup with multiple frontends. I
had a SSD in the backend but it failed after about two years with no
warning -- one day I noticed the frontends behaving strangely and found
out I couldn't log into the backend (via ssh or directly.) The server
sustained a lot of writes to the database daily, however, the actual
recordings were on rust disks.

It was a Kingston that failed, a 32GB model.

The Crucial and Intel I have are still relatively new, the Crucial being
a year and a bit old, and the Intel only a few days old. :-)

Speedwise, there's no comparison. Especially running emerge/compiling -
my frontend (equipped with an E8400 and 2GB RAM) with the Kingston SSD
beats my main workstation equipped with a rust raid10 (a QX9650 with 8
GB RAM) every time.

I have two recommendations for a new SSD user - 1) Flash the firmware to
a new version right away if available, and 2) Don't partition the entire
SSD if you can avoid it. Apparently SSDs will use unused space for wear
leveling - as an example I believe I only partitioned 20GB (out of a
64GB SSD) on my frontends. That's a bit excessive and you may not be
able to do that, but you get the idea.

Also make sure to use parted to partition so the partitions themselves
are aligned properly.

(Regarding the firmware update - my Crucial had one and I ignored it.
About 3 months later my laptop was acting weird and complaining about
the disk. I was lucky - I flashed the firmware and it was fine with no
data loss. Others are not so lucky...)

Dan



Re: [gentoo-user] installed Gentoo on SSD - no bootable device

2014-09-04 Thread Daniel Frey
On 09/04/2014 05:36 PM, Joseph wrote:
 When I installed grub2 I got no errors:
 grub2-install /dev/sda
 Installation finished. No error reported.
 

If you are trying to boot in EFI mode, you aren't installing it
correctly. That installed to the MBR in legacy mode.


Instructions are here: http://wiki.gentoo.org/wiki/GRUB2

You need to mount /boot, and mount the EFI boot partition before
installing grub2 using `grub2-install --target=x86_64-efi`.

Dan



Re: [gentoo-user] new installation - partitions

2014-09-04 Thread Daniel Frey
On 09/04/2014 01:05 PM, Håkon Alstadheim wrote:
 On 04. sep. 2014 16:52, Tom H wrote:
 On Thu, Sep 4, 2014 at 10:00 AM, Rich Freeman ri...@gentoo.org wrote:
 When booting from EFI you need a GPT boot partition (FAT - ugh) that
 actually contains the image that gets booted, so it needs to have room
 for at least a couple of kernels/initramfs - so that will be larger.

 I'm working on getting a new motherboard, Will I still be able to have
 my boot filesystem on a flash-stick? Currently I have everything except
 /boot on LVM on top of Physical Volumes on unpartitioned raid volumes.
 Having a single drive with an odd size makes swapping drives around when
 they fail and drop out of the raid a hassle, and I do not want to waste
 2G on every drive just to have a 2G boot partition. A flash stick (and
 another one for backup) is very pleasant to work with. Especially when i
 bork my initramfs or need to run maintenance without mounting my root
 filesystem. Will this work on an EFI board ?
 
 

It should work with no issues. You may want to boot it in EFI mode as
some motherboards cripple functionality in 'legacy' mode. I just ran
into that with hdmi audio passthrough not working on an Intel NUC I
recently set up.

It is possible to boot in EFI mode off of a USB, as I used a Mint ISO to
boot from in EFI mode. I would presume the USB needs to have the FAT
partition that EFI requires.

Dan



Re: [gentoo-user] installed Gentoo on SSD - no bootable device

2014-09-04 Thread Daniel Frey
On 09/04/2014 08:14 PM, Joseph wrote:
 I'm still lost with this grab2, very confusing.  Gentoo official
 documentation did not mention any of this :-/
 
 Official documentation did ask to create /dev/sda1 2M BIOS boot
 partition but there was no instruction how to mount it or format it.
 I was under impression Grub2 will do all of this.
 I booted with CD-minimal and there is no mkdosfs command.
 
 Do I need to format the /dev/sda1?
 
 If I do:
 mkfs -t vfat -F 32 -n efi-boot /dev/sda1
 mkfs.vfat: No such file or directory
 

The easiest method would be to chroot into your installation. From
there, you can format the EFI partition, then mount it.

If you don't have mkfs.vfat in your chroot, I think the package that has
it is dosfstools.

So basically:

1. chroot into your install (makes sure /boot is mounted before
chroot'ing in)
2. format the EFI partition, install dosfstools if required
3. mount the EFI partition to /boot/efi
4. grub2-install --target=x86_64-efi

The grub.cfg you showed before looked correct to me, the Gentoo
GNU/Linux entry was trying to boot off of root='hd0,gpt2' which is correct.

Dan



Re: [gentoo-user] installed Gentoo on SSD - no bootable device

2014-09-04 Thread Daniel Frey
On 09/04/2014 08:14 PM, Joseph wrote:
 On 09/04/14 19:41, Daniel Frey wrote:
 On 09/04/2014 05:36 PM, Joseph wrote:
 When I installed grub2 I got no errors:
 grub2-install /dev/sda
 Installation finished. No error reported.


 If you are trying to boot in EFI mode, you aren't installing it
 correctly. That installed to the MBR in legacy mode.


 Instructions are here: http://wiki.gentoo.org/wiki/GRUB2

 You need to mount /boot, and mount the EFI boot partition before
 installing grub2 using `grub2-install --target=x86_64-efi`.
 
 I'm still lost with this grab2, very confusing.  Gentoo official
 documentation did not mention any of this :-/
 
 Official documentation did ask to create /dev/sda1 2M BIOS boot
 partition but there was no instruction how to mount it or format it.
 I was under impression Grub2 will do all of this.
 I booted with CD-minimal and there is no mkdosfs command.
 
 Do I need to format the /dev/sda1?
 
 If I do:
 mkfs -t vfat -F 32 -n efi-boot /dev/sda1
 mkfs.vfat: No such file or directory
 

I forgot to mention in my last post that you absolutely must boot from
an EFI-enabled kernel, the gentoo ISOs do not do this. I used the Mint
17 ISO to do this, when you go to boot options it should list it as EFI
bootable.

Dan



Re: [gentoo-user] {OT} Intel NUC install -- no display on OLED TV

2014-09-05 Thread Daniel Frey
On 09/05/2014 11:16 AM, Stefan G. Weichinger wrote:
 I read about outdated BIOS-versions and the need/fix to connect
 something via DisplayPort and enter BIOS once ... to reset things or
 something.
 
 I don't have such a box ... just echoing something I read (as I play
 with the thought to buy a Intel NUC-Kit D34010WYK for use as a
 mythtv-frontend).
 

Going off topic a bit, but I recently bought a DN2820FYKH (Celeron
model) and it works beautifully with mythtv. Compiling is a litter
slower due to the processor, but it works well with its built-in IR.
Very happy with it. I have everything working including HDMI audio
passthrough. Best ~$250 I spent to date (NUC, RAM, SSD.)

Bear in mind that HDMI audio passthrough doesn't work when booting in
legacy mode, you have to boot with native EFI. Had no issues with grub2.

I also found out (the hard way) that kernel =3.14 are required for the
Intel video support.

Dan




Re: [gentoo-user] {OT} Intel NUC install -- no display on OLED TV

2014-09-05 Thread Daniel Frey
On 09/05/2014 01:12 PM, Canek Peláez Valdés wrote:
 
 I'm planning on updating my aging media center. The Celeron+Intel
 video card are able to handle FullHD (1920x1080) video?
 

My local OTA broadcasts are almost all 1080i, and mythtv handles that no
problem with vaapi.

I looked around and found a 1080p video, and used mplayer2 with opengl
output and it plays with no issues. CPU usage on both cores were between
80-90%.

Video in question:

[mkv] Track ID 1: video (V_MPEG4/ISO/AVC) Video (AVC 1080p), -vid 0

Dan




Re: [gentoo-user] {OT} Intel NUC install -- no display on OLED TV

2014-09-06 Thread Daniel Frey
On 09/06/2014 02:21 AM, Stefan G. Weichinger wrote:
 
 Yes, thanks, I heard about that already.
 
 It's for debian, but seems to list some general know-how for NUCs and
 mythtv:
 
 https://docs.google.com/document/d/1alWSZZ8tLYe4I-lmdrsAGT67xV77q4F4jivGeEzIklk/edit#
 

I didn't actually search for stuff until I found things that were badly
broken, like video playback on kernels 3.14. I just dove in headfirst
and was scratching my head for a while...

 
 I also found out (the hard way) that kernel =3.14 are required for the
 Intel video support.
 
 Thanks, will consider that. Even 3.14.14 is stable in portage right now,
 I wouldn't have started any lower. I will install gentoo stable ... btw,
 how did you start installing? Some rescue-disk on a stick? PXE? (I
 should fix my PXE-setup ...)


I used the Mint 17 ISO written to USB. It showed up in the NUC's boot
menu as EFI-bootable.

By the way, the IR on mine wasn't obvious, I had kernel support for
Media Center Ed. and it wasn't detected - nor was it listed with
lsusb/lspci. Turns out it was an ITE Tech IT8712. Just FYI...

Dan



Re: [gentoo-user] mini-PCIe SSD

2014-09-07 Thread Daniel Frey
On 09/07/2014 11:55 AM, Grant wrote:
 I'm trying to use one of these mini-PCIe storage devices:
 
 http://www.amazon.com/gp/product/B008KWEA88
 
 in a Gigabyte Brix mini-computer but there isn't a /dev/sd* entry for
 it and it isn't in lspci.  Any ideas?
 

This may be a silly question - if you have an early revision of one of
these, does the BIOS even support an SSD in the mini-PCIe slot? Maybe
there's a BIOS update? I see that the new revisions do in fact support
mini-PCIe SSDs, but that doesn't mean earlier revisions do.

I've read online that some manufacturers are using the mini-PCIe slot in
some devices but they don't adhere to the mini-PCIe specs, which means
if you plug something other than the card provided (like your SSD) it
won't work...

Dan





Re: [gentoo-user] mini-PCIe SSD

2014-09-07 Thread Daniel Frey
On 09/07/2014 12:28 PM, Grant wrote:
 
 I just checked and I'm using BIOS version F2 which is the latest
 available.  My hardware revision is v1.1.  It sounds like I may be out
 of luck.  The device does have a SATA3 port but I was hoping not to
 cram an entire 2.5 SSD in there to cut down on heat since it's
 fanless.  Do I have any other options?
 
 - Grant
 

Is it possible that the device is DOA? Can you check it on another
laptop (or another device with the mini-PCIe slot?

Alternatively maybe an adapter can be acquired to test it on a regular
PC. Maybe a USB - PCIe mSata bridge adapter exists?

I have had DOA RAM and such before, although not on a SSD.

Dan



Re: [gentoo-user] i965 (Valley View) video acceleration

2014-09-07 Thread Daniel Frey
On 09/07/2014 09:25 PM, Grant wrote:
 I can't seem to get video acceleration working on my Gigabyte Brix
 2807 device which lspci identifies as Valley View.  1080p playback is
 still stuttery.  I've tried every trick I know and Googled a lot.
 Could anyone throw me some suggestions?
 

What kernel are you running? I had this problem initially with my NUC -
I updated to gentoo-sources:3.14.14, enabled the vaapi thread globally,
rebuilt, and forced mplayer2 to use opengl (-vo gl).

After that, I am even able to play 1080p with no glitches.

Apparently Intel made a lot of enhancements to the intel in-kernel
driver with the 3.14 series.

Dan




Re: [gentoo-user] i965 (Valley View) video acceleration

2014-09-09 Thread Daniel Frey
On 09/08/2014 03:02 PM, Grant wrote:
 
 No luck.  Weird.  It's working in xbmc so I can't be far off.  What
 could I be missing?
 

Sorry I've been crazy busy. I hope tomorrow I'll have some time to power
up the NUC and check some settings.

I'll get the USE flags and my /etc/portage/package.use if I have one,
the profile I'm using and perhaps some versions of software I have
installed.

Dan




Re: [gentoo-user] i965 (Valley View) video acceleration

2014-09-10 Thread Daniel Frey
On 09/10/2014 11:28 AM, Grant wrote:
 
 Daniel, no rush, but I'm still curious how you got mplayer2
 accelerating.  I tried everything up to mplayer2- with -vo gl but
 no accel.
 

Hi Grant,

Now that I think about it, I think that maybe mplayer2 wasn't
accelerating. If it was, it was because opengl was built with
vaapi/vdpau support.

It's possible that the N2820 in the NUC is powerful enough to do 1080p
on the CPU without acceleration, and now that I think about it, i
believe CPU usage was 80-90% - but I am also certain that the N2820 is
an integrated CPU/GPU...

I have to run off again. Hopefully tomorrow or Friday for sure I can
look into it. Sorry for the delay... Work is hell right now :-(

Dan




Re: [gentoo-user] i965 (Valley View) video acceleration

2014-09-18 Thread Daniel Frey
On 09/11/2014 10:34 AM, Grant wrote:
 When you get a chance, I'd be interested to know which opengl package
 has vaapi/vdpau USE and also your output for:
 
 # eselect opengl list
 
 - Grant
 

Hi Grant,

I haven't forgotten, just been really busy with work.

Here's some info -

Card:

00:02.0 VGA compatible controller: Intel Corporation ValleyView Gen7
(rev 0c)
Subsystem: Intel Corporation Device 2055
Kernel driver in use: i915


opengl  mesa:

~ # eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *
~ # eselect mesa list
i915 (Intel 915, 945)
  [1]   classic
  [2]   gallium *
i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
  [1]   classic *
r300 (Radeon R300-R500)
r600 (Radeon R600-R700, Evergreen, Northern Islands)
sw (Software renderer)
  [1]   classic
  [2]   gallium *

USE flags:
USE=-ldap -ipv6 -gnome -kde X lirc python mmx sse sse2 ssse3 sse3 sse4
sse4_1 sse4_2 aac alsa mp3 rtmp vorbis x264 xvid threads theora vaapi
libass opengl flac mad jpeg png gif xv mpeg qt3support cec dvd ass
consolekit

Some installed versions:
# equery list opengl mesa ffmpeg
 * Searching for opengl ...
[IP-] [  ] virtual/opengl-7.0-r1:0

 * Searching for mesa ...
[IP-] [  ] media-libs/mesa-10.0.4:0

 * Searching for ffmpeg ...
[IP-] [  ] media-video/ffmpeg-1.2.6-r1:0

# emerge -pv opengl mesa ffmpeg mplayer2

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

Calculating dependencies... done!
[ebuild   R] media-libs/mesa-10.0.4  USE=classic egl gallium llvm
nptl -bindist -debug -gbm -gles1 -gles2 -llvm-shared-libs -opencl
-openvg -osmesa -pax_kernel -pic -r600-llvm-compiler (-selinux) -vdpau
-wayland -xa -xvmc ABI_X86=(64) (-32) (-x32) VIDEO_CARDS=intel
(-freedreno) -i915 -i965 -ilo -nouveau -r100 -r200 -r300 -r600 -radeon
-radeonsi -vmware 0 kB
[ebuild   R] virtual/opengl-7.0-r1  ABI_X86=(64) (-32) (-x32) 0 kB
[ebuild   R] media-video/ffmpeg-1.2.6-r1  USE=X aac alsa bzip2
encode hardcoded-tables iconv libass mmx mp3 network rtmp sdl ssse3
theora threads truetype vaapi vorbis x264 xvid zlib -3dnow -3dnowext
-aacplus (-altivec) -amr -avx -bindist -bluray -cdio (-celt)
-cpudetection -debug -doc -examples -faac -fdk -flite -fontconfig
-frei0r -gnutls -gsm -iec61883 -ieee1394 -jack -jpeg2k -libcaca -libsoxr
-libv4l -mmxext -modplug (-neon) -openal -openssl -opus -oss -pic
-pulseaudio -schroedinger -speex -static-libs {-test} -twolame -v4l
-vdpau (-vis) -vpx ABI_X86=(64) (-32) (-x32) FFTOOLS=aviocat cws2fws
ffescape ffeval fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart
trasher 0 kB
[ebuild   R] media-video/mplayer2-2.0_p20130126  USE=X a52 alsa
cdio dts dv dvd dvdnav enca faad gif iconv jpeg lcms libass lirc mad mmx
mng mp3 network opengl png postproc rar rtc sdl shm speex sse sse2 ssse3
theora unicode vorbis xscreensaver xv xvid -3dnow -3dnowext (-altivec)
(-aqua) -bluray -bs2b -cddb -cpudetection -debug -directfb -doc -dvb
-fbcon -ftp -ipv6 -jack -joystick -ladspa -libcaca -md5sum -mmxext -nut
-oss -pnm -portaudio -pulseaudio -pvr -quvi -radio -samba (-selinux)
-symlink -tga -v4l -vcd -vdpau -xanim -xinerama -yuv4mpeg 0 kB

# uname -a
Linux htpcbedroom 3.14.14-gentoo #3 SMP Sat Aug 30 14:51:20 PDT 2014
x86_64 Intel(R) Celeron(R) CPU N2820 @ 2.13GHz GenuineIntel GNU/Linux

As you can see, ffmpeg is built with vaapi and threading support. I'm
pretty sure mplayer2 uses ffmpeg. I also seem to remember kernels 3.13
are required, as is mesa 9.2 (in the case of the NUC.)

I don't remember why I switched to mplayer2 now, but quite a while back
I was having a problem with mplayer and someone on IRC somewhere said to
try mplayer2. It solved whatever issue I had and I've been using it
since. Wish I could remember what it was though...

As I said, CPU usage as reported by top while playing 1080p with
mplayer2 was 80-90% so it must be doing it on the CPU. I tried playing a
1080i recording with mplayer with 5 channel audio and it takes 5-10%. I
know for sure xbmc and mythtv are using vaapi and it works beautifully.


Dan



Re: [gentoo-user] i965 (Valley View) video acceleration

2014-09-18 Thread Daniel Frey
On 09/11/2014 10:34 AM, Grant wrote:
 When you get a chance, I'd be interested to know which opengl package
 has vaapi/vdpau USE and also your output for:
 

Argh! My last post to the list - I played the 1080i with 5 channel audio
(using 5-10%) with _mythtv_ not mplayer2.

Dan




Re: [gentoo-user] has anyone tried KDE5?

2014-10-07 Thread Daniel Frey
On 10/07/2014 11:26 AM, J. Roeleveld wrote:
 
 Why not use Dolphin as file manager?
 

Dolphin is pretty buggy. I've found a few and one repeats itself
frequently. I'm pretty sure I found an existing bug for the issue, but
it's been happening to me since 4.0.

(When viewing things in tree view and you expand a folder, Dolphin
randomly decides to select everything from the top of the tree to where
you clicked to expand the folder. I still don't know what causes it as
it happens intermittently. It sure is annoying though.)

Dan




Re: [gentoo-user] has anyone tried KDE5?

2014-10-08 Thread Daniel Frey
On 10/07/2014 09:42 PM, J. Roeleveld wrote:
 Are you talking about the behaviour when you actually click on the
 foldername, instead of the?
 
 If yes, then that is as designed.
 

No, I'm clicking on the   . Sometimes I've expanded folders three to
four levels deep and so it selects completely unrelated folders and
files, as it selects everything from where I've clicked to the top of
the list.

It's really annoying, do you know if that feature be turned off?

Dan




Re: [gentoo-user] world update wants to downgrade genoo-sources

2014-10-11 Thread Daniel Frey
On 10/11/2014 12:27 AM, Alan McKinnon wrote:
 
 That's an awfully complicated command to see what's in the tree.
 
 Do you know about eix?
 
 eix gentoo-sources immediately shows you that the only stable version
 is 3.14.14 which is why portage is merging it. The fact that it's a new
 slot lower5 than something you had - that is incidental
 
 

There's also eshowkw from the app-portage/gentoolkit package, which he
may have installed already.

Dan



Re: [gentoo-user] Re: Handbook missing portage unpacking

2014-10-11 Thread Daniel Frey
On 10/11/2014 01:37 PM, James wrote:
 James wireless at tampabay.rr.com writes:
 
 
 I was just following the handbook for an amd64 install; I have
 not looked at the handbook in a while. I downloaded the stage3
 tarball and the portage-latest tarball at the same time, like I always
 have done. The handbook give instructions for untaring the stage3, in 
 section 5, but not the  portage tarball, or did I miss something?
 
 Well I see the emerge --sync takes care of installing a new portage.
 It's been a while; but I remember downloading a portage tarball and
 uppacking it?
 
 

Yes, the last couple of times I did a fresh install portage took care of
installing it. I don't remember when this change actually happened though.

From memory (a very sketchy memory, I might add, so check before doing
it) the command was:

$ tar xvjf portage-latest.tar.bz2 -C /usr/portage


 oh well, we'll see.
 
 No need to reply
 

Meh, I noticed this a while ago but didn't think to mention it. The docs
were already updated then.

Dan




Re: [gentoo-user] [slightly O/T] mysql problems

2014-10-14 Thread Daniel Frey
On 10/14/2014 11:54 AM, Mick wrote:
 Hi All,
 
 This may be slightly off topic, but I thought of asking here first.  I 
 noticed 
 two problems, one specific to a particular database, the other more general.  
 In reverse order:
 
 
 1. I am getting this error when I start mysqld
 
 141014 19:41:38 [Warning] /usr/sbin/mysqld: unknown option '--loose-federated'

Did you compile with the 'extraengine' USE flag? It's required for
federated engine support.

 141014 19:41:37  InnoDB: Error: trying to open a table, but could not
 InnoDB: open the tablespace file 
 './website1@002dnew/webform_validation_rule_components.ibd'!
 

Does this file (and directory) exist?

 
 Is this some error imported from the live site, or is it due to something 
 being wrong locally?

Most likely the live website stores its files in a different place. I'm
not sure how to fix that, though. I would imagine the error text gives
hints. (DISCARD TABLESPACE and IMPORT TABLESPACE - I've never used
them.) Then again, I only use mysql for pretty basic stuff.

Dan



Re: [gentoo-user] has anyone tried KDE5?

2014-10-14 Thread Daniel Frey
On 10/13/2014 10:50 PM, J. Roeleveld wrote:
 
 What do you mean with select
 Do all the entries become selected (marked) ready for delete/copy/...?

Yes. It's been doing this since I upgraded to KDE4 with Dolphin. KDE3
was perfectly fine.

 I have seen this behaviour in a lot of different programs (also on MS 
 Windows). 
 Usually caused by some key-combination which is accidentally pressed and 
 forces the shift-key to be locked.

I thought that but it isn't the case. I am using this particular install
through spawning VNC sessions on my server. As I said, KDE3 did not have
this issue at all (used with the exact same VNC setup), nor does it
present itself in apps other than Dolphin.

Strange, huh?

Dan



Re: [gentoo-user] has anyone tried KDE5?

2014-10-16 Thread Daniel Frey
On 10/14/2014 01:16 PM, Alan McKinnon wrote:
 
 Not really strange - I got something similar with dolphin too.
 
 I use NFS mounts in dolphin a lot (not using the built-in nfs kpart,
 it's a traditional mount). Double clicking through on folder names would
 often select everything from where the cursor landed to the top of what
 is shown in the dolphin window. F5 refresh, or Alt-left and Alt-right
 wouldn't change anything (I assume some caching is involved). But,
 clicking away from the current pane to some other folder outside the nfs
 mount, then re-navigating back to it would make the issue go away.

This is exactly the issue I have but it isn't with an NFS mount, it's
with a mount to my raid device (actual full 3ware RAID card, not a
fakeraid.)

 
 I keep this ~amd64 system quite current (update twice weekly or so) and
 haven't run into this again for about 6 weeks now. Looks like someone
 fixed something, in whole or in part.
 
 

I don't update that often, generally once a month I update. Maybe sooner
than that, but not once a week. I usually exclude mythtv until I have
enough time to upgrade the backend and all frontends at the same time,
but I am going to have to do a full update including mythtv really soon
as Tribune (and as such, schedulesdirect) do not offer the old XML TV
listings as of November 1. Sigh...

That aside, when I do this major update on all of my PCs maybe the issue
will finally go away.

Dan



Re: [gentoo-user] emerge world problem with one package

2014-10-26 Thread Daniel Frey

On 26/10/2014 8:58 AM, Jacques Montier wrote:

Hello all,

Since few, when i run emerge -auvDN world, i get hugin to re-emerge 
again and again (with r to force re-install)...


[ebuild  rR   ~] media-gfx/hugin-2014.0.0-r1  USE=python -debug 
-lapack -sift LINGUAS=fr -cs -da -de -en_GB -es -eu -fi -hu -it -ja 
-nl -pl -pt_BR -ro -ru -sk -sv -zh_CN -zh_TW 
PYTHON_SINGLE_TARGET=python2_7 (-python3_2) -python3_3 -python3_4 
PYTHON_TARGETS=python2_7 python3_3 (-python3_2) -python3_4 0 kB


I don't have any PYTHON_SINGLE_TARGET and PYTHON_TARGETS lines in 
make.conf.




This may be a python package problem elsewhere, have you tried running 
`python-updater`?


Dan



[gentoo-user] Mythtv artwork issues

2014-11-14 Thread Daniel Frey
Hi all,

Back when I was running 0.26, mythtv would automatically download cover
art, banners, and wallpaper.

Since upgrading to 0.27, this hasn't happened. I did discover that 0.26
was dropping everything into the default storage group (i.e. my
recordings directory) and the grabber was complaining about writes. So
I've set up separate storage groups for each one, each being in their
own directory.

I manually ran:
`mythmetadatalookup --refresh-all-rules`
`mythmetadatalookup --refresh-all`
`mythmetadatalookup --refresh-all-artwork`

And it did update coverart, but no banners or fanart. I can go into
recording rules and do this manually, but even if I set the banners and
fanart and go to the watch recordings screen the only things shown in
the cover art (DVD cover).

Is the fanart/cover art/banners all retrieved automatically by the backend?

I'm using the Arclight theme and I remember all of this working without
intervention. I'm just curious to know what went wrong and if someone
else bumped across this issue.

I ran mythfrontend from the console and no errors appear.

The backend log lists this:
2014-11-14 19:56:36.742166 W [9776/10185] ProcessRequest
ringbuffer.cpp:658 (Start) -
RingBuf(/mnt/mythstorage/fanart//ttvdb.py_257655_fanart.jpg): Not
starting read ahead thread, this is a write only RingBuffer

The backend and frontend are separate, could this be an issue sending
the artwork from the backend to the frontend?


Dan



Re: [gentoo-user] apcupsd to recycle power

2014-11-15 Thread Daniel Frey
On 11/15/2014 09:05 AM, Thanasis wrote:

 However, in the even that power is restored between the UPS kill and the
 time it actually turns off the mains will still not be cycled.
 
 Why would this be so?
 

That was a musing, it wasn't based on testing. On most UPS systems I've
seen when the power comes back the UPS resets.

As I said, you can time your shutdown and set KILLDELAY, but make sure
you add some extra time in case the shutdown takes longer than expected.
`man apcupsd.conf` only has a two-sentence description for killdelay usage.

Dan




Re: [gentoo-user] OT: new thinkpad with Gentoo

2014-11-20 Thread Daniel Frey
On 11/20/2014 11:16 AM, thegeezer wrote:
 yeah at first it's odd, but then when you start getting used to
 navigating without removing hands from keyboard it does become almost a
 prerequisite. 
 does anyone know if you can get usb keyboards that have the trackpoint
 style mini-joystick in the middle of them ?

Yep:
http://shop.lenovo.com/us/en/itemdetails/0B47190/460/60AC6A0372B14F5BA7B12F1FF88E33C7

I almost bought this one but I wanted a usb port on my keyboard itself
for my mouse, IIRC this one didn't have that.

I have used a lenovo keyboard with it, I liked it, just wish it had a
USB port for the mouse.


 the other big thing with the thinkpads used to be the keyboards. the
 x201 had a great almost totally full size keyboard, but they are
 increasingly becoming a thing of a bygone era with apple style
 calculator buttons that have nothing like the tactile response they used
 to have. as lenovo are moving away from these big-key style keyboards,
 does anyone have any recommendations of a laptop supplier that is
 starting to use them ?
 

I've been looking around too and it seems like everyone's doing the
chicklet keyboards. I haven't looked that hard, but almost every laptop
I've found seems to have the goofy keyboards.

Dan



  1   2   3   4   5   6   7   >