Re: Remote kernel debugging in FreeBSD using serial communication

2009-01-17 Thread Greg 'groggy' Lehey
On Saturday, 17 January 2009 at 17:57:10 -0800, Kamlesh Patel wrote: > Hi All, > > I am trying remote kernel debugging in FreeBSD using serial > communication. I got the following link. > > http://www.ibm.com/developerworks/aix/library/au-debugfreebsd.html#list1 This article

Re: Remote kernel debugging in FreeBSD using serial communication

2009-01-17 Thread RW
On Sat, 17 Jan 2009 17:57:10 -0800 (PST) Kamlesh Patel wrote: > Hi All, > > I am trying remote kernel debugging in FreeBSD using serial > communication. I got the following link. > > http://www.ibm.com/developerworks/aix/library/au-debugfreebsd.html#list1 > > My prob

Re: Remote kernel debugging in FreeBSD using serial communication

2009-01-17 Thread Bakul Shah
On Sat, 17 Jan 2009 17:57:10 PST Kamlesh Patel wrote: > Hi All, > > I am trying remote kernel debugging in FreeBSD using serial communication. I > got the following link. > > http://www.ibm.com/developerworks/aix/library/au-debugfreebsd.html#list1 > > My problem is

Remote kernel debugging in FreeBSD using serial communication

2009-01-17 Thread Kamlesh Patel
Hi All, I am trying remote kernel debugging in FreeBSD using serial communication. I got the following link. http://www.ibm.com/developerworks/aix/library/au-debugfreebsd.html#list1 My problem is my developing and target system does not have DS25 female port. Anyone have any idea about Remote

Re: Remote Kernel Debugging over QEMU?

2008-03-08 Thread Yoshihiro Ota
On Sat, 8 Mar 2008 22:18:32 +0200 Kostik Belousov <[EMAIL PROTECTED]> wrote: > On Sat, Mar 08, 2008 at 02:45:05PM -0500, Yoshihiro Ota wrote: > > Hello, folks, > > > > Has anyone tried to remote-debugging of a system running on Qemu? > > > > I thought if I could attach kgdb from Qemu host to a g

Re: Remote Kernel Debugging over QEMU?

2008-03-08 Thread Robert Watson
On Sat, 8 Mar 2008, Yoshihiro Ota wrote: Has anyone tried to remote-debugging of a system running on Qemu? I thought if I could attach kgdb from Qemu host to a guest FreeBSD running on Qemu, it would be very helpful for many reasons, i.e. no hardware requirements, avoid fscking all disks, an

Re: Remote Kernel Debugging over QEMU?

2008-03-08 Thread Kostik Belousov
On Sat, Mar 08, 2008 at 02:45:05PM -0500, Yoshihiro Ota wrote: > Hello, folks, > > Has anyone tried to remote-debugging of a system running on Qemu? > > I thought if I could attach kgdb from Qemu host to a guest FreeBSD > running on Qemu, it would be very helpful for many reasons, i.e. > no hardw

Remote Kernel Debugging over QEMU?

2008-03-08 Thread Yoshihiro Ota
Hello, folks, Has anyone tried to remote-debugging of a system running on Qemu? I thought if I could attach kgdb from Qemu host to a guest FreeBSD running on Qemu, it would be very helpful for many reasons, i.e. no hardware requirements, avoid fscking all disks, and so on. Has anyone ever attemp

Re: Remote Kernel Debugging over QEMU?

2008-03-08 Thread Andrey V. Elsukov
08.03.08, 22:45, "Yoshihiro Ota" <[EMAIL PROTECTED]>: > Has anyone tried to remote-debugging of a system running on Qemu? > I thought if I could attach kgdb from Qemu host to a guest FreeBSD > running on Qemu, it would be very helpful for many reasons, i.e. > no hardware requirements, avoid fsckin

Remote kernel debugging using GDB

2005-03-02 Thread Leubner, Achim
Hello all, I want to do some remote kernel debugging using GDB on FreeBSD 5.3. I connected host and target with a null-modem cable on COM1 and made a debug kernel with "options GDB", "options DDB", "options KDB" and "makeoptions DEBUG=-g" and I set

Re: Remote kernel debugging over Ethernet (was: interrupting the remote kernel)

2002-09-09 Thread Christian Zander
On Sun, Sep 08, 2002 at 09:54:47PM -0700, Tim Gilman wrote: > > Sorry about this, Christian; your patches are buried in my > bottomless inbox. It appears real-life has swept me off my > feet. I fully don't expect to come down for a month or so > (getting married in 2 weeks, honeymoon, etc), so pl

Re: Remote kernel debugging over Ethernet (was: interrupting the remote kernel)

2002-09-08 Thread Tim Gilman
Christian Zander at 9/8/02 (maybe): >On Sun, Sep 08, 2002 at 05:54:56PM +0930, Greg 'groggy' Lehey wrote: >> Just by coincidence, I heard of this today from Richard >> Sharpe of Panasas. It seems that Tim has moved on, >> which is possibly why you haven't heard back from him. >I was aware of that

Re: Remote kernel debugging over Ethernet (was: interrupting the remote kernel)

2002-09-08 Thread Christian Zander
On Sun, Sep 08, 2002 at 05:54:56PM +0930, Greg 'groggy' Lehey wrote: > > Just by coincidence, I heard of this today from Richard Sharpe of > Panasas. It seems that Tim has moved on, which is possibly why you > haven't heard back from him. > I was aware of that, I had been in touch with Tim ove

Remote kernel debugging over Ethernet (was: interrupting the remote kernel)

2002-09-08 Thread Greg 'groggy' Lehey
On Saturday, 7 September 2002 at 10:28:27 +0200, Christian Zander wrote: > On Sat, Sep 07, 2002 at 12:56:12AM -0700, Julian Elischer wrote: >> >>> What I found to work well is remote GDB debugging with the UDP >>> wrapper (ip-gdb), it responds to CTRL-C as expected. >> >> huh? do we have that? >>

Troube with remote kernel debugging using --- gdb ptrace( PT_GETDBREGS )

2000-10-19 Thread Soumen Biswas
Hello, I am haveing a slight problem with remote kernel debugging using gdb. ( host & target both fbsd 4.1.1 + gdb that came along - 4.18 ) I am able to attach and an debug the target But I keep getting the following warning : ptrace( PT_GETDBREGS ) failed: no such pro

Remote Kernel Debugging

2000-10-06 Thread Christopher Harrer
Hello All, Not sure if this is the right list or not. I tried posting this on FreeBSD-Questions and did not get a response. If this is not the right list, please let me know. Is there anyway to specify the speed for remote Kernel debugging using gdb? For example, I compile my kernel with gdb

Re: Remote kernel debugging

2000-04-20 Thread Julian Elischer
What you should be doing depends on what kernel you are using.. I presume 4.0 or 5.0 as you use 0x80 as the flag for sio0. Here's what I do: Some of this, you have done, but I repeat the instructins for others to find in the archives :-) Don't forget there are two debuggers, DDB, which has a hum

Re: Remote kernel debugging

2000-04-20 Thread Zhihui Zhang
I have looked over your steps. It seems that the steps are all correct. I can suggest four things: (1) Consider using "makeoptionsDEBUG=-g" in your configure file. (2) If you are using FreeBSD 3.3-Release, the flag may be 0x50 instead of 0x80. (3) Lower the baud rate if possible. However,

Remote kernel debugging

2000-04-20 Thread NandaKumar P.K.
Hi, We were trying to debug the SCSI CAM driver using remote gdb, but we were not able to establish the connection between the target machine and host machine. The host and the target machine were connected using a null modem cable which was tested using Pcplus utility in DOS. In both the machin