Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-25-2010, 01:16 AM   #1
Registered: Apr 2009
Posts: 36

Rep: Reputation: 15
what is dirty kernel version


I downloaded linux and cross compiled for PXA. In this process I also updated the device specific drivers.

I booted my hardware and things are working fine.

But the boot message shows "dirty" next to kernel version. Why it says so?

Before I was using kernel version and I did the same procedure as mentioned above but there is no "dirty".

Can anyone let me know the reason?
Below is part of kernel boot message.

Linux version (newbie@newbierhel4vm) (gcc version 4.0.2) #56 Thu Mar 11 00:11:12 EST 2010
CPU: XScale-PXA255 [69052d06] revision 6 (ARMv5TE), cr=0000397f
Machine: RTS G5
Got g5 info
102168 C 1 3
Memory policy: ECC disabled, Data cache writeback
Memory clock: 99.53MHz (*27)
Run Mode clock: 199.07MHz (*2)
Turbo Mode clock: 199.07MHz (*1.0, inactive)
Msc0: 97787ff8 (f6000008)
Msc1: 23c7f8c (f600000c)
Msc2: 7ff07ff0 (f6000010)
mdcnfg: 1cb, mdrefr: 1802f
cccr: 141
CPLD Version: a02
CPU0: D VIVT undefined 5 cache
CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: root=/dev/mtdblock2 rootfstype=jffs2 console=ttyS1,115200
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 64MB 64MB = 128MB total
Memory: 125568KB available (3708K code, 420K data, 124K init)
SLUB: Genslabs=12, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Mount-cache hash table entries: 512

Old 03-25-2010, 01:31 AM   #2
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551

From what I gather from reading the Git manual at the above link, the -dirty tag means:

A working tree is said to be "dirty" if it contains modifications which have not been
committed to the current branch.
So, to me that means you started with a particular branch of the kernel (or some part of it) and then made some modifications to some code in there, but did not commit those changes to the branch. The result is that the build (or some part of it) is tagged as "dirty".

IF you Google for "dirty kernel tag" you can read some more about this in the LKML mailing list threads.

Old 03-25-2010, 03:22 AM   #3
Registered: Apr 2009
Posts: 36

Original Poster
Rep: Reputation: 15
thanks very much


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding distribution + kernel version + gcc version + glib version. JCipriani Linux - General 8 04-19-2008 02:54 PM
LXer: Master's Student: A Quick and Dirty Guide To Kernel Hardening with GrSecurity LXer Syndicated Linux News 0 12-21-2007 01:51 AM
How to install kernel version 2.4 on existing Kernel version 2.6 sudeepak Linux - Kernel 3 11-29-2007 08:10 AM
DISCUSSION: NNP's Quick and Dirty Linux Kernel Compilation Guide NNP LinuxAnswers Discussion 0 03-09-2006 02:25 PM
Xfree prob radeon.o kernel module version is 1.1.1 but version 1.5.0 or newer needed. jimdaworm Slackware 0 10-01-2003 06:27 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration