Re: [gentoo-user] Boot freeze/kthreadd stack trace - AMD_PMU_INIT

2016-11-28 Thread Fernando Rodriguez
On 11/21/2016 01:15 AM, taii...@gmx.com wrote:
> Specs:
> blob free coreboot on a kgpe-d16 (amd opteron)
> 
> 
> Happens with both the livecd/usb and a kernel I compiled on another
> machine (however with that one I simply get a black screen and a bootloop)

Look at CONFIG_PANIC_TIMEOUT. If it's set to anything other than 0 your
kernel will reboot itself on panic after the timeout. It's probably
panicing when initialing the video drivers since you get a blank screen
so you'll probably want to boot with a vga fb driver (blacklist or
delete all other video modules) and post the backtrace if it still panics.


> Other distros kernels work fine, it is just gentoo.

Then I suggest you try grabbing the kernel's config file from another
distro and use that as a starting point to configure your kernel

> The livecd and compiled kernel work fine on all my other computers/VMM's.
> 
> Upon loading I get to amd performance counters, it freezes and 5-10 secs
> later I receive stack trace for kthreadd "hung" (amd_pmu_init - seems to
> be the primary reason) I never get to a login prompt.
> 
> It isn't microcode related as I removed the microcode packages from the
> other distros I tried.
> 
> Any ideas? Is there any additional info that would be helpful? How can I
> dump the boot text?

It's gonna be trial and error. Keep disabling features and try a
different kernel version (the one that worked with other distros) until
you pinpoint the problem. The only hints you got are the panic backtrces
and boot output. Then file a bug.

As for dumping the boot output if you can't get to userland I think the
only way is with a serial or net console. Also look at
CONFIG_BOOT_PRINTK_DELAY, it can setup a delay before every printk
message so you at least get time to read it.

-- 

Fernando Rodriguez



Re: [gentoo-user] Boot freeze

2005-08-19 Thread Michael W. Holdeman
On Thursday 18 August 2005 02:47 am, Tony Davison wrote:
 On Wednesday 17 August 2005 23:28, Michael W. Holdeman wrote:
  On Wednesday 17 August 2005 06:43 pm, Renat Golubchyk wrote:
   Hi!
  
   On Wed, 17 Aug 2005 16:10:51 -0400 Michael W. Holdeman
  
   [EMAIL PROTECTED] wrote:
On Wednesday 17 August 2005 03:53 pm, Michael W. Holdeman wrote:
 My desktop suddenly won't boot. It stops at Starting distccd...
 [ok] and sits there for hours??  I can reboot with
 ctrl-alt-del. How can I get it to continue to determint what is
 wrong? I tried several kernels and all do the same thing...
   
I should have noted, I can get it running with softlevel=singlest
don't know  how to determine the problem.
  
   I had the same problem this morning after updating baselayout to
   1.12.0_pre5, but the booting stopped after starting samba.
   Downgraded baselayout back to 1.11.13 and everything worked fine
   again.
 
  Thought that might be it, as My laptop is really booting weird now
  after upgrading as well. It runs some init scripts twice.

 Over enthusiastic use of etc-update option 5 ?
 There was a thread about this a while back, basically the new
 base-layouts move some of the init scripts to /etc/conf.d and can screw
 up networking if not properly configured.

Might be, although I use cfg-update, which I usually catch that stuff. I got 
it going yest. found some config files that were empty.. Not sure why, but 
everything is all ok with the desktop now. Now for th elaptop...

Mike

-- 
 
Michael W. Holdeman



Powered by Gentoo Linux www.gentoo.org  |
Kernel 2.6.11-ck8   |
Win4Lin 5-1-20 netraverse.com   |
Win4LinPro 6.1.1-03 win4lin.com |
|
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Boot freeze

2005-08-19 Thread Tony Davison
On Thursday 18 August 2005 22:52, Michael W. Holdeman wrote:
 On Thursday 18 August 2005 02:47 am, Tony Davison wrote:
  On Wednesday 17 August 2005 23:28, Michael W. Holdeman wrote:
   On Wednesday 17 August 2005 06:43 pm, Renat Golubchyk wrote:
Hi!
   
On Wed, 17 Aug 2005 16:10:51 -0400 Michael W. Holdeman
   
[EMAIL PROTECTED] wrote:
 On Wednesday 17 August 2005 03:53 pm, Michael W. Holdeman 
wrote:
  My desktop suddenly won't boot. It stops at Starting
  distccd... [ok] and sits there for hours??  I can reboot
  with ctrl-alt-del. How can I get it to continue to
  determint what is wrong? I tried several kernels and all do
  the same thing...

 I should have noted, I can get it running with
 softlevel=singlest don't know  how to determine the problem.
   
I had the same problem this morning after updating baselayout
to 1.12.0_pre5, but the booting stopped after starting samba.
Downgraded baselayout back to 1.11.13 and everything worked
fine again.
  
   Thought that might be it, as My laptop is really booting weird
   now after upgrading as well. It runs some init scripts twice.
 
  Over enthusiastic use of etc-update option 5 ?
  There was a thread about this a while back, basically the new
  base-layouts move some of the init scripts to /etc/conf.d and can
  screw up networking if not properly configured.

 Might be, although I use cfg-update, which I usually catch that
 stuff. I got it going yest. found some config files that were empty..
 Not sure why, but everything is all ok with the desktop now. Now for
 th elaptop...

I know how you feel.
Just got a new baselayout 1.12.0-pre6 and it changes /etc/conf.d/net 
quite dramatically. I had to upgrade dhcpcd which then lost 
my /etc/ntp.conf. To get that back i had to re-emerge ntp, 'cos it also 
overwrote the example file in usr/share/.

maybe I'm getting too old for this ~arch stuff :-)
-- 
Tony Davison
[EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Boot freeze

2005-08-19 Thread Michael W. Holdeman

 maybe I'm getting too old for this ~arch stuff :-)

HA! You have no Idea!!
I sometimes feel too old then I think well I AM!!

Mike

 --
 Tony Davison
 [EMAIL PROTECTED]

-- 
 
Michael W. Holdeman



Powered by Gentoo Linux www.gentoo.org  |
Kernel 2.6.11-ck8   |
Win4Lin 5-1-20 netraverse.com   |
Win4LinPro 6.1.1-03 win4lin.com |
|
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Boot freeze

2005-08-18 Thread Tony Davison
On Wednesday 17 August 2005 23:28, Michael W. Holdeman wrote:
 On Wednesday 17 August 2005 06:43 pm, Renat Golubchyk wrote:
  Hi!
 
  On Wed, 17 Aug 2005 16:10:51 -0400 Michael W. Holdeman
 
  [EMAIL PROTECTED] wrote:
   On Wednesday 17 August 2005 03:53 pm, Michael W. Holdeman wrote:
My desktop suddenly won't boot. It stops at Starting distccd...
[ok] and sits there for hours??  I can reboot with
ctrl-alt-del. How can I get it to continue to determint what is
wrong? I tried several kernels and all do the same thing...
  
   I should have noted, I can get it running with softlevel=singlest
   don't know  how to determine the problem.
 
  I had the same problem this morning after updating baselayout to
  1.12.0_pre5, but the booting stopped after starting samba.
  Downgraded baselayout back to 1.11.13 and everything worked fine
  again.

 Thought that might be it, as My laptop is really booting weird now
 after upgrading as well. It runs some init scripts twice.

Over enthusiastic use of etc-update option 5 ?
There was a thread about this a while back, basically the new 
base-layouts move some of the init scripts to /etc/conf.d and can screw 
up networking if not properly configured.

-- 
Tony Davison
[EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Boot freeze

2005-08-18 Thread Michael Kintzios


 -Original Message-
 From: Michael W. Holdeman [mailto:[EMAIL PROTECTED] 
 Sent: 17 August 2005 21:11
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Boot freeze
 
 
 On Wednesday 17 August 2005 03:53 pm, Michael W. Holdeman wrote:
  My desktop suddenly won't boot. It stops at Starting distccd...
  [ok] and sits there for hours??  I can reboot with ctrl-alt-del.
  How can I get it to continue to determint what is wrong? I 
 tried several
  kernels and all do the same thing...
 I should have noted, I can get it running with 
 softlevel=singlest don't know 
 how to determine the problem.

I have found that Ctrl+c usually aborts the particular script/process
and booting carries on with the rest of them.
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Boot freeze

2005-08-17 Thread Michael W. Holdeman
On Wednesday 17 August 2005 03:53 pm, Michael W. Holdeman wrote:
 My desktop suddenly won't boot. It stops at Starting distccd...
 [ok] and sits there for hours??  I can reboot with ctrl-alt-del.
 How can I get it to continue to determint what is wrong? I tried several
 kernels and all do the same thing...
I should have noted, I can get it running with softlevel=singlest don't know 
how to determine the problem.

Mike
-- 
 
Michael W. Holdeman



Powered by Gentoo Linux www.gentoo.org  |
Kernel 2.6.11-ck8   |
Win4Lin 5-1-20 netraverse.com   |
Win4LinPro 6.1.1-03 win4lin.com |
|
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Boot freeze

2005-08-17 Thread Renat Golubchyk
Hi!

On Wed, 17 Aug 2005 16:10:51 -0400 Michael W. Holdeman
[EMAIL PROTECTED] wrote:
 On Wednesday 17 August 2005 03:53 pm, Michael W. Holdeman wrote:
  My desktop suddenly won't boot. It stops at Starting distccd...
  [ok] and sits there for hours??  I can reboot with ctrl-alt-del.
  How can I get it to continue to determint what is wrong? I tried
  several kernels and all do the same thing...
 I should have noted, I can get it running with softlevel=singlest
 don't know  how to determine the problem.

I had the same problem this morning after updating baselayout to
1.12.0_pre5, but the booting stopped after starting samba. Downgraded
baselayout back to 1.11.13 and everything worked fine again.

Cheers,
Renat

-- 
Probleme kann man niemals mit derselben Denkweise lösen,
durch die sie entstanden sind.
  (Einstein)


pgpU38Cdk51Wm.pgp
Description: PGP signature


Re: [gentoo-user] Boot freeze

2005-08-17 Thread Michael W. Holdeman
On Wednesday 17 August 2005 06:43 pm, Renat Golubchyk wrote:
 Hi!

 On Wed, 17 Aug 2005 16:10:51 -0400 Michael W. Holdeman

 [EMAIL PROTECTED] wrote:
  On Wednesday 17 August 2005 03:53 pm, Michael W. Holdeman wrote:
   My desktop suddenly won't boot. It stops at Starting distccd...
   [ok] and sits there for hours??  I can reboot with ctrl-alt-del.
   How can I get it to continue to determint what is wrong? I tried
   several kernels and all do the same thing...
 
  I should have noted, I can get it running with softlevel=singlest
  don't know  how to determine the problem.

 I had the same problem this morning after updating baselayout to
 1.12.0_pre5, but the booting stopped after starting samba. Downgraded
 baselayout back to 1.11.13 and everything worked fine again.
Thought that might be it, as My laptop is really booting weird now after 
upgrading as well. It runs some init scripts twice.

Mike
-- 
 
Michael W. Holdeman



Powered by Gentoo Linux www.gentoo.org  |
Kernel 2.6.11-ck8   |
Win4Lin 5-1-20 netraverse.com   |
Win4LinPro 6.1.1-03 win4lin.com |
|
-- 
gentoo-user@gentoo.org mailing list