Re: [gentoo-user] repair uefi vfat /boot?

2020-03-24 Thread Wols Lists
On 24/03/20 20:11, Caveman Al Toraboran wrote:
> from now on, will start the smart daemon + some raid solution (after replacing
> faulty disk).

https://raid.wiki.kernel.org/index.php/Linux_Raid

Cheers,
Wol



Re: [gentoo-user] repair uefi vfat /boot?

2020-03-24 Thread Caveman Al Toraboran
‐‐‐ Original Message ‐‐‐
On Monday, March 23, 2020 3:33 PM, Michael  wrote:

> 'man smartctl' provides some explanation with regards to reading the Attribute
> values reported by the firmware of the disk, as does Wikipedia:
>
> https://en.wikipedia.org/wiki/S.M.A.R.T.#Known_ATA_S.M.A.R.T._attributes
>
> However, with Seagate drives in particular reported values by the firmware are
> counterintuitive and can cause confusion:
>
> http://www.users.on.net/~fzabkar/HDD/Seagate_SER_RRER_HEC.html
>
> Not withstanding the above, if you look under the section "-A --attributes" in
> the manual you'll see the following. If an attribute type is of type 'Pre-
> fail' and is equal or less than the Threshold value then there is a problem.
> If the WHEN_FAILED column shows a dash, this means the drive has not failed
> yet with respect to this attribute.
>
> Looking at your SMART table we can see no attribute has failed completely yet,
> but we see some potentially worrying signs too.
>
> There have been a number of (ID 1) Raw Read Errors and also (ID 195) Hardware
> ECC Recovered sectors. However, there are a large number of (ID 187) Reported
> Uncorrectable errors - these are sectors the Hardware ECC failed to correct.
>
> The next value (ID 188) Command Timeout is also of some concern, showing a
> count of 30 aborted operations by the HDD.
>
> There are also some Bad Blocks, with a raw value of 49. If you see this
> number increasing over time, it means potentially more and more of your data
> can be lost. It would explain for example why some of the files you stored in
> the vfat partition are showing a size of zero. The value of (ID 197) Current
> Pending Sector of 12 is also worrying - there are 12 sectors waiting to be
> remapped to a more healthy part of the disk because of unrecoverable read
> errors. The following attribute (ID 198) Offline Uncorrectable Error counts
> also shows 12. These are indications your hard disk is failing probably due
> to some platter surface damage and you should take all data off it. At some
> point it will fail completely and until then loss of data is likely to
> increase.

amazing help :).  thank you very much for walking me throughout this.
highly appreciated.

from now on, will start the smart daemon + some raid solution (after replacing
faulty disk).

(side note:  and psu's fuse blew up a few days ago.  fortunately important
data is backed up.  but i wonder if this is related?  or is it just that i'm
unlucky?)

rgrds,
cm



Re: [gentoo-user] remote console

2020-03-24 Thread Mickaël Bucas
Hi

I'm using Shell In A Box, which is available in Portage : www-misc/shellinabox
https://github.com/shellinabox/shellinabox

As it uses /bin/login, you can assign users to your students so they
are independent of each other.

Best regards

Mickaël Bucas

Le mar. 24 mars 2020 à 07:51, J. Roeleveld  a écrit :
>
> On Tuesday, March 24, 2020 4:54:47 AM CET William Kenworthy wrote:
> > Hi,
> >
> >  I am giving a PD session to some techs on raspberry pi's and odroid
> > arm systems running gentoo.  It will be online through MS teams which
> > works well through the google chrome browser using WebRTC.  I would like
> > to use browser based ssh to look at various files, logs etc. using vi.
> > Can someone recommend some type of browser based ssh client that will
> > run in chrome?
> >
> > MS Teams has a linux app, but its less functional than the browser
> > version - I cant get the camera or desktop export to work.
> >
> > BillK
>
> something like this?
>
>
> http://web-console.org/
> (Not sure, but might be providing access as the webserver-user)
>
> or:
> https://pypi.org/project/webssh/
> (This looks more promising. The screenshot also mentions Raspbary Pi)
>
> I have not tried either of these, please let me know what they are like as I
> am thinking of adding this myself to some services.
>
> Many thanks,
>
> Joost
>
>
>



Re: [gentoo-user] remote console

2020-03-24 Thread J. Roeleveld
On Tuesday, March 24, 2020 4:54:47 AM CET William Kenworthy wrote:
> Hi,
> 
>  I am giving a PD session to some techs on raspberry pi's and odroid
> arm systems running gentoo.  It will be online through MS teams which
> works well through the google chrome browser using WebRTC.  I would like
> to use browser based ssh to look at various files, logs etc. using vi. 
> Can someone recommend some type of browser based ssh client that will
> run in chrome?
> 
> MS Teams has a linux app, but its less functional than the browser
> version - I cant get the camera or desktop export to work.
> 
> BillK

something like this?


http://web-console.org/
(Not sure, but might be providing access as the webserver-user)

or:
https://pypi.org/project/webssh/
(This looks more promising. The screenshot also mentions Raspbary Pi)

I have not tried either of these, please let me know what they are like as I 
am thinking of adding this myself to some services.

Many thanks,

Joost





Re: [gentoo-user] Kernel doesn't accept any initramfs

2020-03-24 Thread J. Roeleveld
On Tuesday, March 24, 2020 4:55:49 AM CET andrey@gmail.com wrote:
> I've somehow built a kernel that won't accept any initramfs. To
> elaborate, it hangs in shell in dracut and panicks with a minimal
> initramfs as if it rejects the initramfs entirely and tries to boot an
> lvm volume, which of course, fails.
> 
> Kernel config:
> http://sprunge.us/tqz3BM
> 
> The minimal initramfs is described by the file listing
> http://sprunge.us/GQVbqc
> and init script http://sprunge.us/YHWY9Z , though this script is of
> limited use since even with `exec sh` in the first non-comment line,
> the kernel doesn't follow through.
> 
> Thoughts?
> 
> -- AV

Please provide the info as attachments instead of temporary links.

--
Joost