Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Early_printk?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2091
Location: San Jose, CA

PostPosted: Sun Jun 14, 2009 5:51 am    Post subject: Early_printk? Reply with quote

Maybe I'm confused, but I really don't want EARLY_PRINTK enabled, but I can't turn it off in gentoo-sources-2.6.29-r5.

The long trail of info at bootup is really dull compared to the wizbang of natural_gentoo and I want the info off. It feels like EARLY_PRINTK needs to be disabled, but make menuconfig will not let me disable, as if it were required for something.

But I can't find anything that enables it or depends on it.

Does anyone have any ideas?

Thanks,

Brian
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2387
Location: Germania

PostPosted: Sun Jun 14, 2009 9:05 am    Post subject: Reply with quote

I found it in
Quote:
./arch/x86/Kconfig.debug:33:config EARLY_PRINTK
menu: "kernel hacking"
defaults to yes -- silly wrt what the comment tells you :o
shows up only if you build an EMBEDDED system -- wtf?!

the default config to edit
Quote:
./arch/x86/configs/i386_defconfig:2095:CONFIG_EARLY_PRINTK=y
./arch/x86/configs/x86_64_defconfig:2064:CONFIG_EARLY_PRINTK=y

found by command: die@ana:/usr/src/linux $ find -type f -exec grep -Hn EARLY_PRINTK {} +
_________________
hear hear
Back to top
View user's profile Send private message
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2091
Location: San Jose, CA

PostPosted: Sun Jun 14, 2009 4:05 pm    Post subject: Reply with quote

geki wrote:
I found it in
Quote:
./arch/x86/Kconfig.debug:33:config EARLY_PRINTK
menu: "kernel hacking"
defaults to yes -- silly wrt what the comment tells you :o
shows up only if you build an EMBEDDED system -- wtf?!

the default config to edit
Quote:
./arch/x86/configs/i386_defconfig:2095:CONFIG_EARLY_PRINTK=y
./arch/x86/configs/x86_64_defconfig:2064:CONFIG_EARLY_PRINTK=y

found by command: die@ana:/usr/src/linux $ find -type f -exec grep -Hn EARLY_PRINTK {} +


Thanks. I found it there too. But if I change it to "n" and re-run make menuconfig, it turns it back on.

Something is requiring it, but I don't know what. I even looked for depends and config, but that didn't show anything requiring it, except MIPS stuff.

Any ideas?

Brian
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2387
Location: Germania

PostPosted: Sun Jun 14, 2009 9:27 pm    Post subject: Reply with quote

I set default to n in arch/x86/Kconfig.debug and it is disabled then. (x86_64 arch here)
_________________
hear hear
Back to top
View user's profile Send private message
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2091
Location: San Jose, CA

PostPosted: Mon Jun 15, 2009 12:00 am    Post subject: Reply with quote

Thanks much! That did it!

Now to see if the boot is prettier.
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2091
Location: San Jose, CA

PostPosted: Mon Jun 15, 2009 1:28 am    Post subject: Reply with quote

It worked, but there's still reams of info coming from the kernel at boot time.

Oh well.
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
poly_poly-man
Advocate
Advocate


Joined: 06 Dec 2006
Posts: 2477
Location: RIT, NY, US

PostPosted: Mon Jun 15, 2009 1:45 am    Post subject: Reply with quote

EMBEDDED doesn't actually make an embedded system - it just lets you toggle switches that should only be necessary to change for embedded systems. So, set that to yes, then go into the submenu and toggle early printk,
_________________
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see topic 838248. Potentially still a WiP.
Back to top
View user's profile Send private message
danvari
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2008
Posts: 131

PostPosted: Sat Aug 22, 2009 8:02 am    Post subject: Reply with quote

hm, if i activate EMBEDDED in the kernel (although it is not recommended as said in the help), i can set EARLY_PRINTK to off. so is it recommended to turn EMBEDDED on?
Back to top
View user's profile Send private message
widremann
Veteran
Veteran


Joined: 14 Mar 2005
Posts: 1314

PostPosted: Sat Aug 22, 2009 1:57 pm    Post subject: Reply with quote

Dude, just append "quiet" to your kernel boot parameters.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum