Skip to contentSkip to conversation

problem with ski & NUE

DISCUSSION Daniele Velardi 3 participants 5 messages Jul 15, 2004 – Jul 16, 2004

lore
Share & tools
lore
#0 lore raw

Hi,
i have already read your mailing list, but i don't try the answers: many thing are take for granted, and they aren't in any manual, please help me! excuse me for my english!
-I am a dummies: can i boot kernel mode with file bootloader e vmlinux find on hp labs site? i type inside nue and outside nue:
"ski bootloader vmlinux simscsi=/var/ski-disks/sd" where the two files bootloader and vmlinux are locate in the current directory!The resulting error is:
"BFD:Dwarf Error: Invalid or unhandled FORM value: 14. Segmentation fault"!
How can use the parameter "root="?
i must compile a new kernel depending of my hardware and the kernel version of my system host? -why i need to use this option to boot ski with the binary hello? i need use this also for boot the kernel? There is some problems?
-I have installed ski-0.943.rpm and the other rpm and all work well, but now i have copied the fiel in ski-0.981.tar in my disk, but ski don't work:
ski:/usr/i386-glibc21-linux/lib/libpthread.so.0:
version `GLIBC_2.2' not found (required by ski) ski:/usr/i386-glibc21-linux/lib/libpthread.so.0:
version `GLIBC_2.3.2' not found (required by ski) What is wrong?

ThanksHi,
i have already read your mailing list, but i don't try the answers: many thing are take for granted, and they aren't in any manual, please help me! excuse me for my english!
-I am a dummies: can i boot kernel mode with file bootloader e vmlinux find on hp labs site? i type inside nue and outside nue:
"ski bootloader vmlinux simscsi=/var/ski-disks/sd" where the two files bootloader and vmlinux are locate in the current directory!The resulting error is:
"BFD:Dwarf Error: Invalid or unhandled FORM value: 14. Segmentation fault"!
How can use the parameter "root="?
i must compile a new kernel depending of my hardware and the kernel version of my system host? -why i need to use this option to boot ski with the binary hello? i need use this also for boot the kernel? There is some problems?
-I have installed ski-0.943.rpm and the other rpm and all work well, but now i have copied the fiel in ski-0.981.tar in my disk, but ski don't work:
ski:/usr/i386-glibc21-linux/lib/libpthread.so.0:
version `GLIBC_2.2' not found (required by ski) ski:/usr/i386-glibc21-linux/lib/libpthread.so.0:
version `GLIBC_2.3.2' not found (required by ski) What is wrong?

Thanks

____________________________________________________________
Yahoo! Companion - Scarica gratis la toolbar di Ricerca di Yahoo!
http://companion.yahoo.it

#1 lore raw
Quoted 2 lines · Daniele Velardi

"BFD:Dwarf Error: Invalid or unhandled FORM value: 14. Segmentation fault"!

That happens when you use an old bfd library to try to read an object file created by a recent bfd library. Form 14 is DW_FORM_strp (string pointer), which is used by recent bfd versions to optimize away duplicate strings in the debug info. This helps reduce object file size. But older bfd's that lack DW_FORM_strp support will get confused, and may fail.

So presumably the problem here is that the ski binary you have was linked against an old bfd version, and the vmlinux binary you have was created with a recent bfd (binutils) version. You are probably out of luck unless you can get a updated ski version. If ski is perhaps using a shared library libbfd.so on your system, then updating that library (or updating the OS) may help. Try running ldd on the ski binary.

Stripping the debug info from vmlinux may get you past this problem, but then you won't be able to debug the linux kernel.

Quoted 4 lines

ski:/usr/i386-glibc21-linux/lib/libpthread.so.0:
version `GLIBC_2.2' not found (required by ski)
ski:/usr/i386-glibc21-linux/lib/libpthread.so.0:
version `GLIBC_2.3.2' not found (required by ski)

This likely means you have an old OS installed on your system, an OS that came with glibc-2.1, and ski was compiled on a system with a newer OS that came with glibc-2.2 and/or glibc-2.3. You probably have to try a newer OS. You could maybe install a newer glibc version on your system, but building glibc isn't easy. Installing a newer OS is easier.

Signature · 1 line
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com
#2 lore raw
In reply to Daniele Velardi

on my OS is already installed glibc 2.3.2 (suse 9.0)! don't seem a problem!
For install the ski version 0.981 form the tar-ball, i have overwrite the file of directory NUE created form the last rpm's:
ski 0.943
nue 1.1.1
nue fs 1.2
My installation procedure is correct?
Then for the system mode, i have tried to boot ski bootoloader vmlinux, it is correct or i have to recompilte all for my machine?
The DW_FORM_strp error result with gcc v 2.96 and then also with gcc3 (form nue-gcc3-010625.tar.gz) and with the as v2.13 (gas-030124.tar.gz). it 's all ok?

____________________________________________________________
Yahoo! Companion - Scarica gratis la toolbar di Ricerca di Yahoo!
http://companion.yahoo.it

#3 lore raw
In reply to Daniele Velardi
Quoted 1 line · Daniele Velardi

on my OS is already installed glibc 2.3.2 (suse 9.0)!

Then I don't know what the problem.

The problem is clearly not that your OS is too old. Perhaps the problem is that the OS is too new then, or perhaps that you are using suse and the ski binary was compiled under Red Hat Linux. The nue release you are using is 3 years old, a lot of things have changed since then.

I haven't used ski in a long time, and there are probably not many other people still using it, so you may have trouble finding more useful help.

You might try running ldd on the ski binary to see what libraries it has been linked against, and to check if those libraries are present on your system.

Quoted 1 line

My installation procedure is correct?

I don't know.

Quoted 3 lines

Then for the system mode, i have tried to boot ski bootoloader vmlinux, it is correct or i have to recompilte all for my machine?

I don't know.

Quoted 3 lines

The DW_FORM_strp error result with gcc v 2.96 and then also with gcc3 (form nue-gcc3-010625.tar.gz) and with the as v2.13 (gas-030124.tar.gz). it 's all ok?

You need compatible bfds in the generator (as/ld) and the reader (ski). Since ski is only available as a binary, and a fairly old one, that implies that you will have to use an old gcc and binutils releases to be compatible with it. Using an old as isn't enough, you need both an old as and ld.

However, this is all speculation. You may have to spend some time investigating these problems yourself.

Signature · 1 line
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com
#4 lore raw
In reply to Daniele Velardi
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Daniele" = Daniele Velardi <[email protected]> writes:

Daniele> on my OS is already installed glibc 2.3.2 (suse 9.0)! don't Daniele> seem a problem! For install the ski version 0.981 form the Daniele> tar-ball, i have overwrite the file of directory NUE created Daniele> form the last rpm's: ski 0.943 nue 1.1.1 nue fs 1.2 My Daniele> installation procedure is correct? Then for the system mode,

Please don't use nue --- it's very very old. Ski from the current download site should work fine, but you'll need to build yourself (or get hold of somehow) a recent gcc and binutils built as cross
compilers. The ones in the nue-fs are too old to build today's
kernels. See http://gelato.unsw.edu.au/IA64wiki/CrossDevelopment for
more information,including how to build cross compilers etc -- use the AlternateCrossCompilation link as you're using Suse not Debian. Or Dan Kegel's cross compilation building method at
http://kegel.com/crosstool/

--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au The technical we do immediately, the political takes *forever*