RE: [gentoo-user] network transfer speed

2021-01-17 Thread Raffaele BELARDI
> -Original Message-
> From: Jack 
> Sent: Saturday, January 16, 2021 22:00
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] network transfer speed
> 
> I may be way off base here, but if the switch is connected to a router,
> packets from one PC go to the switch and then to everything else connected
> to it, including both the other PC and the router.  Is there any chance the
> router is passing packets back to the switch to get to the second PC?  I can
> imagine that causing lots of problems.  However, I would hope it is smart
> enough to know it doesn't need to do so, since both PCs show up on the
> same router port.

A switch uses the Ethernet MAC destination address to forward a packet only on 
the 'interested' ports. What you describe would be a 'hub' [1], I don't think 
it's easy to find one of those on recent networks.

Raffaele

[1] https://en.wikipedia.org/wiki/Ethernet_hub



Re: [gentoo-user] new installation - ERROR: dev-lang/rust-1.47.0-r2::gentoo failed (compile phase)

2021-01-17 Thread bobwxc

在 2021/1/18 上午1:48, the...@sys-concept.com 写道:

On 1/17/21 4:18 AM, Michael wrote:

On Sunday, 17 January 2021 11:04:17 GMT Peter Humphrey wrote:

On Saturday, 16 January 2021 20:59:17 GMT the...@sys-concept.com wrote:

Reinstalling Gentoo on one box (I wiped the root partition, so it is a
clean install) and I'm getting this error

--->8

Have you thought of using rust-bin instead of rust? "emerge -1 rust-bin" It
saves prodigious amounts of compiling here. Of course, you can't do that if
you need to set particular USE flags.

There was a discussion here a month or two ago. Either rust or rust-bin will
satisfy virtual/rust.


Rust uses up tonnes of RAM in compiling, so unless enough RAM and perhaps SWAP
is available, it could fail.  Increasing resources and/or reducing the make
job number should improve the situation.

I think that might have been the case, I run emerge second time and it compiled 
just fine.
Maybe I will switch to "rust-bin", thanks for suggestion.  Why do we need it, is it part 
of "system-bootstrap"?
  
Rust is a computer language, some software written in Rust need a Rust 
compiler.

As I known, firefox is one.

--
bobwxc
F645 5C7A 08E8 A637 24C6  D59E 36E9 4EAB B53E 516B




OpenPGP_signature
Description: OpenPGP digital signature


[gentoo-user] network bonding in gentoo/openrc

2021-01-17 Thread William Kenworthy
Hi all,

    how can I add/make active an interface that's to be part of a bonded
connection without rebooting/restarting the bond?  I have two interfaces
currently running in ieee802.3ad mode.  Usually I restart the interface
or reboot when adding an interface but in this case I don't want to risk
a glitch.  I did it months ago and now cant remember!  I don't think
ifenslave is used anymore.

BillK


** I want to add enp0s21f0u2

moriah ~ # cat /etc/conf.d/net

modules="iproute2 dhcpcd"

config_enp0s21f0u1="dhcp"
dhcp_enp0s21f0u1="nodns nontp"

# bond0
config_enp2s0="null"
config_enp3s0="null"
config_enp0s21f0u2="null"
config_bond0="null"
slaves_bond0="enp2s0 enp3s0 enp0s21f0u2"
mode_bond0="802.3ad"
vlans_bond0="40 41 44 46 49 73 77 78 79"
# voip
config_bond0_40="192.168.40.1/24"
# wifi
config_bond0_41="192.168.41.1/24"
# LAN
config_bond0_44="192.168.44.1/24"
# media
config_bond0_46="192.168.46.1/24"
# vm
config_bond0_49="192.168.49.1/24"
# mfs
config_bond0_72="192.168.72.1/24"
# iot
config_bond0_73="192.168.73.1/24"
# san
config_bond0_77="192.168.77.1/24"
# ext
config_bond0_78="192.168.78.1/24"
# infra
config_bond0_79="192.168.79.1/24"





Re: [gentoo-user] depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown symbol

2021-01-17 Thread thelma
On 1/17/21 5:43 PM, the...@sys-concept.com wrote:
> I'm compiling VirtualBox support into the latest kernel-5.4.80-gentoo-r1
> 
> [*] Virtualization  --->
> <*>   Kernel-based Virtual Machine (KVM) support
> <*> KVM for AMD processors support
> 
> And I get an error when compiling the kernel:  make && make modules_install
> 
> DEPMOD  5.4.80-gentoo-r1
> depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs 
> unknown symbol ttm_bo_mmap
> depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs 
> unknown symbol ttm_bo_manager_func
> depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs 
> unknown symbol ttm_bo_device_release
> depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs 
> unknown symbol ttm_bo_kunmap
> depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs 
> unknown symbol ttm_bo_del_sub_from_lru
> depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs 
> unknown symbol ttm_bo_device_init
> depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs 
> unknown symbol ttm_bo_init_mm
> depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs 
> unknown symbol ttm_bo_dma_acc_size
> depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs 
> unknown symbol ttm_tt_init
> depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs 
> unknown symbol ttm_bo_kmap
> depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs 
> unknown symbol ttm_bo_add_to_lru
> depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs 
> unknown symbol ttm_bo_init
> depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs 
> unknown symbol ttm_bo_validate
> depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs 
> unknown symbol ttm_bo_move_to_lru_tail
> depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs 
> unknown symbol ttm_bo_put
> depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs 
> unknown symbol ttm_tt_fini
> depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs 
> unknown symbol ttm_bo_eviction_valuable

In kernel-5.4.80-gentoo-r1 
CONFIG_DRM_VBOXVIDEO is not set

need to be set for VirtualBox.
The strange part is that this setting is not enable in: kernel-5.4.72-gentoo 
x86_64
and VirtualBox is working and I never got any error messages like this when 
compiling kernel-5.4.72-gentoo 



[gentoo-user] depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown symbol

2021-01-17 Thread thelma
I'm compiling VirtualBox support into the latest kernel-5.4.80-gentoo-r1

[*] Virtualization  --->
<*>   Kernel-based Virtual Machine (KVM) support
<*> KVM for AMD processors support

And I get an error when compiling the kernel:  make && make modules_install

DEPMOD  5.4.80-gentoo-r1
depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown 
symbol ttm_bo_mmap
depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown 
symbol ttm_bo_manager_func
depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown 
symbol ttm_bo_device_release
depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown 
symbol ttm_bo_kunmap
depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown 
symbol ttm_bo_del_sub_from_lru
depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown 
symbol ttm_bo_device_init
depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown 
symbol ttm_bo_init_mm
depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown 
symbol ttm_bo_dma_acc_size
depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown 
symbol ttm_tt_init
depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown 
symbol ttm_bo_kmap
depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown 
symbol ttm_bo_add_to_lru
depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown 
symbol ttm_bo_init
depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown 
symbol ttm_bo_validate
depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown 
symbol ttm_bo_move_to_lru_tail
depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown 
symbol ttm_bo_put
depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown 
symbol ttm_tt_fini
depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown 
symbol ttm_bo_eviction_valuable



Re: [gentoo-user] merged on \${HOST} with notice"

2021-01-17 Thread David Haller
Hello,

On Sun, 17 Jan 2021, the...@sys-concept.com wrote:
>On 1/17/21 2:04 PM, David Haller wrote:
>> On Sun, 17 Jan 2021, the...@sys-concept.com wrote:
>>> I have in a new machine (as on all other boxes) in make.conf
>>> PORTAGE_ELOG_MAILSUBJECT="package \${PACKAGE} merged on \${HOST} with 
>>> notice"
>> [..]
>>> Which file define "${HOST}"
>> 
>>  /etc/hosts 
>> [..]
>> # IP-Address  Full-Qualified-Hostname  Short-Hostname
>> 
>> 127.0.0.1   syscon3.domain.tld   syscon3 localhost
>> ::1 syscon3.domain.tld   syscon3 localhost
>> 
>
>THANK YOU! It is working.
>Does placement of the name make a difference? 
>eg:  
>127.0.0.1   syscon3.domain.tld   syscon3 localhost
>
>vs.
>127.0.0.1   localhost  syscon3  syscon3.domain.tld 

Yes. That's why I quoted the comment that the FQDN has to be first.

You can check with:

$ hostname
$ hostname -f

The former must give the short name ("syscon3"), the second one the FQDN
("syscon3.domain.tld").

HTH,
-dnh

-- 
>Wow, and everyone swears [Python]'s better than Perl. Wait, you don't say
>it's worse, never mind.  -- Satya
The axis on which Perl sits is rotated 90 degrees with respect to the
rest of language-goodness-space.-- Garrett Wollman



Re: [gentoo-user] merged on \${HOST} with notice"

2021-01-17 Thread Arve Barsnes
On Sun, 17 Jan 2021 at 22:36,  wrote:
> Does placement of the name make a difference?

See the man page for details:
# man hosts

Regards,
Arve



Re: [gentoo-user] merged on \${HOST} with notice"

2021-01-17 Thread thelma
On 1/17/21 2:04 PM, David Haller wrote:
> Hello,
> 
> On Sun, 17 Jan 2021, the...@sys-concept.com wrote:
>> I have in a new machine (as on all other boxes) in make.conf
>> PORTAGE_ELOG_MAILSUBJECT="package \${PACKAGE} merged on \${HOST} with notice"
> [..]
>> Which file define "${HOST}"
> 
>  /etc/hosts 
> [..]
> # IP-Address  Full-Qualified-Hostname  Short-Hostname
> 
> 127.0.0.1   syscon3.domain.tld   syscon3 localhost
> ::1 syscon3.domain.tld   syscon3 localhost
> 
> 
> Use 'localdomain' as domain.tld if you don't have a domain.
> 
> HTH,
> -dnh

THANK YOU! It is working.
Does placement of the name make a difference? 
eg:  
127.0.0.1   syscon3.domain.tld   syscon3 localhost

vs.
127.0.0.1   localhost  syscon3  syscon3.domain.tld 



Re: [gentoo-user] merged on \${HOST} with notice"

2021-01-17 Thread David Haller
Hello,

On Sun, 17 Jan 2021, the...@sys-concept.com wrote:
>I have in a new machine (as on all other boxes) in make.conf
>PORTAGE_ELOG_MAILSUBJECT="package \${PACKAGE} merged on \${HOST} with notice"
[..]
>Which file define "${HOST}"

 /etc/hosts 
[..]
# IP-Address  Full-Qualified-Hostname  Short-Hostname

127.0.0.1   syscon3.domain.tld   syscon3 localhost
::1 syscon3.domain.tld   syscon3 localhost


Use 'localdomain' as domain.tld if you don't have a domain.

HTH,
-dnh

-- 
Less is more or less more



Re: [gentoo-user] merged on \${HOST} with notice"

2021-01-17 Thread thelma
On 1/17/21 12:59 PM, Hogren wrote:
> 
> On 17/01/2021 19:18, the...@sys-concept.com wrote:
>> I have in a new machine (as on all other boxes) in make.conf
>> PORTAGE_ELOG_MAILSUBJECT="package \${PACKAGE} merged on \${HOST} with notice"
>>
>> In  /etc/conf.d/hostname
>> hostname="syscon3"
>>
>> But when a package is emerge I receive via email notice as in subject line: 
>> "...merged on localhost.localdomain"
>> eg: package dev-vcs/git-2.26.2 merged on localhost.localdomain with notice
>>
>> Which file define "${HOST}"
>>
> Hello,
> 
> I suppose you had already rebooted after modify the file ?
> 
> Do you have Systemd ?

I forgot to mention, I use openrc
 



Re: [gentoo-user] merged on \${HOST} with notice"

2021-01-17 Thread thelma
On 1/17/21 12:59 PM, Hogren wrote:
> 
> On 17/01/2021 19:18, the...@sys-concept.com wrote:
>> I have in a new machine (as on all other boxes) in make.conf
>> PORTAGE_ELOG_MAILSUBJECT="package \${PACKAGE} merged on \${HOST} with notice"
>>
>> In  /etc/conf.d/hostname
>> hostname="syscon3"
>>
>> But when a package is emerge I receive via email notice as in subject line: 
>> "...merged on localhost.localdomain"
>> eg: package dev-vcs/git-2.26.2 merged on localhost.localdomain with notice
>>
>> Which file define "${HOST}"
>>
> Hello,
> 
> I suppose you had already rebooted after modify the file ?
> 
> Do you have Systemd ?
> 
> 
> Regards,
> 
> Hogren

No, I did not rebooted the system. Do I need to?
I can not pin it down which file/setting it is.  

When I receive emerge notice from my new system, both of them have "...merged 
on localhost.localdomain" instead of "hostname" eg. syscon3 syscon7 etc.
 



Re: [gentoo-user] merged on \${HOST} with notice"

2021-01-17 Thread Hogren



On 17/01/2021 19:18, the...@sys-concept.com wrote:

I have in a new machine (as on all other boxes) in make.conf
PORTAGE_ELOG_MAILSUBJECT="package \${PACKAGE} merged on \${HOST} with notice"

In  /etc/conf.d/hostname
hostname="syscon3"

But when a package is emerge I receive via email notice as in subject line: 
"...merged on localhost.localdomain"
eg: package dev-vcs/git-2.26.2 merged on localhost.localdomain with notice

Which file define "${HOST}"


Hello,

I suppose you had already rebooted after modify the file ?

Do you have Systemd ?


Regards,

Hogren




[gentoo-user] merged on \${HOST} with notice"

2021-01-17 Thread thelma
I have in a new machine (as on all other boxes) in make.conf
PORTAGE_ELOG_MAILSUBJECT="package \${PACKAGE} merged on \${HOST} with notice"

In  /etc/conf.d/hostname
hostname="syscon3"

But when a package is emerge I receive via email notice as in subject line: 
"...merged on localhost.localdomain"
eg: package dev-vcs/git-2.26.2 merged on localhost.localdomain with notice

Which file define "${HOST}"



Re: [gentoo-user] new installation - ERROR: dev-lang/rust-1.47.0-r2::gentoo failed (compile phase)

2021-01-17 Thread thelma
On 1/17/21 4:18 AM, Michael wrote:
> On Sunday, 17 January 2021 11:04:17 GMT Peter Humphrey wrote:
>> On Saturday, 16 January 2021 20:59:17 GMT the...@sys-concept.com wrote:
>>> Reinstalling Gentoo on one box (I wiped the root partition, so it is a
>>> clean install) and I'm getting this error
>>
>> --->8
>>
>> Have you thought of using rust-bin instead of rust? "emerge -1 rust-bin" It
>> saves prodigious amounts of compiling here. Of course, you can't do that if
>> you need to set particular USE flags.
>>
>> There was a discussion here a month or two ago. Either rust or rust-bin will
>> satisfy virtual/rust.
> 
> 
> Rust uses up tonnes of RAM in compiling, so unless enough RAM and perhaps 
> SWAP 
> is available, it could fail.  Increasing resources and/or reducing the make 
> job number should improve the situation.

I think that might have been the case, I run emerge second time and it compiled 
just fine.
Maybe I will switch to "rust-bin", thanks for suggestion.  Why do we need it, 
is it part of "system-bootstrap"?
 



Re: [gentoo-user] new installation - ERROR: dev-lang/rust-1.47.0-r2::gentoo failed (compile phase)

2021-01-17 Thread bobwxc

在 2021/1/17 下午7:18, Michael 写道:

On Sunday, 17 January 2021 11:04:17 GMT Peter Humphrey wrote:

On Saturday, 16 January 2021 20:59:17 GMT the...@sys-concept.com wrote:

Reinstalling Gentoo on one box (I wiped the root partition, so it is a
clean install) and I'm getting this error

--->8

Have you thought of using rust-bin instead of rust? "emerge -1 rust-bin" It
saves prodigious amounts of compiling here. Of course, you can't do that if
you need to set particular USE flags.

There was a discussion here a month or two ago. Either rust or rust-bin will
satisfy virtual/rust.


Rust uses up tonnes of RAM in compiling, so unless enough RAM and perhaps SWAP
is available, it could fail.  Increasing resources and/or reducing the make
job number should improve the situation.

Agree with above, please try flag like "-j1" or give more swap space.
And compile Rust really take a while, made my old computer scream for 
almost a day.

It is really a bad experience to use a poor computer to do what a heavy job.

--
bobwxc
F645 5C7A 08E8 A637 24C6  D59E 36E9 4EAB B53E 516B



OpenPGP_0x36E94EABB53E516B.asc
Description: application/pgp-keys


OpenPGP_signature
Description: OpenPGP digital signature


Re: [gentoo-user] fstab mount /home by default

2021-01-17 Thread Neil Bothwick
On Sun, 17 Jan 2021 01:22:22 -0700, the...@sys-concept.com wrote:

> On my new installation, I have in my fstab:
> /dev/sda5 /home   ext4
> noatime   0 1
> 
> but on new installation /home doesn't mount by default, why?

What does syslog say? Is it even trying to mount, or trying and failing?
> 
> On new installation, I created a user without "-m" 
> useradd  -G users,wheel,audio -s /bin/bash thelma
> 
> added to fstab: 
> /dev/sda5 /home   ext4
> noatime   0 1
> 
> but it doesn't mount by default.
> xfce4 created new entry in /home  /thelma
> so I deleted the entry /thelma but manual mounting:  mount /dev/sda5
> /home does not create directory /thelma manually under /home
> 
> When I mount manually /dev/sda5  /home all data is there but but trying
> login as user "X" gets a black screen now.

Your user directory won't be created automatically when mounting.
/home/thelma has to exist and be owned by the correct user. Permission
errors could be caused by your recreating /home/thelma as root and not
changing ownership.

-- 
Neil Bothwick

WINDOWS: Will Install Needless Data On Whole System


pgpHl1JwVuLFL.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] new installation - ERROR: dev-lang/rust-1.47.0-r2::gentoo failed (compile phase)

2021-01-17 Thread Michael
On Sunday, 17 January 2021 11:04:17 GMT Peter Humphrey wrote:
> On Saturday, 16 January 2021 20:59:17 GMT the...@sys-concept.com wrote:
> > Reinstalling Gentoo on one box (I wiped the root partition, so it is a
> > clean install) and I'm getting this error
> 
> --->8
> 
> Have you thought of using rust-bin instead of rust? "emerge -1 rust-bin" It
> saves prodigious amounts of compiling here. Of course, you can't do that if
> you need to set particular USE flags.
> 
> There was a discussion here a month or two ago. Either rust or rust-bin will
> satisfy virtual/rust.


Rust uses up tonnes of RAM in compiling, so unless enough RAM and perhaps SWAP 
is available, it could fail.  Increasing resources and/or reducing the make 
job number should improve the situation.

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] new installation - ERROR: dev-lang/rust-1.47.0-r2::gentoo failed (compile phase)

2021-01-17 Thread Peter Humphrey
On Saturday, 16 January 2021 20:59:17 GMT the...@sys-concept.com wrote:
> Reinstalling Gentoo on one box (I wiped the root partition, so it is a clean
> install) and I'm getting this error

--->8

Have you thought of using rust-bin instead of rust? "emerge -1 rust-bin" It 
saves prodigious amounts of compiling here. Of course, you can't do that if 
you need to set particular USE flags.

There was a discussion here a month or two ago. Either rust or rust-bin will 
satisfy virtual/rust.

-- 
Regards,
Peter.






Re: [gentoo-user] network transfer speed

2021-01-17 Thread Michael
On Saturday, 16 January 2021 20:59:58 GMT Jack wrote:
> On 2021.01.16 15:36, the...@sys-concept.com wrote:
> [snip.]
> 
> > 2.) The two Gentoo PC that are meters away from the switch are my
> > concern firs.
> > One is a server, another small PC run 24/7 and both negotiated speed
> > of 1000 with the switch.
> 
> I may be way off base here, but if the switch is connected to a router,
> packets from one PC go to the switch and then to everything else
> connected to it, including both the other PC and the router.  Is there
> any chance the router is passing packets back to the switch to get to
> the second PC?  I can imagine that causing lots of problems.  However,
> I would hope it is smart enough to know it doesn't need to do so, since
> both PCs show up on the same router port.

Unmanaged witches for the consumer market tend to last fewer years than they 
used to.  This is because their power supply as well as the components on the 
circuit board are now manufactured as cheaply as possible.  Good for repeat 
sales, bad for the consumer.

The switch may fail outright, in which case the network fault is obvious. Or, 
it may start failing intermittently.  Typical failure modes are for one or 
more ports to stop working altogether, or downgrade the port speed - as 
observed by the OP.  Removing the ethernet cable, powering down the switch, 
re-inserting the ethernet cable and powering up the switch may restore the 
correct operation on the port.

It was usually the case electrolytic capacitors on the circuit board could be 
replaced to fix the switch, but more recently some manufactures no longer use 
electrolytic capacitors - so I'm not sure repairs are even possible.

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] fstab mount /home by default

2021-01-17 Thread bobwxc

在 2021/1/17 下午4:42, Stefan Schmiedl 写道:

"the...@sys-concept.com" , 17.01.2021, 09:34:


  On 1/17/21 1:22 AM, the...@sys-concept.com wrote:

On one of my system I have in fstab:
/dev/sda4             /home           ext4            noatime         0 1
and /home is mounted by default

On my new installation, I have in my fstab:
/dev/sda5             /home           ext4            noatime         0 1

but on new installation /home doesn't mount by default, why?

On new installation, I created a user without "-m"
useradd  -G users,wheel,audio -s /bin/bash thelma

added to fstab:
/dev/sda5             /home           ext4            noatime         0 1

but it doesn't mount by default.
xfce4 created new entry in /home  /thelma
so I deleted the entry /thelma but manual mounting:  mount /dev/sda5 /home
does not create directory /thelma manually under /home

When I mount manually /dev/sda5  /home all data is there but but trying login as user 
"X" gets a black screen now.
How to get back "X"

When I ssh and try to start it manually I get:
Fatal server error:
(EE) xf86OpenConsole: Cannot open virtual console 8 (Permission denied)

Spelling :-/
It should be:
dev/sda5                /home           ext4            defaults                
0 1
  

this line is missing a leading /, it should be the full path to the device:

/dev/sda5 ...

s.


1. You'd better use UUID instead of /dev/path
2. check your origin  ~/.config/user-dirs.dirs  and make dirs in you new 
home


--
bobwxc
F645 5C7A 08E8 A637 24C6  D59E 36E9 4EAB B53E 516B



OpenPGP_signature
Description: OpenPGP digital signature


Re: [gentoo-user] Console scrollback

2021-01-17 Thread Philip Webb
On Sat, 16 Jan 2021 12:01:48 +, Alan Mackenzie wrote:
> I usually install Gentoo via ssh.
> The article I read about the removal of Linux console's backscrolling
> feature said it was mostly due to lack of a maintainer for that code,
> and that if somebody stepped forward to maintain it, it could be revived.
> I subscribed to the linux-kernel list for a short time
> and offered my services in a post.  Not one single reply did I get.
> Linus Torvalds personally took the decision to remove the scrolling.
> Sure, he went through the motions of pretending to try to find
> a maintainer, but didn't put any serious effort into it.
> He argued that "nobody" uses it anyway, therefore it is unimportant.
> Exactly what the bugs are in the scrolling code
> wasn't gone into on the list, despite more than one contributor asking.

You can't expect Linus to take any time over a minority of users
or for the kernel team generally to reply to someone they don't know.
In order to get attention, you need to come up with a set of patches
which you know work in a modified kernel in your own machine.
For that, you have to put in some work of your own,
searching out the bugs, examining the relevant code,
finding what is needed to fix the bugs & testing patched kernels.

If you try using Screen, you could print yourself a list of commands,
which would make it easier to get used to its features.
It may well be easier to go over to BSD instead.

When I installed this system in 2015, I needed to use raw terminals,
so I wonder whether this is a real problem for a lot of Gentoo users.
If so, an approach by a Gentoo dev to the kernel maintainers
would be likely to get the attention you can't get on your own.

HTH

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatcadotinterdotnet




Re: [gentoo-user] fstab mount /home by default

2021-01-17 Thread Stefan Schmiedl

"the...@sys-concept.com" , 17.01.2021, 09:34:

> On 1/17/21 1:22 AM, the...@sys-concept.com wrote:
>> On one of my system I have in fstab:
>> /dev/sda4             /home           ext4            noatime         0 1
>> and /home is mounted by default 
>> 
>> On my new installation, I have in my fstab:
>> /dev/sda5             /home           ext4            noatime         0 1
>> 
>> but on new installation /home doesn't mount by default, why?
>> 
>> On new installation, I created a user without "-m" 
>> useradd  -G users,wheel,audio -s /bin/bash thelma
>> 
>> added to fstab: 
>> /dev/sda5             /home           ext4            noatime         0 1
>> 
>> but it doesn't mount by default.
>> xfce4 created new entry in /home  /thelma
>> so I deleted the entry /thelma but manual mounting:  mount /dev/sda5 /home
>> does not create directory /thelma manually under /home
>> 
>> When I mount manually /dev/sda5  /home all data is there but but trying 
>> login as user "X" gets a black screen now.
>> How to get back "X"
>> 
>> When I ssh and try to start it manually I get:
>> Fatal server error:
>> (EE) xf86OpenConsole: Cannot open virtual console 8 (Permission denied)

> Spelling :-/
> It should be:
> dev/sda5                /home           ext4            defaults              
>   0 1
>  

this line is missing a leading /, it should be the full path to the device:

/dev/sda5 ...

s.




Re: [gentoo-user] fstab mount /home by default

2021-01-17 Thread thelma
On 1/17/21 1:22 AM, the...@sys-concept.com wrote:
> On one of my system I have in fstab:
> /dev/sda4 /home   ext4noatime 0 1
> and /home is mounted by default 
> 
> On my new installation, I have in my fstab:
> /dev/sda5 /home   ext4noatime 0 1
> 
> but on new installation /home doesn't mount by default, why?
> 
> On new installation, I created a user without "-m" 
> useradd  -G users,wheel,audio -s /bin/bash thelma
> 
> added to fstab: 
> /dev/sda5 /home   ext4noatime 0 1
> 
> but it doesn't mount by default.
> xfce4 created new entry in /home  /thelma
> so I deleted the entry /thelma but manual mounting:  mount /dev/sda5 /home
> does not create directory /thelma manually under /home
> 
> When I mount manually /dev/sda5  /home all data is there but but trying login 
> as user "X" gets a black screen now.
> How to get back "X"
> 
> When I ssh and try to start it manually I get:
> Fatal server error:
> (EE) xf86OpenConsole: Cannot open virtual console 8 (Permission denied)

Spelling :-/
It should be:
dev/sda5/home   ext4defaults
0 1
 



[gentoo-user] fstab mount /home by default

2021-01-17 Thread thelma
On one of my system I have in fstab:
/dev/sda4   /home   ext4noatime 0 1
and /home is mounted by default 

On my new installation, I have in my fstab:
/dev/sda5   /home   ext4noatime 0 1

but on new installation /home doesn't mount by default, why?

On new installation, I created a user without "-m" 
useradd  -G users,wheel,audio -s /bin/bash thelma

added to fstab: 
/dev/sda5   /home   ext4noatime 0 1

but it doesn't mount by default.
xfce4 created new entry in /home  /thelma
so I deleted the entry /thelma but manual mounting:  mount /dev/sda5 /home
does not create directory /thelma manually under /home

When I mount manually /dev/sda5  /home all data is there but but trying login 
as user "X" gets a black screen now.
How to get back "X"

When I ssh and try to start it manually I get:
Fatal server error:
(EE) xf86OpenConsole: Cannot open virtual console 8 (Permission denied)