On Fri, Apr 8, 2011 at 12:10 PM, brian m. carlson <
[email protected]> wrote:

> The "sparc" in this case is the Debian architecture name.  Currently,
> Debian machines running UltraSPARC processors (sparc64) use the sparc
> Debian architecture.[0]  So basically, if you're sure you compiled the
> kernel as 64-bit, you probably did, and it should work.  Such a kernel
> will reply give the uname -m reply you expect.  Packages you download
> using apt will have this part of the filename be "sparc" as well.
>
> If you're not sure, just install the package and run file on one of the
> modules (assuming you compiled it with such).  On my Ultra 5, it looks
> like
>
>  blackhole ok % file kernel/drivers/block/nbd.ko
>  kernel/drivers/block/nbd.ko: ELF 64-bit MSB relocatable, SPARC V9, relaxed
> memory ordering, version 1 (SYSV), not stripped
>
> This will tell you if the module is 64-bit or 32-bit, and therefore
> whether it's been compiled correctly.
>
> [0] There's movement towards creating a full 64-bit architecture called
> "sparc64", but it is currently unofficial.


Awesome!

Thanks for the insight. What you say is exactly what I'd thought but I just
wanted to check. Also, I took a shortcut and instead of installing it, I
just went into the source directory for the kernel and did a 'file' on a few
libraries and modules and they all reported back

ELF 64-bit MSB relocatable, SPARC V9, relaxed memory ordering, version 1
(SYSV), not stripped

Thanks again :)

Reply via email to