Re: [OpenIndiana-discuss] Boot hangs after configuring devices (last notice is of pseudo devices

2023-03-21 Thread Stephan Althaus

On 3/21/23 20:53, Richard Lowe wrote:

A good thing to do is to get into mdb when it's hung, and see where we
are with the ::stacks command.
https://illumos.org/books/dev/debugging.html  has other tips.

I would add if you set the 1 bit of `moddebug` when you're in kmdb (I
think moddebug/W 8001 is verbose and stop on _init, but I tend to
forget), we will stop whenever a module `_init` is called, which can
be a good trick to try to narrow down where things might have gone
wrong if we don't respond to any means to get into kmdb.

More manually, an illumos version which works and one which doesn't
work will narrow down which illumos changes might have caused
problems.

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Hello!

Thanks for your input. I tried the kmdb switched on on boot,
with ::cont i have the same situation that i can't escape the running 
process to get the ::stack


Comparing the boot messages of the working BE and the not-working one, 
it stops between these two pseudo-devices:



Mar 21 22:19:56 dell7720 pseudo: [ID 129642 kern.notice] pseudo-device: 
signalfd0
*Mar 21 22:19:56 dell7720 genunix: [ID 936769 kern.notice] signalfd0 is 
/pseudo/signalfd@0*
Mar 21 22:19:56 dell7720 pseudo: [ID 129642 kern.notice] pseudo-device: 
timerfd0
Mar 21 22:19:56 dell7720 genunix: [ID 936769 kern.notice] timerfd0 is 
/pseudo/timerfd@0



The line with "*signalfd0 is /pseudo/signalfd@0*" is the last output, 
then nothing more happens.


Now i was able to enable kmdb. i found processes, stacks related to my 
USB keyboard, apix_no_interrupt,..
would be nice if i knew what to search for :-) how to find and select 
the right thread and then get the stack??


Regards,

Stephan


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Boot hangs after configuring devices (last notice is of pseudo devices

2023-03-21 Thread Richard Lowe
A good thing to do is to get into mdb when it's hung, and see where we
are with the ::stacks command.
https://illumos.org/books/dev/debugging.html has other tips.

I would add if you set the 1 bit of `moddebug` when you're in kmdb (I
think moddebug/W 8001 is verbose and stop on _init, but I tend to
forget), we will stop whenever a module `_init` is called, which can
be a good trick to try to narrow down where things might have gone
wrong if we don't respond to any means to get into kmdb.

More manually, an illumos version which works and one which doesn't
work will narrow down which illumos changes might have caused
problems.

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Boot hangs after configuring devices (last notice is of pseudo devices

2023-03-21 Thread Stephan Althaus

On 3/21/23 14:23, Udo Grabowski (IMK) wrote:

On 20/03/2023 21:45, Stephan Althaus wrote:

Hello!

On 18.03.2023 i made a pkg update, after that the Boot hangs after 
configuring

devices (last notice is of pseudo devices with boot option 'verbose')

Nothing happens on the prompt...

"beadm mount..." shows no fresh logfiles, so no info there, i should 
use some

debug options but i am not familiar to that :-/


Any hints ?


Didn't have such a failure after updating and booting today, but
didn't reboot since 14.3.

So I would recommend to revert to the previous BE and update that
again.

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Hello Udo!

I did that yesterday, no change.

i have in mind there was a relatively change in device numbering when 
building the device tree..


To summarize, the working BE is of 2022:11:23,

the newly created by 'pkg update' won't work and stops after 
"configuring devices".


Any things i could do to debug?

Regards,

Stephan



___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Boot hangs after configuring devices (last notice is of pseudo devices

2023-03-21 Thread Udo Grabowski (IMK)

On 20/03/2023 21:45, Stephan Althaus wrote:

Hello!

On 18.03.2023 i made a pkg update, after that the Boot hangs after configuring
devices (last notice is of pseudo devices with boot option 'verbose')

Nothing happens on the prompt...

"beadm mount..." shows no fresh logfiles, so no info there, i should use some
debug options but i am not familiar to that :-/


Any hints ?


Didn't have such a failure after updating and booting today, but
didn't reboot since 14.3.

So I would recommend to revert to the previous BE and update that
again.
--
Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT
http://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology   http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss