Q: How to report ELF Loader Bugs in Kernel 2.4.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've stumbled on the following apparent bugs in Kernel 2.4.2.
I'm not sure the best place to post this so I decided
to ask here.

Perhaps this bug is already known.
Is there a place I can look?
I'm under the impression that there is no official
bug tracking database in place for the kernel.
Is this correct?


An ELF file executes with kernel 2.2.14 (RH6.2) but fails to
execute with kernel 2.4.2 (RH7.1).

Bug 1: 
"No such file or directory" is reported although the file exists.
If the 2.4 loader dislikes the file content, an appropriate
error message should be provided.

Bug2:
The file fails to execute under Kernel 2.4.2.
The file is quite old.
However, if feasable, old ELF files should continue
working.

I can ftp the ELF file if someone would like to
investigate this further.

With some encouragement and suggestions, I would be
willing to look deeper into these bugs.
I have disk space for another bootable partition.

Detail follows.

Thanks,

Dave



After booting RH6.2

# uname -a
Linux cs3.cs 2.2.14-5.0 #2 Mon Aug 6 17:48:37 EDT 2001 i586 unknown

# /usr/local/bin/getdate.preserve
usage: /usr/local/bin/getdate.preserve HOST1 [ HOST2... ]
...

# ls -l /usr/local/bin/getdate.preserve
-rwxr-xr-x    1 500                   8240 Oct 23  1995 /usr/local/bin/getdate.preserve


After booting RH7.1

# uname -a
Linux cs3 2.4.2-2 #1 Sun Apr 8 19:37:14 EDT 2001 i586 unknown

# /usr/local/bin/getdate.preserve 
bash2: /usr/local/bin/getdate.preserve: No such file or directory

# strace /usr/local/bin/getdate.preserve
execve("/usr/local/bin/getdate.preserve", ["/usr/local/bin/getdate.preserve"], \
       [/* 100 vars */]) = 0
strace: exec: No such file or directory

#  /usr/local/bin/lde
Illegal device name specified.
Usage: lde [-vIibBdfcCStTLOhH?] {/dev/name}

# /usr/local/bin/nsgmls
/usr/local/bin/nsgmls:/usr/local/sgml/catalog:23:0:W: DTDDECL catalog entries are not supported

# ls -l /usr/local/bin/getdate.preserve 
-rwxr-xr-x    1 500      500          8240 Oct 23  1995 /usr/local/bin/getdate.preserve

# file /usr/local/bin/getdate.preserve
/usr/local/bin/getdate.preserve: \
ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked (uses shared libs), not stripped

# file /usr/local/bin/lde
/usr/local/bin/lde: \
ELF 32-bit LSB executable, Intel 80386, version 1, statically linked, stripped

# file /usr/local/bin/nsgmls
/usr/local/bin/nsgmls: \
ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked (uses shared libs), not stripped

# ls -l /usr/local/bin/nsgmls
-rwxrwxr-x    1 root     root      1594237 Mar 18  2000 /usr/local/bin/nsgmls

# objdump -h /usr/local/bin/getdate.preserve

/usr/local/bin/getdate.preserve:     file format elf32-i386

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .interp       00000013  080000d4  080000d4  000000d4  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  1 .hash         00000134  080000e8  080000e8  000000e8  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  2 .dynsym       00000260  0800021c  0800021c  0000021c  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  3 .dynstr       00000152  0800047c  0800047c  0000047c  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  4 .rel.bss      00000020  080005d0  080005d0  000005d0  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  5 .rel.plt      000000b0  080005f0  080005f0  000005f0  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  6 .init         00000008  080006a0  080006a0  000006a0  2**4
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  7 .plt          00000170  080006a8  080006a8  000006a8  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  8 .text         00000724  08000820  08000820  00000820  2**4
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  9 .fini         00000008  08000f50  08000f50  00000f50  2**4
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
 10 .rodata       000003ee  08000f58  08000f58  00000f58  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
 11 .data         00000004  08002348  08002348  00001348  2**2
                  CONTENTS, ALLOC, LOAD, DATA
 12 .ctors        00000008  0800234c  0800234c  0000134c  2**2
                  CONTENTS, ALLOC, LOAD, DATA
 13 .dtors        00000008  08002354  08002354  00001354  2**2
                  CONTENTS, ALLOC, LOAD, DATA
 14 .got          00000064  0800235c  0800235c  0000135c  2**2
                  CONTENTS, ALLOC, LOAD, DATA
 15 .dynamic      00000090  080023c0  080023c0  000013c0  2**2
                  CONTENTS, ALLOC, LOAD, DATA
 16 .bss          0000009c  08002450  08002450  00001450  2**3
                  ALLOC
 17 .comment      00000036  00000000  00000000  00001450  2**0

-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux