2009/3/27 nidhi mittal <nidhimittal19@xxxxxxxxx>: > > hi all > normally when i inmod my module -- if some error is there it appears on > console and i guess the source of error. > > but this time what i have found is ..all error messages -- just scroll up > and what i see is last screen > from which i am unable to make any guess where i am making mistake... > > and i had to reboot and after that there is nothing left of that error in > dmesg > > Is there any way i can store these messages ---o/p of dmesg -- just after > insmod in some file -- > i tried that too by simple dmesg > tt > but nothing works > pl tell me what to do > -- > Thanks & Regards > Nidhi Hi, Nidhi, In Fedora Core 9 I have a copy of the dmesg log from the previous session in /var/log. The file name is "dmesg.old". I think that there's some kind of default behaviour for most distros to have the last log saved as *.old file. -- Denis -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ