From owner-freebsd-current Sun Mar 31 0: 2:15 2002 Delivered-To: freebsd-current@freebsd.org Received: from mass.dis.org (dhcp45-24.dis.org [216.240.45.24]) by hub.freebsd.org (Postfix) with ESMTP id DF72B37B417; Sun, 31 Mar 2002 00:02:12 -0800 (PST) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.6/8.11.6) with ESMTP id g2V81Dc03587; Sun, 31 Mar 2002 00:01:13 -0800 (PST) (envelope-from msmith@mass.dis.org) Message-Id: <200203310801.g2V81Dc03587@mass.dis.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Terry Lambert Cc: Michael Smith , Alfred Perlstein , scott_long@btc.adaptec.com, mark_salyzyn@adaptec.com, obrien@freebsd.org, current@freebsd.org Subject: Re: asr can not map memory? In-reply-to: Your message of "Sat, 30 Mar 2002 23:56:28 PST." <3CA6C12C.3A2B57D1@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 31 Mar 2002 00:01:12 -0800 From: Michael Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > What's the basis of the assumption that the I/O range is > unsupported in the first place, and why isn't it true for this > bridge chip, if it's a valid assumption for others? The information was provided in the debugging output and code that Alfred supplied in earlier messages. The short answer is "programmer error". You're walking into another conversation with insufficient context. 8) -- To announce that there must be no criticism of the president, or that we are to stand by the president, right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public. - Theodore Roosevelt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 31 0: 2:44 2002 Delivered-To: freebsd-current@freebsd.org Received: from gull.prod.itd.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by hub.freebsd.org (Postfix) with ESMTP id 08CE337B41C; Sun, 31 Mar 2002 00:02:37 -0800 (PST) Received: from pool0142.cvx22-bradley.dialup.earthlink.net ([209.179.198.142] helo=mindspring.com) by gull.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16raIL-00066T-00; Sun, 31 Mar 2002 00:02:34 -0800 Message-ID: <3CA6C280.F41FBB55@mindspring.com> Date: Sun, 31 Mar 2002 00:02:08 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Kris Kennaway Cc: "M. Warner Losh" , current@FreeBSD.org, peter@FreeBSD.org Subject: Re: stdout changes break some ports References: <20020324173513.A75429@xor.obsecurity.org> <20020324.184313.30925676.imp@village.org> <20020324175436.A75804@xor.obsecurity.org> <20020330224648.A93819@xor.obsecurity.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Kris Kennaway wrote: > How does one fix this in a library? I've been moving the > initialization to main() for applications. Use assembly glue to put it in a linker set that gets pulled in by the .init code. This will only work for user space code, since it depends in the crt0 treating it like a C++ binary (linker sets are a C++ feature which FreeBSD uses all over anyway). I'm not totally convinced this is really the way to fix this, since I'm not totally convinced that this isn't an introduced problem, rather than a real problem (e.g. perhaps the stdio changes were not completely and totally well thought out, if how to handle this problem wasn't part of the changes). If it's now a requirement, it's very tempting to put the code in the entry code, before it even calls "main" (e.g. in crt0 proper, rather than in a linker set crt0 knows about). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 31 0: 5:51 2002 Delivered-To: freebsd-current@freebsd.org Received: from gull.prod.itd.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by hub.freebsd.org (Postfix) with ESMTP id BC99037B41A; Sun, 31 Mar 2002 00:05:48 -0800 (PST) Received: from pool0142.cvx22-bradley.dialup.earthlink.net ([209.179.198.142] helo=mindspring.com) by gull.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16raLT-00000z-00; Sun, 31 Mar 2002 00:05:47 -0800 Message-ID: <3CA6C341.AF6D3FDD@mindspring.com> Date: Sun, 31 Mar 2002 00:05:21 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Michael Smith Cc: Alfred Perlstein , scott_long@btc.adaptec.com, mark_salyzyn@adaptec.com, obrien@freebsd.org, current@freebsd.org Subject: Re: asr can not map memory? References: <200203310801.g2V81Dc03587@mass.dis.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Michael Smith wrote: > > What's the basis of the assumption that the I/O range is > > unsupported in the first place, and why isn't it true for this > > bridge chip, if it's a valid assumption for others? > > The information was provided in the debugging output and code that Alfred > supplied in earlier messages. The short answer is "programmer error". > > You're walking into another conversation with insufficient context. 8) Hey, I'll always sit still for someone willing to give me context... 8-). I was thinking it would be easier to get enough info to Alfred, and let the patch pop out there. 8-) 8-). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 31 0:19: 3 2002 Delivered-To: freebsd-current@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 6ACD337B400; Sun, 31 Mar 2002 00:19:01 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id 28B95AE027; Sun, 31 Mar 2002 00:19:01 -0800 (PST) Date: Sun, 31 Mar 2002 00:19:01 -0800 From: Alfred Perlstein To: Terry Lambert Cc: Michael Smith , scott_long@btc.adaptec.com, mark_salyzyn@adaptec.com, obrien@freebsd.org, current@freebsd.org Subject: Re: asr can not map memory? Message-ID: <20020331081901.GM93885@elvis.mu.org> References: <200203310801.g2V81Dc03587@mass.dis.org> <3CA6C341.AF6D3FDD@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3CA6C341.AF6D3FDD@mindspring.com> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Terry Lambert [020331 00:05] wrote: > Michael Smith wrote: > > > What's the basis of the assumption that the I/O range is > > > unsupported in the first place, and why isn't it true for this > > > bridge chip, if it's a valid assumption for others? > > > > The information was provided in the debugging output and code that Alfred > > supplied in earlier messages. The short answer is "programmer error". > > > > You're walking into another conversation with insufficient context. 8) > > Hey, I'll always sit still for someone willing to give me context... > 8-). > > I was thinking it would be easier to get enough info to Alfred, > and let the patch pop out there. 8-) 8-). Issue is that there's something wonky with the PCI code such that it doesn't realize that the bus hanging off of a bus wants another memory range outside the PCI device's range. I wonder if there should be a flag to allow this? Some sort of escape mechanism? I need sleep. :) -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 31 0:22:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from avocet.prod.itd.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id 0ADCC37B417; Sun, 31 Mar 2002 00:22:33 -0800 (PST) Received: from pool0142.cvx22-bradley.dialup.earthlink.net ([209.179.198.142] helo=mindspring.com) by avocet.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16rabV-00021H-00; Sun, 31 Mar 2002 00:22:21 -0800 Message-ID: <3CA6C723.6318B80E@mindspring.com> Date: Sun, 31 Mar 2002 00:21:55 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Kris Kennaway , "M. Warner Losh" , current@FreeBSD.org, peter@FreeBSD.org Subject: Re: stdout changes break some ports References: <20020324173513.A75429@xor.obsecurity.org> <20020324.184313.30925676.imp@village.org> <20020324175436.A75804@xor.obsecurity.org> <20020330224648.A93819@xor.obsecurity.org> <3CA6C280.F41FBB55@mindspring.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Terry Lambert wrote: > Kris Kennaway wrote: > > How does one fix this in a library? I've been moving the > > initialization to main() for applications. > > Use assembly glue to put it in a linker set that gets pulled > in by the .init code. > > This will only work for user space code, since it depends in > the crt0 treating it like a C++ binary (linker sets are a C++ > feature which FreeBSD uses all over anyway). Realizing that I think this is the wrong way to fix this problem, add the following to your library: foo.c: #include static void run_before_main(void) { ... /* my crap */ } TEXT_SET(__CTOR_LIST__, run_before_main); If you want something run on rundown, use: TEXT_SET(__DTOR_LIST__, run_after_main); (or just use atexit(3), if you can live with the registration polluting your source code). Doing the code this way will guarantee that your code will work on any FreeBSD supported platform where C++ works. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 31 0:25:45 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by hub.freebsd.org (Postfix) with ESMTP id 668B137B400 for ; Sun, 31 Mar 2002 00:25:43 -0800 (PST) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id g2V8Pf4t485992; Sun, 31 Mar 2002 03:25:41 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20020330224648.A93819@xor.obsecurity.org> References: <20020324173513.A75429@xor.obsecurity.org> <20020324.184313.30925676.imp@village.org> <20020324175436.A75804@xor.obsecurity.org> <20020330224648.A93819@xor.obsecurity.org> Date: Sun, 31 Mar 2002 03:25:41 -0500 To: Kris Kennaway From: Garance A Drosihn Subject: Re: stdout changes break some ports Cc: current@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 10:46 PM -0800 3/30/02, Kris Kennaway wrote: >On Sun, Mar 24, 2002 at 05:54:36PM -0800, Kris Kennaway wrote: > > On Sun, Mar 24, 2002 at 06:43:13PM -0700, M. Warner Losh wrote: > > > No. This isn't something that is guaranteed to work per > > > the standards, iirc. The proper fix is to put the > > > initializer in main. > > >> OK. Someone needs to go and fix those 84 ports then. > >How does one fix this in a library? I've been moving the >initialization to main() for applications. If all else fails, have some global static variable, and check the value in the routine(s) which care. if the flag variable is still zero, then initialize the stdout variable and change the flag variable to 1. I imagine there's plenty of smarter ways to do it though. -- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 31 0:28:22 2002 Delivered-To: freebsd-current@freebsd.org Received: from avocet.prod.itd.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id B029737B419; Sun, 31 Mar 2002 00:28:16 -0800 (PST) Received: from pool0142.cvx22-bradley.dialup.earthlink.net ([209.179.198.142] helo=mindspring.com) by avocet.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16rahD-0004o3-00; Sun, 31 Mar 2002 00:28:15 -0800 Message-ID: <3CA6C885.AA88C967@mindspring.com> Date: Sun, 31 Mar 2002 00:27:49 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Alfred Perlstein Cc: Michael Smith , scott_long@btc.adaptec.com, mark_salyzyn@adaptec.com, obrien@freebsd.org, current@freebsd.org Subject: Re: asr can not map memory? References: <200203310801.g2V81Dc03587@mass.dis.org> <3CA6C341.AF6D3FDD@mindspring.com> <20020331081901.GM93885@elvis.mu.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Alfred Perlstein wrote: > * Terry Lambert [020331 00:05] wrote: > > Michael Smith wrote: > > > > What's the basis of the assumption that the I/O range is > > > > unsupported in the first place, and why isn't it true for this > > > > bridge chip, if it's a valid assumption for others? > > > > > > The information was provided in the debugging output and code that Alfred > > > supplied in earlier messages. The short answer is "programmer error". > > > > > > You're walking into another conversation with insufficient context. 8) > > > > Hey, I'll always sit still for someone willing to give me context... > > 8-). > > > > I was thinking it would be easier to get enough info to Alfred, > > and let the patch pop out there. 8-) 8-). > > Issue is that there's something wonky with the PCI code such that > it doesn't realize that the bus hanging off of a bus wants another > memory range outside the PCI device's range. I wonder if there > should be a flag to allow this? Some sort of escape mechanism? > > I need sleep. :) Yeah, you do. I fully understood _that_ context; I think Mike was talking about other context. It's pretty clear to me that ranges ought to be per bridge chipset, rather than global... I thought that that was what the option was working around: that they were not. The option might as well have "DO_NOT_USE_THIS_MAGIC_OPTION_" as a prefix on it, the way it was being discussed. If that's the case, then something is broken with the bridge handling code. We all await your patch, since you have hardware to demonstrate the problem and the fix... 8-) 8-) 8-). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 31 0:30:17 2002 Delivered-To: freebsd-current@freebsd.org Received: from gatesrv.RZ.UniBw-Muenchen.de (gatesrv.RZ.UniBw-Muenchen.de [137.193.11.27]) by hub.freebsd.org (Postfix) with ESMTP id 6EDDE37B41C; Sun, 31 Mar 2002 00:30:12 -0800 (PST) Received: from nemesis.informatik.unibw-muenchen.de (nemesis.Informatik.UniBw-Muenchen.de [137.193.60.30]) by gatesrv.RZ.UniBw-Muenchen.de (8.11.2/8.11.2) with ESMTP id g2V86Oe29285; Sun, 31 Mar 2002 10:06:25 +0200 (MEST) Received: from localhost (localhost.informatik.unibw-muenchen.de [127.0.0.1]) by nemesis.informatik.unibw-muenchen.de (Postfix) with ESMTP id 848A35A547; Sun, 31 Mar 2002 10:06:23 +0200 (CEST) Received: by nemesis.informatik.unibw-muenchen.de (Postfix, from userid 1001) id 82A685A545; Sun, 31 Mar 2002 10:06:22 +0200 (CEST) Date: Sun, 31 Mar 2002 10:06:22 +0200 From: Oliver Braun To: Kris Kennaway Cc: "M. Warner Losh" , current@FreeBSD.ORG, peter@FreeBSD.ORG Subject: Re: stdout changes break some ports Message-ID: <20020331080622.GA95325@nemesis.informatik.unibw-muenchen.de> Mail-Followup-To: Oliver Braun , Kris Kennaway , "M. Warner Losh" , current@FreeBSD.ORG, peter@FreeBSD.ORG References: <20020324173513.A75429@xor.obsecurity.org> <20020324.184313.30925676.imp@village.org> <20020324175436.A75804@xor.obsecurity.org> <20020330224648.A93819@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020330224648.A93819@xor.obsecurity.org> User-Agent: Mutt/1.3.28i Organization: University of the Federal Armed Forces Munich, Germany X-Mailer: Mutt http://www.mutt.org/ X-OS: FreeBSD 4.5-STABLE i386 http://www.freebsd.org/ X-Newsreader: SLRN http://www.slrn.org/ X-Uptime: 9 days X-URL: http://ist.unibw-muenchen.de/People/obraun X-Accept-Language: de en X-Location: Europe, Germany, Munich X-Editor: Vim-601 http://www.vim.org/ X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Kris Kennaway [2002-03-31 08:48]: > On Sun, Mar 24, 2002 at 05:54:36PM -0800, Kris Kennaway wrote: > > On Sun, Mar 24, 2002 at 06:43:13PM -0700, M. Warner Losh wrote: > > > > > : David O'Brien committed a workaround to the clog port yesterday to > > > : move the initializer to main() instead of trying to do it statically. > > > : > > > : Is this something which is supposed to work? > > > > > > No. This isn't something that is guaranteed to work per the > > > standards, iirc. The proper fix is to put the initializer in main. > > > > OK. Someone needs to go and fix those 84 ports then. > How does one fix this in a library? I've been moving the > initialization to main() for applications. Unfortunately it is not so straight forward. IMO, the best solution is to initialise to NULL and test for this when called and change them to stdin and stdout where necessary. This is a little overhead but the cleanest way IMO. I heard of the possibility to do things like static FILE*fpout=NULL; #define fp (fpout?fpout:stdout) But I never tested this. I can help you a little bit changing this in the concerning libraries, if you want, since this seems to be a lot of work. Regards, Olli -- Department of Computing Science Federal Armed Forces University Munich http://ist.unibw-muenchen.de/People/obraun/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 31 0:33:25 2002 Delivered-To: freebsd-current@freebsd.org Received: from avocet.prod.itd.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id 5800337B417 for ; Sun, 31 Mar 2002 00:33:23 -0800 (PST) Received: from pool0142.cvx22-bradley.dialup.earthlink.net ([209.179.198.142] helo=mindspring.com) by avocet.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16ram7-00077f-00; Sun, 31 Mar 2002 00:33:20 -0800 Message-ID: <3CA6C9B6.D9F6614B@mindspring.com> Date: Sun, 31 Mar 2002 00:32:54 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Garance A Drosihn Cc: Kris Kennaway , current@FreeBSD.ORG Subject: Re: stdout changes break some ports References: <20020324173513.A75429@xor.obsecurity.org> <20020324.184313.30925676.imp@village.org> <20020324175436.A75804@xor.obsecurity.org> <20020330224648.A93819@xor.obsecurity.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Garance A Drosihn wrote: > >How does one fix this in a library? I've been moving the > >initialization to main() for applications. > > If all else fails, have some global static variable, and check > the value in the routine(s) which care. if the flag variable > is still zero, then initialize the stdout variable and change > the flag variable to 1. > > I imagine there's plenty of smarter ways to do it though. The smartest way would be to have "all zeros" be the correct default for the initial state data. The next smartest way would be to pick the first zeroed value as an "initialized" variable, and check it each time, setting it to 1, once the initialization has taken place. The next smartest way would be to treat it as if it were a static class declaration that needed to be automatically constructed before it could be used (see the code for this in my previous posting). This one is kind of a tossup, since it gets the extra check out of the main path, but relies on weird glue code. The least smartest way would be to create an init function which had to be called by main() before you could use stdio, unlike all other UNIX systems on the planet. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 31 2:13:30 2002 Delivered-To: freebsd-current@freebsd.org Received: from mass.dis.org (dhcp45-24.dis.org [216.240.45.24]) by hub.freebsd.org (Postfix) with ESMTP id C6FF137B41A; Sun, 31 Mar 2002 02:13:26 -0800 (PST) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.6/8.11.6) with ESMTP id g2VACOc04299; Sun, 31 Mar 2002 02:12:24 -0800 (PST) (envelope-from msmith@mass.dis.org) Message-Id: <200203311012.g2VACOc04299@mass.dis.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Terry Lambert Cc: Alfred Perlstein , Michael Smith , scott_long@btc.adaptec.com, mark_salyzyn@adaptec.com, obrien@freebsd.org, current@freebsd.org Subject: Re: asr can not map memory? In-reply-to: Your message of "Sun, 31 Mar 2002 00:27:49 PST." <3CA6C885.AA88C967@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 31 Mar 2002 02:12:24 -0800 From: Michael Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Yeah, you do. I fully understood _that_ context; I think Mike > was talking about other context. It's pretty clear to me that > ranges ought to be per bridge chipset, rather than global... I > thought that that was what the option was working around: that > they were not. I can't imagine how you came to this conclusion. You won't get it from reading the code, or from understanding how PCI works. Maybe you need sleep too. The problem is twofold: - The code is broken, it fails to take into account both prefetched and non-prefetched bridge mappings. It also appears to miscompute the start of one of the attempted range accesses. - There is anecdotal evidence that some bridges pass ranges other than those advertised in their mappings, so even if the first problem is resolved, enforcing correctness may result in occasional lossage. And, since you ask, the whole reason behind having this code in the first place is that we need to be able to correctly assign resources for devices behind bridges. I got run over by a car last time I worked on this code. Time for someone else to pick it up. = Mike -- To announce that there must be no criticism of the president, or that we are to stand by the president, right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public. - Theodore Roosevelt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 31 2:38:47 2002 Delivered-To: freebsd-current@freebsd.org Received: from smtpzilla1.xs4all.nl (smtpzilla1.xs4all.nl [194.109.127.137]) by hub.freebsd.org (Postfix) with ESMTP id CFC5737B400 for ; Sun, 31 Mar 2002 02:38:40 -0800 (PST) Received: from router.hackerheaven.org (ipv6.hackerheaven.org [80.126.0.97]) by smtpzilla1.xs4all.nl (8.12.0/8.12.0) with ESMTP id g2VAcXUj045541; Sun, 31 Mar 2002 12:38:36 +0200 (CEST) Received: from loki.ipv6.hackerheaven.org (loki.ipv6.hackerheaven.org [10.0.0.12]) by router.hackerheaven.org (Postfix) with ESMTP id 984011C05; Sun, 31 Mar 2002 12:37:47 +0200 (CEST) Subject: Re: kldxref problem From: Emiel Kollof To: Terry Lambert Cc: Doug White , "A.Z." , freebsd-current@FreeBSD.ORG In-Reply-To: <3CA6BFE4.8296DF74@mindspring.com> References: <20020330205329.D51062-100000@resnet.uoregon.edu> <3CA6BFE4.8296DF74@mindspring.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-5g0nAbT2alwveyEEOC/3" X-Mailer: Evolution/1.0.2 Date: 31 Mar 2002 12:38:24 +0200 Message-Id: <1017571105.901.4.camel@loki.ipv6.hackerheaven.org> Mime-Version: 1.0 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-5g0nAbT2alwveyEEOC/3 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2002-03-31 at 09:51, Terry Lambert wrote: >=20 > Perhaps if the kernel printf also "ignored" the request to print > the little S.O.B. out, there would be less confusion... I'm still sticking to the idea that one could test for kldxref, and if it isn't there, don't execute it. [ -x /usr/sbin/kldxref ] && /usr/sbin/kldxref like so, which is perfectly sane bourne shell syntax, which is also used by BSD make. Like someone else says, work around it or deal with the users that don't get the (ignored) part. Just my .02 Euro's Cheers, Emiel --=-5g0nAbT2alwveyEEOC/3 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (NetBSD) Comment: For info see http://www.gnupg.org iD8DBQA8puceXhj4b9ZSY0oRAnNrAJ9ic8RQH+J23LPNWNDz6hYd8Xg57wCfeXdh P/UlDqRbZ/OoRDQ+vfCVF4E= =PSUU -----END PGP SIGNATURE----- --=-5g0nAbT2alwveyEEOC/3-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 31 2:39: 3 2002 Delivered-To: freebsd-current@freebsd.org Received: from magic.adaptec.com (magic.adaptec.com [208.236.45.80]) by hub.freebsd.org (Postfix) with ESMTP id 1F8B837B405; Sun, 31 Mar 2002 02:38:52 -0800 (PST) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.10.2+Sun/8.10.2) with ESMTP id g2VAcpj23388; Sun, 31 Mar 2002 02:38:51 -0800 (PST) Received: from btc.btc.adaptec.com (btc.btc.adaptec.com [162.62.64.10]) by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id CAA11610; Sun, 31 Mar 2002 02:38:50 -0800 (PST) Received: from hollin.btc.adaptec.com (hollin [162.62.149.56]) by btc.btc.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id DAA13392; Sun, 31 Mar 2002 03:38:48 -0700 (MST) Received: (from scottl@localhost) by hollin.btc.adaptec.com (8.11.6/8.11.6) id g2VAaRb06728; Sun, 31 Mar 2002 03:36:27 -0700 (MST) (envelope-from scottl) Date: Sun, 31 Mar 2002 03:36:27 -0700 From: Scott Long To: Michael Smith Cc: Alfred Perlstein , mark_salyzyn@adaptec.com, obrien@freebsd.org, current@freebsd.org Subject: Re: asr can not map memory? Message-ID: <20020331103626.GA6574@hollin.btc.adaptec.com> References: <20020331061626.GJ93885@elvis.mu.org> <200203310628.g2V6S5c03023@mass.dis.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200203310628.g2V6S5c03023@mass.dis.org> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Mar 30, 2002 at 10:28:05PM -0800, Michael Smith wrote: > > > > This avoids a panic when probing, there's probably still some > > badness going on with make/destroy dev in this driver. > > Pending commentary from Scott, I think you should commit this. Yes, there is a lot of evilness in the asr driver. A whole lot. The original author does not have time/desire to maintain it, so obrien volunteered to take over maintainership. I suspect that real life (or a different cool project, like sparc64) has intruded on his plans to do so, and I don't really blame him =-). I give my blessing to anyone who is brave/stupid enough to want to touch this driver. Fix it, delete it, use it in pagan rituals, even let JMjr touch it, I really don't care. > > > Should I hold onto this card or should I suck it up and get > > a 3ware online somewhere? Be a man and buy a SCSI RAID controller. The Adaptec 5400S is all you'll ever need =-) Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 31 2:43:29 2002 Delivered-To: freebsd-current@freebsd.org Received: from mass.dis.org (dhcp45-24.dis.org [216.240.45.24]) by hub.freebsd.org (Postfix) with ESMTP id 62D6437B405; Sun, 31 Mar 2002 02:43:24 -0800 (PST) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.6/8.11.6) with ESMTP id g2VAgPc04463; Sun, 31 Mar 2002 02:42:25 -0800 (PST) (envelope-from msmith@mass.dis.org) Message-Id: <200203311042.g2VAgPc04463@mass.dis.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Scott Long Cc: Michael Smith , Alfred Perlstein , mark_salyzyn@adaptec.com, obrien@freebsd.org, current@freebsd.org Subject: Re: asr can not map memory? In-reply-to: Your message of "Sun, 31 Mar 2002 03:36:27 MST." <20020331103626.GA6574@hollin.btc.adaptec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 31 Mar 2002 02:42:24 -0800 From: Michael Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > > Should I hold onto this card or should I suck it up and get > > > a 3ware online somewhere? > > Be a man and buy a SCSI RAID controller. The Adaptec 5400S is > all you'll ever need =-) You will tell me where I can buy disks for $1/GB and hotswap carriers at $20 a pop, right? 8) -- To announce that there must be no criticism of the president, or that we are to stand by the president, right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public. - Theodore Roosevelt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 31 2:52: 6 2002 Delivered-To: freebsd-current@freebsd.org Received: from avocet.prod.itd.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id 7520F37B41B for ; Sun, 31 Mar 2002 02:52:01 -0800 (PST) Received: from pool0047.cvx22-bradley.dialup.earthlink.net ([209.179.198.47] helo=mindspring.com) by avocet.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16rcwC-0003vt-00; Sun, 31 Mar 2002 02:51:53 -0800 Message-ID: <3CA6EA2C.E814420C@mindspring.com> Date: Sun, 31 Mar 2002 02:51:24 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Emiel Kollof Cc: Doug White , "A.Z." , freebsd-current@FreeBSD.ORG Subject: Re: kldxref problem References: <20020330205329.D51062-100000@resnet.uoregon.edu> <3CA6BFE4.8296DF74@mindspring.com> <1017571105.901.4.camel@loki.ipv6.hackerheaven.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Emiel Kollof wrote: > On Sun, 2002-03-31 at 09:51, Terry Lambert wrote: > > Perhaps if the kernel printf also "ignored" the request to print > > the little S.O.B. out, there would be less confusion... > > I'm still sticking to the idea that one could test for kldxref, and if > it isn't there, don't execute it. > > [ -x /usr/sbin/kldxref ] && /usr/sbin/kldxref > > like so, which is perfectly sane bourne shell syntax, which is also used > by BSD make. Like someone else says, work around it or deal with the > users that don't get the (ignored) part. If failures are ignorable, then it shouldn't try, since attempts are ignorable (might as well "fail" up front by not even trying, and not generate the message, if failing's an OK thing to do). It seems to me that there are four potential cases: 1) It's not there, and it's not OK. 2) It's there, and that's fantastic. 3) It's not there, and it's not OK, but instead of stopping, the code is going to do some half job where you don't get everything, and then bitch about it in such a way that it will be hard to find the source of some failure later, if someone really cared about the failure enough that complaining about it is important in the first place. 4) It's not there, and it's OK, but the code is going to bitch about it not being there anyway because it likes to add to the amount of entropy in the universe, and this is an easy way to do it that's unlikely to get fixed. It seems to me that #3 and #4 are bad, and should be removed from the realm of allowable output. I think the "test to see if it's available" hack you suggested is #3, without the code bitching about it, which is even worse than #3 as it is. 8-(. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 31 2:59:46 2002 Delivered-To: freebsd-current@freebsd.org Received: from avocet.prod.itd.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id BC63A37B419; Sun, 31 Mar 2002 02:59:42 -0800 (PST) Received: from pool0047.cvx22-bradley.dialup.earthlink.net ([209.179.198.47] helo=mindspring.com) by avocet.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16rd3l-000713-00; Sun, 31 Mar 2002 02:59:41 -0800 Message-ID: <3CA6EC01.2878918B@mindspring.com> Date: Sun, 31 Mar 2002 02:59:13 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Michael Smith Cc: Alfred Perlstein , scott_long@btc.adaptec.com, mark_salyzyn@adaptec.com, obrien@freebsd.org, current@freebsd.org Subject: Re: asr can not map memory? References: <200203311012.g2VACOc04299@mass.dis.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Michael Smith wrote: > > Yeah, you do. I fully understood _that_ context; I think Mike > > was talking about other context. It's pretty clear to me that > > ranges ought to be per bridge chipset, rather than global... I > > thought that that was what the option was working around: that > > they were not. > > I can't imagine how you came to this conclusion. You won't get it from > reading the code, or from understanding how PCI works. Maybe you need > sleep too. I got it from assuming that reading the code didn't tell me how the code was supposed to work, because if it had, then this would never had been a discussion, because the code would always do the right thing. 8-). My 1.0 copy of the PCI-PCI bridge documentation doesn't say that what Alfred's system is doing is bad; maybe it's just outdated. > The problem is twofold: > > - The code is broken, it fails to take into account both prefetched and > non-prefetched bridge mappings. It also appears to miscompute the > start of one of the attempted range accesses. Cool... this is the bug description I was fishing for here. > - There is anecdotal evidence that some bridges pass ranges other than > those advertised in their mappings, so even if the first problem is > resolved, enforcing correctness may result in occasional lossage. This sounds like a job for a "panic: anecdotal is real!" that Alfred could jam into the code, since he has the magic hardware. > And, since you ask, the whole reason behind having this code in the > first place is that we need to be able to correctly assign resources for > devices behind bridges. Yeah; it was the "it not doing it for Alfred's weird hardware" thing that threw me off. 8-) 8-). > I got run over by a car last time I worked on this code. Time for > someone else to pick it up. Oh yeah, we're *all* going to jump on hacking that code, now that you told us it's cursed! }B^D. Alfred, since you have the hardware that can (maybe) prove the anedote real, and can demonstrably show that Mike's problem #1 is fixed, once it's fixed... care to brave the curse? -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 31 3: 0:58 2002 Delivered-To: freebsd-current@freebsd.org Received: from avocet.prod.itd.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id 7273F37B41B; Sun, 31 Mar 2002 03:00:55 -0800 (PST) Received: from pool0047.cvx22-bradley.dialup.earthlink.net ([209.179.198.47] helo=mindspring.com) by avocet.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16rd4w-0007V9-00; Sun, 31 Mar 2002 03:00:55 -0800 Message-ID: <3CA6EC4A.90A0CF76@mindspring.com> Date: Sun, 31 Mar 2002 03:00:26 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Michael Smith Cc: Scott Long , Alfred Perlstein , mark_salyzyn@adaptec.com, obrien@freebsd.org, current@freebsd.org Subject: Re: asr can not map memory? References: <200203311042.g2VAgPc04463@mass.dis.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Michael Smith wrote: > > > > Should I hold onto this card or should I suck it up and get > > > > a 3ware online somewhere? > > > > Be a man and buy a SCSI RAID controller. The Adaptec 5400S is > > all you'll ever need =-) > > You will tell me where I can buy disks for $1/GB and hotswap carriers at > $20 a pop, right? 8) The controller is all you'll ever need, because you won't be able to afford the disks or carriers... -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 31 4:10:51 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailout10.sul.t-online.com (mailout10.sul.t-online.com [194.25.134.21]) by hub.freebsd.org (Postfix) with ESMTP id 6521B37B417; Sun, 31 Mar 2002 04:10:49 -0800 (PST) Received: from fwd11.sul.t-online.de by mailout10.sul.t-online.com with smtp id 16rdxL-00014e-00; Sun, 31 Mar 2002 13:57:07 +0200 Received: from Magelan.Leidinger.net (520065502893-0001@[217.83.20.61]) by fmrl11.sul.t-online.com with esmtp id 16rdx6-08owHAC; Sun, 31 Mar 2002 13:56:52 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.2/8.12.2) with ESMTP id g2VAujFL003510; Sun, 31 Mar 2002 12:56:49 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200203311056.g2VAujFL003510@Magelan.Leidinger.net> Date: Sun, 31 Mar 2002 12:56:45 +0200 (CEST) From: Alexander Leidinger Subject: Re: 'moused' (on /dev/ums0) freezing system To: freebsd-current@FreeBSD.ORG Cc: osef Karthauser In-Reply-To: <20020330230032.GA79798@tara.freenix.org> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 31 Mär, Ollivier Robert wrote: >> I encountered a problem when using 'moused' on /dev/ums0: On shutdown >> or if 'moused' gets killed manually, the system freezes completely and >> silently, no further shutdown is possible, only the resetbutton >> operates... > > I think it is more of an USB problem than just moused. If I have loaded the > usb module (which create a usb0 kernel thread) when I do a suspend, on resume > the machine hangs. Just a data point: With a mar 12 kernel I didn't see this behavior, with a mar 27 kernel my system hangs too. Bye, Alexander. -- The best things in life are free, but the expensive ones are still worth a look. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 31 8:45: 8 2002 Delivered-To: freebsd-current@freebsd.org Received: from mile.nevermind.kiev.ua (freebsddiary.org.ua [213.186.199.26]) by hub.freebsd.org (Postfix) with ESMTP id 50FBA37B400 for ; Sun, 31 Mar 2002 08:44:59 -0800 (PST) Received: (from never@localhost) by mile.nevermind.kiev.ua (8.11.6/8.11.6) id g2VGiPp43651; Sun, 31 Mar 2002 19:44:25 +0300 (EEST) (envelope-from never) Date: Sun, 31 Mar 2002 19:44:25 +0300 From: Nevermind To: Makoto Matsushita Cc: ggombert@imatowns.com, freebsd-current@FreeBSD.ORG Subject: Re: vmware Message-ID: <20020331164425.GC35456@nevermind.kiev.ua> References: <20020201025808T.matusita@jp.FreeBSD.org> <20020203152525E.matusita@jp.FreeBSD.org> <3.0.6.32.20020203084526.00d9ce70@imatowns.com> <20020204003551J.matusita@jp.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20020204003551J.matusita@jp.FreeBSD.org> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, Makoto Matsushita! On Mon, Feb 04, 2002 at 12:35:51AM +0900, you wrote: > ggombert> VMware tools for FreeBSD is woefully out of date as well, > % cd /usr/ports/emulators/vmware-tools > % make -V PORTVERSION > 3.0.0.1455 > > VMware 3.0 bundles a new VMware tools, and it is up-to-date version as > of Linux guests. Is there any reason why we should use vmware-tools from VMware 3.x? Maybe it's better to make two different ports vmware-tools and vmware-tools3, first of which is for vmware2? -- NEVE-RIPE To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 31 9: 1:48 2002 Delivered-To: freebsd-current@freebsd.org Received: from castle.jp.FreeBSD.org (castle.jp.FreeBSD.org [210.226.20.15]) by hub.freebsd.org (Postfix) with ESMTP id 79E5E37B41F for ; Sun, 31 Mar 2002 09:01:45 -0800 (PST) Received: from localhost (localhost [::1]) by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet6 id g2VH1Qc45485; Mon, 1 Apr 2002 02:01:26 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) Cc: ggombert@imatowns.com, freebsd-current@FreeBSD.ORG In-Reply-To: <20020331164425.GC35456@nevermind.kiev.ua> References: <3.0.6.32.20020203084526.00d9ce70@imatowns.com> <20020204003551J.matusita@jp.FreeBSD.org> <20020331164425.GC35456@nevermind.kiev.ua> X-User-Agent: Mew/1.94.2 XEmacs/21.5 (bamboo) X-FaceAnim: (-O_O-)(O_O- )(_O- )(O- )(- -)( -O)( -O_)( -O_O)(-O_O-) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Dispatcher: imput version 20000228(IM140) Lines: 13 From: Makoto Matsushita To: never@nevermind.kiev.ua Subject: Re: vmware Date: Mon, 01 Apr 2002 02:01:22 +0900 Message-Id: <20020401020122M.matusita@jp.FreeBSD.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG never> Maybe it's better to make two different ports vmware-tools and never> vmware-tools3, first of which is for vmware2? Ancient ports/emulators/vmware-tools (FreeBSD native vmware-tools for VMware _1.x_) is outdated for VMware 2.x; it doesn't have time sync feature. If you're VMware 2.x user, you may want to consider to install ports/emulators/linux-vmware-toolbox. -- - Makoto `MAR' Matsushita To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 31 10:40:17 2002 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id 0886137B400 for ; Sun, 31 Mar 2002 10:40:12 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020331184008.PWER1147.rwcrmhc52.attbi.com@InterJet.elischer.org>; Sun, 31 Mar 2002 18:40:08 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id KAA10564; Sun, 31 Mar 2002 10:29:53 -0800 (PST) Date: Sun, 31 Mar 2002 10:29:52 -0800 (PST) From: Julian Elischer To: Makoto Matsushita Cc: never@nevermind.kiev.ua, ggombert@imatowns.com, freebsd-current@FreeBSD.ORG Subject: Re: vmware In-Reply-To: <20020401020122M.matusita@jp.FreeBSD.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 1 Apr 2002, Makoto Matsushita wrote: > > never> Maybe it's better to make two different ports vmware-tools and > never> vmware-tools3, first of which is for vmware2? > > Ancient ports/emulators/vmware-tools (FreeBSD native vmware-tools for > VMware _1.x_) is outdated for VMware 2.x; it doesn't have time sync > feature. > > If you're VMware 2.x user, you may want to consider to install > ports/emulators/linux-vmware-toolbox. I use the same virtual machine I made under 1.x under 2.x so it's still running the tools I installed on it under 1.x.. They work great. > > -- - > Makoto `MAR' Matsushita > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 31 13: 7:19 2002 Delivered-To: freebsd-current@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by hub.freebsd.org (Postfix) with ESMTP id 4993737B416; Sun, 31 Mar 2002 13:07:17 -0800 (PST) Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by sasami.jurai.net (8.11.6/8.11.6) with ESMTP id g2VL7GX74238; Sun, 31 Mar 2002 16:07:16 -0500 (EST) (envelope-from winter@jurai.net) Date: Sun, 31 Mar 2002 16:07:16 -0500 (EST) From: "Matthew N. Dodd" To: Michael Smith Cc: Scott Long , Alfred Perlstein , , , Subject: Re: asr can not map memory? In-Reply-To: <200203311042.g2VAgPc04463@mass.dis.org> Message-ID: <20020331160647.I45452-100000@sasami.jurai.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 31 Mar 2002, Michael Smith wrote: > You will tell me where I can buy disks for $1/GB and hotswap carriers at > $20 a pop, right? 8) eBay. :) -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | For Great Justice! | ISO8802.5 4ever | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 31 14:46: 2 2002 Delivered-To: freebsd-current@freebsd.org Received: from gyros.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by hub.freebsd.org (Postfix) with ESMTP id 7D0A037B417 for ; Sun, 31 Mar 2002 14:45:56 -0800 (PST) Received: from gyros.marcuscom.com (localhost [127.0.0.1]) by gyros.marcuscom.com (8.12.2/8.12.2) with ESMTP id g2VMjf6x079260; Sun, 31 Mar 2002 17:45:41 -0500 (EST) (envelope-from marcus@marcuscom.com) Received: (from marcus@localhost) by gyros.marcuscom.com (8.12.2/8.12.2/Submit) id g2VMjeE0079259; Sun, 31 Mar 2002 17:45:40 -0500 (EST) X-Authentication-Warning: gyros.marcuscom.com: marcus set sender to marcus@marcuscom.com using -f Subject: Re: Ports broken by OpenPAM From: Joe Marcus Clarke To: Dag-Erling Smorgrav Cc: Kris Kennaway , current@FreeBSD.ORG In-Reply-To: References: <20020325095032.F47578-100000@shumai.marcuscom.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-NYZbZeDp03Nf/lxhjne+" X-Mailer: Ximian Evolution 1.0.3 Date: 31 Mar 2002 17:45:39 -0500 Message-Id: <1017614739.266.117.camel@gyros.marcuscom.com> Mime-Version: 1.0 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-NYZbZeDp03Nf/lxhjne+ Content-Type: multipart/mixed; boundary="=-qn1F44AkQ6viw60E58EG" --=-qn1F44AkQ6viw60E58EG Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2002-03-25 at 10:00, Dag-Erling Smorgrav wrote: > Joe Clarke writes: > > Really? I never received it. Please send it again. Thanks. >=20 > Here's an updated (but untested) version. >=20 I think I found why pam_ldap wouldn't work with OpenPAM on -CURRENT.=20 Attached is my proposed patch to OpenPAM. With this applied, pam_ldap works like a champ. Joe --=20 PGP Key: http://www.marucscom.com/pgp.asc --=-qn1F44AkQ6viw60E58EG Content-Disposition: attachment; filename=openpam.diff Content-Type: text/plain; name=openpam.diff; charset=ISO8859-1 Content-Transfer-Encoding: quoted-printable Index: lib/pam_set_data.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/contrib/openpam/lib/pam_set_data.c,v retrieving revision 1.1.1.4 diff -u -r1.1.1.4 pam_set_data.c --- lib/pam_set_data.c 14 Mar 2002 20:42:06 -0000 1.1.1.4 +++ lib/pam_set_data.c 31 Mar 2002 22:43:21 -0000 @@ -77,8 +77,10 @@ free(data); return (PAM_BUF_ERR); } + dp->data =3D data; + dp->cleanup =3D cleanup dp->next =3D pamh->module_data; - pamh->module_data =3D data; + pamh->module_data =3D dp; return (PAM_SUCCESS); } =20 --=-qn1F44AkQ6viw60E58EG-- --=-NYZbZeDp03Nf/lxhjne+ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEABECAAYFAjynkZMACgkQb2iPiv4Uz4dJkACfaOUew+WBRC/MKtXGA8uU69dl k/0AnRMzftdjK+dZJzczDFvidvicQsKr =AsK5 -----END PGP SIGNATURE----- --=-NYZbZeDp03Nf/lxhjne+-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 31 17:57:36 2002 Delivered-To: freebsd-current@freebsd.org Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by hub.freebsd.org (Postfix) with ESMTP id 4558E37B41D for ; Sun, 31 Mar 2002 17:57:34 -0800 (PST) Received: from athlon.pn.xcllnt.net (athlon.pn.xcllnt.net [192.168.4.3]) by kayak.xcllnt.net (8.11.6/8.11.4) with ESMTP id g311vWb22283; Sun, 31 Mar 2002 17:57:32 -0800 (PST) (envelope-from marcel@kayak.pn.xcllnt.net) Received: from athlon.pn.xcllnt.net (localhost [127.0.0.1]) by athlon.pn.xcllnt.net (8.12.2/8.12.2) with ESMTP id g311vWEF048035; Sun, 31 Mar 2002 17:57:32 -0800 (PST) (envelope-from marcel@athlon.pn.xcllnt.net) Received: (from marcel@localhost) by athlon.pn.xcllnt.net (8.12.2/8.12.2/Submit) id g311vVbR048034; Sun, 31 Mar 2002 17:57:31 -0800 (PST) Date: Sun, 31 Mar 2002 17:57:31 -0800 From: Marcel Moolenaar To: cjclark@alum.mit.edu Cc: current@FreeBSD.ORG Subject: Re: Installing Cross Builds Message-ID: <20020401015731.GA43494@athlon.pn.xcllnt.net> References: <20020329131017.W97841@blossom.cjclark.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020329131017.W97841@blossom.cjclark.org> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Mar 29, 2002 at 01:10:17PM -0800, Crist J. Clark wrote: > After reviewing the world Makefiles, it sure looks like FreeBSD does > not support 'installworld' of a cross build? Running installworld on machine X, when you did a cross-build for machine X on machine Y is broken. All other cases should work, AFACT. The brokenness is directly caused by inconsistent setting of OBJTREE. This is indirectly caused make release, for make release expects the object tree to be under /usr/obj and not /usr/obj/${TARGET_ARCH}. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 31 19:39:38 2002 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id EB41937B400 for ; Sun, 31 Mar 2002 19:39:34 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020401033934.DPIQ1147.rwcrmhc52.attbi.com@blossom.cjclark.org>; Mon, 1 Apr 2002 03:39:34 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g313dXA12002; Sun, 31 Mar 2002 19:39:33 -0800 (PST) (envelope-from cjc) Date: Sun, 31 Mar 2002 19:39:33 -0800 From: "Crist J. Clark" To: Marcel Moolenaar Cc: current@FreeBSD.ORG Subject: Re: Installing Cross Builds Message-ID: <20020331193932.K99214@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <20020329131017.W97841@blossom.cjclark.org> <20020401015731.GA43494@athlon.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020401015731.GA43494@athlon.pn.xcllnt.net>; from marcel@xcllnt.net on Sun, Mar 31, 2002 at 05:57:31PM -0800 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Mar 31, 2002 at 05:57:31PM -0800, Marcel Moolenaar wrote: > On Fri, Mar 29, 2002 at 01:10:17PM -0800, Crist J. Clark wrote: > > After reviewing the world Makefiles, it sure looks like FreeBSD does > > not support 'installworld' of a cross build? > > Running installworld on machine X, when you did a cross-build for > machine X on machine Y is broken. All other cases should work, > AFACT. > > The brokenness is directly caused by inconsistent setting of OBJTREE. > This is indirectly caused make release, for make release expects the > object tree to be under /usr/obj and not /usr/obj/${TARGET_ARCH}. Well, the more direct reason for the breakage is caused by the fact that the PATH during install is, ${WORLDTMP}/usr/sbin:${WORLDTMP}/usr/bin:${WORLDTMP}/usr/games:${INSTALLTMP} Which is usually ${OBJTREE}${.CURDIR}/${MACHINE_ARCH}. But that directory doesn't exist. (Or is that what you are saying?) If you fix that, there is the same issue with ${OBJFORMAT_PATH}. Once you fix that, you have shared lib problems. (I've never quite figured out what ${INSTALLTMP} is even there for.) -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 31 20:21:41 2002 Delivered-To: freebsd-current@freebsd.org Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by hub.freebsd.org (Postfix) with ESMTP id BEBCD37B41B for ; Sun, 31 Mar 2002 20:21:35 -0800 (PST) Received: from athlon.pn.xcllnt.net (athlon.pn.xcllnt.net [192.168.4.3]) by kayak.xcllnt.net (8.11.6/8.11.4) with ESMTP id g314LXb22672; Sun, 31 Mar 2002 20:21:33 -0800 (PST) (envelope-from marcel@kayak.pn.xcllnt.net) Received: from athlon.pn.xcllnt.net (localhost [127.0.0.1]) by athlon.pn.xcllnt.net (8.12.2/8.12.2) with ESMTP id g314LXEF067674; Sun, 31 Mar 2002 20:21:33 -0800 (PST) (envelope-from marcel@athlon.pn.xcllnt.net) Received: (from marcel@localhost) by athlon.pn.xcllnt.net (8.12.2/8.12.2/Submit) id g314LXif067673; Sun, 31 Mar 2002 20:21:33 -0800 (PST) Date: Sun, 31 Mar 2002 20:21:33 -0800 From: Marcel Moolenaar To: cjclark@alum.mit.edu Cc: current@FreeBSD.ORG Subject: Re: Installing Cross Builds Message-ID: <20020401042133.GA66499@athlon.pn.xcllnt.net> References: <20020329131017.W97841@blossom.cjclark.org> <20020401015731.GA43494@athlon.pn.xcllnt.net> <20020331193932.K99214@blossom.cjclark.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020331193932.K99214@blossom.cjclark.org> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Mar 31, 2002 at 07:39:33PM -0800, Crist J. Clark wrote: > On Sun, Mar 31, 2002 at 05:57:31PM -0800, Marcel Moolenaar wrote: > > On Fri, Mar 29, 2002 at 01:10:17PM -0800, Crist J. Clark wrote: > > > After reviewing the world Makefiles, it sure looks like FreeBSD does > > > not support 'installworld' of a cross build? > > > > Running installworld on machine X, when you did a cross-build for > > machine X on machine Y is broken. All other cases should work, > > AFACT. > > > > The brokenness is directly caused by inconsistent setting of OBJTREE. > > This is indirectly caused make release, for make release expects the > > object tree to be under /usr/obj and not /usr/obj/${TARGET_ARCH}. > > Well, the more direct reason for the breakage is caused by the fact > that the PATH during install is, > > ${WORLDTMP}/usr/sbin:${WORLDTMP}/usr/bin:${WORLDTMP}/usr/games:${INSTALLTMP} > > Which is usually ${OBJTREE}${.CURDIR}/${MACHINE_ARCH}. But that > directory doesn't exist. (Or is that what you are saying?) It's not what I was saying, but you're right. I ran into this as well. See below. What I was saying is that a native build populates /usr/obj/, but a cross build populates /usr/obj//. It would be more consistent to always populate /usr/obj/, and fix make release. > If you fix > that, there is the same issue with ${OBJFORMAT_PATH}. Once you fix > that, you have shared lib problems. (I've never quite figured out what > ${INSTALLTMP} is even there for.) The fix would be to populate WORLDTMP, or otherwise make sure those binaries are in INSTALLTMP as well. The reason for INSTALLTMP is to avoid pulling the rug from under your feet when you have a single pass upgrade. We don't have that (yet?). We tell people to install a new kernel, reboot and then run installworld. A single pass upgrade would save enough programs and libraries to complete the upgrade and then do a reboot. Another problem is parallelism. You may run into the situation that you both install and run the same binary. This can cause breakages. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 31 21:14:22 2002 Delivered-To: freebsd-current@freebsd.org Received: from rahl.dorm.duke.edu (rahl.dorm.duke.edu [152.16.249.139]) by hub.freebsd.org (Postfix) with ESMTP id 5EE3437B41C for ; Sun, 31 Mar 2002 21:14:18 -0800 (PST) Received: (from scott@localhost) by rahl.dorm.duke.edu (8.11.6/8.11.6) id g315ERj65959 for freebsd-current@freebsd.org; Mon, 1 Apr 2002 00:14:27 -0500 (EST) (envelope-from scott) Message-Id: <200204010514.g315ERj65959@rahl.dorm.duke.edu> Content-Type: text/plain; charset="iso-8859-1" From: Scott Sipe To: freebsd-current@freebsd.org Subject: Build Error Date: Mon, 1 Apr 2002 00:14:27 -0500 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG When doing buildworld on current from a couple hours ago. This is an alpha, if that makes a difference. This is my first time compiling current (currently running stable), so apologies if this is something that is my fault. The error: ===> sbin/savecore make: don't know how to make savekerneldump.c. Stop *** Error code 2 Stop in /usr/src/sbin. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 The Makefile (which doesn't seem ok): # $FreeBSD: src/sbin/savecore/Makefile,v 1.8 2002/03/31 22:26:56 phk Exp $ PROG= savekerneldump WARNS= 4 NOMAN= sorry, not yet. LDADD= -lmd .include I tried making it similar to the Makefile for savecore from STABLE, but it still wouldn't compile (undefined consts/defines I believe). thanks, Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 31 23: 2:34 2002 Delivered-To: freebsd-current@freebsd.org Received: from kylebutt.dorms.usu.edu (kylebutt.dorms.usu.edu [129.123.231.119]) by hub.freebsd.org (Postfix) with ESMTP id B121B37B41F for ; Sun, 31 Mar 2002 23:02:27 -0800 (PST) Received: from kylebutt.dorms.usu.edu (271d9de03ae98eb8cf1bd2c5af31a8b9@localhost [127.0.0.1]) by kylebutt.dorms.usu.edu (8.12.2/8.12.2) with ESMTP id g319NGkc022141; Mon, 1 Apr 2002 02:23:18 -0700 (MST) (envelope-from kylebutt@myrealbox.com) Date: Mon, 01 Apr 2002 02:23:16 -0700 Message-ID: <87bsd3kc1n.wl@kylebutt.dorms.usu.edu> From: Kyle Butt To: Poul-Henning Kamp Cc: David Malone , Kyle Butt , freebsd-current@FreeBSD.ORG Subject: Re: Superfast clock on current. In-Reply-To: <31213.1017482567@critter.freebsd.dk> References: <1228.1017152957@critter.freebsd.dk> <31213.1017482567@critter.freebsd.dk> User-Agent: Wanderlust/2.8.1 (Something) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.1 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At Sat, 30 Mar 2002 11:02:47 +0100, Poul-Henning Kamp wrote: > > In message <1228.1017152957@critter.freebsd.dk>, Poul-Henning Kamp writes: > >In message <20020326100455.GA37656@walton.maths.tcd.ie>, David Malone writes: > >>On Tue, Mar 26, 2002 at 09:59:29AM +0100, Poul-Henning Kamp wrote: > >>> This is an interesting machine: A K6 wiht ACPI, havn't seen that > >>> before. > >> > >>I had one of these machines and concluded that the ACPI time counter > >>was busted. I dunno if it is possible to sanity check the time > >>counter before using it? I just switched to using the TSC early in > >>boot and forgot about it. > > > >That is what I try to do, and I recently rewrote the code in current > >for that exact reason, so I'm very interested in seeing the diagnostic > >output (boot -v) from a -current kernel on these motherboards. > > I've stared at the data file and I'll be damned if I can find anything > which would case the clock to double its speed :-( Perhaps something else is causing the clock to run twice as fast? Maybe two things that are working properly are both incrementing the clock? > > -- > 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-current" in the body of the message From owner-freebsd-current Sun Mar 31 23:20: 1 2002 Delivered-To: freebsd-current@freebsd.org Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by hub.freebsd.org (Postfix) with ESMTP id 3392E37B41A for ; Sun, 31 Mar 2002 23:19:57 -0800 (PST) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by kayak.xcllnt.net (8.11.6/8.11.4) with ESMTP id g317Jtb22989; Sun, 31 Mar 2002 23:19:55 -0800 (PST) (envelope-from marcel@kayak.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.2/8.12.2) with ESMTP id g317JwU8054845; Sun, 31 Mar 2002 23:19:59 -0800 (PST) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.2/8.12.2/Submit) id g317Jvle054835; Sun, 31 Mar 2002 23:19:57 -0800 (PST) Date: Sun, 31 Mar 2002 23:19:56 -0800 From: Marcel Moolenaar To: Scott Sipe Cc: freebsd-current@FreeBSD.ORG Subject: Re: Build Error Message-ID: <20020401071956.GA31656@dhcp01.pn.xcllnt.net> References: <200204010514.g315ERj65959@rahl.dorm.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200204010514.g315ERj65959@rahl.dorm.duke.edu> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Apr 01, 2002 at 12:14:27AM -0500, Scott Sipe wrote: > When doing buildworld on current from a couple hours ago. This is an alpha, > if that makes a difference. This is my first time compiling current > (currently running stable), so apologies if this is something that is my > fault. I just applied the following patch. I think this is what the fix is going to look like anyway. Index: Makefile =================================================================== RCS file: /home/ncvs/src/sbin/savecore/Makefile,v retrieving revision 1.8 diff -u -r1.8 Makefile --- Makefile 31 Mar 2002 22:26:56 -0000 1.8 +++ Makefile 1 Apr 2002 06:40:18 -0000 @@ -1,5 +1,5 @@ # $FreeBSD: src/sbin/savecore/Makefile,v 1.8 2002/03/31 22:26:56 phk Exp $ -PROG= savekerneldump +PROG= savecore WARNS= 4 NOMAN= sorry, not yet. LDADD= -lmd -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 0:36:40 2002 Delivered-To: freebsd-current@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id C425D37B41B for ; Mon, 1 Apr 2002 00:36:38 -0800 (PST) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g318abYm090226; Mon, 1 Apr 2002 00:36:37 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g318ZLaG088496; Mon, 1 Apr 2002 00:35:21 -0800 (PST) Date: Mon, 1 Apr 2002 00:35:21 -0800 From: "David O'Brien" To: Emiel Kollof Cc: freebsd-current@FreeBSD.ORG Subject: Re: kldxref problem Message-ID: <20020401003521.A88395@dragon.nuxi.com> Reply-To: freebsd-current@FreeBSD.ORG References: <20020330205329.D51062-100000@resnet.uoregon.edu> <3CA6BFE4.8296DF74@mindspring.com> <1017571105.901.4.camel@loki.ipv6.hackerheaven.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1017571105.901.4.camel@loki.ipv6.hackerheaven.org>; from coolvibe@hackerheaven.org on Sun, Mar 31, 2002 at 12:38:24PM +0200 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Mar 31, 2002 at 12:38:24PM +0200, Emiel Kollof wrote: > On Sun, 2002-03-31 at 09:51, Terry Lambert wrote: > > > > > Perhaps if the kernel printf also "ignored" the request to print > > the little S.O.B. out, there would be less confusion... > > I'm still sticking to the idea that one could test for kldxref, and if > it isn't there, don't execute it. > > [ -x /usr/sbin/kldxref ] && /usr/sbin/kldxref > > like so, which is perfectly sane bourne shell syntax, which is also used > by BSD make. Not really. Use: : rule1 rule2 .if exists(/usr/sbin/kldxref) /usr/sbin/kldxref .endif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 1:24: 8 2002 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id 2473037B41B for ; Mon, 1 Apr 2002 01:24:05 -0800 (PST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.2/8.12.2) with ESMTP id g319Nc4F003055; Mon, 1 Apr 2002 11:23:38 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Kyle Butt Cc: David Malone , freebsd-current@FreeBSD.ORG Subject: Re: Superfast clock on current. In-Reply-To: Your message of "Mon, 01 Apr 2002 02:23:16 PDT." <87bsd3kc1n.wl@kylebutt.dorms.usu.edu> Date: Mon, 01 Apr 2002 11:23:38 +0200 Message-ID: <3054.1017653018@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <87bsd3kc1n.wl@kylebutt.dorms.usu.edu>, Kyle Butt writes: >> I've stared at the data file and I'll be damned if I can find anything >> which would case the clock to double its speed :-( > >Perhaps something else is causing the clock to run twice as fast? >Maybe two things that are working properly are both incrementing >the clock? Well, obviously something causes it, but I have no idea what at this moment. -- 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-current" in the body of the message From owner-freebsd-current Mon Apr 1 3:39:45 2002 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 3D0AB37B400 for ; Mon, 1 Apr 2002 03:39:42 -0800 (PST) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 200E55346; Mon, 1 Apr 2002 13:39:41 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Joe Marcus Clarke Cc: Kris Kennaway , current@FreeBSD.ORG Subject: Re: Ports broken by OpenPAM References: <20020325095032.F47578-100000@shumai.marcuscom.com> <1017614739.266.117.camel@gyros.marcuscom.com> From: Dag-Erling Smorgrav Date: 01 Apr 2002 13:39:40 +0200 In-Reply-To: <1017614739.266.117.camel@gyros.marcuscom.com> Message-ID: Lines: 10 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Joe Marcus Clarke writes: > I think I found why pam_ldap wouldn't work with OpenPAM on -CURRENT. > Attached is my proposed patch to OpenPAM. With this applied, pam_ldap > works like a champ. But of course! Thank you very much, that was a stupid braino. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 3:40:46 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84]) by hub.freebsd.org (Postfix) with ESMTP id 9AA7937B405; Mon, 1 Apr 2002 03:40:38 -0800 (PST) Received: from fwd00.sul.t-online.de by mailout09.sul.t-online.com with smtp id 16rzzT-0005GO-05; Mon, 01 Apr 2002 13:28:47 +0200 Received: from Magelan.Leidinger.net (520065502893-0001@[217.229.208.87]) by fmrl00.sul.t-online.com with esmtp id 16rzzH-2I3PSCC; Mon, 1 Apr 2002 13:28:35 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.2/8.12.2) with ESMTP id g31BSN9X017129; Mon, 1 Apr 2002 13:28:27 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200204011128.g31BSN9X017129@Magelan.Leidinger.net> Date: Mon, 1 Apr 2002 13:28:23 +0200 (CEST) From: Alexander Leidinger Subject: Re: LINT compiled with icc To: jmallett@FreeBSD.ORG Cc: green@FreeBSD.ORG, sw@anthologeek.net, current@FreeBSD.ORG In-Reply-To: <200203271718.g2RHIDh3067794@Magelan.Leidinger.net> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 27 Mär, I wrote: > The compressed log is at > http://www.leidnger.net/FreeBSD/LINT_with_icc_20020327.log.bz2 (71k), > it's about 3MB uncompressed. There's a new log in the FreeBSD directory. It's generated with the new portrevision of icc. A lot more errors, ~7 MB uncompressed. Bye, Alexander. -- Loose bits sink chips. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 5:55: 1 2002 Delivered-To: freebsd-current@freebsd.org Received: from magic.adaptec.com (magic.adaptec.com [208.236.45.80]) by hub.freebsd.org (Postfix) with ESMTP id 3DCDF37B41F; Mon, 1 Apr 2002 05:54:50 -0800 (PST) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.10.2+Sun/8.10.2) with ESMTP id g31Dsnj18879; Mon, 1 Apr 2002 05:54:49 -0800 (PST) Received: from OTCEXC01.otc.adaptec.com (otcexc01.otc.adaptec.com [10.12.1.27]) by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id FAA06372; Mon, 1 Apr 2002 05:54:48 -0800 (PST) Received: by otcexc01.otc.adaptec.com with Internet Mail Service (5.5.2653.19) id ; Mon, 1 Apr 2002 08:55:04 -0500 Message-ID: From: "Salyzyn, Mark" To: "Long, Scott" , Michael Smith Cc: Alfred Perlstein , "Salyzyn, Mark" , obrien@freebsd.org, current@freebsd.org Subject: RE: asr can not map memory? Date: Mon, 1 Apr 2002 08:55:03 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > On Sat, Mar 30, 2002 at 10:28:05PM -0800, Michael Smith wrote: > > > This avoids a panic when probing, there's probably still some > > > badness going on with make/destroy dev in this driver. > > Pending commentary from Scott, I think you should commit this. > Yes, there is a lot of evilness in the asr driver. A whole lot. The > original author does not have time/desire to maintain it, so obrien > volunteered to take over maintainership. Thanks obrien ;-} Scott? Hmmmmm? Where is a pitchfork when you need it ;-> Time and micro-managed priorities limit my usefulness currently, Scott is right ... Driver is just asking for it's `just deserved' mappings to the card, I put my vote with Michael with regards to the PCI system not differentiating non-prefetched (hardware) and prefetched (memory) mappings (said with an aire of pretending to know unintentional). > > > Should I hold onto this card or should I suck it up and get > > > a 3ware online somewhere? > Be a man and buy a SCSI RAID controller. The Adaptec 5400S is > all you'll ever need =-) SCSI is too expensive for many folk, that is why we made the 2400A. However, IDE looses 2ms on every access because it can not overlap commands -- much of that delay is reduced with the SCSI origined 2400A's cache/coalesce/elevator code, we see performance that has us wondering out loud about the SCSI price differential. Good luck, hope I could help ... Sincerely -- Mark Salyzyn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 7:43: 2 2002 Delivered-To: freebsd-current@freebsd.org Received: from web11402.mail.yahoo.com (web11402.mail.yahoo.com [216.136.131.232]) by hub.freebsd.org (Postfix) with SMTP id 821D537B417 for ; Mon, 1 Apr 2002 07:42:59 -0800 (PST) Message-ID: <20020401154259.30900.qmail@web11402.mail.yahoo.com> Received: from [203.218.114.131] by web11402.mail.yahoo.com via HTTP; Mon, 01 Apr 2002 07:42:59 PST Date: Mon, 1 Apr 2002 07:42:59 -0800 (PST) From: Shizuka Kudo Subject: Card has no functions To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I'm having problem with the TI cardbus bridge to recognize PCCARD in "NEWCARD" kernel. I have a desktop with TI PCI1250 adaptor and an IBM Thinkpad with TI 1450. Both recognize PC Cards in "GENERIC" kernel, but get "Card has no functions" in NEWCARD. I checked the maillist and found no answer. The same kernel ran fine in a Toshiba Portege with ToPIC100 cardbus bridge. Is this something unique to TI chips? Any suggestion I should try? __________________________________________________ Do You Yahoo!? Yahoo! Greetings - send holiday greetings for Easter, Passover http://greetings.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 8: 1:55 2002 Delivered-To: freebsd-current@freebsd.org Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by hub.freebsd.org (Postfix) with ESMTP id A79E437B41B; Mon, 1 Apr 2002 08:01:47 -0800 (PST) Received: (from david@localhost) by bunrab.catwhisker.org (8.11.6/8.11.6) id g31G1l568267; Mon, 1 Apr 2002 08:01:47 -0800 (PST) (envelope-from david) Date: Mon, 1 Apr 2002 08:01:47 -0800 (PST) From: David Wolfskill Message-Id: <200204011601.g31G1l568267@bunrab.catwhisker.org> To: murray@freebsd.org Subject: Patch for -CURRENT (share/dict/tech -> freebsd repo-copy) Cc: current@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Untested as yet; just fired up the "make -DNOCLEAN buildworld after the breakage ("Don't know how to make tech" in /usr/src/share/dict): Index: share/dict/Makefile =================================================================== RCS file: /cvs/freebsd/src/share/dict/Makefile,v retrieving revision 1.11 diff -u -r1.11 Makefile --- share/dict/Makefile 26 Mar 2002 11:21:58 -0000 1.11 +++ share/dict/Makefile 1 Apr 2002 15:58:06 -0000 @@ -4,7 +4,7 @@ NOOBJ= noobj # XXX MISSING: connectives words -FILES= README propernames web2 web2a tech +FILES= README propernames web2 web2a freebsd FILESDIR= ${BINDIR}/dict SYMLINKS= web2 ${FILESDIR}/words Cheers, david -- David H. Wolfskill david@catwhisker.org I believe it would be irresponsible (and thus, unethical) for me to advise, recommend, or support the use of any product that is or depends on any Microsoft product for any purpose other than personal amusement. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 8:39:29 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail13.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by hub.freebsd.org (Postfix) with ESMTP id C539B37B421 for ; Mon, 1 Apr 2002 08:39:14 -0800 (PST) Received: (qmail 7733 invoked from network); 1 Apr 2002 16:39:14 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 1 Apr 2002 16:39:14 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g31Ge0v14523; Mon, 1 Apr 2002 11:40:00 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Mon, 01 Apr 2002 11:39:16 -0500 (EST) From: John Baldwin To: current@FreeBSD.org Subject: libusbhid.h and make includes Cc: joe@FreeBSD.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Argh, it seems that libusbhid.h doesn't get installed by make includes thus if one is trying to use make includes to update headers prior to doing a make depend or make all in /usr/src on a machine that can't do buildworld (like, say, sparc64), then it dies. Can the USB maintainer please add appropriate magic to src/include/Makefile so that make includes installs this header? Thanks. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 9: 0:47 2002 Delivered-To: freebsd-current@freebsd.org Received: from tao.org.uk (genius.tao.org.uk [212.135.162.51]) by hub.freebsd.org (Postfix) with ESMTP id EB16937B42F; Mon, 1 Apr 2002 09:00:29 -0800 (PST) Received: by tao.org.uk (Postfix, from userid 100) id BE739606; Mon, 1 Apr 2002 18:00:08 +0100 (BST) Date: Mon, 1 Apr 2002 18:00:08 +0100 From: Josef Karthauser To: John Baldwin Cc: current@FreeBSD.org Subject: Re: libusbhid.h and make includes Message-ID: <20020401170008.GA18908@genius.tao.org.uk> Mail-Followup-To: Josef Karthauser , John Baldwin , current@FreeBSD.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pf9I7BMVVzbSWLtt" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 01, 2002 at 11:39:16AM -0500, John Baldwin wrote: > Argh, it seems that libusbhid.h doesn't get installed by make includes th= us if > one is trying to use make includes to update headers prior to doing a make > depend or make all in /usr/src on a machine that can't do buildworld (lik= e, > say, sparc64), then it dies. Can the USB maintainer please add appropria= te > magic to src/include/Makefile so that make includes installs this header?= =20 > Thanks. It looks like libusb.h wasn't installed either. Either way -current should now do the right thing. Joe --pf9I7BMVVzbSWLtt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjyokhgACgkQXVIcjOaxUBanfACfR8+6Co9w2W4o2iM3M18ZynxV AQYAn1xrG+JxYHGieZ5QGSi99NGfKdr8 =Ukw3 -----END PGP SIGNATURE----- --pf9I7BMVVzbSWLtt-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 9:36:25 2002 Delivered-To: freebsd-current@freebsd.org Received: from gyros.marcuscom.com (dhcp-64-102-60-43.cisco.com [64.102.60.43]) by hub.freebsd.org (Postfix) with ESMTP id CA38337B416; Mon, 1 Apr 2002 09:36:15 -0800 (PST) Received: from gyros.marcuscom.com (localhost [127.0.0.1]) by gyros.marcuscom.com (8.12.2/8.12.2) with ESMTP id g31Ha1vc000351; Mon, 1 Apr 2002 12:36:01 -0500 (EST) (envelope-from marcus@marcuscom.com) Received: (from marcus@localhost) by gyros.marcuscom.com (8.12.2/8.12.2/Submit) id g31G3PtN042901; Mon, 1 Apr 2002 11:03:25 -0500 (EST) X-Authentication-Warning: gyros.marcuscom.com: marcus set sender to marcus@marcuscom.com using -f Subject: Re: Patch for -CURRENT (share/dict/tech -> freebsd repo-copy) From: Joe Marcus Clarke To: David Wolfskill Cc: murray@FreeBSD.ORG, current@FreeBSD.ORG In-Reply-To: <200204011601.g31G1l568267@bunrab.catwhisker.org> References: <200204011601.g31G1l568267@bunrab.catwhisker.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-94XYq7NQKYLOcqfzUZEE" X-Mailer: Ximian Evolution 1.0.3 Date: 01 Apr 2002 11:03:25 -0500 Message-Id: <1017677005.286.33.camel@gyros.marcuscom.com> Mime-Version: 1.0 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-94XYq7NQKYLOcqfzUZEE Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2002-04-01 at 11:01, David Wolfskill wrote: > Untested as yet; just fired up the "make -DNOCLEAN buildworld after the > breakage ("Don't know how to make tech" in /usr/src/share/dict): phk just submitted a patch to fix this. Yours looks suspiciously like it ;-). Joe >=20 > Index: share/dict/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /cvs/freebsd/src/share/dict/Makefile,v > retrieving revision 1.11 > diff -u -r1.11 Makefile > --- share/dict/Makefile 26 Mar 2002 11:21:58 -0000 1.11 > +++ share/dict/Makefile 1 Apr 2002 15:58:06 -0000 > @@ -4,7 +4,7 @@ > NOOBJ=3D noobj > =20 > # XXX MISSING: connectives words > -FILES=3D README propernames web2 web2a tech > +FILES=3D README propernames web2 web2a freebsd > FILESDIR=3D ${BINDIR}/dict > SYMLINKS=3D web2 ${FILESDIR}/words > =20 >=20 > Cheers, > david > --=20 > David H. Wolfskill david@catwhisker.org > I believe it would be irresponsible (and thus, unethical) for me to advis= e, > recommend, or support the use of any product that is or depends on any > Microsoft product for any purpose other than personal amusement. >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message >=20 --=20 PGP Key: http://www.marucscom.com/pgp.asc --=-94XYq7NQKYLOcqfzUZEE Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEABECAAYFAjyohM0ACgkQb2iPiv4Uz4cwQwCgmeCwnYao4lw0itK2iwZmzTfB fLkAn0zaQBq1P6sMUjbrCGDasyu6s8zj =kXUe -----END PGP SIGNATURE----- --=-94XYq7NQKYLOcqfzUZEE-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 10: 8:34 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail11.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by hub.freebsd.org (Postfix) with ESMTP id 0A52E37B41C for ; Mon, 1 Apr 2002 10:08:19 -0800 (PST) Received: (qmail 13179 invoked from network); 1 Apr 2002 18:08:17 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 1 Apr 2002 18:08:17 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g31I94v14893; Mon, 1 Apr 2002 13:09:04 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020401170008.GA18908@genius.tao.org.uk> Date: Mon, 01 Apr 2002 13:08:19 -0500 (EST) From: John Baldwin To: Josef Karthauser Subject: Re: libusbhid.h and make includes Cc: current@FreeBSD.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 01-Apr-2002 Josef Karthauser wrote: > On Mon, Apr 01, 2002 at 11:39:16AM -0500, John Baldwin wrote: >> Argh, it seems that libusbhid.h doesn't get installed by make includes thus >> if >> one is trying to use make includes to update headers prior to doing a make >> depend or make all in /usr/src on a machine that can't do buildworld (like, >> say, sparc64), then it dies. Can the USB maintainer please add appropriate >> magic to src/include/Makefile so that make includes installs this header? >> Thanks. > > It looks like libusb.h wasn't installed either. Either way -current > should now do the right thing. Thanks! > Joe -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 10:48:38 2002 Delivered-To: freebsd-current@freebsd.org Received: from fasterix.frmug.org (fasterix.frmug.org [137.194.24.200]) by hub.freebsd.org (Postfix) with ESMTP id 2322337B416; Mon, 1 Apr 2002 10:48:16 -0800 (PST) Received: from fasterix.frmug.org (localhost [127.0.0.1]) by fasterix.frmug.org (8.12.2/8.12.2) with ESMTP id g31ImAcP056607 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 1 Apr 2002 20:48:10 +0200 (CEST) (envelope-from pb@fasterix.frmug.org) Received: (from pb@localhost) by fasterix.frmug.org (8.12.2/8.12.2/Submit) id g31ImA7V056606; Mon, 1 Apr 2002 20:48:10 +0200 (CEST) Message-ID: <20020401204810.A55589@fasterix.frmug.org> Date: Mon, 1 Apr 2002 20:48:10 +0200 From: Pierre Beyssac To: freebsd-current@freebsd.org Cc: des@freebsd.org Subject: FreeBSD-localised OpenSSH hangs with Foundry SSH1 server Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.92.8i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I had problems connecting with the FreeBSD openssh client to a Foundry BigIron gigabit switch running ssh 1.2.27, whereas I can connect fine to the same switch when using a locally-compiled OpenSSH 3.1p1. The culprit is apparently the length of the version string sent by FreeBSD and received by the Foundry switch. If it is over 24 characters, the Foundry ssh daemon just sits there and hangs for a few minutes until it timeouts and closes the connection. If I shorten the client version string to be "OpenSSH_3.1 FreeBSD", everything works ok again. The closest thing to a standard description of the SSH1 protocol I could find is below. It clearly sets a upper limit of 40 characters for the "version" part of the identification string. This is lower than the 42 chars of "OpenSSH_3.1 FreeBSD localisations 20020318", but higher than the maximum of 24 character accepted by the Foundry implementation. So it looks like neither side is strictly compliant to something that's not really a standard anyway. It would be easier on me (and other Foundry switch users) and in the interest of interoperability with broken ssh implementations if the FreeBSD-specific string could be shortened (to at most 11 chars, which is exactly enough to put "des20020307" in there for example ;-), made user-configurable, or altogether removed. http://www.snailbook.com/docs/protocol-1.5.txt Protocol Version Identification After the socket is opened, the server sends an identification string, which is of the form "SSH-.- \n", where and are integers and specify the protocol version number (not software distribution version). is server side software version string (max 40 characters); it is not interpreted by the remote side but may be use- ful for debugging. Pierre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 11:17:18 2002 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id 78D5837B416 for ; Mon, 1 Apr 2002 11:17:13 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020401191712.NZPI1214.rwcrmhc54.attbi.com@blossom.cjclark.org>; Mon, 1 Apr 2002 19:17:12 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g31JH8V49444; Mon, 1 Apr 2002 11:17:08 -0800 (PST) (envelope-from cjc) Date: Mon, 1 Apr 2002 11:17:08 -0800 From: "Crist J. Clark" To: freebsd-current@FreeBSD.ORG Cc: Emiel Kollof Subject: Re: kldxref problem Message-ID: <20020401111708.V99214@blossom.cjclark.org> References: <20020330205329.D51062-100000@resnet.uoregon.edu> <3CA6BFE4.8296DF74@mindspring.com> <1017571105.901.4.camel@loki.ipv6.hackerheaven.org> <20020401003521.A88395@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020401003521.A88395@dragon.nuxi.com>; from obrien@FreeBSD.ORG on Mon, Apr 01, 2002 at 12:35:21AM -0800 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Apr 01, 2002 at 12:35:21AM -0800, David O'Brien wrote: > On Sun, Mar 31, 2002 at 12:38:24PM +0200, Emiel Kollof wrote: > > On Sun, 2002-03-31 at 09:51, Terry Lambert wrote: > > > > > > > > Perhaps if the kernel printf also "ignored" the request to print > > > the little S.O.B. out, there would be less confusion... > > > > I'm still sticking to the idea that one could test for kldxref, and if > > it isn't there, don't execute it. > > > > [ -x /usr/sbin/kldxref ] && /usr/sbin/kldxref > > > > like so, which is perfectly sane bourne shell syntax, which is also used > > by BSD make. > > Not really. Use: > > : > rule1 > rule2 > .if exists(/usr/sbin/kldxref) > /usr/sbin/kldxref > .endif This whole argument ignores what the real problem is. The really correct way to handle this is to use the kldxref(8) built in the 'buildworld' phase. (It's bad form to be using any executables from the base system if we have a full object tree.) Actually using the one in /usr/obj/usr/src/usr.sbin/kldxref seems pretty ugly. The better thing to do is to have a version in /usr/obj/usr/src//usr/sbin by making it a crosstool. The failure should not be ignored in this case. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 11:28: 0 2002 Delivered-To: freebsd-current@freebsd.org Received: from energyhq.homeip.net (213-97-200-73.uc.nombres.ttd.es [213.97.200.73]) by hub.freebsd.org (Postfix) with ESMTP id F12CD37B41B for ; Mon, 1 Apr 2002 11:27:53 -0800 (PST) Received: by energyhq.homeip.net (Postfix, from userid 1001) id 221693FC2D; Mon, 1 Apr 2002 21:28:50 +0200 (CEST) Date: Mon, 1 Apr 2002 21:28:50 +0200 From: Miguel Mendez To: Shizuka Kudo Cc: freebsd-current@freebsd.org Subject: Re: Card has no functions Message-ID: <20020401212850.A69723@energyhq.homeip.net> Mail-Followup-To: Shizuka Kudo , freebsd-current@freebsd.org References: <20020401154259.30900.qmail@web11402.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="FL5UXtIhxfXey3p5" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020401154259.30900.qmail@web11402.mail.yahoo.com>; from shizukakudo_99@yahoo.com on Mon, Apr 01, 2002 at 07:42:59AM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 01, 2002 at 07:42:59AM -0800, Shizuka Kudo wrote: Hi there, > I'm having problem with the TI cardbus bridge to > recognize PCCARD in "NEWCARD" kernel. I have a desktop > with TI PCI1250 adaptor and an IBM Thinkpad with TI > 1450. Both recognize PC Cards in "GENERIC" kernel, but > get "Card has no functions" in NEWCARD. I checked the > maillist and found no answer. The same kernel ran fine > in a Toshiba Portege with ToPIC100 cardbus bridge. Is > this something unique to TI chips? Any suggestion I > should try? My Thinkpad 310 is running -CURRENT as of the 29th of March. I normally use a CARDBUS nic, but I've just inserted a PCCARD nic on the second slot and it's recognized as ed0. My hardware has a TI1131 PCI-CardBus Bridge. It seems to work here, when did you last cvsup your src? Cheers, --=20 Miguel Mendez - flynn@energyhq.homeip.net GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt EnergyHQ :: http://www.energyhq.tk FreeBSD - The power to serve! --FL5UXtIhxfXey3p5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8qLTxnLctrNyFFPERAoSRAKDF7pUwA4gZm+pG2whVc+mFcrS/YQCgkC4V K9YS1kMzi6Hq+jlR2D8q8K8= =T5CR -----END PGP SIGNATURE----- --FL5UXtIhxfXey3p5-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 13:20:13 2002 Delivered-To: freebsd-current@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id DF6B537B405; Mon, 1 Apr 2002 13:20:05 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id XAA02326; Mon, 1 Apr 2002 23:20:04 +0200 (CEST) Received: (from j@localhost) by uriah.heep.sax.de (8.11.6/8.11.6) id g31LDKt02333; Mon, 1 Apr 2002 23:13:20 +0200 (MET DST) (envelope-from j) Date: Mon, 1 Apr 2002 23:13:20 +0200 (MET DST) Message-Id: <200204012113.g31LDKt02333@uriah.heep.sax.de> Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: <20020319025136.O60554@blossom.cjclark.org> In-Reply-To: <20020319025136.O60554@blossom.cjclark.org> From: j@uriah.heep.sax.de (Joerg Wunsch) Subject: Re: disklabel(8) floppy panic X-Original-Newsgroups: local.freebsd.current To: freebsd-current@freebsd.org Cc: "Crist J. Clark" , bde@freebsd.org Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Crist J. Clark" wrote: > Have a crash box handy? > > $ disklabel fd0.1440 The patch below should fix that, thanks for the bug report. fdioctl() historically attempted to determine the "raw" partition (`c') of the device in order to read the label. However, the floppy driver never really supported UFS-style partitions anyway. This ended up in selecting the wrong device for reading the label, which was a not-so-fatal error before the last floppy driver rewrite (it actually selected the fdX.1480 device then, which was obviously benign for 3.5" drives). However, now it hits an unitialized device which becomes fatal in readdisklabel() by attempting an indirect call to the strategy routine that hasn't been entered in the struct dev passed down. The call to dkmodpart() entered in rev. 1.64 of fd.c, so i'm Cc'ing Bruce for a comment whether the fix below is indeed TRT. Index: sys/isa/fd.c =================================================================== RCS file: /home/ncvs/src/sys/isa/fd.c,v retrieving revision 1.224 diff -u -r1.224 fd.c --- isa/fd.c 18 Dec 2001 22:16:33 -0000 1.224 +++ isa/fd.c 1 Apr 2002 20:56:22 -0000 @@ -2704,7 +2704,7 @@ fdt = fd->ft; lp->d_secpercyl = fdt->size / fdt->tracks; lp->d_type = DTYPE_FLOPPY; - if (readdisklabel(dkmodpart(dev, RAW_PART), lp) != NULL) + if (readdisklabel(dev, lp) != NULL) error = EINVAL; else *(struct disklabel *)addr = *lp; -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 13:32:20 2002 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 448E437B422 for ; Mon, 1 Apr 2002 13:32:10 -0800 (PST) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 25BE45347; Mon, 1 Apr 2002 23:32:08 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Pierre Beyssac Cc: freebsd-current@freebsd.org Subject: Re: FreeBSD-localised OpenSSH hangs with Foundry SSH1 server References: <20020401204810.A55589@fasterix.frmug.org> From: Dag-Erling Smorgrav Date: 01 Apr 2002 23:32:07 +0200 In-Reply-To: <20020401204810.A55589@fasterix.frmug.org> Message-ID: Lines: 13 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Pierre Beyssac writes: > It would be easier on me (and other Foundry switch users) and in > the interest of interoperability with broken ssh implementations > if the FreeBSD-specific string could be shortened (to at most 11 > chars, which is exactly enough to put "des20020307" in there for > example ;-), made user-configurable, or altogether removed. Look for VersionAddendum in /etc/ssh/sshd_config (it can be used in ssh_config as well). DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 14:12:44 2002 Delivered-To: freebsd-current@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 3305337B425 for ; Mon, 1 Apr 2002 14:12:33 -0800 (PST) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g31MCTYm023779; Mon, 1 Apr 2002 14:12:29 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g31MB3LJ023757; Mon, 1 Apr 2002 14:11:03 -0800 (PST) Date: Mon, 1 Apr 2002 14:10:59 -0800 From: "David O'Brien" To: Alexander Leidinger Cc: winter@jurai.net, freebsd-current@FreeBSD.org Subject: Re: cvs commit: ports/lang Makefile ports/lang/icc Makefile distinfo pkg-comment pkg-descr pkg-plist ports/lang/icc/files patch-include Message-ID: <20020401141059.B23489@dragon.nuxi.com> Reply-To: freebsd-current@FreeBSD.org References: <20020329202533.B74181@dragon.nuxi.com> <200203300903.g2U93l7S002763@Magelan.Leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <200203300903.g2U93l7S002763@Magelan.Leidinger.net>; from Alexander@Leidinger.net on Sat, Mar 30, 2002 at 10:03:47AM +0100 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Mar 30, 2002 at 10:03:47AM +0100, Alexander Leidinger wrote: > On 29 Mär, David O'Brien wrote: > > >> > My patches to src/share/mk/ are here: > >> > > >> > ftp://ftp.jurai.net/users/winter/icc.mk.diff > >> > > >> > This allows you to set 'USE_ICC' and 'ICFLAGS' and build stuff. > > > > This is fine just to get things working. But please consider Doing It > > Right -- that being wrap the definitions of CC, CFLAGS, and PICFLAG with > > USE_ICC rather than strew USE_ICC all over the place. For instance: > > > > /usr/share/mk/sys.mk > > .if defined(USE_ICC) > > CC= icc > > .else > > CC= cc > > .endif > > - How do you want to solve the single suffix rules then? What is the problem with them? .c: ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.IMPSRC} CC and CFLAGS is used. > - Do we use ${LD} in every significant place? If we don't it is a bug -- send in a patch. But LD is `ld', does ICC come with its own linker? > - What about ports with "CC=${CC}" in CONFIGURE_ENV (they would break > in the USE_ICC case)? How would they?? CC=icc if you have USE_ICC defined. Either in /etc/make.conf or `make USE_ICC=yes'. It seems you do not realize the whole reason for "${CC}" rather than just "cc". > >> > -D__attribute__(x)= > >> > -D__GNUC__=2 > >> > >> Ok as a short term solution, but IMHO this should get solved in the > >> source. > > > > Totally agreed for defining __GNUC__. > > And the __attribute__ line is the reason why libc doesn't work. Explain "does not work". To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 14:27: 5 2002 Delivered-To: freebsd-current@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id E499637B405 for ; Mon, 1 Apr 2002 14:26:58 -0800 (PST) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g31MQfYm023912; Mon, 1 Apr 2002 14:26:41 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g31MPOLT023906; Mon, 1 Apr 2002 14:25:24 -0800 (PST) Date: Mon, 1 Apr 2002 14:25:24 -0800 From: "David O'Brien" To: Dag-Erling Smorgrav Cc: current@freebsd.org, Thomas Quinot Subject: Re: Problem with ssh Message-ID: <20020401142524.C23489@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <20020328183736.85E9588@nebula.anchoragerescue.org> <20020328192816.GA217@mich.itxmarket.com> <20020328194005.573B688@nebula.anchoragerescue.org> <20020328120317.C92633@dragon.nuxi.com> <20020329030505.GF22998@squall.waterspout.com> <20020329110125.A61943@melusine.cuivre.fr.eu.org> <20020329203139.C74181@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from des@ofug.org on Sat, Mar 30, 2002 at 01:14:07PM +0100 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Mar 30, 2002 at 01:14:07PM +0100, Dag-Erling Smorgrav wrote: > "David O'Brien" writes: > > Something is still very wrong: > > > > ssh foo@releng4 > > otp-md5 350 re9786 ext > > S/Key Password: > > otp-md5 134 re2584 ext > > S/Key Password: > > otp-md5 417 re5381 ext > > S/Key Password: > > otp-md5 198 re2571 ext > > S/Key Password: > > > > Uh, why does my sequence keep changing when I just hit ??? > > Because it's generating fake S/Key challenges, and badly. Especially since RELENG_4 does NOT use OPIE. Who this "fake S/Key challenge" that and turned it on? > No, I haven't seen it, but I've had similar reports. It's actually a > bug on the server side, in older OpenSSH servers, that is exposed by > newer OpenSSH clients. Will OpenSSH 3.1 be MFC'ed soon? Considering I DO want SKeyAuthentication (USENIX is comming up); what is the real fix? -- -- David (obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 14:34:29 2002 Delivered-To: freebsd-current@freebsd.org Received: from alcanet.com.au (mail2.alcanet.com.au [203.62.196.17]) by hub.freebsd.org (Postfix) with ESMTP id 5F80E37B41A for ; Mon, 1 Apr 2002 14:34:23 -0800 (PST) Received: from mfg1.cim.alcatel.com.au (localhost.localdomain [127.0.0.1]) by alcanet.com.au (8.12.1/8.12.1/Alcanet1.2) with ESMTP id g31MYL6x026933 for ; Tue, 2 Apr 2002 08:34:21 +1000 Received: from gsmx07.alcatel.com.au by cim.alcatel.com.au (PMDF V5.2-32 #37640) with ESMTP id <01KG2YEMAFHCVLI1PW@cim.alcatel.com.au> for freebsd-current@freebsd.org; Tue, 2 Apr 2002 08:34:20 +1100 Received: (from jeremyp@localhost) by gsmx07.alcatel.com.au (8.11.6/8.11.6) id g31MYJH40494 for freebsd-current@freebsd.org; Tue, 02 Apr 2002 08:34:19 +1000 Content-return: prohibited Date: Tue, 02 Apr 2002 08:34:18 +1000 From: Peter Jeremy Subject: login looping To: freebsd-current@freebsd.org Mail-Followup-To: freebsd-current@freebsd.org Message-id: <20020402083418.A40471@gsmx07.alcatel.com.au> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I've just finished updating a system to -CURRENT from mid-April (just before the DP1 branch). When I try to login, login(8) goes into a loop. ktrace shows it's in userland and the last syscall was closing /etc/auth.conf. I've tried with two different users and gotten the same result. A third user without a password starts successfully. Logging in via ssh works. I did remember to do a mergemaster. There's nothing in UPDATING and I don't recall seeing anyone else report these symptoms here. Does anyone have any ideas? Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 15: 8:12 2002 Delivered-To: freebsd-current@freebsd.org Received: from harrier.prod.itd.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by hub.freebsd.org (Postfix) with ESMTP id B422D37B405; Mon, 1 Apr 2002 15:08:09 -0800 (PST) Received: from pool0467.cvx40-bradley.dialup.earthlink.net ([216.244.43.212] helo=mindspring.com) by harrier.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16sAuG-0007Ot-00; Mon, 01 Apr 2002 15:08:08 -0800 Message-ID: <3CA8E842.CC6A9D18@mindspring.com> Date: Mon, 01 Apr 2002 15:07:46 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Crist J. Clark" Cc: freebsd-current@FreeBSD.ORG, Emiel Kollof Subject: Re: kldxref problem References: <20020330205329.D51062-100000@resnet.uoregon.edu> <3CA6BFE4.8296DF74@mindspring.com> <1017571105.901.4.camel@loki.ipv6.hackerheaven.org> <20020401003521.A88395@dragon.nuxi.com> <20020401111708.V99214@blossom.cjclark.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Crist J. Clark" wrote: > This whole argument ignores what the real problem is. The really > correct way to handle this is to use the kldxref(8) built in the > 'buildworld' phase. (It's bad form to be using any executables from > the base system if we have a full object tree.) Actually using the one > in /usr/obj/usr/src/usr.sbin/kldxref seems pretty ugly. The better > thing to do is to have a version in /usr/obj/usr/src//usr/sbin > by making it a crosstool. The failure should not be ignored in this > case. Uh, that doesn't work incredibly well when the machine you are on is an x86, and the machine that the buildworld targets is, say, the Alpha. This came up in the first place because it's a cross-envrionment issue that needs resolving. The "workaround" exists because the workaround cops out on the cross-environment part of the process and spits out the warnming, instead. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 15:49: 8 2002 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 4F78E37B41C; Mon, 1 Apr 2002 15:49:00 -0800 (PST) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 69C045347; Tue, 2 Apr 2002 01:48:57 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: obrien@freebsd.org Cc: current@freebsd.org, Thomas Quinot Subject: Re: Problem with ssh References: <20020328183736.85E9588@nebula.anchoragerescue.org> <20020328192816.GA217@mich.itxmarket.com> <20020328194005.573B688@nebula.anchoragerescue.org> <20020328120317.C92633@dragon.nuxi.com> <20020329030505.GF22998@squall.waterspout.com> <20020329110125.A61943@melusine.cuivre.fr.eu.org> <20020329203139.C74181@dragon.nuxi.com> <20020401142524.C23489@dragon.nuxi.com> From: Dag-Erling Smorgrav Date: 02 Apr 2002 01:48:56 +0200 In-Reply-To: <20020401142524.C23489@dragon.nuxi.com> Message-ID: Lines: 28 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "David O'Brien" writes: > On Sat, Mar 30, 2002 at 01:14:07PM +0100, Dag-Erling Smorgrav wrote: > > "David O'Brien" writes: > > > Uh, why does my sequence keep changing when I just hit ??? > > Because it's generating fake S/Key challenges, and badly. > Especially since RELENG_4 does NOT use OPIE. > Who this "fake S/Key challenge" that and turned it on? OpenSSH in RELENG_4 does use S/Key, and generates fake challenges when the client attempts challenge-response authentication, which is what is used for PAM. > > No, I haven't seen it, but I've had similar reports. It's actually a > > bug on the server side, in older OpenSSH servers, that is exposed by > > newer OpenSSH clients. > Will OpenSSH 3.1 be MFC'ed soon? Not likely. There are a number of problems that still need fixing. > Considering I DO want SKeyAuthentication (USENIX is comming up); what is > the real fix? Enable it only for servers that need it. It used to be disabled by default in the client, so this shouldn't make much of a difference. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 16: 0:29 2002 Delivered-To: freebsd-current@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 3178837B417 for ; Mon, 1 Apr 2002 16:00:23 -0800 (PST) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g3200JYm038298; Mon, 1 Apr 2002 16:00:19 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g31Nx4XV038245; Mon, 1 Apr 2002 15:59:04 -0800 (PST) Date: Mon, 1 Apr 2002 15:59:04 -0800 From: "David O'Brien" To: Dag-Erling Smorgrav Cc: current@freebsd.org, Thomas Quinot Subject: Re: Problem with ssh Message-ID: <20020401155904.B37730@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <20020328183736.85E9588@nebula.anchoragerescue.org> <20020328192816.GA217@mich.itxmarket.com> <20020328194005.573B688@nebula.anchoragerescue.org> <20020328120317.C92633@dragon.nuxi.com> <20020329030505.GF22998@squall.waterspout.com> <20020329110125.A61943@melusine.cuivre.fr.eu.org> <20020329203139.C74181@dragon.nuxi.com> <20020401142524.C23489@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from des@ofug.org on Tue, Apr 02, 2002 at 01:48:56AM +0200 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Apr 02, 2002 at 01:48:56AM +0200, Dag-Erling Smorgrav wrote: > "David O'Brien" writes: > > On Sat, Mar 30, 2002 at 01:14:07PM +0100, Dag-Erling Smorgrav wrote: > > > "David O'Brien" writes: > > > > Uh, why does my sequence keep changing when I just hit ??? > > > Because it's generating fake S/Key challenges, and badly. > > Especially since RELENG_4 does NOT use OPIE. > > Who this "fake S/Key challenge" that and turned it on? > > OpenSSH in RELENG_4 does use S/Key, and generates fake challenges when Yes. But it is obvious it is fake: This is an S/Key challenge: s/key 90 re95460 this is an OPIE challenge: otp-md5 315 re7955 ext so getting an OPIE formatted challenge on RELENG_4 immediately lets someone know it is fake and bogus. > the client attempts challenge-response authentication, which is what > is used for PAM. I do not follow what you are saying. > > > No, I haven't seen it, but I've had similar reports. It's actually a > > > bug on the server side, in older OpenSSH servers, that is exposed by > > > newer OpenSSH clients. > > Will OpenSSH 3.1 be MFC'ed soon? > > Not likely. There are a number of problems that still need fixing. I thought 3.1 was imported due to a security problem with 3.0. > > Considering I DO want SKeyAuthentication (USENIX is comming up); what is > > the real fix? > > Enable it only for servers that need it. I just said "I need it". The user from "ssh user@server" does have a properly setup S/Key entry in /etc/skeykeys > It used to be disabled by default in the client, so this shouldn't make > much of a difference. I admit to having problems getting this working in the past. -- -- David (obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 16:31:46 2002 Delivered-To: freebsd-current@freebsd.org Received: from fasterix.frmug.org (fasterix.frmug.org [137.194.24.200]) by hub.freebsd.org (Postfix) with ESMTP id 908BF37B428 for ; Mon, 1 Apr 2002 16:31:36 -0800 (PST) Received: from fasterix.frmug.org (localhost [127.0.0.1]) by fasterix.frmug.org (8.12.2/8.12.2) with ESMTP id g320VYcP091343 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 2 Apr 2002 02:31:34 +0200 (CEST) (envelope-from pb@fasterix.frmug.org) Received: (from pb@localhost) by fasterix.frmug.org (8.12.2/8.12.2/Submit) id g320VYLe091290; Tue, 2 Apr 2002 02:31:34 +0200 (CEST) Message-ID: <20020402023134.A56960@fasterix.frmug.org> Date: Tue, 2 Apr 2002 02:31:34 +0200 From: Pierre Beyssac To: Dag-Erling Smorgrav Cc: freebsd-current@freebsd.org Subject: Re: FreeBSD-localised OpenSSH hangs with Foundry SSH1 server References: <20020401204810.A55589@fasterix.frmug.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.92.8i In-Reply-To: ; from Dag-Erling Smorgrav on Mon, Apr 01, 2002 at 11:32:07PM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Apr 01, 2002 at 11:32:07PM +0200, Dag-Erling Smorgrav wrote: > > if the FreeBSD-specific string could be shortened (to at most 11 > > chars, which is exactly enough to put "des20020307" in there for > > example ;-), made user-configurable, or altogether removed. > > Look for VersionAddendum in /etc/ssh/sshd_config (it can be used in > ssh_config as well). Uh, no, it does not seem to work in ssh_config, only in sshd_config. Pierre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 16:34:49 2002 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id 406DA37B405 for ; Mon, 1 Apr 2002 16:34:46 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020402003445.NQEP7801.rwcrmhc51.attbi.com@blossom.cjclark.org>; Tue, 2 Apr 2002 00:34:45 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g320Yf850254; Mon, 1 Apr 2002 16:34:41 -0800 (PST) (envelope-from cjc) Date: Mon, 1 Apr 2002 16:34:41 -0800 From: "Crist J. Clark" To: Terry Lambert Cc: freebsd-current@FreeBSD.ORG, Emiel Kollof Subject: Re: kldxref problem Message-ID: <20020401163441.A99214@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <20020330205329.D51062-100000@resnet.uoregon.edu> <3CA6BFE4.8296DF74@mindspring.com> <1017571105.901.4.camel@loki.ipv6.hackerheaven.org> <20020401003521.A88395@dragon.nuxi.com> <20020401111708.V99214@blossom.cjclark.org> <3CA8E842.CC6A9D18@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3CA8E842.CC6A9D18@mindspring.com>; from tlambert2@mindspring.com on Mon, Apr 01, 2002 at 03:07:46PM -0800 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Apr 01, 2002 at 03:07:46PM -0800, Terry Lambert wrote: > "Crist J. Clark" wrote: > > This whole argument ignores what the real problem is. The really > > correct way to handle this is to use the kldxref(8) built in the > > 'buildworld' phase. (It's bad form to be using any executables from > > the base system if we have a full object tree.) Actually using the one > > in /usr/obj/usr/src/usr.sbin/kldxref seems pretty ugly. The better > > thing to do is to have a version in /usr/obj/usr/src//usr/sbin > > by making it a crosstool. The failure should not be ignored in this > > case. > > Uh, that doesn't work incredibly well when the machine you > are on is an x86, and the machine that the buildworld targets > is, say, the Alpha. > > This came up in the first place because it's a cross-envrionment > issue that needs resolving. The "workaround" exists because the > workaround cops out on the cross-environment part of the process > and spits out the warnming, instead. An 'installworld' doesn't even come close to working in a cross environment for a whole variety of reasons, so I don't see the relevance. The situation this question comes up is typically 5-CURRENT builds on 4-STABLE systems, not in cross-archetecture builds. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 16:51:19 2002 Delivered-To: freebsd-current@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id D6CBA37B41D; Mon, 1 Apr 2002 16:51:17 -0800 (PST) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g320pGYm051908; Mon, 1 Apr 2002 16:51:16 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g320o1sr051907; Mon, 1 Apr 2002 16:50:01 -0800 (PST) Date: Mon, 1 Apr 2002 16:50:01 -0800 From: "David O'Brien" To: markm@freebsd.org Cc: current@freebsd.org Subject: Perl build uses 'cc' and maybe 'gcc' directly. Message-ID: <20020401165001.A51891@dragon.nuxi.com> Reply-To: obrien@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Any chance of getting the Perl build to properly use ${CC} rather than hard coding 'cc'? Also a "find . -type f | xargs grep gcc" shows that GCC may be called directly also. This is a problem for cross builds, and using alternate versions of of the compiler (say gcc31 for testing). -- -- David (obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 18: 9: 6 2002 Delivered-To: freebsd-current@freebsd.org Received: from snipe.prod.itd.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id 7A89F37B41A for ; Mon, 1 Apr 2002 18:09:04 -0800 (PST) Received: from pool0310.cvx21-bradley.dialup.earthlink.net ([209.179.193.55] helo=mindspring.com) by snipe.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16sDjK-0007Io-00; Mon, 01 Apr 2002 18:09:03 -0800 Message-ID: <3CA912A8.167AFEDB@mindspring.com> Date: Mon, 01 Apr 2002 18:08:40 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: cjclark@alum.mit.edu Cc: freebsd-current@FreeBSD.ORG, Emiel Kollof Subject: Re: kldxref problem References: <20020330205329.D51062-100000@resnet.uoregon.edu> <3CA6BFE4.8296DF74@mindspring.com> <1017571105.901.4.camel@loki.ipv6.hackerheaven.org> <20020401003521.A88395@dragon.nuxi.com> <20020401111708.V99214@blossom.cjclark.org> <3CA8E842.CC6A9D18@mindspring.com> <20020401163441.A99214@blossom.cjclark.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Crist J. Clark" wrote: > > This came up in the first place because it's a cross-envrionment > > issue that needs resolving. The "workaround" exists because the > > workaround cops out on the cross-environment part of the process > > and spits out the warnming, instead. > > An 'installworld' doesn't even come close to working in a cross > environment for a whole variety of reasons, so I don't see the > relevance. > > The situation this question comes up is typically 5-CURRENT builds on > 4-STABLE systems, not in cross-archetecture builds. Since this is the recommended upgrade path for going from 4.x to 5.x right now, it's an issue, if you can't cross-build 5.x on 4.x. That other things are broken doesn't really excuse this being broken. The problem is that the kldxref deserves to get its own tools build, so that there is a version that works against 5.x code that can be built on 4.x (or NetBSD or Linux or Solaris or whatever). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 18:14:52 2002 Delivered-To: freebsd-current@freebsd.org Received: from web11404.mail.yahoo.com (web11404.mail.yahoo.com [216.136.131.234]) by hub.freebsd.org (Postfix) with SMTP id 25C8737B405 for ; Mon, 1 Apr 2002 18:14:43 -0800 (PST) Message-ID: <20020402021442.82984.qmail@web11404.mail.yahoo.com> Received: from [202.167.61.228] by web11404.mail.yahoo.com via HTTP; Mon, 01 Apr 2002 18:14:42 PST Date: Mon, 1 Apr 2002 18:14:42 -0800 (PST) From: Shizuka Kudo Subject: Re: Card has no functions To: Miguel Mendez Cc: freebsd-current@freebsd.org In-Reply-To: <20020401212850.A69723@energyhq.homeip.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-566355663-1017713682=:82885" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --0-566355663-1017713682=:82885 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline --- Miguel Mendez wrote: > > Hi there, > > > I'm having problem with the TI cardbus bridge to > > recognize PCCARD in "NEWCARD" kernel. I have a > desktop > > with TI PCI1250 adaptor and an IBM Thinkpad with > TI > > 1450. Both recognize PC Cards in "GENERIC" kernel, > but > > get "Card has no functions" in NEWCARD. I checked > the > > maillist and found no answer. The same kernel ran > fine > > in a Toshiba Portege with ToPIC100 cardbus bridge. > Is > > this something unique to TI chips? Any suggestion > I > > should try? > > My Thinkpad 310 is running -CURRENT as of the 29th > of March. I normally > use a CARDBUS nic, but I've just inserted a PCCARD > nic on the second > slot and it's recognized as ed0. My hardware has a > TI1131 PCI-CardBus > Bridge. > > It seems to work here, when did you last cvsup your > src? > > Cheers, Hi Miguel, I have an IBM Thinkpad 600X with latest BIOS from their web site. CURRENT was updated 31 Mar. I also had no problem with CARDBUS (a realtek 3190B). I tried 3com CCFEM556B (a combo card), Xircom CreditCard Ethernet 10/100, Orinoco Silver, all showed same error no matter the cards were inserted before power on or after boot up. Attached is the dmesg from my desktop (ASUS CUSL2 with PIII 750MHz) if this may help. Cheers, __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://http://taxes.yahoo.com/ --0-566355663-1017713682=:82885 Content-Type: text/plain; name="dmesg.txt" Content-Description: dmesg.txt Content-Disposition: inline; filename="dmesg.txt" 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 #20020317: Sun Mar 17 23:51:21 HKT 2002 root@shizuka.aliens.homeip.net:/usr/obj/usr/src/sys/SHIZUKA Preloaded elf kernel "/boot/kernel/kernel" at 0xc048b000. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 757461721 Hz CPU: Pentium III/Pentium III Xeon/Celeron (757.46-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Stepping = 3 Features=0x383f9ff real memory = 268349440 (262060K bytes) avail memory = 256212992 (250208K bytes) Pentium Pro MTRR support enabled Using $PIR table, 10 entries at 0xc00f1360 acpi0: on motherboard acpi0: power button is handled as a fixed feature programming model. ACPI timer looks GOOD min = 3, max = 3, width = 1 ACPI timer looks GOOD min = 3, max = 3, width = 1 ACPI timer looks GOOD min = 3, max = 3, width = 1 ACPI timer looks GOOD min = 3, max = 3, width = 1 ACPI timer looks GOOD min = 3, max = 3, width = 1 ACPI timer looks GOOD min = 3, max = 3, width = 1 ACPI timer looks GOOD min = 3, max = 3, width = 1 ACPI timer looks GOOD min = 3, max = 3, width = 1 ACPI timer looks GOOD min = 3, max = 3, width = 1 ACPI timer looks GOOD min = 3, max = 3, width = 1 Timecounter "ACPI-fast" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 acpi_cpu0: on acpi0 acpi_button0: on acpi0 acpi_pcib0: port 0xcf8-0xcff on acpi0 pci0: on acpi_pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pcib2: at device 30.0 on pci0 pci2: on pcib2 pccbb0: irq 9 at device 10.0 on pci2 pccbb0: PCI Memory allocated: ed000000 cardbus0: on pccbb0 pccard0: <16-bit PCCard bus> on pccbb0 pccbb1: irq 9 at device 10.1 on pci2 pccbb1: PCI Memory allocated: ed001000 cardbus1: on pccbb1 pccard1: <16-bit PCCard bus> on pccbb1 pci2: at device 12.0 (no driver attached) pcm0: port 0xd800-0xd81f irq 5 at device 14.0 on pci2 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xb800-0xb80f at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xb400-0xb41f irq 9 at device 31.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ugen0: OmniVision OV511+ Camera, rev 1.00/1.00, addr 2 ichsmb0: port 0xe800-0xe80f irq 10 at device 31.3 on pci0 smbus0: on ichsmb0 smb0: on smbus0 uhci1: port 0xb000-0xb01f irq 9 at device 31.4 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhub2: ALCOR Generic USB Hub, class 9/0, rev 1.10/1.00, addr 2 uhub2: 4 ports with 4 removable, self powered fdc0: port 0x3f7,0x3f2-0x3f5 irq 6 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0 port 0x778-0x77f,0x378-0x37f irq 7 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A 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 IntelliMouse, device ID 3 npx0: on motherboard npx0: INT 16 interface pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 acpi_cpu: CPU throttling enabled, 8 steps from 100% to 12.5% pccbb0: card inserted: event=0x00000000, state=30000410 pccard0: chip_socket_enable pccbb_pcic_socket_enable: pccbb0: pccbb_power: CARD_VCC_0V and CARD_VPP_0V [44] pccbb0: pccbb_power: CARD_VCC_5V and CARD_VPP_VCC [15] pccard0: read_cis pccard0: check_cis_quirks pccard0: Card has no functions! pccbb0: PC Card card activation failed pccbb1: card inserted: event=0x00000000, state=30001810 pccard1: chip_socket_enable pccbb_pcic_socket_enable: pccbb1: pccbb_power: CARD_VCC_0V and CARD_VPP_0V [44] pccbb1: pccbb_power: CARD_VCC_XV and CARD_VPP_VCC [12] pccbb1: ready never happened, status = 0c pccard1: read_cis pccard1: check_cis_quirks pccard1: Card has no functions! pccbb1: PC Card card activation failed ad0: 29314MB [59560/16/63] at ata0-master UDMA100 ad1: 29314MB [59560/16/63] at ata0-slave UDMA100 acd0: CD-RW at ata1-master PIO4 Mounting root from ufs:/dev/ad0s2a pccbb_pcic_socket_disable pccbb0: pccbb_power: CARD_VCC_0V and CARD_VPP_0V [44] pccbb0: card inserted: event=0x00000000, state=30000410 pccard0: chip_socket_enable pccbb_pcic_socket_enable: pccbb0: pccbb_power: CARD_VCC_0V and CARD_VPP_0V [44] pccbb0: pccbb_power: CARD_VCC_5V and CARD_VPP_VCC [15] pccard0: read_cis cis mem map cee96000 pccard0: CIS tuple chain: CISTPL_NONE 00 unhandled CISTPL 3 03 00 CISTPL_NONE 00 CISTPL_END ff cis mem map cee96000 CISTPL_LINKTARGET expected, code 00 observed pccard0: check_cis_quirks pccard0: Card has no functions! pccbb0: PC Card card activation failed --0-566355663-1017713682=:82885-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 19:22: 9 2002 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 1FE2237B41B for ; Mon, 1 Apr 2002 19:22:04 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g323M3i53764 for ; Mon, 1 Apr 2002 20:22:03 -0700 (MST) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g323M2f61222 for ; Mon, 1 Apr 2002 20:22:02 -0700 (MST) (envelope-from imp@village.org) Date: Mon, 01 Apr 2002 20:20:16 -0700 (MST) Message-Id: <20020401.202016.34812439.imp@village.org> To: current@freebsd.org Subject: latest kernel busted From: "M. Warner Losh" X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ===> umodem cc -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/dev -I@/../include -fno-common -g -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -c /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:840: syntax error before `uio' /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c: In function `umodemread': /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:841: number of arguments doesn't match prototype /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:156: prototype declaration /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:845: `dev' undeclared (first use in this function) /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:845: (Each undeclared identifier is reported only once /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:845: for each function it appears in.) /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:852: `uio' undeclared (first use in this function) /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:852: `flag' undeclared (first use in this function) /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c: At top level: /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:1089: conflicting types for `umodem_set_line_coding' /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:188: previous declaration of `umodem_set_line_coding' /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c: In function `umodem_set_line_coding': /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:1097: incompatible type for argument 1 of `bcmp' /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:1109: incompatible type for argument 3 of `usbd_do_request' /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:1116: invalid type argument of `unary *' *** Error code 1 Ideas? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 19:32: 7 2002 Delivered-To: freebsd-current@freebsd.org Received: from nnd.itfs.nsk.su (nnd.itfs.nsk.su [212.20.32.42]) by hub.freebsd.org (Postfix) with ESMTP id 3828037B419 for ; Mon, 1 Apr 2002 19:32:02 -0800 (PST) Received: from nnd.itfs.nsk.su (localhost [127.0.0.1]) by nnd.itfs.nsk.su (8.12.2/8.12.2) with ESMTP id g323W6gE025053 for ; Tue, 2 Apr 2002 10:32:06 +0700 (NOVST) (envelope-from nnd@nnd.itfs.nsk.su) Received: (from nnd@localhost) by nnd.itfs.nsk.su (8.12.2/8.12.2/Submit) id g323W6w5025052; Tue, 2 Apr 2002 10:32:06 +0700 (NOVST) Date: Tue, 2 Apr 2002 10:32:06 +0700 (NOVST) Message-Id: <200204020332.g323W6w5025052@nnd.itfs.nsk.su> From: nnd@mail.nsk.ru (Nickolay Dudorov) To: current@freebsd.org Subject: Re: latest kernel busted In-Reply-To: <20020401.202016.34812439.imp@village.org> User-Agent: tin/1.5.11-20020130 ("Toxicity") (UNIX) (FreeBSD/5.0-CURRENT (i386)) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <20020401.202016.34812439.imp@village.org> "M. Warner Losh" wrote: > ===> umodem > cc -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/dev -I@/../include -fno-common -g -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -c /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:840: syntax error before `uio' > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c: In function `umodemread': > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:841: number of arguments doesn't match prototype > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:156: prototype declaration > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:845: `dev' undeclared (first use in this function) > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:845: (Each undeclared identifier is reported only once > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:845: for each function it appears in.) > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:852: `uio' undeclared (first use in this function) > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:852: `flag' undeclared (first use in this function) > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c: At top level: > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:1089: conflicting types for `umodem_set_line_coding' > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:188: previous declaration of `umodem_set_line_coding' > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c: In function `umodem_set_line_coding': > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:1097: incompatible type for argument 1 of `bcmp' > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:1109: incompatible type for argument 3 of `usbd_do_request' > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:1116: invalid type argument of `unary *' > *** Error code 1 > > Ideas? > > Warner Next patch at least unbreaks the kernel building for me. N.Dudorov ========================================================================= Index: sys/dev/usb/umodem.c =================================================================== RCS file: /home/CVS/src/sys/dev/usb/umodem.c,v retrieving revision 1.38 diff -b -u -r1.38 umodem.c --- sys/dev/usb/umodem.c 1 Apr 2002 21:30:36 -0000 1.38 +++ sys/dev/usb/umodem.c 2 Apr 2002 02:06:53 -0000 @@ -837,7 +837,7 @@ } int -umodemread(dev_t dev, uio *uio, int flag) +umodemread(dev_t dev, struct uio *uio, int flag) { struct umodem_softc *sc; struct tty *tp; @@ -1085,7 +1085,7 @@ } usbd_status -umodem_set_line_coding(struct umodem_softc *sc, usb_cdc_line_state_t state) +umodem_set_line_coding(struct umodem_softc *sc, usb_cdc_line_state_t *state) { usb_device_request_t req; usbd_status err; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 19:32:25 2002 Delivered-To: freebsd-current@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 4C07E37B400 for ; Mon, 1 Apr 2002 19:32:08 -0800 (PST) Received: from localhost (arr@localhost) by fledge.watson.org (8.11.6/8.11.6) with SMTP id g323Vw920517; Mon, 1 Apr 2002 22:32:02 -0500 (EST) (envelope-from arr@FreeBSD.org) X-Authentication-Warning: fledge.watson.org: arr owned process doing -bs Date: Mon, 1 Apr 2002 22:31:57 -0500 (EST) From: "Andrew R. Reiter" X-Sender: arr@fledge.watson.org To: "M. Warner Losh" Cc: current@FreeBSD.org Subject: Re: latest kernel busted In-Reply-To: <20020401.202016.34812439.imp@village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 1 Apr 2002, M. Warner Losh wrote: :===> umodem :cc -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/dev -I@/../include -fno-common -g -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -c /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c :/dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:840: syntax error before `uio' :/dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c: In function `umodemread': someone forgot a struct before the ``uio *uio'' :/dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:841: number of arguments doesn't match prototype :/dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:156: prototype declaration :/dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:845: `dev' undeclared (first use in this function) :/dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:845: (Each undeclared identifier is reported only once :/dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:845: for each function it appears in.) :/dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:852: `uio' undeclared (first use in this function) :/dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:852: `flag' undeclared (first use in this function) :/dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c: At top level: :/dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:1089: conflicting types for `umodem_set_line_coding' :/dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:188: previous declaration of `umodem_set_line_coding' :/dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c: In function `umodem_set_line_coding': :/dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:1097: incompatible type for argument 1 of `bcmp' :/dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:1109: incompatible type for argument 3 of `usbd_do_request' :/dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:1116: invalid type argument of `unary *' :*** Error code 1 : :Ideas? : :Warner : :To Unsubscribe: send mail to majordomo@FreeBSD.org :with "unsubscribe freebsd-current" in the body of the message : -- Andrew R. Reiter arr@watson.org arr@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 19:41:37 2002 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 1B58637B405; Mon, 1 Apr 2002 19:41:32 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g323fUi53892; Mon, 1 Apr 2002 20:41:31 -0700 (MST) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g323fSf61348; Mon, 1 Apr 2002 20:41:28 -0700 (MST) (envelope-from imp@village.org) Date: Mon, 01 Apr 2002 20:39:42 -0700 (MST) Message-Id: <20020401.203942.103666186.imp@village.org> To: arr@FreeBSD.org Cc: current@FreeBSD.org Subject: Re: latest kernel busted From: "M. Warner Losh" In-Reply-To: References: <20020401.202016.34812439.imp@village.org> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Looks like two, tiny fixes, so I went ahead and committed them. It shouldn't interfere with the NetBSD merge. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 22:56:47 2002 Delivered-To: freebsd-current@freebsd.org Received: from boggy.acest.tutrp.tut.ac.jp (boggy.acest.tutrp.tut.ac.jp [133.15.67.40]) by hub.freebsd.org (Postfix) with ESMTP id 72ADA37B436 for ; Mon, 1 Apr 2002 22:56:36 -0800 (PST) Received: (from root@localhost) by boggy.acest.tutrp.tut.ac.jp (8.11.6+3.4W/8.11.6) id g326uUk01019 for current@freebsd.org; Tue, 2 Apr 2002 15:56:30 +0900 (JST) Received: from boggy.acest.tutrp.tut.ac.jp (localhost [127.0.0.1]) by boggy.acest.tutrp.tut.ac.jp (8.11.6+3.4W/8.11.6av) with ESMTP id g326uTt01012 for ; Tue, 2 Apr 2002 15:56:29 +0900 (JST) To: current@freebsd.org Subject: Mirrored disk on HPT370 is not detected. MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII From: NAKAJI Hiroyuki Date: Tue, 02 Apr 2002 15:56:28 +0900 Message-ID: <87g02ed1wj.fsf@boggy.acest.tutrp.tut.ac.jp> Lines: 51 User-Agent: T-gnus/6.15.5 (based on Oort Gnus v0.05) (revision 02) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/20.7 (i386--freebsd) MULE/4.1 (AOI) X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I cannot update my current system after Jan 29 2002, because the latest kernel cannot detect my mirrored disk on HPT370 as ar. Is there any problem or large change around ata driver? The dmesg outputs for old and new kernels and kernel configuration file are available at http://www.rc.tutrp.tut.ac.jp/~nakaji/FreeBSD/20020402/ dmesg.boot old kernel dmesg.noar.20020402 today's kernel NAKAJI kernel configuration I checked the difference between them to find that ata device on HPT370 is not detected, -pcib2: device atapci0 requested decoded I/O range 0x9c02-0x9c00 -pcib2: device ata2 requested decoded I/O range 0xa800-0xa807 -ata2: iobase=0x9800 altiobase=0x9c02 bmaddr=0xa800 -ata2: mask=03 ostat0=50 ostat2=00 -ata2-master: ATAPI 00 00 -ata2-slave: ATAPI 00 00 -ata2: mask=03 stat0=50 stat1=00 -ata2-master: ATA 01 a5 -ata2: devices=01 -ata2: at 0x9800 on atapci0 +pcib2: device atapci0 requested unsupported I/O range 0x0-0x9c00 (decoding 0x9000-0xafff) +ata2: probe allocation failed -pcib2: device atapci0 requested decoded I/O range 0xa402-0xa400 -pcib2: device ata3 requested decoded I/O range 0xa808-0xa80f -ata3: iobase=0xa000 altiobase=0xa402 bmaddr=0xa808 -ata3: mask=03 ostat0=50 ostat2=00 -ata3-master: ATAPI 00 00 -ata3-slave: ATAPI 00 00 -ata3: mask=03 stat0=50 stat1=00 -ata3-master: ATA 01 a5 -ata3: devices=01 -ata3: at 0xa000 on atapci0 +pcib2: device atapci0 requested unsupported I/O range 0x0-0xa400 (decoding 0x9000-0xafff) +ata3: probe allocation failed and then ar disk mirrored with disks on ata[23] is not created. +ar: FreeBSD check1 failed Any hint is appreciated. Thanks in advance. -- NAKAJI Hiroyuki To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 23: 4:44 2002 Delivered-To: freebsd-current@freebsd.org Received: from freebsd.dk (fw-rl0.freebsd.dk [212.242.86.114]) by hub.freebsd.org (Postfix) with ESMTP id 5FEF537B416 for ; Mon, 1 Apr 2002 23:04:40 -0800 (PST) Received: (from sos@localhost) by freebsd.dk (8.11.6/8.11.6) id g3274Th27384; Tue, 2 Apr 2002 09:04:29 +0200 (CEST) (envelope-from sos) From: Søren Schmidt Message-Id: <200204020704.g3274Th27384@freebsd.dk> Subject: Re: Mirrored disk on HPT370 is not detected. In-Reply-To: <87g02ed1wj.fsf@boggy.acest.tutrp.tut.ac.jp> To: NAKAJI Hiroyuki Date: Tue, 2 Apr 2002 09:04:29 +0200 (CEST) Cc: current@FreeBSD.ORG Reply-To: sos@freebsd.dk X-Mailer: ELM [version 2.4ME+ PL94b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG It seems NAKAJI Hiroyuki wrote: > > I checked the difference between them to find that ata device on HPT370 is > not detected, > +pcib2: device atapci0 requested unsupported I/O range 0x0-0x9c00 (decoding 0x9000-0xafff) > +ata2: probe allocation failed You need the options PCI_ALLOW_UNSUPPORTED_IO_RANGE option in your kernel config file, the changes Warner did to the sanity checking of io ranges breaks on more or less all PCI based ATA controllers :( -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 1 23:56:59 2002 Delivered-To: freebsd-current@freebsd.org Received: from boggy.acest.tutrp.tut.ac.jp (boggy.acest.tutrp.tut.ac.jp [133.15.67.40]) by hub.freebsd.org (Postfix) with ESMTP id 7F56637B419 for ; Mon, 1 Apr 2002 23:56:57 -0800 (PST) Received: (from root@localhost) by boggy.acest.tutrp.tut.ac.jp (8.11.6+3.4W/8.11.6) id g327ut800589; Tue, 2 Apr 2002 16:56:55 +0900 (JST) Received: from boggy.acest.tutrp.tut.ac.jp (localhost [127.0.0.1]) by boggy.acest.tutrp.tut.ac.jp (8.11.6+3.4W/8.11.6av) with ESMTP id g327urX00582; Tue, 2 Apr 2002 16:56:53 +0900 (JST) To: sos@freebsd.dk Cc: current@FreeBSD.ORG Subject: Re: Mirrored disk on HPT370 is not detected. References: <87g02ed1wj.fsf@boggy.acest.tutrp.tut.ac.jp> <200204020704.g3274Th27384@freebsd.dk> MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII From: NAKAJI Hiroyuki Date: Tue, 02 Apr 2002 16:56:52 +0900 In-Reply-To: <200204020704.g3274Th27384@freebsd.dk> (=?ISO-2022-JP?B?Uw==?= =?ISO-2022-JP?B?GyRCInobKEJyZW4=?= Schmidt's message of "Tue, 2 Apr 2002 09:04:29 +0200 (CEST)") Message-ID: <87n0wm354r.fsf@boggy.acest.tutrp.tut.ac.jp> Lines: 6 User-Agent: T-gnus/6.15.5 (based on Oort Gnus v0.05) (revision 02) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/20.7 (i386--freebsd) MULE/4.1 (AOI) X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG sos> You need the sos> options PCI_ALLOW_UNSUPPORTED_IO_RANGE It workd. Thanks! -- NAKAJI Hiroyuki To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 0: 5:20 2002 Delivered-To: freebsd-current@freebsd.org Received: from mao.stokely.org (mao.stokely.org [65.84.64.228]) by hub.freebsd.org (Postfix) with ESMTP id 9248A37B41C; Tue, 2 Apr 2002 00:04:45 -0800 (PST) Received: by mao.stokely.org (Postfix, from userid 2074) id F25634B669; Tue, 2 Apr 2002 00:04:39 -0800 (PST) Date: Tue, 2 Apr 2002 00:04:39 -0800 From: Murray Stokely To: Andrew Bliznak Cc: Masahide -mac- NODA , current@FreeBSD.ORG, joe@FreeBSD.org Subject: Re: USB mouse problem Message-ID: <20020402080439.GA27387@freebsdmall.com> References: <20020330.203828.74753269.jcc00712@nifty.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mYCpIKhGyMATD0i+" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i X-GPG-Key-ID: 1024D/0E451F7D X-GPG-Key-Fingerprint: E2CA 411D DD44 53FD BB4B 3CB5 B4D7 10A2 0E45 1F7D Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 30, 2002 at 03:24:08PM +0200, Andrew Bliznak wrote: > On Sat, 30 Mar 2002, Masahide -mac- NODA wrote: >=20 > Same here, solid lock, debug key not work. If I setup X to use /dev/ums0 > computer hang just after startx. All worked with kernel/world from Mar 12. "Me too". In my case I use an OmniView USB KVM switch. When I switch to my MacOS X box (which causes the keyboard and mouse to be disconnected from the FreeBSD machine), FreeBSD locks solid. This was working fine in -CURRENT just 2 weeks ago, and it works fine in -STABLE as of today. One of the recent NetBSD merges must be causing this. Any thoughts, Joe? - Murray --mYCpIKhGyMATD0i+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQE8qWYXtNcQog5FH30RAm9QAKC+rlchvmWEWygHWfVdV9K/ZloEZwCeOggT FBHCTGM2BiGsWIcfI4GQrT0= =1rFK -----END PGP SIGNATURE----- --mYCpIKhGyMATD0i+-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 0: 6:24 2002 Delivered-To: freebsd-current@freebsd.org Received: from gw-fi.esaote.com (gw-fi.esaote.com [217.58.169.99]) by hub.freebsd.org (Postfix) with ESMTP id 5C37F37B41F for ; Tue, 2 Apr 2002 00:05:53 -0800 (PST) Received: from rock.fi.esaote.it (rock.fi.esaote.it [192.168.4.40]) by gw-fi.esaote.com (8.11.6/8.11.6) with ESMTP id g3285g230004 for ; Tue, 2 Apr 2002 10:05:42 +0200 (CEST) (envelope-from riccardo@torrini.org) Message-ID: X-Mailer: XFMail 1.4.4 on HPUX X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Tue, 02 Apr 2002 10:05:42 +0200 (METDST) From: Riccardo Torrini To: freebsd-current@FreeBSD.ORG Subject: Please HELP with Zyxel Prestige P641 (router adsl) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Please, I need some help, my adsl access router (Zyxel Prestige P641) blow up last night (really exploded). A sourface mounted capacitor CP53 exploded destroying mother board. I need a zoomed scan of that area or even better of schematics of power section of the router, to try to adjust myself. You can see a zoomed image of explosion here: http://www.torrini.org/riccardo/images/p641-explosion.jpg Yes, this is a bit of off topic, please excuse me, but with router I can continue cvsup/debug/report of -CURRENT ;^) Thanks in advance, Riccardo. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 0:27:41 2002 Delivered-To: freebsd-current@freebsd.org Received: from boggy.acest.tutrp.tut.ac.jp (boggy.acest.tutrp.tut.ac.jp [133.15.67.40]) by hub.freebsd.org (Postfix) with ESMTP id 64DBB37B416 for ; Tue, 2 Apr 2002 00:27:38 -0800 (PST) Received: (from root@localhost) by boggy.acest.tutrp.tut.ac.jp (8.11.6+3.4W/8.11.6) id g327ut800589; Tue, 2 Apr 2002 16:56:55 +0900 (JST) Received: from boggy.acest.tutrp.tut.ac.jp (localhost [127.0.0.1]) by boggy.acest.tutrp.tut.ac.jp (8.11.6+3.4W/8.11.6av) with ESMTP id g327urX00582; Tue, 2 Apr 2002 16:56:53 +0900 (JST) To: sos@freebsd.dk Cc: current@FreeBSD.ORG Subject: Re: Mirrored disk on HPT370 is not detected. References: <87g02ed1wj.fsf@boggy.acest.tutrp.tut.ac.jp> <200204020704.g3274Th27384@freebsd.dk> MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII From: NAKAJI Hiroyuki Date: Tue, 02 Apr 2002 16:56:52 +0900 In-Reply-To: <200204020704.g3274Th27384@freebsd.dk> (=?ISO-2022-JP?B?Uw==?= =?ISO-2022-JP?B?GyRCInobKEJyZW4=?= Schmidt's message of "Tue, 2 Apr 2002 09:04:29 +0200 (CEST)") Message-ID: <87n0wm354r.fsf@boggy.acest.tutrp.tut.ac.jp> Lines: 6 User-Agent: T-gnus/6.15.5 (based on Oort Gnus v0.05) (revision 02) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/20.7 (i386--freebsd) MULE/4.1 (AOI) X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG sos> You need the sos> options PCI_ALLOW_UNSUPPORTED_IO_RANGE It workd. Thanks! -- NAKAJI Hiroyuki To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 0:30:44 2002 Delivered-To: freebsd-current@freebsd.org Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.139.170]) by hub.freebsd.org (Postfix) with ESMTP id 7E48637B41B; Tue, 2 Apr 2002 00:30:38 -0800 (PST) Received: (from uucp@localhost) by storm.FreeBSD.org.uk (8.11.6/8.11.6) with UUCP id g328UbQ92869; Tue, 2 Apr 2002 09:30:37 +0100 (BST) (envelope-from mark@grimreaper.grondar.za) Received: from grimreaper (localhost [127.0.0.1]) by grimreaper.grondar.org (8.12.2/8.12.2) with ESMTP id g328PwPL036675; Tue, 2 Apr 2002 09:25:58 +0100 (BST) (envelope-from mark@grimreaper.grondar.za) Message-Id: <200204020825.g328PwPL036675@grimreaper.grondar.org> To: obrien@freebsd.org Cc: current@freebsd.org Subject: Re: Perl build uses 'cc' and maybe 'gcc' directly. References: <20020401165001.A51891@dragon.nuxi.com> In-Reply-To: <20020401165001.A51891@dragon.nuxi.com> ; from "David O'Brien" "Mon, 01 Apr 2002 16:50:01 -0800." Date: Tue, 02 Apr 2002 09:25:58 +0100 From: Mark Murray Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Any chance of getting the Perl build to properly use ${CC} rather than > hard coding 'cc'? Also a "find . -type f | xargs grep gcc" shows that > GCC may be called directly also. OK - I'll look at that. > This is a problem for cross builds, and using alternate versions of of > the compiler (say gcc31 for testing). Gotcha. M -- o Mark Murray \_ O.\_ Warning: this .sig is umop ap!sdn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 0:32:16 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84]) by hub.freebsd.org (Postfix) with ESMTP id 6049537B417 for ; Tue, 2 Apr 2002 00:32:08 -0800 (PST) Received: from fwd10.sul.t-online.de by mailout09.sul.t-online.com with smtp id 16sJhz-0001mZ-07; Tue, 02 Apr 2002 10:32:03 +0200 Received: from Magelan.Leidinger.net (520065502893-0001@[217.83.16.58]) by fmrl10.sul.t-online.com with esmtp id 16sJhk-1F2ATIC; Tue, 2 Apr 2002 10:31:48 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.2/8.12.2) with ESMTP id g328VdRj000551; Tue, 2 Apr 2002 10:31:43 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200204020831.g328VdRj000551@Magelan.Leidinger.net> Date: Tue, 2 Apr 2002 10:31:39 +0200 (CEST) From: Alexander Leidinger Subject: Re: cvs commit: ports/lang Makefile ports/lang/icc Makefile distinfo pkg-comment pkg-descr pkg-plist ports/lang/icc/files patch-include To: freebsd-current@FreeBSD.org Cc: winter@jurai.net In-Reply-To: <20020401141059.B23489@dragon.nuxi.com> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=iso-8859-1 X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 1 Apr, David O'Brien wrote: >> > This is fine just to get things working. But please consider Doing It >> > Right -- that being wrap the definitions of CC, CFLAGS, and PICFLAG with >> > USE_ICC rather than strew USE_ICC all over the place. For instance: >> > >> > /usr/share/mk/sys.mk >> > .if defined(USE_ICC) >> > CC= icc >> > .else >> > CC= cc >> > .endif >> >> - How do you want to solve the single suffix rules then? > > What is the problem with them? > > .c: > ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.IMPSRC} > > CC and CFLAGS is used. You can't link native FreeBSD binaries with icc, it tries to link against glibc. You have to use icc to produce object files, and cc to link them. Obviously substituting cc with icc doesn't work here, so we need a way to circumvent it, e.g. (untested) ${CC} -c ${CFLAGS} -o - ${.IMPSRC} | ${LD} ${LDFLAGS} -o ${.TARGET} I don't know if this works, but it should. IMHO. >> - Do we use ${LD} in every significant place? > > If we don't it is a bug -- send in a patch. But LD is `ld', does ICC > come with its own linker? It's integrated into 'icc', but see above. >> - What about ports with "CC=${CC}" in CONFIGURE_ENV (they would break >> in the USE_ICC case)? > > How would they?? CC=icc if you have USE_ICC defined. Either in > /etc/make.conf or `make USE_ICC=yes'. > > It seems you do not realize the whole reason for "${CC}" rather than just > "cc". I do realite the whore reason, but this solution doesn't fit the problem. We also have files (in the kernel) which fail to compile because they are assembler files, but they get compiled with CC. Have a look at http://www.leidinger.net/FreeBSD/LINT_with_icc_20020327_newPORTREVISION_withFixes.log.bz2 I wan't to provide a smooth transition, not a large 'do everything at once' patch (I first tried to keep the icc parts completely indepenend form the CC/CFLAGS parts to minimize the gcc specific CFLAGS, but I realized this would be very time consuming, so I just tried to have something useable). I haven't the time to do everything at once, but I (and perhaps others too) have time to do it piecemeal. The actual patch allows people to already work on fixing the kernel and the userland for icc, while other people work on designing an improvement for the build system. >> >> > -D__attribute__(x)= >> >> > -D__GNUC__=2 >> >> >> >> Ok as a short term solution, but IMHO this should get solved in the >> >> source. >> > >> > Totally agreed for defining __GNUC__. >> >> And the __attribute__ line is the reason why libc doesn't work. > > Explain "does not work". Matthew wrote: ---snip--- Libc had some issues with malloc and mmap() and wouldn't function when installed, but other things worked fine. ---snip--- Icc doesn't understand __attribute__(x). I assume it isn't able to do its job becaue of different alignment and packing issues. But this is a guess. Bye, Alexander. -- Yes, I've heard of "decaf." What's your point? http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 0:39:54 2002 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 2BBF837B400; Tue, 2 Apr 2002 00:39:48 -0800 (PST) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 8DE3D5346; Tue, 2 Apr 2002 10:39:45 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: obrien@freebsd.org Cc: current@freebsd.org, Thomas Quinot Subject: Re: Problem with ssh References: <20020328183736.85E9588@nebula.anchoragerescue.org> <20020328192816.GA217@mich.itxmarket.com> <20020328194005.573B688@nebula.anchoragerescue.org> <20020328120317.C92633@dragon.nuxi.com> <20020329030505.GF22998@squall.waterspout.com> <20020329110125.A61943@melusine.cuivre.fr.eu.org> <20020329203139.C74181@dragon.nuxi.com> <20020401142524.C23489@dragon.nuxi.com> <20020401155904.B37730@dragon.nuxi.com> From: Dag-Erling Smorgrav Date: 02 Apr 2002 10:39:44 +0200 In-Reply-To: <20020401155904.B37730@dragon.nuxi.com> Message-ID: Lines: 32 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "David O'Brien" writes: > so getting an OPIE formatted challenge on RELENG_4 immediately lets > someone know it is fake and bogus. I know. I told you it is a bug in the server. > > the client attempts challenge-response authentication, which is what > > is used for PAM. > I do not follow what you are saying. FreeBSD's OpenSSH 3.1 server now uses PAM for authentication, using SSH's challenge-response authentication protocol, which is used for S/Key or OPIE in older versions. > I thought 3.1 was imported due to a security problem with 3.0. No, the security problem was already fixed in our version of OpenSSH. 3.1 was imported to solve other problems, reduce the amount of local patches and allow us to use PAM on the server side. > > > Considering I DO want SKeyAuthentication (USENIX is comming up); what is > > > the real fix? > > Enable it only for servers that need it. > I just said "I need it". The user from "ssh user@server" does have a > properly setup S/Key entry in /etc/skeykeys The *client* should add "SKeyAuthentication yes" to his ~/.ssh/config only for those hosts that need it. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 0:40:19 2002 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 2376D37B41A for ; Tue, 2 Apr 2002 00:40:10 -0800 (PST) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 0C8485348; Tue, 2 Apr 2002 10:40:09 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Pierre Beyssac Cc: freebsd-current@freebsd.org Subject: Re: FreeBSD-localised OpenSSH hangs with Foundry SSH1 server References: <20020401204810.A55589@fasterix.frmug.org> <20020402023134.A56960@fasterix.frmug.org> From: Dag-Erling Smorgrav Date: 02 Apr 2002 10:40:08 +0200 In-Reply-To: <20020402023134.A56960@fasterix.frmug.org> Message-ID: Lines: 11 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Pierre Beyssac writes: > On Mon, Apr 01, 2002 at 11:32:07PM +0200, Dag-Erling Smorgrav wrote: > > Look for VersionAddendum in /etc/ssh/sshd_config (it can be used in > > ssh_config as well). > Uh, no, it does not seem to work in ssh_config, only in sshd_config. Hmm, that needs fixing then. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 1:13:47 2002 Delivered-To: freebsd-current@freebsd.org Received: from web11408.mail.yahoo.com (web11408.mail.yahoo.com [216.136.131.238]) by hub.freebsd.org (Postfix) with SMTP id 9C56537B41F for ; Tue, 2 Apr 2002 01:13:42 -0800 (PST) Message-ID: <20020402091342.71263.qmail@web11408.mail.yahoo.com> Received: from [202.167.61.228] by web11408.mail.yahoo.com via HTTP; Tue, 02 Apr 2002 01:13:42 PST Date: Tue, 2 Apr 2002 01:13:42 -0800 (PST) From: Shizuka Kudo Subject: Re: Card has no functions To: Miguel Mendez Cc: freebsd-current@freebsd.org In-Reply-To: <20020401212850.A69723@energyhq.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --- Miguel Mendez wrote: > On Mon, Apr 01, 2002 at 07:42:59AM -0800, Shizuka > Kudo wrote: > > Hi there, > > > I'm having problem with the TI cardbus bridge to > > recognize PCCARD in "NEWCARD" kernel. I have a > desktop > > with TI PCI1250 adaptor and an IBM Thinkpad with > TI > > 1450. Both recognize PC Cards in "GENERIC" kernel, > but > > get "Card has no functions" in NEWCARD. I checked > the > > maillist and found no answer. The same kernel ran > fine > > in a Toshiba Portege with ToPIC100 cardbus bridge. > Is > > this something unique to TI chips? Any suggestion > I > > should try? > > My Thinkpad 310 is running -CURRENT as of the 29th > of March. I normally > use a CARDBUS nic, but I've just inserted a PCCARD > nic on the second > slot and it's recognized as ed0. My hardware has a > TI1131 PCI-CardBus > Bridge. > > It seems to work here, when did you last cvsup your > src? > > Cheers, I just tried WIN2K in my machines (both desktop & thinkpad), get the memory address assigned by Win2K and add hw.cbb.start_mem entry in /boot/loader.conf. Now both machine recognize the PCCARD. I suspect the kernel cannot decode the memory address correctly. __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://http://taxes.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 2: 1:30 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.cs.tu-berlin.de (mail.cs.tu-berlin.de [130.149.17.13]) by hub.freebsd.org (Postfix) with ESMTP id 1A0C137B41D for ; Tue, 2 Apr 2002 02:01:24 -0800 (PST) Received: from freno.cs.tu-berlin.de (wosch@freno.cs.tu-berlin.de [130.149.17.167]) by mail.cs.tu-berlin.de (8.9.3/8.9.3) with ESMTP id LAA10907; Tue, 2 Apr 2002 11:56:28 +0200 (MET DST) Received: (from wosch@localhost) by freno.cs.tu-berlin.de (8.9.3/8.9.3) id LAA17853; Tue, 2 Apr 2002 11:56:28 +0200 (MET DST) Date: Tue, 2 Apr 2002 11:56:28 +0200 From: Wolfram Schneider To: current@freebsd.org Cc: buildadm@jp.FreeBSD.org Subject: no current snapshots available Message-ID: <20020402115628.A17801@freno.cs.tu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, there are no up to date current snapshots available. At ftp://current.freebsd.org/pub/FreeBSD/snapshots/i386/ the last snapshot is from 21-Mar-2002 and at ftp://snapshots.jp.freebsd.org/pub/FreeBSD/snapshots/i386/ the last snapshot is from 23-Mar-2002 (apparently disk full). -Wolfram -- Wolfram Schneider http://wolfram.schneider.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 2:32:29 2002 Delivered-To: freebsd-current@freebsd.org Received: from castle.jp.FreeBSD.org (castle.jp.FreeBSD.org [210.226.20.15]) by hub.freebsd.org (Postfix) with ESMTP id B52A637B41C for ; Tue, 2 Apr 2002 02:32:25 -0800 (PST) Received: from localhost (localhost [::1]) by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet6 id g32AWJv32593; Tue, 2 Apr 2002 19:32:19 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) Cc: current@freebsd.org, buildadm@jp.FreeBSD.org In-Reply-To: <20020402115628.A17801@freno.cs.tu-berlin.de> References: <20020402115628.A17801@freno.cs.tu-berlin.de> X-User-Agent: Mew/1.94.2 XEmacs/21.5 (bamboo) X-FaceAnim: (-O_O-)(O_O- )(_O- )(O- )(- -)( -O)( -O_)( -O_O)(-O_O-) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Dispatcher: imput version 20000228(IM140) Lines: 9 From: Makoto Matsushita To: wosch@cs.tu-berlin.de Subject: Re: no current snapshots available Date: Tue, 02 Apr 2002 19:32:13 +0900 Message-Id: <20020402193213L.matusita@jp.FreeBSD.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG wosch> there are no up to date current snapshots available. Yes, current 5-current's fixit.flp is flooded. I have an idea how to fix it (see current@), but sorry I have no time to check that my idea is good or bad... -- - Makoto `MAR' Matsushita To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 2:59:15 2002 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id 3C25E37B428 for ; Tue, 2 Apr 2002 02:58:46 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020402105703.EFCH7801.rwcrmhc51.attbi.com@blossom.cjclark.org>; Tue, 2 Apr 2002 10:57:03 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g32Av1p51888; Tue, 2 Apr 2002 02:57:01 -0800 (PST) (envelope-from cjc) Date: Tue, 2 Apr 2002 02:57:01 -0800 From: "Crist J. Clark" To: Terry Lambert Cc: freebsd-current@FreeBSD.ORG, Emiel Kollof Subject: Re: kldxref problem Message-ID: <20020402025701.F99214@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <20020330205329.D51062-100000@resnet.uoregon.edu> <3CA6BFE4.8296DF74@mindspring.com> <1017571105.901.4.camel@loki.ipv6.hackerheaven.org> <20020401003521.A88395@dragon.nuxi.com> <20020401111708.V99214@blossom.cjclark.org> <3CA8E842.CC6A9D18@mindspring.com> <20020401163441.A99214@blossom.cjclark.org> <3CA912A8.167AFEDB@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3CA912A8.167AFEDB@mindspring.com>; from tlambert2@mindspring.com on Mon, Apr 01, 2002 at 06:08:40PM -0800 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Apr 01, 2002 at 06:08:40PM -0800, Terry Lambert wrote: > "Crist J. Clark" wrote: > > > This came up in the first place because it's a cross-envrionment > > > issue that needs resolving. The "workaround" exists because the > > > workaround cops out on the cross-environment part of the process > > > and spits out the warnming, instead. > > > > An 'installworld' doesn't even come close to working in a cross > > environment for a whole variety of reasons, so I don't see the > > relevance. > > > > The situation this question comes up is typically 5-CURRENT builds on > > 4-STABLE systems, not in cross-archetecture builds. > > Since this is the recommended upgrade path for going from 4.x > to 5.x right now, it's an issue, if you can't cross-build 5.x > on 4.x. You can't do it with 4.x .h-files. You need to use 5-CURRENT headers. The cross-tools phase, stage 3, uses the host system's headers. > That other things are broken doesn't really excuse this being > broken. > > The problem is that the kldxref deserves to get its own tools > build, so that there is a version that works against 5.x code > that can be built on 4.x (or NetBSD or Linux or Solaris or > whatever). It builds fine on 4.x as long as you use the correct headers. It appears to run fine on 4.x too. It's just that you pretty much need to add a new stage to the build process. A stage where one builds cross-tools with the new header files. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 3:55: 7 2002 Delivered-To: freebsd-current@freebsd.org Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id 20E9837B417 for ; Tue, 2 Apr 2002 03:54:57 -0800 (PST) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.11.6/8.11.6) id g32Bsao96371; Tue, 2 Apr 2002 13:54:36 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200204021154.g32Bsao96371@zibbi.icomtek.csir.co.za> Subject: Re: no current snapshots available In-Reply-To: <20020402115628.A17801@freno.cs.tu-berlin.de> from Wolfram Schneider at "Apr 2, 2002 11:56:28 am" To: wosch@cs.tu-berlin.de (Wolfram Schneider) Date: Tue, 2 Apr 2002 13:54:35 +0200 (SAT) Cc: current@FreeBSD.ORG, buildadm@jp.FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > there are no up to date current snapshots available. > > At ftp://current.freebsd.org/pub/FreeBSD/snapshots/i386/ the last > snapshot is from 21-Mar-2002 > > and at > ftp://snapshots.jp.freebsd.org/pub/FreeBSD/snapshots/i386/ the last > snapshot is from 23-Mar-2002 (apparently disk full). If you have enough patience, you can get snapshots from ftp.za.freebsd.org/pub/FreeBSD/snapshots/i386/ Our link is only 2Mbit/s, so don't expect US speeds. :-) I'm building the fixit floppy without a populated /dev. That leaves enough space open to fit all the rest of the stuff and it shouldn't be needed on -current because of devfs. But I haven't tried it. :-) John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 5:12: 7 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailout05.sul.t-online.com (mailout05.sul.t-online.com [194.25.134.82]) by hub.freebsd.org (Postfix) with ESMTP id 690D437B416; Tue, 2 Apr 2002 05:12:03 -0800 (PST) Received: from fwd06.sul.t-online.de by mailout05.sul.t-online.com with smtp id 16sNyy-0003Gq-09; Tue, 02 Apr 2002 15:05:52 +0200 Received: from Magelan.Leidinger.net (520065502893-0001@[217.83.16.58]) by fmrl06.sul.t-online.com with esmtp id 16sNyv-1kKRYuC; Tue, 2 Apr 2002 15:05:49 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.2/8.12.2) with ESMTP id g32D5e4D000583; Tue, 2 Apr 2002 15:05:44 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200204021305.g32D5e4D000583@Magelan.Leidinger.net> Date: Tue, 2 Apr 2002 15:05:40 +0200 (CEST) From: Alexander Leidinger Subject: Re: USB printing broken? To: current@FreeBSD.ORG Cc: joe@FreeBSD.ORG In-Reply-To: <200203301524.g2UFOA7S014571@Magelan.Leidinger.net> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 30 Mär, I wrote: > I've a kernel from Mar 27 which isn't able to print with my USB printer. A kernel from today isn't able to print too, but at least usbdevs doesn't hang anymore. I haven't checked if moused still causes the box to hang at shutdown. Bye, Alexander. -- Weird enough for government work. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 5:21:38 2002 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id CB86A37B419; Tue, 2 Apr 2002 05:21:34 -0800 (PST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.2/8.12.2) with ESMTP id g32DL64F048624; Tue, 2 Apr 2002 15:21:08 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Alexander Leidinger Cc: current@FreeBSD.ORG, joe@FreeBSD.ORG Subject: Re: USB printing broken? In-Reply-To: Your message of "Tue, 02 Apr 2002 15:05:40 +0200." <200204021305.g32D5e4D000583@Magelan.Leidinger.net> Date: Tue, 02 Apr 2002 15:21:06 +0200 Message-ID: <48623.1017753666@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <200204021305.g32D5e4D000583@Magelan.Leidinger.net>, Alexander Leidi nger writes: >On 30 Mär, I wrote: > >> I've a kernel from Mar 27 which isn't able to print with my USB printer. > >A kernel from today isn't able to print too, but at least usbdevs >doesn't hang anymore. go back about 3 weeks in sys/dev/usb and it works. -- 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-current" in the body of the message From owner-freebsd-current Tue Apr 2 5:24:11 2002 Delivered-To: freebsd-current@freebsd.org Received: from castle.jp.FreeBSD.org (castle.jp.FreeBSD.org [210.226.20.15]) by hub.freebsd.org (Postfix) with ESMTP id 119E037B400 for ; Tue, 2 Apr 2002 05:24:09 -0800 (PST) Received: from localhost (localhost [::1]) by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet6 id g32DMvv64749; Tue, 2 Apr 2002 22:22:57 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) Cc: wosch@cs.tu-berlin.de, current@FreeBSD.ORG In-Reply-To: <200204021154.g32Bsao96371@zibbi.icomtek.csir.co.za> References: <20020402115628.A17801@freno.cs.tu-berlin.de> <200204021154.g32Bsao96371@zibbi.icomtek.csir.co.za> X-User-Agent: Mew/1.94.2 XEmacs/21.5 (bamboo) X-FaceAnim: (-O_O-)(O_O- )(_O- )(O- )(- -)( -O)( -O_)( -O_O)(-O_O-) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Dispatcher: imput version 20000228(IM140) Lines: 9 From: Makoto Matsushita To: jhay@icomtek.csir.co.za Subject: Re: no current snapshots available Date: Tue, 02 Apr 2002 22:22:54 +0900 Message-Id: <20020402222254M.matusita@jp.FreeBSD.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jhay> I'm building the fixit floppy without a populated /dev. That leaves jhay> enough space open to fit all the rest of the stuff and it shouldn't jhay> be needed on -current because of devfs. But I haven't tried it. :-) That is all I want to check it ASAP :-) -- - Makoto `MAR' Matsushita To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 5:24:33 2002 Delivered-To: freebsd-current@freebsd.org Received: from tao.org.uk (genius.tao.org.uk [212.135.162.51]) by hub.freebsd.org (Postfix) with ESMTP id 4F22B37B41D; Tue, 2 Apr 2002 05:24:24 -0800 (PST) Received: by tao.org.uk (Postfix, from userid 100) id 51B015BB; Tue, 2 Apr 2002 14:24:05 +0100 (BST) Date: Tue, 2 Apr 2002 14:24:05 +0100 From: Josef Karthauser To: Alexander Leidinger Cc: current@FreeBSD.ORG, joe@FreeBSD.ORG Subject: Re: USB printing broken? Message-ID: <20020402132405.GB65045@genius.tao.org.uk> Mail-Followup-To: Josef Karthauser , Alexander Leidinger , current@FreeBSD.ORG, joe@FreeBSD.ORG References: <200203301524.g2UFOA7S014571@Magelan.Leidinger.net> <200204021305.g32D5e4D000583@Magelan.Leidinger.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eAbsdosE1cNLO4uF" Content-Disposition: inline In-Reply-To: <200204021305.g32D5e4D000583@Magelan.Leidinger.net> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --eAbsdosE1cNLO4uF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 02, 2002 at 03:05:40PM +0200, Alexander Leidinger wrote: > On 30 M?r, I wrote: >=20 > > I've a kernel from Mar 27 which isn't able to print with my USB printer. >=20 > A kernel from today isn't able to print too, but at least usbdevs > doesn't hang anymore. Great! At least I fixed something ;). I'm almost there on getting us current with NetBSD. I suspect that there are bugs over there that we're just tripping on now. Joe --eAbsdosE1cNLO4uF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjypsPQACgkQXVIcjOaxUBZt4QCfUrqclS652vZUXeLvOWUJd6fO UkcAoJcfK+tR4FMQUD6aAfQAeLwQvuU5 =mfOg -----END PGP SIGNATURE----- --eAbsdosE1cNLO4uF-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 6:10:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailout07.sul.t-online.com (mailout07.sul.t-online.com [194.25.134.83]) by hub.freebsd.org (Postfix) with ESMTP id BE71437B42A; Tue, 2 Apr 2002 06:09:57 -0800 (PST) Received: from fwd00.sul.t-online.de by mailout07.sul.t-online.com with smtp id 16sOM8-0005Ga-0B; Tue, 02 Apr 2002 15:29:48 +0200 Received: from Magelan.Leidinger.net (520065502893-0001@[217.83.16.58]) by fmrl00.sul.t-online.com with esmtp id 16sOLt-01U7NoC; Tue, 2 Apr 2002 15:29:33 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.2/8.12.2) with ESMTP id g32DTN4D000627; Tue, 2 Apr 2002 15:29:27 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200204021329.g32DTN4D000627@Magelan.Leidinger.net> Date: Tue, 2 Apr 2002 15:29:23 +0200 (CEST) From: Alexander Leidinger Subject: Re: USB printing broken? To: phk@critter.freebsd.dk Cc: current@FreeBSD.ORG, joe@FreeBSD.ORG In-Reply-To: <48623.1017753666@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2 Apr, Poul-Henning Kamp wrote: >>> I've a kernel from Mar 27 which isn't able to print with my USB printer. >> >>A kernel from today isn't able to print too, but at least usbdevs >>doesn't hang anymore. > > go back about 3 weeks in sys/dev/usb and it works. I know, I reported that too. I just wanted to keep the people informed. Bye, Alexander. -- ...and that is how we know the Earth to be banana-shaped. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 7:43:56 2002 Delivered-To: freebsd-current@freebsd.org Received: from castle.jp.FreeBSD.org (castle.jp.FreeBSD.org [210.226.20.15]) by hub.freebsd.org (Postfix) with ESMTP id 53AE837B419 for ; Tue, 2 Apr 2002 07:43:51 -0800 (PST) Received: from localhost (localhost [::1]) by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet6 id g32Fhov05123 for ; Wed, 3 Apr 2002 00:43:50 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) In-Reply-To: <20020327172156D.matusita@jp.FreeBSD.org> References: <200203270544.g2R5i5F35122@zibbi.icomtek.csir.co.za> <200203270544.g2R5i5F35122@zibbi.icomtek.csir.co.za> <20020327172156D.matusita@jp.FreeBSD.org> X-User-Agent: Mew/1.94.2 XEmacs/21.5 (bamboo) X-FaceAnim: (-O_O-)(O_O- )(_O- )(O- )(- -)( -O)( -O_)( -O_O)(-O_O-) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Dispatcher: imput version 20000228(IM140) Lines: 9 From: Makoto Matsushita To: current@FreeBSD.org Subject: Re: fixit.flp full again Date: Wed, 03 Apr 2002 00:43:45 +0900 Message-Id: <20020403004345T.matusita@jp.FreeBSD.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG matusita> But I don't checked that we can safely remove /dev/* files from matusita> fixit.flp (sorry, if no one try to do, I'll do it later). I've confirmed that it makes no problem, so commit it. We get about 40kbytes of free fixit.flp space again. -- - Makoto `MAR' Matsushita To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 8:17:10 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 0883637B400; Tue, 2 Apr 2002 08:17:03 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id CAA21966; Wed, 3 Apr 2002 02:16:41 +1000 Date: Wed, 3 Apr 2002 02:17:36 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Joerg Wunsch Cc: freebsd-current@freebsd.org, "Crist J. Clark" , Subject: Re: disklabel(8) floppy panic In-Reply-To: <200204012113.g31LDKt02333@uriah.heep.sax.de> Message-ID: <20020403015713.E6933-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 1 Apr 2002, Joerg Wunsch wrote: > fdioctl() historically attempted to determine the "raw" partition > (`c') of the device in order to read the label. However, the floppy > driver never really supported UFS-style partitions anyway. This ended > up in selecting the wrong device for reading the label, which was a > not-so-fatal error before the last floppy driver rewrite (it actually > selected the fdX.1480 device then, which was obviously benign for 3.5" > drives). However, now it hits an unitialized device which becomes Yikes. > fatal in readdisklabel() by attempting an indirect call to the > strategy routine that hasn't been entered in the struct dev passed > down. > The call to dkmodpart() entered in rev. 1.64 of fd.c, so i'm Cc'ing > Bruce for a comment whether the fix below is indeed TRT. > > Index: sys/isa/fd.c > =================================================================== > RCS file: /home/ncvs/src/sys/isa/fd.c,v > retrieving revision 1.224 > diff -u -r1.224 fd.c > --- isa/fd.c 18 Dec 2001 22:16:33 -0000 1.224 > +++ isa/fd.c 1 Apr 2002 20:56:22 -0000 > @@ -2704,7 +2704,7 @@ > fdt = fd->ft; > lp->d_secpercyl = fdt->size / fdt->tracks; > lp->d_type = DTYPE_FLOPPY; > - if (readdisklabel(dkmodpart(dev, RAW_PART), lp) != NULL) > + if (readdisklabel(dev, lp) != NULL) > error = EINVAL; > else > *(struct disklabel *)addr = *lp; > I think this is the right fix. The `dk' macros don't apply to the floppy driver since it doesn't use the disk or diskslice layer. This one probably escaped from my version which optionally uses the diskslice layer. Sorry. You probably remmeber the "Trick diskerr()" stuff. That was for related things. I had to fix this better for the slice case. The problem is that dkmodpart() gives a half-baked device struct. It used to just modify the minor number, and everything that deals with the minor number handled weird ones reasonably. Even fd handled them as reasonably as possible (fdX.1480 was perfect GIGO). BTW, device cloning seems to work wrong for fd: %%% Script started on Wed Apr 3 02:16:43 2002 ttyp1:bde@besplex:/tmp> ls /dev/fd0c ls: /dev/fd0c: No such file or directory ttyp1:bde@besplex:/tmp> ls /dev/fd0c /dev/fd0c@ ttyp1:bde@besplex:/tmp> exit Script done on Wed Apr 3 02:16:55 2002 %%% Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 8:37: 4 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.com [194.25.134.19]) by hub.freebsd.org (Postfix) with ESMTP id 9331E37B419 for ; Tue, 2 Apr 2002 08:36:49 -0800 (PST) Received: from fwd08.sul.t-online.de by mailout06.sul.t-online.com with smtp id 16sRDl-0008MP-0L; Tue, 02 Apr 2002 18:33:21 +0200 Received: from Magelan.Leidinger.net (520065502893-0001@[217.83.16.58]) by fmrl08.sul.t-online.com with esmtp id 16sRDh-29ZuzYC; Tue, 2 Apr 2002 18:33:17 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.2/8.12.2) with ESMTP id g32GX94D025300 for ; Tue, 2 Apr 2002 18:33:13 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200204021633.g32GX94D025300@Magelan.Leidinger.net> Date: Tue, 2 Apr 2002 18:33:09 +0200 (CEST) From: Alexander Leidinger Subject: kern.pre.mk, bug or intended? To: current@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, kern.pre.mk contains NORMAL_C= ${CC} -c ${CFLAGS} ${WERROR} ${PROF} ${.IMPSRC} PROFILE_C= ${CC} -c ${CFLAGS} ${WERROR} ${.IMPSRC} NORMAL_C_NOWERROR= ${CC} -c ${CFLAGS} ${PROF} ${.IMPSRC} shouldn't this be NORMAL_C= ${CC} -c ${CFLAGS} ${WERROR} ${.IMPSRC} PROFILE_C= ${CC} -c ${CFLAGS} ${PROF} ${WERROR} ${.IMPSRC} NORMAL_C_NOWERROR= ${CC} -c ${CFLAGS} ${.IMPSRC} ? Bye, Alexander. -- I believe the technical term is "Oops!" http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 9:54:48 2002 Delivered-To: freebsd-current@freebsd.org Received: from fasterix.frmug.org (fasterix.frmug.org [137.194.24.200]) by hub.freebsd.org (Postfix) with ESMTP id C61D437B400 for ; Tue, 2 Apr 2002 09:54:37 -0800 (PST) Received: from fasterix.frmug.org (localhost [127.0.0.1]) by fasterix.frmug.org (8.12.2/8.12.2) with ESMTP id g32HsUcP035588 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 2 Apr 2002 19:54:30 +0200 (CEST) (envelope-from pb@fasterix.frmug.org) Received: (from pb@localhost) by fasterix.frmug.org (8.12.2/8.12.2/Submit) id g32HsPPn035587; Tue, 2 Apr 2002 19:54:25 +0200 (CEST) Message-ID: <20020402195425.A35581@fasterix.frmug.org> Date: Tue, 2 Apr 2002 19:54:25 +0200 From: Pierre Beyssac To: Dag-Erling Smorgrav Cc: freebsd-current@FreeBSD.ORG Subject: Re: FreeBSD-localised OpenSSH hangs with Foundry SSH1 server References: <20020401204810.A55589@fasterix.frmug.org> <20020402023134.A56960@fasterix.frmug.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=G4iJoqBmSsgzjUCe X-Mailer: Mutt 0.92.8i In-Reply-To: ; from Dag-Erling Smorgrav on Tue, Apr 02, 2002 at 10:40:08AM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii On Tue, Apr 02, 2002 at 10:40:08AM +0200, Dag-Erling Smorgrav wrote: > > Uh, no, it does not seem to work in ssh_config, only in sshd_config. > Hmm, that needs fixing then. I have written the following patch, seems to work ok. Pierre --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch.ssh" --- readconf.c.orig Tue Mar 19 14:29:02 2002 +++ readconf.c Tue Apr 2 19:44:46 2002 @@ -116,7 +116,8 @@ oKbdInteractiveAuthentication, oKbdInteractiveDevices, oHostKeyAlias, oDynamicForward, oPreferredAuthentications, oHostbasedAuthentication, oHostKeyAlgorithms, oBindAddress, oSmartcardDevice, - oClearAllForwardings, oNoHostAuthenticationForLocalhost + oClearAllForwardings, oNoHostAuthenticationForLocalhost, + oVersionAddendum } OpCodes; /* Textual representations of the tokens. */ @@ -188,6 +189,7 @@ { "smartcarddevice", oSmartcardDevice }, { "clearallforwardings", oClearAllForwardings }, { "nohostauthenticationforlocalhost", oNoHostAuthenticationForLocalhost }, + { "versionaddendum", oVersionAddendum }, { NULL, oBadOption } }; @@ -675,6 +677,13 @@ } if (*activep && *intptr == -1) *intptr = value; + break; + + case oVersionAddendum: + ssh_version_set_addendum(strtok(s, "\n")); + do { + arg = strdelim(&s); + } while (arg != NULL && *arg != '\0'); break; default: --G4iJoqBmSsgzjUCe-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 10: 5:23 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 8C03637B416 for ; Tue, 2 Apr 2002 10:05:18 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id EAA27512; Wed, 3 Apr 2002 04:05:10 +1000 Date: Wed, 3 Apr 2002 04:06:05 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Alexander Leidinger Cc: current@FreeBSD.ORG Subject: Re: kern.pre.mk, bug or intended? In-Reply-To: <200204021633.g32GX94D025300@Magelan.Leidinger.net> Message-ID: <20020403040250.K7472-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 2 Apr 2002, Alexander Leidinger wrote: > Hi, > > kern.pre.mk contains > NORMAL_C= ${CC} -c ${CFLAGS} ${WERROR} ${PROF} ${.IMPSRC} > PROFILE_C= ${CC} -c ${CFLAGS} ${WERROR} ${.IMPSRC} > NORMAL_C_NOWERROR= ${CC} -c ${CFLAGS} ${PROF} ${.IMPSRC} > shouldn't this be > NORMAL_C= ${CC} -c ${CFLAGS} ${WERROR} ${.IMPSRC} > PROFILE_C= ${CC} -c ${CFLAGS} ${PROF} ${WERROR} ${.IMPSRC} > NORMAL_C_NOWERROR= ${CC} -c ${CFLAGS} ${.IMPSRC} No. ${PROFILE_C} is for compiling profiling support files that must be compiled without profiling. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 10:40:17 2002 Delivered-To: freebsd-current@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id 0C37B37B41D; Tue, 2 Apr 2002 10:40:09 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id UAA17158; Tue, 2 Apr 2002 20:40:04 +0200 (CEST) Received: (from j@localhost) by uriah.heep.sax.de (8.11.6/8.11.6) id g32IZx026026; Tue, 2 Apr 2002 20:35:59 +0200 (MET DST) (envelope-from j) Date: Tue, 2 Apr 2002 20:35:59 +0200 From: Joerg Wunsch To: Bruce Evans Cc: freebsd-current@freebsd.org, phk@freebsd.org Subject: Re: disklabel(8) floppy panic Message-ID: <20020402203559.A25802@uriah.heep.sax.de> Reply-To: Joerg Wunsch Mail-Followup-To: Joerg Wunsch , Bruce Evans , freebsd-current@freebsd.org, phk@freebsd.org References: <200204012113.g31LDKt02333@uriah.heep.sax.de> <20020403015713.E6933-100000@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020403015713.E6933-100000@gamplex.bde.org>; from bde@zeta.org.au on Wed, Apr 03, 2002 at 02:17:36AM +1000 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG As Bruce Evans wrote: > BTW, device cloning seems to work wrong for fd: > > %%% > Script started on Wed Apr 3 02:16:43 2002 > ttyp1:bde@besplex:/tmp> ls /dev/fd0c > ls: /dev/fd0c: No such file or directory > ttyp1:bde@besplex:/tmp> ls /dev/fd0c > /dev/fd0c@ > ttyp1:bde@besplex:/tmp> exit I can also see this. IMHO, that's an artifact of how device on-demand alias creation is working. Cc to Poul-Henning, maybe he can shed some light on this. Ah, hmm, i think that's a problem of "ls -F", actually. Look here. j@uriah 90% ls -l /dev/fd1* crw-r----- 1 root operator 9, 64 Apr 1 22:37 /dev/fd1 j@uriah 91% /bin/ls /dev/fd1c /dev/fd1c j@uriah 92% ls -l /dev/fd1* crw-r----- 1 root operator 9, 64 Apr 1 22:37 /dev/fd1 lrwxr-xr-x 1 root wheel 4 Apr 2 20:34 /dev/fd1c@ -> fd0 Plain /bin/ls (without any options) works as expected. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 12: 0:17 2002 Delivered-To: freebsd-current@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id A489E37B405 for ; Tue, 2 Apr 2002 12:00:05 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id WAA18178; Tue, 2 Apr 2002 22:00:04 +0200 (CEST) Received: (from j@localhost) by uriah.heep.sax.de (8.11.6/8.11.6) id g32JoKX27493; Tue, 2 Apr 2002 21:50:20 +0200 (MET DST) (envelope-from j) Date: Tue, 2 Apr 2002 21:50:20 +0200 (MET DST) Message-Id: <200204021950.g32JoKX27493@uriah.heep.sax.de> Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: <20020402083418.A40471@gsmx07.alcatel.com.au> From: j@uriah.heep.sax.de (Joerg Wunsch) Subject: Re: login looping X-Original-Newsgroups: local.freebsd.current To: freebsd-current@freebsd.org Cc: Peter Jeremy Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Peter Jeremy wrote: > I've just finished updating a system to -CURRENT from mid-April > (just before the DP1 branch). When I try to login, login(8) goes > into a loop. I've seen this occasionally for accounts that have either S/Key or opie (forgot which one it was) enabled. Killing the login process, and trying a new login mysteriously worked then. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 14:54:48 2002 Delivered-To: freebsd-current@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 304EB37B41E for ; Tue, 2 Apr 2002 14:54:45 -0800 (PST) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g32MsiYm008473; Tue, 2 Apr 2002 14:54:44 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g32MrSqo008417; Tue, 2 Apr 2002 14:53:28 -0800 (PST) Date: Tue, 2 Apr 2002 14:53:28 -0800 From: "David O'Brien" To: Alexander Leidinger Cc: freebsd-current@FreeBSD.org, winter@jurai.net Subject: Re: cvs commit: ports/lang Makefile ports/lang/icc Makefile distinfo pkg-comment pkg-descr pkg-plist ports/lang/icc/files patch-include Message-ID: <20020402145328.B1006@dragon.nuxi.com> Reply-To: obrien@FreeBSD.org References: <20020401141059.B23489@dragon.nuxi.com> <200204020831.g328VdRj000551@Magelan.Leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200204020831.g328VdRj000551@Magelan.Leidinger.net>; from Alexander@Leidinger.net on Tue, Apr 02, 2002 at 10:31:39AM +0200 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Apr 02, 2002 at 10:31:39AM +0200, Alexander Leidinger wrote: > > You can't link native FreeBSD binaries with icc, it tries to link > against glibc. Oh that is easy to fix. We can do it in one of two ways. Show me the exact link line from icc (I want the equivalent to gcc -v). -- -- David (obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 14:58: 4 2002 Delivered-To: freebsd-current@freebsd.org Received: from Stalker.alfacom.net (Stalker.Alfacom.net [193.108.124.1]) by hub.freebsd.org (Postfix) with ESMTP id E945037B41D for ; Tue, 2 Apr 2002 14:57:58 -0800 (PST) Received: from kushnir1.kiev.ua (dup-124-186.Alfacom.net [193.108.124.186]) by Stalker.alfacom.net (8.12.2.Beta3/8.12.2.Beta3) with ESMTP id g32MvpHX011270 for ; Wed, 3 Apr 2002 01:57:53 +0300 (EEST) Received: from kushnir1.kiev.ua (localhost [127.0.0.1]) by kushnir1.kiev.ua (8.12.2/8.12.2) with ESMTP id g32MwHCA058365 for ; Wed, 3 Apr 2002 01:58:17 +0300 (EEST) (envelope-from vkushnir@alfacom.net) Received: from localhost (volodya@localhost) by kushnir1.kiev.ua (8.12.2/8.12.2/Submit) with ESMTP id g32MvGlg057889 for ; Wed, 3 Apr 2002 01:58:17 +0300 (EEST) X-Authentication-Warning: kushnir1.kiev.ua: volodya owned process doing -bs Date: Wed, 3 Apr 2002 01:56:25 +0300 (EEST) From: Vladimir Kushnir X-X-Sender: volodya@kushnir1.kiev.ua To: freebsd-current@FreeBSD.ORG Subject: Slightly OT: Intel FORTRAN? [Was: Re: cvs commit: ports/lang/icc...] In-Reply-To: <200203300903.g2U93l7S002763@Magelan.Leidinger.net> Message-ID: <20020403015231.R6541-100000@kushnir1.kiev.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Is there any chance of getting ifc work under FreeBSD, either the way icc does or producing Linux binaries? Regards, Vladimir -- Vladimir Kushnir - vkushnir@Alfacom.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 15:13:21 2002 Delivered-To: freebsd-current@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by hub.freebsd.org (Postfix) with ESMTP id 9238437B405; Tue, 2 Apr 2002 15:13:15 -0800 (PST) Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by sasami.jurai.net (8.11.6/8.11.6) with ESMTP id g32NDEX77683; Tue, 2 Apr 2002 18:13:14 -0500 (EST) (envelope-from winter@jurai.net) Date: Tue, 2 Apr 2002 18:13:14 -0500 (EST) From: "Matthew N. Dodd" To: "David O'Brien" Cc: Alexander Leidinger , Subject: Re: cvs commit: ports/lang Makefile ports/lang/icc Makefile distinfo pkg-comment pkg-descr pkg-plist ports/lang/icc/files patch-include In-Reply-To: <20020402145328.B1006@dragon.nuxi.com> Message-ID: <20020402181209.B45452-100000@sasami.jurai.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 2 Apr 2002, David O'Brien wrote: > Oh that is easy to fix. We can do it in one of two ways. > Show me the exact link line from icc (I want the equivalent to gcc -v). We can also tell 'icc' to use our 'ld'. -Qlocation,ld,/usr/bin That didn't seem to work to well though as it still tries to use their 'crti.o' object. -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | For Great Justice! | ISO8802.5 4ever | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 15:18:15 2002 Delivered-To: freebsd-current@freebsd.org Received: from falcon.prod.itd.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by hub.freebsd.org (Postfix) with ESMTP id 0DC1B37B400 for ; Tue, 2 Apr 2002 15:18:12 -0800 (PST) Received: from pool0045.cvx22-bradley.dialup.earthlink.net ([209.179.198.45] helo=mindspring.com) by falcon.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16sXXO-0001yl-00; Tue, 02 Apr 2002 15:18:02 -0800 Message-ID: <3CAA3C12.F1C74FCA@mindspring.com> Date: Tue, 02 Apr 2002 15:17:38 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: cjclark@alum.mit.edu Cc: freebsd-current@FreeBSD.ORG, Emiel Kollof Subject: Re: kldxref problem References: <20020330205329.D51062-100000@resnet.uoregon.edu> <3CA6BFE4.8296DF74@mindspring.com> <1017571105.901.4.camel@loki.ipv6.hackerheaven.org> <20020401003521.A88395@dragon.nuxi.com> <20020401111708.V99214@blossom.cjclark.org> <3CA8E842.CC6A9D18@mindspring.com> <20020401163441.A99214@blossom.cjclark.org> <3CA912A8.167AFEDB@mindspring.com> <20020402025701.F99214@blossom.cjclark.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Crist J. Clark" wrote: > > The problem is that the kldxref deserves to get its own tools > > build, so that there is a version that works against 5.x code > > that can be built on 4.x (or NetBSD or Linux or Solaris or > > whatever). > > It builds fine on 4.x as long as you use the correct headers. It > appears to run fine on 4.x too. It's just that you pretty much need to > add a new stage to the build process. A stage where one builds > cross-tools with the new header files. I think we would all be happy with this. I think it's a requirement for the 5.x rollout, if people are going to be using buildworld to move themselves forward from 4.x. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 15:33: 3 2002 Delivered-To: freebsd-current@freebsd.org Received: from hilfy.ece.cmu.edu (HILFY.ECE.CMU.EDU [128.2.136.133]) by hub.freebsd.org (Postfix) with ESMTP id 8F6BB37B503 for ; Tue, 2 Apr 2002 15:31:21 -0800 (PST) Received: from rushlight.kf8nh.apk.net (root@VPN59.ECE.CMU.EDU [128.2.138.59]) by hilfy.ece.cmu.edu (8.11.0/8.8.8) with ESMTP id g32NVFU10343 for ; Tue, 2 Apr 2002 18:31:16 -0500 (EST) Received: (from allbery@localhost) by rushlight.kf8nh.apk.net (8.11.6/8.11.6) id g32NVGJ66067; Tue, 2 Apr 2002 18:31:16 -0500 (EST) (envelope-from allbery@ece.cmu.edu) X-Authentication-Warning: rushlight.kf8nh.apk.net: allbery set sender to allbery@ece.cmu.edu using -f Subject: Re: disklabel(8) floppy panic From: "Brandon S. Allbery " KF8NH To: freebsd-current@FreeBSD.ORG In-Reply-To: <20020402203559.A25802@uriah.heep.sax.de> References: <200204012113.g31LDKt02333@uriah.heep.sax.de> <20020403015713.E6933-100000@gamplex.bde.org> <20020402203559.A25802@uriah.heep.sax.de> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 02 Apr 2002 18:31:16 -0500 Message-Id: <1017790276.62290.0.camel@rushlight.kf8nh.apk.net> Mime-Version: 1.0 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 2002-04-02 at 13:35, Joerg Wunsch wrote: > j@uriah 92% ls -l /dev/fd1* (...) > lrwxr-xr-x 1 root wheel 4 Apr 2 20:34 /dev/fd1c@ -> fd0 Uh? -- brandon s allbery [openafs/solaris/japh/freebsd] allbery@kf8nh.apk.net system administrator [linux/heimdal/too many hats] allbery@ece.cmu.edu electrical and computer engineering KF8NH carnegie mellon university [better check the oblivious first -ke6sls] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 16:45:24 2002 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id 4E2AD37B419 for ; Tue, 2 Apr 2002 16:45:19 -0800 (PST) Received: from peter3.wemm.org ([12.232.27.13]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020403004514.QIPS15826.rwcrmhc54.attbi.com@peter3.wemm.org> for ; Wed, 3 Apr 2002 00:45:14 +0000 Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id g330jDx32370 for ; Tue, 2 Apr 2002 16:45:13 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id BE53D3808; Tue, 2 Apr 2002 16:45:13 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: cjclark@alum.mit.edu Cc: Terry Lambert , freebsd-current@FreeBSD.ORG, Emiel Kollof Subject: Re: kldxref problem In-Reply-To: <20020401163441.A99214@blossom.cjclark.org> Date: Tue, 02 Apr 2002 16:45:13 -0800 From: Peter Wemm Message-Id: <20020403004513.BE53D3808@overcee.wemm.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Crist J. Clark" wrote: > On Mon, Apr 01, 2002 at 03:07:46PM -0800, Terry Lambert wrote: > > "Crist J. Clark" wrote: > > > This whole argument ignores what the real problem is. The really > > > correct way to handle this is to use the kldxref(8) built in the > > > 'buildworld' phase. (It's bad form to be using any executables from > > > the base system if we have a full object tree.) Actually using the one > > > in /usr/obj/usr/src/usr.sbin/kldxref seems pretty ugly. The better > > > thing to do is to have a version in /usr/obj/usr/src//usr/sbin > > > by making it a crosstool. The failure should not be ignored in this > > > case. > > > > Uh, that doesn't work incredibly well when the machine you > > are on is an x86, and the machine that the buildworld targets > > is, say, the Alpha. > > > > This came up in the first place because it's a cross-envrionment > > issue that needs resolving. The "workaround" exists because the > > workaround cops out on the cross-environment part of the process > > and spits out the warnming, instead. > > An 'installworld' doesn't even come close to working in a cross > environment for a whole variety of reasons, so I don't see the > relevance. It used to. If it no longer works, it should be fixed. I partially do this for cross-architecture builds quite often where the target system is NFS mounted somewhere. kldxref however, does not have any cross capability, and is just a hint mechanism even then. It is not essential to run it. > The situation this question comes up is typically 5-CURRENT builds on > 4-STABLE systems, not in cross-archetecture builds. That is a different set of problems. cross-version builds have always been very trouble-prone. same-version cross builds are far less of a problem. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 16:48:12 2002 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id AFB0137B41C for ; Tue, 2 Apr 2002 16:48:05 -0800 (PST) Received: from peter3.wemm.org ([12.232.27.13]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020403004802.RAHM22231.rwcrmhc52.attbi.com@peter3.wemm.org> for ; Wed, 3 Apr 2002 00:48:02 +0000 Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id g330m2x32391 for ; Tue, 2 Apr 2002 16:48:02 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id E734E390B; Tue, 2 Apr 2002 16:48:01 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Alexander Leidinger Cc: current@FreeBSD.ORG Subject: Re: kern.pre.mk, bug or intended? In-Reply-To: <200204021633.g32GX94D025300@Magelan.Leidinger.net> Date: Tue, 02 Apr 2002 16:48:01 -0800 From: Peter Wemm Message-Id: <20020403004801.E734E390B@overcee.wemm.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Alexander Leidinger wrote: > Hi, > > kern.pre.mk contains > NORMAL_C= ${CC} -c ${CFLAGS} ${WERROR} ${PROF} ${.IMPSRC} > PROFILE_C= ${CC} -c ${CFLAGS} ${WERROR} ${.IMPSRC} > NORMAL_C_NOWERROR= ${CC} -c ${CFLAGS} ${PROF} ${.IMPSRC} > shouldn't this be > NORMAL_C= ${CC} -c ${CFLAGS} ${WERROR} ${.IMPSRC} > PROFILE_C= ${CC} -c ${CFLAGS} ${PROF} ${WERROR} ${.IMPSRC} > NORMAL_C_NOWERROR= ${CC} -c ${CFLAGS} ${.IMPSRC} > ? nope. PROFILE_C is for compiling the profiling support code itself. If it was compiled with ${PROF} then it would be generated with recursive calls to itself. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 17:11:16 2002 Delivered-To: freebsd-current@freebsd.org Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by hub.freebsd.org (Postfix) with ESMTP id 6D0B837B416 for ; Tue, 2 Apr 2002 17:11:13 -0800 (PST) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.12.2/8.12.2) with ESMTP id g331BDCc033704 for ; Tue, 2 Apr 2002 17:11:13 -0800 (PST) (envelope-from kargl@troutmask.apl.washington.edu) Received: (from kargl@localhost) by troutmask.apl.washington.edu (8.12.2/8.12.2/Submit) id g331BDCP033703 for freebsd-current@freebsd.org; Tue, 2 Apr 2002 17:11:13 -0800 (PST) From: "Steven G. Kargl" Message-Id: <200204030111.g331BDCP033703@troutmask.apl.washington.edu> Subject: two lock order reversals To: freebsd-current@freebsd.org Date: Tue, 2 Apr 2002 17:11:13 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG lock order reversal 1st 0xc02d9b40 eventhandler @ /usr/src/sys/kern/subr_eventhandler.c:163 2nd 0xc4050008 shutdown_post_sync @ /usr/src/sys/kern/subr_eventhandler.c:116 lock order reversal 1st 0xc882cd00 ithread @ /usr/src/sys/kern/kern_intr.c:187 2nd 0xc02aa0e0 allproc @ /usr/src/sys/kern/kern_fork.c:352 I believe the second is known, but the first appears to be related to the recent eventhandler locking. -- Steve http://troutmask.apl.washington.edu/~kargl/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 18:27:22 2002 Delivered-To: freebsd-current@freebsd.org Received: from 12-234-96-171.client.attbi.com (12-234-96-171.client.attbi.com [12.234.96.171]) by hub.freebsd.org (Postfix) with ESMTP id D4A3D37B419 for ; Tue, 2 Apr 2002 18:26:51 -0800 (PST) Received: by 12-234-96-171.client.attbi.com (Postfix, from userid 1000) id 4AABB64; Tue, 2 Apr 2002 18:25:41 -0800 (PST) Date: Tue, 2 Apr 2002 18:25:40 -0800 From: Jonathan Mini To: "Steven G. Kargl" Cc: freebsd-current@FreeBSD.ORG Subject: Re: two lock order reversals Message-ID: <20020402182540.B80692@stylus.haikugeek.com> References: <200204030111.g331BDCP033703@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200204030111.g331BDCP033703@troutmask.apl.washington.edu>; from kargl@troutmask.apl.washington.edu on Tue, Apr 02, 2002 at 05:11:13PM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Steven G. Kargl [kargl@troutmask.apl.washington.edu] wrote : > lock order reversal > 1st 0xc02d9b40 eventhandler @ /usr/src/sys/kern/subr_eventhandler.c:163 > 2nd 0xc4050008 shutdown_post_sync @ /usr/src/sys/kern/subr_eventhandler.c:116 [ ... ] > I believe the second is known, but the first appears > to be related to the recent eventhandler locking. Sorry about that. Index: kern/subr_eventhandler.c =================================================================== RCS file: /usr/cvs/src/sys/kern/subr_eventhandler.c,v retrieving revision 1.16 diff -u -r1.16 subr_eventhandler.c --- sys/kern/subr_eventhandler.c 2 Apr 2002 04:18:54 -0000 1.16 +++ sys/kern/subr_eventhandler.c 3 Apr 2002 02:21:29 -0000 @@ -101,11 +101,11 @@ sx_init(&list->el_lock, name); list->el_flags = EHE_INITTED; } + mtx_unlock(&eventhandler_mutex); /* allocate an entry for this handler, populate it */ if ((eg = malloc(sizeof(struct eventhandler_entry_generic), M_EVENTHANDLER, M_NOWAIT)) == NULL) { - mtx_unlock(&eventhandler_mutex); return(NULL); } eg->func = func; @@ -125,7 +125,6 @@ if (ep == NULL) TAILQ_INSERT_TAIL(&list->el_entries, &eg->ee, ee_link); EHE_UNLOCK(list); - mtx_unlock(&eventhandler_mutex); return(&eg->ee); } -- Jonathan Mini mini@haikugeek.com desolation... despair... plastic forks... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 22: 0:14 2002 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id 079A337B405 for ; Tue, 2 Apr 2002 22:00:04 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020403060000.DMRJ18078.rwcrmhc51.attbi.com@blossom.cjclark.org>; Wed, 3 Apr 2002 06:00:00 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g335xoO54883; Tue, 2 Apr 2002 21:59:50 -0800 (PST) (envelope-from cjc) Date: Tue, 2 Apr 2002 21:59:50 -0800 From: "Crist J. Clark" To: Peter Wemm Cc: Terry Lambert , freebsd-current@FreeBSD.ORG, Emiel Kollof Subject: Re: kldxref problem Message-ID: <20020402215950.H52193@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <20020401163441.A99214@blossom.cjclark.org> <20020403004513.BE53D3808@overcee.wemm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020403004513.BE53D3808@overcee.wemm.org>; from peter@wemm.org on Tue, Apr 02, 2002 at 04:45:13PM -0800 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Apr 02, 2002 at 04:45:13PM -0800, Peter Wemm wrote: > "Crist J. Clark" wrote: > > On Mon, Apr 01, 2002 at 03:07:46PM -0800, Terry Lambert wrote: > > > "Crist J. Clark" wrote: > > > > This whole argument ignores what the real problem is. The really > > > > correct way to handle this is to use the kldxref(8) built in the > > > > 'buildworld' phase. (It's bad form to be using any executables from > > > > the base system if we have a full object tree.) Actually using the one > > > > in /usr/obj/usr/src/usr.sbin/kldxref seems pretty ugly. The better > > > > thing to do is to have a version in /usr/obj/usr/src//usr/sbin > > > > by making it a crosstool. The failure should not be ignored in this > > > > case. > > > > > > Uh, that doesn't work incredibly well when the machine you > > > are on is an x86, and the machine that the buildworld targets > > > is, say, the Alpha. > > > > > > This came up in the first place because it's a cross-envrionment > > > issue that needs resolving. The "workaround" exists because the > > > workaround cops out on the cross-environment part of the process > > > and spits out the warnming, instead. > > > > An 'installworld' doesn't even come close to working in a cross > > environment for a whole variety of reasons, so I don't see the > > relevance. > > It used to. If it no longer works, it should be fixed. I partially do this > for cross-architecture builds quite often where the target system is NFS > mounted somewhere. If it ever worked, without actually digging into the history, I would guess that it was because it only used existing binaries in the host environment to run the install. However, now a (somewhat half-baked) effort is made to use newly built tools to do the install, rather than the ones already on the host. But that's somewhat of a digression. 'installkernel' will work in the cross-platform case. It doesn't try to use build tools, but the tools in the system. > kldxref however, does not have any cross capability, and is just a hint > mechanism even then. It is not essential to run it. I don't think it is essential either, but it does break module auto-loading until someone does run it. And this whole thread started because people don't think the error message is asthetically pleasing. But to hopefully put an end to some of the idle chatter here, here are patches to build a working kldxref(8) on 4-STABLE and 5-CURRENT in the the cross-tool phase. The 'installkernel' of a 5-CURRENT build on 4-STABLE system should not error on kldxref(8). Yes, it is a kludge. Comments? Index: src/Makefile.inc1 =================================================================== RCS file: /export/freebsd/ncvs/src/Makefile.inc1,v retrieving revision 1.246 diff -u -r1.246 Makefile.inc1 --- src/Makefile.inc1 26 Mar 2002 16:05:09 -0000 1.246 +++ src/Makefile.inc1 3 Apr 2002 05:54:54 -0000 @@ -457,7 +457,9 @@ # installkernel: cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \ - ${CROSSENV} ${MAKE} KERNEL=${INSTKERNNAME} install + ${CROSSENV} \ + PATH=${PATH}:${STRICTTMPPATH} \ + ${MAKE} KERNEL=${INSTKERNNAME} install reinstallkernel: cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \ ${CROSSENV} ${MAKE} KERNEL=${INSTKERNNAME} reinstall @@ -619,7 +621,8 @@ cross-tools: .for _tool in ${_btxld} ${_elf2exe} \ - gnu/usr.bin/binutils usr.bin/objformat gnu/usr.bin/cc ${_xlint} + gnu/usr.bin/binutils usr.bin/objformat gnu/usr.bin/cc ${_xlint} \ + usr.sbin/kldxref cd ${.CURDIR}/${_tool}; \ ${MAKE} obj; \ ${MAKE} depend; \ Index: src/sys/modules/Makefile =================================================================== RCS file: /export/freebsd/ncvs/src/sys/modules/Makefile,v retrieving revision 1.236 diff -u -r1.236 Makefile --- src/sys/modules/Makefile 21 Mar 2002 09:15:38 -0000 1.236 +++ src/sys/modules/Makefile 3 Apr 2002 01:57:18 -0000 @@ -184,7 +184,7 @@ .if !defined(NO_XREF) .MAKEFLAGS:= ${.MAKEFLAGS} -DNO_XREF afterinstall: - -kldxref ${DESTDIR}${KMODDIR} + kldxref ${DESTDIR}${KMODDIR} .endif .include Index: src/usr.sbin/kldxref/Makefile =================================================================== RCS file: /export/freebsd/ncvs/src/usr.sbin/kldxref/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- src/usr.sbin/kldxref/Makefile 10 Dec 2001 21:13:35 -0000 1.4 +++ src/usr.sbin/kldxref/Makefile 3 Apr 2002 05:05:09 -0000 @@ -5,4 +5,11 @@ WARNS?= 2 MAN= kldxref.8 +.if defined(BOOTSTRAPPING) +CFLAGS+= -I${.CURDIR}/../../sys -I. +machine: + ln -sf ${.CURDIR}/../../sys/${MACHINE_ARCH}/include machine +beforedepend: machine +.endif + .include -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 22:15:53 2002 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id 9A85637B4C2 for ; Tue, 2 Apr 2002 22:15:32 -0800 (PST) Received: from peter3.wemm.org ([12.232.27.13]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020403061532.BOVY15826.rwcrmhc54.attbi.com@peter3.wemm.org> for ; Wed, 3 Apr 2002 06:15:32 +0000 Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id g336FVx33129 for ; Tue, 2 Apr 2002 22:15:31 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id B07353808; Tue, 2 Apr 2002 22:15:31 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: cjclark@alum.mit.edu Cc: Terry Lambert , freebsd-current@FreeBSD.ORG, Emiel Kollof Subject: Re: kldxref problem In-Reply-To: <20020402215950.H52193@blossom.cjclark.org> Date: Tue, 02 Apr 2002 22:15:31 -0800 From: Peter Wemm Message-Id: <20020403061531.B07353808@overcee.wemm.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Crist J. Clark" wrote: > On Tue, Apr 02, 2002 at 04:45:13PM -0800, Peter Wemm wrote: > > "Crist J. Clark" wrote: > > > On Mon, Apr 01, 2002 at 03:07:46PM -0800, Terry Lambert wrote: > > > > "Crist J. Clark" wrote: > > > > > This whole argument ignores what the real problem is. The really > > > > > correct way to handle this is to use the kldxref(8) built in the > > > > > 'buildworld' phase. (It's bad form to be using any executables from > > > > > the base system if we have a full object tree.) Actually using the on e > > > > > in /usr/obj/usr/src/usr.sbin/kldxref seems pretty ugly. The better > > > > > thing to do is to have a version in /usr/obj/usr/src//usr/sbin > > > > > by making it a crosstool. The failure should not be ignored in this > > > > > case. > > > > > > > > Uh, that doesn't work incredibly well when the machine you > > > > are on is an x86, and the machine that the buildworld targets > > > > is, say, the Alpha. > > > > > > > > This came up in the first place because it's a cross-envrionment > > > > issue that needs resolving. The "workaround" exists because the > > > > workaround cops out on the cross-environment part of the process > > > > and spits out the warnming, instead. > > > > > > An 'installworld' doesn't even come close to working in a cross > > > environment for a whole variety of reasons, so I don't see the > > > relevance. > > > > It used to. If it no longer works, it should be fixed. I partially do thi s > > for cross-architecture builds quite often where the target system is NFS > > mounted somewhere. > > If it ever worked, without actually digging into the history, I would > guess that it was because it only used existing binaries in the host > environment to run the install. However, now a (somewhat half-baked) > effort is made to use newly built tools to do the install, rather than > the ones already on the host. It has worked several times, because I remember it turned up a gcc bug in the cross compiled gcc binaries. Specifically, if you did a 'make buildworld TARGET_ARCH=alpha', the compiler would generate invalid code unless you also used -O0. But it did work. I also recall somebody fixed it again relatively recently. > But that's somewhat of a digression. 'installkernel' will work in the > cross-platform case. It doesn't try to use build tools, but the tools > in the system. Using buildkernel/installkernel is your biggest mistake. It is no secret what I think of those two targets. > > kldxref however, does not have any cross capability, and is just a hint > > mechanism even then. It is not essential to run it. > > I don't think it is essential either, but it does break module > auto-loading until someone does run it. And this whole thread started > because people don't think the error message is asthetically pleasing. > > But to hopefully put an end to some of the idle chatter here, here are > patches to build a working kldxref(8) on 4-STABLE and 5-CURRENT in the > the cross-tool phase. The 'installkernel' of a 5-CURRENT build on > 4-STABLE system should not error on kldxref(8). > > Yes, it is a kludge. Comments? The patch is better than nothing, but do not include this part: > Index: src/sys/modules/Makefile > =================================================================== > RCS file: /export/freebsd/ncvs/src/sys/modules/Makefile,v > retrieving revision 1.236 > diff -u -r1.236 Makefile > --- src/sys/modules/Makefile 21 Mar 2002 09:15:38 -0000 1.236 > +++ src/sys/modules/Makefile 3 Apr 2002 01:57:18 -0000 > @@ -184,7 +184,7 @@ > .if !defined(NO_XREF) > .MAKEFLAGS:= ${.MAKEFLAGS} -DNO_XREF > afterinstall: > - -kldxref ${DESTDIR}${KMODDIR} > + kldxref ${DESTDIR}${KMODDIR} > .endif It should not be a kill-the-build event if the optional tool fails. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 22:33: 5 2002 Delivered-To: freebsd-current@freebsd.org Received: from tubegator.com (bundy.hibo.no [158.39.60.12]) by hub.freebsd.org (Postfix) with SMTP id DC52737B41A for ; Tue, 2 Apr 2002 22:33:00 -0800 (PST) X-Mailer: J@TMEAT's WorldMailer v.04 [still ugly] [modified for tubegator.com maillist] Subject: Daily Joke From: jokebot@tubegator.com To: current@freebsd.org Message-Id: <20020403063300.DC52737B41A@hub.freebsd.org> Date: Tue, 2 Apr 2002 22:33:00 -0800 (PST) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG There was a Japanese man who went to America for sightseeing. On the last day, he hailed a cab and told the driver to drive to the airport. During the journey, a Honda drove past the taxi. Thereupon, the man leaned out of the window excitedly and yelled, "Honda, very fast! Made in Japan!" After a while, a Toyota sped past the taxi. Again, the Japanese man leaned out of the window and yelled, "Toyota, very fast! Made in Japan!" And then a Mitsubishi sped past the taxi. For the third time, the Japanese leaned out of the window and yelled, "Mitsubishi, very fast! Made in Japan!" The driver was a little angry, but he kept quiet. And this went on for quite a number of cars. Finally, the taxi came to the airport. The fare was US$300. The Japanese exclaimed, "Wah... so expensive!" There upon, the driver yelled back, "Meter, very fast! Made in Japan!" ____________________________________________ This is the special delivery of Tubegator.com's daily joke. http://tubegator.com/jokeoftheday.shtml Idcode for this (current@freebsd.org) emailaddress is: h7GbWKq3NPVUI To unsubscribe you can click on this link: http://tubegator.com/motor/mailsignup.cgi?unsub=S&email=current%40freebsd.org&id_code=h7GbWKq3NPVUI Or use the form on the webpage. Do you think this joke is good or bad, you can give it your rating on the webpage. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 22:53:14 2002 Delivered-To: freebsd-current@freebsd.org Received: from gull.prod.itd.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by hub.freebsd.org (Postfix) with ESMTP id 28F4C37B423 for ; Tue, 2 Apr 2002 22:52:59 -0800 (PST) Received: from pool0460.cvx21-bradley.dialup.earthlink.net ([209.179.193.205] helo=mindspring.com) by gull.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16sedJ-00060G-00; Tue, 02 Apr 2002 22:52:39 -0800 Message-ID: <3CAAA697.451C3196@mindspring.com> Date: Tue, 02 Apr 2002 22:52:07 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Peter Wemm Cc: cjclark@alum.mit.edu, freebsd-current@FreeBSD.ORG, Emiel Kollof Subject: Re: kldxref problem References: <20020403061531.B07353808@overcee.wemm.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Quite the thread from hell... ;^)... Peter Wemm wrote: > Using buildkernel/installkernel is your biggest mistake. It is no secret > what I think of those two targets. I have to agree with this. They are attempts to idiot-proof something that can't be idiot-proofed, because idiots are so cunning. 8-). The real problem here is that these targets are such monsters that they really can't be cross-targets. The doc stuff is particularly nasty, viben that there are maybe 19 sets of packages that have to be sucked down and installed to make it work, because they aren't part of the default system, and they aren't in the source repository. When the FTP.freebsd.org blew up a while back, the only place you could get the tools the the proper versions was a combination of a site in England, a sunsite site, and two personal directories that lived on a machine in Japan. > > Yes, it is a kludge. Comments? > > The patch is better than nothing, but do not include this part: [ ... leave the '-' ignore on the kldxref ... ] > It should not be a kill-the-build event if the optional tool fails. You could almost make this same argument about ldconfig, which _is_ necessary for a running system. Unfortunately, what was supposed to be a cache is now an authoritative location for putting the data, so the tolls build for the cross can fail because of library incompatability between versions, when doing a cross-version build. 8-(. I really think these "hints" things need to be considered _as_ hints, rather than as authoritative; see the recent long scree on the tags cache in CVS for another example of assumed authority resulting in wrong answers... -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 23:15:58 2002 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id 4F1B637B428 for ; Tue, 2 Apr 2002 23:15:47 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020403071547.COAN15826.rwcrmhc54.attbi.com@blossom.cjclark.org>; Wed, 3 Apr 2002 07:15:47 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g337FjA55051; Tue, 2 Apr 2002 23:15:45 -0800 (PST) (envelope-from cjc) Date: Tue, 2 Apr 2002 23:15:45 -0800 From: "Crist J. Clark" To: Terry Lambert Cc: Peter Wemm , freebsd-current@FreeBSD.ORG, Emiel Kollof Subject: Re: kldxref problem Message-ID: <20020402231545.J52193@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <20020403061531.B07353808@overcee.wemm.org> <3CAAA697.451C3196@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3CAAA697.451C3196@mindspring.com>; from tlambert2@mindspring.com on Tue, Apr 02, 2002 at 10:52:07PM -0800 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Apr 02, 2002 at 10:52:07PM -0800, Terry Lambert wrote: > Quite the thread from hell... ;^)... This is nuthin'. But one reason it continues is... > Peter Wemm wrote: > > Using buildkernel/installkernel is your biggest mistake. It is no secret > > what I think of those two targets. > > I have to agree with this. They are attempts to idiot-proof > something that can't be idiot-proofed, because idiots are so > cunning. 8-). > > The real problem here is that these targets are such monsters > that they really can't be cross-targets. The doc stuff is > particularly nasty, viben that there are maybe 19 sets of > packages that have to be sucked down and installed to make > it work, because they aren't part of the default system, and > they aren't in the source repository. When the FTP.freebsd.org > blew up a while back, the only place you could get the tools > the the proper versions was a combination of a site in England, > a sunsite site, and two personal directories that lived on a > machine in Japan. Where'd this observation come from? buildkernel/installkernel don't pull packages from anywhere. Building the doc tree has almost nothing to do with building world or kernel from the source tree. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Apr 2 23:53:58 2002 Delivered-To: freebsd-current@freebsd.org Received: from corp4.cbn.net.id (corp4.cbn.net.id [202.158.3.28]) by hub.freebsd.org (Postfix) with ESMTP id D4F2637B41A for ; Tue, 2 Apr 2002 23:53:54 -0800 (PST) Received: from dante.naver.co.id (unknown [202.158.82.9]) by corp4.cbn.net.id (Postfix) with ESMTP id 2E0C213925 for ; Wed, 3 Apr 2002 14:53:49 +0700 (WIT) Received: by dante.naver.co.id (Postfix, from userid 1000) id 077325C5C6; Wed, 3 Apr 2002 14:53:16 +0700 (WIT) Date: Wed, 3 Apr 2002 14:53:15 +0700 From: John Indra To: freebsd-current@freebsd.org Subject: w output strange message Message-ID: <20020403145315.A44032@office.naver.co.id> Mail-Followup-To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Mailer: Mutt 1.2.5.1i on FreeBSD 5.0-CURRENT i386 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all... I am running a very recent -CURRENT. Within X, running w produce weird message: $ w w: /dev/:0: No such file or directory 2:52PM up 40 mins, 2 users, load averages: 1.52, 1.73, 1.42 USER TTY FROM LOGIN@ IDLE WHAT john p2 :0.0 2:50PM - vim john p4 :0.0 2:52PM - w /john "I go, I fight, and I win!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 3 0:14:24 2002 Delivered-To: freebsd-current@freebsd.org Received: from one.net (ip-216-23-50-46.adsl.one.net [216.23.50.46]) by hub.freebsd.org (Postfix) with SMTP id 21ABA37B41D for ; Wed, 3 Apr 2002 00:14:21 -0800 (PST) Received: (qmail 766 invoked by uid 1001); 3 Apr 2002 08:14:43 -0000 Date: Wed, 3 Apr 2002 03:14:43 -0500 From: Coleman Kane To: Current Subject: XFree86 and -CURRENT crashing Message-ID: <20020403031443.A733@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.22.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have been having major issues with XFree86 recently. It seems to just completely halt the machine hard whenever I try starting it. If I run it from a remote terminal with -verbose all the way up, it seems to halt at the section just after it says it's loading the RENDER module. I was wondering if anyone else knew of or has the same problem. Basically, it is a typical Athlon system running a Radeon DDR 32MB card, but the server even crashes if I force the vga driver instead. If I run Xvfb, it seems to work fine. Thew only real odd thing about my system is that I am using a USB keyboard and mouse instead of their AT,PS/2 counterparts. -- coleman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 3 0:41:55 2002 Delivered-To: freebsd-current@freebsd.org Received: from ort.lviv.net (ort.lviv.net [195.5.34.107]) by hub.freebsd.org (Postfix) with ESMTP id ECCC037B41C; Wed, 3 Apr 2002 00:41:51 -0800 (PST) Received: from localhost (localhost.localdomain [127.0.0.1]) by ort.lviv.net (8.11.6/8.11.6) with ESMTP id g338Xfr14915; Wed, 3 Apr 2002 11:33:41 +0300 Date: Wed, 3 Apr 2002 11:33:40 +0300 (EEST) From: Andrew Bliznak To: Coleman Kane Cc: Current Subject: Re: XFree86 and -CURRENT crashing In-Reply-To: <20020403031443.A733@freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 3 Apr 2002, Coleman Kane wrote: Its usb. Someone with working serial console need look at this. > I have been having major issues with XFree86 recently. It seems to just > completely halt the machine hard whenever I try starting it. If I run > it from a remote terminal with -verbose all the way up, it seems to halt > at the section just after it says it's loading the RENDER module. I was > wondering if anyone else knew of or has the same problem. Basically, > it is a typical Athlon system running a Radeon DDR 32MB card, but the > server even crashes if I force the vga driver instead. If I run Xvfb, it > seems to work fine. Thew only real odd thing about my system is that I am > using a USB keyboard and mouse instead of their AT,PS/2 counterparts. > > -- > coleman > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 3 1: 3:57 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailout05.sul.t-online.com (mailout05.sul.t-online.com [194.25.134.82]) by hub.freebsd.org (Postfix) with ESMTP id 9EE9037B405; Wed, 3 Apr 2002 01:03:46 -0800 (PST) Received: from fwd00.sul.t-online.de by mailout05.sul.t-online.com with smtp id 16sggC-000108-05; Wed, 03 Apr 2002 11:03:44 +0200 Received: from Magelan.Leidinger.net (520065502893-0001@[80.131.112.125]) by fmrl00.sul.t-online.com with esmtp id 16sgg3-0oeZZQC; Wed, 3 Apr 2002 11:03:35 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.2/8.12.2) with ESMTP id g3393R07000631; Wed, 3 Apr 2002 11:03:31 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200204030903.g3393R07000631@Magelan.Leidinger.net> Date: Wed, 3 Apr 2002 11:03:26 +0200 (CEST) From: Alexander Leidinger Subject: Re: cvs commit: ports/lang Makefile ports/lang/icc Makefile distinfo pkg-comment pkg-descr pkg-plist ports/lang/icc/files patch-include To: winter@jurai.net Cc: freebsd-current@FreeBSD.org, "David O'Brien" In-Reply-To: <20020402181209.B45452-100000@sasami.jurai.net> MIME-Version: 1.0 Content-Type: MULTIPART/mixed; BOUNDARY="0-1804289383-1017824615=:630" Content-Transfer-Encoding: BINARY X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --0-1804289383-1017824615=:630 Content-Type: TEXT/plain; charset=us-ascii On 2 Apr, Matthew N. Dodd wrote: >> Oh that is easy to fix. We can do it in one of two ways. >> Show me the exact link line from icc (I want the equivalent to gcc -v). I don't know how to produce something like with icc, but... > We can also tell 'icc' to use our 'ld'. > > -Qlocation,ld,/usr/bin > > That didn't seem to work to well though as it still tries to use their > 'crti.o' object. ... I used our ld with icc and let icc invoke it with --verbose. Output attached. Bye, Alexander. -- 0 and 1. Now what could be so hard about that? http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 --0-1804289383-1017824615=:630 Content-Type: TEXT/plain; name="verbose.txt" Content-Disposition: attachment; filename="verbose.txt" test.c: /usr/libexec/elf/ld: warning: libc.so.6, needed by /usr/local/intel/compiler50/ia32/lib/libcxa.so.1, not found (try using -rpath or -rpath-link) /usr/local/intel/compiler50/ia32/lib/crtxi.o: In function `__record_needed_destruction': /usr/local/intel/compiler50/ia32/lib/crtxi.o(.text+0x113): undefined reference to `__cxa_atexit' /usr/local/intel/compiler50/ia32/lib/crtxi.o(.data+0x58): undefined reference to `__cxa_finalize' /usr/local/intel/compiler50/ia32/lib/crtxn.o: In function `__icrt_terminate(void)': /usr/local/intel/compiler50/ia32/lib/crtxn.o(.text+0xbf): undefined reference to `__cxa_finalize' /usr/local/intel/compiler50/ia32/lib/libcxa.so.1: undefined reference to `free@GLIBC_2.0' /usr/local/intel/compiler50/ia32/lib/libcxa.so.1: undefined reference to `calloc@GLIBC_2.0' /usr/local/intel/compiler50/ia32/lib/libcxa.so.1: undefined reference to `fputs@GLIBC_2.0' /usr/local/intel/compiler50/ia32/lib/libcxa.so.1: undefined reference to `malloc@GLIBC_2.0' /usr/local/intel/compiler50/ia32/lib/libcxa.so.1: undefined reference to `__cxa_finalize@GLIBC_2.1.3' /usr/local/intel/compiler50/ia32/lib/libcxa.so.1: undefined reference to `fprintf@GLIBC_2.0' /usr/local/intel/compiler50/ia32/lib/libcxa.so.1: undefined reference to `__cxa_atexit@GLIBC_2.1.3' /usr/local/intel/compiler50/ia32/lib/libcxa.so.1: undefined reference to `stderr@GLIBC_2.0' /usr/local/intel/compiler50/ia32/lib/libcxa.so.1: undefined reference to `abort@GLIBC_2.0' GNU ld version 2.12.0 [FreeBSD] 2002-03-20 Supported emulations: elf_i386 using internal linker script: ================================================== /* Default linker script, for normal executables */ OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386") OUTPUT_ARCH(i386) ENTRY(_start) SEARCH_DIR("/usr/lib"); /* Do we need any of these for elf? __DYNAMIC = 0; */ SECTIONS { /* Read-only sections, merged into text segment: */ . = 0x08048000 + SIZEOF_HEADERS; .interp : { *(.interp) } .hash : { *(.hash) } .dynsym : { *(.dynsym) } .dynstr : { *(.dynstr) } .gnu.version : { *(.gnu.version) } .gnu.version_d : { *(.gnu.version_d) } .gnu.version_r : { *(.gnu.version_r) } .rel.init : { *(.rel.init) } .rela.init : { *(.rela.init) } .rel.text : { *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*) } .rela.text : { *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*) } .rel.fini : { *(.rel.fini) } .rela.fini : { *(.rela.fini) } .rel.rodata : { *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*) } .rela.rodata : { *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*) } .rel.data : { *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*) } .rela.data : { *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*) } .rel.ctors : { *(.rel.ctors) } .rela.ctors : { *(.rela.ctors) } .rel.dtors : { *(.rel.dtors) } .rela.dtors : { *(.rela.dtors) } .rel.got : { *(.rel.got) } .rela.got : { *(.rela.got) } .rel.bss : { *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*) } .rela.bss : { *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) } .rel.plt : { *(.rel.plt) } .rela.plt : { *(.rela.plt) } .init : { KEEP (*(.init)) } =0x90909090 .plt : { *(.plt) } .text : { *(.text .stub .text.* .gnu.linkonce.t.*) /* .gnu.warning sections are handled specially by elf32.em. */ *(.gnu.warning) } =0x90909090 .fini : { KEEP (*(.fini)) } =0x90909090 PROVIDE (__etext = .); PROVIDE (_etext = .); PROVIDE (etext = .); .rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) } .rodata1 : { *(.rodata1) } .eh_frame_hdr : { *(.eh_frame_hdr) } /* Adjust the address for the data segment. We want to adjust up to the same address within the page on the next page up. */ . = ALIGN(0x1000) + (. & (0x1000 - 1)); .data : { *(.data .data.* .gnu.linkonce.d.*) SORT(CONSTRUCTORS) } .data1 : { *(.data1) } .eh_frame : { KEEP (*(.eh_frame)) } .gcc_except_table : { *(.gcc_except_table) } .dynamic : { *(.dynamic) } .ctors : { /* gcc uses crtbegin.o to find the start of the constructors, so we make sure it is first. Because this is a wildcard, it doesn't matter if the user does not actually link against crtbegin.o; the linker won't look for a file to match a wildcard. The wildcard also means that it doesn't matter which directory crtbegin.o is in. */ KEEP (*crtbegin.o(.ctors)) /* We don't want to include the .ctor section from from the crtend.o file until after the sorted ctors. The .ctor section from the crtend file contains the end of ctors marker and it must be last */ KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors)) KEEP (*(SORT(.ctors.*))) KEEP (*(.ctors)) } .dtors : { KEEP (*crtbegin.o(.dtors)) KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors)) KEEP (*(SORT(.dtors.*))) KEEP (*(.dtors)) } .jcr : { KEEP (*(.jcr)) } .got : { *(.got.plt) *(.got) } _edata = .; PROVIDE (edata = .); __bss_start = .; .bss : { *(.dynbss) *(.bss .bss.* .gnu.linkonce.b.*) *(COMMON) /* Align here to ensure that the .bss section occupies space up to _end. Align after .bss to ensure correct alignment even if the .bss section disappears because there are no input sections. */ . = ALIGN(32 / 8); } . = ALIGN(32 / 8); _end = .; PROVIDE (end = .); /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } .stab.excl 0 : { *(.stab.excl) } .stab.exclstr 0 : { *(.stab.exclstr) } .stab.index 0 : { *(.stab.index) } .stab.indexstr 0 : { *(.stab.indexstr) } .comment 0 : { *(.comment) } /* DWARF debug sections. Symbols in the DWARF debugging sections are relative to the beginning of the section so we begin them at 0. */ /* DWARF 1 */ .debug 0 : { *(.debug) } .line 0 : { *(.line) } /* GNU DWARF 1 extensions */ .debug_srcinfo 0 : { *(.debug_srcinfo) } .debug_sfnames 0 : { *(.debug_sfnames) } /* DWARF 1.1 and DWARF 2 */ .debug_aranges 0 : { *(.debug_aranges) } .debug_pubnames 0 : { *(.debug_pubnames) } /* DWARF 2 */ .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) } .debug_abbrev 0 : { *(.debug_abbrev) } .debug_line 0 : { *(.debug_line) } .debug_frame 0 : { *(.debug_frame) } .debug_str 0 : { *(.debug_str) } .debug_loc 0 : { *(.debug_loc) } .debug_macinfo 0 : { *(.debug_macinfo) } /* SGI/MIPS DWARF 2 extensions */ .debug_weaknames 0 : { *(.debug_weaknames) } .debug_funcnames 0 : { *(.debug_funcnames) } .debug_typenames 0 : { *(.debug_typenames) } .debug_varnames 0 : { *(.debug_varnames) } } ================================================== attempt to open /usr/lib/crt1.o succeeded /usr/lib/crt1.o attempt to open /usr/lib/crti.o succeeded /usr/lib/crti.o attempt to open /usr/local/intel/compiler50/ia32/lib/crtxi.o succeeded /usr/local/intel/compiler50/ia32/lib/crtxi.o attempt to open test.o succeeded test.o attempt to open /usr/local/intel/compiler50/ia32/lib/icrt.link succeeded opened script file /usr/local/intel/compiler50/ia32/lib/icrt.link attempt to open /usr/local/intel/compiler50/ia32/lib/libimf.a succeeded attempt to open /usr/local/intel/compiler50/ia32/lib/libm.so failed attempt to open /usr/local/intel/compiler50/ia32/lib/libm.a failed attempt to open /usr/lib/libm.so succeeded -lm (/usr/lib/libm.so) attempt to open /usr/local/intel/compiler50/ia32/lib/libirc.a succeeded attempt to open /usr/local/intel/compiler50/ia32/lib/libcxa.so succeeded opened script file /usr/local/intel/compiler50/ia32/lib/libcxa.so attempt to open libcxa.so.1 failed attempt to open /usr/local/intel/compiler50/ia32/lib/libcxa.so.1 succeeded libcxa.so.1 (/usr/local/intel/compiler50/ia32/lib/libcxa.so.1) attempt to open /usr/local/intel/compiler50/ia32/lib/libcprts.a succeeded attempt to open /usr/local/intel/compiler50/ia32/lib/libcxa.so succeeded opened script file /usr/local/intel/compiler50/ia32/lib/libcxa.so attempt to open libcxa.so.1 failed attempt to open /usr/local/intel/compiler50/ia32/lib/libcxa.so.1 succeeded libcxa.so.1 (/usr/local/intel/compiler50/ia32/lib/libcxa.so.1) attempt to open /usr/local/intel/compiler50/ia32/lib/libc.so failed attempt to open /usr/local/intel/compiler50/ia32/lib/libc.a failed attempt to open /usr/lib/libc.so succeeded -lc (/usr/lib/libc.so) attempt to open /usr/local/intel/compiler50/ia32/lib/crtxn.o succeeded /usr/local/intel/compiler50/ia32/lib/crtxn.o attempt to open /usr/lib/crtn.o succeeded /usr/lib/crtn.o libc.so.6 needed by /usr/local/intel/compiler50/ia32/lib/libcxa.so.1 --0-1804289383-1017824615=:630-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 3 2:18:18 2002 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id 3A8BC37B41A for ; Wed, 3 Apr 2002 02:18:14 -0800 (PST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.2/8.12.2) with ESMTP id g33AHk4F081981 for ; Wed, 3 Apr 2002 12:17:46 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: current@freebsd.org Subject: LINT compile error... From: Poul-Henning Kamp Date: Wed, 03 Apr 2002 12:17:46 +0200 Message-ID: <81980.1017829066@critter.freebsd.dk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG bang# make cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../.. -I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter -I../../../../include -DGPROF -DGPROF4 -DGUPROF -D_KERNEL -ffreestanding -include opt_global.h -fno-common -malign-functions=4 -fno-builtin -mpreferred-stack-boundary=2 -Werror -pg -mprofiler-epilogue ../../../dev/usb/ohci.c cc1: warnings being treated as errors ../../../dev/usb/ohci.c: In function `ohci_dump_ed': ../../../dev/usb/ohci.c:1840: warning: bitmap is not type int (arg 4) *** Error code 1 -- 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-current" in the body of the message From owner-freebsd-current Wed Apr 3 2:40:21 2002 Delivered-To: freebsd-current@freebsd.org Received: from scaup.prod.itd.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by hub.freebsd.org (Postfix) with ESMTP id EFA0637B420 for ; Wed, 3 Apr 2002 02:40:17 -0800 (PST) Received: from pool0006.cvx22-bradley.dialup.earthlink.net ([209.179.198.6] helo=mindspring.com) by scaup.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16siBS-0005xF-00; Wed, 03 Apr 2002 02:40:06 -0800 Message-ID: <3CAADBE9.9BA5CDA6@mindspring.com> Date: Wed, 03 Apr 2002 02:39:37 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: cjclark@alum.mit.edu Cc: Peter Wemm , freebsd-current@FreeBSD.ORG, Emiel Kollof Subject: Re: kldxref problem References: <20020403061531.B07353808@overcee.wemm.org> <3CAAA697.451C3196@mindspring.com> <20020402231545.J52193@blossom.cjclark.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Crist J. Clark" wrote: > > The real problem here is that these targets are such monsters > > that they really can't be cross-targets. The doc stuff is > > particularly nasty, viben that there are maybe 19 sets of > > packages that have to be sucked down and installed to make > > it work, because they aren't part of the default system, and > > they aren't in the source repository. When the FTP.freebsd.org > > blew up a while back, the only place you could get the tools > > the the proper versions was a combination of a site in England, > > a sunsite site, and two personal directories that lived on a > > machine in Japan. > > Where'd this observation come from? buildkernel/installkernel don't > pull packages from anywhere. Building the doc tree has almost nothing > to do with building world or kernel from the source tree. "make release". -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 3 2:44: 7 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 269A037B41C; Wed, 3 Apr 2002 02:43:49 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id UAA28955; Wed, 3 Apr 2002 20:43:38 +1000 Date: Wed, 3 Apr 2002 20:44:35 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Joerg Wunsch Cc: freebsd-current@freebsd.org, Subject: Re: disklabel(8) floppy panic In-Reply-To: <20020402203559.A25802@uriah.heep.sax.de> Message-ID: <20020403202932.T9816-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 2 Apr 2002, Joerg Wunsch wrote: > As Bruce Evans wrote: > > > BTW, device cloning seems to work wrong for fd: > > > > %%% > > Script started on Wed Apr 3 02:16:43 2002 > > ttyp1:bde@besplex:/tmp> ls /dev/fd0c > > ls: /dev/fd0c: No such file or directory > > ttyp1:bde@besplex:/tmp> ls /dev/fd0c > > /dev/fd0c@ > > ttyp1:bde@besplex:/tmp> exit > > I can also see this. IMHO, that's an artifact of how device on-demand > alias creation is working. Cc to Poul-Henning, maybe he can shed some > light on this. > > Ah, hmm, i think that's a problem of "ls -F", actually. Look here. > > j@uriah 90% ls -l /dev/fd1* > crw-r----- 1 root operator 9, 64 Apr 1 22:37 /dev/fd1 > j@uriah 91% /bin/ls /dev/fd1c > /dev/fd1c > j@uriah 92% ls -l /dev/fd1* > crw-r----- 1 root operator 9, 64 Apr 1 22:37 /dev/fd1 > lrwxr-xr-x 1 root wheel 4 Apr 2 20:34 /dev/fd1c@ -> fd0 > > Plain /bin/ls (without any options) works as expected. You are right that I forgot to use plain ls. I have ls aliased to "ls -Fg" (the "g" tells how long it is since I changed this :-). I also tried a stat utility. It failed like ls. I just tried cat. It failed in the same way. Plain ls works accidentally by first doing a stat() which fails except for creating a directory entry; ls then does a successful lstat(). This seems to be a bug in the fd driver. ls -F "works" the first time on nonexistent partitions. But it should only work on devices that exist. fd0a and fd0c may need to exist for compatibility, but shouldn't. fd0b and fd0[d-h] just shouldn't exist. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Apr 3 2:56:45 2002 Delivered-To: freebsd-current@freebsd.org Received: from van-laarhoven.org (ap-z-5ab8.adsl.wanadoo.nl [212.129.218.184]) by hub.freebsd.org (Postfix) with SMTP id 57F8337B417 for ; Wed, 3 Apr 2002 02:55:59 -0800 (PST) Received: (qmail 65499 invoked from network); 3 Apr 2002 10:55:54 -0000 Received: from heather.van-laarhoven.org (10.66.0.2) by uitsmijter.van-laarhoven.org with SMTP; 3 Apr 2002 10:55:54 -0000 Date: Wed, 3 Apr 2002 12:55:54 +0200 (CEST) From: Nick Hibma To: "raman@hello.to" Cc: "stable@FreeBSD.ORG" , "current@FreeBSD.ORG" Subject: Re: Logitech iFeel Optical USB Mouse cannot be attached. In-Reply-To: <20011223124355.96775.qmail@web14003.mail.yahoo.com> Message-ID: <20020403125420.H398-100000@heather.van-laarhoven.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This looks like an electrical problem. What happens if you connect the mouse directly to the machine, without any hubs? Nick On Sun, 23 Dec 2001, Raman Ng wrote: > Hello all, > > I have already sent a mail about this problem before. > I am a newbie of > FreeBSD. This time I attached the dmesg output and > kernel configuration for > you all. > > I am using Asus A7V mb, Athlon 1.1 GHz CPU, 512 Mb > RAM. Whenever the kernel > boot up, the message device_probe_and_attach: ums0 > attach returned 6. > Details can refer to the attached detail.. This > problem is similar to PR > misc/30373 and there is no one handle it at all. I > have tried FreeBSD 4.4-RELEASE, 4.5-PRERELEASE and > 5.0-CURRENT (which is cvsup a month ago) and the > problem is still persisted. > > I can use this mouse without any problem with Windows > and Linux. Please give > me any clue if I can solve this problem. > > Thanks in advance. > > Regards, > Raman > > --- dmesg output --- > Copyright (c) 1992-2001 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 4.5-PRERELEASE #0: Sun Dec 23 01:55:47 HKT > 2001 > root@:/usr/obj/usr/src/sys/STABLE_DEBUG > Timecounter "i8254" frequency 1193182 Hz > CPU: AMD Athlon(tm) Processor (1109.89-MHz 686-class > CPU) > Origin = "AuthenticAMD" Id = 0x642 Stepping = 2 > > Features=0x183f9ff > AMD Features=0xc0440000<,AMIE,DSP,3DNow!> > real memory = 536788992 (524208K bytes) > avail memory = 518246400 (506100K bytes) > Preloaded elf kernel "kernel" at 0xc0389000. > Pentium Pro MTRR support enabled > md0: Malloc disk > Using $PIR table, 9 entries at 0xc00f1750 > npx0: on motherboard > npx0: INT 16 interface > pcib0: on motherboard > pci0: on pcib0 > pcib1: > at device 1.0 on pci0 > pci1: on pcib1 > pci1: at 0.0 > irq 11 > isab0: at device 4.0 on > pci0 > isa0: on isab0 > atapci0: port > 0xd800-0xd80f at device 4.1 on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > uhci0: port 0xd400-0xd41f > irq 9 at device 4.2 on pci0 > uhci0: LegSup = 0x0000003b > uhci_run: setting run=0 > uhci_run: done cmd=0x80 sts=0x20 > uhci_run: setting run=1 > uhci_run: done cmd=0x81 sts=0x0 > usb0: on uhci0 > usb0: USB revision 1.0 > uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, > addr 1 > uhub0: 2 ports with 2 removable, self powered > uhci1: port 0xd000-0xd01f > irq 9 at device 4.3 on pci0 > uhci1: LegSup = 0x00000010 > uhci_run: setting run=0 > uhci_run: done cmd=0x80 sts=0x20 > uhci_run: setting run=1 > uhci_run: done cmd=0x81 sts=0x0 > usb1: on uhci1 > usb1: USB revision 1.0 > uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, > addr 1 > uhub1: 2 ports with 2 removable, self powered > uhci_device_request: not done, ii=0xc104f680 > uhub2: ALCOR Generic USB Hub, class 9/0, rev > 1.10/1.00, addr 2 > uhub2: 4 ports with 4 removable, self powered > uhci_device_intr_transfer: not done, ii=0xc104f620 > uhci_waitintr: timeout > uhci_idone: error, addr=3, endpt=0x00, status > 0x500000 > uhci_waitintr: timeout > usbd_transfer_cb: short transfer 0<1 > uhci_waitintr: timeout > usbd_transfer_cb: short transfer 0<1 > ums0: Logitech, Inc. iFeel Mouse, rev 1.00/1.01, addr > 3, iclass 3/1 > uhci_waitintr: timeout > usbd_transfer_cb: short transfer 0<74 > device_probe_and_attach: ums0 attach returned 6 > uhci_waitintr: timeout > usbd_transfer_cb: short transfer 0<1 > uhci_waitintr: timeout > usbd_transfer_cb: short transfer 0<1 > uhci_waitintr: timeout > usbd_transfer_cb: short transfer 0<4 > uhci_waitintr: timeout > usbd_transfer_cb: short transfer 0<4 > chip1: at device 4.4 on > pci0 > rl0: port 0xa400-0xa4ff > mem 0xd5800000-0xd58000ff irq 9 at device 9.0 on pci0 > rl0: Ethernet address: 00:50:ff:60:0b:b8 > miibus0: on rl0 > rlphy0: on miibus0 > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, > 100baseTX-FDX, auto > pcm0: port 0xa000-0xa01f irq 5 at > device 10.0 on pci0 > pci0: (vendor=0x104c, dev=0x8020) at > 13.0 irq 9 > atapci1: port > 0x8000-0x803f,0x8400-0x8403,0x8800-0x8807,0x9000-0x9003,0x9400-0x9407 > mem 0xd4000000-0xd401ffff irq 10 at device 17.0 > on pci0 > ata2: at 0x9400 on atapci1 > ata3: at 0x8800 on atapci1 > orm0: