Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 6404] New: Buildroot's coreutils 'uname -p' reports 'Unknown' on recent ARM kernels
@ 2013-08-01  4:30 bugzilla at busybox.net
  2013-08-12 20:32 ` Arnout Vandecappelle
  2013-10-30 22:30 ` [Buildroot] [Bug 6404] " bugzilla at busybox.net
  0 siblings, 2 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2013-08-01  4:30 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=6404

           Summary: Buildroot's coreutils 'uname -p' reports 'Unknown' on
                    recent ARM kernels
           Product: buildroot
           Version: 2013.05
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: daniel.price at gmail.com
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


Buildroot's coreutils uname(1) command has a special patch applied as part of
buildroot.  When you run 'uname -p', it tries to print out extended information
about the processor you are running.  It does this by parsing /proc/cpuinfo. 
I'm not sure of the provenance of this enhancement, but you can read the code
in package/coreutils/coreutils-uname.patch.

However, on recent ARM kernels, the format of /proc/cpuinfo has changed
incompatibly.  Several packages subsequently break.  I believe the commit in
question is this:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=82b5df7bf27ca6cf642499bc3bcae1c93b9ac4ba

So, I recently discovered that when matched with recent ARM kernels, uname -p
on buildroot is simply reporting 'Unknown'.  I'm not really sure what the right
answer might be.  The code doesn't really seem set up to parse the
/proc/cpuinfo file in more than one way.

I am presently using buildroot 2012.11, but the code seems to be the same in
the latest release as well.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-10-30 22:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-01  4:30 [Buildroot] [Bug 6404] New: Buildroot's coreutils 'uname -p' reports 'Unknown' on recent ARM kernels bugzilla at busybox.net
2013-08-12 20:32 ` Arnout Vandecappelle
2013-08-13  0:14   ` Martin Banky
2013-08-13  9:20     ` Thomas Petazzoni
2013-08-13 10:12       ` Martin Banky
2013-08-14 12:30   ` Gustavo Zacarias
2013-08-15 13:50     ` Thomas Petazzoni
2013-10-30 22:30 ` [Buildroot] [Bug 6404] " bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox