Kernel spitting out messages during the init process.
Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Kernel spitting out messages during the init process.
Although I figure it must be due with the kernel config I am using, but during the init process (after the kernel loads), the kernel spits out a big load of messages that mixes with the init messages.
This would not be a problem if I knew everything was initialising ok. But there's a bootscript that is fails to load/work, and I can not tell what it is or why it is failing because of all the kernel messages.
I tried passing quiet through the boot options, but that only keeps the kernel quiet until the init process begins.
I am going to try using the .config the lfs livecd uses and recompile the kernel with that to see if that fixes the problem.
I don't see the actual lines you see when booting.
Could you post them somewhere?
Check the logfiles for them, especially kernel.log.
And there is also a command to read kernel logs, but Ican't quite reminder how it's called.
It is also a bit of hassle here, I have been using Ubuntu kernel in distribution and after some of kernel updates, it is spitting those messages during boot, with no reason.
(I used to use usb adsl modem).
But after another (small, same version and revision) kernel update,
problem was not there anymore.
It happened again after several automatic upgrades and fixed itself againg with kernel upgrade with same version.
So It seem to me it is like misconfigured something in build options Or some patches where not done right, few times.
I don't know what all this hassle is about.
You only get a lot of messages and the aren't even errors.
If you want to decrease the amount of messages, you should configure klogd.
That is the logger for kernel messages.
I just do not understand why the kernel is just spamming these messages during the init process.
Respectfully, nope
The thing you pasted in that link happens *before* init goes into scene. That's the kernel booting, init comes *after* that.
If you are bothered by these messages I think that you can remove them by correctly configuring the kernel boot line in your grub/lilo.conf by adding the "quiet" option. The framebuffer configuration might have something to do with this as well, I don't know cause I really don't feel any sympathy for all this candy which is designed to hide everything which is happening behind the scenes and confuse me in the way. However, I understand why some people might find that info useless. Still, it's just info, not errors.
Quote:
Originally Posted by hoes
I don't know what all this hassle is about.
You only get a lot of messages and the aren't even errors.
If you want to decrease the amount of messages, you should configure klogd.
That is the logger for kernel messages.
Hmm, actually, maybe this is the wrong log file after all. Lemme check the logs again.
Code:
Aug 2 04:58:48 Sephnix kernel: usb-storage: device scan complete
Aug 2 04:58:48 Sephnix kernel: isa bounce pool size: 16 pages
Aug 2 04:58:48 Sephnix kernel: usb-storage: device scan complete
Aug 2 04:58:48 Sephnix kernel: scsi 6:0:0:0: Direct-Access Dell USB Mass Storage 200 PQ: 0 ANSI: 0
Aug 2 04:58:48 Sephnix kernel: scsi 7:0:0:0: Direct-Access Apple iPod 1.62 PQ: 0 ANSI: 0
Aug 2 04:58:48 Sephnix kernel: sd 6:0:0:0: [sdb] Attached SCSI removable disk
Aug 2 04:58:48 Sephnix kernel: sd 6:0:0:0: Attached scsi generic sg2 type 0
Aug 2 04:58:48 Sephnix kernel: sd 7:0:0:0: [sdc] 19488471 4096-byte hardware sectors: (79.8 GB/74.3 GiB)
Aug 2 04:58:48 Sephnix kernel: sd 7:0:0:0: [sdc] Write Protect is off
Aug 2 04:58:48 Sephnix kernel: sd 7:0:0:0: [sdc] Mode Sense: 68 00 00 08
Aug 2 04:58:48 Sephnix kernel: sd 7:0:0:0: [sdc] Assuming drive cache: write through
Aug 2 04:58:48 Sephnix kernel: sd 7:0:0:0: [sdc] 19488471 4096-byte hardware sectors: (79.8 GB/74.3 GiB)
Aug 2 04:58:48 Sephnix kernel: sd 7:0:0:0: [sdc] Write Protect is off
Aug 2 04:58:48 Sephnix kernel: sd 7:0:0:0: [sdc] Mode Sense: 68 00 00 08
Aug 2 04:58:48 Sephnix kernel: sd 7:0:0:0: [sdc] Assuming drive cache: write through
Aug 2 04:58:48 Sephnix kernel: sdc: sdc1
Aug 2 04:58:48 Sephnix kernel: sd 7:0:0:0: [sdc] Attached SCSI removable disk
Aug 2 04:58:48 Sephnix kernel: sd 7:0:0:0: Attached scsi generic sg3 type 0
Aug 2 04:58:49 Sephnix kernel: usb-storage: device scan complete
Aug 2 04:58:49 Sephnix kernel: scsi 8:0:0:0: Direct-Access WD 10EACS External 1.75 PQ: 0 ANSI: 4
Aug 2 04:58:49 Sephnix kernel: sd 8:0:0:0: [sdd] 1953525168 512-byte hardware sectors: (1.00 TB/931 GiB)
Aug 2 04:58:49 Sephnix kernel: sd 8:0:0:0: [sdd] Write Protect is off
Aug 2 04:58:49 Sephnix kernel: sd 8:0:0:0: [sdd] Mode Sense: 23 00 00 00
Aug 2 04:58:49 Sephnix kernel: sd 8:0:0:0: [sdd] Assuming drive cache: write through
Aug 2 04:58:49 Sephnix kernel: sd 8:0:0:0: [sdd] 1953525168 512-byte hardware sectors: (1.00 TB/931 GiB)
Aug 2 04:58:49 Sephnix kernel: sd 8:0:0:0: [sdd] Write Protect is off
Aug 2 04:58:49 Sephnix kernel: sd 8:0:0:0: [sdd] Mode Sense: 23 00 00 00
Aug 2 04:58:49 Sephnix kernel: sd 8:0:0:0: [sdd] Assuming drive cache: write through
I believe this is the stuff that gets spit out during init. I believe it has something to do with external storage devices (External Hard Drive, and iPod).
I'd don't presume you have that but you could take a note of the first line you see flashing by during the init and copy from that line onwards from your log files. Just an idea.
But if you can indicate where it gets mixed that would help to pinpoint what is happening
These messages are perfectly normal - as hoes and i92guboj said.
Every piece of hardware in your machine which the kernel has built in support for will be recognized and configured - before init.
These messages are shown - unless you have a boot-time splash screen hiding them from you.
It is less messages now because there are less devices now.
You may be used to a "quiet" bootsplash which often is the default - and now are seeing what is normally shown, but what you did not yet see until your bootsplash somehow disappeared or is configured to not be quiet?
Please, seph64, take some time to read over the posts.
Everyone is saying it is normal you see those messages.
I see similar messages every time I boot.
I could be that this is the first time you see them, because they are normally filtered.
I suggested it could have something to do with klogd and it was also suggested it is because you normally have a bootsplash.
The idea about a bootsplash is that you normally have one configured which makes sure messages are hidden. On a new LFS system no bootsplash is configured and so you see the messages. Hope that makes sense to you.
Please, consider that all these people responding are only trying to help. They are not telling you what the problem is, but what might cause the problem. It is up to you to investigate these cases. Just remember that all these people are only trying to help with their personal experience. If you don't agree with what they are saying, than you can say so and start a discussion about it or ask for a way that you could check whether an assumption is the case or not. People are willing to help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.