* [gentoo-user] CTRL-C and pre-merge checks
@ 2021-04-06 22:08 Peter Humphrey
2021-04-07 6:53 ` Michael
0 siblings, 1 reply; 3+ messages in thread
From: Peter Humphrey @ 2021-04-06 22:08 UTC (permalink / raw
To: gentoo-user
Hello list,
I've just started an emerge -e world to run overnight, and I realised I'd
forgotten to mount /boot (for intel-microcode), so I hit CTRL-C to abort. It
took several dozen attempts, because pre-merge checks were in progress. It
seems that this operation doesn't pass the interrupt up the calling chain, as
other operations do.
Should I report a bug?
--
Regards,
Peter.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] CTRL-C and pre-merge checks
2021-04-06 22:08 [gentoo-user] CTRL-C and pre-merge checks Peter Humphrey
@ 2021-04-07 6:53 ` Michael
2021-04-07 13:11 ` Peter Humphrey
0 siblings, 1 reply; 3+ messages in thread
From: Michael @ 2021-04-07 6:53 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 916 bytes --]
On Tuesday, 6 April 2021 23:08:17 BST Peter Humphrey wrote:
> Hello list,
>
> I've just started an emerge -e world to run overnight, and I realised I'd
> forgotten to mount /boot (for intel-microcode), so I hit CTRL-C to abort. It
> took several dozen attempts, because pre-merge checks were in progress. It
> seems that this operation doesn't pass the interrupt up the calling chain,
> as other operations do.
>
> Should I report a bug?
I have noticed the same when I pause a compilation, especially on big packages
with a high number of make jobs. I always took this to mean the CPU thread
pipes were full and until they are processed the pause instruction has to wait
for its turn. Slower PCs take longer time and since I'm not running an RT
kernel for emerge, I never thought of it as a bug. However, if more learned
contributors can explain this as a bug, I'll be happy to learn something new.
:-)
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] CTRL-C and pre-merge checks
2021-04-07 6:53 ` Michael
@ 2021-04-07 13:11 ` Peter Humphrey
0 siblings, 0 replies; 3+ messages in thread
From: Peter Humphrey @ 2021-04-07 13:11 UTC (permalink / raw
To: gentoo-user
On Wednesday, 7 April 2021 07:53:09 BST Michael wrote:
> On Tuesday, 6 April 2021 23:08:17 BST Peter Humphrey wrote:
> > Hello list,
> >
> > I've just started an emerge -e world to run overnight, and I realised I'd
> > forgotten to mount /boot (for intel-microcode), so I hit CTRL-C to abort.
> > It took several dozen attempts, because pre-merge checks were in
> > progress. It seems that this operation doesn't pass the interrupt up the
> > calling chain, as other operations do.
> >
> > Should I report a bug?
>
> I have noticed the same when I pause a compilation, especially on big
> packages with a high number of make jobs. I always took this to mean the
> CPU thread pipes were full and until they are processed the pause
> instruction has to wait for its turn. Slower PCs take longer time and
> since I'm not running an RT kernel for emerge, I never thought of it as a
> bug. However, if more learned contributors can explain this as a bug, I'll
> be happy to learn something new.
> :-)
That doesn't sound like the same thing. I'm aborting, not suspending. How do
you do that, anyway? CTRL-S/Q?
The problem is that in every atomic process but this one, interrupting it
causes the calling function to be aborted in turn, and so on up and out. A bit
like popping things off a stack until it's empty. In the case of pre-merge
checks, that doesn't happen; the next check is started regardless. That's a
lot of key stabs in a large emerge task.
--
Regards,
Peter.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-04-07 13:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-06 22:08 [gentoo-user] CTRL-C and pre-merge checks Peter Humphrey
2021-04-07 6:53 ` Michael
2021-04-07 13:11 ` Peter Humphrey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox