From owner-freebsd-hackers Sun Sep 8 1:25: 3 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 031BF37B400 for ; Sun, 8 Sep 2002 01:25:00 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F83243E3B for ; Sun, 8 Sep 2002 01:24:58 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id ADA2A812E3; Sun, 8 Sep 2002 17:54:56 +0930 (CST) Date: Sun, 8 Sep 2002 17:54:56 +0930 From: Greg 'groggy' Lehey To: Christian Zander Cc: Julian Elischer , Nate Lawson , freebsd-hackers@FreeBSD.ORG Subject: Remote kernel debugging over Ethernet (was: interrupting the remote kernel) Message-ID: <20020908082456.GK46846@wantadilla.lemis.com> References: <20020907094726.K652@chronos> <20020907102827.L652@chronos> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020907102827.L652@chronos> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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? >> (rushes of to see it it's in ports) >> comes back sadly.. >> >> (where do you get it from?) >> > > Yes, Tim Gilman posted about this on freebsd-hackers earlier this > year, the project has been sittling idle since, but can still be > found here: http://sourceforge.net/projects/ipgdb/. I did a little > bit of work on it to make it work in environments with routers; I > sent a patch to Tim, but have not yet heard back. I attached this > updated version as a patch that should apply cleanly against 4.5+. > It will work with eepro100 adapters in my version, but adding the > necessary support for other NICs is trivial. The complete patch > also needs to change a few lines in gdb to make it work, this is > included in the original patch, but not in the one I attached. 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'd be interested in committing this code if nobody has any objections. Greg -- See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Sep 8 1:58:34 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 098A037B400; Sun, 8 Sep 2002 01:58:32 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48A1B43E6E; Sun, 8 Sep 2002 01:58:31 -0700 (PDT) (envelope-from phoenix@minion.de) Received: from [212.227.126.162] (helo=mrelayng3.kundenserver.de) by moutng6.kundenserver.de with esmtp (Exim 3.35 #2) id 17nxtg-0003gg-00; Sun, 08 Sep 2002 10:58:24 +0200 Received: from [80.144.62.194] (helo=chronos) by mrelayng3.kundenserver.de with asmtp (Exim 3.35 #1) id 17nxtg-0003GC-00; Sun, 08 Sep 2002 10:58:24 +0200 Received: from phoenix by chronos with local (Exim 3.35 #1 (Debian)) id 17nx2q-0000Mh-00; Sun, 08 Sep 2002 10:03:48 +0200 Date: Sun, 8 Sep 2002 10:03:48 +0200 From: Christian Zander To: Greg 'groggy' Lehey Cc: Christian Zander , Julian Elischer , Nate Lawson , freebsd-hackers@FreeBSD.ORG Subject: Re: Remote kernel debugging over Ethernet (was: interrupting the remote kernel) Message-ID: <20020908100348.A780@chronos> Reply-To: Christian Zander References: <20020907094726.K652@chronos> <20020907102827.L652@chronos> <20020908082456.GK46846@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020908082456.GK46846@wantadilla.lemis.com> User-Agent: Mutt/1.3.22.1i X-Operating-System: GNU/Linux [2.4.19][i686] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 over connections dropping after a short period of time with my configuration, which I could later attribute to the lack of ARP request handling), and had sent the patch to an alternate address. > I'd be interested in committing this code if nobody has any > objections. > I've used this wrapper quite a bit so far and found that it works well. There are a few things that would be neat to have or that need some work (e.g. exciting GDB without an explicit detach will render the target machine unresponsive, console messages are not yet forwarded, etc), but it is very useful nevertheless. -- christian zander zander@minion.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Sep 8 6:32:13 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BDD137B400; Sun, 8 Sep 2002 06:32:08 -0700 (PDT) Received: from genius.tao.org.uk (genius.tao.org.uk [212.135.162.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D61E43E84; Sun, 8 Sep 2002 06:31:57 -0700 (PDT) (envelope-from joe@genius.tao.org.uk) Received: by genius.tao.org.uk (Postfix, from userid 100) id 777774362; Sun, 8 Sep 2002 14:30:58 +0100 (BST) Date: Sun, 8 Sep 2002 14:30:58 +0100 From: Josef Karthauser To: Robert Watson Cc: Alexey Dokuchaev , hackers@freebsd.org Subject: Re: Usenix 2002 FreeBSD Developer Summit III -- why no oggs? Message-ID: <20020908133058.GA9799@genius.tao.org.uk> References: <20020906084959.A6251@regency.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Sep 07, 2002 at 10:51:53AM -0400, Robert Watson wrote: > > On Fri, 6 Sep 2002, Alexey Dokuchaev wrote: > > > I've read the notes as of 2 September, 2002 from the USENIX ATC 2002 > > FreeBSD Developer Summit, which were made available recently. As a very > > good addition to them, I suggest putting online some .oggs (or .mp3s) > > next time, with recorded speeches, just like guys from recent linux > > kernel summit did (ksmp3rep.sourceforge.net)? > > > > Sounds like a good idea to me. Opinions? > > Recordings were made by Josef Karthauser (who generated the webcast from > our teleconference bridge). He also did the recordings for previous > developer summits. I'm not sure what his distribution plans are, but you > could drop him an e-mail and inquire. > I've not had the time to post-process the last summit yet. It's a solid day of work, and as there's been no demand for it I've not put it at the top of my list. If anyone's interested in working on it, or sponsoring it I'd be glad to hear from them. Joe -- "As far as the laws of mathematics refer to reality, they are not certain; and as far as they are certain, they do not refer to reality." - Albert Einstein, 1921 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Sep 8 7:38:54 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F3BD237B400; Sun, 8 Sep 2002 07:38:34 -0700 (PDT) Received: from chat.ru (171-175.dialup.permonline.ru [212.120.171.175]) by mx1.FreeBSD.org (Postfix) with SMTP id CF5D043E3B; Sun, 8 Sep 2002 07:37:56 -0700 (PDT) (envelope-from golden_st@rambler.ru) From: Василий Subject: Ваша заработная плата! Reply-To: golden_st@rambler.ru X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 Mime-Version: 1.0 Content-Type: text/plain; charset="Windows-1251" Date: Sun, 8 Sep 2002 20:45:41 +0600 Message-Id: <20020908143756.CF5D043E3B@mx1.FreeBSD.org> To: undisclosed-recipients: ; Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Здравствуйте, извините если я Вас отвлёк от важных государственных дел. Просто я хотел бы предложить Вам заработать на чай, кофе, потанцуем или на пиво, водка, полежим (каждому своё) Несмотря на то, что это всетаки пирамидка. С неё можно реально зарабатывать в месяц от 1000руб. Это не золотые горы, но зато надёжно. Если вам это интересно, то пишите, а если нет, то извините за беспокойство. Продолжайте заниматься важными государственными делами. С уважением, Василий. PS: Я лично зарабатываю 500-1500руб в месяц To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Sep 8 7:52: 9 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A2C337B401; Sun, 8 Sep 2002 07:52:04 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48A9D43E3B; Sun, 8 Sep 2002 07:51:54 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.3/8.12.2) with ESMTP id g888xGBn003657; Sun, 8 Sep 2002 10:59:16 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Nate Lawson Cc: hackers@freebsd.org, scsi@freebsd.org Subject: Re: New scsi_target code In-Reply-To: Your message of "Sat, 07 Sep 2002 11:41:52 PDT." Date: Sun, 08 Sep 2002 10:59:16 +0200 Message-ID: <3656.1031475556@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message , Nate Lawson wri tes: >On Sat, 7 Sep 2002, Poul-Henning Kamp wrote: >> In message , Ju >> lian Elischer writes: >> > >> > >> >On Sat, 7 Sep 2002, Poul-Henning Kamp wrote: >> >> >> >> IP-over-SCSI ? >> >> >> > >> >Well I've just been reading about SCSI over IP.... so >> >> That's different. IP-over-SCSI is a much wanted Myrinet-light over here. > >I am not aware of a spec for IP-over-SCSI. Wouldn't it have to use things >like AEN to send data in the reverse direction? See this page: http://w3.ualg.pt/~dubuf/ipscsi.html -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Sep 8 10: 8:29 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D418437B400 for ; Sun, 8 Sep 2002 10:08:27 -0700 (PDT) Received: from mailmonster.progressix.net (infinity.progressix.net [80.242.101.10]) by mx1.FreeBSD.org (Postfix) with SMTP id 06A4443E6A for ; Sun, 8 Sep 2002 10:08:27 -0700 (PDT) (envelope-from mvb@mailmonster.progressix.net) Received: (qmail 39282 invoked by uid 1000); 8 Sep 2002 17:07:27 -0000 Date: Sun, 8 Sep 2002 19:07:27 +0200 From: "Marcel v. Birgelen" To: freebsd-hackers@freebsd.org Subject: cdev id request for "Berkshire watchdog PCI" card Message-ID: <20020908190727.A39223@infinity.progressix.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I need a major device id for a small device driver I've written for the "Berkshire Watchdog PCI" card. The name of the device driver is "pciwd". The driver will be released soon (after a little testing) and will be made available under the BSD licence. -- Yours, Marcel v. Birgelen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Sep 8 11:50:19 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 779C437B400 for ; Sun, 8 Sep 2002 11:50:15 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36C2943E3B for ; Sun, 8 Sep 2002 11:50:14 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id g88Io5Gq027552; Sun, 8 Sep 2002 12:50:13 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 08 Sep 2002 12:49:58 -0600 (MDT) Message-Id: <20020908.124958.61847498.imp@bsdimp.com> To: bms@spc.org Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: NEWCARD in -STABLE From: "M. Warner Losh" In-Reply-To: <20020907003242.GP15218@spc.org> References: <20020906180818.GO15218@spc.org> <20020907003242.GP15218@spc.org> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <20020907003242.GP15218@spc.org> Bruce M Simpson writes: : I had a thought. Perhaps this situation makes me an ideal candidate for : being a guinea pig for NEWCARD in -STABLE? : : Just a thought. If you have diffs, bring it on. If things require a bit : more work, I am more than willing to give a hand (not ready to take this : lying down, I got myself the equipment as a challenge). I have no diffs lying around. NEWCARD has a number of nearly invisible dependencies on other parts of current that haven't been MFC'd yet. I say invisible because it compiles fine w/o them, it just fails to work. If someone else has diffs, then now is the time to speak up. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Sep 8 11:55:56 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C8EC37B400 for ; Sun, 8 Sep 2002 11:55:55 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5474443E3B for ; Sun, 8 Sep 2002 11:55:54 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id g88ItrGq027577; Sun, 8 Sep 2002 12:55:53 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 08 Sep 2002 12:55:45 -0600 (MDT) Message-Id: <20020908.125545.46456590.imp@bsdimp.com> To: marcel@progressix.com Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: cdev id request for "Berkshire watchdog PCI" card From: "M. Warner Losh" In-Reply-To: <20020908190727.A39223@infinity.progressix.net> References: <20020908190727.A39223@infinity.progressix.net> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG : Berkshire Watchdog PCI I've gone ahead and assigned you 174. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Sep 8 12: 3: 0 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1ADFE37B400 for ; Sun, 8 Sep 2002 12:02:57 -0700 (PDT) Received: from insomnia.spc.org (insomnia.spc.org [195.224.94.183]) by mx1.FreeBSD.org (Postfix) with SMTP id 07E7A43E3B for ; Sun, 8 Sep 2002 12:02:56 -0700 (PDT) (envelope-from bms@insomnia.spc.org) Received: (qmail 18835 invoked by uid 1031); 8 Sep 2002 19:00:58 -0000 Date: Sun, 8 Sep 2002 20:00:57 +0100 From: Bruce M Simpson To: "M. Warner Losh" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: PCMCIA questions: mapping attribute and common memory? Message-ID: <20020908190057.GE3235@spc.org> Mail-Followup-To: Bruce M Simpson , "M. Warner Losh" , freebsd-hackers@FreeBSD.ORG References: <20020905191546.GF15218@spc.org> <20020905.145936.39157187.imp@bsdimp.com> <20020906093215.GI15218@spc.org> <20020906.235110.108188889.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020906.235110.108188889.imp@bsdimp.com> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This all works a treat. I have the driver attached and am in the process of working the bugs out of the code. The ISA-routed function interrupts are firing fine with my device! However I have yet to confirm whether this is solely due to spring-cleaning pccard.conf - or if my ISA routing patch for the RL5C475 is making a difference here. Many thanks! The only other question I have is - how would I go about doing a bus_space_mmap() to be able to copy the attribute memory off to a calling process? BMS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Sep 8 12:17: 3 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 727FC37B400 for ; Sun, 8 Sep 2002 12:16:59 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id A63AA43E42 for ; Sun, 8 Sep 2002 12:16:54 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id g88JGfGq027687; Sun, 8 Sep 2002 13:16:41 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 08 Sep 2002 13:16:33 -0600 (MDT) Message-Id: <20020908.131633.124488233.imp@bsdimp.com> To: bms@spc.org Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: PCMCIA questions: mapping attribute and common memory? From: "M. Warner Losh" In-Reply-To: <20020908190057.GE3235@spc.org> References: <20020906093215.GI15218@spc.org> <20020906.235110.108188889.imp@bsdimp.com> <20020908190057.GE3235@spc.org> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <20020908190057.GE3235@spc.org> Bruce M Simpson writes: : This all works a treat. I have the driver attached and am in the process : of working the bugs out of the code. : : The ISA-routed function interrupts are firing fine with my device! : However I have yet to confirm whether this is solely due to spring-cleaning : pccard.conf - or if my ISA routing patch for the RL5C475 is making a : difference here. I still don't understand why you need ISA routed interrupts. What was wrong with sharing a PCI one? I had nothing but grief trying to make ISA interrupts even come close working on some chipsets. The fact that there's functions to make the function interrupts isa doesn't necessarily mean that they work :-(. Of course function interrupts were a little easier to route than card status change interrupts, which really want to only be PCI on some bridges. So I'm a little reluctant to integrate your patches at the present time, but that attitude might change in the fullness of time (eg, I gotta get used to the idea and revisit them in a few weeks after I've had a chance to look for other issues). : Many thanks! The only other question I have is - how would I go about : doing a bus_space_mmap() to be able to copy the attribute memory off : to a calling process? You don't need a bus_space_mmap. Once the device is memory mapped, the usual means of doing mmap work. To answer that question, let's look at the agp driver for guidance: static d_mmap_t agp_mmap; <<< declare mmap function ... static struct cdevsw agp_cdevsw = { /* open */ agp_open, /* close */ agp_close, /* read */ noread, /* write */ nowrite, /* ioctl */ agp_ioctl, /* poll */ nopoll, /* mmap */ agp_mmap, <<<< Add a mmap entry to cdevsw /* strategy */ nostrategy, /* name */ "agp", /* maj */ CDEV_MAJOR, /* dump */ nodump, /* psize */ nopsize, /* flags */ D_TTY, }; ... static int agp_mmap(dev_t kdev, vm_offset_t offset, int prot) { device_t dev = KDEV2DEV(kdev); struct agp_softc *sc = device_get_softc(dev); if (offset > AGP_GET_APERTURE(dev)) return -1; return atop(rman_get_start(sc->as_aperture) + offset); } ... So in your case, you'd get the softc for device via some means specific to your driver, check to make sure that the offset is less than 4k (since that's the size of the block of memory that you are allocating to the attribute memory) and then do the return like agp does with the appropriate attribute and/or commom memory resource. Note: if you have more than 4k in the attribute memory, and your driver moves the window around, that will impact the mmap'd memory in the application in what might seem to be unpredictable ways. Does that help at all? Warner P.S. I really should be saving all these answers, as well as Duncan's clarifications. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Sep 8 12:24:37 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 422EF37B400 for ; Sun, 8 Sep 2002 12:24:34 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73F5943E3B for ; Sun, 8 Sep 2002 12:24:33 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id g88JOWGq027721; Sun, 8 Sep 2002 13:24:32 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 08 Sep 2002 13:24:25 -0600 (MDT) Message-Id: <20020908.132425.21514062.imp@bsdimp.com> To: bms@spc.org Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: PCMCIA questions: mapping attribute and common memory? From: "M. Warner Losh" In-Reply-To: <20020908190057.GE3235@spc.org> References: <20020906093215.GI15218@spc.org> <20020906.235110.108188889.imp@bsdimp.com> <20020908190057.GE3235@spc.org> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <20020908190057.GE3235@spc.org> Bruce M Simpson writes: : Many thanks! The only other question I have is - how would I go about : doing a bus_space_mmap() to be able to copy the attribute memory off : to a calling process? I just re-read this, and you could also be asking how to implement a read function for your device... In that case, you'd have to do something like the crd driver does. Since you already have the window picked out, I've removed the pick a window code. I'm also assuming that you have only 1 4k window and that you don't have to move it around. static int crdread(dev_t dev, struct uio *uio, int ioflag) { if (uio->uio_offset > 0x1000) return (EIO); while (uio->uio_resid && error == 0) { offs = (unsigned int)uio->uio_offset & (0x1000 - 1); p = rman_get_virtual(am_res) + offs; count = MIN(0x1000 - offs, uio->uio_resid); error = uiomove(p, count, uio); } return (error); } I don't recall if uiomove does anything to optimize the memory moving, but if it does, or if your data is non-linear, you'll have to uiomove it one byte at a time into userland. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Sep 8 12:41:57 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFC9B37B400 for ; Sun, 8 Sep 2002 12:41:55 -0700 (PDT) Received: from insomnia.spc.org (insomnia.spc.org [195.224.94.183]) by mx1.FreeBSD.org (Postfix) with SMTP id DE2F643E4A for ; Sun, 8 Sep 2002 12:41:54 -0700 (PDT) (envelope-from bms@insomnia.spc.org) Received: (qmail 9428 invoked by uid 1031); 8 Sep 2002 19:39:56 -0000 Date: Sun, 8 Sep 2002 20:39:56 +0100 From: Bruce M Simpson To: "M. Warner Losh" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: PCMCIA questions: mapping attribute and common memory? Message-ID: <20020908193956.GF3235@spc.org> Mail-Followup-To: Bruce M Simpson , "M. Warner Losh" , freebsd-hackers@FreeBSD.ORG References: <20020906093215.GI15218@spc.org> <20020906.235110.108188889.imp@bsdimp.com> <20020908190057.GE3235@spc.org> <20020908.131633.124488233.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020908.131633.124488233.imp@bsdimp.com> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Sep 08, 2002 at 01:16:33PM -0600, M. Warner Losh wrote: > I still don't understand why you need ISA routed interrupts. What was > wrong with sharing a PCI one? I had nothing but grief trying to make The Vaio Z600 muxes everything on IRQ 9. The PCMCIA device did not support IRQ 9. Windows 2000 was able to route IRQ 7 as an ISA function interrupt which allows it to support the device. FreeBSD did not; and I was in a hurry to get my code written. The RL5C475 is still using PCI for the CSC interrupt. More later... BMS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Sep 8 13:20:57 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F35E37B400 for ; Sun, 8 Sep 2002 13:20:55 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBCCA43E3B for ; Sun, 8 Sep 2002 13:20:54 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id g88KKrGq027900; Sun, 8 Sep 2002 14:20:53 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 08 Sep 2002 14:20:46 -0600 (MDT) Message-Id: <20020908.142046.92054545.imp@bsdimp.com> To: bms@spc.org Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: PCMCIA questions: mapping attribute and common memory? From: "M. Warner Losh" In-Reply-To: <20020908193956.GF3235@spc.org> References: <20020908190057.GE3235@spc.org> <20020908.131633.124488233.imp@bsdimp.com> <20020908193956.GF3235@spc.org> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <20020908193956.GF3235@spc.org> Bruce M Simpson writes: : On Sun, Sep 08, 2002 at 01:16:33PM -0600, M. Warner Losh wrote: : > I still don't understand why you need ISA routed interrupts. What was : > wrong with sharing a PCI one? I had nothing but grief trying to make : : The Vaio Z600 muxes everything on IRQ 9. The PCMCIA device did not support : IRQ 9. Windows 2000 was able to route IRQ 7 as an ISA function interrupt : which allows it to support the device. FreeBSD did not; and I was in a : hurry to get my code written. What do you mean 'The PCMCIA device did not support IRQ 9'? All PCMCIA devices have only one interrupt line, so it has no way of knowing if that interrupt is routed to IRQ 9 or 7 or anything else. Sure, it might not be listed in the preferred IRQ list in the CIS, but that's just a hint to configruation software, not what the hardware can do. I've not yet encountered a device that cared one whit about ISA vs PCI interrupts... This would be a first if it really is the case. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Sep 8 13:44:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD71537B400; Sun, 8 Sep 2002 13:44:19 -0700 (PDT) Received: from tesla.foo.is (tesla.reverse-bias.org [217.151.166.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id D167243E42; Sun, 8 Sep 2002 13:44:18 -0700 (PDT) (envelope-from baldur@foo.is) Received: from there (eniac.foo.is [192.168.1.25]) by tesla.foo.is (Postfix) with SMTP id 5EE32279A; Sun, 8 Sep 2002 20:44:11 +0000 (GMT) Content-Type: text/plain; charset="iso-8859-1" From: Baldur Gislason To: freebsd-portable@freebsd.org, freebsd-hackers@freebsd.org Subject: Cardbus Date: Sun, 8 Sep 2002 20:43:53 +0000 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020908204411.5EE32279A@tesla.foo.is> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Doesn't FreeBSD support 32 bit cardbus cards? Is it being worked on? Baldur To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Sep 8 13:45:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BC3B37B400; Sun, 8 Sep 2002 13:45:19 -0700 (PDT) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6837D43E42; Sun, 8 Sep 2002 13:45:18 -0700 (PDT) (envelope-from wkb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.12.5/8.12.2) with ESMTP id g88KjB7p001923; Sun, 8 Sep 2002 22:45:12 +0200 (CEST) (envelope-from wkb@freebie.xs4all.nl) Received: (from wkb@localhost) by freebie.xs4all.nl (8.12.5/8.12.5/Submit) id g88KjB1d001922; Sun, 8 Sep 2002 22:45:11 +0200 (CEST) Date: Sun, 8 Sep 2002 22:45:11 +0200 From: Wilko Bulte To: Baldur Gislason Cc: freebsd-portable@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: Cardbus Message-ID: <20020908224511.A1898@freebie.xs4all.nl> References: <20020908204411.5EE32279A@tesla.foo.is> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020908204411.5EE32279A@tesla.foo.is>; from baldur@foo.is on Sun, Sep 08, 2002 at 08:43:53PM +0000 X-OS: FreeBSD 4.6-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Sep 08, 2002 at 08:43:53PM +0000, Baldur Gislason wrote: > Doesn't FreeBSD support 32 bit cardbus cards? Is it being worked on? Cardbus is being worked on in -current. -- | / o / /_ _ wilko@FreeBSD.org |/|/ / / /( (_) Bulte Arnhem, the Netherlands To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Sep 8 20:18: 2 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D31637B400; Sun, 8 Sep 2002 20:18:01 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DDF843E3B; Sun, 8 Sep 2002 20:18:00 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id g893Ho9R009680; Sun, 8 Sep 2002 21:17:50 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 08 Sep 2002 21:17:34 -0600 (MDT) Message-Id: <20020908.211734.55512865.imp@bsdimp.com> To: baldur@foo.is Cc: freebsd-portable@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: Cardbus From: "M. Warner Losh" In-Reply-To: <20020908204411.5EE32279A@tesla.foo.is> References: <20020908204411.5EE32279A@tesla.foo.is> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <20020908204411.5EE32279A@tesla.foo.is> Baldur Gislason writes: : Doesn't FreeBSD support 32 bit cardbus cards? Is it being worked on? For most cards, it works great. Gotta run current, however. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Sep 8 21:55:50 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C47B637B401 for ; Sun, 8 Sep 2002 21:55:47 -0700 (PDT) Received: from pie.eudaemon.net (dsl081-242-046.sfo1.dsl.speakeasy.net [64.81.242.46]) by mx1.FreeBSD.org (Postfix) with SMTP id BCB2943E77 for ; Sun, 8 Sep 2002 21:54:55 -0700 (PDT) (envelope-from tgilman@eudaemon.net) Received: (qmail 13809 invoked from network); 9 Sep 2002 04:20:51 -0000 Received: from unknown (HELO 10.7.1.10) (64.81.242.46) by pie.eudaemon.net with SMTP; 9 Sep 2002 04:20:51 -0000 Date: Sun, 8 Sep 2002 21:54:47 -0700 From: Tim Gilman Subject: Re: Remote kernel debugging over Ethernet (was: interrupting the remote kernel) To: Christian Zander Cc: Greg 'groggy' Lehey , freebsd-hackers@FreeBSD.ORG X-Priority: 3 In-Reply-To: <20020908100348.A780@chronos> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; Charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailer: Mailsmith 1.5.3 (Blindsider) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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, I had been in touch with Tim over >connections dropping after a short period of time with my >configuration, which I could later attribute to the lack >of ARP request handling), and had sent the patch to an >alternate address. 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 please continue to work around my sloth. =- Tim tgilman@eudaemon.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 9 2:22:53 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B768937B400 for ; Mon, 9 Sep 2002 02:22:51 -0700 (PDT) Received: from relay01.cablecom.net (relay01.cablecom.net [62.2.33.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0A7243E3B for ; Mon, 9 Sep 2002 02:22:50 -0700 (PDT) (envelope-from hanspeter_roth@hotmail.com) Received: from gicco.cablecom.ch (dclient80-218-72-247.hispeed.ch [80.218.72.247]) by relay01.cablecom.net (8.12.5/8.12.5/SOL/AWF/MXRELAY/20020820) with ESMTP id g899Mm20055650 for ; Mon, 9 Sep 2002 11:22:48 +0200 (CEST) (envelope-from hanspeter_roth@hotmail.com) Received: (from idefix@localhost) by gicco.cablecom.ch (8.11.6/8.11.6) id g899Mmg00695 for freebsd-hackers@freebsd.org; Mon, 9 Sep 2002 11:22:48 +0200 (CEST) (envelope-from hanspeter_roth@hotmail.com) Date: Mon, 9 Sep 2002 11:22:48 +0200 From: Hanspeter Roth To: freebsd-hackers@freebsd.org Subject: interrupting target kernel using single sio Message-ID: <20020909112248.A613@gicco.cablecom.ch> Reply-To: freebsd-hackers@freebsd.org Mail-Followup-To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, using a single serial cable I can pass control to the remote kgdb pressing ctl-alt-del at the target host. I'm looking for a means to interrupt the target kernel from the remote host. I got suggestions using a second serial cable or using ipgdb instead. Setting remotechat didn't help me. Is it intended to be able to interrupt the target kernel from the remote kgdb by some means at all? Or is this a wrong expectation? -Hanspeter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 9 4: 2:52 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72C5A37B400 for ; Mon, 9 Sep 2002 04:02:46 -0700 (PDT) Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13D2B43E42 for ; Mon, 9 Sep 2002 04:02:46 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0019.cvx21-bradley.dialup.earthlink.net ([209.179.192.19] helo=mindspring.com) by swan.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17oMJW-0001e7-00 for freebsd-hackers@freebsd.org; Mon, 09 Sep 2002 04:02:42 -0700 Message-ID: <3D7C7F96.9032BA7B@mindspring.com> Date: Mon, 09 Sep 2002 04:01:42 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Re: interrupting target kernel using single sio References: <20020909112248.A613@gicco.cablecom.ch> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hanspeter Roth wrote: > using a single serial cable I can pass control to the remote kgdb > pressing ctl-alt-del at the target host. > I'm looking for a means to interrupt the target kernel from the > remote host. > I got suggestions using a second serial cable or using ipgdb > instead. > Setting remotechat didn't help me. > > Is it intended to be able to interrupt the target kernel from the > remote kgdb by some means at all? Or is this a wrong expectation? You need to send something which sends an interrupt to the driver on the remote host, so that it can be caught, and enter the debugger. Normally, this is done using the "break" signal (250+ms of RS232-C line silence). This is enabled via: options ALT_BREAK_TO_DEBUGGER options BREAK_TO_DEBUGGER See /usr/src/sys/i386/conf/LINT for details. Note that your gdb client program is, AFAIK, too stupid to be able to send this break. But if you can get it to do it, then FreeBSD will do the right thing. Most likely, you will need to hack gdb to make it able to send the break signal in response to a ^C or whatever you define as your "remote break" character. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 9 4:46:13 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7680E37B400; Mon, 9 Sep 2002 04:46:10 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DCCA43E4A; Mon, 9 Sep 2002 04:46:09 -0700 (PDT) (envelope-from phoenix@minion.de) Received: from [212.227.126.160] (helo=mrelayng0.kundenserver.de) by moutng6.kundenserver.de with esmtp (Exim 3.35 #2) id 17oMzL-0005Ec-00; Mon, 09 Sep 2002 13:45:55 +0200 Received: from [80.144.23.172] (helo=chronos) by mrelayng0.kundenserver.de with asmtp (Exim 3.35 #1) id 17oMzL-0001gY-00; Mon, 09 Sep 2002 13:45:55 +0200 Received: from phoenix by chronos with local (Exim 3.35 #1 (Debian)) id 17oLM2-0000Hw-00; Mon, 09 Sep 2002 12:01:14 +0200 Date: Mon, 9 Sep 2002 12:01:14 +0200 From: Christian Zander To: Tim Gilman Cc: Christian Zander , Greg 'groggy' Lehey , freebsd-hackers@FreeBSD.ORG Subject: Re: Remote kernel debugging over Ethernet (was: interrupting the remote kernel) Message-ID: <20020909120114.B1102@chronos> Reply-To: Christian Zander References: <20020908100348.A780@chronos> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.22.1i X-Operating-System: GNU/Linux [2.4.19][i686] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 please > continue to work around my sloth. > No problem at all, real life takes preference. -- christian zander zander@minion.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 9 5: 0:13 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DAC637B405 for ; Mon, 9 Sep 2002 05:00:11 -0700 (PDT) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1681043E72 for ; Mon, 9 Sep 2002 05:00:11 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by sccrmhc01.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020909120010.ZVSG9751.sccrmhc01.attbi.com@InterJet.elischer.org> for ; Mon, 9 Sep 2002 12:00:10 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id EAA56343 for ; Mon, 9 Sep 2002 04:52:08 -0700 (PDT) Date: Mon, 9 Sep 2002 04:52:07 -0700 (PDT) From: Julian Elischer To: freebsd-hackers@freebsd.org Subject: Re: interrupting target kernel using single sio In-Reply-To: <20020909112248.A613@gicco.cablecom.ch> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG there is the following option: # Options for serial drivers that support consoles (only for sio now): options BREAK_TO_DEBUGGER #a BREAK on a comconsole goes to #DDB, if available. it isdangerous because rebooting the local machine can en up sending a break to the remote machine. On Mon, 9 Sep 2002, Hanspeter Roth wrote: > Hello, > > using a single serial cable I can pass control to the remote kgdb > pressing ctl-alt-del at the target host. > I'm looking for a means to interrupt the target kernel from the > remote host. > I got suggestions using a second serial cable or using ipgdb > instead. > Setting remotechat didn't help me. > > Is it intended to be able to interrupt the target kernel from the > remote kgdb by some means at all? Or is this a wrong expectation? > > -Hanspeter > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 9 6:13: 6 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B34BA37B400; Mon, 9 Sep 2002 06:12:53 -0700 (PDT) Received: from servww6.ww.uni-erlangen.de (servww6.ww.uni-erlangen.de [131.188.238.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 024A743E3B; Mon, 9 Sep 2002 06:12:52 -0700 (PDT) (envelope-from ardelean@ww.uni-erlangen.de) Received: from localhost (ardelean@localhost) by servww6.ww.uni-erlangen.de (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id g89BL2C23092; Mon, 9 Sep 2002 13:21:02 +0200 Date: Mon, 9 Sep 2002 13:21:02 +0200 (CEST) From: Gheorghe Ardelean To: Cc: Subject: Problems with PC Card card in -current! Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I am having problems getting Avaya Wireless Wi/Fi ETS Card 11 Mb/s GOLD working under FreeBSD 5.0-CURRENT-20020818-JPSNAP on a IBM Thinkpad Laptop. Do I miss some special settings? When I am inserting the card in the slot I get the following message: pccard1: Card has no functions! cbb1: PC Card card activation failed and the output pccardc dumpcis is 0 slots found any help would be very much appreciated. Regards, G. Ardelean P.S. Here is the corresponding dmesg: Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.0-CURRENT-20020818-JPSNAP #4: Wed Sep 4 16:00:28 GMT 2002 root@:/usr/src/sys/i386/compile/THINKPAD Preloaded elf kernel "/boot/kernel/kernel" at 0xc0517000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc05170a8. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 498272880 Hz CPU: Pentium III/Pentium III Xeon/Celeron (498.27-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x681 Stepping = 1 Features=0x383f9ff real memory = 134021120 (130880K bytes) avail memory = 124514304 (121596K bytes) Pentium Pro MTRR support enabled pcibios: No call entry point npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-safe" frequency 3579545 Hz ACPI-0351: *** Error: Could not install PciConfig handler for PCI0, AE_ALREADY_EXISTS acpi_timer0: <24-bit timer at 3.579545MHz> port 0xef08-0xef0b on acpi0 acpi_cpu0: on acpi0 acpi_tz0: on acpi0 acpi_tz1: on acpi0 acpi_tz2: on acpi0 acpi_tz3: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_pcib0: port 0xcf8-0xcff on acpi0 pci0: on acpi_pcib0 agp0: mem 0x40000000-0x43ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) cbb0: mem 0x50103000-0x50103fff irq 11 at device 2.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: mem 0x50102000-0x50102fff irq 11 at device 2.1 on pci0 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 pci0: at device 3.0 (no driver attached) csa0: mem 0x50000000-0x500fffff,0x50100000-0x50100fff irq 11 at device 6.0 on pci0 csa: card is Thinkpad 600X/A20/T20 pcm0: on csa0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xfcf0-0xfcff at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at device 7.2 (no driver attached) pci0: at device 7.3 (no driver attached) fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled ppc0 port 0x3bc-0x3c3 irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 acpi_ec0: port 0x66,0x62 on acpi0 acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_acad0: on acpi0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled orm0: