how can i disable boot.msg?

as topic title… can i disable some how making of /var/log/boo.msg? my netbook waste about 9-10 seconds creating it, i would like to improve boot time disabling it (right now i have 33 seconds boot time on aspire one)

thanks for help

I think you misunderstand. You don’t save any time (or very little) recording the boot messages in a file. It still has to go through the steps anyway, whether or not the messages are logged or thrown away.

i want to disable the reation of that file…

on boot it stop about 10 seconds on line

“creating /var/log/boot.msg”

i would like to skip it, and to NOT create atall that file…

and I accept that, in case of hardware failure, software bugs etc. etc. etc. I have nothing to fall back to, nothing to provide forum members with to resolve future problems.

BTW. If you completely remove the OS, you’d get to a boottime of 0 secs :wink:

Things are not always what they seem. You think it’s spending 10 seconds creating boot.msg. What’s more likely is that it has created boot.msg in no time at all and is actually waiting for the next thing to happen.

Rather you should ask the question, how can I find out what the waits in the boot process are. For that there are tools like bootchart.

here bootchart graph:

RapidShare: Easy Filehosting

i really do not understand it, any way, the first line appears after /var/log/boot.msg is

enabling syn flood protection, i know what syn is and i know i want to keep it working

funny, but in the same way i disable it, i can re-enable, most of boot.msg logs can be extract from dmesg :slight_smile: and any way, in case of hardware failure… well… nothing special you can do it, in case of software bug… i never used it

anubisg1 adjusted his/her AFDB on Monday 11 May 2009 10:36 to write:

>
> here bootchart graph:
>
> ‘RapidShare: Easy Filehosting’
> (http://rapidshare.com/files/231640885/bootchart.svgz.html)
>
> i really do not understand it, any way, the first line appears after
> /var/log/boot.msg is
>
> enabling syn flood protection, i know what syn is and i know i want to
> keep it working
>
>

Just had a quick look at that chart and it appears that your machine takes
10s ( between the 20s and 30s mark ) to do a find on your drive???

This all disk I/O holding up the rest of the boot sequence.

Now off the top of my head this is not right.

The only other thing that does anything during that time is the kjournald,
this can be seen to use disk I/O in the spaces on the find line.

Tell me have you got anything connected or not connected that you did/did
not have when you installed?

I am thinking of USB drives, USB sticks etc…

Also have you added/removed any drives/partitions?

HTH


Mark

Nullus in verba
Nil illigitimi carborundum

anubisg1 wrote:
> i want to disable the reation of that file…
>
> on boot it stop about 10 seconds on line
>
> “creating /var/log/boot.msg”
>
> i would like to skip it, and to NOT create atall that file…

i may be wrong, but i believe the boot script prints to the screen
“creating /var/log/boot.msg” as INFORMATION, and the system does NOT
sit there and do nothing until the entire boot.msg is generated and
saved to file…

i believe that for at least three reasons:

  • first, the ENTIRE boot.msg can NOT be generated until the ENTIRE
    boot process is complete, and at the point it hits the screen the
    process is not complete…

  • second, the system does NOT print “creating /var/log/boot.msg” and
    then about 10 seconds later print “Done” on the far right of the
    screen…and then move to the next boot action…

  • third, i was long ago told that if the boot sequence freezes you can
    look at the screen and see the LAST SUCCESSFUL action (meaning that
    the frozen action never got printed to the screen (along with its
    “Done”) because it never got ‘done’…

instead of sitting and generating/saving a file for ten seconds, i
believe the boot script PROCEEDS immediately to the NEXT item…and, i
GUESS the 10 second ‘pause’ is because the NEXT operation takes about
10 seconds…and, then it immediately prints out to the screen what
was just done WHILE it continues to the next item…(remember, the
system can do a LOT of different things all span of one second…)

on my box (could be different from yours) the item after the boot.msg
note is:

“Mounting securityfs on /sys/kernel/security”

what is it on yours?

anyway, i’m willing to bet that IF you can learn how to turn off that
boot.msg line you are gonna save about one-tenth of one second…or
less…

i may be wrong and ymmv

oh, and there is lots of interesting reading on the subject of boot
time available on the net…

for example:
http://lwn.net/Articles/299483/
http://en.opensuse.org/Boot_time
google finds MANY more…


somebody_else

> (http://rapidshare.com/files/231640885/bootchart.svgz.html)
>
> i really do not understand it,

my downloaded copy of that file is pages of this:

ôàìëo¿ÿA¿oùŗ׺RºroúÔLšŠÆ
Ì?U©Ã£¬p¯^‡þz·:¬?‡`‘!òÅ•ycºY¾ÿ¸?¬ï³ÍV—\ÊþñYÑ<·u7Fëû«—OÛÕ½zÖl¶O2”³ñÁ%ÈáòaµÎ~
³ï¿û£ac ð+þÈ
^’ýP¿fe&XÅŸ}ø¾o|0ʉ~ðãún½Ú«GïÖÛïÿüý·ªår˜}¾¡‚}áPüú>!yFçLÓTå^d¿ÛÖwŸÿé‹ì7‡Ýýç?|÷…¹ý÷ˆƒ,Ëþ%ƒ9ÿúoÏ>‡îSþ÷úq»¾Ënîoï6ÛõÙ3H.ô3ÞÙR»a]“ý‹ìQõ‹¯Tçþñúv³wýêãrs{½:¬–ùæë¿ýåeÈ
øí·ÿùáÿúúa ~Yþå¯ß
þý;–º‘,{\ïŸî×’¡ÙþánµûÕ~s·Þ²ß¬¾0$ªí6ªŽûW›íµê¯aÓ‹oîMÿ>(89cœå@3®¯½ÈÀŠýùúÍQu+ßíV·…Xi|ãï°ª¿*|úÂï­‚Ó_ÛN¾oIm??ÂÒ°¦ê¹„\«À¤Ž~ö¬ö´åîau³9(é9§•œ1&n^¡_«’»wëã
sz#‹W~o5ªP]Ý´K]cÝm³Ïž<þÓþã¾Ö+,B.eòÈã

which i don’t understand either!!


somebody_else

somebody_else adjusted his/her AFDB on Monday 11 May 2009 13:31 to write:

>> (http://rapidshare.com/files/231640885/bootchart.svgz.html)
>>
>> i really do not understand it,
>
> my downloaded copy of that file is pages of this:
>
> ôàìëo¿ÿA¿oùŗ׺RºroúÔLšŠÆ
> Ì?U©Ã£¬p¯^‡þz·:¬?‡`‘!òÅ•ycºY¾ÿ¸?¬ï³ÍV—\ÊþñYÑ<·u7Fëû«—
OÛÕ½zÖl¶O2”³ñÁ%ÈáòaµÎ~
> ³ï¿û£ac ð+þÈ
> ^’ýP¿fe&XÅŸ}ø¾o|
0ʉ~ðãún½Ú«GïÖÛïÿüý·ªår˜}¾¡‚}áPüú>!yFçLÓTå^d¿ÛÖwŸÿé‹ì7‡Ýýç?|÷…
¹ý÷ˆƒ,Ëþ%ƒ9ÿúoÏ>‡îSþ÷úq»¾Ënîoï6ÛõÙ3H.ô3ÞÙR»a]“ý‹ìQõ‹¯Tçþñúv³wýêãrs{½:¬–
ùæë¿ýåeÈ
> øí·ÿùáÿúúa ~Yþå¯ß
> þý;–º‘,
{\ïŸî×’¡ÙþánµûÕ~s·Þ²ß¬¾0$ªí6ªŽûW›íµê¯aÓ‹oîMÿ>(89cœå@3®¯½ÈÀ
> ŠýùúÍQu+ßíV·…Xi|ãï°ª¿*|úÂï­‚Ó_ÛN¾oIm??ÂÒ°¦ê¹„\«À¤Ž~ö¬ö
´åîau³9(é9§•œ1&n^¡_«’»wëã
> sz#‹W~o5ªP]Ý´K]cÝm³Ïž<þÓþã¾Ö+,B.eòÈã
>
> which i don’t understand either!!
>

you need to have an svgz reader installed to view that in all its glory :slight_smile:

I used firefox to d/load and it automagically chose eye of gnome to display.

I knew I had some gnome stuff installed for somethings.

:slight_smile:

HTH


Mark

Nullus in verba
Nil illigitimi carborundum

sorry for late, i was not at home these days.

well i got a USB/Network installation, so the external disk was a 1 GB usb pen drive that allowed me to boot…

the other change was a windows recovery partition tht i converted in Suse Recovery partition (from ntfs 2 ext3) after installation

here /etc/fstab:

/dev/disk/by-id/ata-WDC_WD1600BEVT-22ZCT0_WD-WXE808J2J391-part5 swap                 swap       defaults              0 0
/dev/disk/by-id/ata-WDC_WD1600BEVT-22ZCT0_WD-WXE808J2J391-part6 /                    ext3       acl,user_xattr        1 1
/dev/disk/by-id/ata-WDC_WD1600BEVT-22ZCT0_WD-WXE808J2J391-part7 /home                ext3       acl,user_xattr        1 2
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
tmpfs      /tmp                    tmpfs        defaults      0 0
tmpfs      /var/tmp                tmpfs        defaults      0 0
tmpfs      /var/spool/postfix      tmpfs        defaults      0 0
/dev/disk/by-id/ata-WDC_WD1600BEVT-22ZCT0_WD-WXE808J2J391-part1 /recovery            ext3       user,noauto,acl       0 0

> --------------------
> usbfs /proc/bus/usb usbfs noauto 0 0
>
> --------------------

i GUESS if you carefully make a back up copy of your current
/etc/fstab (just in case) and then delete the single line above, your
machine [on the next boot] will not spend ten seconds WAITING for the
now non-extant usb pen drive to show up…

don’t get fancy and make more than that one change…

and, let us know how that goes…


somebody_else

> and, let us know how that goes…

so, how did it go???


somebody_else

Another good question would be - how can we view .svgz files under KDE4?

Seems a bit odd that KDE4 uses svgz icons, and Dolphin can show a preview of the image, but nothing can open it! :sarcastic:.

the problem was SAMBA Oo

i deleted it (i’m no more in a windows domain), and i got my ten seconds back!

> i deleted it (i’m no more in a windows domain), and i got my ten
> seconds back!

heh, i wouldn’t wanna wait 10 seconds to join a window domain either!

aren’t you glad you didn’t “fix” the boot.msg ‘problem’…

unfortunately, in openSUSE/Linux/and every OS i’ve used–the apparent
problem is not always the actual problem…and, “fixing” the apparent
problem almost always lead to very real other problems which
complicate finding and fixing the original REAL problem…

i’ve found that often, the best FIRST step to repair a problem i have
is to NOT touch the keyboard . . . for a while.


somebody_else

growbag wrote:
> Another good question would be - how can we view .svgz files under KDE4?
>

it might be a good question…but NOT added on to the bottom of
another thread with nothing to do with the question, at all…

> Seems a bit odd that KDE4 uses svgz icons, and Dolphin can show a
> preview of the image, but nothing can open it! :sarcastic:.

to me it seems a bit odd that you have not tried to open it with
Inkscape…


somebody_else

Yes it was maybe a little off topic, but to read the bloke’s graph one has to be able to view .svgz files. And it’s not odd that I didn’t try to open it with Inkscape because I searched extensively in yast for svgz and got absolutely no suggestions on which prog to install sadly.

I guess my psychic brainwave pre-empting instantlyknowalltheanswerstoeveryoffthewallquestion helmet is malfunctioning again! Bugger, better get it serviced immediately!

But thanks for informing me (in a lovinly sarcastic may too) that I need Inkscape. Well done that man :D.

I uncompressed it with gzip and viewed the .svg file with gqview.