2005-04-03 12:46:14

by Michael Thonke

[permalink] [raw]
Subject: 2.6.12-rc1-bk does not boot x86_64

Hello,

I tried the recent 2.6.12-rc1-bk5 snapshot from kernel.org.
When I want to boot my x86_64 system only a green line appears on screen.
The config is the same as in 2.6.12-rc1-bk4 which works flawlessly on my
system.

I only saw the message that CPU0 and CPU1 where initialized. And then
there was
Brinnging up CPUs and it stopped.

Its an Intel Pentium4 640 with (EMT64,HT,EIST,CIE enabled).
The graphic card is an Nvidia 6600GT PCIe device.

Thanks

Best regards


2005-04-03 13:02:08

by Alexander Nyberg

[permalink] [raw]
Subject: Re: 2.6.12-rc1-bk does not boot x86_64

> I tried the recent 2.6.12-rc1-bk5 snapshot from kernel.org.
> When I want to boot my x86_64 system only a green line appears on screen.
> The config is the same as in 2.6.12-rc1-bk4 which works flawlessly on my
> system.
>
> I only saw the message that CPU0 and CPU1 where initialized. And then
> there was
> Brinnging up CPUs and it stopped.
>
> Its an Intel Pentium4 640 with (EMT64,HT,EIST,CIE enabled).
> The graphic card is an Nvidia 6600GT PCIe device.

I had the same nasty surprise this morning, this will probably help:


Well, this is a brown paper bag for someone. The new protocol
registration locking uses a rwlock to limit access to the protocol list.
Unfortunately, the initialisation:

static rwlock_t proto_list_lock;

Only works to initialise the lock as unlocked on platforms whose unlock
signal is all zeros. On other platforms, they think it's already locked
and hang forever.

Signed-off-by: James Bottomley <[email protected]>


===== net/core/sock.c 1.67 vs edited =====
--- 1.67/net/core/sock.c 2005-03-26 17:04:35 -06:00
+++ edited/net/core/sock.c 2005-04-02 13:37:20 -06:00
@@ -1352,7 +1352,7 @@

EXPORT_SYMBOL(sk_common_release);

-static rwlock_t proto_list_lock;
+static DEFINE_RWLOCK(proto_list_lock);
static LIST_HEAD(proto_list);

int proto_register(struct proto *prot, int alloc_slab)


-


2005-04-03 13:48:57

by Michael Thonke

[permalink] [raw]
Subject: Re: 2.6.12-rc1-bk does not boot x86_64

Thanks Alexander this sort this out.
No system boots w/o problems :-)

Alexander Nyberg wrote:

>>I tried the recent 2.6.12-rc1-bk5 snapshot from kernel.org.
>>When I want to boot my x86_64 system only a green line appears on screen.
>>The config is the same as in 2.6.12-rc1-bk4 which works flawlessly on my
>>system.
>>
>>I only saw the message that CPU0 and CPU1 where initialized. And then
>>there was
>>Brinnging up CPUs and it stopped.
>>
>>Its an Intel Pentium4 640 with (EMT64,HT,EIST,CIE enabled).
>>The graphic card is an Nvidia 6600GT PCIe device.
>>
>>
>
>I had the same nasty surprise this morning, this will probably help:
>
>
>Well, this is a brown paper bag for someone. The new protocol
>registration locking uses a rwlock to limit access to the protocol list.
>Unfortunately, the initialisation:
>
>static rwlock_t proto_list_lock;
>
>Only works to initialise the lock as unlocked on platforms whose unlock
>signal is all zeros. On other platforms, they think it's already locked
>and hang forever.
>
>Signed-off-by: James Bottomley <[email protected]>
>
>
>===== net/core/sock.c 1.67 vs edited =====
>--- 1.67/net/core/sock.c 2005-03-26 17:04:35 -06:00
>+++ edited/net/core/sock.c 2005-04-02 13:37:20 -06:00
>@@ -1352,7 +1352,7 @@
>
> EXPORT_SYMBOL(sk_common_release);
>
>-static rwlock_t proto_list_lock;
>+static DEFINE_RWLOCK(proto_list_lock);
> static LIST_HEAD(proto_list);
>
> int proto_register(struct proto *prot, int alloc_slab)
>
>
>-
>
>
>
>
>