View previous topic :: View next topic |
Author |
Message |
RayDude Advocate
Joined: 29 May 2004 Posts: 2091 Location: San Jose, CA
|
Posted: Sun Jun 14, 2009 5:51 am Post subject: Early_printk? |
|
|
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 |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Sun Jun 14, 2009 9:05 am Post subject: |
|
|
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
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 |
|
|
RayDude Advocate
Joined: 29 May 2004 Posts: 2091 Location: San Jose, CA
|
Posted: Sun Jun 14, 2009 4:05 pm Post subject: |
|
|
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
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 |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Sun Jun 14, 2009 9:27 pm Post subject: |
|
|
I set default to n in arch/x86/Kconfig.debug and it is disabled then. (x86_64 arch here) _________________ hear hear |
|
Back to top |
|
|
RayDude Advocate
Joined: 29 May 2004 Posts: 2091 Location: San Jose, CA
|
Posted: Mon Jun 15, 2009 12:00 am Post subject: |
|
|
Thanks much! That did it!
Now to see if the boot is prettier. _________________ Some day there will only be free software. |
|
Back to top |
|
|
RayDude Advocate
Joined: 29 May 2004 Posts: 2091 Location: San Jose, CA
|
Posted: Mon Jun 15, 2009 1:28 am Post subject: |
|
|
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 |
|
|
poly_poly-man Advocate
Joined: 06 Dec 2006 Posts: 2477 Location: RIT, NY, US
|
Posted: Mon Jun 15, 2009 1:45 am Post subject: |
|
|
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 |
|
|
danvari Tux's lil' helper
Joined: 04 Apr 2008 Posts: 131
|
Posted: Sat Aug 22, 2009 8:02 am Post subject: |
|
|
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 |
|
|
widremann Veteran
Joined: 14 Mar 2005 Posts: 1314
|
Posted: Sat Aug 22, 2009 1:57 pm Post subject: |
|
|
Dude, just append "quiet" to your kernel boot parameters. |
|
Back to top |
|
|
|