public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* Installing kernel 2.6.6 on hp zx6000 (fwd)
@ 2004-05-25 20:09 Younggyun Koh
  2004-05-25 20:19 ` Matthew Wilcox
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Younggyun Koh @ 2004-05-25 20:09 UTC (permalink / raw)
  To: linux-ia64


hi,

i'm trying to run linux kernel 2.6.6 on hp itanium2 machine - zx6000,
which is running Redhat advanced server 2.1AW...
and i got some questions..

1. has anyone succeeded with the same condition?

2. nfs-utils currently installed is version 0.3.3. the minimum requirement
for 2.6.6 is 1.0.5, but i was told from the system management guy that
installing 1.0.5 might cause serious problems... is it true?

3. i got the link error when i build the kernel

bash-2.05$ make CROSS_COMPILE=/opt/gcc-3.3.3/usr/local/bin/
warning: your linker cannot handle cross-segment segment-relative
relocations.
         please upgrade to a newer version (it is safe to use this linker,
but
         the kernel will be bigger than strictly necessary).
make[1]: `arch/ia64/kernel/asm-offsets.s' is up to date.
  CHK     include/asm-ia64/offsets.h
  CHK     include/linux/compile.h
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
/opt/gcc-3.3.3/usr/local/bin/ld: final link failed: File truncated
make: *** [.tmp_vmlinux1] Error 1

any idea?

thank you very much!

			-Younggyun Koh (young@cc.gatech.edu)

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

* Re: Installing kernel 2.6.6 on hp zx6000 (fwd)
  2004-05-25 20:09 Installing kernel 2.6.6 on hp zx6000 (fwd) Younggyun Koh
@ 2004-05-25 20:19 ` Matthew Wilcox
  2004-05-26  2:15 ` Younggyun Koh
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Matthew Wilcox @ 2004-05-25 20:19 UTC (permalink / raw)
  To: linux-ia64

On Tue, May 25, 2004 at 04:09:19PM -0400, Younggyun Koh wrote:
>   LD      .tmp_vmlinux1
> /opt/gcc-3.3.3/usr/local/bin/ld: final link failed: File truncated
> make: *** [.tmp_vmlinux1] Error 1

Sure you're not out of disc space?  This has been the cause of it before
when I've seen this error message.

-- 
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain

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

* Re: Installing kernel 2.6.6 on hp zx6000 (fwd)
  2004-05-25 20:09 Installing kernel 2.6.6 on hp zx6000 (fwd) Younggyun Koh
  2004-05-25 20:19 ` Matthew Wilcox
@ 2004-05-26  2:15 ` Younggyun Koh
  2004-05-26  3:23 ` Grant Grundler
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Younggyun Koh @ 2004-05-26  2:15 UTC (permalink / raw)
  To: linux-ia64

> Sure you're not out of disc space?  This has been the cause of it before
> when I've seen this error message.

i have 310M free space on that disk, i think it should be okay...

			-Younggyun Koh (young@cc.gatech.edu)

On Tue, 25 May 2004, Matthew Wilcox wrote:

> On Tue, May 25, 2004 at 04:09:19PM -0400, Younggyun Koh wrote:
> >   LD      .tmp_vmlinux1
> > /opt/gcc-3.3.3/usr/local/bin/ld: final link failed: File truncated
> > make: *** [.tmp_vmlinux1] Error 1
>
> Sure you're not out of disc space?  This has been the cause of it before
> when I've seen this error message.
>
> --
> "Next the statesmen will invent cheap lies, putting the blame upon
> the nation that is attacked, and every man will be glad of those
> conscience-soothing falsities, and will diligently study them, and refuse
> to examine any refutations of them; and thus he will by and by convince
> himself that the war is just, and will thank God for the better sleep
> he enjoys after this process of grotesque self-deception." -- Mark Twain
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

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

* Re: Installing kernel 2.6.6 on hp zx6000 (fwd)
  2004-05-25 20:09 Installing kernel 2.6.6 on hp zx6000 (fwd) Younggyun Koh
  2004-05-25 20:19 ` Matthew Wilcox
  2004-05-26  2:15 ` Younggyun Koh
@ 2004-05-26  3:23 ` Grant Grundler
  2004-05-26 12:46 ` Younggyun Koh
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Grant Grundler @ 2004-05-26  3:23 UTC (permalink / raw)
  To: linux-ia64

On Tue, May 25, 2004 at 04:09:19PM -0400, Younggyun Koh wrote:
> i'm trying to run linux kernel 2.6.6 on hp itanium2 machine - zx6000,
> which is running Redhat advanced server 2.1AW...
> and i got some questions..
> 
> 1. has anyone succeeded with the same condition?

HP formally only tests the original kernels delivered with the OS.
You should just try it if you no longer need formal support from HP.

Nearly all of the folks I know doing 2.6 linux kernel developement are
either using RHEL 3.0, a future release of SLES, or (most likely) Debian.

> 2. nfs-utils currently installed is version 0.3.3. the minimum requirement
> for 2.6.6 is 1.0.5, but i was told from the system management guy that
> installing 1.0.5 might cause serious problems... is it true?

Can you post details?

Sorry - since I run debian "testing" release, I'm not exposed to this kind
of problems. I expect the RHEL update service would avoid them too.
But one wouldn't get a 2.6 kernel yet with that either.

> 3. i got the link error when i build the kernel
> 
> bash-2.05$ make CROSS_COMPILE=/opt/gcc-3.3.3/usr/local/bin/

Can you add "V=1" parameter so we can see the commands?

thanks,
grant

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

* Re: Installing kernel 2.6.6 on hp zx6000 (fwd)
  2004-05-25 20:09 Installing kernel 2.6.6 on hp zx6000 (fwd) Younggyun Koh
                   ` (2 preceding siblings ...)
  2004-05-26  3:23 ` Grant Grundler
@ 2004-05-26 12:46 ` Younggyun Koh
  2004-05-26 14:28 ` H. J. Lu
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Younggyun Koh @ 2004-05-26 12:46 UTC (permalink / raw)
  To: linux-ia64

> > 3. i got the link error when i build the kernel
> >
> > bash-2.05$ make CROSS_COMPILE=/opt/gcc-3.3.3/usr/local/bin/
>
> Can you add "V=1" parameter so we can see the commands?

        /opt/gcc-3.3.3/usr/local/bin/ld  -static -T
arch/ia64/kernel/vmlinux.lds.s arch/ia64/kernel/head.o arch/ia64/kernel/init_task.o   init/built-in.o
--start-group  usr/built-in.o  arch/ia64/kernel/built-in.o  arch/ia64/mm/built-in.o
arch/ia64/ia32/built-in.o  arch/ia64/dig/built-in.o  kernel/built-in.o  mm/built-in.o
fs/built-in.o ipc/built-in.o  security/built-in.o  crypto/built-in.o  lib/lib.a
arch/ia64/lib/lib.a  lib/built-in.o  arch/ia64/lib/built-in.o  drivers/built-in.o
sound/built-in.o  arch/ia64/pci/built-in.o  arch/ia64/hp/common/built-in.o
arch/ia64/hp/zx1/built-in.o arch/ia64/hp/sim/built-in.o  arch/ia64/sn/built-in.o  net/built-in.o
--end-group  -o .tmp_vmlinux1
/opt/gcc-3.3.3/usr/local/bin/ld: final link failed: File truncated
make: *** [.tmp_vmlinux1] Error 1

thank you,

			-Younggyun Koh (young@cc.gatech.edu)

> > 3. i got the link error when i build the kernel
> >
> > bash-2.05$ make CROSS_COMPILE=/opt/gcc-3.3.3/usr/local/bin/
>
> Can you add "V=1" parameter so we can see the commands?
>
> thanks,
> grant
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

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

* Re: Installing kernel 2.6.6 on hp zx6000 (fwd)
  2004-05-25 20:09 Installing kernel 2.6.6 on hp zx6000 (fwd) Younggyun Koh
                   ` (3 preceding siblings ...)
  2004-05-26 12:46 ` Younggyun Koh
@ 2004-05-26 14:28 ` H. J. Lu
  2004-05-26 15:08 ` Grant Grundler
  2004-05-27  0:44 ` Younggyun Koh
  6 siblings, 0 replies; 8+ messages in thread
From: H. J. Lu @ 2004-05-26 14:28 UTC (permalink / raw)
  To: linux-ia64

On Wed, May 26, 2004 at 08:46:19AM -0400, Younggyun Koh wrote:
> > > 3. i got the link error when i build the kernel
> > >
> > > bash-2.05$ make CROSS_COMPILE=/opt/gcc-3.3.3/usr/local/bin/
> >
> > Can you add "V=1" parameter so we can see the commands?
> 
>         /opt/gcc-3.3.3/usr/local/bin/ld  -static -T
> arch/ia64/kernel/vmlinux.lds.s arch/ia64/kernel/head.o arch/ia64/kernel/init_task.o   init/built-in.o
> --start-group  usr/built-in.o  arch/ia64/kernel/built-in.o  arch/ia64/mm/built-in.o
> arch/ia64/ia32/built-in.o  arch/ia64/dig/built-in.o  kernel/built-in.o  mm/built-in.o
> fs/built-in.o ipc/built-in.o  security/built-in.o  crypto/built-in.o  lib/lib.a
> arch/ia64/lib/lib.a  lib/built-in.o  arch/ia64/lib/built-in.o  drivers/built-in.o
> sound/built-in.o  arch/ia64/pci/built-in.o  arch/ia64/hp/common/built-in.o
> arch/ia64/hp/zx1/built-in.o arch/ia64/hp/sim/built-in.o  arch/ia64/sn/built-in.o  net/built-in.o
> --end-group  -o .tmp_vmlinux1
> /opt/gcc-3.3.3/usr/local/bin/ld: final link failed: File truncated
> make: *** [.tmp_vmlinux1] Error 1
> 

Which linker are you using? I suggest get the current one from

http://www.kernel.org/pub/linux/devel/binutils/

It may fix your problem or tell you more about why it fails.


H.J.

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

* Re: Installing kernel 2.6.6 on hp zx6000 (fwd)
  2004-05-25 20:09 Installing kernel 2.6.6 on hp zx6000 (fwd) Younggyun Koh
                   ` (4 preceding siblings ...)
  2004-05-26 14:28 ` H. J. Lu
@ 2004-05-26 15:08 ` Grant Grundler
  2004-05-27  0:44 ` Younggyun Koh
  6 siblings, 0 replies; 8+ messages in thread
From: Grant Grundler @ 2004-05-26 15:08 UTC (permalink / raw)
  To: linux-ia64

On Wed, May 26, 2004 at 08:46:19AM -0400, Younggyun Koh wrote:
>         /opt/gcc-3.3.3/usr/local/bin/ld  -static -T

ld isn't part of gcc AFAIK.
I find it odd that it's installed under a "/opt/gcc-3.3.3" directory.
Anyway...other people understand toolchain much better than I.

FWIW, I'm not having problems building kernels with gcc 3.3.3
on any architecture. That's using the current binutils (where
ld lives) from debian "testing" (aka sarge):

grundler@gsyprf3:~$ ld -v
GNU ld version 2.14.90.0.7 20031029 Debian GNU/Linux


grant

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

* Re: Installing kernel 2.6.6 on hp zx6000 (fwd)
  2004-05-25 20:09 Installing kernel 2.6.6 on hp zx6000 (fwd) Younggyun Koh
                   ` (5 preceding siblings ...)
  2004-05-26 15:08 ` Grant Grundler
@ 2004-05-27  0:44 ` Younggyun Koh
  6 siblings, 0 replies; 8+ messages in thread
From: Younggyun Koh @ 2004-05-27  0:44 UTC (permalink / raw)
  To: linux-ia64

after upgrading binutils to 2.15.90.x, i got it built! the previous
version of ld i used was 2.12.x, which is supposed to meet the minimum
requirement for 2.6 kernels according to the Documentation/Changes, tho.

but i got another problem...:(

for 2.6 kernel, i installed modules-init-tools 0.9.14 like this,

./configure
make moveold
make
make install
./generate-modprobe.conf /etc/modprobe.conf
cp modprobe.devfs /etc

and in the kernel source directory,

make modules_install
depmod 2.6.6

after doing all this, i rebooted the machine, but i cannot boot with _2.4_
kernel that was running well before i installed modules-init-tools.
when Linux starts, it's stuck on "starting acpi daemon" and doesn't
proceed any more steps.

elilo.conf for kernel 2.6 was probably wrong, so, i cannot boot with
either of kernels (2.4 and 2.6)....

do you have any ideas? did the installation of modules-init-tools
possibly affect 2.4 settings? is there a way i can skip starting that
daemon?

thank you very much,

			-Younggyun Koh (young@cc.gatech.edu)

On Wed, 26 May 2004, H. J. Lu wrote:

> On Wed, May 26, 2004 at 08:46:19AM -0400, Younggyun Koh wrote:
> > > > 3. i got the link error when i build the kernel
> > > >
> > > > bash-2.05$ make CROSS_COMPILE=/opt/gcc-3.3.3/usr/local/bin/
> > >
> > > Can you add "V=1" parameter so we can see the commands?
> >
> >         /opt/gcc-3.3.3/usr/local/bin/ld  -static -T
> > arch/ia64/kernel/vmlinux.lds.s arch/ia64/kernel/head.o arch/ia64/kernel/init_task.o   init/built-in.o
> > --start-group  usr/built-in.o  arch/ia64/kernel/built-in.o  arch/ia64/mm/built-in.o
> > arch/ia64/ia32/built-in.o  arch/ia64/dig/built-in.o  kernel/built-in.o  mm/built-in.o
> > fs/built-in.o ipc/built-in.o  security/built-in.o  crypto/built-in.o  lib/lib.a
> > arch/ia64/lib/lib.a  lib/built-in.o  arch/ia64/lib/built-in.o  drivers/built-in.o
> > sound/built-in.o  arch/ia64/pci/built-in.o  arch/ia64/hp/common/built-in.o
> > arch/ia64/hp/zx1/built-in.o arch/ia64/hp/sim/built-in.o  arch/ia64/sn/built-in.o  net/built-in.o
> > --end-group  -o .tmp_vmlinux1
> > /opt/gcc-3.3.3/usr/local/bin/ld: final link failed: File truncated
> > make: *** [.tmp_vmlinux1] Error 1
> >
>
> Which linker are you using? I suggest get the current one from
>
> http://www.kernel.org/pub/linux/devel/binutils/
>
> It may fix your problem or tell you more about why it fails.
>
>
> H.J.
>

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

end of thread, other threads:[~2004-05-27  0:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-25 20:09 Installing kernel 2.6.6 on hp zx6000 (fwd) Younggyun Koh
2004-05-25 20:19 ` Matthew Wilcox
2004-05-26  2:15 ` Younggyun Koh
2004-05-26  3:23 ` Grant Grundler
2004-05-26 12:46 ` Younggyun Koh
2004-05-26 14:28 ` H. J. Lu
2004-05-26 15:08 ` Grant Grundler
2004-05-27  0:44 ` Younggyun Koh

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