Opened 6 years ago

Closed 5 years ago

Last modified 4 years ago

#11805 closed enhancement (fixed)

[brcm63xx] /proc/cpuinfo cannot be available during preinit

Reported by: joel_ejc@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version: Trunk
Keywords: preinit Cc:


I notice in my bootlog this message

[    0.644000] Freeing unused kernel memory: 200k freed
awk: /proc/cpuinfo: No such file or directory

It's provided by lib/ which contents

brcm63xx_detect() {
        board_name=$(awk 'BEGIN{FS="[ \t:/]+"} /system type/ {print $4}' /proc/cpuinfo)

Just for avoiding this message, the presence of /proc/cpuinfo could be test as don in the proposed patch for this file.

This message is linked to the execution of
which does nothing as board_name is not initialized
but no matter because lib/ will be executed again by

May be has no utility as it only containts a call to ./lib/


Attachments (1)

aa (455 bytes) - added by joel_ejc@… 6 years ago.
Proposed patch: test /proc/cpuinfo in lib/

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by joel_ejc@…

Proposed patch: test /proc/cpuinfo in lib/

comment:1 Changed 5 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

Fixed with r35504

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.