kgdb on EM64T

From: Wilkerson, Bryan P (Bryan.P.Wilkerson_at_intel.com)
Date: 08/26/05

  • Next message: Matthew Garrett: "Telling Linux that a SATA device has gone away"
    Date:	Fri, 26 Aug 2005 07:27:47 -0700
    To: "George Anzinger" <george@mvista.com>, "Tom Rini" <trini@kernel.crashing.org>
    
    

    Thanks you Tom and George for the tips on using kgdb with
    2.6.13-rc4-mm1.

    I almost have it working but kgdb seems to have a few issues. I can get
    it running from the dev machine using the kgdb and console=kgdb boot
    options on the test kernel. The kernel waits as it should and when I
    attach with "target remote /dev/ttyS0" and I can continue the boot but
    eventually it gets to a point in the boot where it frees unused kernel
    memory successfully and then a warning, "unable to open an initial
    console", followed by, "Kernel panic - not syncing: Attempted to kill
    init!"

    Removing the console=kgdb boot option and the machine boots all the way
    to run level 5. I tried to break into kgdb at this point using the
            $echo -e "\003" > /dev/ttyS0
    from the dev machine but the test kernel panics at gdb_interrupt+75 when
    it receives anything on the serial port. Hmmm...

    I'm wondering if I'm maybe just the first to try this on EM64T (kernel
    builds in the arch/x86_64 tree).

    Any suggestions welcome.

    -bryan
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Matthew Garrett: "Telling Linux that a SATA device has gone away"

    Relevant Pages

    • Re: HEADS DOWN: MPSAFE TTY layer integrated
      ... After updating userland and the kernel, my machine hung during boot, ... # PROVIDE: serial2 ... Commenting out these stty settings allowed the machine to boot. ...
      (freebsd-current)
    • Re: kgdb: allow static kgdbts boot configuration
      ... This patch adds in the ability to compile the kgdb internal test ... string into the kernel so as to run the tests at boot without changing ... the kernel boot arguments. ...
      (Linux-Kernel)
    • Re: kgdb on EM64T
      ... > I almost have it working but kgdb seems to have a few issues. ... The kernel waits as it should and when I ... > eventually it gets to a point in the boot where it frees unused kernel ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • 2.6.28-rc2: REGRESSION in early boot
      ... I've opened a Kernel Bug to track this regression: ... Essentially, the system panics in early boot, resulting in multiple ... commit d6c88a507ef0b6afdb013cba4e7804ba7324d99a ... # Device Drivers ...
      (Linux-Kernel)
    • Re: [ARM] Regression ? at91rm9200 machine-type
      ... I cannot boot my board anymore. ... u-boot is not passing the right boot information to the kernel. ... # Device Drivers ... # RAM/ROM/Flash chip drivers ...
      (Linux-Kernel)