Re: kgdb + uart

2012-12-14 Thread Alexey Dokuchaev
On Fri, Dec 14, 2012 at 01:22:12PM +0200, Andriy Gapon wrote: > Yeah, kgdb and target kernel must closely match each other. > I guess that the machine does not support amd64 mode? Which machine? :-) My laptop can do i386 only, as it has old Dothan CPU. Lenovo box (victim) is E5500, which I want

Re: kgdb + uart

2012-12-14 Thread Andriy Gapon
on 14/12/2012 13:00 Alexey Dokuchaev said the following: > On Fri, Dec 14, 2012 at 12:40:23PM +0200, Andriy Gapon wrote: >> uart(4): >> 0x00080 use this port for remote kernel debugging > > Thanks, that did the magic. The problem, however, is that kgdb from i386 > does not like amd64 kernel ima

Re: kgdb + uart [Was: 9.1 memstick install panics on boot]

2012-12-14 Thread Alexey Dokuchaev
On Fri, Dec 14, 2012 at 12:40:23PM +0200, Andriy Gapon wrote: > uart(4): > 0x00080 use this port for remote kernel debugging Thanks, that did the magic. The problem, however, is that kgdb from i386 does not like amd64 kernel image, and I do not have any other amd64 box in the vicinity. Not sur

kgdb + uart [Was: 9.1 memstick install panics on boot]

2012-12-14 Thread Andriy Gapon
on 14/12/2012 12:35 Alexey Dokuchaev said the following: > I thought of it, but last time I tried I could get rid of "GDB: no debug > ports present" message in dmesg. :-( Maybe it was due to USB<->serial > adapter, and with "real" serial port it would not be a problem. uart(4): 0x00080 use thi