Sungju's Slow Life

Sungju's Slow Life

Personal journal

  • Home
  • Projects
  • About
  • Jump into vmcore analysis – Step 8

    There’s a time you want to check the local variables or other entries in the stack. Below is an example that was crashed in ‘kmem_freepages’ and needed to check why it’s crashed whiling freeing it. PID: 26 TASK: ffff81027f9197a0 CPU: 0 COMMAND: “events/0” #0 [ffff81027f92fa90] crash_kexec at ffffffff800aaa0c #1 [ffff81027f92fb50] __die at ffffffff8006520f #2 [ffff81027f92fb90] […]

    sungju

    April 23, 2013
    Reverse
    analysis, crash, kernel, vmcore
  • Jump into vmcore analysis – Step 7

    If the vmcore was generated by human and you want to check who actually was, you might need to check the related process. There are various options in ‘ps’ command, so, you would be able to check it with below steps. crash> ps -a 6326 PID: 6326 TASK: ffff810402165820 CPU: 1 COMMAND: “fuser” ARG: fuser […]

    sungju

    April 23, 2013
    Reverse
    analysis, crash, kernel, vmcore
  • Jump into vmcore analysis – Step 6

    The real merit of the vmcore is that you can trace the code with the current value each variable holds. Here you can find one example that traces the filesystem which ended up with the corrupted data entry somehow. http://pagead2.googlesyndication.com/pagead/show_ads.js crash> bt PID: 6326 TASK: ffff810402165820 CPU: 1 COMMAND: “fuser” #0 [ffff8103b54efa80] crash_kexec at ffffffff800b099c […]

    sungju

    April 23, 2013
    Reverse
    analysis, crash, kernel, vmcore
  • Jump into vmcore analysis – Step 5

    With ‘bt’ command you can check the processes that occupied the CPU at the time of crash. But, there is the time you want to check other processes’s backtrace to see what interaction had been established between processes. You can check it by using one of below two methods. crash> set 24960 PID: 24960 COMMAND: […]

    sungju

    April 23, 2013
    Reverse
    analysis, crash, kernel, vmcore
  • Jump into vmcore analysis – Step 4

    There are times the crash had happened because of the lack of memory. Or times that system had hard time because of the memory issue. To check those, you can use below command. crash> kmem -i PAGES TOTAL PERCENTAGE TOTAL MEM 16464824 62.8 GB —- FREE 3807386 14.5 GB 23% of TOTAL MEM USED 12657438 […]

    sungju

    April 23, 2013
    Reverse
    analysis, crash, kernel, vmcore
  • Jump into vmcore analysis – Step 3

    Now we are ready to deep dive into vmcore analysis to confirm what went wrong in the system. In general, first thing I’m checking is the system’s log. crash> log …. …. end_request: I/O error, dev sdajm, sector 0 end_request: I/O error, dev sdajm, sector 8 end_request: I/O error, dev sdajm, sector 0 NMI Watchdog […]

    sungju

    April 23, 2013
    Reverse
    analysis, crash, kernel, vmcore
  • Jump into a vmcore analysis – Step 2

    As I had mentioned in the previous article, you can launch crash analysis by running the below command $ crash vmcore vmlinux The order of the file doesn’t matter as far as the file exist there. But, there’s a time that crash command fails as a vmcore is highly incomplete. In that case, you can […]

    sungju

    April 22, 2013
    Reverse
    analysis, crash, kernel, vmcore
  • Jump into a vmcore analysis – Step 1

    If you have a vmcore needs to be analysed, you should have to download related kernel-debuginfo package unless your kernel does have all the debug information in the live kernel. You might easily check the kernel version of the vmcore by run ‘uname -r’, but safest way would be checking vmcore itself. You can use […]

    sungju

    April 21, 2013
    Reverse
    analysis, crash, kernel, linux, rca
  • Life is all about presentation yourself

    When I had an interview first time, I passed the paper exam with quite good score. The problem was with the interview. One of my weakness I guess is presenting myself to others. When interviewers asked me what is my selling point, I said ‘debugging’!!! I said ‘debugging’ is the best thing I do well […]

    sungju

    April 21, 2013
    Personal
    life
  • Check IP address of a virtual guest

    There’s a time you want to check virtual guest’s IP, but no way to access the machine as you only have text terminal. You can retrieve IP address by using the following script. #!/bin/bash macaddress=`virsh dumpxml $1 | grep “mac address” | awk ‘BEGIN { FS = “=” }; {print $2}’ | sed ‘s//>/ /’` […]

    sungju

    April 2, 2013
    Technology
    guest, network, virsh, Virtualization
  • Build a OpenStack on VMware Fusion 5

    Cloud is a big trend in recent years and it will be bigger and bigger. Even though you want to join in this trend, it’s hard as it requires lots of machines to build and test it. Fortunately, these days virtualisation technique allows us to install virtual guest on top of another virtual quest. So, […]

    sungju

    March 19, 2013
    Labs
    cloud, installation, opensource, openstack, vmware
  • How to use fixed DHCP address on VMware Fusion 4/5

    There’s a time you want to use fixed address even for your NATed VM guest. In the case of VMware, you can achieve this by modifying configuration file in ‘/Library/Preferences/VMware Fusion/vmnet8’. vmnet8 is the virtual interface for NATed guests. You can find what ranges are currently applied for this virtual guests by checking dhcpd.conf. $ […]

    sungju

    March 17, 2013
    Personal
    dhcp, network, static IP, vmware
←Previous Page
1 … 3 4 5 6 7 … 19
Next Page→

Create a website or blog at WordPress.com

  • Follow Following
    • Sungju's Slow Life
    • Already have a WordPress.com account? Log in now.
    • Sungju's Slow Life
    • Edit Site
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar