Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-09-04 Thread Marc Stürmer

Am 02.09.2013 10:47, schrieb Joerg Schilling:


Solaris is dynamic from the beginning:


Well in my point of view it boils down to that: someone wants to use ZFS 
on Linux. Fine. This means you've got to be a good citizen and obey its 
license, of course.


It is for those legal reasons that ZFS is not included into the Linux 
kernel mainline source tree. It is also for those reasons you got to 
compile it as a module.


So somebody wants it being static into his kernel, modules being 
disabled on his machine because of security concerns. Unless he is going 
to do that stuff himself this is unlikely to ever happen.


So it boils down to those possible solutions:

a) writing that stuff himself (unlikely to happen),
b) just using the module and going to be happy (also unlikely to happen 
as it seems),
c) choosing another, native file system like Btrfs (which is still yet 
not production ready as a fast moving target) or going with something 
like XFS or Ext4 (and LVM),


or the most natural choice then, which is

d) choosing an operating system, which supports ZFS out of the box like 
FreeBSD and forget about all the rest of the problems.


I would go for d and forget about all of the rest of the problems. 
FreeBSD has been around long enough, and is stable and mature enough for 
most anything you can throw at and it is a nice, clean, well structured 
system anyway.


There's also Gentoo/FreeBSD around, but personally I would use the 
native ports system instead.




Re: [gentoo-user] systemd and LUKS

2013-09-04 Thread Stefan G. Weichinger
Am 03.09.2013 23:31, schrieb Frank Steinmetzger:

 This link gave me the deciding hint -- I didn't have
 cryptsetup-generator in my system, because I didn’t have the
 cryptsetup useflags enabled. I rebuilt systemd and udisks and now
 I’m prompted for the LUKS password during boot. \o/

Congratulations!

sidenote: The mentioned pam_mount way of doing things lets you boot
through to a login. No waiting for the passphrase ... when I login the
LUKS-device is opened and mounted ... only one time user/pw ...
personally I like it that way.

 Now I need to find out whether it’s feasible for me to use it. I’ll
 definitely have to procure some custom unit files, e.g. for
 monitorix.

Most of the bold systemd-users with gentoo see the one or the other
unit file missing ... this is still an early stage and should get
better with every unit provided. There are quite many bugs filed
already pointing at new unit files for ebuilds.

pls share your unit as well (or even file it as a bug on
bugs.gentoo.org) to help the gentoo devs (and users) here.

Stefan




Re: [gentoo-user] Re: Install from USB stick; here's how

2013-09-04 Thread Alan McKinnon
On 04/09/2013 00:13, Grant Edwards wrote:
 Now I'm confused, let's clarify. Which of these meanings of copy are you
  using:
 
  cp my_big.iso /where/i/mounted/the/stick
 
  dd if=my_big.iso of=/dev/sdb
 Sorry about that.  The latter.  The actual command is shown about 32
 lines up (except that my minimal install .iso was more recent)...

Ah, OK. That makes this whole sub-thread a red-herring that should be
ignored :-)



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




Re: [gentoo-user] Re: Install from USB stick; here's how

2013-09-04 Thread thegeezer
You can also create a Grub2 bootable usb which launches ISO.
this is always useful to have.
for a while now Gentoo has supported being launched this way.
you need the following in your grub2 cfg
the crucial part is the /iso/install-amd64-minimal-20110714.iso   (yeah
i know is an old iso but this also shows how long it has worked)
this needs to be a real path on the usb stick

menuentry Gentoo Linux minimal install {
loopback loop /iso/install-amd64-minimal-20110714.iso
linux (loop)/isolinux/gentoo root=/dev/ram0 init=/linuxrc dokeymap
looptype=squashfs   loop=/image.squashfs cdroot initrd=gentoo.igz
isoboot=/iso/install-amd64-minimal-20110714.iso
initrd (loop)/isolinux/gentoo.igz
}

Until i got my Zalman VE300 i was using this to boot emergency repair disks
is a lot handier having one usb with many iso than a seperate usb stick
for each distro




Re: [gentoo-user] systemd and LUKS

2013-09-04 Thread Frank Steinmetzger
On Wed, Sep 04, 2013 at 09:22:37AM +0200, Stefan G. Weichinger wrote:
 Am 03.09.2013 23:31, schrieb Frank Steinmetzger:
 
  This link gave me the deciding hint -- I didn't have
  cryptsetup-generator in my system, because I didn’t have the
  cryptsetup useflags enabled. I rebuilt systemd and udisks and now
  I’m prompted for the LUKS password during boot. \o/
 
 Congratulations!
 
 sidenote: The mentioned pam_mount way of doing things lets you boot
 through to a login. No waiting for the passphrase ... when I login the
 LUKS-device is opened and mounted ... only one time user/pw ...
 personally I like it that way.

Finding stuff on pam_mount doesn’t seem to be too hard. But how do I
prevent systemd from trying it first? Just by disabling the service?

  Now I need to find out whether it’s feasible for me to use it. I’ll
  definitely have to procure some custom unit files, e.g. for
  monitorix.
 […]
 pls share your unit as well (or even file it as a bug on
 bugs.gentoo.org) to help the gentoo devs (and users) here.

Well, it’s an experiment, but I’m still quite hesitant to switch. It
really shuts down fast (1 to 2 seconds or so), but I don’t see much
improvement in booting time (still around 40 seconds until KDM is
finished). I like the small stuff around it though, for instance
timedatectl is neat and that there is no consolekit thread spam in htop.

I also see now why some people rant about it, e.g. that it has an own
logging daemon (“one big block of everything”) which uses a binary data
format. OTOH, logging becomes very handy with it in that you can see all
messages associated with a particular service. Systemdadm is a start,
but impractical on a netbook screen.

I was hoping I could have openrc and systemd in parallel on the system
(so I don’t have to maintain two systems, especially on a slow netbook),
but b/c I removed consolekit altogether, a lot of stuff doesn’t work
anymore if I try booting with openrc.

Perhaps someone can give me a hint about the following:
- I’m missing openrc’s feature of using the menu key to switch between
  the last two TTYs, that’s very useful.
- No login prompt on TTY1.
- A resource link on how to set up networking without network manager. I
  always did it the conf.d/net way.

Cheers.
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

Dyslexics of the world, untie!


signature.asc
Description: Digital signature


Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-09-04 Thread Joerg Schilling
Walter Dnes waltd...@waltdnes.org wrote:

  Grub works this way:
  
  1)  It loads /platform/i86pc/kernel/$ISADIR/unix

   Question... how does it read that file off a ZFS partition?  OK, so
 ZFS code has to be installed statically into GRUB instead of statically
 into the kernel.  Please stop the shell game.

Grub was enhanced by Sun to understand ZFS. You need such an enhanced grub if 
you like to boot off ZFS.

   Note also that this is a Gentoo *LINUX* mailing list.  We're more
 concerned about how Linux works.

Linux does not contain code to boot AFAIK

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-09-04 Thread Mark David Dumlao
On Mon, Sep 2, 2013 at 4:47 PM, Joerg Schilling
joerg.schill...@fokus.fraunhofer.de wrote:
 Mark David Dumlao madum...@gmail.com wrote:

the disk... OOPS.  This is a classic chicken and egg situation.
  
   On Solaris no problem with loadable modules - everything is
   dynamically loaded.  ***YOU NEED A GRUB THAT UNDERSTANDS ZFS AND THAT
   GIVES A ZFS INTERFACE TO THE KERNEL TO USE BEFORE ZFS WAS LOADED***.

 I'm confused as to what this means. Grub reads a filesystem, loads a kernel
 with options, and may give it an initrd. What happens from then on is none
 of grub's business. The filesystem it reads from and the one the kernel
 uses may be completely unrelated - this is why we have /boot filesystems.

 At what point does grub present a zfs interface for the kernel to use?

 After it booted the kernel

 You may not know dynamic kernels as Linux is a static kernel that just may 
 load
 additional modules _after_ it mounted the root fs.

 Solaris is dynamic from the beginning:

Ah I see. But I think by default when we talk about the kernel on
this mailing list,
it's assumed that we're talking about Linux. And in the Linux case,
Grub does not do
anything like provide a filesystem interface to Linux. It just loads
the kernel into memory,
and passes it any arguments, like the initrd. So your grub needs to be
able to read the
filesystem containing the kernel and that's it. If the filesystem
containing the kernel is
also a zfs filesystem, then your grub needs a driver that can read
that filesystem.

Well sys-boot/grub-2.00 provides one. See /boot/grub/zfs.mod
-- 
This email is:[ ] actionable   [x] fyi[ ] social
Response needed:  [ ] yes  [ ] up to you  [x] no
Time-sensitive:   [ ] immediate[ ] soon   [x] none



Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo

2013-09-04 Thread Joerg Schilling
Mark David Dumlao madum...@gmail.com wrote:

 containing the kernel is
 also a zfs filesystem, then your grub needs a driver that can read
 that filesystem.

 Well sys-boot/grub-2.00 provides one. See /boot/grub/zfs.mod

You don't need grub2, a capable older grub does it also, see:

http://hg.berlios.de/repos/schillix-on

for a related source.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] cupsd (localhost:631) trouble

2013-09-04 Thread Dale
gottl...@nyu.edu wrote:
 I normally do install printers using hp-setup. But I uses cups (web
 interface) to first delete all the queues and also find the cups web
 interface useful for printing. What is the hp- command to start
 over, e.g. remove all existing queues? I feel there must be something
 very wrong here. thanks, allan 

I don't have my printer connected at the moment but I think this will help:

hp-devicesettings

If not, type hp- and hit tab twice.  Quite a few HP commands there that
should help.  That said, I usually delete with cups too.  ;-)

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: Integrated ZFS for Gentoo - WAS Re:[gentoo-user] Optional /usr merge in Gentoo

2013-09-04 Thread Nicolas Sebrecht
The 04/09/13, Joerg Schilling wrote:

 Linux does not contain code to boot AFAIK

Sure, it does. You can boot on the kernel directly without a boot
manager.

-- 
Nicolas Sebrecht



[gentoo-user] Re: Install from USB stick; here's how

2013-09-04 Thread Grant Edwards
On 2013-09-04, Walter Dnes waltd...@waltdnes.org wrote:
 On Tue, Sep 03, 2013 at 10:13:29PM +, Grant Edwards wrote
 
 IIRC, the last time I tried 'cp' it worked just as well as 'dd'
 
   cp install-x86-minimal-20121213.iso /dev/sdb

   Interesting.  I assume that /dev/sdb was not mounted.

Correct.  I wouldn't really depend on this -- if 'cp' tries to do
something smart with sparse data, or if the image isn't an even number
of 512-byte blocks, it might not work.

-- 
Grant Edwards   grant.b.edwardsYow! With YOU, I can be
  at   MYSELF ...  We don't NEED
  gmail.comDan Rather ...




[gentoo-user] dev-haskell/parsec not rebuilt before dev-haskell/network, despite network depending on it

2013-09-04 Thread Marc Joliet
Hi all,

I have a question that I wanted to ask here before I open a potentially
erroneous bug about it.

For the ipython nbconvert command I need pandoc, which depends on various
Haskell packages.  Yesterday ghc was upgraded to 7.6.3-r1, which triggered
rebuilds (AFAIU due to sub-slot dependencies).  The interesting thing is that
dev-haskell/parsec is a dependency of dev-haskepp/network, but was *not* built
before it, such that my emerge @world died at that point.  I ran
haskell-updater afterwards, which got the order right, so that ipython
nbconvert still works.

For completeness, here are the dependencies of the network-2.4.1.2, copied
straight out of the ebuild:

RDEPEND==dev-haskell/parsec-3.0:=[profile?]
=dev-lang/ghc-6.10.4:=
DEPEND=${RDEPEND}
=dev-haskell/cabal-1.8
test? ( dev-haskell/hunit
dev-haskell/test-framework
dev-haskell/test-framework-hunit
dev-haskell/test-framework-quickcheck2
)

From the above I would think that, since $RDEPEND is a subset of $DEPEND,
parsec should have been rebuilt *before* network.  Am I wrong about that?

I guess I'm wondering whether this is a bug in the ebuild (I don't know the
details of the sub-slot syntax), a bug in portage, or neither.

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


signature.asc
Description: PGP signature


Re: [gentoo-user] systemd and LUKS

2013-09-04 Thread Canek Peláez Valdés
On Wed, Sep 4, 2013 at 5:20 AM, Frank Steinmetzger war...@gmx.de wrote:
 On Wed, Sep 04, 2013 at 09:22:37AM +0200, Stefan G. Weichinger wrote:
 Am 03.09.2013 23:31, schrieb Frank Steinmetzger:

  This link gave me the deciding hint -- I didn't have
  cryptsetup-generator in my system, because I didn’t have the
  cryptsetup useflags enabled. I rebuilt systemd and udisks and now
  I’m prompted for the LUKS password during boot. \o/

 Congratulations!

 sidenote: The mentioned pam_mount way of doing things lets you boot
 through to a login. No waiting for the passphrase ... when I login the
 LUKS-device is opened and mounted ... only one time user/pw ...
 personally I like it that way.

 Finding stuff on pam_mount doesn’t seem to be too hard. But how do I
 prevent systemd from trying it first? Just by disabling the service?

  Now I need to find out whether it’s feasible for me to use it. I’ll
  definitely have to procure some custom unit files, e.g. for
  monitorix.
 […]
 pls share your unit as well (or even file it as a bug on
 bugs.gentoo.org) to help the gentoo devs (and users) here.

 Well, it’s an experiment, but I’m still quite hesitant to switch. It
 really shuts down fast (1 to 2 seconds or so), but I don’t see much
 improvement in booting time (still around 40 seconds until KDM is
 finished). I like the small stuff around it though, for instance
 timedatectl is neat and that there is no consolekit thread spam in htop.

Even considering that you need to input the LUKS password, 40 seconds
is too much. You can use systemd-analyze and systemd-analyze blame
after a fresh boot to see what is taking most of the boot time.

 I also see now why some people rant about it, e.g. that it has an own
 logging daemon (“one big block of everything”) which uses a binary data
 format. OTOH, logging becomes very handy with it in that you can see all
 messages associated with a particular service. Systemdadm is a start,
 but impractical on a netbook screen.

Don't forget journalctl -b -p err and journalctl -b -p warning. Hugh
time savings.

 I was hoping I could have openrc and systemd in parallel on the system
 (so I don’t have to maintain two systems, especially on a slow netbook),
 but b/c I removed consolekit altogether, a lot of stuff doesn’t work
 anymore if I try booting with openrc.

 Perhaps someone can give me a hint about the following:
 - I’m missing openrc’s feature of using the menu key to switch between
   the last two TTYs, that’s very useful.

I didn't realized it was gone. However, I don't think is a feature of
OpenRC, it's just that OpenRC calls agetty differently from systemd, I
suppose.

 - No login prompt on TTY1.

Sure it is. Perhaps is just garbled? Try to log in and do a reset.

 - A resource link on how to set up networking without network manager. I
   always did it the conf.d/net way.

You can set up the network without networkmanager just fine.

If you want to use DHCP:

dhcpcd@.service

[Unit]
Description=DHCP on %I
After=basic.target
Documentation=man:dhcpcd(8)

[Service]
ExecStartPre=/bin/ifconfig %I up
ExecStart=/sbin/dhcpcd -B %I

[Install]
WantedBy=multi-user.target


If you want to use static network:


[Unit]
Description=Static network service
After=local-fs.target
Documentation=man:ifconfig(8)
Documentation=man:route(8)

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/ifconfig interface ip broadcast broadcast netmask
netmask up
ExecStart=/bin/route add default gw gateway interface


(You can use the new ip command, but ifconfig is still the one
installed by default in Gentoo).

Or if you need something more complicated, you can put it in several
ExecStart lines, or put it in a script and call that.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



[gentoo-user] Re: cupsd (localhost:631) trouble

2013-09-04 Thread James
James wireless at tampabay.rr.com writes:



 If it is ethernet, you should be able to ping it.

You have to go through the cheesE interface
on an HP 8600 to initially set the ip address,
subnet, etc on the printer before cups
or any other printing will work, via ethernet.


I never use the USB for this printer.

hth,
James





Re: [gentoo-user] systemd and LUKS

2013-09-04 Thread Frank Steinmetzger
On Wed, Sep 04, 2013 at 09:16:55AM -0500, Canek Peláez Valdés wrote:

  Well, it’s an experiment, but I’m still quite hesitant to switch. It
  really shuts down fast (1 to 2 seconds or so), but I don’t see much
  improvement in booting time (still around 40 seconds until KDM is
  finished). I like the small stuff around it though, for instance
  timedatectl is neat and that there is no consolekit thread spam in htop.
 
 Even considering that you need to input the LUKS password, 40 seconds
 is too much. You can use systemd-analyze and systemd-analyze blame
 after a fresh boot to see what is taking most of the boot time.

I stopped the timer during password entry. systemd-analyze said (IIRC, netbook
is off ATM) a little more than 20 seconds altogether. But as I mentioned it’s
a slow machine. From the kind of noises it made during boot, I guess that the
HDD is the bottleneck. The time from the initial blank X screen to KDM alone
is more than 10 seconds. Perhaps there is still stuff starting in the BG.

  I also see now why some people rant about it, e.g. that it has an own
  logging daemon (“one big block of everything”) which uses a binary data
  format. OTOH, logging becomes very handy with it in that you can see all
  messages associated with a particular service. Systemdadm is a start,
  but impractical on a netbook screen.
 
 Don't forget journalctl -b -p err and journalctl -b -p warning. Hugh
 time savings.

I’m just so used to tail -f /var/log/messages, and it’s a hard fact of reality
that switching to something new/else/different always takes personal effort.

  I was hoping I could have openrc and systemd in parallel on the system
  (so I don’t have to maintain two systems, especially on a slow netbook),
  but b/c I removed consolekit altogether, a lot of stuff doesn’t work
  anymore if I try booting with openrc.
 
  Perhaps someone can give me a hint about the following:
  - I’m missing openrc’s feature of using the menu key to switch between
the last two TTYs, that’s very useful.
 
 I didn't realized it was gone.

Well not in openrc, obviously. But it isn’t there in systemd.

 However, I don't think is a feature of OpenRC, it's just that OpenRC calls
 agetty differently from systemd, I suppose.

I didn’t know where to look for that option specifically and thought it was
openrc (because I can’t remember any other distro having this, like many other
details such as a colourful promt by default).

  - No login prompt on TTY1.
 
 Sure it is. Perhaps is just garbled? Try to log in and do a reset.

I have boot output on TTY1 and logins on TTY2-6., but not on one I tried
various keys and conbinations such as Ctrl+C.

  - A resource link on how to set up networking without network manager. I
always did it the conf.d/net way.
 
 You can set up the network without networkmanager just fine.

I was obviously too lazy yesterday to research it. I poked blindly into the
dark by trying the pre-existing wpa_supplicant and dhcpcd services without any
custom configuration (with wpa_supplicant.conf being the only real requirement
for my network setup), but wpa_supplicant always failed to authenticate, so I
gave up for that night.

-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

The advantage of being smart is that one can pretend to be stupid.
The opposite is far more difficult.


signature.asc
Description: Digital signature


[gentoo-user] Re: cupsd (localhost:631) trouble

2013-09-04 Thread James
 gottlieb at nyu.edu writes:


 However if I try to refresh the page or go to say the printer page I get
 Firefox can't establish a connection to the server at localhost:631.

What is the connection's physical interface ?

If it is ethernet, you should be able to ping it.
Also, just put the ip address of the printer
into a web browser and see how the printer
is configured.


Also in /etc/cups/ there are config files. I always save
out a copy of old working configs. On ocasion a cups
update will wig out the config filescupsd.conf   

 cupsd.conf.default   
cupsd.conf.16may


from printers.conf

snip
OpPolicy default
ErrorPolicy stop-printer
/Printer
DefaultPrinter OfficeJet_8600
UUID urn:uuid:0a5bf234-9167-3cf4-428c-a03a24e71e8b
Info HP 8600
Location 
MakeModel HP Officejet Pro 8600, hpcups 3.12.10a
DeviceURI socket://192.168.2.9
State Idle
StateTime 1357316592
Type 36892
Accepting Yes
end/snip

Sorry, I gotta run.

Good hunting!

James






Re: [gentoo-user] Re: Install from USB stick; here's how

2013-09-04 Thread Walter Dnes
On Tue, Sep 03, 2013 at 05:05:22PM +, Grant Edwards wrote

 So what's the deal with http://wiki.gentoo.org/wiki/LiveUSB/HOWTO?
 
 Why isn't it just the steps below?
 
   1) Copy the minimal install .iso to USB mass storage device.
 
   2) Boot from USB mass storage device.  

  I got the USB-stick install instructions from the Arch linux wiki at
https://wiki.archlinux.org/index.php/USB_Installation_Media   I was going
to link to it in my bug/feature request.  Then I noticed the following...

 Warning: This method does not work with UEFI boot.

  Given how UEFI is spreading, I backed out of the bug report.

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



[gentoo-user] Re: Install from USB stick; here's how

2013-09-04 Thread Grant Edwards
On 2013-09-04, Walter Dnes waltd...@waltdnes.org wrote:
 On Tue, Sep 03, 2013 at 05:05:22PM +, Grant Edwards wrote

 So what's the deal with http://wiki.gentoo.org/wiki/LiveUSB/HOWTO?
 
 Why isn't it just the steps below?
 
   1) Copy the minimal install .iso to USB mass storage device.
 
   2) Boot from USB mass storage device.  

   I got the USB-stick install instructions from the Arch linux wiki at
 https://wiki.archlinux.org/index.php/USB_Installation_Media   I was going
 to link to it in my bug/feature request.  Then I noticed the following...

 Warning: This method does not work with UEFI boot.

   Given how UEFI is spreading, I backed out of the bug report.

Do the instructions at http://wiki.gentoo.org/wiki/LiveUSB/HOWTO work
with UEFI machines where the simple 'dd' method doesn't?

One datapoint: my motherboard has UEFI bios, and simply dd'ing the
minimal install .iso to a flash drive worked fine.  When I boot up
with the USB drive, the BIOS boot menu shows two entries for the USB
drive, the first one always worked, so I never tried the second one...

-- 
Grant Edwards   grant.b.edwardsYow! -- I have seen the
  at   FUN --
  gmail.com




[gentoo-user] Re: HP officejet pro 8600 printer (all-in-one)

2013-09-04 Thread walt
On 09/02/2013 08:17 PM, Thomas Mueller wrote:
 Given my ill luck with HP LaserJet M1212nf MFP, I don't want to buy
 anything more from HP, unless I get this printer working, and then
 I'd need toner.
 
 My ill luck was with FreeBSD and NetBSD, and hplip makes assumptions
 on Linux file structure that are different in the BSDs.
 
 I do intend to try with Linux, and also try the MS-Windows drivers on
 FreeBSD with wine.

I've found that the postscript-printer-definition (ppd) files included
in net-print/gutenprint work much better for me than the ones included
in net-print/hplip, which is published by HP.

I've also heard other people grumble about the quality of HP printer
drivers not being as good as HP printers, but that's just hearsay :)





Re: [gentoo-user] virtualbox - failed to access the USB subsystem

2013-09-04 Thread Joseph

SOLVED;
I re-installed: virtualbox guest addition and the problem went away.

--
Joseph

On 09/02/13 08:14, Alan McKinnon wrote:

On 02/09/2013 04:26, Joseph wrote:

On 09/01/13 08:50, Alan McKinnon wrote:

On 01/09/2013 05:27, Joseph wrote:

On 08/31/13 19:10, Joseph wrote:

After recent upgrade I'm getting an error when trying to start the
virtualbox.

Failed to access the USB subsystem.
Could not load the Host USB Proxy service: VERR_NOT_FOUND.

Details:
Result Code:
NS_ERROR_FAILURE (0x4005)
Component:
Host
Interface:
IHost {dab4a2b8-c735-4f08-94fc-9bec84182e2f}
Callee:
IMachine {5eaa9319-62fc-4b0a-843c-0cb1940f8a91}

cat /etc/group shows that I'm in vboxusers group
vboxusers:x:1009:thelma,fd

What else to try? I'm using Virtualbox 4.1.26


The strange part is when I login to the machine via FreeNX this message
does not appear.
But only when I'm in front of the box directly.



This error pops up quite a lot on VirtualBox forums, it seems to be a
generic error message and not have one specific cause. Some typical
things that users report to fix things:

- mismatched ViortualBox and extension pack versions
- incorrect permissions on usb nodes in /dev
- incorrect udev rules
- legacy VBOX* settings in environment
- and a few other oddities

You might end up googling that specific error and following all the
links till you hit the one that applies to you. The first few to get you
going:

https://www.virtualbox.org/ticket/9383
https://forums.virtualbox.org/viewtopic.php?f=7t=50670
https://bbs.archlinux.org/viewtopic.php?id=156247



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


Thanks Alan for suggestions.
I've re-installed the Guest Addition and see if something has changed.
My problem is that everything works OK when I log-in over the Free-NX; I
only noticed these problem when I physically was in front of the box.
This box is in a remote location.




My first point of troubleshooting would be permissions, probably
starting with pam and consolekit. Look for rights and groups that
different between local and remote users.

I'm not familiar with how Free-NX works - does your system know the
difference between local and remote users wrt Free-NX logins?



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




--
Joseph



Re: [gentoo-user] HP officejet pro 8600 printer (all-in-one)

2013-09-04 Thread Thomas Mueller
from Walt:

 On 09/02/2013 08:17 PM, Thomas Mueller wrote:
  Given my ill luck with HP LaserJet M1212nf MFP, I don't want to buy
  anything more from HP, unless I get this printer working, and then
  I'd need toner.

  My ill luck was with FreeBSD and NetBSD, and hplip makes assumptions
  on Linux file structure that are different in the BSDs.

  I do intend to try with Linux, and also try the MS-Windows drivers on
  FreeBSD with wine.

 I've found that the postscript-printer-definition (ppd) files included
 in net-print/gutenprint work much better for me than the ones included
 in net-print/hplip, which is published by HP.

 I've also heard other people grumble about the quality of HP printer
 drivers not being as good as HP printers, but that's just hearsay :)

I see I don't have guenprint installed, maybe I ought to.

Bigger problem may be that HP LaserJet M1212nf MFP requires a proprietary 
plugin download.


Tom




[gentoo-user] RAID 1 install guide?

2013-09-04 Thread James
Hello,


What would folks recommend as a Gentoo
installation guide for a 2 disk Raid 1
installation? My previous attempts all failed
to trying to follow (integrate info from)
a myriad-malaise of old docs.

It seems much of the documentation for such is
deprecated, with large disk, newer file systems
(ZFS vs ext4 vs ?) UUID, GPT mdadm,  etc etc.

File system that is best for a Raid 1 workstation?

File system that is best for a Raid 1 
(casual usage) web server ?

Time for me to try and spank this gator's ass again.
(not exactly what happend last time).


input warranted!
James