> > Hello anil, > > But what should be the max val i can > > assign to LOG_BUF_LEN? I am using RH9 on Pentium 4 > > machine. > > Whatever. You will get at most LOG_BUF_LEN bytes out > of dmesg, so it > must be larege enough that the messages you are > interested in fit in. It > is a static buffer that eats up your memory, so it > should be reasonably > small not to eat up too much of it. size can be anything but it shld be in power of 2 but keep the things in mind as explained by Mr. Jan Hudec ---Anil > Note: distro and cpu are irrelevant here -- memory > and kernel version > are relevant (kernel from RH package is different > than kernel from > kernel.org). > > ------------------------------------------------------------------------------- > Jan 'Bulb' Hudec <bulb@xxxxxx> > > ATTACHMENT part 2 application/pgp-signature name=signature.asc __________________________________ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. http://info.mail.yahoo.com/mail_250 -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/