On Tue, 2006-22-08 at 19:47 -0400, Zhao, Joe wrote: > Hi, > > I got the following exception on my target system running linux kernel 2.4.18. Does anybody know what is the cause of the exception. The target is running NPe405h CPU. > > Thanks. > > Joe Hey Joe, Looks like the ASSERT you're seeing is on this line in the pristine kernel: (it doesn't look exactly the same because buffer_uptodate is a preprocessor macro) http://lxr.linux.no/source/fs/jbd/transaction.c?v=2.4.18#L730 By 2.4.28 it was changed to: http://lxr.linux.no/source/fs/jbd/transaction.c?v=2.4.28#L744 The easiest way to find the cause is to download the kernels in between the two versions and see when it changed. Then check the ChangeLog for that version and you might find the reason why it was changed. Rob > > > ======================================== > > # Assertion failure in do_get_write_access() at transaction.c:731: "(((jh2bh(jh))->b_state & (1UL < > < BH_Uptodate)) != 0)" > Oops: Exception in kernel mode, sig: 4 > NIP: C006C6E0 XER: 00000000 LR: C006C6E0 SP: CB063D10 REGS: cb063c50 TRAP: 0700 Tainted: P > MSR: 00009030 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11 > TASK = cb062000[8141] 'snmpd' Last syscall: 5 > last math 00000000 last altivec 00000000 > PLB0: bear= 0x0001200a acr= 0x00000000 besr= 0x00000000 > PLB0 to OPB: bear= 0x00000000 besr0= 0x00000000 besr1= 0x00000000 > > GPR00: C006C6E0 CB063D10 CB062000 00000021 00001030 00000001 00000006 C0180000 > GPR08: C0180000 C01C0000 00000000 CB063C20 44002448 100CAE20 00000000 00000000 > GPR16: 00000000 0FFEF994 0FFECFEC CFBE9848 CFE90400 00000001 00008000 00000000 > GPR24: 00000000 CE5C6BA0 CFBC8660 CE58C860 C3E29A30 C0150000 00000000 24008442 > Call backtrace: > C006C6E0 C006CBCC C00611E8 C0066D00 C00440AC C00446A8 C0035EC4 > C00362A4 C0002948 0FFD64A4 0FD92E80 0FD93100 0FD8A70C 0FD8C30C > 0FD886B0 0FD884E8 0F3C1D20 0F3A8170 10027E40 10020230 10020660 > 1002E404 10034F60 1002C834 10021410 1002A438 0FFD0570 0F664498 > _______________________________________________ > Linux mailing list > Linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca > http://www.oclug.on.ca/mailman/listinfo/linux > >