From owner-freebsd-hackers Thu Feb 25 18:37:57 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by hub.freebsd.org (Postfix) with ESMTP id 00F5B14E83; Thu, 25 Feb 1999 18:37:52 -0800 (PST) (envelope-from piet@cup.hp.com) Received: from hpfsvr02.cup.hp.com (root@hpfsvr02.cup.hp.com [15.28.74.198]) by palrel1.hp.com (8.8.6/8.8.5tis) with ESMTP id SAA04939; Thu, 25 Feb 1999 18:37:28 -0800 (PST) Received: from piet1.sparc.engr.sgi.com (piet1.cup.hp.com [15.28.75.241]) by hpfsvr02.cup.hp.com with SMTP (8.8.6/8.7.3 TIS Messaging 5.0) id SAA24779; Thu, 25 Feb 1999 18:37:25 -0800 (PST) Date: Thu, 25 Feb 1999 18:37:25 -0800 (PST) From: Piet Delaney Message-Id: <199902260237.SAA24779@hpfsvr02.cup.hp.com> To: johns@umr.edu Subject: Re: 24ibt on ZX/leo framebuffer, cg8/12, and doing kernel src debugging with kernel kgdb stub and ddd+gdb Cc: toddf@acm.org, frivara@otmcorp.com, obrien@nuxi.com, hasty@star-gate.com, piet@piet.net, piet@hpfsvr02.cup.hp.com, charleymeyer@earthlink.net, Loc.Tran@Eng.Sun.COM, netbsd-help@netBSD.Org, tech-kern@netBSD.Org, port-sparc@netBSD.Org, misc@openbsd.org, freebsd-hackers@FreeBSD.Org, freebsd-sparc@FreeBSD.Org, freebsd-chat@FreeBSD.Org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi John: This afternoon I received mail from Todd Fries and he suggested touching bases with you on working on the leo driver(s). I've got a Leo and an sbus based cg8/cg12, I'll have to check which, anyway both are 24 bit true color cards and I wrote a 24 bit true color driver a while back and was wondering about helping out on one. I've got NetBSD, OpenBSD, and Linix running at home on some old SPARCstations and I'm about to install FreeBSD on an Ultra SCSI dual processor Pentium. I'd like to work on the kernel with kgdb but I've been having trouble getting the kgdb stub code linked on the OpenBSD kernel. I used something like kgdb here at HP and have used it on SunOS and Solaris (kdbx). Seems ddd on top should be no sweat. I find it hard to believe that the OpenBSD kernel hackers aren't using kgdb on OpenBSD. Worlds a bit strange. I have to admit I didn't try very hard yet; just a few hours. We really should be running the stub over it's own ethernet code and minimal hooks into the ethernet drivers. Then you can remote debug a lot of kernel bugs on system anywhere in the world; it's real slick. I was a bit impressed that microsoft releases NT with a version compiled -g on the CD for remote src level debugging. I wonder why the major UNIX corporation aren't also doing this. Seem like some lawyers told them the debugger information could be reverse engineered back into code; I really doubt that. If you have any suggestion on the true color frame buffer drivers on setting up kgdb on openbsd, I'd appreciate hearing about it. I know it works on Linux but I'm not sure abot FreeBSD. Likley still works on NetBSD but the code has changes a lot since my old NetBSD got installed. OpenBSD is running pretty good these days, I used ddd and gdb on a core file but the problem wasn't obvious other than I unpluged the scsi connector; seems it shouldn't panic. I set up kgdb on sunos over a few weekends so I doubt it will take very long. The frame buffer driver I did last took about 3 months but all I had was adb. With kgdb I'd expect we could get it working in a few weeks. -piet To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message