Current kernel can't execute gzip'ed ELF executables!

1999-04-17 Thread Maxim Sobolev
Hi All,

If seems that 4.0-current (make world  kernel as of yesterday) can't
execute ELF gzip'ed binaries with following symptoms:

sh-2.02# cp /bin/sh  ./
sh-2.02# gzip sh
sh-2.02# ls -l
total 177
-rw-r--r--  1 root  wheel  43 Apr 17 09:58 Report
-r-xr-xr-x  1 root  wheel  170093 Apr 17 09:58 sh.gz
sh-2.02# mv sh.gz sh
sh-2.02# ls -l
total 177
-rw-r--r--  1 root  wheel 253 Apr 17 09:58 Report
-r-xr-xr-x  1 root  wheel  170093 Apr 17 09:58 sh
sh-2.02# ./sh
sh: ./sh: cannot execute binary file

In dmesg I have:

Output=32 Inflate_error=1 igz.error=8 error2=0 where=180

This misbehavior verified on two machines.

Sincerely,

Maxim



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Current kernel can't execute gzip'ed ELF executables!

1999-04-17 Thread Kris Kennaway
On Sat, 17 Apr 1999, Maxim Sobolev wrote:

 If seems that 4.0-current (make world  kernel as of yesterday) can't
 execute ELF gzip'ed binaries with following symptoms:

I enquired about this a few months ago (but didn't hear anything in reply). As
far as I've been able to work out, the facility was never intended to work
with ELF executables because no-one's updated it from using a.out executables.

It's a shame since that can be quite useful on machines where disk space is
tight, but I have no idea how hard it will be to get working again.

Kris

-
The Feynman problem-solving algorithm: 1. Write down the problem
   2. Think real hard
   3. Write down the solution



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Current kernel can't execute gzip'ed ELF executables!

1999-04-17 Thread Dag-Erling Smorgrav
Maxim Sobolev sobo...@altavista.net writes:
 If seems that 4.0-current (make world  kernel as of yesterday) can't
 execute ELF gzip'ed binaries with following symptoms:

It never could, AFAIK.

DES
-- 
Dag-Erling Smorgrav - d...@flood.ping.uio.no


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Current kernel can't execute gzip'ed ELF executables!

1999-04-17 Thread jfesler
 It's a shame since that can be quite useful on machines where disk space is
 tight, but I have no idea how hard it will be to get working again.

Use gzexe - the old fashioned way of doing things.  If anyone does
actually want it fixed, on a minimum, man send-pr .. I don't see anything
related posted there right now.




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message