Re: [gentoo-user] UEFI data corruption? [FIXED]

2019-09-24 Thread Neil Bothwick
On Tue, 24 Sep 2019 09:50:44 +0100, Peter Humphrey wrote:

> The Gentoo Handbook says to create a small unformatted partition at the 
> beginning of the (primary?) disk, then to create a FAT-32 partition for
> /boot, then whatever other partitions are required.
> 
> Neil said above that he doesn't do that; he omits the unformatted
> partition, and I believe that's quite popular. I tried following the
> same scheme, but that's what caused the difficulties I started this
> thread with: on this system I need both those partitions. The system
> will not boot without both of them. [1]

[snip]

> 1.   I remember, dimly, that while commissioning this machine from new,
> I had trouble installing and running grub:2. I knew even less about
> UEFI systems then, so if I were to try it again now I might find a way.
> But I hate the damn thing, so as long as I don't need it it's not
> getting near my machines.

I thought you were using systemd-boot, not GRUB? GRUB may need the
protected MBR space, but I only use GRUB on non-UEFI systems, where the
blank partition is needed with GPT partitioning.


-- 
Neil Bothwick

It may be that your sole purpose in life is simply to serve as a
warning to others.


pgplCaM5YDDZS.pgp
Description: OpenPGP digital signature


Re: [EXTERNAL] [gentoo-user] CIFS VFS: cifs_mount failed w/return code = -112

2019-09-24 Thread Laurence Perkins


On Tue, 2019-09-24 at 10:13 -0600, the...@sys-concept.com wrote:
> I'm trying to mount Windows 10 directory on Gentoo
> 
> mount -t cifs -o username=xxx,password=xxx //10.0.0.146/customer
> /home/joseph/ttt/
> mount error(112): Host is down
> 
> I can ping 10.0.0.146 OK
> customer -dir  on Windows 10 has sharing enabled.
> 

Note that in Windows 10 sharing is always enabled and it just blocks or
unblocks it on the firewall.  Furthermore the status indicator is
pretty rubbish at determining if it's actually working correctly.

For testing, try disabling the Windows Firewall temporarily and see if
that makes it work.  If it does you might have to turn sharing off and
on again, or you might have to sift through the firewall rules and
correct the mistake yourself.

Possibly also the system thinks it's attached to a public network and
has the firewall set to block sharing services even though it says it's
turned on.

Regardless, the error you're getting means that something is blocking
the communication once it leaves the client machine.

LMP


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


Re: [gentoo-user] USB-C PD delivery & Lenovo USB-C hub.

2019-09-24 Thread Dom Rodriguez
On this date - Mon, Sep 23, 2019 at 06:16:25PM +0100, Dom Rodriguez wrote:
> Hello,
> 
> On this date - Mon, Sep 23, 2019 at 05:55:46PM +0100, Mick wrote:
> > On Monday, 23 September 2019 17:39:22 BST Dom Rodriguez wrote:
> > > On this date - Mon, Sep 23, 2019 at 07:20:56PM +0300, Alexey Mishustin 
> > wrote:
> > > > пн, 23 сент. 2019 г. в 19:13, Dom Rodriguez :
> > > > > Hello,
> > > > > 
> > > > > On this date - Mon, Sep 23, 2019 at 07:01:08PM +0300, Alexey 
> > > > > Mishustin 
> > wrote:
> > > > > > пн, 23 сент. 2019 г. в 18:36, Dom Rodriguez 
> > > > > > :
> > > > > > > Alright, I've managed to isolate the issue to the `tps6598.ko' 
> > > > > > > USB-C
> > > > > > > PD kernel module.
> > > > > > > 
> > > > > > > I've reached out to the manufacturer of the hub to see if they can
> > > > > > > advise, but for now, knowing the problem kernel module has
> > > > > > > definitely helped getting close to solving the problem.
> > > > > > > 
> > > > > > > --
> > > > > > > Sincerely,
> > > > > > > Dom Rodriguez (shymega).
> > > > > > 
> > > > > > Hello,
> > > > > > 
> > > > > > What's the model code of your hub?
> > > > > > 
> > > > > > --
> > > > > > Best regards,
> > > > > > Alex
> > > > > 
> > > > > Sorry, meant to mention that.. its a Lenovo USb-C Hub C109. I bought 
> > > > > it
> > > > > from Amazon, but the manufacturer sells it under the Lenovo brand -
> > > > > http://www.novolk.com/productinfo/54884.html> 
> > > > OK. Thanks. It's useful to know which one potentially to avoid.
> > > 
> > > The thing is, I've tried with a fair few hubs with this laptop, and it
> > > hasn't been very successful... same issue persists.
> > 
> > Have you had a look at the UEFI/BIOS settings?  There may be a setting you 
> > need to enable in there.
> 
> I'm afraid there's no options in the UEFI settings for USB-C power delivery.

I've tested the hub and PD power adapter (Anker) on the same laptop on the
Windows 10 partition. No luck. The PD chip in the laptop is recognised by
Windows 10 though.

I've ordered a replacement adapter (Anker), and hub, which should arrive
tomorrow - I'll see how that goes.

At this point, its either one of three things:

- The laptop hardware.
- The USB-C hub.
- The Anker power adapter.

Time will tell

-- 
Sincerely,
Dom Rodriguez (shymega).



signature.asc
Description: PGP signature


Re: [gentoo-user] Thunderbird-60,9.0

2019-09-24 Thread Jack

On 2019.09.23 20:24, james wrote:

Hello,

So, I've been running Thunderbird-60,9.0 with the only 2 flags set::
dbus jack.

Only (broken) issue is the spellchecker (do not even remember which  
one I use to use) does not work. Any spellchecker that automagically  
corrects/highlights as I type is fine. I search all over and all I  
find our guides that are not relevant to some of the newer versions  
of Thunderbird



(https://www.infopackets.com/news/10018/how-fix-thunderbird-spell-check-wont-work)

Surely I just need to turn spell checking back on:: but I cannot find
where, the key-stroke, to do this on thunderbird-60.9.0. Is there a  
better/newer version to run?


Thanks in Advance,
James
I'm still on 60.8.0, and on the Preferences dialog, Composition view,  
Spelling tab it has "Check spelling before sending" and "Enable  
spellcheck as you type" checkboxes.  Has that been removed?


[gentoo-user] CIFS VFS: cifs_mount failed w/return code = -112

2019-09-24 Thread thelma
I'm trying to mount Windows 10 directory on Gentoo

mount -t cifs -o username=xxx,password=xxx //10.0.0.146/customer
/home/joseph/ttt/
mount error(112): Host is down

I can ping 10.0.0.146 OK
customer -dir  on Windows 10 has sharing enabled.

-- 
Joseph



[gentoo-user] UFO @__auto_slot_operator_replace_installed__

2019-09-24 Thread Helmut Jarausch

Hi,

I saw this UFO @__auto_slot_operator_replace_installed__ in the output  
of emerge.


Does anybody known where this comes from and what it means?

Many thanks for an explanation,
Helmut



Re: [gentoo-user] UEFI data corruption? [FIXED]

2019-09-24 Thread Peter Humphrey
...

Right. After spending most of the last 10 days and some nights wrestling with 
the beast, I've got it fixed at last.

The Gentoo Handbook says to create a small unformatted partition at the 
beginning of the (primary?) disk, then to create a FAT-32 partition for /boot, 
then whatever other partitions are required.

Neil said above that he doesn't do that; he omits the unformatted partition, 
and I believe that's quite popular. I tried following the same scheme, but 
that's what caused the difficulties I started this thread with: on this system 
I need both those partitions. The system will not boot without both of them. 
[1]

The screen-shot of gparted I posted above shows the current layout once again.

The handbook's description of partition creation on a UEFI system says to set 
the bios_grub flag on partition 1 and the boot flag on partition 2. I tried 
setting them both on the combined partition I was trying to get working, but 
the second one to be set cleared the first one, or else it just hid it from 
display. Either way, no boot.

I found several other apparently authoritative pages detailing other /boot 
directory structures and file names; guessing which of them might work in any 
given case is not straightforward. Googling for "Gentoo EFI" or similar 
returns a list of them.

For the record, this motherboard is an Asus X99-A, with UEFI BIOS 2.16.1242.

It's interesting that, whenever the system failed to boot (and that often 
happened without showing me the boot selection menu) apparently the BIOS 
started the kernel stored in its data area, but it didn't find /boot/loader/ 
with its config files, so it didn't know where to look for the real kernel 
image.

I still don't know what started this whole adventure (to coin a phrase); my 
DVI KVM switch came under suspicion at one stage, so I'll keep a wary eye on 
it.

One remaining question: does it matter what kernel image is stored in UEFI 
data? I'm tempted to think not: it just has to get the initial boot step 
started. After that, /sbin/init "pivots" (whatever that means) to the real 
kernel under /boot.

1.   I remember, dimly, that while commissioning this machine from new, I had 
trouble installing and running grub:2. I knew even less about UEFI systems 
then, so if I were to try it again now I might find a way. But I hate the damn 
thing, so as long as I don't need it it's not getting near my machines.

-- 
Regards,
Peter.






Re: [gentoo-user] Verify uefi installation

2019-09-24 Thread Neil Bothwick
On Tue, 24 Sep 2019 09:31:08 +1000, Adam Carter wrote:

> > An update of the firmware flashes the UEFI EEPROM and as far as I have
> > experienced no settings are retained.  
> 
> A backward step from older MBR / BIOS functionality then. I guess that
> indicates that code and configuration are not separated.

I recently updated a firmware and all worked as before, so I think this
is implementation-dependent.

> # gdisk -l /dev/nvme0n1
> GPT fdisk (gdisk) version 1.0.4
> 
> Partition table scan:
>   MBR: protective
>   BSD: not present
>   APM: not present
>   GPT: present
> 
> Number  Start (sector)End (sector)  Size   Code  Name
>12048 1955839   954.0 MiB   EF00  boot
>2 1955840   976771071   464.8 GiB   8300  root
> 
> Not sure where the 'MBR: protective' came from as the system has been
> linux only from the start. I guess its either the default or I made an
> error during the build. AFAIK this is still a valid configuration, so I
> assume the signature message is not related to that.
> 
> I guess i could just try re-writing the partition table to see if that
> clears it.

I've just checked a couple of systems that have never used MBR and they
say the same. I'd ignore that.


-- 
Neil Bothwick

If at first you don't succeed, you'll get a lot of free advice from
folks who didn't succeed either.


pgpmYfKbvL8og.pgp
Description: OpenPGP digital signature