[Crash-utility] help debug number of CPU detect failure

Dave Anderson anderson at redhat.com
Thu Mar 5 20:58:17 UTC 2020



----- Original Message -----

> > Is there method to know or print kaslr & phy_base in a running Linux
> > system?
> 
> Got it.
> 
> crash> p vmcoreinfo_data+1600
> $12 = (unsigned char *) 0xffff90ff7cdc3640
> "poison)=22\nNUMBER(PG_head_mask)=32768\nNUMBER(PAGE_BUDDY_MAPCOUNT_VALUE)=-128\nNUMBER(HUGETLB_PAGE_DTOR)=2\nNUMBER(phys_base)=-499122176\nSYMBOL(init_top_pgt)=ffffffffa200a000\nSYMBOL(node_data)=ffffffffa225d780\nLENGTH(node_data)=1024\nKERNELOFFSET=1fc00000\nNUMB"...

Right -- that's easier than my first suggestion.  And on more recent kernels,
the VMCOREINFO data has also been added to /proc/kcore, so you could also
get it by entering "help -D".

Dave




More information about the Crash-utility mailing list