I have a server that Kernel Panics every once in a while, and I'm trying to get all of the output in order to debug it further.
It is running RedHat 4, so the kernel version is only 2.6.9, too old for kexec or kdump. Thus, I have a serial cable between servers, running screen
on each server to connect to /dev/ttyS0.
Whenever the problematic server kernel panics, the output is completely garbled. It appears that something else is being written out, and the ascii values are being added (or subtracted?) to come up with some other value. Example follows;
invAlidoperanD: 0000 [1]SMP
odqles liNked in8 nfs nfsd expoppfshocKd nFs_aclArport_pc lp parpopp aupofs0 i0c_dEv i0c_cOre sunppc ds yEnta_soCketpcmCia_corE dm_mipror Dm_mod
qttOn bAptery aCmd5 ipv4 joydetehcI_hC` uhci_Hcd hw_rAndoi bLx2 ext3jbd Ata_piix liBatacciss mptsCsihiptsas Mptspi mptsCsi MptbAse sd_Mod scsi_moD
PId: 6839 cottaInteD 2.6.9-15.smp
RIP: 0010:[]{unmap_hugepAge_ranGe+32}
RSP:0018:00000102067d9c38 EFLAGS: 00210006
AX: 086d344780c22Ef1 RX:0000010001079360 RCX: 086d304780a22ecf
RDX: 086d304780c22ef1 RSI: 0000000000200022DI8 000001018d919068
RBP8 086d344780c2"Ef1 R08:0000000000000000 B09: 00000000fffDfffA
As a result, this information is nearly worthless to me, especially considering addresses and values could be tainted as a result.
I sent 10 paragraphs of Lorem Ipsum sentences into /dev/ttyS0, and it came out exactly as it went in. I've also tried reversing the Serial Cable just out of curiosity, nothing seems to have changed.
I'm at a loss for what else I could do, both to diagnose the kernel panic's, and to clean up the output so that we can ensure we're looking at correct information.
0 Answers