Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* 2.2.0-pre6-ac2 doesn't boot
@ 1999-01-12  5:38 Tom Holroyd
  1999-01-12  6:47 ` 2.2.0-pre6 compile failure Jiann-Ming Su
  1999-01-12  7:46 ` 2.2.0-pre6-ac2 doesn't boot Tom Holroyd
  0 siblings, 2 replies; 4+ messages in thread
From: Tom Holroyd @ 1999-01-12  5:38 UTC (permalink / raw)
  To: axp-list

AlphaPC164LX egcs-1.1.1

panics instantly with a "killing idle task" message -- errors scrolled off
screen so no further info.

Dr. Tom Holroyd
I would dance and be merry,
Life would be a ding-a-derry,
If I only had a brain.
	-- The Scarecrow


^ permalink raw reply	[flat|nested] 4+ messages in thread

* 2.2.0-pre6 compile failure
  1999-01-12  5:38 2.2.0-pre6-ac2 doesn't boot Tom Holroyd
@ 1999-01-12  6:47 ` Jiann-Ming Su
  1999-01-12 17:22   ` Michal Jaegermann
  1999-01-12  7:46 ` 2.2.0-pre6-ac2 doesn't boot Tom Holroyd
  1 sibling, 1 reply; 4+ messages in thread
From: Jiann-Ming Su @ 1999-01-12  6:47 UTC (permalink / raw)
  To: axp-list, linux-kernel

On SX164:

[root@athena linux]# gcc --version
egcs-2.91.60

gcc -D__KERNEL__ -I/usr/src/linux-2.1/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -Wa,-m21164a -DBWIO_ENABLED   -c -o process.o process.c
process.c:58: `init_fd_array' undeclared here (not in a function)
process.c:58: initializer element for `init_files.fd' is not constant
make[1]: *** [process.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.1/arch/alpha/kernel'
make: *** [_dir_arch/alpha/kernel] Error 2



Jiann-Ming Su                   "People seldom do what they believe in. They do
js1@microwave.ph.msstate.edu    what is convenient, then repent." --Bob Dylan


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.2.0-pre6-ac2 doesn't boot
  1999-01-12  5:38 2.2.0-pre6-ac2 doesn't boot Tom Holroyd
  1999-01-12  6:47 ` 2.2.0-pre6 compile failure Jiann-Ming Su
@ 1999-01-12  7:46 ` Tom Holroyd
  1 sibling, 0 replies; 4+ messages in thread
From: Tom Holroyd @ 1999-01-12  7:46 UTC (permalink / raw)
  To: axp-list

On Tue, 12 Jan 1999, Tom Holroyd wrote:

>panics instantly ...

Ack.  My fault.  Pre6 had a compile problem in arch/alpha/kernel/process.c;
it needed the line:

static struct file * init_fd_array[NR_OPEN] = { NULL, };

Be sure to *remove this line* before applying ac2 (or any other patch).
(NR_OPEN is now defined as 1024*1024, so this resulted in a biggish kernel
image. ;-)

Dr. Tom Holroyd
I would dance and be merry,
Life would be a ding-a-derry,
If I only had a brain.
	-- The Scarecrow


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.2.0-pre6 compile failure
  1999-01-12  6:47 ` 2.2.0-pre6 compile failure Jiann-Ming Su
@ 1999-01-12 17:22   ` Michal Jaegermann
  0 siblings, 0 replies; 4+ messages in thread
From: Michal Jaegermann @ 1999-01-12 17:22 UTC (permalink / raw)
  To: axp-list

Jiann-Ming Su wrote:
> 
> process.c:58: `init_fd_array' undeclared here (not in a function)
> process.c:58: initializer element for `init_files.fd' is not constant

Add to declarations in process.c a line

static struct file * init_fd_array[NR_OPEN] = { NULL, };

Looks like that it is forgotten.

  --mj


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-01-12 17:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-12  5:38 2.2.0-pre6-ac2 doesn't boot Tom Holroyd
1999-01-12  6:47 ` 2.2.0-pre6 compile failure Jiann-Ming Su
1999-01-12 17:22   ` Michal Jaegermann
1999-01-12  7:46 ` 2.2.0-pre6-ac2 doesn't boot Tom Holroyd

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