Messages in this thread | | | From | Keith Owens <> | Subject | Re: uname reports 'unknown' | Date | Tue, 12 Mar 2002 14:14:39 +1100 |
| |
On 11 Mar 2002 20:43:37 -0500, Shawn Starr <spstarr@sh0n.net> wrote: >Linux coredump 2.4.19-pre2-ac4-xfs-shawn10 #2 Mon Mar 11 03:36:35 EST >2002 i586 unknown > > >what should 'unknown' really be? I've never seen it different on Intel >systems.
'unknown' is the output from uname -p, host processor type. That field is not supported in the Linux kernel. uname.c in sh-utils has this
#if defined (HAVE_SYSINFO) && defined (SI_ARCHITECTURE) if (sysinfo (SI_ARCHITECTURE, processor, sizeof (processor)) == -1) error (1, errno, _("cannot get processor type")); #else strcpy (processor, "unknown"); #endif
HAVE_SYSINFO is always false in sh-utils and SI_ARCHITECTURE is not defined in glibc so you always get unknown.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |