Re: ELF branding / magic numbers

2004-02-10 Thread Nathan Hawkins
On Thu, Feb 05, 2004 at 10:31:54AM +, Philip Reynolds wrote:
 Ruslan Ermilov [EMAIL PROTECTED] 35 lines of wisdom included:
  On Thu, Feb 05, 2004 at 08:39:45AM +, Philip Reynolds wrote:
  [...]
   Does the magic number not then support multiple ABI's per system
   architecture, or is there some part of the puzzle I'm missing?
   
  There's an EI_ABIVERSION byte following the EI_OSABI byte, which
  is both documented in the elf(5) manpage, and is shown in the
  ``readelf -h'' output.
 
 You misunderstood me. 
 
 My question was why is there a need for a PT_NOTE section (which is
 a more convaluted way of branding and reading a brand of an elf
 binary) if the above sections exist?

Yes. It is used on other systems, like NetBSD and Linux. Having the note
section allows those system to correctly recognize FreeBSD binaries.
(The people developing binutils apparently don't agree with the use of
EI_OSABI.)

Unfortunately, FreeBSD doesn't check for it in the kernel. Doing it as a
fall-back would permit detecting statically linked Linux binaries,
without needing to run brandelf on them. I've been considering working
on a patch for that, but haven't had time.

---Nathan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hardware for FreeBSD

2002-05-17 Thread Nathan Hawkins

For years, I've had the best luck with building my own systems, or 
having built to my specifications. Have comp delivered mostly assembled, 
but without hard drive installed, I can usually avoid having to buy 
Windows, too. Going this route, I pick all the parts, and can generally 
eliminate OS incompatibilities. I also don't buy lowest bidder parts, or 
try to save money on motherboards.

That said, I've had pretty good luck with Dell hardware. At least the 
Optiflex line, don't know about PowerEdges. The Optiflex's I've bought 
all run both Linux and FreeBSD with no problems. (Local computer store 
has had used ones very cheap.)

I've used the Compaq DL380 with Linux, and would recommend it as quite 
good and reliable hardware. Looks like the Compaq RAID controller is 
supported on FreeBSD, but I don't have access to one anymore, so can't 
try it.

---Nathan

Bogdan TARU wrote:

   Hi hackers,

 I am in a big dillema (and great hurry/pressure). I need to buy some
hardware for some firewalls for my company. And so the blues started.

 First, I went to Dell. Almost signed the papers for two PowerEdges 2550,
(everything in them seemed to be compatible with FreeBSD) when I found out
they are longer then the rack!!! And not only the 2550, but most of their
cases.

 So I went to IBM. A little more expensive, but what the hack? It's IBM.
So, almost made a system, and when coming to checking the compatibility
list, IBM ServeRaid is not supported under FreeBSD. WTF???

 So my question is: if you'd have to buy good/reliable hardware now, which
is the vendor you'd choose (considering the facts above)? I looked on the
FreeBSD's site for some hardware vendors in Germany (where I live), but
none found. And I'd go for a brand name, anyways.

 Thank you,
 bogdan



iCom Media AG
Kirchweg 36
Koln, 50858
Germany

Phone: +49-(0)221-485-689-16
Fax  : +49-(0)221-485-689-20


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message
  




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message