Linus Says No To Annoying Boot Messages
Pants Ripper writes: "In a victory for all Linux users, Linus Torvalds declared jihad
on annoying 'informational' kernel boot messages. I'm sure we'll all miss the inspirational 'spewtron driver 0.09 installed (C)2000 by Wardwick Extrusion' messages in our dmesgs." I've always thought those messages looked pretty interestingly verbose, but people want pretty boot-ups. And this Linus guy seems to know a lot about this "Lee-nuks," too.
To be honest, the need for all those messages is useless anyway. Like the gent said, you need to go though your logs to see them anyway. They go by way too fast. If they really was useful, they'd stick an alert after you logged on, saying "Hey! Something goofed! - Check your logs"
:)
If we need pretty logon screens, I hope (and probably will be vindicated) that we have a) JPG login screens, instead of that bloated BMP format, and b) we can change them *easly* instead of having to change registers, or other dangerious things so MS can have their ugly face on every computer.
Hey, who wouldn't want a hot burnette in a skimpy bikini (or a muscular stud in a g-string) saying "Welcome back " when they reboot after 2 years?
Way to go, Linus!!!
Okay, it's obvious that the Great Ship Linux is going down. Between VA's decision to *ahem* get out of the hardware business and all the IPOs tanking, it's time to expand the paradigm. Why not keep the boot messages, and sell ads?
For instance, instead of getting messages in your inbox about mortgage, it would display while the kernel boots up! We could also make it fsck each time, to increase the impact of the display.
Also, with SVGA mode, we could have graphics.
And therefore make money off of the only profitable internet business--porn.
Each time you connect to the internet, Linux could unobtrusively download a new set of ads for various services and websites. It's about the only way Redhat and VA are going to stick around.
Those aren't kernel messages, those are init messages. Linus has no (direct :) control over those.
WWJD? JWRTFM!!!
If the suggestion was to make the statements display only display if in a special verbose booting mode, that might be reasonable. Killing all messages, always, that's just dumb.
--
The whole "real men grok the code" idea is just arrogant and stupid. If your goal is to hack on the kernel, then yes you need to understand it deeply. However, if you just want to figure out why your linux 2.4.5 machine just panic'd after loopback mounting an iso image, then all you really need is a kernel debugger and some basic software engineering skills.
--
There's no way to put a large amount of text on screen atomically, thus if you have code with a bug that's getting called repeatedly you have a choice of:
I stand by my assertion that linux makes kernel debugging unneccessarily difficult, asserting the arrogant notion that only total kernel hackers know how to find or fix bugs.
--
Quite a neat hack, considering that the bytes used to hold this state were appropriated from the end of the space normally used to hold the application name once the system boots.
On Mac OS X, where there are no extensions, the only visible messages are a single-line caption in the middle of the boot screen that flicks through a couple of high-level tasks ("Starting AppleTalk", etc).
-dair
If you read all the way to the bottom, he talks about removing the "good status" messages as well. This means if a driver loads fine it won't show up in the boot sequence. Some people were expressing concern that they might leave old cruft in their kernel (drivers for hardware they don't have, and pseudodrivers that aren't useful anymore) and not notice it. Some drivers report if they can't find the piece of hardware they're looking for, but I belive some are silent other than the informational messages (version foo copyright so and so messages).
Down that path lies madness. On the other hand, the road to hell is paved with melting snowballs.
I read the internet for the articles.
FreeBSD has an option (although it is disabled by default.) to display a boot screen (similar to windows). IIRC, the boot screen can be dumped for the regular boot message by a flag to the loader, or by simply pressing escape during the boot (unless your error is: atkbd0: Error failed to initalize keyboard...
Really, what Linus seems to be annoyed at here are the excessivly verbose messages that some drivers like to print out (like I need to see the algorigthm benchmark each time I boot) that might drown out an important message by scrolling it off of the screen before you see it (although it should still be available through dmesg, just like the FreeBSD boot messages are still are even when you have the "graphical" boot.). The Linux boot sequence is getting a bit heavy on the pointless informational messages these days, so a bit of a pruning won't hurt too much.
Down that path lies madness. On the other hand, the road to hell is paved with melting snowballs.
I read the internet for the articles.
Attention, We-Want-Linux-On-The-Desktop crowd: Support this and help out, it is a big step in the right direction. To a consumer, diagnostic messages are confusing and pointless. Admit that Apple did something right, for once (interpret that as you will): the Mac OS, up to and including X, will never show cryptic messages or break out of the GUI unless you give it a direct order to do so (launch Terminal or Console, hold down key sequences during boot) or a fatal error occurs. This is a good thing, it makes the experience seamless and friendly. Remember that consumers don't care about what drivers got loaded when (and isn't improving the drivers themselves a much more important goal than improving the error messages?) and similar arcane knowledge of the computer's internals, and saying "learn it anyway because it's good for you" will not win you any friends or customers.
Whadayathink 'cat /proc/interrupts' is there for?
There are two ways a driver could "fail". One is to try to do something and fail, the other is to never get called in the first place because the kernel didn't recognize that the hardware was of the appropriate type for that driver to be called. It would be handy to tell the difference between the two. Today you can because today if the driver is being called you will get either a good or a bad message, but you know you will get *something*. If you see no message, then you know it didn't even *try* the driver in the first place, and that helps you figure out the exact type of error you are dealing with (probably a driver that's older than the hardware, so it doesn't recognize its ID string.)
Don't label something "offtopic" unless you know the topic well enough to tell what's on topic.
Read all the way to the bottom. He also rants about not wanting "yup, I worked" messages to show up either. I agree about the copyright and version numbers, but NOT about pruning the "it worked" messages. Take them out and now "This driver worked just fine" looks exactly the same as "The kernel never loaded this driver in the first place." When you are trying to figure out why some piece of hardware doesn't seem to be working, that is a relevant difference.
Don't label something "offtopic" unless you know the topic well enough to tell what's on topic.
I agree with getting rid of ads and versions, but NOT with getting rid of good status messages. The difference between a driver being silent because it isn't even being loaded in the first place and a driver being silent because it was working okay is a HUGE difference. It's something I want to know when I'm trying to figure out why I can't get my new WidgetMasterProBlaster device to work.
Don't label something "offtopic" unless you know the topic well enough to tell what's on topic.
Why not just use /sbin/lsmod to see which drivers are loaded?
If you do that and see that a driver is not loaded, can you tell the difference between that driver not being loaded because it failed at start-up (didn't see the right hardware), vs that driver not being loaded because the attempt was never made to do so?
Don't label something "offtopic" unless you know the topic well enough to tell what's on topic.
That's all Linus wants to remove from the boot messages, and I hope he gains support on this, because I want to use my computer, not read the full credits for the kernel 5 times a day.
:-)
Are you a kernel developer? If so, perhaps it would make more sense to just include some option to shut the messages off but leave them on by default. I don't mind people's names being credited on the modules and bits of code of the kernel they worked on when it loads. They're certainly not getting rich writing kernel code so they might as well get some fame out of it. Besides, like I said, unless you're a kernel developer, why are you rebooting 5 times a day?? This isn't Windows95.
What if you can't boot to a working system? Thank God NetBSD would desplay interrupt and Ethernet MAC ID, because it would crash hard soon after and that was the info I needed to make things work.
Rev. Dr. Xenophon Fenderson, the Carbon(d)ated, KSC, DEATH, SubGenius, mhm21x16
I'm proud of my Northern Tibetian Heritage
Why would we want to get rid of them? I have never been annoyed by them. Please, make it configurable! I like to see what's going on whilst my machine is booting: it reminds me what modules I have forgotten to remove when I change me hardware; it let's me see what is having problems if boot-up takes a long time. I hate the way Windows boots... when it sits there for 60 secs with no hard drive activity, I would really like to know what is going on and whether there is something I can do to fix it (e.g. when searching for a non-existent DHCP server). Otherwise it's just time-consuming trial and error.
No he wasn't talking about removing usefull stuff. Specifically, he's talking about removing anything not usefull. All the driver version and "written by Joe Shmoe 2001" messages. Also the "blah.c driver loaded OK" are being considered for removal because, really, they serve no purpose. Error messages and actually usefull status updates (like the ide driver spitting out the device ids of the drives attached) will be left in. And for all those of you who really value the ego boost of having your name in the kernel boot, he also specifically said to leave this stuff in module load outputs. Just get it out of compiled in drivers.
I think what would be nicer is if everything used a common way of presenting information. Each driver that gets an IRQ or something has a different wording for telling you which one it has, and some drivers' messages sound like they might indicate errors even when the situation is pretty normal and supported.
I'd much rather see a list of:
driverx.c Driver for X on IRQ n DMA m
drivery.c Driver for Y device not detected
so you could see, at a glance, what stuff is in your kernel, what is actually active, and how it autoconfigured itself. Currently, you have to look through the messages for the one that applies to a misbehaving device, and then sometimes look at the driver source to figure out what the message means.
I forget what the boot screen looks like. :)- ---------
---------------------------------------------
Torvalds is just doing everybody a favor.
He's only getting rid of annoying messages, i.e., non-informational crap.
He's not getting rid of all boot messages.
that's why.
Pah! Out-pedanted -- how embarassing :-) Substitute "driver_name" with the name of the
driver for your particular SCSI card. In my case,
that's "aic7xxx". Note that if your SCSI driver
is compiled as a module, you won't see it unless
the module is loaded -- but then you wouldn't have
seen it at boot time either...
"The invisible and the non-existent look very much alike." -- Delos B. McKown
initrd is your friend -- this is the technique most of the main distributions use for dealing with SCSI install disks. However, if you're compiling your own kernel, then there's no point in having modular SCSI for an all-SCSI system. You might as well just compile it straight in.
"The invisible and the non-existent look very much alike." -- Delos B. McKown
In my case, that gives:
Now tell me again exactly why you need the version printed at boot time?
"The invisible and the non-existent look very much alike." -- Delos B. McKown
Well, Linus is wrong.
Error messages only occur when there's an errror.
What if there's no error, what if it just HANGS on boot?
How the hell are you supposed to diagnose a hang if you can't see what's running?
--
Andrew Oakley - www.aoakley.com
No, it tells you that Windows installs every frickin protocol under the sun when you pop in a new network card, and it just sitting there waiting for a nonexistent DCHP server.
--
Andrew Oakley - www.aoakley.com
Actually, he is. One of the big quandries about the graphical boot project was how to display all of those various informational messages. Some drivers' licenses (particularly non-Free ones, for example, for certain graphics cards) require that the message be displayed.
Imagine that you're the one writing the graphical boot. How do you decide which messages to display and which to skip? If Linus had his way, and no unimportant messages are printed, then the task would be much easier.
Dewey, what part of this looks like authorities should be involved?
--
Care about electronic freedom? Consider donating to the EFF!
I personally have done a little kernel programming, and that is the only time I paid any attention to these messages. Every other boot ends up with me just looking at the screen with glazed over eyes, not a single message registering. When things go wrong, those messages are invaluable, but if the kernel can't get it's debugging messsages on the screen during a catastrophe, there's not much chance that dmesg would help anyway.
I've always thought those messages looked pretty interestingly verbose... The more I think about that sentence, the more my head hurts.
Yes, I'm still a junky. Are you still a bitch?
There are two problems here - first, fluff like copyright information is being printk'd at too high an importance level, and second, the minimum level for display defaults to KERN_DEBUG (lowest level). The changes being proposed are that fluff should be printk'd at a lower importance level and the minimum level for display should be higher by default. That would not stop you from specifying a lower minimum level to dmesg (which currently also defaults to KERN_DEBUG) and seeing messages which were suppressed from display at boot time.
Dynamic allocation isn't necessarily safe in all the places printk() can be (is) used.
... what happens if the printk() happens to be reporting something due to VM exhaustion? ....from within the VM subsystem?
There are some points in the kernel at which you just cannot touch the parts of the VM subsystem that would be necessary to dynamically allocate memory. It's not a design flaw; it's just a constraint of the way locking and reentrancy have to be handled.
With a lot of work, you could probably create a dynamically allocating printk(), but you'd have to introduce a tremendous amount of additional locking just to support printk(), which would kill performance, and would mean that printk() couldn't be used in many places that it is now (certain interrupt handlers where the locking overhead would be too much).
Also, an obvious one
The static printk() buffer is a necessary design decision.
DNA just wants to be free...
Can't let a small bit of reading get in the way of being a loser, can we?
Sigh. Don't know why I bother anymore. Oh, I do know why I bother -- I'm bored. Yawn.
As a longtime UNIX admin who's used many UNIX systems, I think this is a good thing. I don't mind text printing on startup, but Linux prints so much ABSOLUTE USELESS CRAP to screen.
90% of them are ego-boosting messages by the authors of each chunk of the kernel. These are in particular what Linus seems to have an issue with.
I don't think boot messages should be completely gotten rid of, but they should be put on a rigorous diet. Let's look at the way other Unices do it. FreeBSD, for example, prints stuff, but it's terse and professional looking. Same with Solaris.
On Linux, the messages scroll so damn fast, especially on a speedy modern system, that you can't even read them. That's bad, folks. I can't even tell if the kernel is printing any error messages, because the credits messages scroll it so quick.
Yes, I don't mind a kernel component telling me it's there and the hardware's functional, but don't be so verbose about it!
On some DOS machines you will get the memory count displayed by the BIOS, then only a few more lines of text before the C:\> prompt. That means you can start using the machine while still on the first screenful of text since it was switched on. I think that's cute.
On Linux you can usually Shift-PageUp to scroll all the way back to the beginning of time, but it's not the same.
BTW - drivers that are likely to crash must print something, so you know what crashed. Although in a production system you wouldn't expect anything to just hang the machine at boot time, so the suggestion of a special 'verbose mode' for kernel troubleshooting is a good one.
-- Ed Avis ed@membled.com
You don't lose useful information, only useless information. "success" type status messages will be removed
I'm sorry, but it's kind of useful to have the system print an inventory as it finds it. So for example, the fact that it finds a harddisk is something that is highly useful. The fact that it found 512Mb memory is useful.
Now, I agree with Linus that I don't need to know that every kernel since 4 years ago runs with "net-3".
My diskless workstations sometimes don't boot. The "found an RTL8139" message is then ESSENTIAL to determine wether or not I forgot to include the network card again.
The "found hda" message is useful when you're debugging a non-booting Linux system. Stuff like that. But again: Linus is right when he says that plain version information is not very useful.
Sometimes the messages can be condensed:
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:DMA
hda: QUANTUM FIREBALLlct10 15, ATA DISK drive
hdd: CD-ROM 40X/AKU, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 29336832 sectors (15020 MB) w/418KiB Cache, CHS=1826/255/63, UDMA(33)
Partition check:
hda: hda1 hda2 hda3
How about:
PIIX4 rev 1 at 00/39(14/15): DMA/pio/pio/DMA
hda [hda1 hda2 hda3]: QUANTUM FIREBALLlct10 15: 15020 MB, w/418KiB Cache UDMA(33)
just two lines with all the relevant info.
Roger.
are you ? It would explain so many things. What I find most annoying is the folks who can't read past a typo. If we are talking about a serious grammar error that alters the context I can see some uproar, but I'll bet there are more grammar gestapo posts that hot grits posts. You take your choice at which is a bigger TROLL....
errr....umm...*whooosh* *whoosh* Is this thing on ?
and the messages are more likely to be of use. I like the idea of using a -v parm to get any info beyond a silent load. These things should load quietly and quickly unless the admin wants further info.
errr....umm...*whooosh* *whoosh* Is this thing on ?
I'd like to see NEW services and devices etc, but after they are running nicely I'd just as soon they fade in the background and not take up screen time unless an ERROR is generated. As a development system builder I never know what specs the developers will want.
errr....umm...*whooosh* *whoosh* Is this thing on ?
IIRC, doesn't Mandrake-Linux already have an answerf or this request? The Madrake 8 I have on my laptop at home had a 'pretty' boot screen that tells you what 'section' it's on, but other than that it's just a picture/corporate propoganda display.
Why do verbose boot messages matter when you don't even see them?
Hilary Rosen's speech was about her love of money and her desire to roll around naked in a pile of money.
I'm sorry, Citizen, you are not authorized to view the modem status.
I could tell you if your memory is bad, but then I'd have to kill you. Trust the Computer. The Computer is your friend.
...
Erm... Isn't this what we're trying to get away from by moving to Linux? :-)
Teach your kids: "C++ made baby Jesus cry."
Ok, so does anyone have a utility to turn the boot log file into a real pretty image to load as a background for graphical logins?
Color highlights and folded into 4 vertical strips would be nice.
I think Version numbers, and other informational data should be kept in. Too much information is better than no information.
Much simpler for the code to just do the printing itself. (Simpler is often, but not always, better. I'm not sure whether it is in this case or not.)
By your arguement, we should be calling Digital Unix, Irix, Solaris, and a host of other rock-solid variants of Unix "poor and brittle," because they don't "run" on as many architectures.
And it's a funny thing, but I don't seem to remember any informative messages from Linux telling me why I couldn't bind an IP to my 3com (3c589d) pcmcia ethernet card. The solution to that problem was found not through "transparency and diagnosibility" but through a win2k cd.
linux_logo also displays BogoMips!
signal, noise, to me it's all the same.
Those non-informational messages do contain information -- in their negative space. Sometimes things fail silently. There are no error messages. If you are expecting a success message, however, and don't recieve one, then the lack of a message indicates failure
On the other hand, some of the messages are useless. When my sound card driver loads, it outputs three lines:
es1371: found chip, vendor id 0x1274 device id 0x1371 revision 0x08
es1371: found es1371 rev 8 at io 0x1080 irq 11
es1371: features: joystick 0xx
That much information is overkill (and unneeded). Go ahead and throw out the results of profiling code. Go ahead and ditch the ReiserFS built in ad. Go ahead and throw out the copyright notices. But please keep the sucess messages - they are just as important as failure ones.
What? Bear is driving car? How can that be?!
Really off topic, but did you signature came from Clerks the animated series? LOL, that is one of the funniest lines on there. :)
Thank you for using your +1 bonus on that drivel. I appreciate you wasting my time; after all, I browse at +2 so I can see stupid, pointless comments like yours.
Heh...I love having +1 just for that reason.
Hah-hah!
C-X C-S
They are getting gradually whacked - see here. The big question is how he's avoided the 2-minute repost wait. Maybe by posting them all absolutely simultaneously?
Caution: contents may be quarrelsome and meticulous!
Your right to not believe: Americans United for Separation of Church and
uhh, thats an easy one:
/boot/config-
why would you even need to ask?
Paying taxes to buy civilization is like paying a hooker to buy love.
Not particularly useful when your console is a real tty, not to mention that modern boxes are so fast that you wouldn't see much like that anyway, so there's no point to print it in the first place.
You ought to pass that book on to the MS Access developers. Does this sound familiar?
"You are about to modify 0 records. This action cannot be undone."
The Outlook people could use some help, too:
"This graphic does not do anything. For Help on an option, click tho question mark [?], and then click the option."
--
--
"Outlook not so good." That magic 8-ball knows everything! I'll ask about Exchange Server next.
Why don't we have different levels of information for each category? Then I could get info-level messages about failures, and only warning-level messages about credits. And also I'd like to customize these messages for each category: for example, I only want warning-level messages about failures in the filesystem category. And perhaps I'd like only critical-level messages about successes in the boot-message-printing category, to prevent me from getting a notification about a successful notification (thus crashing at boot because some poor driver wanted to tell me that its programmers have big egos). Or alternatively the kernel would be smart enough to check the boot-message-printing options (configured through LILO perhaps? there's lots of unused space in my MBR) to make sure that it won't get stuck in a successful-message loop. Maybe for ease of maintenance we could get ESR to write this in Python, and then compile a small Python interpreter into the portion of the kernel code that gets loaded first...
Yes, this all sounds very good, Mr. Gates. True innovation. We'll implement it at once, sir.
--
Gates' Law: Every 18 months, the speed of software halves.
Out the outset, let me say that I agree that kernel advertising/credits messages hide useful information and make the system unnecessarily confusing to less experienced users. I am glad to see Linus taking aim at them, as it really takes someone very respected in the development world to attack something that has so much ego attached to it.
That said, I would like to still have a verbose mode that includes these messages so that someone who knows what they are doing can verify that a given facility is being initialized at boot. The simplest way to achive this would be to change DEFAULT_MESSAGE_LOGLEVEL in linux/kernel/printk.c, from 7 (KERN_DEBUG) to 6 (KERN_INFO), thereby filtering out KERN_INFO messages. Maintainers who feel that some of these messages really should be printed by default could submit patches to change them to the previously ill-defined KERN_NOTICE (5) level and try to convince Linus to apply them.
It is also trivial for individual Linux distributions and sysadmins to modify this policy by booting with the "debug" argument (sets console_loglevel to 10) or to modify this in a boot script by writing to /proc/sys/kernel/printk as documented in linux/Documentation/sysctl/kernel.txt. A "loglevel=n" kernel boot argument would also be a helpful feature for the future and would be trivial to add.
You make me believe whole-heartedly in censorship.
It doesn't mean much now, it's built for the future.
Yep, That entire end sequence made me fall off the couch!
It doesn't mean much now, it's built for the future.
>('cept to add new hardware of course.)
Bah. Like a marksman who fires his gun between hearbeats, I just listen for the 60-cycle hum and slam my PCI cards in during the trough between signal peaks. Unfortunately my teeth are starting to blacken from gnawing on live IDE ribbon cables, so I may have to reconsider my hardware techniques.
[owen@localhost owen]$ cat /proc/scsi/driver_name/0
/proc/scsi/driver_name/0: No such file or directory
cat:
that's why.
I guess I get the idiot literalist award for today. thanks :) Also it's tough to load the scsi driver as a module when all my disks are scsi -- circular logic leads to kernel panics
hey now, I needed to downgrade from the "new" delete-all-your-data adaptec scsi driver (6.x.x) to the "old" doesn't-delete-all-your-data driver (5.x.x), and I knew I had done it properly when I saw the correct version number. leave that in!
This way, there would be several modes, selected by kernel parameters in the lilo.conf file or LILO prompt.
Meldroc, Waster of Electrons
"Unnecessary messages are pure evil."
- Everett N. McKay, page 367
Developing User Interfaces for Microsoft Windows
(c) Copyright 1999
What's your damage, Heather?
Red hat is doing fine...
ReadThe ReflectionEngine, a cyberpunk style n
CONFIG_SUPPRESS_VERBOSE_INIT
????
Then RH and the rest can choose that (and lpp) in their default kernels. The rest of us can let 'er rip.
I always wanted more messages. That way when rebooting, I looked extra '1ee7. The only thing more frightening to the employees is when they see a kernel compile running. Or a BSOD (a true NT type one with all of that debugger information or whatever it is. Not the wimpy Win9x one)
Jesus was all right but his disciples were thick and ordinary. -John Lennon
So, he's just talking about copyright notices and that sort of garbage. He's actually keeping the good stuff in. So, this makes sense. Must be a slow newsday, what with no Micro-Soft FUD to report.
Jesus was all right but his disciples were thick and ordinary. -John Lennon
Relying on dmesg to configure a kernel (like the person you replied to) is kinda like relying on the author/editor blurb at the top of a Slashdot story to give an accurate impression of the news (like the person you replied to).
Jesus was all right but his disciples were thick and ordinary. -John Lennon
If you bother to read Linus's message, you'll note that this will not eliminate messages scrolling by on bootup. This will simply eliminate the display of suplimentary information that isn't crucial to the booting process.
For instance, you will no longer see:
Random Device Driver: Initialized
Random Device Driver version 1.23 (c)1999 John Doe
You will simply see:
Random Device Driver: Initialized
The other stuff is available elsewhere, and just adds to the clutter. Simple == beautiful.
Thats one thing that sorta anoyed me about ReiserFS kernel module. I don't use SuSE and hate mp3.com so I simply went in and changed the output message to something amusing.
Great thing about open source, if you don't like the messages.. change em!
--------------------
Would you like a Python based alternative to PHP/ASP/JSP?
So, in other words, Linus is proposing an ABM (Annoying Boot Message) treaty?
Linus specifically said that the important kind of messages are the ones that are displayed when something isn't working properly,
/var/log/messages and I happen to notice that you're running the 2yr old ReiserFS code with the security hole, I'll tell you and you will be happy. But because there isn't a problem, ReiserFS doesn't ever say anything and you get cracked.
You see, the problem is that software often doesn't KNOW when something isn't working properly. The software cannot know unless the developer either:
1)predicts every possible failure case or,
2)checks the inputs at every function call (which will slow your 1000GHz Fitztanium to 8086 speeds)
Version numbers are also important. If you show me your
Bootup messages are a very important standard that has become an invaluable troubleshooting tool. Even know that something DOES work is good information when troubleshooting. Linus should leave it alone. If I don't wanna see "ReiserFS is brought to you by MP3.com", I'll either modify it (I do have the source), or I'll use IBM's JFS.
Aah, change is good. -- Rafiki
Yeah, but it ain't easy. -- Simba
Now, I know this isn't a (hugely) likey possibility, but there has been more than one occasion when I've needed to know what was in a remote box, and checking dmesg remotely was MUCH faster than physically going to the box.
It's just an example of a good reason to keep the information available somewhere (/proc isn't very good for this, because it tells you what's happening now, but it won't tell you what happened while the machine was booting.)
For all the Windows flames that get thrown around here, I think MS hit the nail on the head with the Windows 9x series. (Well, boot screens that is...) The Windows 9x series had the best of both worlds: A pretty picture (animated even!) that was shown while the system was booting, but if you wanted to see DOS messages, just hit escape and you're greeted with the standard DOS bootup.
/CRASHDEBUG option. It's not particularly pretty, but serves kind of the same purpose. It's just not available with an escape key. You can't set the option (easily) if you can't boot the system, so what's the point?
I think Linux should do the same thing - leave the bootup messages, debug messages, and whatever else there, but cover it up with a penguin sitting in a speedboat. For 95% of the time that I don't care what happens as long as the thing boots, I'll see my happy Tux, but for the other 5% of the time, I can just hit escape to see all the messages I've grown to know and lov^H^H^Hhate.
Windows 2000 doesn't offer this functionality. Yes, yes, I know about Windows 2000's
"Of course that's just my opinion, I could be wrong." - Dennis Miller
LOAD "SIG",8,1
LOADING...
READY.
RUN
What actually would even be more interesting, is if there'd be a possibility to set the loglevel during compile time (so you don't get very large kernels) or on the commandline (for maximum flexibility) so one can choose between levels like DEBUG, INFO, WARNING and ERROR or something like that. Then everybody would be happy.
0x or or snor perron?!
Except, I hope, for those of us in California, who should be turning our home computers off daily to save power... (unless of course running a server at home).
When Linus starts thinking about changing boot messages, that must mean the rest of the kernel is perfect 8)
No, he just spawned a new thread.
- Scott
--
Scott Stevenson
WildTofu
Scott Stevenson
Tree House Ideas
I would just really really like to avoid being forced into a non-verbose display. By default your bootup sequence should have full verbosity turned on
:)
Perhaps yours should.
Assuming you want your OS to become mainstream, you better start letting go of these things that make it decidely ugly and confusing. By default, it should display general high-level information ("starting networking") and provide errors only. Most people don't need to know the filesystem was mounted as read/write.
People aren't going to change for Unix. Unix will have to change for people (as Mac OS X demonstrates).
- Scott
--
Scott Stevenson
WildTofu
Scott Stevenson
Tree House Ideas
I'd agree with you if MS hadn't put in a handler for the escape key since Win95. Want all those annoying messages? Hit escape on boot. Don't want splash screen to ever appear? Delete the splash screen image.
Don't get your panties in a bunch over nothing. Even NT/2K has a way of watching the boot process. I'd just as soon that distributions shipped with the Linux Progress Page patch. If "real geeks" want to see the messages, since they are recompiling the kernel anyway (right? right!?!), they can just choose not to have the flashy screen.
Isn't choice wonderful?
The new user doesn't understand the messages going by. The new user doesn't care about the messages going by. The new user wants to check their email, browse the web, and write their reports. I think it's quite appropriate that the default should be sans informational messages. The technical user is more adept at changing the option, so leave it to the more adept user to change the option.
- I don't need to go outside, my CRT tan'll do me just fine.
Then patch /usr/src/linux/init/main.c with:
/etc/lilo.conf All messages are still accessible by dmesg and you can boot with "debug" if you want to.
;->
if (!strcmp(line,"silent")) {
console_loglevel = 1;
continue;
}
Just below the "quiet" option...
Remember to add the "silent" option in
Silencing about 50 bazillion init scripts is left as an excercise for the reader
Red to red, black to black. Switch it on, but stand well back.
Depends on the kernel you're running. You'll need one of these packages:
/usr/src/linux/configs/:
/usr/src/linux/configs/
(RedHat 6.x) kernel-headers-2.2.19-6.2.1
(RedHat 7.0) kernel-source-2.2.19-7.0.1
(RedHat 7.x) kernel-source-2.4.3-12
Look in
[tryanc@dialup ~]$ rpm -q kernel-headers
kernel-headers-2.2.19-6.2.1
[tryanc@dialup ~]$ ls
kernel-2.2.19-i386-BOOT.config
kernel-2.2.19-i586.config
kernel-2.2.19-i386-smp.config
kernel-2.2.19-i686-enterprise.config
kernel-2.2.19-i386.config
kernel-2.2.19-i686-smp.config
kernel-2.2.19-i586-smp.config
kernel-2.2.19-i686.config
[tryanc@dialup ~]$
Now, on topic: I like the boot messages. It gives some history and culture regarding Linux. If someone wants to make them optional, I don't have a problem with it, but for all my servers I plan to keep them enabled, so I can spot problems in the boot as they happen (drive not being detected, etc.). The only time we reboot the Linux machines at my company (about 20 desktops, and about 25 servers) is when there's a problem, and the messages help in debugging (not just what doesn't work, but also what does).
-Ryan
Have you ever built a Linux kernel? There is exactly one, quite non-mythical, ".config" file involved, located in /usr/src/linux/.config
I don't think they would take away the SYSV init messages, or the debian startup messges (whatever thats called).
Those are totally separate from the kernel messages that are spewed.
Juln
LOL. I didn't know you were joking at first. If only I had some mod points.
--
Patrick Doyle
I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
Far be it for me to disagree with Linus, but version numbers don't take up much space, and they often make debugging instantaneous. ("Oh, you only have version 4.5.6. Obviously that's not going to work.")
--
Patrick Doyle
I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
We need the messages printed at boot time to be classified. You can have success messages, failure messages, credits, etc. Then you could configure the system to display the kinds of messages you want to see.
I don't know much about the innards of the kernel, but I suspect something like this already exists. Could it be used for boot messages? Perhaps it could be extended?
--
Patrick Doyle
I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
I shite you not: Staying late one night at work with my boss, I rebooted, watched the messages and began calling some out before they printed.
Boss knew I was about to lose it and gave me the rest of the week off. (yes, this was on a friday night, but time off is time off:)
dash dash space newline
jpg
-jpeg
Either that, or a simple script which will open up as many connections as possible,send the data, and then each of those connections does a near simultaneous hit of the 'submit' button (or rather, the equivalent of doing so). Simple trick, doesn't require a lot of bandwidth, and would probably get past the race condition that's been found and is being more than slightly abused.
GPL made simple: What was my stuff is now our stuff. If you improve our stuff, please keep it our stuff.
Linus is quoted in the article stating that he wants to get rid of all the successful loading messages as well. I think this is a very unwise idea. Recently when debugging a hang during boot, I was easily able to track it down by looking at what the last thing was that successfully initialised, and what the next boot message *should* have been. That message didn't appear, so I was able to deduce that that driver was probing something that was hanging my machine.
Sure, get rid of all the fluff that the drivers print out, but I believe that a lot of this information is important, even if it is verbose.
Having too much information is far better than not
having any. You can always throw away information thats not relevant. You can't just "make up" information.
Linus wasn't suggesting removing "it worked" messages, just shunting them to the log files.
Perhaps a happy middle ground would be to have a verbosity flag in the config process.
Linus also wants "good status" messages taken out.
ie) If it's not broken don't tell me about it.
I don't give a fuck what the boot screen says.
Now, since this story says 124 of 357 posts at threshhold 1, I'm going to see what I'm missing out on...
No, by deafult my grandmother's OS should not be verbose, because I set hers up right, she should only see a progress bar by default, with a verbose option. She doesn't do anything hardware related or hacking. As long as Word and AOL runs, the avergae user is happy.
I read the article.
And I think removing versions and "good status" messages is just plain stupid. When I boot up, I
WANT to know what is running, and that everything is "just swell". What is the problem,
anyway? BOO HOO! BOO HOO! "I cannot deal with all those confusing boot messages. BOO HOO!"
And how many times do you reboot, anyway? Once a week? Twice a year? Every day? Whatever the
interval, a few pages of messages aren't going to hurt anyone. What if you have a problem and now
NEED the messages from last week? On many systems, that will still be in the message logs.
There are a lot of ways to get information, but the message logs are often the most convenient.
I don't see why someone would be so upset about a few K of storage or a few extra kprintf calls.
A dingo ate my sig...
The boot messages are annoying and obscure actual errors.
You state that as if it were an objective fact. Actually it is your opinion. My opinion is otherwise.
The discussion is about NOT DISPLAYING THE USELESS ONES during booting.
Useless is also a matter of opinion. And the messages do not add any appreciable delay. I have
seen kernel messages go by at hundreds per second on occasion. Mere dozens of "useless" messages won't make any difference in boot time.
I read the article. I was paying attention.
A dingo ate my sig...
My analysis isn't that Linus is killing dmesg, but rather he is responding to advertisements and junk clogging up needed boot and debugging messages. I agree with this. Have you seen what an AOpen motherboard boot screen looks like? On some models there is a right frame with all sorts of advertisements for all sorts of products. That is insane.
Linus isn't killing boot information but rather not placing everything from URLs to copyright information in the same place where you find out if your networking interfaces are functioning properly.
Linus specifically said that the important kind of messages are the ones that are displayed when something isn't working properly, so no more whining that you think those messages are going to disappear, okay?
Moreso, some people seem to be under the delusion that the linked Slashdot article with the "pretty bootup" is related to what Linus said. No. Linux isn't saying anything at all about a graphical boot, and that graphical boot system is still hugely experimental anyway.
--
Win dain a lotica, en vai tu ri silota
Personally I don't use Linux anymore so I don't really care, but I think it's a dumb move on Linus' part and here's why. Suppose you've just been hired as a sys admin in a company and have to recompile kernels across a couple dozen perhaps hundreds of Linux based servers... Suppose that company was crappy via way of having things documented.
It's so easy to just do a dmesg and see exactly what's being used in order to recompile the kernel, as well as determine should something be replaced, or removed to make things better for the network. Anyways it's his dictatorship... err... OS, however it'll just makes things a bit more difficult for some
Want Root?
I hope this will go towards clearing the bootup logs so that they only show useful debugging info, not towards establishing some sort of "pretty boot" as default. At the very least I hope it will leave me with a choice. If I wanted my computer to show pretty pictures when it boots, I would have bought a Macintosh or something.
I've always felt since day 1 of using Linux that about half of the kernel output was ego-stroking, and very little useful information. It made the whole thing feel less like a unified project and more like a haphazard collection of little bits and pieces.
I hope the opportunity will also be taken to give everything a more unified look, a la commercial UNIX and *BSD kernels; it will certainly make finding what you're looking for in the dmesg much easier rather than having to sift through rabble.
Dude, you just made my day by making me laugh real hard.
Thanks. I appreaciate the humor.
apart from talking common sense as usual, our dear Linus doesn't do justice to the grand master Tolkien. so sad...:
I guess Linus should grab his old copy of The Hobbit or LOTR and read in it a little again. It's always worth it! Would take his mind off nasty kernel-flamewars...
;-)
cheers,
Roland
os7, and i think 6(not sure though) did the exact same thing with icons.
-- free as in swatantryam - not soujanyam.
I agree that the messages that don't add to debugging shouldn't be there in the first place, but I really don't want to see the "OK" messages disappear.
If I get neither an OK or a FAILED message, then I know that the thingy isn't even attempting to load.
Give me my freedom, and I'll take care of my own security, thank you.
All too often I'll boot an experimental kernel only to have it die on bootup -- no error message, no warning, but the last message will be, for example, "SCSI: ncr53c8xx version 0.3" -> then I know about where it died, and it gives me a good idea of what to take out of the kernel to try to get it to boot. And you can learn a *ton* of stuff about exactly what is being initialized in what order... Linus said something like "not to notify the user of every single driver loading" -- but that's *exactly* what I want! It's _my_ damn processor, and I better know what it's doing. Grr.
--TheOrangeSquid Is it any wonder things seem so awry? We swim in a sea of confusion and don't have to think to survive
I find that if I disable everything experimental except for my system's drivers -- the machine doesn't boot. If I had a choice over what hardware I was using, I could pick something with a more developed driver, but until the day I'm rich enough to buy reliable and tested components... Believe me, I spend plenty of time making sure I'm not loading extraneous drivers nor anything I haven't tested before (except for new hardware or "improved" drivers which it seems more often than not need to be patched to work); however, I consistently run into problems with the firewall drivers... They don't compile as modules, which means I have to recompile, install, reboot, test, recompile, install, reboot, test, ...
:)
They seem to have fixed a lot of the firewall problems in 2.4, but some 2.2.x kernels were headaches under which to get running ipchains properly.
And, by the way, I don't need to call in a contractor. I'm very careful about what I do and a decent observer, and I've never found a problem I couldn't fix.
I wouldn't have money to pay a contractor anyway
Yes, I always RTFM.
(I guess my hardware's drivers really *are* that experimental.)
--TheOrangeSquid Is it any wonder things seem so awry? We swim in a sea of confusion and don't have to think to survive
Don't get me wrong.. but what's so hard about hitting the ESC key?
(me thinks you have to do it twice to see all the drivers load)
09 F9 11 02 9D 74 E3 5B - D8 41 56 C5 63 56 88 C0 45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
I believe Mandrake 8.0 has just that.
Hmmm, sort of changes the meaning of 'boot image' doesn't it? :-)
Config file - you mean .config? Tell me, when I do a stock installation of Red Hat Linux, where is the .config file that represents my system?
--
Lord Nimon
And the men who hold high places must be the ones who start
To mold a new reality... closer to the heart
Let me reword my question. If I install Linux (whichever distribution) and then go to /usr/src/linux and type in "make", will the resulting vmlinux (or vmlinuz) be identical to the kernel that I'm running right now? I don't think so. It will be different. My network adapter probably won't be recognized because it's not the "default".
--
Lord Nimon
And the men who hold high places must be the ones who start
To mold a new reality... closer to the heart
We are not talking about servers, we are talking about DESKTOPS. They are turned off and on frequently. The boot messages are annoying and obscure actual errors.
An noone said to REMOVE THE MESSAGES. The discussion is about NOT DISPLAYING THE USELESS ONES during booting.
If you read the article, you weren't paying attention.
Hello little man. I will destroy you!
Sure I could go digging around in proc and eventually turn that crap up, but it's usually much easier to grep dmesg or watch the kernel bootup. You might be able to squeeze everything that's needed into one line, but you still need some message during bootup.
I'm trying to teach myself to set people on fire with my mind... Is it hot in here?
Exactly!
Some time ago I've written a small perl script that can parse the NetBSD dmesg (of all architectures! - well, I tried it on 10) and create a device tree from it. Try that with linux!
BTW: Here's an example (actually this is the shortest dmesg of all my machines):
NetBSD 1.5W (XXX) #36: Sat Jun 9 22:48:54 MEST 2001
XXX@XXX:/usr/src/sys/arch/vax/compile/XXX
VAXstation 3100/m{30,40}
cpu: KA41/42
cpu: Enabling primary cache, secondary cache
total memory = 8076 KB
avail memory = 5732 KB
using 126 buffers containing 504 KB of memory
mainbus0 (root)
vsbus0 at mainbus0
vsbus0: interrupt mask 8
le0 at vsbus0 csr 0x200e0000 vec 120 ipl 14 maskbit 5 buf 0x254000-0x263fff
le0: address 08:00:2b:16:d8:1c
le0: 32 receive buffers, 8 transmit buffers
dz0 at vsbus0 csr 0x200a0000 vec 304 ipl 14 maskbit 6
dz0: 4 lines
boot device: le0
root on le0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 10.0.0.1
nfs_boot: my_name=XXX
nfs_boot: my_domain=XXX
nfs_boot: my_addr=10.0.0.10
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=10.0.0.1
root on XXX:/XXX/XXX
root file system type: nfs
parsed you get a tree like this:
+root
|VAXstation 3100/m{30,40}
+cpu
|KA41/42
|Enabling primary cache, secondary cache
+ram
|8076 KB
+mainbus0
+vsbus0
|interrupt mask 8
+le0 csr 0x200e0000 vec 120 ipl 14 maskbit 5 buf 0x254000-0x263fff
|address 08:00:2b:16:d8:1c
|32 receive buffers, 8 transmit buffers
+dz0 csr 0x200a0000 vec 304 ipl 14 maskbit 6
|4 lines
Useful or not, I want to see them. Heck, I like to watch disks defrag. Window boots are torture; the visual equivalent of hold music. You mean I'm supposed to sit quietly for a full 60 seconds with nothing to do? Besides, they're impressive. Especially if you throw in a few lines like echo 'Plutonium containment field initialization failure' in your boot scripts. The more the better, I say.
I mean, I start up my computer once a day. I know, I know, it's a lot. And yet somehow I manage to cope with the daily trauma of my computer displaying messages as it boots. In fact, some days, I barely even notice them!
Does anyone else get this, or am I unusually Zen?
Relying on dmesg output to decide what to configure a kernel with is error prone and SLOW. any decent admin would have the config file handy.
Naturally, this means that a dmesg output doesn't give you any idea of what a system is running, but we have other better ways of displaying that through for example the proc interface.
I know someone is going to put a hit out on me for saying this, but why not do what Win95/98 do. Put up a picture of something and if the user wants to see diagnostic messages, they just hit a key...
I think you missed the word "hang".
Copyrights, Patents, Trademarks: temporary loans from the Public Domain, not real property ("intellectual" or otherwise)
However I'm still not clear whether Linus wants to squelch all 'happy messages' or only author attributions. If it's the latter, I don't care.
But how am I going to know how many bogomips my processor is? ;-)
Of course, if rather than printing to the screen if the drivers would drop a file to (say) /proc/drivers/((device)) so that you could ls -l /proc/drivers to see what's compiled in your kernel, or cat /proc/drivers/((device)) for all of the startup info, version info, shoutouts, etc - that would ROCK.
Shayne
Today I didn't even have to use my AK; I got to say it was a good day -- Icecube
I disagree with this. I have used the Linux boot process to identify an unknown system that a friend wanted Windows installed on, so that I'd know which Windows drivers to look for! I find one of the best ways to take hardware inventory of an unknown computer is to attempt to boot Linux on it. Even if the boot is unsuccessful, the console messages tell a lot about the hardware and what's in there!
I sincerely hope the drivers aren't edited down to prevent this logging. All of the text should be available to read with dmesg. What I hope is that a compromise can be reached: default to a pretty-boot process, but have a way for the knowledgeable user to still see the console (perhaps by pressing the ESC key).
Or, use the priority system of printk to prioritize each message, and have an optional boot parameter that would control how many messages get printed. It could be something like bootverbosity=8, given on the boot command line. This already exists, look at the argument to klogd -c!
Doing a kernel-wide purge of all informational messages is just the Wrong Thing, as these messages will then be lost and there will be no way to print them when they are needed to solve problems!
Super eurobeat from Avex and Konami unite in your DANCE!
Dr. Demento On The 'Net!
um the way i read this is that linus doesn't want our dmesg full of crap about the maintainer's email address and other gobbledy gook that just doesn't matter. all i want to see on boot up is
keyboard.......ok
mouse..........ok
modem..........hosed---->read such and such to fix problem.
monitor........doing better than the modem apparently
-
There seems to be some agreement that personal names, copyrights, etc. are harmful. The opinions here seem to be divided on the usefulness of successfull messages "Driver Foo loaded OK and detected 2 Foo cards at oxF00 and oxBAR". Those messages annoy some, and are very useful for some. So, why not add a boot parameter, a key, or something, to make them visible when needed. When not needed, they could be kept away from confusing the poor users...
In Murphy We Turst
Well.. It isn't as detailed as it is in linux, but if you hit Esc as the windows start up screen is displayed you are kicked out to a screen where it shows certain drivers (CD..) being loaded. I think if that Linux ever wants to become mainstream (insert grandpartent example here) they need to hide the stuff that would scare the average computer user. This is probably a step in the right direction as long as the info can still be seen in logs, or via escaping the startup screen.
The linux community is always complaining that they have the better OS and they are poised to claim their throne by toppling Microsoft in the OS market.
I'm not sure I believe this at all, but if Linux hopes to get any sort of userbase they are going to need to make things much simpler.
I'm not saying that this is a earth shattering development, but I am saying that it is a step in the right direction!
As a sys admin, I have to agree with the greater sentiment posted so far that I want my boot messages. I don't care about seeing a pretty graphic of Tux dancing while my computer boots. But for a long time, the debate has been raging over what it's gonna take to get Linux on the desktop. It's about time we realize that obscure text messages scare the common user. I'm sure the logs will still be there, but why scare the bejeezus out of a guy if you don't have too. This is only one more step in making linux seem a Little less elite to the geek community.
Perhaps what should be done(and may actually be the case, I really don't know) is that this could be set with a boot parameter. And the distro when you install it could ask you which you would prefer and adjust lilo accordingly. If a normal user with a graphic boot was having trouble, the tech guy could always pass the boot parameter for verbose messaging to disable the graphic boot.
No fair! I've been trying to pick up kudos by pointing out that the society I'm in is mentioned in the startup sequence of a world famous OS (even if the credit should have really gone to Alan Cox). I just hope the department gets round to changing the prospectuses in time...
Still, as I pointed out in another post, I doubt the University itself nor its (excellently rated) Computer department had that much to do with it. Alan Cox really should have got the credit and now Linus has seen to it that I can't even grab false fame by association. Oh well.
Is something fishy going on... : )
Oh, wait, that was an annoying message on /.
"History doesn't repeat itself, but it does rhyme." Mark Twain
The BIOS boot screen tells you things like what CPU, how much memory you're running. If you really want to know what irq your soundcard is using, then you can do it after boot. That's what I just don't understand. Sure, great you can see what your machine is running, and your hardware settings. But.. No News is Good News. Ie, if when I boot up, the soundcard isn't found.. THEN tell me something is wrong. Otherwise I'll assume it's found and would really rather not have my hand held at every step of the way, thanks all the same. Is Linux really so flaky that it's so necessary to say that things ARE working rather than aren't? I don't have a problem with the messages being ugly/looking technical etc. I do have a problem with their relevance.
To each their own; I guess I don't have the correct Linux mindset and should stick with real Unix.
--
Never try to teach a pig to sing. It wastes your time and annoys the pig.
Why should Linux be dumbed down for the 'my foot pedal isn't working'/'The internet is broken' crowd? I'll have my boot messages, thank you.
This
In fact, there's much to be said for presenting messages as openable trees, rather than text streams. I came across this in an application from Eastern Europe written by someone who was very good, but did everything their own way. The message file was a tree, and you could open up messages and see submessages. This is way ahead of using "grep" on text files.
Judging from the comments it appears a lot of people are inturpreting this as "Linus thinks we should have a pretty graphical start up with displays no information at all", this isn't so.
If you read the email linked to by the artical it is suggesting the zapping of information that does not need to be displayed at startup such as what version of an obsure driver you are using.
Linus made no mention of the pretty bootups, they are a seperate an only indirectly related item.
Otherwise I won't get to gloat that my BOGO MIPS is higher than yours.
Did you actually read the post? (did I even need to ask that question?) Linus says that his name, in the one place it shows up in this log, was placed there by someone else, and it could be changed to any name for all he cared.
---
They that quote Benjamin Franklin on liberty and safety deserve neither.
I think you missed the point - Linus is saying the boot process shouldn't look like a movie with the credits at the start. He is telling developers that the users don't need to be told the version and authors of every module each time they boot. I agree.
---
They that quote Benjamin Franklin on liberty and safety deserve neither.
I think the link to the other slashdot story, the one everyone follows first, is confusing everyone. This is not about removing useful information from the boot process!! Linus was just saying that we don't need to be told the version and authors of every module and driver every time we start our computers. AFAIK, he is for useful messages at boot time, he just doesn't want the boot process to look like a movie with the credits at the start.
And for all you people who want this to be optional - if it is done (and I hope it is), it will be fully optional. If you're one of the 0.0000000001% of people who actually need to know this, you can always find the version information and credits for any driver. That's all Linus wants to remove from the boot messages, and I hope he gains support on this, because I want to use my computer, not read the full credits for the kernel 5 times a day.
note: I do not currently use linux, but I plan to install the Mandrake Powerpack I recently bought as soon as I get my new computer running. This may cause a few innacuracies in my post, but I belive that I know enough (and I do have some linux experience) to correct the mistaken ideas too many people seem to have gotten from this story
---
They that quote Benjamin Franklin on liberty and safety deserve neither.
This isn't about the same thing as the slashdot story linked from it. This is about not telling you you're using HardwareDriver 1.34.135 by Abjkl Magdinadf. That is exactly the kind of thing we don't need - if I want to know the name of the person who wrote my drivers, i'll find the information myself. I don't need to be told every time I start my computer. This is optional - the messages like this should be removed from the boot process, and if you want to know you can just get the version information.
---
They that quote Benjamin Franklin on liberty and safety deserve neither.
This is also only refering to the the kernel startup. That goes by so fast that you couldn't read it if you wanted to (at least it does on all my machines). If your distro alerts you of daemon startup statues, as I know Red Hat and Suse do, that won't be affected. Since 99% of the time, that is the data you really want/need at startup, (and even if you needed the kernel startup data, you'd have to search the logs, 'cause you can't read it at start up) I think reducing the Kernel dialog to the screen is a good thing.
I don't need a million points of light, just two points of multi-mode fiber and a 10 Gig-E router.
if I want to know the name of the person who wrote my drivers
Sounds like Linus wants only his name on the system...
--
To me this does NOT sound like an ego-maniac wanting his name and only his name all over the system.
I know, I just like provoking people who subscribe to that idiotic cult of personality. Actually I always assumed he called it linux to rhyme with minix.
--
Please read the article folks. It doesn't take long. The only messages that will not be displayed during boot are those that don't deal with how the system is running, etc. That means no version numbers, no author names, etc, etc.
...So let's simply disallow versions, author information, and "good status" messages, ok? For stuff that is useful for debugging (but that the driver doesn't _know_ is needed), use KERN_DEBUG, so that it doesn't actually end up printed on the screen normally.
--
I just junked the graphical boot screen on NetMax because I don't like the idea of things grinding away under a pretty (or ugly) graphic. Even if I don't like the text, at least I can see what the system is doing....or what it's stuck on. If we're going to go graphical, then we need to be able to hit a key, change a config or use a LILO option to boot textually. But I think what Linus is saying is that we should be seeing boot messages that mean something, not ads for someone or chest-pounding geek speak designed to echo how much tech talk we can slap together. If you want to tell me something, tell me. Don't show me a picture nor read me the spec sheet.
I don't remember Windows having anything over a crummy VESA 8-bit display for boot-up.
I'm all for graphical-stunningness in the bootup. I can handle dancing penguins as long as there's a little corner of the screen where there are boot messages scrolling up in a obfuscationally pleasant manner. That or if (infinitely niftier) there was a graphical representation of the boot process displayed [e.g. an fsck where little sectors were displayed on a disk and little red portions appeared where problems were found].
Anyhow, all I'm saying is that, though there is plenty of evidence to the contrary, shifting into a more graphical computer interface is not necissarily a bad thing.
-- nath
Isn't one of the driving factors behind contributing to Open Source software getting mad propz? Maybe a better idea would be a pretty bitmap (ala lilo on RH 7.x) and you can hit esc to see the full output?
even removing the "useless" stuff like "driver (female) loaded successfully" can be helpful...i mean, what if the next message is "driver (male) failed: seat full (IRQ 11)"? without the previous message, all we know is *something* is using IRQ 11. even if the first driver didn't specify what IRQ it was using (as in my example) we know its one of the drivers before driver(male) and not after. When you load lots and lots of drivers, this can be a big help! Insert witty comment here.
according to the ads on /. it probally can make coffee. (the ads speak of OSX being the best java platform)
Qua
Besides, who wants to see that stupid self-promoting "Kernel panic" message, anyway...all it does it hold up the boot process. Sometimes indefinitely!
"Sweet creeping zombie Jesus!"
"Sweet creeping zombie Jesus!"
-The Professor, Futurama
That's the whole point, all of the information in here is useless because more precise/the same information can be found elsewhere. Things like errors will obviously be left in. What we have now is a just a rolling of credits for linux developers, basically. Other OS's don't do this, even commercial UNIX, because if you don't know how to find this information the right way, you shouldn't be using it!
I know, I know people will go on about that last statement, "We need wider acceptance. Linux needs to be easier to use...", blah! I've been doing private consulting for linux based networks, and let me tell you I've seen some VERY FUCKED NETWORKS that were caused by linux distro's that were too easy to use! This is the whole reason that the tech economy is busting, you have all this easy to use, "automated" software. So nobody spends anytime on design and understanding what really goes on under the hood and in result make crappy setups. So in conclusion, keep the bullshit out of my bootup messages, make me learn where to find it the right way, and make everything harder. Because in the end it's going to make my life, as somebody that actually takes the time designing, writing requirements and documentation, a hell of a lot easier!
All too often I'll boot an experimental kernel only to have it die on bootup -- no error message, no warning, but the last message will be, for example, "SCSI: ncr53c8xx version 0.3" -> then I know about where it died, and it gives me a good idea of what to take out of the kernel to try to get it to boot.
When I build a new kernel, I usually spend about 20 minutes going thru every single option. Making sure my modules.conf is correct and all my settings are right. Then... I got thru them all again to make sure I didn't miss something. I rarely if ever have a problem that leaves my system unbootable, most of the time it works the first time. If you use whether your system boots or not as an indicator of whether your kernel is built correctly you deserve what you get. You sound exactly like one of admins I replace as a contractor, so rock on buddy, thanks for the cash.
mmm hmm. and you -1. Just plain weird.
This way, the message is only on the screen for the duration of the time the installation is running. If it hangs, you have a mea culpa sitting there. If it doesn't hang, but the next thing does, the whizzomatic is absolved.
When I first started using linux all I saw during the boot process was this failed failed failed... But seeing OK, GOOD OR PASSED is like a daily affirmation, 'I am learning this stuff', or 'at least I haven't fscked up my machine that badly yet.'
Does this also mean that they are killing it when you close down your machine too? It's cool to know what is taking so long to shut down your machine, unlike Windoze's descriptive message: 'Windows is now shutting down.'
The worst vice is advice...
"It takes many nails to build a crib, but one screw to fill it."
windows 95 mode. show nothing, log it too boottxt.log if pressed F5 on startup.
2. Concise mode:
Dos 6.0 mode. show starting up..... (going init level 6)
3. Verbose mode
Geek mode. (like it always was) maybe it should also be possible to confirm every driver that is loaded with Y/N
However if this makes it in linux 2.6(?) i will be missing the slashdot "linux now runs on Risc-Q" see the Boot log here on the /. home page.
When I boot Linux I see a little pic of Tux and a line saying something like "ABCXYZ Bogomips"
According to Linus's definition, this information is useless. It doesn't help me debug anything and isn't necessary for the system. I think it's a cool thing personally, but I can undestand concern that this bootlog space would be used for spamming the Linux using community. And whenI say Linux using community I'm not talking about sysadmins who tweak out their systems to the utmost. You're not users guys, you're not the audience Linux needs to reach.
Steven
-- I have marked myself unwilling to moderate-- I don't have other accounts to artificially inflate the karma of
I like the idea of seeing less. The less junk the more usefull the bootup messages are.
For use in a general user environment with stable hardware and a chosen kernel it doesn't make sense to see the same thing over and over again. At most one would count on using this when installing a new kernel or some new hardware.
Going further on the idea of levels of verbosity however, we really could use a boot option to help with possible diagnostic boots.
And let not forget for the real hardcore computer kids that a nice look adds a great deal to the end-user experience.
Me.
Well I like the boot messages....At least you see what your computer is working on. A lot of modern computers show a bitmap while doing POST (Dell screen, Toshiba screen, Tulip screen, whatever...). I disable it when possible because I like to see my puter check it's memory, giving a report of IRQ usage, PCI bus stuff, SCSI finding the drives, etc...
I just like to be informed...That's all...
Ahhh...the great dumpster continuum. Many a free computer will be found there. -- sowth (748135)
I think Linus is wrong, we should have a lot more messages for the individual drivers cause when more is printed on the screen while booting, the text ist scrolling by faster, and the faster the text is scrolling by, the faster linux seems to be. Just show all that windows lusers how fast Linux is with our ultra-fast Linux bootup ;)
Carol Burnette? Man, I am with you there.
---
---
Slashdot: News For Zealots. Stuff That's Hypocritical.
I will miss thouse messages, without them linux will loose some of its charm for me ;-)
no, linus doesn't want to replace the boot information with clouds, penguins, or anything else. FUD, FUD, FUD.
what he said was: "'Informational' messages aren't informational, they're just annoying, and they hide the _real_ stuff."
The "real" stuff is still there. What should be cut (and right on, Linus!) are "version strings, author information, and "good status" messages".
bleh. go read it.
We who were living are now dying
With a little patience
You reboot to add new hardware? How primitive, you've still not caught up with 1960's technology.
Linux - 40 years out of date and proud of it. :-)
Watch this Heartland Institute video
Some readers are operating under lack of information.
If you see "OK...OK...OK...FAILED...OK" when you boot up or "Pass...Pass...Pass...FAILED..." when you boot up, then you're thinking of the wrong messages. To see the messages Linus is talking about (the endless copyrights and chit-chat of the kernel) type 'dmesg' as root after a fresh boot.
The status messages that give you an OK or a FAILED on a system-by-system basis are (in the most broad sense) init messages rather than kernel messages and are added by your distribution. These will not go away under the "new deal" Linus is proposing...
STOP . AMERICA . NOW
I didn't get that _at_all_ from what Linux said. Given that he first said that there weren't any extranious messages, I think that what he meant was that only those items of a completely non-useful nature would be removed.
What does that mean? I think it means that stuff like:
Jun 6 13:10:04 localhost kernel: hdc: ATAPI 1X CD-ROM drive, 32kB Cache
eth0: PCnet/PCI II 79C970A at 0x1000, 00 50 56 8e 6e 4d assigned IRQ 9.
will stay around. But stuff like:
pcnet32.c:v1.25kf 26.9.1999 tsbogend@alpha.franken.de
which (arguably) provides little information will go away.
I really don't think there's any intent to take away boot messages.
Sean.
Rock Linux uses the Device Filesystem by default.
Got friends?
This is a good point. For some, this may be the reason why they contribute in the first place. It surely isn't for the money...
Sure, pretty boots are nice and all, but I can't imagine what I'd do without my boot logs. It's kind of hard to catch those first few kernel messages as it is, and I'm usually rummaging through my log to see why the hell something is no longer working like it was on the last boot.
did someone say jihad?
That what's being said is that the modules shouldn't be spitting out this information as part of their code, as modprobe could handle that function. It could then be turned on and off as needed. Makes sense to me, why does every kernel module need to have code in it to print out information when the software loading the modules could do it, it would then only be written once, could be configurable. (verbose level = X, or modprobe -v, modprobe -vv, modprobe -vvv, etc.)
If it fails, print out a message "Module X failed to load. Noncritical error, continuing to load linux. Fix me if you dare."
I'm going to go back in my box and will think within the limits of my box: MS Sucks Linux Good I read too much Slashdot.
for newbie users, for sure.
But itll be a Good Thing(tm) to be able to suply a kernel parameter via LILO prompt or loadlin to have the debug messages back, to allow an experienced guru to diagnose the stuff if something goes wrong, specially when the kernel panicks on you during boot.
--
What ? Me, worry ?
Easy. Add the /SOS-switch to the win2k-entry in boot.ini. It then displays the files it loads.
I've come to... anesthetize you!
that i dont keep pressing shift-pageup the whole time to read the bogomips anymore.....
Owh you can do dmesg after a boot ? why would i wanna do that, i wanna spill that useless boot time on something usefull....that is if i reboot...damn why did i buy that NVIDIA card =(
Why? When you can handle a system that prints hundreds of lines of meaningless and wonderfully cryptic information when it boots, you look cool. You are a revered computer guru. If you can handle a system that prints lines like "Loading modem...done" (or say, a pretty loading screen with an animated and uninformative stripe at the bottom just to show that the system hasn't crashed, but I'm digressing) when it loads, you're just someone who can turn on a computer. Big deal. Even I (says the PHB) can do that.
Don't get me wrong here, it's not just an ego thing. It has a direct effect on the average Linux hacker's/admin's salary. If you can handle a system that cryptic, you are indispensable. If you're indispensable, you get paid more.
In fact, I suggest that the kernel should actually print more messages, and make them much more cryptic and weird. Why not use more braces, asterisks, hashes, ampersands and "at" signs (ooh, those "at" signs)? Why not add blinking (and totally meaningless) messages in several different colors (I mean, several different colors within the same message)? Why not add some text-animations depicting obscure internal operations of the kernel?
I'm telling you, if these changes will be inserted in the kernel (and in the distributions - look at the atrocity that is Mandrake 8!), making a living by working with Linux will really start to pay.
Actually, Windows doesn't show the output of ANY Windows drivers that are being loaded - they're just loaded (or fail) without any sort of an indication. The text that you're seeing on the screen is that from a DOS driver (you really shouldn't be loading ASPICD.SYS or MSCDEX.EXE with Windows 95 and higher, that can actually cause more problems then it solves - mind you, if your CD-ROM isn't supported through Windows native drivers, then by all means, go for it). Myself, I like the idea that Windows NT has, where any problems are logged in the Event Viewer (dmesg in Linux), and a message appears when you login (or maybe at bootup) when something went wrong, and it tells you to check the Event Log. -- Joe
its much prettier to see scrolling text (especially in a darker green color on black) then do see something flying...
.kb
Two Wrongs Don't Make A Right-- But They Make Me Feel A Whole Lot Better
When Mac OS X boots up you see a box come up somewhat early in the boot process with a progress bar also labels what is being started as boot progresses ("Welcome To Macintosh", "Tuning System","Starting Network Services","Starting Apache","Starting Sendmail" etc). The progress bar itself looks really nice too, as it has that cool aqua water animation pulsing through it as it moves (cool!)... This to me seems a better mix between "eye candy" and functionality than simply throwing a full screen windows logo or a penguin on the screen.
Of course, you can boot up in "verbose mode" (scrolling text) by holding down command-v or something.
Everyone knows we never have reboot our Linux boxen anyway. ('cept to add new hardware of course.)
'Same speed C but faster'
Winter 2010: With Glowing Hearts
OS/2 could do all this years ago. You had default driver messages printer to the screen at boot time more or less at the delelopers whim but if you needed to you could press alt-F2 (I know its a little obscure) at boot time and it would display the file name of each driver as it loaded so you could quickly work out which driver file was hosing the system and take steps to remedy it. :-)
The point of all this rambling is to suggest that maybe some sort of lilo option for verbosity my be the solution here - the default is a picture of a nice fluffy penguin with a message saying "Loading" (or something) but you can type linux verbose (or something) into lilo to get all the nice driver messages if you need them.
Personally I like the driver messages - it reminds me of OS/2
A crash reduces
Your expensive computer
A crash reduces
Your expensive computer
to a simple stone.
Well, it's a good thing that Linus is calling for a standard way to do it then. If people know "it's expected to be silent on success, bitch loudly on failure," then the drivers will be written that way.
<HYPERBOLE>It's not like 99% of Linux isn't rewritten every day.</HYPERBOLE>
-k.
If somebody who contributed usefull code into to kernel wants to put in a vantity message who cares? If you don't like it look away.
Ok, knowing what version of filesytem you have isn't really required but from my experience seeing what device driver is being loaded is essential.
For example, when I have multiple NICs installed in my box, being able to see what driver is being loaded helps significantly in debugging (particularly if the NICs are different). Knowing that eth1 or eth0 didn't come up isn't particularly useful when for new boxes I don't even know which card is eth0. Watching
eth0: 3Com 3c905B Cyclone 100baseTx at 0x6100, 00:50:da:1e:7e:51, IRQ 12
8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
MII transceiver found at address 24, status 786d.
MII transceiver found at address 0, status 786d.
Enabling bus-master transmits and whole-frame receives.
eth1: RealTek RTL8139 Fast Ethernet at 0x6200, IRQ 9, 00:4e:4f:03:9e:c0
come up makes my day when booting a new router.
Of course these messages may not fall under the banned catagory.
what does some flying windows or clouds tell you exactly??
its like a driving test (uk at least)
"prepare to stop"
When Linus starts thinking about changing boot messages, that must mean the rest of the kernel is perfect 8)
Yes, 90% is absolute crap,
/etc/rc2.d/SXXxxxxx scripts too many times, just to be able to figure out what exactly was hanging my boot process ..
/modules verbosity either a kernel config option (those of us who need this info are usually the ones who built their own kernels anyway) or make it a lilo settable (append="bootup=verbose") option.
but the 10% that isn't is there to help me.
I like version numbers in my bootup, I've more than once solved a bootup problem simply by seeing the version numbers floating by on the screen.
As for Solaris, I've been forced to do a set -x in too many
Ahhh, I see, it's fsck-ing my 420G harddisk, that's why it's sitting there idle for over an hour !!
As someone else has suggested, make kernel
The latter would be great if you have to diagnose a box for which you haven't built a kernel .
I suspect he automated the process of posting from different ip's.
Man I wish i hadnt posted now.....
;-) against that C*** SpanishExtermination (scroll down and you will understand) . He just posted that message 37! times (and yes, i am sad). By the 2-minute repost rule that makes, er..... 74 minutes. The story has been up.... what? 15 minutes.
I could have used those moderator points (i really do have some
any ideas how he does that anyone?
contacting host slashdot.org..... connected
slashdot.org contacted.... waiting for reply
downloading slashdot.org 10.5k/s
document:done
welcome marcus brody
congratulations! you have moderator satatus...
please go forth and moderate
words speak a thousand pictures. so much so, we often take the information they contain for granted.
what does some flying windows or clouds tell you exactly??
well... if they freeze you know your computer has crashed.
Linus: "Let's make it policy that we _never_ print out annoying messages that have no useful purpose for debugging or running the system, ok?"
Dont worry - Linus isnt going all Mac on us! As ever he is making more sense than your average hacker. I know what OS I'm running - and which kernel version, and even what modules im using. but yes some of this information is occasionly useful, and these are the bits that should be left. Maybe then they might not scroll off the screen so fast that we never read them anyhow.
The more I think about it, the more I feel this is a win here; we get a bootlog that's easily eyeball parsed without all the cruft of a driver maker sending out mad props to all the sponsors.
Though what I'd really be interested in seeing one of the big vendors at least experimenting with the DevFS system. It looks like it could clear up confusion and make things drivers/programs easier to write.
If god had intended you to be naked, you would have been born that way.
How on earth will people know how clever I am if my PC doesn't spew pages of abstruse messages when I boot?
<-- You are here.
Hopefully Linux will retain the verbose messages as an option at least, I for one kinda like seeing everything that's going on.
Where's my lobbyist? Right here.
Linux becomes more like Windows and MacOS?
TODO: Something witty here...
... you'll see that Linus is suggesting a change in policy ... ie: printk() isn't being disabled.
Let's make it policy that we _never_ print out annoying messages that have no useful purpose for debugging or running the system, ok?
-bch
Flying Headless Goku - version 0.8 (the other 0.2 would be the head)
thinking of idea
considering approaches
initialization complete, beginning typing
I dont' se e the protlem with verbose messages, you can just ignroe tem if you're not interested in what they say.
spellcheck:
dont': don't dent donut
don't
se: sea see is se.cx
see
e: a
ignroe: ignore
ignore
tem: Tim term team them
them
finished processing!
I don't see the problem with verbose messages, you can just ignore them if you're not interested in what they say.
--
Please don't change those, or atleast make it optional. It always gives me a warm "I'm home"-feeling. And those messages seem 31337 to some Windoze users.
Segmentation fault.
Karma to burn, right?
Reboot macht Frei.
I don't mind the non-pretty cool logo bootup. The idea that I have with my computer systems is that I boot them one in a while. On my BSD box I've only seen the boot messages twice now and I've had that system for almost 4 months now.
The only real time that I'm booting up the systems are when something has gone wrong (power loss in house for instance) and in that case I'd like to see all the boot up messages. I don't really need to see "Network , brought to you by your friends at Coca-Cola" but it's better than seeing a flashy logo and wondering what exactly my computer is doing.
-CuylerWhy is it that people always complain about how they don't like to see linux go in this direction or that but do nothing to stop it? The entire point of Open-Source is the ability to take it and do what you want with it. If you don't like the way it's going, change it.
People act as if they are at the mercy of an all-powerful entity forbidding them to change the system. Basically, what I'm trying to say is quit bitching and remember what open-source is all about: Freedom. People who do no more than bitch about the way linux-or any other O.S. project- are throwing away this freedom and are no better than the alcoholic on welfare bitching about the government.
Well at least it doesn't go TADAA! evry time it performs some basic task.
IMHO it is perfectly acceptable to see who contributed to what on startup. How often do people have to reboot their systems anyway?
It may be obvious to Linus which version of the driver a particular kernel version uses, it isn't obvious to other people. In fact, in the presence of driver patches, there is just no way to tell. The bit of vanity, having people's names print out who put in a lot of effort into writing a driver, seems justifiable to me as well: these people don't get money, the least they can get is a little publicity. Besides, some licenses require copyright information to be printed.
The Linux kernel has lots of serious problems in terms of configurability, usability, and lack of support for crucial standards. The bootup messages are completely harmless, take almost no resources, and are useful to many people. Why fix something that isn't broken? I'm disappointed that such a stupid idea would even get seriously considered.
I suppose that kind of message has some limited usefulness if your boot hangs midway - you can pin down more exactly how far it got before it went kaka. But in general I think we can do without them.
Linus is saying that MS was right in hiding bootup information from the user and masking it with a pretty picture? Why! Windows obviously does this and often times fails to load drivers, or loads useless ones, etc, and the user has no clue why their machine takes 10 minutes to load. Isn't the point of linux to feel like a real geek who doesn't need technical details hidden from them? Maybe not, but I like my verbose kernel boot messages.
Come Discuss this topic @ http://forums.wontstop.com
- Sonnyjz
I am fairly certain that this new setup will be optional. The boot messages are often -very- necessary to discover problems that plague a system, and I'm sure Mr. Torvalds is aware of that. I just hope that it will be a straightforward procedure to re-enabling the messages again, or else some people will be in for problems... The Lone Socialist
The Lone Socialist Master of the lightnings, rider on the storm, wearer of a crown of swords, spinner-out of fate.