Skip to contentSkip to conversation

glibc problem

parisc-linux Kailashnath V Rampure 7 participants 36 messages Oct 26, 2000 – Nov 15, 2000 12 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hi

I have upgraded to GNU Make version 3.79.1 but when i run make its is giving following error:

Regards
Kailas

hppa-linux-gcc -nostdlib -nostartfiles -r -o /opt/hp/build/glibc/csu/crt1.o /opt/hp/build/glibc/csu/start.o /opt/hp/build/glibc/csu/abi-note.o /opt/hp/build/glibc/csu/init.o hppa-linux-gcc -nostdlib -nostartfiles -r -o /opt/hp/build/glibc/csu/gcrt1.o /opt/hp/build/glibc/csu/crt1.o /opt/hp/build/glibc/csu/gmon-start.o cp /dev/null /opt/hp/build/glibc/csu/Mcrt1.c
hppa-linux-gcc -O -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -I../include -I. -I/opt/hp/build/glibc/csu -I.. -I../libio -I/opt/hp/build/glibc -I../sysdeps/hppa/elf -I../sysdeps/unix/sysv/linux/hppa -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/hppa/hppa1.1 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/ldbl-128 -I../sysdeps/hppa/fpu -I../sysdeps/hppa -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /opt/hpboot/lib/gcc-lib/hppa-linux/2.96/include -isystem /opt/hp/linux/include -include ../include/libc-symbols.h -DHAVE_INITFINI -c /opt/hp/build/glibc/csu/Mcrt1.c -o /opt/hp/build/glibc/csu/Mcrt1.o
make[2]: *** [/opt/hp/build/glibc/csu/Mcrt1.o] Error 1
make[2]: Leaving directory `/opt/hp/glibc/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/opt/hp/glibc'
make: *** [all] Error 2

#1 lore raw
Quoted 8 lines · Kailashnath V Rampure

Hi

I have upgraded to GNU Make version 3.79.1 but when i run make its is giving following error:

Regards
Kailas

Quoted 7 lines

hppa-linux-gcc -nostdlib -nostartfiles -r -o /opt/hp/build/glibc/csu/crt1.o /opt/hp/build/glibc/csu/start.o /opt/hp/build/glibc/csu/abi-note.o /opt/hp/build/glibc/csu/init.o
hppa-linux-gcc -nostdlib -nostartfiles -r -o /opt/hp/build/glibc/csu/gcrt1.o /opt/hp/build/glibc/csu/crt1.o /opt/hp/build/glibc/csu/gmon-start.o
cp /dev/null /opt/hp/build/glibc/csu/Mcrt1.c

Hmm, my make.log shows a difference here. I have echo > ...Mcrt1.c, which creates a 1 byte dummy file rather than the zero byte file you get from cp /dev/null. Bombing on an empty input file is a known gcc bug for the snapshot we took of the Cygnus development gcc sources.

I suggest you update your glibc sources.

Signature · 1 line
Linuxcare.  Support for the Revolution.
#3 lore raw
In reply to a message not in the archive

HI alan,

I did upgrade to latest glibc from the cvs and tried I still get the same error. Actually I restarted from scratch starting from binutils. I have seen some warning while I built gcc. The smallpart of gcc warnings are as follows:

Gcc warnings:

prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I/opt/hp/gcc/gcc -I/opt/hp/gcc/gcc/config -I/opt/hp/gcc/gcc/../include /opt/hp/gcc/gcc/explow.c
/usr/include/bits/string2.h: In function `__stpcpy_small':
In file included from /usr/include/string.h:346,

                 from /opt/hp/gcc/gcc/system.h:176,
                 from /opt/hp/gcc/gcc/explow.c:24:

/usr/include/bits/string2.h:611: warning: pointer targets in return differ in signedness
gcc -c -DCROSS_COMPILE -DIN_GCC -g -O2 -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I/opt/hp/gcc/gcc -I/opt/hp/gcc/gcc/config -I/opt/hp/gcc/gcc/../include /opt/hp/gcc/gcc/optabs.c
/usr/include/bits/string2.h: In function `__stpcpy_small':
In file included from /usr/include/string.h:346,

                 from /opt/hp/gcc/gcc/system.h:176,
                 from /opt/hp/gcc/gcc/optabs.c:24:

/usr/include/bits/string2.h:611: warning: pointer targets in return differ in signedness
gcc -c -DCROSS_COMPILE -DIN_GCC -g -O2 -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I/opt/hp/gcc/gcc -I/opt/hp/gcc/gcc/config -I/opt/hp/gcc/gcc/../include /opt/hp/gcc/gcc/real.c
/usr/include/bits/string2.h: In function `__stpcpy_small':
In file included from /usr/include/string.h:346,

                 from /opt/hp/gcc/gcc/system.h:176,
                 from /opt/hp/gcc/gcc/real.c:25:

/usr/include/bits/string2.h:611: warning: pointer targets in return differ in signedness
gcc -c -DCROSS_COMPILE -DIN_GCC -g -O2 -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I/opt/hp/gcc/gcc -I/opt/hp/gcc/gcc/config -I/opt/hp/gcc/gcc/../include /opt/hp/gcc/gcc/builtins.c
/usr/include/bits/string2.h: In function `__stpcpy_small':
In file included from /usr/include/string.h:346,

                 from /opt/hp/gcc/gcc/system.h:176,
                 from /opt/hp/gcc/gcc/builtins.c:23:

/usr/include/bits/string2.h:611: warning: pointer targets in return differ in signedness
gcc -DCROSS_COMPILE -DIN_GCC -g -O2 -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I/opt/hp/gcc/gcc -I/opt/hp/gcc/gcc/config -I/opt/hp/gcc/gcc/../include \
-DLOCALEDIR=\"/opt/hpboot/share/locale\" \
-c echo /opt/hp/gcc/gcc/intl.c | sed 's,^\./,,'
gcc -c -DCROSS_COMPILE -DIN_GCC -g -O2 -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I/opt/hp/gcc/gcc -I/opt/hp/gcc/gcc/config -I/opt/hp/gcc/gcc/../include /opt/hp/gcc/gcc/varasm.c
/usr/include/bits/string2.h: In function `__stpcpy_small':
In file included from /usr/include/string.h:346,

                 from /opt/hp/gcc/gcc/system.h:176,
                 from /opt/hp/gcc/gcc/varasm.c:31:

/usr/include/bits/string2.h:611: warning: pointer targets in return differ in signedness
gcc -c -DCROSS_COMPILE -DIN_GCC -g -O2 -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I/opt/hp/gcc/gcc -I/opt/hp/gcc/gcc/c

Quoted 32 lines · Alan Modra
Quoted 9 lines · Kailashnath V Rampure

Hi

I have upgraded to GNU Make version 3.79.1 but when i run make its is giving following error:

Regards
Kailas

hppa-linux-gcc -nostdlib -nostartfiles -r -o

/opt/hp/build/glibc/csu/crt1.o

Quoted 6 lines

/opt/hp/build/glibc/csu/start.o /opt/hp/build/glibc/csu/abi-note.o /opt/hp/build/glibc/csu/init.o
hppa-linux-gcc -nostdlib -nostartfiles -r -o /opt/hp/build/glibc/csu/gcrt1.o /opt/hp/build/glibc/csu/crt1.o /opt/hp/build/glibc/csu/gmon-start.o
cp /dev/null /opt/hp/build/glibc/csu/Mcrt1.c

Hmm, my make.log shows a difference here. I have echo > ...Mcrt1.c, which creates a 1 byte dummy file rather than the zero byte file you get from cp /dev/null. Bombing on an empty input file is a known gcc bug for the snapshot we took of the Cygnus development gcc sources.

I suggest you update your glibc sources.

--
Linuxcare. Support for the Revolution.

---------------------------------------------------------------------------
To unsubscribe: send e-mail to [email protected] with `unsubscribe' as the subject.

#4 lore raw
Quoted 12 lines

I did upgrade to latest glibc from the cvs and tried I still get the same error. Actually I restarted from scratch starting from binutils. I have seen some warning while I built gcc. The smallpart of gcc warnings are as follows:

Gcc warnings:

prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -I.
-I/opt/hp/gcc/gcc -I/opt/hp/gcc/gcc/config -I/opt/hp/gcc/gcc/../include /opt/hp/gcc/gcc/explow.c
/usr/include/bits/string2.h: In function `__stpcpy_small':
In file included from /usr/include/string.h:346,

Quoted 4 lines
                  from /opt/hp/gcc/gcc/system.h:176,
                  from /opt/hp/gcc/gcc/explow.c:24:

/usr/include/bits/string2.h:611: warning: pointer targets in return differ in signedness

I think the enclosed patch to bits/string2.h may fix your gcc warnings. Doubt this is your real problem.

Dave

Signature · 28 lines
J. David Anglin                                  [email protected]
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

2000-09-22  J. David Anglin  <[email protected]>

	* string.h (__stpcpy_small): Correct return type.
	(strnlen): Correct return type in conditional expression.

--- string2.h.orig	Tue Sep  5 08:22:56 2000
+++ string2.h	Fri Sep 22 15:22:27 2000
@@ -608,7 +608,7 @@
       __u = __extension__ ((void *) __u + 3);
       break;
     }
-  return &__u->__uc;
+  return (char *) __u;
 }
 #  else
 #  define __stpcpy_args(src) \
@@ -1025,7 +1025,7 @@
 strnlen (__const char *__string, size_t __maxlen)
 {
   __const char *__end = (__const char *) memchr (__string, '\0', __maxlen);
-  return __end ? __end - __string : __maxlen;
+  return __end ? (size_t) (__end - __string) : __maxlen;
 }
 # endif
 #endif
#5 lore raw
In reply to Kailashnath V Rampure
Quoted 5 lines

I did upgrade to latest glibc from the cvs and tried I still get the same error. Actually I restarted from scratch starting from binutils. I have seen some warning while I built gcc. The smallpart of gcc warnings are as follows:

[snip]

Quoted 5 lines

/usr/include/bits/string2.h: In function `__stpcpy_small':
In file included from /usr/include/string.h:346,

                  from /opt/hp/gcc/gcc/system.h:176,
                  from /opt/hp/gcc/gcc/explow.c:24:

/usr/include/bits/string2.h:611: warning: pointer targets in return differ

I don't think you want to be using the system includes. Perhaps you need to be using the --with-headers= option and point it at your include directory. You can get an include tarball from,

ftp://puffin.external.hp.com/pub/parisc/src/include-latest.tar.gz

Unless you really want to hack the toolchain I would recommend the prebuilt cross-compiler available at,

ftp://puffin.external.hp.com/pub/parisc/binaries/LinuxX86/xc-latest.tar.gz

If you *do* want to hack the toolchain the build-tools cvs module has several scripts that can help you with building.

Signature · 2 lines
Matt Taggart
[email protected]
#6 lore raw
In reply to Kailashnath V Rampure
Quoted 2 lines · Kailashnath V Rampure

I did upgrade to latest glibc from the cvs and tried I still get the same error.

Did you upgrade from the CVS repository on puffin.external.hp.com? Please check glibc/csu/Makefile. Starting at line 160, you should see

$(addprefix $(objpfx),$(filter-out $(start-installed-name),$(csu-dummies))):

	@-rm -f $(@:.o=.c)
	echo > $(@:.o=.c)
	$(COMPILE.c) $(@:.o=.c) $(OUTPUT_OPTION)
	rm -f $(@:.o=.c)
Signature · 1 line
Linuxcare.  Support for the Revolution.
#8 lore raw
In reply to a message not in the archive

Yes the line is there.

Quoted 20 lines · Alan Modra
Quoted 2 lines · Kailashnath V Rampure

I did upgrade to latest glibc from the cvs and tried I still get the same error.

Did you upgrade from the CVS repository on puffin.external.hp.com? Please check glibc/csu/Makefile. Starting at line 160, you should see

$(addprefix $(objpfx),$(filter-out $(start-installed-name),$(csu-dummies))):

        @-rm -f $(@:.o=.c)
        echo > $(@:.o=.c)
        $(COMPILE.c) $(@:.o=.c) $(OUTPUT_OPTION)
        rm -f $(@:.o=.c)

--
Linuxcare. Support for the Revolution.

---------------------------------------------------------------------------
To unsubscribe: send e-mail to [email protected] with `unsubscribe' as the subject.

#9 lore raw
Quoted 1 line · Kailashnath V Rampure

Yes the line is there.

OK, that should mean you no longer get zero length .c files created with "cp /dev/null file" Is that the case? If you still see zero length files in glibc/csu, then maybe that's because "make clean" didn't remove them. Just delete them.

Signature · 1 line
Linuxcare.  Support for the Revolution.
#12 lore raw
In reply to a message not in the archive

Hi Matt,

I could run as you told but had problems so i did what helge had (you need to go to /palo/ipl and do "hppa-linux-ranlib ipl.a". Then go back to /linux and do a "make palo" again.) then lif image was created.

But when I type bo lan at HP server Iget the following error
-------------------------
Booting...
Cannot find ENTRY_TEST.

Fail to initialize.

ENTRY_INT
Status=-7
----------------------------------
My config files are as follows:

I have /etc/bootptab file as follows:
-------------------------

linux:\
        hn:\
        sm=255.255.248.0:\
        vm=rfc1048:\
        ht=ether:\
        hd=/tftpboot:\
        bf=vmlinux:\
        ha=0010830339e0:\
        ip=192.168.1.237

--------------------------------

and my exports file reads as :
--------------------------------------------------
/tftpboot/linux linux(rw,no_root_squash)
-------------------------------------------------------

I had changed the NFSROOT line in Makefile in palo to NFSROOT = 192.168.1.236:/tftpboot/linux

Quoted 47 lines · Matt Taggart

Kailashnath V Rampure writes...

Quoted 4 lines

Thanks Matt,

I have downloaded prebuilt cross-compiler but can you direct me to any documentation how to use this cross compiler. I want to do a NFS boot. I

Untar it in /, it will live in /opt/palinux.
Add /opt/palinux/bin to your path
Edit palo/Makefile and set it up for nfsroot, mine has the following line,

NFSROOT = 15.1.51.72:/tftpboot/geordi

That's the location of my nfsroot. Make sure you export it. My /etc/exports contains,

/tftpboot/geordi 15.1.51.73(rw,no_root_squash)

Then in the linux directory do,

make oldconfig (maybe answer questions)
make dep;make clean
make palo

Setup your bootp server to point to the lifimage generated. My /etc/bootptab contains,

geordi:\
        hn:\
        sm=255.255.248.0:\
        vm=rfc1048:\
        ht=ether:\
        hd=/tftpboot:\
        bf=lif-geordi:\
        ha=0800097891EB:\
        ip=15.1.51.73

and /tftpboot/lif-geordi is a symlink to palo/lifimage

Hopefully that's enough information to get you going. If you have problems please let me know how far you get.

Thanks,

--
Matt Taggart
[email protected]

#13 lore raw

Kailashnath V Rampure wrote:
...

Quoted 9 lines

But when I type bo lan at HP server Iget the following error
-------------------------
Booting...
Cannot find ENTRY_TEST.

Fail to initialize.

ENTRY_INT
Status=-7

Config files look fine.
What does your HP server report for "search lan"?
(type that instead of "bo lan")

grant

Grant Grundler
Unix Systems Enablement Lab
+1.408.447.7253

#14 lore raw

The path number is P0, device path is 8/0/20/0.0 and device type is LAN MODULE.

I also see on the Linux server that bootpd is being invoked for some time only.

Quoted 21 lines · Grant Grundler

Kailashnath V Rampure wrote:
...

Quoted 9 lines

But when I type bo lan at HP server Iget the following error
-------------------------
Booting...
Cannot find ENTRY_TEST.

Fail to initialize.

ENTRY_INT
Status=-7

Config files look fine.
What does your HP server report for "search lan"?
(type that instead of "bo lan")

grant

Grant Grundler
Unix Systems Enablement Lab
+1.408.447.7253

#17 lore raw
In reply to Kailashnath V Rampure

Kailashnath V Rampure writes...

Quoted 1 line

But when I type bo lan at HP server Iget the following error

Do you have tftp installed and working? It usually runs via inetd. Here's what I have in /etc/inetd.conf on my Debian box,

tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /boot /tftpboot

Signature · 2 lines
Matt Taggart
[email protected]
#19 lore raw
In reply to Kailashnath V Rampure

= linux:\

=          hn:\
=          sm=255.255.248.0:\
=          vm=rfc1048:\
=          ht=ether:\
=          hd=/tftpboot:\
=          bf=vmlinux:\
=          ha=0010830339e0:\
=          ip=192.168.1.237

bf should probably be lifimage, not vmlinux, though that's not the current problem.

	-P
#15 lore raw
In reply to Kailashnath V Rampure

Kailashnath V Rampure writes...

Quoted 2 lines

I also see on the Linux server that bootpd is being invoked for some time only.

bootpd runs from inetd and only stays up if it's receiving requests. After a specified amount of time of no requests it will exit. This isn't a problem as inetd will fire up a new one if needed.

I would make sure that tftpd is doing the right thing. You can test your tftpd setup by trying to download the lifimage yourself using the tftp client program.

bootpd and tftpd are pretty good about writing to syslog too, so check there for errors.

HTH,

Signature · 2 lines
Matt Taggart
[email protected]
#18 lore raw
In reply to Matt Taggart

The inetd.conf is as follows

tftp    dgram   udp     wait    root    /usr/sbin/tcpd  in.tftpd /tftpboot
bootps  dgram   udp     wait    root    /usr/sbin/tcpd  bootpd
Quoted 13 lines · Matt Taggart

Kailashnath V Rampure writes...

Quoted 1 line

But when I type bo lan at HP server Iget the following error

Do you have tftp installed and working? It usually runs via inetd. Here's what I have in /etc/inetd.conf on my Debian box,

tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /boot /tftpboot

--
Matt Taggart
[email protected]

#22 lore raw
In reply to a message not in the archive

I have redhat linux and the lin in my inetd.conf is as follows:

I missed few lines in the error. The complet error is as follows.
-------------------------
Booting...
Cannot find ENTRY_TEST.

Fail to initialize.

ENTRY_INT
Status=-7

00000000 00000000 00000010 830339E0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000000B 00000000 000000FF 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00400720 00000000 00000000 00000000 00000000 00000000

Failed to initialize
-------------------------------------------

The details of the server is as follows
The machine type is HP ACLASS (A180C)
The hardware path of the lan card is 8/0/20/0.

Quoted 32 lines · Grant Grundler

Kailashnath - can you also include machine type and HW path of the "lan" device?

thanks,
grant

Kailashnath V Rampure wrote:
...

Quoted 9 lines

But when I type bo lan at HP server Iget the following error
-------------------------
Booting...
Cannot find ENTRY_TEST.

Fail to initialize.

ENTRY_INT
Status=-7

Config files look fine.
What does your HP server report for "search lan"? (type that instead of "bo lan")

grant

Grant Grundler
Unix Systems Enablement Lab
+1.408.447.7253

---------------------------------------------------------------------------
To unsubscribe: send e-mail to [email protected] with `unsubscribe' as the subject.

#16 lore raw
In reply to Matt Taggart

Thanks !!!!! a lot specially to MATT and Helge Deller I was able to Bring up the linux on A class server.

Now I have formatted the hdd and mounted disk to /mnt and then transfered the root to /dev/hda2. I want to know how do I transfer palo to this new hdd.

Regards
Kailas

Quoted 26 lines · Matt Taggart

Kailashnath V Rampure writes...

Quoted 2 lines

I also see on the Linux server that bootpd is being invoked for some time only.

bootpd runs from inetd and only stays up if it's receiving requests. After a specified amount of time of no requests it will exit. This isn't a problem as inetd will fire up a new one if needed.

I would make sure that tftpd is doing the right thing. You can test your tftpd setup by trying to download the lifimage yourself using the tftp client program.

bootpd and tftpd are pretty good about writing to syslog too, so check there for errors.

HTH,

--
Matt Taggart
[email protected]

---------------------------------------------------------------------------
To unsubscribe: send e-mail to [email protected] with `unsubscribe' as the subject.

#24 lore raw

[parisc-linux] Boot command

Hi,
I have run the following command to initialize the sda harddisk. The sda3 is the linux native partion.
Wen I say boot on the HP server it is trying to boot from /stand/vmunix instead of vmlinux can any one help me about the command. Secondaly I want to knwo what is the term type as its not taking vt100 so I am unable to open vi.

I have made nesessary changes for the /etc/fstab

$ palo -I -k /boot/vmlinux -b /boot/iplboot -c '3/boot/vmlinux TERM=linux HOME=/ root=/dev/sda3' /dev/sda

regards
Kailas

#25 lore raw

Re: [parisc-linux] Boot command

Quoted 5 lines · Kailashnath V Rampure

Hi,
I have run the following command to initialize the sda harddisk. The sda3 is the linux native partion.
Wen I say boot on the HP server it is trying to boot from /stand/vmunix instead of vmlinux can any one help me about the command.

Sounds like your system is booting from an existing HPUX installed disk. Ie you are not using palo.

Quoted 3 lines

Secondaly I want
to knwo what is the term type as its not taking vt100 so I am unable to open vi.

TERM=linux is what I've seen before.
The debian ncurses package might need to be installed first though and vt100 should work too.

Search the mail archive at
http://puffin.external.hp.com/cgi-bin/mailgrep

grant

Quoted 6 lines

I have made nesessary changes for the /etc/fstab

$ palo -I -k /boot/vmlinux -b /boot/iplboot -c '3/boot/vmlinux TERM=linux 
HOME=/ root=/dev/sda3' /dev/sda
Quoted 7 lines

regards
Kailas

---------------------------------------------------------------------------
To unsubscribe: send e-mail to [email protected] with `unsubscribe' as the subject.

Grant Grundler
Unix Systems Enablement Lab
+1.408.447.7253

#26 lore raw

Re: [parisc-linux] Boot command

In reply to Kailashnath V Rampure

Kailashnath V Rampure writes...

Quoted 5 lines

Hi,
I have run the following command to initialize the sda harddisk. The sda3 is the linux native partion.
Wen I say boot on the HP server it is trying to boot from /stand/vmunix instead of vmlinux can any one help me about the command.

This means that you are somehow still booting an HP-UX lifimage. Did you follow the directions on,

http://www.thepuffingroup.com/parisc/install.html

including the partitioning stuff? Maybe you're still booting off another disk, are you sure you're booting from the linux disk?

HTH,

Signature · 2 lines
Matt Taggart
[email protected]
#27 lore raw

Re: [parisc-linux] Boot command

Yes I have been following the same Doc.
its tries to boot from the sda as I can see the hard disk path. I have 2 Hdd's one sda and other sdb. the path are 8/16/5.6 and other is 8/16/5.0. Here I think /dev/sda is 8/16/5.6.

It is trying to boot but give sthe following o/p:

Boot IO Dependent Code (IODC) revision 144
.... SUCCEEDED!

HARD Booted.
palo ipl bame@noam Tue Oct 31 14:18:02 MST 2000 0/vmlinux 208896 bytes @ 0x1f78c000
0/palo-cmdline '3/boot/vmlinux TERM=linux Home=/ root=/dev/sdb3'

/dev/ida1       82      62              1030688
/dev/ida2       f0      1030750 24738
/dev/ida3       83      1055488 1030750

Kernel:partition 3 file /boot/vmlinux
ext2 block size 1024
ext2_mount(partition 3) returns 0 ext2_open(/boot/vmlinux)=3
Couldn't gork your kernel executabel format failed to load kernel Failed to load Kernel.

please suggest.

Quoted 21 lines · Matt Taggart

Kailashnath V Rampure writes...

Quoted 5 lines

Hi,
I have run the following command to initialize the sda harddisk. The sda3 is the linux native partion.
Wen I say boot on the HP server it is trying to boot from /stand/vmunix instead of vmlinux can any one help me about the command.

This means that you are somehow still booting an HP-UX lifimage. Did you follow the directions on,

http://www.thepuffingroup.com/parisc/install.html

including the partitioning stuff? Maybe you're still booting off another disk, are you sure you're booting from the linux disk?

HTH,

--
Matt Taggart
[email protected]

#28 lore raw

Re: [parisc-linux] Boot command

Quoted 4 lines · Kailashnath V Rampure

Yes I have been following the same Doc.
its tries to boot from the sda as I can see the hard disk path. I have 2 Hdd's one sda and other sdb. the path are 8/16/5.6 and other is 8/16/5.0. Here I think /dev/sda is 8/16/5.6.

The lower numbered SCSI ID will be /dev/sda.
SCSI devices are lettered in the order they are discovered. The order is reflected in /proc/scsi/scsi.

grant

Grant Grundler
Unix Systems Enablement Lab
+1.408.447.7253

#29 lore raw

Re: [parisc-linux] Boot command

I have removed the 2nd HDD now the boot is trying but I get the same error:
my fstab reads as :

# /etc/fstab: static file system information.
#

# <file system> <mount> <type>  <options>                       <dump> <pass>
#/dev/sda1      /boot   ext2    defaults,errors=remount-ro      0       0
#/dev/sda2      none    swap    sw                              0       0
/dev/sda3       /       ext2    defaults,errors=remount-ro      0       0
# proc          /proc   proc    defaults                        0       0

The erros is as follows:
Boot IO Dependent Code (IODC) revision 144
.... SUCCEEDED!
HARD Booted.
palo ipl bame@noam Tue Oct 31 14:18:02 MST 2000 0/vmlinux 208896 bytes @ 0x1f78c000
0/palo-cmdline '3/boot/vmlinux TERM=linux Home=/ root=/dev/sda3' /dev/ida1 82 62 1030688
/dev/ida2 f0 1030750 24738
/dev/ida3 83 1055488 1030750
Kernel:partition 3 file /boot/vmlinux
ext2 block size 1024
ext2_mount(partition 3) returns 0 ext2_open(/boot/vmlinux)=3
Couldn't gork your kernel executabel format failed to load kernel Failed to load Kernel.

Please suggest.

#30 lore raw

Re: [parisc-linux] Boot command

= ext2_open(/boot/vmlinux)=3
= Couldn't gork your kernel executabel format failed to load kernel = Failed to load Kernel.

That should be "grok" :-) Apparently you're not using cut/paste for these error messages.

This is PALO saying that /boot/vmlinux is neither elf32, elf64, nor SOM format. I'm guessing, based on some earlier advice I gave when you were net-booting, that you may have a lifimage there by mistake -- you need a kernel instead, for example from ftp://puffin.external.hp.com/pub/parisc/binaries/kernels

To tell for sure, run 'file vmlinux' on that file. If you get
vmlinux: 8086 relocatable (Microsoft)
that's probably a lifimage. You should get this instead:
vmlinux: ELF 32-bit MSB executable, PA-RISC, version 1, statically linked, not stripped

-P

#31 lore raw

Re: [parisc-linux] Boot command

Thanks! Paul.
Yes I had copied the lifImage there. Now I have downloaded the kernel from the link you mentioned.

I am still unable to use vi as it says "linux:unknown terminal type" Can you help me.

To add features can I add deb packages. I am not that familiar with debian. Actually I want to build an apache + mod_ssl+mod_perl on A180c. Regards
Kailas

Quoted 21 lines · Paul Bame

= ext2_open(/boot/vmlinux)=3
= Couldn't gork your kernel executabel format failed to load kernel = Failed to load Kernel.

That should be "grok" :-) Apparently you're not using cut/paste for these error messages.

This is PALO saying that /boot/vmlinux is neither elf32, elf64, nor SOM format. I'm guessing, based on some earlier advice I gave when you were net-booting, that you may have a lifimage there by mistake -- you need a kernel instead, for example from ftp://puffin.external.hp.com/pub/parisc/binaries/kernels

To tell for sure, run 'file vmlinux' on that file. If you get
vmlinux: 8086 relocatable (Microsoft)
that's probably a lifimage. You should get this instead:
vmlinux: ELF 32-bit MSB executable, PA-RISC, version 1, statically
linked, not stripped

        -P
#33 lore raw

Re: [parisc-linux] Boot command

In reply to a message not in the archive

Hi,
Thanks. I copied the termcap and terminfo directory froma red hat linux box. Now I am able to run VI and the TERM is vt100.

Regards
Kailas

Quoted 47 lines · Thierry SIMONNET

To have a suitable TERM, you must get termcap or terminfo definition; ie a good terminfo tree from a linux box. To have a good method to install a pa/linux box, see my student's web site at http://www.esiee.fr/~djoudim

Th. SIMONNET

Quoted 38 lines · Kailashnath V Rampure

Thanks! Paul.
Yes I had copied the lifImage there. Now I have downloaded the kernel from the link you mentioned.

I am still unable to use vi as it says "linux:unknown terminal type" Can you help me.

To add features can I add deb packages. I am not that familiar with debian. Actually I want to build an apache + mod_ssl+mod_perl on A180c. Regards
Kailas

Quoted 13 lines · Paul Bame

= ext2_open(/boot/vmlinux)=3
= Couldn't gork your kernel executabel format failed to load kernel = Failed to load Kernel.

That should be "grok" :-) Apparently you're not using cut/paste for these error messages.

This is PALO saying that /boot/vmlinux is neither elf32, elf64, nor SOM format. I'm guessing, based on some earlier advice I gave when you were net-booting, that you may have a lifimage there by mistake -- you need a kernel instead, for example from ftp://puffin.external.hp.com/pub/parisc/binaries/kernels

Quoted 8 lines

To tell for sure, run 'file vmlinux' on that file. If you get
vmlinux: 8086 relocatable (Microsoft)
that's probably a lifimage. You should get this instead:
vmlinux: ELF 32-bit MSB executable, PA-RISC, version 1, statically
linked, not stripped

        -P

---------------------------------------------------------------------------
To unsubscribe: send e-mail to [email protected] with `unsubscribe' as the subject.

#34 lore raw

Re: [parisc-linux] Boot command

Quoted 3 lines · Kailashnath V Rampure

Hi,
Thanks. I copied the termcap and terminfo directory froma red hat linux box. Now I am able to run VI and the TERM is vt100.

I've added a "vi is complaining" item to the FAQ.

Normally the FAQ lives at
http://www.thepuffingroup.com/parisc/faq.html

but it's not updated yet. I've put a temporary copy at

http://puffin.external.hp.com/~grundler/faq.html

and will remove this once the regular location is updated. (Hint - relative links won't work from my copy)

grant

Grant Grundler
Unix Systems Enablement Lab
+1.408.447.7253

#35 lore raw

Re: [parisc-linux] Boot command

----- Original Message -----
From: Grant Grundler <[email protected]>
To: Kailashnath V Rampure <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, November 07, 2000 8:19 PM
Subject: Re: [parisc-linux] Boot command

Quoted 6 lines
Quoted 3 lines · Kailashnath V Rampure

Hi,
Thanks. I copied the termcap and terminfo directory froma red hat linux box. Now I am able to run VI and the TERM is vt100.

I've added a "vi is complaining" item to the FAQ.

To use vi and all these applications like top, they need the terminfo directory in /usr/share from any distrib!!

Bye, the ESIEE Team

#36 lore raw

Re: [parisc-linux] Boot command

Quoted 10 lines · Thomas Marteau
Quoted 6 lines · Grant Grundler
Quoted 3 lines · Kailashnat V Rampure

Hi,
Thanks. I copied the termcap and terminfo directory froma red hat linux box. Now I am able to run VI and the TERM is vt100.

I've added a "vi is complaining" item to the FAQ.

To use vi and all these applications like top, they need the terminfo directory in /usr/share from any distrib!!

I didn't say taking from RH was wrong.
IMHO, doing so defeats the whole point of debian's packaging system.

Please read the new FAQ entry and tell me if I've gotten that right or not.

grant

Grant Grundler
Unix Systems Enablement Lab
+1.408.447.7253

#37 lore raw

Re: [parisc-linux] Boot command

I agree with you regarding taking from RH. I just wanted to let u all know how I solved the issue. I have gone through the faq it is fine.

Regards
Kailas

Quoted 27 lines · Grant Grundler
Quoted 10 lines · Thomas Marteau
Quoted 6 lines · Grant Grundler
Quoted 3 lines · Kailashnat V Rampure

Hi,
Thanks. I copied the termcap and terminfo directory froma red hat linux box. Now I am able to run VI and the TERM is vt100.

I've added a "vi is complaining" item to the FAQ.

To use vi and all these applications like top, they need the terminfo directory in /usr/share from any distrib!!

I didn't say taking from RH was wrong.
IMHO, doing so defeats the whole point of debian's packaging system.

Please read the new FAQ entry and tell me if I've gotten that right or not.

grant

Grant Grundler
Unix Systems Enablement Lab
+1.408.447.7253

---------------------------------------------------------------------------
To unsubscribe: send e-mail to [email protected] with `unsubscribe' as the subject.

#38 lore raw

Re: [parisc-linux] Boot command

In reply to Paul Bame

I have booted HP A class server through network. On that I have repartioned the system and followed the steps on http://www.parisc-linux.org/install.html.
I have used the following command to initialize the hard disk. The kernel I have downloaded is vmlinux-20001018. and cpied it to /mnt/boot/vmlinux after mounting /dev/sda3. I have used the following command to initialize the HDD.

palo -I -k /boot/vmlinux -b /boot/iplboot \ -c '3/boot/vmlinux TERM=linux HOME=/ root=/dev/sda3' \ /dev/sda
--------------------------------
I get the following error:
--------------------------------
SOFT Boot.
palo ipl bame@noam Tue oct 31 14:18:02 MST 2000
0/vmlinux 2138614 bytes@ 0x1f78c000
0/palo-cmdline '3/boot/vmlinux TERM=linux HOME=/ root=/dev/sda3'
/dev/ida1 82 62 1030688
/dev/ida2 f0 1030750 24738
/dev/ida3 83 1055488 1030750
Kernel:partition 3 file /boot/vmlinux
ext2 block size 1024
ext2_mount(partition 3) returns 0
ext2_open(/boot/vmlinux) = -1
open /boot/vmlinux failed
-------------------------------------
Please suggest.

#40 lore raw

Re: [parisc-linux] Boot command

In reply to a message not in the archive

Yes Thomas the vmlinux is in /boot of 3rd partition as the other partitions are swap and f0.

Quoted 51 lines · Thomas Marteau

----- Original Message -----
From: Kailashnath V Rampure <[email protected]>
To: Paul Bame <[email protected]>
Cc: Grant Grundler <[email protected]>; Matt Taggart <[email protected]>; <[email protected]>
Sent: Tuesday, November 14, 2000 11:58 PM
Subject: Re: [parisc-linux] Boot command

Quoted 1 line

I have booted HP A class server through network. On that I have

repartioned

Quoted 1 line

the system and followed the steps on

http://www.parisc-linux.org/install.html.

Quoted 1 line

I have used the following command to initialize the hard disk. The kernel

I

Quoted 6 lines

have downloaded is vmlinux-20001018. and cpied it to /mnt/boot/vmlinux after mounting /dev/sda3. I have used the following command to initialize the HDD.

palo -I -k /boot/vmlinux -b /boot/iplboot \ -c '3/boot/vmlinux TERM=linux HOME=/ root=/dev/sda3' \ /dev/sda

This means that vmlinux must be in /boot in your third partition on your disk.
Is it true in your case?

Quoted 18 lines

--------------------------------
I get the following error:
--------------------------------
SOFT Boot.
palo ipl bame@noam Tue oct 31 14:18:02 MST 2000 0/vmlinux 2138614 bytes@ 0x1f78c000
0/palo-cmdline '3/boot/vmlinux TERM=linux HOME=/ root=/dev/sda3' /dev/ida1 82 62 1030688
/dev/ida2 f0 1030750 24738
/dev/ida3 83 1055488 1030750
Kernel:partition 3 file /boot/vmlinux
ext2 block size 1024
ext2_mount(partition 3) returns 0 ext2_open(/boot/vmlinux) = -1
open /boot/vmlinux failed
-------------------------------------
Please suggest.

Quoted 1 line

--------------------------------------------------------------------------

-

Quoted 1 line

To unsubscribe: send e-mail to [email protected]

with

Quoted 3 lines

`unsubscribe' as the subject.

#41 lore raw

Re: [parisc-linux] Boot command

Hi again,

You put the swap partition before the f0 partition and here it is the f0
partition in first position.
Also, your hard disk is ida instead of sda, what's that ?

Bye,

ESIEE Team
----- Original Message -----
From: Kailashnath V Rampure <[email protected]>
To: Thomas Marteau <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, November 15, 2000 6:55 PM
Subject: Re: [parisc-linux] Boot command

Quoted 1 line

Yes Thomas the vmlinux is in /boot of 3rd partition as the other

partitions

Quoted 18 lines

are swap and f0.

Quoted 14 lines · Thomas Marteau

----- Original Message -----
From: Kailashnath V Rampure <[email protected]>
To: Paul Bame <[email protected]>
Cc: Grant Grundler <[email protected]>; Matt Taggart <[email protected]>; <[email protected]>
Sent: Tuesday, November 14, 2000 11:58 PM
Subject: Re: [parisc-linux] Boot command

Quoted 1 line

I have booted HP A class server through network. On that I have

repartioned

Quoted 1 line

the system and followed the steps on

http://www.parisc-linux.org/install.html.

Quoted 1 line

I have used the following command to initialize the hard disk. The

kernel

Quoted 3 lines
Quoted 3 lines

I

Quoted 2 lines

have downloaded is vmlinux-20001018. and cpied it to /mnt/boot/vmlinux after mounting /dev/sda3. I have used the following command to

initialize

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

the HDD.

palo -I -k /boot/vmlinux -b /boot/iplboot \ -c '3/boot/vmlinux

TERM=linux

Quoted 21 lines
Quoted 21 lines
Quoted 1 line

HOME=/ root=/dev/sda3' \ /dev/sda

This means that vmlinux must be in /boot in your third partition on your disk.
Is it true in your case?

Quoted 15 lines

--------------------------------
I get the following error:
--------------------------------
SOFT Boot.
palo ipl bame@noam Tue oct 31 14:18:02 MST 2000 0/vmlinux 2138614 bytes@ 0x1f78c000
0/palo-cmdline '3/boot/vmlinux TERM=linux HOME=/ root=/dev/sda3' /dev/ida1 82 62 1030688
/dev/ida2 f0 1030750 24738
/dev/ida3 83 1055488 1030750
Kernel:partition 3 file /boot/vmlinux
ext2 block size 1024
ext2_mount(partition 3) returns 0 ext2_open(/boot/vmlinux) = -1
open /boot/vmlinux failed

#42 lore raw

Re: [parisc-linux] Boot command

= You put the swap partition before the f0 partition and here it is the f0
= partition in first position.

The partition order doesn't matter so long as the f0 partition and the partition containing your kernel (an ext2 partition) *end* within the first 2Gb of the disk. See the PALO README.html.

= Also, your hard disk is ida instead of sda, what's that ?

PALO lists the devices as 'ida' instead of 'sda' or 'hda' since it is using the firmware 'IODC' interface to talk to the boot device, and it has no idea what type of boot device IODC is providing.

	-P
#43 lore raw

Re: [parisc-linux] Boot command

In reply to Thomas Marteau

Thomas,
I mounted the /dev/sda3 on mnt and deleted every thing and recopied then rebooted. It worked. Probably there was some fault while I copied yesterday. I did not repartition the disk now.
Thanks

Regards
Kailas

Quoted 67 lines · Thomas Marteau

Hi again,

You put the swap partition before the f0 partition and here it is the f0
partition in first position.
Also, your hard disk is ida instead of sda, what's that ?

Bye,

ESIEE Team
----- Original Message -----
From: Kailashnath V Rampure <[email protected]>
To: Thomas Marteau <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, November 15, 2000 6:55 PM
Subject: Re: [parisc-linux] Boot command

Quoted 1 line

Yes Thomas the vmlinux is in /boot of 3rd partition as the other

partitions

Quoted 18 lines

are swap and f0.

Quoted 14 lines · Thomas Marteau

----- Original Message -----
From: Kailashnath V Rampure <[email protected]>
To: Paul Bame <[email protected]>
Cc: Grant Grundler <[email protected]>; Matt Taggart <[email protected]>; <[email protected]>
Sent: Tuesday, November 14, 2000 11:58 PM
Subject: Re: [parisc-linux] Boot command

Quoted 1 line

I have booted HP A class server through network. On that I have

repartioned

Quoted 1 line

the system and followed the steps on

http://www.parisc-linux.org/install.html.

Quoted 1 line

I have used the following command to initialize the hard disk. The

kernel

Quoted 3 lines
Quoted 3 lines

I

Quoted 2 lines

have downloaded is vmlinux-20001018. and cpied it to /mnt/boot/vmlinux after mounting /dev/sda3. I have used the following command to

initialize

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

the HDD.

palo -I -k /boot/vmlinux -b /boot/iplboot \ -c '3/boot/vmlinux

TERM=linux

Quoted 21 lines
Quoted 21 lines
Quoted 1 line

HOME=/ root=/dev/sda3' \ /dev/sda

This means that vmlinux must be in /boot in your third partition on your disk.
Is it true in your case?

Quoted 15 lines

--------------------------------
I get the following error:
--------------------------------
SOFT Boot.
palo ipl bame@noam Tue oct 31 14:18:02 MST 2000 0/vmlinux 2138614 bytes@ 0x1f78c000
0/palo-cmdline '3/boot/vmlinux TERM=linux HOME=/ root=/dev/sda3' /dev/ida1 82 62 1030688
/dev/ida2 f0 1030750 24738
/dev/ida3 83 1055488 1030750
Kernel:partition 3 file /boot/vmlinux
ext2 block size 1024
ext2_mount(partition 3) returns 0 ext2_open(/boot/vmlinux) = -1
open /boot/vmlinux failed