Re: [gentoo-user] Virtualbox not displaying USB devices

2015-11-26 Thread thelma
On 11/26/2015 01:33 PM, Heiko Baums wrote:
> Am 26.11.2015 um 21:14 schrieb the...@sys-concept.com:
> 
>> I see. OK
>> clinic-amd ssh # modprobe vboxpci
>> clinic-amd ssh # lsmod | grep vboxpci
>> vboxpci11672  0
>> vboxdrv   287977  4 vboxnetadp,vboxnetflt,vboxpci
>>
>> Do I need to log OUT/IN as user?
>> Restarting the VirtualBox did not help.
> 
> Maybe you should check the file permissions of your printer device, and
> add your user to the appropriate group. Or just try adding your user to
> the group lp.

In my backup system, where VirtualBox recognizes USB devices.
user is not "lp" group and everything works.
Besides there would be other entries in USB, and there are none.

--
Thelma




Re: [gentoo-user] openssh-7.1_p1-r2 won't allow "nxserver" to connect [continued]

2015-11-26 Thread Bill Damage
Is this better? Damn Yahoo webmail...
My /var/log/nx/nxserver.log remains at 0 bytes even though in node.conf I set 
NX_LOG_LEVEL to 6 from 0. 

Anyway, I will dump my sshd_config for completeness:

[root@example~]# cat /etc/ssh/sshd_config 
#   $OpenBSD: sshd_config,v 1.84 2011/05/23 03:30:07 djm Exp $ 

# This is the sshd server system-wide configuration file.  See 
# sshd_config(5) for more information. 

# This sshd was compiled with PATH=/usr/local/bin:/bin:/usr/bin 

# The strategy used for options in the default sshd_config shipped with 
# OpenSSH is to specify options with their default value where 
# possible, but leave them commented.  Uncommented options override the 
# default value. 

#Port 22 
#AddressFamily any 
#ListenAddress 0.0.0.0 
#ListenAddress :: 

# The default requires explicit activation of protocol 1 
#Protocol 2 

# HostKey for protocol version 1 
#HostKey /etc/ssh/ssh_host_key 
# HostKeys for protocol version 2 
#HostKey /etc/ssh/ssh_host_rsa_key 
#HostKey /etc/ssh/ssh_host_dsa_key 
#HostKey /etc/ssh/ssh_host_ecdsa_key 

# Lifetime and size of ephemeral version 1 server key 
#KeyRegenerationInterval 1h 
#ServerKeyBits 1024 

# Logging 
# obsoletes QuietMode and FascistLogging 
#SyslogFacility AUTH 
SyslogFacility AUTHPRIV 
#LogLevel INFO 

# Authentication: 

#LoginGraceTime 2m 
PermitRootLogin yes 
#StrictModes yes 
#MaxAuthTries 6 
#MaxSessions 10 

#RSAAuthentication yes 
#PubkeyAuthentication yes 

# The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2 
# but this is overridden so installations will only check .ssh/authorized_keys 
#AuthorizedKeysFile .ssh/authorized_keys 

#AuthorizedKeysCommand none 
#AuthorizedKeysCommandRunAs nobody 

# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts 
#RhostsRSAAuthentication no 
# similar for protocol version 2 
#HostbasedAuthentication no 
# Change to yes if you don't trust ~/.ssh/known_hosts for 
# RhostsRSAAuthentication and HostbasedAuthentication 
#IgnoreUserKnownHosts no 
# Don't read the user's ~/.rhosts and ~/.shosts files 
#IgnoreRhosts yes 

# To disable tunneled clear text passwords, change to no here! 
#PasswordAuthentication yes 
#PermitEmptyPasswords no 
PasswordAuthentication yes 

# Change to no to disable s/key passwords 
#ChallengeResponseAuthentication yes 
ChallengeResponseAuthentication no 

# Kerberos options 
#KerberosAuthentication no 
#KerberosOrLocalPasswd yes 
#KerberosTicketCleanup yes 
#KerberosGetAFSToken no 
#KerberosUseKuserok yes 

# GSSAPI options 
#GSSAPIAuthentication no 
GSSAPIAuthentication yes 
#GSSAPICleanupCredentials yes 
GSSAPICleanupCredentials yes 
#GSSAPIStrictAcceptorCheck yes 
#GSSAPIKeyExchange no 

# Set this to 'yes' to enable PAM authentication, account processing, 
# and session processing. If this is enabled, PAM authentication will 
# be allowed through the ChallengeResponseAuthentication and 
# PasswordAuthentication.  Depending on your PAM configuration, 
# PAM authentication via ChallengeResponseAuthentication may bypass 
# the setting of "PermitRootLogin without-password". 
# If you just want the PAM account and session checks to run without 
# PAM authentication, then enable this but set PasswordAuthentication 
# and ChallengeResponseAuthentication to 'no'. 
# WARNING: 'UsePAM no' is not supported in Fedora and may cause several 
# problems. 
#UsePAM no 
UsePAM yes 

#AllowAgentForwarding yes 
#AllowTcpForwarding yes 
#GatewayPorts no 
#X11Forwarding no 
X11Forwarding yes 
#X11DisplayOffset 10 
#X11UseLocalhost yes 
#PrintMotd yes 
#PrintLastLog yes 
#TCPKeepAlive yes 
#UseLogin no 
#UsePrivilegeSeparation yes 
#PermitUserEnvironment no 
#Compression delayed 
#ClientAliveInterval 0 
#ClientAliveCountMax 3 
#ShowPatchLevel no 
#UseDNS yes 
#PidFile /var/run/sshd.pid 
#MaxStartups 10 
#PermitTunnel no 
#ChrootDirectory none 

# no default banner path 
#Banner none 

# Accept locale-related environment variables 
AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES 
AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT 
AcceptEnv LC_IDENTIFICATION LC_ALL LANGUAGE 
AcceptEnv XMODIFIERS 

# override default of no subsystems 
Subsystem   sftp/usr/libexec/openssh/sftp-server 

# Uncomment this if you want to use .local domain 
#Host *.local 
#   CheckHostIP no 

# Example of overriding settings on a per-user basis 
#Match User anoncvs 
#   X11Forwarding no 
#   AllowTcpForwarding no 
#   ForceCommand cvs server 

#http://www.gossamer-threads.com/lists/gentoo/user/308350?page=last 
PubkeyAcceptedKeyTypes=+ssh-dss 
PermitRootLogin without-password



Re: [gentoo-user] Virtualbox not displaying USB devices

2015-11-26 Thread Heiko Baums
Am 26.11.2015 um 21:14 schrieb the...@sys-concept.com:

> I see. OK
> clinic-amd ssh # modprobe vboxpci
> clinic-amd ssh # lsmod | grep vboxpci
> vboxpci11672  0
> vboxdrv   287977  4 vboxnetadp,vboxnetflt,vboxpci
> 
> Do I need to log OUT/IN as user?
> Restarting the VirtualBox did not help.

Maybe you should check the file permissions of your printer device, and
add your user to the appropriate group. Or just try adding your user to
the group lp.



Re: [gentoo-user] Virtualbox not displaying USB devices

2015-11-26 Thread Heiko Baums
Am 26.11.2015 um 21:44 schrieb the...@sys-concept.com:

> Which file is it?
> 
> running lsusb as users show the printer is recognized:
> Brother Industries
> 
> $ lsusb
> Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 001 Device 002: ID 04c5:11a2 Fujitsu, Ltd
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 003 Device 014: ID 04f9:2028 Brother Industries, Ltd
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

It's the file /dev/bus/usb/003/014 if the entry with Brother Industries,
Ltd is your printer.



Re: [gentoo-user] Virtualbox not displaying USB devices

2015-11-26 Thread Heiko Baums
Am 26.11.2015 um 21:00 schrieb the...@sys-concept.com:

> There is no need to add this module, it is already loaded:
> 
> find /lib/modules/`uname -r` -name '*.ko'
> /lib/modules/3.10.7-gentoo-r1/kernel/drivers/hwmon/it87.ko
> /lib/modules/3.10.7-gentoo-r1/kernel/drivers/hwmon/hwmon-vid.ko
> /lib/modules/3.10.7-gentoo-r1/kernel/drivers/char/kcopy/kcopy.ko
> /lib/modules/3.10.7-gentoo-r1/kernel/drivers/i2c/algos/i2c-algo-pca.ko
> /lib/modules/3.10.7-gentoo-r1/kernel/arch/x86/kernel/test_nx.ko
> /lib/modules/3.10.7-gentoo-r1/misc/vboxnetadp.ko
> /lib/modules/3.10.7-gentoo-r1/misc/vboxdrv.ko
> /lib/modules/3.10.7-gentoo-r1/misc/vboxnetflt.ko
> /lib/modules/3.10.7-gentoo-r1/misc/vboxpci.ko

Those are the modules which are installed for your kernel. That doesn't
say if they are loaded.



Re: [gentoo-user] Virtualbox not displaying USB devices

2015-11-26 Thread thelma
On 11/26/2015 01:05 PM, Heiko Baums wrote:
> Am 26.11.2015 um 21:00 schrieb the...@sys-concept.com:
> 
>> There is no need to add this module, it is already loaded:
>>
>> find /lib/modules/`uname -r` -name '*.ko'
>> /lib/modules/3.10.7-gentoo-r1/kernel/drivers/hwmon/it87.ko
>> /lib/modules/3.10.7-gentoo-r1/kernel/drivers/hwmon/hwmon-vid.ko
>> /lib/modules/3.10.7-gentoo-r1/kernel/drivers/char/kcopy/kcopy.ko
>> /lib/modules/3.10.7-gentoo-r1/kernel/drivers/i2c/algos/i2c-algo-pca.ko
>> /lib/modules/3.10.7-gentoo-r1/kernel/arch/x86/kernel/test_nx.ko
>> /lib/modules/3.10.7-gentoo-r1/misc/vboxnetadp.ko
>> /lib/modules/3.10.7-gentoo-r1/misc/vboxdrv.ko
>> /lib/modules/3.10.7-gentoo-r1/misc/vboxnetflt.ko
>> /lib/modules/3.10.7-gentoo-r1/misc/vboxpci.ko
> 
> Those are the modules which are installed for your kernel. That doesn't
> say if they are loaded.

I see. OK
clinic-amd ssh # modprobe vboxpci
clinic-amd ssh # lsmod | grep vboxpci
vboxpci11672  0
vboxdrv   287977  4 vboxnetadp,vboxnetflt,vboxpci

Do I need to log OUT/IN as user?
Restarting the VirtualBox did not help.

Thelma



Re: [gentoo-user] Virtualbox not displaying USB devices

2015-11-26 Thread thelma
On 11/26/2015 01:33 PM, Heiko Baums wrote:
> Am 26.11.2015 um 21:14 schrieb the...@sys-concept.com:
> 
>> I see. OK
>> clinic-amd ssh # modprobe vboxpci
>> clinic-amd ssh # lsmod | grep vboxpci
>> vboxpci11672  0
>> vboxdrv   287977  4 vboxnetadp,vboxnetflt,vboxpci
>>
>> Do I need to log OUT/IN as user?
>> Restarting the VirtualBox did not help.
> 
> Maybe you should check the file permissions of your printer device, and
> add your user to the appropriate group. Or just try adding your user to
> the group lp.

Which file is it?

running lsusb as users show the printer is recognized:
Brother Industries

$ lsusb
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 04c5:11a2 Fujitsu, Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 014: ID 04f9:2028 Brother Industries, Ltd
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

--
Thelma



Re: [gentoo-user] Virtualbox not displaying USB devices

2015-11-26 Thread thelma
On 11/26/2015 01:33 PM, Heiko Baums wrote:
> Am 26.11.2015 um 21:14 schrieb the...@sys-concept.com:
> 
>> I see. OK
>> clinic-amd ssh # modprobe vboxpci
>> clinic-amd ssh # lsmod | grep vboxpci
>> vboxpci11672  0
>> vboxdrv   287977  4 vboxnetadp,vboxnetflt,vboxpci
>>
>> Do I need to log OUT/IN as user?
>> Restarting the VirtualBox did not help.
> 
> Maybe you should check the file permissions of your printer device, and
> add your user to the appropriate group. Or just try adding your user to
> the group lp.
> 

When I run:
$ VBoxManage list usbhost

Host USB Devices:



There are no entries.

On my backup box it shows:

VBoxManage list usbhost
Host USB Devices:

UUID:   a441949f-caeb-457d-a81b-4b195ff15100
VendorId:   0x051d (051D)
ProductId:  0x0003 (0003)
Revision:   1.6 (0106)
Port:   0
USB version/speed:  2/1
Manufacturer:   American Power Conversion
Product:Smart-UPS 1000 FW:COM 02.1 / UPS.05.D
SerialNumber:   AS1117120054
Address:
sysfs:/sys/devices/pci:00/:00:1d.0/usb2/2-1//device:/dev/vboxusb/002/002
Current State:  Busy




Re: [gentoo-user] Virtualbox not displaying USB devices

2015-11-26 Thread thelma
On 11/26/2015 03:05 PM, Heiko Baums wrote:
> Am 26.11.2015 um 21:44 schrieb the...@sys-concept.com:
> 
>> Which file is it?
>>
>> running lsusb as users show the printer is recognized:
>> Brother Industries
>>
>> $ lsusb
>> Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>> Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>> Bus 001 Device 002: ID 04c5:11a2 Fujitsu, Ltd
>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>> Bus 003 Device 014: ID 04f9:2028 Brother Industries, Ltd
>> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> 
> It's the file /dev/bus/usb/003/014 if the entry with Brother Industries,
> Ltd is your printer.

lsusb
...
Bus 003 Device 016: ID 04f9:2028 Brother Industries, Ltd

ll /dev/bus/usb/003/016
crw-rw-r-- 1 root lp 189, 271 Nov 26 16:09 /dev/bus/usb/003/016

Everybody can read the file so VirtualBox should be able to detect it.

--
Thelma



Re: [gentoo-user] [SOLVED] Virtualbox not displaying USB devices

2015-11-26 Thread thelma
On 11/26/2015 12:57 PM, Heiko Baums wrote:
> Am 26.11.2015 um 20:55 schrieb the...@sys-concept.com:
> 
>> I'll try adding to /etc/conf.d/modules
>> modules="vboxdrv vboxnetflt vboxnetadp vboxpci"
>>
>> But how to load the module without restarting the box?
> 
> Run as root:
> modprobe vboxpci
> 
> To check if it's already loaded run:
> lsmod | grep vboxpci

The problem fixed itself.
But I'm not sure what fix it.

Maybe "modprobe vboxpci" or re-adding "user" to vboxusers group.

I just log-out / log-in and the USB printer was recognized by VirtualBox.

Thank you all for your suggestions.

--
Thelma.



Re: [gentoo-user] openssh-7.1_p1-r2 won't allow "nxserver" to connect [continued]

2015-11-26 Thread Neil Bothwick
On Thu, 26 Nov 2015 21:39:57 + (UTC), Bill Damage wrote:

> PermitRootLogin yes 
[snip]
> PermitRootLogin without-password

You have specified this option twice, with different values. Pick the one
you want and remove or comment out the other.


-- 
Neil Bothwick

Top Oxymorons Number 39: Almost exactly


pgpQvAJEzjqr7.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] openssh-7.1_p1-r2 won't allow "nxserver" to connect [continued]

2015-11-26 Thread Bill Damage
Thanks, but either way I'm still getting nowhere:
NX> 203 NXSSH running with pid: 9904NX> 285 Enabling check on switch commandNX> 
285 Enabling skip of SSH config filesNX> 285 Setting the preferred NX 
optionsNX> 200 Connected to address: 192.168.62.4 on port: 22NX> 202 
Authenticating user: nxNX> 208 Using auth method: publickeyNX> 204 
Authentication failed.
I take it to try this you edit /etc/sshd_config then restart the sshd service?
 


On Wednesday, 25 November 2015, 20:04, Neil Bothwick  
wrote:
 

 On Wed, 25 Nov 2015 12:55:43 -0700, the...@sys-concept.com wrote:

> > Which you would expect if that was not the problem. From memory, I
> > think your problem was caused by password logins as root being
> > disabled. That was another change for 7.0 and my only comment on that
> > is "why the hell did they wait until version 7.0 before getting rid
> > of such and insecure default?".
> > 
> >  
> in sshd_config
> 
> #PermitRootLogin yes
> or
> #PermitRootLogin no
> 
> I can connect using openssh-6 but not 7-xx

Because the setting is commented out so it falls back to the default,
which is yes in 6 and no in 7. Set it to what you need instead of relying
on defaults which can change.


-- 
Neil Bothwick

The people who are wrapped up in themselves are overdressed.

  

Re: [gentoo-user] openssh-7.1_p1-r2 won't allow "nxserver" to connect [continued]

2015-11-26 Thread Bill Damage
Somehow the details of my message wasn't posted:
NX> 203 NXSSH running with pid: 10200NX> 285 Enabling check on switch 
commandNX> 285 Enabling skip of SSH config filesNX> 285 Setting the preferred 
NX optionsNX> 200 Connected to address: 192.168.62.4 on port: 22NX> 202 
Authenticating user: nxNX> 208 Using auth method: publickeyNX> 204 
Authentication failed.




   

Re: [gentoo-user] openssh-7.1_p1-r2 won't allow "nxserver" to connect [continued]

2015-11-26 Thread Neil Bothwick
On Thu, 26 Nov 2015 09:07:07 + (UTC), Bill Damage wrote:

> NX> 203 NXSSH running with pid: 10200NX> 285 Enabling check on switch
> NX> commandNX> 285 Enabling skip of SSH config filesNX> 285 Setting the
> NX> commandNX> preferred NX optionsNX> 200 Connected to address:
> NX> commandNX> 192.168.62.4 on port: 22NX> 202 Authenticating user:
> NX> commandNX> nxNX> 208 Using auth method: publickeyNX> 204
> NX> commandNX> nxNX> Authentication failed.  

What does the log on the server say?


-- 
Neil Bothwick

Accordion: a bagpipe with pleats.


pgpsXpu6Y3qfR.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: emerging squid indefinitely

2015-11-26 Thread Peter Humphrey
On Wednesday 25 November 2015 16:03:57 walt wrote:

> And Happy Thanksgiving to you, grouchy old fart living somewhere south
> of the equator where no one celebrates Thanksgiving :)

If I'm not mistaken, Thanksgiving is a purely US occasion  :)

-- 
Rgds
Peter




Re: [gentoo-user] openssh-7.1_p1-r2 won't allow "nxserver" to connect [continued]

2015-11-26 Thread Peter Humphrey
I would need a magnifying glass to read this. Please don't use HTML on this 
list.

On Wednesday 25 November 2015 18:50:14 Bill Damage wrote:
> I have exactly the same problem mentioned in this thread. I think
> something changed and broke the authentication during an update. i found
> this message by Googling and just joined the mail list to ask for help. I
> have done everything mentioned in the thread, and here's where I'm at:
> (it worked fine before some regular update broke it) Thanks!
> [root@tiger ssh]# nxsetup --test
> > Testing your nxserver configuration ...Warning: Invalid value
> "APPLICATION_LIBRARY_PRELOAD=/usr/lib64/nx/libX11.so.6:/usr/lib64/nx/libX
> ext.so.6:/usr/lib64/nx/libXcomp.so.3:/usr/lib64/nx/libXcompext.so.3:/usr/l
> ib64/nx/libXrender.so.1". /usr/lib64/nx/libX11.so.6 could not be found.
> Users will not be able to run a single application in non-rootless
> mode.Warning: Invalid value "COMMAND_START_CDE=cdwm" Users 
will
> not be able to request a CDE session.Warning: Invalid value
> "COMMAND_SMBMOUNT=smbmount". You'll not be able to use 
SAMBA.Warning:
> Invalid value "COMMAND_SMBUMOUNT=smbumount". You'll not be able to use
> SAMBA.Warning: Invalid cupsd version of "/usr/sbin/cupsd". Need version
> 1.2. Users will not be able to enable printing. Ignore if you use
> cups > 1.2Error: Could not find 1.5.0 or 2.[01].0 or 3.[012345].0 version
> string in nxagent. NX 1.5.0 or 2.[01].0 or 3.[012345].0 backend is needed
> for this version of FreeNX. Warnings occured during config check.  To
> enable these features please correct the configuration file. < done
> > Testing your nxserver connection ...Permission denied
> (publickey,gssapi-keyex,gssapi-with-mic,password).Fatal error: Could not
> connect to NX Server. Please check your ssh setup:
> The following are _examples_ of what you might need to check.
> - Make sure "nx" is one of the AllowUsers in sshd_config.(or
> that the line is outcommented/not there)- Make sure "nx" is one
> of the AllowGroups in sshd_config.(or that the line is
> outcommented/not there)- Make sure your sshd allows public key
> authentication.- Make sure your sshd is really running on port
> 22.- Make sure your sshd_config AuthorizedKeysFile in sshd_config
> is set to authorized_keys.(this should be a filename not a
> pathname+filename)  - Make sure you allow ssh on localhost, this could
> come from somerestriction of:  -the tcp wrapper. Then add in
> /etc/hosts.allow: ALL:localhost  -the iptables. add to it: $
> iptables -A INPUT  -i lo -j ACCEPT $ iptables -A OUTPUT -o lo -j
> ACCEPT[root@tiger ssh]#

-- 
Rgds
Peter




Re: [gentoo-user] Re: emerging squid indefinitely

2015-11-26 Thread Neil Bothwick
On Wed, 25 Nov 2015 16:03:57 -0800, walt wrote:

> And Happy Thanksgiving to you, grouchy old fart living somewhere south
> of the equator where no one celebrates Thanksgiving :)

It's as much to do with longitude as latitude. It's only in your little
corner of the globe where turkeys are slaughtered en masse a month
early :P


-- 
Neil Bothwick

Profanity, The Language of Computer Professionals.


pgpD9z8QIK76g.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Chrony-2.2 failing

2015-11-26 Thread Peter Humphrey
On Wednesday 25 November 2015 19:05:44 Alan McKinnon wrote:
> On 24/11/2015 17:24, Peter Humphrey wrote:
--->8
> > The installation-default file causes the start-stop-daemon to catch an
> > unexpected interrupt and report an error, even though the chronyd
> > process
> > continues to run.
> > 
> > Any time I run 'strace -ff -o/tmp/chronyd.strace /etc/init.d/chronyd
> > start' the init process runs normally and I'm left with scores of trace
> > files, none of which help because the stray interrupt wasn't detected.
--->8
> Ugh, don't you just hate issues like that? The problem with "solutions"
> like start-stop-daemon is they have to deal with whatever the daemon
> feels like returning (an infinite number of permutations), so support
> for daemon is never complete.

I've been offered one suggestion which will need me to make a local overlay 
with a small code change. I'll try that and see what happens.

> Regardless of what one thinks of systemd, this is one of the things it
> set out to deal with. There's only one way to start something, and it
> behaves one way, making behaviour considerably more predictable.

So it does occasionally have one benefit then.

> [ A bit of a rant I know, but I'm still smarting from years of rancid
> and Cisco logins - basically the same kind of problem you are having on
> a much larger scale...]

I'll be content with my tiny scale, thanks very much  :)

-- 
Rgds
Peter




Re: [gentoo-user] dcron problem on new install

2015-11-26 Thread Jeremi Piotrowski
On Wed, Nov 25, 2015 at 10:29:52PM -0500, waltd...@waltdnes.org wrote:
>   I'm getting a bunch of messages like...
> 
> > Subject: cron for user root root[ ! -x /etc/cron.hourly/0anacron ] 
> > && { test -x /usr/sbin/run-crons && /usr/sbin/run-crons ; }
> >
> > /bin/sh: root: command not found
> 
> /bin/sh does exist...
> 
> [d531][waltdnes][~] ll /bin/sh
> lrwxrwxrwx 1 root root 4 Nov 24 12:10 /bin/sh -> bash
> 
> /etc/  cron.hourly  cron.weekly  cron.monthly   are empty except for a
> dummy file .keep_sys-process_cronbase-0
> 

What /bin/sh actually means is "root: command not found".  This is caused
by the difference between the system-wide crontab and the per-user
crontab. 

The system-wide crontab /etc/crontab needs to know as which user to
execute the command so it has a column for the username right before the
command. The per-user crontabs which are at /var/spool/cron/crontabs (but
which should be edited with crontab -e) know as which user to run the
commands so they treat everything after the time as the command.

You got the two mixed up. Run crontab -e as the root user and remove
the word 'root' part right before the command. Should fix things right
away.



Re: [gentoo-user] openssh-7.1_p1-r2 won't allow "nxserver" to connect [continued]

2015-11-26 Thread Bill Damage
On Thursday, 26 November 2015, 9:51, Peter Humphrey  
wrote:

I would need a magnifying glass to read this. Please don't use HTML on this 
list.



It's damn Yahoos webmail, I switched to plain text maybe it's better now?

Anyway the log at /var/log/nx/nxserver.log is always 0 bytes.



Re: [gentoo-user] Weird "df" output

2015-11-26 Thread lee
Mark David Dumlao  writes:

> On Nov 26, 2015 08:30, "lee"  wrote:
>> waltd...@waltdnes.org writes:
>> > compromised with a small / partition, with empty /home, /opt, /var,
>> > /usr, and /tmp directories.  Their real equivalents are bind-mounted
>> > from a much larger partition.
>>
>> Why don't you just mount the large partition somewhere under /mnt and
>> create symlinks to the directories that are missing on the small
>> partition?
>
> wrt space, that doesn't really change things.
> wrt symlinks, some legacy tools, and regular unix tools have a completely
> different behavior when traversing symlinks as opposed to regular
> directories, which bindmounts emulate. although in practice i imagine it
> wont affect him.

Which tools come to mind?

> youre really just proposing a different way to do the same thing albeit his
> approach is more stable.

Yes, there are many possibilities here.

>> Or, why don't you copy the system to the disk that has the large
>> partition and retire the 500MB disk?  That would reduce power
>> consumption and increase reliability by having less disks in use and by
>> making it more unlikely to mess up anything due to excessive
>> partitioning.
>
> its not 2 disks, its one disk and with partitions.

He said that he "has a primary partition 1, which covers the entire hard
drive" and "a small / partition".  That made me think that he has two
disks.

> at any rate his approach is valid.



[gentoo-user] tc filter add ... fails

2015-11-26 Thread lee

Hi,

it seems I might be missing some kernel modules:


,
| heimdali ~ # tc filter add dev ppp0 parent : protocol all prio 10 basic 
police mpu 64 rate 16000kbit burst 10kb action drop
| RTNETLINK answers: Invalid argument
| We have an error talking to the kernel
| heimdali ~ # 
`


This is a filter shorewall would add.  I have enabled options as shown
in [1].  How can I find out which modules I'm missing, or what else went
wrong?


[1]: https://wiki.gentoo.org/wiki/Traffic_shaping



Re: [gentoo-user] Weird "df" output

2015-11-26 Thread Tom H
On Thu, Nov 26, 2015 at 12:10 AM,   wrote:
>
> I'll admit that my system setup is a bit unusual. A long time ago, in
> a place far away, hard drives were small, compared to today's standards.
> The usual unix practice of multiple seprate partitions was not feasable
> for me, but I did want to keep root on its own partition. So I
> compromised with a small / partition, with empty /home, /opt, /var,
> /usr, and /tmp directories. Their real equivalents are bind-mounted
> from a much larger partition. I just re-did my oldest machine. It has
> a primary partition 1, which covers the entire hard drive. The /
> partion on /dev/sda5 is approximately 500 megabytes (YES!). There's a
> 3.8 gigabyte swap partion /dev/sda6, and the rest of the drive is
> /dev/sda7. Here's the relevant portion of /etc/fstab...
>
> /dev/sda5   /   ext2 noatime,async  0 1
> /dev/sda7   /home   ext3 noatime,async  0 1
> /home/bindmounts/opt/optauto bind   0 0
> /home/bindmounts/var/varauto bind   0 0
> /home/bindmounts/usr/usrauto bind   0 0
> /home/bindmounts/tmp/tmpauto bind   0 0
> /dev/sda6   noneswap sw 0 0
>
> ...and the output from "df"...
>
> Filesystem 1K-blocks  Used Available Use% Mounted on
> /dev/root 495944 49416420928  11% /
> devtmpfs   10240 0 10240   0% /dev
> tmpfs 310080   356309724   1% /run
> shm  1550384 0   1550384   0% /dev/shm
> cgroup_root10240 0 10240   0% /sys/fs/cgroup
> /dev/sda7  476205120 292365556 159643008  65% /opt
>
> ...showing /dev/sda7 mounted on /opt !?!? mc (Midnight Commander) shows
> 152 of 454 gigabytes free on all of /home, /opt, /var, /usr, and /tmp,
> which is correct, since they're all really bindmounts from /dev/sda7.
> The / partition (/dev/sda5) has 411 of 484 megabytes free. The machine
> works OK, but the "df" output is a head-scratcher. I've re-booted a
> couple of times, with no change.

If the same filesystem's mounted two or more times, then df shows the
shortest mountpoint.

In your case, /home /opt /tmp /usr /var are mounts of /dev/sda7 so
/opt is shown, because it's the first mountpoint lexically-speaking.

If you use "-a", then /home will be displayed too.



Re: [gentoo-user] Chrony-2.2 failing

2015-11-26 Thread Neil Bothwick
On Thu, 26 Nov 2015 10:39:56 +, Peter Humphrey wrote:

> > Regardless of what one thinks of systemd, this is one of the things it
> > set out to deal with. There's only one way to start something, and it
> > behaves one way, making behaviour considerably more predictable.  
> 
> So it does occasionally have one benefit then.

Yes. The rest of the time it has many more :)

SCNR


-- 
Neil Bothwick

Get your grubby hands off my tagline! I stole it first!


pgpqOExXYnjUR.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Weird "df" output

2015-11-26 Thread Rich Freeman
On Thu, Nov 26, 2015 at 5:57 AM, lee  wrote:
> Mark David Dumlao  writes:
>> wrt symlinks, some legacy tools, and regular unix tools have a completely
>> different behavior when traversing symlinks as opposed to regular
>> directories, which bindmounts emulate. although in practice i imagine it
>> wont affect him.
>
> Which tools come to mind?
>

As I mentioned earlier, I believe portage doesn't like it if /usr or
/var are symlinks.  But, I'm going from memory - it has been a while
since I had to bind-mount them.

-- 
Rich



Re: [gentoo-user] Chrony-2.2 failing

2015-11-26 Thread Peter Humphrey
On Thursday 26 November 2015 13:00:29 Neil Bothwick wrote:
> On Thu, 26 Nov 2015 10:39:56 +, Peter Humphrey wrote:
> > > Regardless of what one thinks of systemd, this is one of the things it
> > > set out to deal with. There's only one way to start something, and it
> > > behaves one way, making behaviour considerably more predictable.
> > 
> > So it does occasionally have one benefit then.
> 
> Yes. The rest of the time it has many more :)

But the Unixy approach to command names is certainly not one of them  :)

> SCNR

Ditto repeato.

-- 
Rgds
Peter




Re: [gentoo-user] Chrony-2.2 failing

2015-11-26 Thread Neil Bothwick
On Thu, 26 Nov 2015 14:00:22 +, Peter Humphrey wrote:

> > > > Regardless of what one thinks of systemd, this is one of the
> > > > things it set out to deal with. There's only one way to start
> > > > something, and it behaves one way, making behaviour considerably
> > > > more predictable.  
> > > 
> > > So it does occasionally have one benefit then.  
> > 
> > Yes. The rest of the time it has many more :)  
> 
> But the Unixy approach to command names is certainly not one of them  :)

Indeed, thank ${DEITY} for tab-completion.

Why does "tab-completion" require so much typing?


-- 
Neil Bothwick

Windows Error #10: Insufficient money spent in hardware.


pgpjMxRTCVkx3.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Chrony-2.2 failing

2015-11-26 Thread Alan McKinnon
On 26/11/2015 17:04, Neil Bothwick wrote:
> On Thu, 26 Nov 2015 14:00:22 +, Peter Humphrey wrote:
> 
> Regardless of what one thinks of systemd, this is one of the
> things it set out to deal with. There's only one way to start
> something, and it behaves one way, making behaviour considerably
> more predictable.  

 So it does occasionally have one benefit then.  
>>>
>>> Yes. The rest of the time it has many more :)  
>>
>> But the Unixy approach to command names is certainly not one of them  :)
> 
> Indeed, thank ${DEITY} for tab-completion.
> 
> Why does "tab-completion" require so much typing?
> 
> 


Because if it were "tc" you'd be forever wondering what it is!
And besides, tc is taken

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




Re: [gentoo-user] Re: emerging squid indefinitely

2015-11-26 Thread waltdnes
On Thu, Nov 26, 2015 at 09:48:37AM +, Peter Humphrey wrote
> On Wednesday 25 November 2015 16:03:57 walt wrote:
> 
> > And Happy Thanksgiving to you, grouchy old fart living somewhere south
> > of the equator where no one celebrates Thanksgiving :)
> 
> If I'm not mistaken, Thanksgiving is a purely US occasion  :)

  And in Canada on the 2nd Monday of October.  Although they may have
different names, there are lots of equivalant celebrations around the
planet.  http://www.theholidayspot.com/thanksgiving/around_the_world/
lists several of them.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] Weird "df" output

2015-11-26 Thread waltdnes
On Thu, Nov 26, 2015 at 11:57:20AM +0100, lee wrote

> He said that he "has a primary partition 1, which covers the entire
> hard drive" and "a small / partition".  That made me think that he
> has two disks.

  Primary partitions are numbered 1 through 4 and logical partitions are
numbered 5 and up.  The "primary partition" is the entire physical disk.
5 is the small /, 6 is swap, and 7 is the rest of the disk.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] Weird "df" output

2015-11-26 Thread Neil Bothwick
On Thu, 26 Nov 2015 06:27:39 -0500, waltd...@waltdnes.org wrote:

> > He said that he "has a primary partition 1, which covers the entire
> > hard drive" and "a small / partition".  That made me think that he
> > has two disks.  
> 
>   Primary partitions are numbered 1 through 4 and logical partitions are
> numbered 5 and up.  The "primary partition" is the entire physical disk.
> 5 is the small /, 6 is swap, and 7 is the rest of the disk.

Why are you using logical partitions at all when three primary partitions
will do the job?


-- 
Neil Bothwick

Did you know that eskimos have 17 different words for linguist?


pgpwPSj28KgOQ.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Weird "df" output

2015-11-26 Thread Peter Humphrey
On Thursday 26 November 2015 06:27:39 waltd...@waltdnes.org wrote:
> On Thu, Nov 26, 2015 at 11:57:20AM +0100, lee wrote
> 
> > He said that he "has a primary partition 1, which covers the entire
> > hard drive" and "a small / partition".  That made me think that he
> > has two disks.
> 
>   Primary partitions are numbered 1 through 4 and logical partitions are
> numbered 5 and up.  The "primary partition" is the entire physical disk.

In which case it's an extended partition; calling it a primary is 
confusing[1], even though an extended partition is a kind of primary 
partition.

> 5 is the small /, 6 is swap, and 7 is the rest of the disk.

1.  As witness Lee's reading.

-- 
Rgds
Peter




Re: [gentoo-user] Re: emerging squid indefinitely

2015-11-26 Thread J. Roeleveld
On 26 November 2015 12:22:45 CET, waltd...@waltdnes.org wrote:
>On Thu, Nov 26, 2015 at 09:48:37AM +, Peter Humphrey wrote
>> On Wednesday 25 November 2015 16:03:57 walt wrote:
>> 
>> > And Happy Thanksgiving to you, grouchy old fart living somewhere
>south
>> > of the equator where no one celebrates Thanksgiving :)
>> 
>> If I'm not mistaken, Thanksgiving is a purely US occasion  :)
>
>  And in Canada on the 2nd Monday of October.  Although they may have
>different names, there are lots of equivalant celebrations around the
>planet.  http://www.theholidayspot.com/thanksgiving/around_the_world/
>lists several of them.

Turkeys are safe in the Netherlands

Can't say the same for some other animals though :)
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



[gentoo-user] unexpected interrupt

2015-11-26 Thread James
Sorry,

I still cannot reply from the web interface on gmane.
And this is an different approach suggesting for Peter's Chrony issues
so it might warrant a new thread anyway.


The installation-default file causes the start-stop-daemon to catch an
unexpected interrupt and report an error, even though the chronyd
process
continues to run.

Any time I run 'strace -ff -o/tmp/chronyd.strace /etc/init.d/chronyd
start' the init process runs normally and I'm left with scores of trace
files, none of which help because the stray interrupt wasn't detected


So, a while back the excellent tools of trace-cmd and kernelshark (part of
trace-cmd) were added to the portage tree.

Here is a little 'diddy' that might get you going [1]. Also, there is much
posted on the use of ftrace, trace-cmd and kernelshark. These very powerful
tools take a while to master. Often, I try to recreate deep performance
problems on minimal system, just to reduce the amount of data one has to parse.


..
Thanksgiving:: WE *all* have thanks to give to others for a very wide
variety of reasons, regardless of ilk. So the original, spiritually
oriented, nature of a giving thanks and sharing a meal with others, has
caught on world wide. Sharing a meal, and the breaking of bread between
folks, is as old as humanity itself. When a spiritual dimension is added, it
only becomes a more powerful message that transcends time and space.
Ultimately it is a time of peace, harmony and a celebration of life,
civility and the giving (spirit) that comprises "good will" amongst us all.


happy thanksgiving,
and peace to all!
James

[1]
http://fabbritech.blogspot.com/2013/11/using-ftrace-and-kernelshark-part-2.html





[gentoo-user] Virtualbox not displaying USB devices

2015-11-26 Thread thelma

I'm running Windows-7 in Virtualbox, everything worked OK yesterday but today 
Virtualbox does not see any USB devices. 
I have a USB label printer and it is recognized by Gentoo host: 

[ 6455.295503] usb 3-1: New USB device found, idVendor=04f9, idProduct=2028
[ 6455.295505] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6455.295508] usb 3-1: Product: QL-570
[ 6455.295509] usb 3-1: Manufacturer: Brother
[ 6455.295511] usb 3-1: SerialNumber: G2Z917467
[ 6455.295612] usb 3-1: usb_probe_device
[ 6455.295615] usb 3-1: configuration #1 chosen from 1 choice
[ 6455.297499] usb 3-1: adding 3-1:1.0 (config #1, interface 0)
[ 6455.297541] usblp 3-1:1.0: usb_probe_interface
[ 6455.297544] usblp 3-1:1.0: usb_probe_interface - got id

Setting in Virtualbox: "USB 2.0 (EHCI) Controller" is Enabled.

I'm in "vboxusers" group.

fd@clinic-amd ~ $ groups
wheel uucp audio cdrom cdrw usb users scanner fd plugdev vboxusers

What else should I checked for?

Recently I just upgraded to "openssh-7" but that should have nothing to do with 
Virtualbox and USB.
I connected the QL-570 (USB printer) to my backup machine and VirtualBox 
recognize it OK

-- 
Thelma



Re: [gentoo-user] Virtualbox not displaying USB devices

2015-11-26 Thread J. Roeleveld
On 26 November 2015 19:23:00 CET, the...@sys-concept.com wrote:
>
>I'm running Windows-7 in Virtualbox, everything worked OK yesterday but
>today Virtualbox does not see any USB devices. 
>I have a USB label printer and it is recognized by Gentoo host: 
>
>[ 6455.295503] usb 3-1: New USB device found, idVendor=04f9,
>idProduct=2028
>[ 6455.295505] usb 3-1: New USB device strings: Mfr=1, Product=2,
>SerialNumber=3
>[ 6455.295508] usb 3-1: Product: QL-570
>[ 6455.295509] usb 3-1: Manufacturer: Brother
>[ 6455.295511] usb 3-1: SerialNumber: G2Z917467
>[ 6455.295612] usb 3-1: usb_probe_device
>[ 6455.295615] usb 3-1: configuration #1 chosen from 1 choice
>[ 6455.297499] usb 3-1: adding 3-1:1.0 (config #1, interface 0)
>[ 6455.297541] usblp 3-1:1.0: usb_probe_interface
>[ 6455.297544] usblp 3-1:1.0: usb_probe_interface - got id
>
>Setting in Virtualbox: "USB 2.0 (EHCI) Controller" is Enabled.
>
>I'm in "vboxusers" group.
>
>fd@clinic-amd ~ $ groups
>wheel uucp audio cdrom cdrw usb users scanner fd plugdev vboxusers
>
>What else should I checked for?
>
>Recently I just upgraded to "openssh-7" but that should have nothing to
>do with Virtualbox and USB.
>I connected the QL-570 (USB printer) to my backup machine and
>VirtualBox recognize it OK

You need to specifically assign the usb device to the guest.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Virtualbox not displaying USB devices

2015-11-26 Thread thelma
On 11/26/2015 11:33 AM, J. Roeleveld wrote:
> On 26 November 2015 19:23:00 CET, the...@sys-concept.com wrote:
>>
>> I'm running Windows-7 in Virtualbox, everything worked OK yesterday but
>> today Virtualbox does not see any USB devices. 
>> I have a USB label printer and it is recognized by Gentoo host: 
>>
>> [ 6455.295503] usb 3-1: New USB device found, idVendor=04f9,
>> idProduct=2028
>> [ 6455.295505] usb 3-1: New USB device strings: Mfr=1, Product=2,
>> SerialNumber=3
>> [ 6455.295508] usb 3-1: Product: QL-570
>> [ 6455.295509] usb 3-1: Manufacturer: Brother
>> [ 6455.295511] usb 3-1: SerialNumber: G2Z917467
>> [ 6455.295612] usb 3-1: usb_probe_device
>> [ 6455.295615] usb 3-1: configuration #1 chosen from 1 choice
>> [ 6455.297499] usb 3-1: adding 3-1:1.0 (config #1, interface 0)
>> [ 6455.297541] usblp 3-1:1.0: usb_probe_interface
>> [ 6455.297544] usblp 3-1:1.0: usb_probe_interface - got id
>>
>> Setting in Virtualbox: "USB 2.0 (EHCI) Controller" is Enabled.
>>
>> I'm in "vboxusers" group.
>>
>> fd@clinic-amd ~ $ groups
>> wheel uucp audio cdrom cdrw usb users scanner fd plugdev vboxusers
>>
>> What else should I checked for?
>>
>> Recently I just upgraded to "openssh-7" but that should have nothing to
>> do with Virtualbox and USB.
>> I connected the QL-570 (USB printer) to my backup machine and
>> VirtualBox recognize it OK
> 
> You need to specifically assign the usb device to the guest.
> 
> --
> Joost

How do you do that?

Thelma




Re: [gentoo-user] Virtualbox not displaying USB devices

2015-11-26 Thread thelma

On 11/26/2015 11:33 AM, J. Roeleveld wrote:
> On 26 November 2015 19:23:00 CET, the...@sys-concept.com wrote:
>>
>> I'm running Windows-7 in Virtualbox, everything worked OK yesterday but
>> today Virtualbox does not see any USB devices. 
>> I have a USB label printer and it is recognized by Gentoo host: 
>>
>> [ 6455.295503] usb 3-1: New USB device found, idVendor=04f9,
>> idProduct=2028
>> [ 6455.295505] usb 3-1: New USB device strings: Mfr=1, Product=2,
>> SerialNumber=3
>> [ 6455.295508] usb 3-1: Product: QL-570
>> [ 6455.295509] usb 3-1: Manufacturer: Brother
>> [ 6455.295511] usb 3-1: SerialNumber: G2Z917467
>> [ 6455.295612] usb 3-1: usb_probe_device
>> [ 6455.295615] usb 3-1: configuration #1 chosen from 1 choice
>> [ 6455.297499] usb 3-1: adding 3-1:1.0 (config #1, interface 0)
>> [ 6455.297541] usblp 3-1:1.0: usb_probe_interface
>> [ 6455.297544] usblp 3-1:1.0: usb_probe_interface - got id
>>
>> Setting in Virtualbox: "USB 2.0 (EHCI) Controller" is Enabled.
>>
>> I'm in "vboxusers" group.
>>
>> fd@clinic-amd ~ $ groups
>> wheel uucp audio cdrom cdrw usb users scanner fd plugdev vboxusers
>>
>> What else should I checked for?
>>
>> Recently I just upgraded to "openssh-7" but that should have nothing to
>> do with Virtualbox and USB.
>> I connected the QL-570 (USB printer) to my backup machine and
>> VirtualBox recognize it OK
> 
> You need to specifically assign the usb device to the guest.

Right clicking in the lower right hand corner, is not showing any USB
device; it is empty.

I think I will reinstall guest addition

Thelma



Re: [gentoo-user] Virtualbox not displaying USB devices

2015-11-26 Thread Heiko Baums
Am 26.11.2015 um 19:23 schrieb the...@sys-concept.com:
> 
> What else should I checked for?

When the Windows 7 guest is running, click in the menu bar of Virtualbox
guest window onto "Devices -> USB". Then check the USB device you want
to use within the Windows 7 guest.



Re: [gentoo-user] Virtualbox not displaying USB devices

2015-11-26 Thread thelma

On 11/26/2015 11:49 AM, Heiko Baums wrote:
> Am 26.11.2015 um 19:23 schrieb the...@sys-concept.com:
>>
>> What else should I checked for?
> 
> When the Windows 7 guest is running, click in the menu bar of Virtualbox
> guest window onto "Devices -> USB". Then check the USB device you want
> to use within the Windows 7 guest.

"Devices -> USB" is not showing any entries.





Re: [gentoo-user] Virtualbox not displaying USB devices

2015-11-26 Thread J. Roeleveld
On 26 November 2015 19:54:50 CET, the...@sys-concept.com wrote:
>
>On 11/26/2015 11:49 AM, Heiko Baums wrote:
>> Am 26.11.2015 um 19:23 schrieb the...@sys-concept.com:
>>>
>>> What else should I checked for?
>> 
>> When the Windows 7 guest is running, click in the menu bar of
>Virtualbox
>> guest window onto "Devices -> USB". Then check the USB device you
>want
>> to use within the Windows 7 guest.
>
>"Devices -> USB" is not showing any entries.

Did you load all the virtualbox kernel modules?

It says how to ensure they are loaded at boottime in the post emerge message.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Virtualbox not displaying USB devices

2015-11-26 Thread thelma

On 11/26/2015 11:59 AM, J. Roeleveld wrote:
> On 26 November 2015 19:54:50 CET, the...@sys-concept.com wrote:
>>
>> On 11/26/2015 11:49 AM, Heiko Baums wrote:
>>> Am 26.11.2015 um 19:23 schrieb the...@sys-concept.com:

 What else should I checked for?
>>>
>>> When the Windows 7 guest is running, click in the menu bar of
>> Virtualbox
>>> guest window onto "Devices -> USB". Then check the USB device you
>> want
>>> to use within the Windows 7 guest.
>>
>> "Devices -> USB" is not showing any entries.
> 
> Did you load all the virtualbox kernel modules?
> 
> It says how to ensure they are loaded at boottime in the post emerge message.
> 

Yes, I think they are loaded.

cat /etc/conf.d/modules
...
modules="vboxdrv vboxnetflt vboxnetadp"

Thelma



Re: [gentoo-user] Virtualbox not displaying USB devices

2015-11-26 Thread Neil Bothwick
On Thu, 26 Nov 2015 11:23:00 -0700, the...@sys-concept.com wrote:

> I'm running Windows-7 in Virtualbox, everything worked OK yesterday but
> today Virtualbox does not see any USB devices.

What have you installed since then? Install and run genlop to see

emerge -a genlop
genlop --date yesterday


-- 
Neil Bothwick

"Criminal Lawyer" is a redundancy.


pgp4XpWLJcI1f.pgp
Description: OpenPGP digital signature


[gentoo-user] mdadm RAIDs on 4k drives etc

2015-11-26 Thread Stefan G. Weichinger

I know, there is a linux-raid-ML ;-)
I unsubscribed there a few months ago.

What I would like to discuss and ask here:

Is it problematic to have both 512-byte- and 4k-sector-drives in one
RAID array?

I have that case at a customer where the partition map was copied over
(sfdisk -d) from an old to a new drive.

Now we have misaligned raid member drive with 4k and the older member
with 512bytes.

Additional question here: which version to use?
0.90 for booting, right? As far as I understand the manpage the "-e"
switch does not have much to do with aligning or so.

-

I plan to add another new 4k drive to the RAID1 array after partitioning
it correctly aligned. Then let it sync, remove other disk ... partition
correctly ... etc etc

Stefan



Re: [gentoo-user] Virtualbox not displaying USB devices

2015-11-26 Thread Heiko Baums
Am 26.11.2015 um 20:14 schrieb the...@sys-concept.com:
> 
> Yes, I think they are loaded.
> 
> cat /etc/conf.d/modules
> ...
> modules="vboxdrv vboxnetflt vboxnetadp"

Try adding vboxpci.




Re: [gentoo-user] Virtualbox not displaying USB devices

2015-11-26 Thread thelma
On 11/26/2015 12:14 PM, Neil Bothwick wrote:
> On Thu, 26 Nov 2015 11:23:00 -0700, the...@sys-concept.com wrote:
> 
>> I'm running Windows-7 in Virtualbox, everything worked OK yesterday but
>> today Virtualbox does not see any USB devices.
> 
> What have you installed since then? Install and run genlop to see
> 
> emerge -a genlop
> genlop --date yesterday
> 
> 
genlop --list --date 3 days ago
 * packages merged:

 Wed Nov 25 14:02:24 2015 >>> net-misc/openssh-7.1_p1-r2
 Thu Nov 26 12:26:59 2015 >>> dev-perl/DateManip-6.410.0
 Thu Nov 26 12:27:06 2015 >>> app-portage/genlop-0.30.9-r1

I reinstalled "guest addition" it did not help.

--
Thelma



Re: [gentoo-user] Virtualbox not displaying USB devices

2015-11-26 Thread thelma
On 11/26/2015 12:35 PM, Heiko Baums wrote:
> Am 26.11.2015 um 20:14 schrieb the...@sys-concept.com:
>>
>> Yes, I think they are loaded.
>>
>> cat /etc/conf.d/modules
>> ...
>> modules="vboxdrv vboxnetflt vboxnetadp"
> 
> Try adding vboxpci.

I'll try adding to /etc/conf.d/modules
modules="vboxdrv vboxnetflt vboxnetadp vboxpci"

But how to load the module without restarting the box?

Thelma




Re: [gentoo-user] Virtualbox not displaying USB devices

2015-11-26 Thread Heiko Baums
Am 26.11.2015 um 20:55 schrieb the...@sys-concept.com:

> I'll try adding to /etc/conf.d/modules
> modules="vboxdrv vboxnetflt vboxnetadp vboxpci"
> 
> But how to load the module without restarting the box?

Run as root:
modprobe vboxpci

To check if it's already loaded run:
lsmod | grep vboxpci



Re: [gentoo-user] Virtualbox not displaying USB devices

2015-11-26 Thread thelma
On 11/26/2015 12:35 PM, Heiko Baums wrote:
> Am 26.11.2015 um 20:14 schrieb the...@sys-concept.com:
>>
>> Yes, I think they are loaded.
>>
>> cat /etc/conf.d/modules
>> ...
>> modules="vboxdrv vboxnetflt vboxnetadp"
> 
> Try adding vboxpci.

There is no need to add this module, it is already loaded:

find /lib/modules/`uname -r` -name '*.ko'
/lib/modules/3.10.7-gentoo-r1/kernel/drivers/hwmon/it87.ko
/lib/modules/3.10.7-gentoo-r1/kernel/drivers/hwmon/hwmon-vid.ko
/lib/modules/3.10.7-gentoo-r1/kernel/drivers/char/kcopy/kcopy.ko
/lib/modules/3.10.7-gentoo-r1/kernel/drivers/i2c/algos/i2c-algo-pca.ko
/lib/modules/3.10.7-gentoo-r1/kernel/arch/x86/kernel/test_nx.ko
/lib/modules/3.10.7-gentoo-r1/misc/vboxnetadp.ko
/lib/modules/3.10.7-gentoo-r1/misc/vboxdrv.ko
/lib/modules/3.10.7-gentoo-r1/misc/vboxnetflt.ko
/lib/modules/3.10.7-gentoo-r1/misc/vboxpci.ko

--
Thelma