2009-06-08 10:23:50

by Michael Tokarev

[permalink] [raw]
Subject: 2.6.30-rc8 does not boot

Hello.

I just gave 2.6.30-rc a try, taken from Linus git, tag v2.6.29-rc8.
And this one does not want to boot on my test machine which is an
AMD X2-64 with AMD780G chipset. Neither 64 nor 32bit kernel boots.
I even tried in kvm virtual machine, -- same effect. It freezes right
after displaying "Verifying BIOS data successful" message -- nothing
more is on the screen.

I did `make silentoldconfig' based on my current 2.6.29 configs. In
the configs there are the following changes:
- quite some changes in various new/changed drivers (which should
not affect what I'm seeing)

- decompression: I've no idea what compression it used before, but
`make oldconfig' offered gzip by default which I accepted. Should
I try bzip2 instead?

- changed HZ from 100 to 300

- also the following which I don't think I touched:

-X86_INTERNODE_CACHE_BYTES=128
+X86_INTERNODE_CACHE_BYTES=64

-X86_L1_CACHE_BYTES=128
+X86_L1_CACHE_BYTES=64

-X86_L1_CACHE_SHIFT=7
+X86_L1_CACHE_SHIFT=6

I'm trying different compression method for now. If it will solve
this issue, my conclusion will be that the default value is wrong
and - oh well - expect more reports/questions like this one :)

The rest of the system is not very interesting I think: the kernel
config is pretty generic (most stuff is in modules), compiler is
default on Debian Lenny (4.3.2-1.1).

Thanks!

/mjt


2009-06-08 10:48:05

by Michael Tokarev

[permalink] [raw]
Subject: Re: 2.6.30-rc8 does not boot

Michael Tokarev wrote:
> Hello.
>
> I just gave 2.6.30-rc a try, taken from Linus git, tag v2.6.29-rc8.
> And this one does not want to boot on my test machine which is an
> AMD X2-64 with AMD780G chipset. Neither 64 nor 32bit kernel boots.
> I even tried in kvm virtual machine, -- same effect. It freezes right
> after displaying "Verifying BIOS data successful" message -- nothing
> more is on the screen.
>
> I did `make silentoldconfig' based on my current 2.6.29 configs. In
> the configs there are the following changes:
> - quite some changes in various new/changed drivers (which should
> not affect what I'm seeing)
>
> - decompression: I've no idea what compression it used before, but
> `make oldconfig' offered gzip by default which I accepted. Should
> I try bzip2 instead?
>
> - changed HZ from 100 to 300
>
> - also the following which I don't think I touched:
>
> -X86_INTERNODE_CACHE_BYTES=128
> +X86_INTERNODE_CACHE_BYTES=64
>
> -X86_L1_CACHE_BYTES=128
> +X86_L1_CACHE_BYTES=64
>
> -X86_L1_CACHE_SHIFT=7
> +X86_L1_CACHE_SHIFT=6
>
> I'm trying different compression method for now. If it will solve
> this issue, my conclusion will be that the default value is wrong
> and - oh well - expect more reports/questions like this one :)

Ok, compression did not change anything. But now I've a bit more
info available. Here's how the boot screen looks like when the
boot stops:

Loading kernel ....
Loading initrd ....
BIOS data check successful


PANIC: early exception 0e rip: 10:ffffffff802c9abd error 0 cr2 0

> The rest of the system is not very interesting I think: the kernel
> config is pretty generic (most stuff is in modules), compiler is
> default on Debian Lenny (4.3.2-1.1).

Tried two boot loaders: lilo (22.8) and extlinux. With similar
effect.

Thanks!

/mjt

2009-06-08 11:00:26

by Michael Tokarev

[permalink] [raw]
Subject: solved: Re: 2.6.30-rc8 does not boot

[2nd reply to my own email...]

Michael Tokarev wrote:
> Michael Tokarev wrote:
>> Hello.
>>
>> I just gave 2.6.30-rc a try, taken from Linus git, tag v2.6.29-rc8.
>> And this one does not want to boot on my test machine which is an
>> AMD X2-64 with AMD780G chipset. Neither 64 nor 32bit kernel boots.
>> I even tried in kvm virtual machine, -- same effect. It freezes right
>> after displaying "Verifying BIOS data successful" message -- nothing
>> more is on the screen.
>>
[]
> Loading kernel ....
> Loading initrd ....
> BIOS data check successful
>
> PANIC: early exception 0e rip: 10:ffffffff802c9abd error 0 cr2 0

It turned out to be an issue with acpi-dsdt-initrd-v0.9c-2.6.29.patch
which I forgot to remove from my package when rebuilding the kernel.
Reverting that patch solved boot issues and the kernel is now working.

Please excuse me for the noise.

Thanks!

/mjt

2009-06-08 11:06:31

by Vegard Nossum

[permalink] [raw]
Subject: Re: 2.6.30-rc8 does not boot

2009/6/8 Michael Tokarev <[email protected]>:
> Michael Tokarev wrote:
>>
>> Hello.
>>
>> I just gave 2.6.30-rc a try, taken from Linus git, tag v2.6.29-rc8.
>> And this one does not want to boot on my test machine which is an
>> AMD X2-64 with AMD780G chipset.  Neither 64 nor 32bit kernel boots.
>> I even tried in kvm virtual machine, -- same effect.  It freezes right
>> after displaying "Verifying BIOS data successful" message -- nothing
>> more is on the screen.
[...]
> PANIC: early exception 0e rip: 10:ffffffff802c9abd error 0 cr2 0

That seems to be a NULL dereference (0e = page fault, cr2 0 =
dereferenced address).

Try:
$ addr2line -e vmlinux -i ffffffff802c9abd

This should print the name of the function that crashed. If you enable
CONFIG_DEBUG_INFO you can get the exact line number info too (but
remember to replace the ffffffff802c9abd with the new value if you
recompile and run it again).


Vegard

--
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
-- E. W. Dijkstra, EWD1036