Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Chris Meadors <axp@clubneon.com>
To: axp-list@redhat.com
Subject: Re: 2.6.0-test Magic?
Date: Wed, 22 Oct 2003 18:42:27 -0400	[thread overview]
Message-ID: <1066862547.8257.25.camel@clubneon.priv.hereintown.net> (raw)
In-Reply-To: <200310221711.39414.france@handhelds.org>

On Wed, 2003-10-22 at 17:11, George France wrote:
> That series of alpha returns a negative id number.  This used to identify NT 
> only systems.  In 2.4.x there is a couple of lines in 
> arch/alpha/kernel/setup.c in get_sysname, that changes the id from negative 
> to positive.  It was something that Jay Estabrook fixed a long long time ago.  
> Anyway the 2 lines of code fell out of 2.6.x, for some reason.

I found the two lines you are talking about:

	if (type < 0)
	type = -type;

I added them to setup.c in the same function.  Recompiled and tried to
boot.  Same instant reboot.

But I see through out setup.c compairing 2.4.19 to 2.6.0-test8 that a
lot of the variable types have been cleaned up.  "type" is now an
"unsigned long".  Where in 2.4 it was just a "long".

That is probably why the lines were removed, but how should this be
fixed now?

-- 
Chris



  reply	other threads:[~2003-10-22 22:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-20 19:14 2.6.0-test Magic? Chris Meadors
2003-10-20 19:54 ` Jay Estabrook
2003-10-20 20:36   ` Chris Meadors
2003-10-20 20:46     ` Falk Hueffner
2003-10-20 22:15       ` Chris Meadors
2003-10-20 22:18         ` Falk Hueffner
2003-10-22 21:11 ` George France
2003-10-22 22:42   ` Chris Meadors [this message]
     [not found]   ` <20031023101443.A27195@linux04.mro.cpqcorp.net>
2003-10-25 23:04     ` Chris Meadors
2003-10-26  0:15       ` George France
2003-10-26  0:23         ` Chris Meadors
2003-10-26  0:34           ` George France
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox