From owner-freebsd-hackers Sun May 7 0:11:50 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from ns.internet.dk (ns.internet.dk [194.19.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 77C7937B722; Sun, 7 May 2000 00:11:47 -0700 (PDT) (envelope-from leifn@neland.dk) Received: (from uucp@localhost) by ns.internet.dk (8.9.2/8.9.3) with UUCP id JAA14643; Sun, 7 May 2000 09:11:14 +0200 (CEST) (envelope-from leifn@neland.dk) Received: from localhost (localhost [127.0.0.1]) by arnold.neland.dk (8.9.3/8.9.3) with ESMTP id IAA15727; Sun, 7 May 2000 08:07:00 +0200 (CEST) (envelope-from leifn@neland.dk) Date: Sun, 7 May 2000 08:07:00 +0200 (CEST) From: Leif Neland To: Olaf Hoyer Cc: Mike Smith , freebsd-hackers@FreeBSD.ORG Subject: Re: [OT] Finding people with GSM phones (was Re: GPS heads up ) In-Reply-To: <4.1.20000506210410.009fbaf0@mail.rz.fh-wilhelmshaven.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Well, thats reality. > Sometimes the mobile telco hotlines are so overloaded, you cannot even tell > them that your phone was stolen. (Talk about service-but you get what you > pay for) > In germany, there is some list, where every cell phone can be entered with > its IMEI-number (thats like the MAC on an ethernet card). So theoretically > you simply enter them and make them useless for the thief. > > But its too much work for the telcos, so they tell you they cannot, their > computer systems are down, or the list is overcrowded and no more entries > can be made (there was a discussion on .de usenet some year ago, IIRC, and > they stated that the list indeed was very big and no-one really cared for > that), etc etc. > > It is simply some work, that they don't get paid for, have some personnel > that is not trained for other tasks then saying: Ok, I'll send you some > prospects... > So there are some insurance companies offering policies, but we all know > the attitude of insurance... > > Bottom line: The telco does not want it, because it is work, and they don't > make money with it. > It would be technically able to enter the _individual number_ of a cell > phone into a database (which already exists), rendering stolen cell phones > useless immediately. They will be simply denied upon log-in to the tower. > Rumor has it, that the telco's don't WANT to blacklist stolen phones, because many phones end up in countries where a large percentage of the phones are stolen, and are "recycled" to new customers who are paying for the calls. It they suddenly stopped working, the telco's (or their affiliates) would loose much income. Also, it should be possible to put in a new (or blank) IMEI number in the phone, making the blacklist useless. Leif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun May 7 1:50:59 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.surf1.de (mail.Surf1.de [194.25.165.21]) by hub.freebsd.org (Postfix) with ESMTP id 40EF037BA1F for ; Sun, 7 May 2000 01:50:56 -0700 (PDT) (envelope-from alex@cichlids.com) Received: from cichlids.com (p3E9D38EC.dip0.t-ipconnect.de [62.157.56.236]) by mail.surf1.de (8.9.3/8.9.3) with ESMTP id JAA08360; Sun, 7 May 2000 09:49:36 +0200 Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by cichlids.com (Postfix) with ESMTP id 472EFAC2C; Sun, 7 May 2000 10:55:42 +0200 (CEST) Received: (from alex@localhost) by cichlids.cichlids.com (8.9.3/8.9.3) id KAA02756; Sun, 7 May 2000 10:50:52 +0200 (CEST) (envelope-from alex) Date: Sun, 7 May 2000 10:50:52 +0200 From: Alexander Langer To: Jake Burkholder Cc: hackers@FreeBSD.ORG Subject: Re: problem with ioctl handler in a module Message-ID: <20000507105052.A1081@cichlids.cichlids.com> References: <20000506195810.31B4ABCA7@io.yi.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000506195810.31B4ABCA7@io.yi.org>; from jburkhol@home.com on Sat, May 06, 2000 at 12:58:10PM -0700 X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thus spake Jake Burkholder (jburkhol@home.com): > The request parameter to ioctl needs to contain length information. > I think you want something like: > #define ZIVA_IOCTL _IOW('c', 10, int) > ioctl(fd, ZIVA_IOCTL, &foo); That's it. Thanks! Alex -- I need a new ~/.sig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun May 7 3:28: 7 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from c014.sfo.cp.net (c014-h023.c014.sfo.cp.net [209.228.12.87]) by hub.freebsd.org (Postfix) with SMTP id 9897937B6A6 for ; Sun, 7 May 2000 03:28:01 -0700 (PDT) (envelope-from shiratsoi@flashcom.net) Received: (cpmta 18741 invoked from network); 7 May 2000 03:27:59 -0700 Received: from 216-59-11-226.usa.flashcom.net (HELO flashcom.net) (216.59.11.226) by smtp.flashcom.net with SMTP; 7 May 2000 03:27:59 -0700 X-Sent: 7 May 2000 10:27:59 GMT Message-ID: <39154605.6D5A9371@flashcom.net> Date: Sun, 07 May 2000 03:31:33 -0700 From: Alkis Evlogimenos Organization: UC Berkeley X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: "The Design and Implementation of the 4.4bsd Operating System" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I was wondering if this book is far too off the current state of FreeBSD. Are there fundamental differences between the design of 4.4BSD and FreeBSD? Can you also recommend any other books describing the internals of the FreeBSD OS which are a closer match than the above? Thanks. -- Alkis Evlogimenos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun May 7 7: 8:23 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.surf1.de (mail.Surf1.de [194.25.165.21]) by hub.freebsd.org (Postfix) with ESMTP id 43E3237B655; Sun, 7 May 2000 07:08:12 -0700 (PDT) (envelope-from alex@cichlids.com) Received: from cichlids.com (p3E9D38D9.dip0.t-ipconnect.de [62.157.56.217]) by mail.surf1.de (8.9.3/8.9.3) with ESMTP id PAA09820; Sun, 7 May 2000 15:06:49 +0200 Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by cichlids.com (Postfix) with ESMTP id D5391AC2C; Sun, 7 May 2000 16:12:56 +0200 (CEST) Received: (from alex@localhost) by cichlids.cichlids.com (8.9.3/8.9.3) id QAA00473; Sun, 7 May 2000 16:08:06 +0200 (CEST) (envelope-from alex) Date: Sun, 7 May 2000 16:08:06 +0200 From: Alexander Langer To: hackers@freebsd.org, doc@freebsd.org Subject: controlled panic - kernel-module Message-ID: <20000507160806.A421@cichlids.cichlids.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="nFreZHaLTZJo0R7j" X-Mailer: Mutt 1.0.1i X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Hello! Just happened to write this kernel-module, which panics the machine. It is, if you just set up your savecore-setup, you have to wait for a panic to test, if it works. If this is a panic you would have liked to savecore, and it didn't work, this can be annoying. (At least that was my problem when setting up the savecore setup back then) :) Maybe something _like_ this (it depends on pci, which is not quite useful) can be integrated to the save-core documentation in the handbook, to make clear how to test your setup. Comments? Alex -- I need a new ~/.sig. --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="panic.c" /* * $FreeBSD$ */ /* #include */ #include #include #include #include #include #include #include #include #include #include #include /* -------------------------------------------------------------------- */ static int panic_probe(device_t dev) { panic("Controlled panic() by panic.ko"); return(ENXIO); } static device_method_t panic_methods[] = { /* Device interface */ DEVMETHOD(device_probe, panic_probe), { 0, 0 } }; static driver_t panic_driver = { "panic", panic_methods, 0, }; static devclass_t panic_devclass; DRIVER_MODULE(panic, pci, panic_driver, panic_devclass, 0, 0); --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=Makefile # $FreeBSD$ KMOD= panic SRCS= panic.c bus_if.h device_if.h .include --nFreZHaLTZJo0R7j-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun May 7 7:11:30 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from pawn.primelocation.net (pawn.primelocation.net [205.161.238.235]) by hub.freebsd.org (Postfix) with ESMTP id 106D437B5EB; Sun, 7 May 2000 07:11:25 -0700 (PDT) (envelope-from cdf.lists@fxp.org) Received: by pawn.primelocation.net (Postfix, from userid 1016) id F36C59B19; Sun, 7 May 2000 10:11:22 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by pawn.primelocation.net (Postfix) with ESMTP id E4046BA1E; Sun, 7 May 2000 10:11:22 -0400 (EDT) Date: Sun, 7 May 2000 10:11:22 -0400 (EDT) From: "Chris D. Faulhaber" X-Sender: cdf.lists@pawn.primelocation.net To: Alexander Langer Cc: hackers@freebsd.org, doc@freebsd.org Subject: Re: controlled panic - kernel-module In-Reply-To: <20000507160806.A421@cichlids.cichlids.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 7 May 2000, Alexander Langer wrote: > Hello! > > Just happened to write this kernel-module, which panics the machine. > > It is, if you just set up your savecore-setup, you have to wait for a > panic to test, if it works. If this is a panic you would have liked to > savecore, and it didn't work, this can be annoying. > As opposed to pressing ctrl-alt-esc to get into DDB, then typing 'panic'? ----- Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org -------------------------------------------------------- FreeBSD: The Power To Serve - http://www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun May 7 7:18:12 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.surf1.de (mail.Surf1.de [194.25.165.21]) by hub.freebsd.org (Postfix) with ESMTP id D857537B7A1; Sun, 7 May 2000 07:18:04 -0700 (PDT) (envelope-from alex@cichlids.com) Received: from cichlids.com (p3E9D38D9.dip0.t-ipconnect.de [62.157.56.217]) by mail.surf1.de (8.9.3/8.9.3) with ESMTP id PAA12738; Sun, 7 May 2000 15:16:21 +0200 Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by cichlids.com (Postfix) with ESMTP id 6A517AC2C; Sun, 7 May 2000 16:22:29 +0200 (CEST) Received: (from alex@localhost) by cichlids.cichlids.com (8.9.3/8.9.3) id QAA00636; Sun, 7 May 2000 16:17:39 +0200 (CEST) (envelope-from alex) Date: Sun, 7 May 2000 16:17:39 +0200 From: Alexander Langer To: "Chris D. Faulhaber" Cc: hackers@freebsd.org, doc@freebsd.org Subject: Re: controlled panic - kernel-module Message-ID: <20000507161739.A585@cichlids.cichlids.com> References: <20000507160806.A421@cichlids.cichlids.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from jedgar@fxp.org on Sun, May 07, 2000 at 10:11:22AM -0400 X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thus spake Chris D. Faulhaber (jedgar@fxp.org): > As opposed to pressing ctrl-alt-esc to get into DDB, then typing 'panic'? This needs to be compiled into the kernel, modules compile faster than new kernels :-P But, this could be documented as well. Alex PS: I just _had_ to write a panic.ko :) -- I need a new ~/.sig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun May 7 9:27:36 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from inetminas.estaminas.com.br (inetminas.estaminas.com.br [200.251.191.247]) by hub.freebsd.org (Postfix) with ESMTP id 18FE537B62D for ; Sun, 7 May 2000 09:27:31 -0700 (PDT) (envelope-from pamplona@uai.com.br) Received: from w95-0sr2 (nas5-38.estaminas.com.br [200.243.219.102]) by inetminas.estaminas.com.br (8.9.1a/8.9.1) with SMTP id NAA15843 for ; Sun, 7 May 2000 13:27:09 -0300 (GMT) Message-Id: <3.0.6.32.20000507132844.007a8c30@uai.com.br> X-Sender: pamplona@uai.com.br (Unverified) X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Sun, 07 May 2000 13:28:44 -0300 To: freebsd-hackers@freebsd.org From: Gustavo Pamplona Subject: Is there a way to install FreeBSD without "Probbing Devices" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, guys, Sadly, I posted to FreeBSD-Questions, but nobody answered me. And I think Hackers is the best choice. (I think is necessary to hack the sysinstall program to do this) I have memory problems, but my other systems, Windows 95 and NT worked without problems, and my only problem is with FreeBSD. I already installed Linux, did not have any trouble, with the exception of the "bus error", All OK! I also knew FreeBSD put a lot of stress on the memory. But how I got installed Linux on my machine. I know it the FreeBSD Installation Program is like a RAMDISK image (Linux), in other words, the Installation Program is a mini FreeBSD system, with the tools and utilities necessary for Installation. But, What I need is only a thing, Is there a way to hack the 'sysinstall' in other system like linux, to when I put the Boot floppy and followed by MFS root, the 'sysinstall' jump over to the main part of the installation. Or anybody can send to me a "sysinstall" without "Probbing Devices" screen ? I 'd like to thank for who send me? (If exist one, of course, or still a hacked copy) Or there is a way to install FreeBSD without sysintall. Well, I can install a Linux System with a simple bootdisk and a shell, containing 'fdisk, mkfs, mount.ext2fs mount.msdos or mount.vfat and mount.iso9660, tar and gzip. Example: In this way, I partition my HardDisk with the decimal code of 165, 0xA5 or BSD/386 and following create at less the root and swap slices. And make a new UFS filesystem and unpack the binnary distribution on the FileSystes, create the necessary /dev files for access the new partition, set up my kernel with rdev. and finnally install a new boot manager. I tried to compile the fdisk and newfs into my Debian Linux 2.1 system. I suscessfulled compiled fdisk, Currently it is working within Debian, but the newfs not. (I was not using iBCS - Intel Binnary Compatibility System) How I saw to Linux cannot a tool for create the UFS filesystem, and I'm desesperate, I need to install a FreeBSD. And I have no enough money for change my memory modules. Thanx for all []'s --------------------------------------------- Gustavo Pamplona - pamplona@uai.com.br Linux User: 137471 - FreeBSD User: FBSD042237 Linux Slackware 7.0 | FreeBSD 3.2 Release --------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun May 7 9:39:32 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mailtoaster2.pipeline.ch (mailtoaster2.pipeline.ch [62.48.0.71]) by hub.freebsd.org (Postfix) with ESMTP id 2F5C037B99C for ; Sun, 7 May 2000 09:39:28 -0700 (PDT) (envelope-from oppermann@pipeline.ch) Received: (qmail 92038 invoked from network); 7 May 2000 16:40:38 -0000 Received: from unknown (HELO pipeline.ch) ([62.48.0.53]) (envelope-sender ) by mailtoaster2.pipeline.ch (qmail-ldap-1.03) with RC4-MD5 encrypted SMTP for ; 7 May 2000 16:40:38 -0000 Message-ID: <39159C75.899C464@pipeline.ch> Date: Sun, 07 May 2000 18:40:21 +0200 From: Andre Oppermann X-Mailer: Mozilla 4.72 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Warner Losh Cc: Nate Williams , Mike Smith , hackers@FreeBSD.ORG Subject: Re: [OT] Finding people with GSM phones (was Re: GPS heads up ) References: <200005061850.MAA18384@nomad.yogotech.com> <200005061840.MAA18274@nomad.yogotech.com> <200005061855.LAA07340@mass.cdrom.com> <200005070549.XAA68658@harmony.village.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Warner Losh wrote: > > With CDMA, you can get a distance very easily. The phones know what > time it is, or CDMA doesn't work at all. That helps a lot. Much of > GPS's work is knowing what time it is. Since the phone knows what > time it is, they can do all kinds of calculations and round trip > things to get the distance. From there, you have a 120degreep arch to > worry about. Since CDMA towers have 3 antennas, you likely get use > slight phase differences between them to narrow it down further. The > CDMA folks at qualcomm tend to be smart (although as they have gotten > larger, this tendacy is weaker than it was), so I wouldn't be > surprised if they thought real hard and were able to do something > simple in the end because it happened to fall out of the equasions. Have a look at page five of this document: http://www.3GPP.org/News/Mobile_news_2000/Mobile_News.pdf It describes the various ways on how to locate a mobile and which are likely to become a standard. -- Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun May 7 11: 0:34 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from picnic.mat.net (picnic.mat.net [206.246.122.133]) by hub.freebsd.org (Postfix) with ESMTP id 147F437B955; Sun, 7 May 2000 11:00:16 -0700 (PDT) (envelope-from chuckr@picnic.mat.net) Received: from localhost (chuckr@localhost [127.0.0.1]) by picnic.mat.net (8.9.3/8.9.3) with ESMTP id NAA03214; Sun, 7 May 2000 13:59:24 -0400 (EDT) (envelope-from chuckr@picnic.mat.net) Date: Sun, 7 May 2000 13:59:24 -0400 (EDT) From: Chuck Robey To: Warner Losh Cc: Nate Williams , Mike Smith , hackers@FreeBSD.ORG Subject: Re: [OT] Finding people with GSM phones (was Re: GPS heads up ) In-Reply-To: <200005070549.XAA68658@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 6 May 2000, Warner Losh wrote: > With CDMA, you can get a distance very easily. The phones know what > time it is, or CDMA doesn't work at all. That helps a lot. Much of > GPS's work is knowing what time it is. Since the phone knows what > time it is, they can do all kinds of calculations and round trip > things to get the distance. From there, you have a 120degreep arch to > worry about. Since CDMA towers have 3 antennas, you likely get use > slight phase differences between them to narrow it down further. The > CDMA folks at qualcomm tend to be smart (although as they have gotten > larger, this tendacy is weaker than it was), so I wouldn't be > surprised if they thought real hard and were able to do something > simple in the end because it happened to fall out of the equasions. Curious about that, I haven't been following it too closely, but I know cdma works on codes, not timing ... how do they get timing (other than bit clock recovery)? > > Warner > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > ---------------------------------------------------------------------------- Chuck Robey | Interests include C & Java programming, FreeBSD, chuckr@picnic.mat.net | electronics, communications, and signal processing. New Year's Resolution: I will not sphroxify gullible people into looking up fictitious words in the dictionary. ---------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun May 7 11:19:38 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from dt051n0b.san.rr.com (dt051n0b.san.rr.com [204.210.32.11]) by hub.freebsd.org (Postfix) with ESMTP id 5037C37B651 for ; Sun, 7 May 2000 11:19:31 -0700 (PDT) (envelope-from DougB@gorean.org) Received: from gorean.org (doug@master [10.0.0.2]) by dt051n0b.san.rr.com (8.9.3/8.9.3) with ESMTP id LAA57823; Sun, 7 May 2000 11:19:08 -0700 (PDT) (envelope-from DougB@gorean.org) Message-ID: <3915B39C.DC28C7C7@gorean.org> Date: Sun, 07 May 2000 11:19:08 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 5.0-CURRENT-0422 i386) X-Accept-Language: en MIME-Version: 1.0 To: Henk Wevers Cc: hackers@freebsd.org Subject: Re: ps does not work after a cvsupdate to 4.0-STABLE References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Henk Wevers wrote: > > Hi *, > > After a make world and offcourse a rebuild from the kernel, my > ps and top command did not work anymore. > > If i do a ps i get the following message. > > ps: proc size mismatch (40872 total, 1044 chunks) > > Somebody has an idea? > Is the procfilesystem changed and the ps command not? Did you actually install the kernel you built? This is a classic kernel/userland mismatch symptom. Doug -- "Live free or die" - State motto of my ancestral homeland, New Hampshire Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun May 7 11:23: 7 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from cg.nu (c18760082.telekabel.chello.nl [212.187.60.82]) by hub.freebsd.org (Postfix) with ESMTP id 9D13837B8AC; Sun, 7 May 2000 11:22:54 -0700 (PDT) (envelope-from wevers@cg.nu) Received: from BOFH (lep3com [10.0.1.6]) by cg.nu (Postfix) with SMTP id 99B9C319FC; Sun, 7 May 2000 20:22:44 +0200 (CEST) From: "Henk Wevers" To: "Doug Barton" Cc: , Subject: RE: ps does not work after a cvsupdate to 4.0-STABLE Date: Sun, 7 May 2000 20:22:43 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 In-Reply-To: <3915B39C.DC28C7C7@gorean.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Yes i did, i found the solution in the Dutch FreeBSD mailinglist nlfug@nlfug.nl FAQ IIRC. libkvm is out of sync. cd /usr/src/lib/libkvm make cleandir make cleandir make obj make depend make all install cd /usr/src/bin/ps make cleandir make cleandir make obj make depend make all install This did work fine. Henk Henk Wevers wrote: > > Hi *, > > After a make world and offcourse a rebuild from the kernel, my > ps and top command did not work anymore. > > If i do a ps i get the following message. > > ps: proc size mismatch (40872 total, 1044 chunks) > > Somebody has an idea? > Is the procfilesystem changed and the ps command not? Did you actually install the kernel you built? This is a classic kernel/userland mismatch symptom. Doug -- "Live free or die" - State motto of my ancestral homeland, New Hampshire Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun May 7 11:29:49 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from picnic.mat.net (picnic.mat.net [206.246.122.133]) by hub.freebsd.org (Postfix) with ESMTP id 846AC37B651 for ; Sun, 7 May 2000 11:29:46 -0700 (PDT) (envelope-from chuckr@picnic.mat.net) Received: from localhost (chuckr@localhost [127.0.0.1]) by picnic.mat.net (8.9.3/8.9.3) with ESMTP id OAA03370; Sun, 7 May 2000 14:29:02 -0400 (EDT) (envelope-from chuckr@picnic.mat.net) Date: Sun, 7 May 2000 14:29:01 -0400 (EDT) From: Chuck Robey To: Alkis Evlogimenos Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: "The Design and Implementation of the 4.4bsd Operating System" In-Reply-To: <39154605.6D5A9371@flashcom.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 7 May 2000, Alkis Evlogimenos wrote: > I was wondering if this book is far too off the current state of > FreeBSD. Are there fundamental differences between the design of 4.4BSD > and FreeBSD? There are some pretty large differences. The VM has changed. Drivers have changed. > Can you also recommend any other books describing the internals of the > FreeBSD OS which are a closer match than the above? Nope. It's still the best ref. Ask me again in 9 months, maybe there'll be a different answer, because another one is in the works (I think David Greenman is one of the authors of a new one) but reading that book will help a whole lot, it's very definitely not a waste of time. > > Thanks. > ---------------------------------------------------------------------------- Chuck Robey | Interests include C & Java programming, FreeBSD, chuckr@picnic.mat.net | electronics, communications, and signal processing. New Year's Resolution: I will not sphroxify gullible people into looking up fictitious words in the dictionary. ---------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun May 7 12:50:19 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from thneed.ubergeeks.com (thneed.ubergeeks.com [209.145.74.245]) by hub.freebsd.org (Postfix) with ESMTP id 2B56A37BA89 for ; Sun, 7 May 2000 12:50:15 -0700 (PDT) (envelope-from adrian@ubergeeks.com) Received: from localhost (adrian@localhost) by thneed.ubergeeks.com (8.9.3/8.9.3) with ESMTP id PAA03005; Sun, 7 May 2000 15:49:49 -0400 (EDT) (envelope-from adrian@ubergeeks.com) X-Authentication-Warning: thneed.ubergeeks.com: adrian owned process doing -bs Date: Sun, 7 May 2000 15:49:49 -0400 (EDT) From: Adrian Filipi-Martin Reply-To: Adrian Filipi-Martin To: Chuck Robey Cc: Alkis Evlogimenos , freebsd-hackers@FreeBSD.ORG Subject: Re: "The Design and Implementation of the 4.4bsd Operating System" In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 7 May 2000, Chuck Robey wrote: > On Sun, 7 May 2000, Alkis Evlogimenos wrote: > > > Can you also recommend any other books describing the internals of the > > FreeBSD OS which are a closer match than the above? > > Nope. It's still the best ref. Ask me again in 9 months, maybe there'll > be a different answer, because another one is in the works (I think David > Greenman is one of the authors of a new one) but reading that book will > help a whole lot, it's very definitely not a waste of time. Correct me if I'm wrong, but I recall hearing that Kirk McKusick is working on a new edition called "The Design and Implemntation of the FreeBSD OS". Maybe I heard this at FreeBSDCon. Maybe it was all the beer during Kirk's talk combined with wishful thinking. ;-) Adrian -- [ adrian@ubergeeks.com -- Ubergeeks Consulting -- http://www.ubergeeks.com/ ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun May 7 13:22:23 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from c014.sfo.cp.net (c014-h022.c014.sfo.cp.net [209.228.12.86]) by hub.freebsd.org (Postfix) with SMTP id 4E68E37BB3C for ; Sun, 7 May 2000 13:22:16 -0700 (PDT) (envelope-from shiratsoi@flashcom.net) Received: (cpmta 10208 invoked from network); 7 May 2000 13:22:14 -0700 Received: from 216-59-11-226.usa.flashcom.net (HELO flashcom.net) (216.59.11.226) by smtp.flashcom.net with SMTP; 7 May 2000 13:22:14 -0700 X-Sent: 7 May 2000 20:22:14 GMT Message-ID: <3915D1B6.6CDFFE2C@flashcom.net> Date: Sun, 07 May 2000 13:27:34 -0700 From: Alkis Evlogimenos Organization: UC Berkeley X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Re: "The Design and Implementation of the 4.4bsd Operating System" References: <39154605.6D5A9371@flashcom.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alkis Evlogimenos wrote: > > I was wondering if this book is far too off the current state of > FreeBSD. Are there fundamental differences between the design of 4.4BSD > and FreeBSD? > > Can you also recommend any other books describing the internals of the > FreeBSD OS which are a closer match than the above? > > Thanks. > -- > > Alkis Evlogimenos > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message Thanks. I just ordered it. I guess I will have something else to do in the summer besides laying on the warm beaches of Cyprus :-) -- Alkis Evlogimenos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun May 7 13:43:26 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from picnic.mat.net (picnic.mat.net [206.246.122.133]) by hub.freebsd.org (Postfix) with ESMTP id 9B59437BC2F for ; Sun, 7 May 2000 13:43:19 -0700 (PDT) (envelope-from chuckr@picnic.mat.net) Received: from localhost (chuckr@localhost [127.0.0.1]) by picnic.mat.net (8.9.3/8.9.3) with ESMTP id QAA03912; Sun, 7 May 2000 16:42:20 -0400 (EDT) (envelope-from chuckr@picnic.mat.net) Date: Sun, 7 May 2000 16:42:20 -0400 (EDT) From: Chuck Robey To: Adrian Filipi-Martin Cc: Alkis Evlogimenos , freebsd-hackers@FreeBSD.ORG Subject: Re: "The Design and Implementation of the 4.4bsd Operating System" In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 7 May 2000, Adrian Filipi-Martin wrote: > On Sun, 7 May 2000, Chuck Robey wrote: > > > On Sun, 7 May 2000, Alkis Evlogimenos wrote: > > > > > Can you also recommend any other books describing the internals of the > > > FreeBSD OS which are a closer match than the above? > > > > Nope. It's still the best ref. Ask me again in 9 months, maybe there'll > > be a different answer, because another one is in the works (I think David > > Greenman is one of the authors of a new one) but reading that book will > > help a whole lot, it's very definitely not a waste of time. > > Correct me if I'm wrong, but I recall hearing that Kirk McKusick is > working on a new edition called "The Design and Implemntation of the > FreeBSD OS". Maybe I heard this at FreeBSDCon. Maybe it was all the beer > during Kirk's talk combined with wishful thinking. ;-) Reread what I said (which talks about the book that's upcoming but NOT available yet). I couldn't remember if it was Kirk or not, but I was sure David was one of the authors, so I named him. > > Adrian > -- > [ adrian@ubergeeks.com -- Ubergeeks Consulting -- http://www.ubergeeks.com/ ] > > ---------------------------------------------------------------------------- Chuck Robey | Interests include C & Java programming, FreeBSD, chuckr@picnic.mat.net | electronics, communications, and signal processing. New Year's Resolution: I will not sphroxify gullible people into looking up fictitious words in the dictionary. ---------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun May 7 13:56:34 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from dt051n0b.san.rr.com (dt051n0b.san.rr.com [204.210.32.11]) by hub.freebsd.org (Postfix) with ESMTP id CB11B37B933; Sun, 7 May 2000 13:56:09 -0700 (PDT) (envelope-from DougB@gorean.org) Received: from gorean.org (doug@master [10.0.0.2]) by dt051n0b.san.rr.com (8.9.3/8.9.3) with ESMTP id NAA58837; Sun, 7 May 2000 13:56:08 -0700 (PDT) (envelope-from DougB@gorean.org) Message-ID: <3915D868.5301CCAD@gorean.org> Date: Sun, 07 May 2000 13:56:08 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 5.0-CURRENT-0422 i386) X-Accept-Language: en MIME-Version: 1.0 To: Mike Smith Cc: Olaf Hoyer , freebsd-hackers@freebsd.org Subject: Re: [OT] Finding people with GSM phones (was Re: GPS heads up ) References: <200005061909.MAA07423@mass.cdrom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Smith wrote: > > > There were some famous cases where some criminals were located by tracking > > down their cell phone. The police needed some decision from court to do > > that, but after that, it was a short way to go. The GSM nets have some of > > this ability built in, to track phones. The operators only don't want the > > "normal" citizen or user to know about that. > > This capability of GSM was well known when it was introduced in .au, but > when my phone was stolen, the telco bastards wouldn't admit to being able > to tell me anything about where it was (even though I could still call > it...). > > What's being proposed here sounds just slightly scary. No, think very, very scary. What's already possible is frightening enough. Yes, there are some public safety benefits, and if I were really doing anything criminal the last thing I'd want to have with me is a cell phone. But, it's universally true that the only criminals caught are the stupid ones. BTW, you do realize that in many cases "off" for your cell phone doesn't really mean off, right? :) Doug -- "Live free or die" - State motto of my ancestral homeland, New Hampshire Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun May 7 14: 2: 3 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from implode.root.com (root.com [209.102.106.178]) by hub.freebsd.org (Postfix) with ESMTP id 6CD4837B573 for ; Sun, 7 May 2000 14:02:00 -0700 (PDT) (envelope-from dg@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.8/8.8.5) with ESMTP id NAA17206; Sun, 7 May 2000 13:56:44 -0700 (PDT) Message-Id: <200005072056.NAA17206@implode.root.com> To: Chuck Robey Cc: Adrian Filipi-Martin , Alkis Evlogimenos , freebsd-hackers@FreeBSD.ORG Subject: Re: "The Design and Implementation of the 4.4bsd Operating System" In-reply-to: Your message of "Sun, 07 May 2000 16:42:20 EDT." From: David Greenman Reply-To: dg@root.com Date: Sun, 07 May 2000 13:56:43 -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >On Sun, 7 May 2000, Adrian Filipi-Martin wrote: > >> On Sun, 7 May 2000, Chuck Robey wrote: >> >> > On Sun, 7 May 2000, Alkis Evlogimenos wrote: >> > >> > > Can you also recommend any other books describing the internals of the >> > > FreeBSD OS which are a closer match than the above? >> > >> > Nope. It's still the best ref. Ask me again in 9 months, maybe there'll >> > be a different answer, because another one is in the works (I think David >> > Greenman is one of the authors of a new one) but reading that book will >> > help a whole lot, it's very definitely not a waste of time. >> >> Correct me if I'm wrong, but I recall hearing that Kirk McKusick is >> working on a new edition called "The Design and Implemntation of the >> FreeBSD OS". Maybe I heard this at FreeBSDCon. Maybe it was all the beer >> during Kirk's talk combined with wishful thinking. ;-) > >Reread what I said (which talks about the book that's upcoming but NOT >available yet). I couldn't remember if it was Kirk or not, but I was sure >David was one of the authors, so I named him. It's basically Kirk, me, and Sam Lefler. It won't be ready until Q1 2001. -DG David Greenman Co-founder, The FreeBSD Project - http://www.freebsd.org Creator of high-performance Internet servers - http://www.terasolutions.com Pave the road of life with opportunities. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun May 7 14:43:40 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 95B5237BA67 for ; Sun, 7 May 2000 14:43:36 -0700 (PDT) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.3) with ESMTP id OAA02984; Sun, 7 May 2000 14:43:34 -0700 (PDT) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id OAA61439; Sun, 7 May 2000 14:43:33 -0700 (PDT) (envelope-from jdp@polstra.com) Date: Sun, 7 May 2000 14:43:33 -0700 (PDT) Message-Id: <200005072143.OAA61439@vashon.polstra.com> To: adsharma@sharmas.dhs.org Reply-To: hackers@freebsd.org Subject: Re: Lazy binding In-Reply-To: <20000505233142.A27312@sharmas.dhs.org> References: <20000505233142.A27312@sharmas.dhs.org> Organization: Polstra & Co., Seattle, WA Cc: hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <20000505233142.A27312@sharmas.dhs.org>, Arun Sharma wrote: > Is there a strong reason why FreeBSD rtld uses lazy binding by default ? 1. Faster start-up times for programs. 2. Better interversion library compatibility. It doesn't matter if a function is missing from a library, as long as the program never calls it at runtime. 3. It's what everybody else has always done by default. I.e., it's what users expect. > In a multithreaded environment, this could make things pretty complex. > What if a thread holds locks and fails at runtime due to a missing > symbol ? *shrug* The same thing that happens if a thread holds locks and fails for any other reason. > Also, is there a significant performance benefit to doing lazy binding ? Start-up time is faster. Overall runtime might be faster or slower, depending on the ratio of called functions to total functions. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun May 7 17:29:43 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from gw.errno.com (node-d1d4bd7a.powerinter.net [209.212.189.122]) by hub.freebsd.org (Postfix) with ESMTP id C948737BB82 for ; Sun, 7 May 2000 17:29:35 -0700 (PDT) (envelope-from sam@errno.com) Received: from melange (melange.errno.com [209.212.166.36]) by gw.errno.com (8.9.0/8.9.0) with SMTP id RAA19373; Sun, 7 May 2000 17:27:13 -0700 (PDT) Message-ID: <0c3501bfb883$7d2b9ce0$24a6d4d1@melange> From: "Sam Leffler" To: , "Chuck Robey" Cc: "Adrian Filipi-Martin" , "Alkis Evlogimenos" , References: <200005072056.NAA17206@implode.root.com> Subject: Re: "The Design and Implementation of the 4.4bsd Operating System" Date: Sun, 7 May 2000 17:21:26 -0700 Organization: Errno Consulting MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > It's basically Kirk, me, and Sam Lefler. It won't be ready until Q1 2001. > Hey, if it's not "exactly" you, me, and Kirk then there's a problem :-) Sam PS. Leffler. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun May 7 20:18:19 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from implode.root.com (root.com [209.102.106.178]) by hub.freebsd.org (Postfix) with ESMTP id 6CBCB37BCC2 for ; Sun, 7 May 2000 20:18:17 -0700 (PDT) (envelope-from dg@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.8/8.8.5) with ESMTP id UAA17944; Sun, 7 May 2000 20:02:02 -0700 (PDT) Message-Id: <200005080302.UAA17944@implode.root.com> To: "Sam Leffler" Cc: "Chuck Robey" , "Adrian Filipi-Martin" , "Alkis Evlogimenos" , freebsd-hackers@FreeBSD.ORG Subject: Re: "The Design and Implementation of the 4.4bsd Operating System" In-reply-to: Your message of "Sun, 07 May 2000 17:21:26 PDT." <0c3501bfb883$7d2b9ce0$24a6d4d1@melange> From: David Greenman Reply-To: dg@root.com Date: Sun, 07 May 2000 20:02:02 -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> >> It's basically Kirk, me, and Sam Lefler. It won't be ready until Q1 >2001. >> > >Hey, if it's not "exactly" you, me, and Kirk then there's a problem :-) > > Sam > >PS. Leffler. I didn't know if Keith Bostic was still going to be the copy editor, and thus one of the names on the cover. -DG David Greenman Co-founder, The FreeBSD Project - http://www.freebsd.org Creator of high-performance Internet servers - http://www.terasolutions.com Pave the road of life with opportunities. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun May 7 22:55:46 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from evil.2y.net (ztown2-2-46.adsl.one.net [216.23.15.46]) by hub.freebsd.org (Postfix) with ESMTP id D31EB37BCE5 for ; Sun, 7 May 2000 22:55:42 -0700 (PDT) (envelope-from cokane@evil.2y.net) Received: (from cokane@localhost) by evil.2y.net (8.9.3/8.9.3) id CAA10275 for hackers@freebsd.org; Mon, 8 May 2000 02:01:39 -0400 (EDT) (envelope-from cokane) Date: Mon, 8 May 2000 02:01:39 -0400 From: Coleman Kane To: hackers@freebsd.org Subject: mmap cdev function in device drivers Message-ID: <20000508020139.A10146@cokane.yi.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i X-Vim: vim:tw=70:ts=4:sw=4 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I have taken it upon myself to write a device driver to access the 3dfx voodoo cards, just like the 3dfx linux driver that is available. I am using the linux code as a reference and have come to a brick wall while writing the cdev mmap function. What exactly is the return value of the device_mmap(...) function supposed to be? What the linux driver basically does is it maps the device's memory directly into userland memory, that part of the mmap functionality in FreeBSD 4.0 seems to be handled by the vm, all it seem to want is an address returned, type int, from looking at the other drivers. Is this the address of the memory region mapped by the PCI BIOS (in this case the 0x1000000 region between 0xec000000 and 0xecffffff), or an address of a mapped region within the kernel memory area? I had it return the former and it crashed the machine, and trying to use bus_alloc_resource(...) with the SYS_RES_MEMORY parameter just won't map any memory -- Coleman Kane President, UC Free O.S. Users Group - http://pohl.ececs.uc.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun May 7 23:11:19 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from localhost (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id E0B9037BF5F; Sun, 7 May 2000 23:11:14 -0700 (PDT) (envelope-from green@FreeBSD.org) Date: Mon, 8 May 2000 02:11:13 -0400 (EDT) From: Brian Fundakowski Feldman X-Sender: green@green.dyndns.org To: Coleman Kane Cc: hackers@freebsd.org Subject: Re: mmap cdev function in device drivers In-Reply-To: <20000508020139.A10146@cokane.yi.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I just want to inform you before doing a huge amount of work on this that over a year ago, Stepehen Hocking started work on a 3dfx driver. His work seems to have disappeared from the planet, but you can try to contact him, and you'll probably get some old code to work with maybe :) -- Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! / green@FreeBSD.org `------------------------------' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun May 7 23:17:41 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (Postfix) with ESMTP id A2DB037BD25 for ; Sun, 7 May 2000 23:17:36 -0700 (PDT) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (doconnor@cain [203.38.152.97]) by cain.gsoft.com.au (8.8.8/8.8.8) with ESMTP id GAA00797; Mon, 8 May 2000 06:17:28 GMT (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20000508020139.A10146@cokane.yi.org> Date: Mon, 08 May 2000 15:47:27 +0930 (CST) From: "Daniel O'Connor" To: Coleman Kane Subject: RE: mmap cdev function in device drivers Cc: hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 08-May-00 Coleman Kane wrote: > the memory region mapped by the PCI BIOS (in this case the 0x1000000 region > between 0xec000000 and 0xecffffff), or an address of a mapped region within > kernel memory area? I had it return the former and it crashed the machine, > trying to use bus_alloc_resource(...) with the SYS_RES_MEMORY parameter just > won't map any memory The return type is the errno for the mmap() call.. You need to inform the VM systems about it. The meat of your mmap call should be -> return(i386_btop(vtophys(rman_get_virtual(sc->g_membase.reshandle)) + offset)); rman_get_virtual() gets the kernel virtual address out of the memeory handle, vtophys turns it into a physical address (hmm.. come to think of it I could probably replace those two with rman_get_start), and i386_btop does, err, magic :) --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun May 7 23:25:25 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from evil.2y.net (ztown2-2-46.adsl.one.net [216.23.15.46]) by hub.freebsd.org (Postfix) with ESMTP id 2A54737BC6F; Sun, 7 May 2000 23:25:21 -0700 (PDT) (envelope-from cokane@evil.2y.net) Received: (from cokane@localhost) by evil.2y.net (8.9.3/8.9.3) id CAA10600; Mon, 8 May 2000 02:31:18 -0400 (EDT) (envelope-from cokane) Date: Mon, 8 May 2000 02:31:18 -0400 From: Coleman Kane To: Brian Fundakowski Feldman Cc: Coleman Kane , hackers@FreeBSD.org Subject: Re: mmap cdev function in device drivers Message-ID: <20000508023118.A10580@cokane.yi.org> References: <20000508020139.A10146@cokane.yi.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="TB36FDmn/VVEgNH/" X-Mailer: Mutt 1.0.1i In-Reply-To: ; from green@FreeBSD.org on Mon, May 08, 2000 at 02:14:13AM -0400 X-Vim: vim:tw=70:ts=4:sw=4 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable One step ahead of you brian. I searched all over until I found it, he was writing a driver for the older pci implementation. He got hung up on the mm= ap thing too... Brian Fundakowski Feldman had the audacity to say: > I just want to inform you before doing a huge amount of work on this that > over a year ago, Stepehen Hocking started work on a 3dfx driver. His work > seems to have disappeared from the planet, but you can try to contact him, > and you'll probably get some old code to work with maybe :) >=20 > -- > Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! / > green@FreeBSD.org `------------------------------' >=20 >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message >=20 --=20 Coleman Kane President,=20 UC Free O.S. Users Group - http://pohl.ececs.uc.edu --TB36FDmn/VVEgNH/ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.0 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE5Fl81ERViMObJ880RAa0WAKCEo2Z7VOa32WZvVPLOdZMckb3UWACg1Tb4 2izmAc0zic8YolsFgiJGvXE= =5HXp -----END PGP SIGNATURE----- --TB36FDmn/VVEgNH/-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun May 7 23:44:18 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 3E2BF37B5C4 for ; Sun, 7 May 2000 23:44:16 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id XAA14811; Sun, 7 May 2000 23:44:13 -0700 (PDT) (envelope-from dillon) Date: Sun, 7 May 2000 23:44:13 -0700 (PDT) From: Matthew Dillon Message-Id: <200005080644.XAA14811@apollo.backplane.com> To: Zhihui Zhang Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: One NFS cookie question References: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :I have one question regarding the usage of NFS cookies. I read the :following passage in the mailing list archive: : :-------- : :The BSD code simpy re-reads all of the directory blocks until it :hits the right offset again whenever it gets NFSERR_BAD_COOKIE. However, :suppose you have a directory of 3 blocks. You read the first block. :Your offset is now at the end of the first block. You delete all the :files in the first block. You want to read the 2nd block. You get :BAD_COOKIE. So then you start again from the beginning, until you :are at the wanted offset. However, the first block has disappeared now, :so your offset lands you at what was originally the 3rd block. You've :missed the 2nd block entirely. : :------- : :Is this problem solved or not in FreeBSD 4.0-Release? : :-Zhihui I think this problem has been solved, at least insofar as Solaris clients (which are sensitive to BAD_COOKIE returns from a FreeBSD NFS server) are concerned . -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun May 7 23:47:25 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from not.demophon.com (x78.iscape.fi [195.170.146.78]) by hub.freebsd.org (Postfix) with ESMTP id 4F30137B51C for ; Sun, 7 May 2000 23:47:22 -0700 (PDT) (envelope-from will@not.demophon.com) Received: (from will@localhost) by not.demophon.com (8.9.3/8.8.7) id JAA33009; Mon, 8 May 2000 09:40:14 +0300 (EEST) (envelope-from will) To: ohoyer@fbwi.fh-wilhelmshaven.de (Olaf Hoyer) Cc: hackers@freebsd.org Subject: Re: [OT] Finding people with GSM phones (was Re: GPS heads up ) References: <200005061909.MAA07423@mass.cdrom.com> <4.1.20000506210410.009fbaf0@mail.rz.fh-wilhelmshaven.de> From: Ville-Pertti Keinonen Date: 08 May 2000 09:40:14 +0300 In-Reply-To: ohoyer@fbwi.fh-wilhelmshaven.de's message of "6 May 2000 22:15:37 +0300" Message-ID: <86zoq1ilyp.fsf@not.demophon.com> Lines: 22 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ohoyer@fbwi.fh-wilhelmshaven.de (Olaf Hoyer) writes: > Well, thats reality. > Sometimes the mobile telco hotlines are so overloaded, you cannot even tell > them that your phone was stolen. (Talk about service-but you get what you > pay for) > In germany, there is some list, where every cell phone can be entered with > its IMEI-number (thats like the MAC on an ethernet card). So theoretically > you simply enter them and make them useless for the thief. In Finland, somebody is apparently doing something to track down stolen phones, rather than block their use. One Saturday morning I got a call from someone at some agency (I couldn't quite make out what it was, it sounded like customs but that would seem odd) accusing me of stealing the GSM phone I was using. It turned out that he had one digit wrong (presumably of the either the IMEI-number or just the MSISDN). I wonder what he was trying to accomplish by calling the supposedly stolen phone. This was last month, but not on April 1... ;--) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 1: 4:48 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id C954E37B5F5 for ; Mon, 8 May 2000 01:04:41 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01JP5JAUWZXK0000C8@research.kpn.com> for freebsd-hackers@freebsd.org; Mon, 8 May 2000 10:04:36 +0200 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Mon, 08 May 2000 10:04:35 +0100 Content-return: allowed Date: Mon, 08 May 2000 10:04:22 +0100 From: "Koster, K.J." Subject: RE: [OT] Finding people with GSM phones (was Re: GPS heads up ) To: 'FreeBSD Hackers mailing list' Message-id: <59063B5B4D98D311BC0D0001FA7E452201313B87@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > BTW, you do realize that in many cases "off" for your cell > phone doesn't really mean off, right? :) > Well, those with the same old Nokia 9000 communicator that I have will know that after 20 hours of standby it's off off. And I mean really, battery gone, off, off. That ought'a tell Big Brother. :-) Could we perhaps not go into Big Brother on this list? Kees Jan ============================================== You are only young once, but you can stay immature all your life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 4:43: 1 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from server1.huntsvilleal.com (server1.huntsvilleal.com [63.147.8.7]) by hub.freebsd.org (Postfix) with ESMTP id D32E337B92E; Mon, 8 May 2000 04:42:58 -0700 (PDT) (envelope-from kris@hiwaay.net) Received: from barricuda.bsd.nws.net (kris.huntsvilleal.com [63.147.8.46]) by server1.huntsvilleal.com (8.9.3/8.9.3) with ESMTP id GAA07935; Mon, 8 May 2000 06:20:29 -0400 Received: from localhost (localhost [127.0.0.1]) by barricuda.bsd.nws.net (8.9.3/8.9.3) with ESMTP id FAA65384; Mon, 8 May 2000 05:43:46 -0500 (CDT) (envelope-from kris@hiwaay.net) Date: Mon, 8 May 2000 05:43:46 -0500 (CDT) From: Kris Kirby To: Doug Barton Cc: Mike Smith , Olaf Hoyer , freebsd-hackers@FreeBSD.ORG Subject: Re: [OT] Finding people with GSM phones (was Re: GPS heads up ) In-Reply-To: <3915D868.5301CCAD@gorean.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > BTW, you do realize that in many cases "off" for your cell phone > doesn't really mean off, right? :) I have strong objections to small transcievers (what cell phones actually are) that operate close to my body and don't let me know when they are transmitting. When you're talking on it, you know it's transmitting, but I'm talking about just about every other time when you've got it on your belt or clipped to your side. I know they aren't high power, but we don't know long term effects (actually, we do; we just don't know the thresholds for triggering cancer, etc.). I'm not thrilled at the aspect of a radio close to my head either. You can feel a radio after it's been transmitting for a while and think: "Something close to the amount of heat generated by this radio has been sent out over the ether and I was standing right in front of it." Yes, to cook your noodle you'd need a couple hundred watts but still, it's energy. ----- Kris Kirby, KE4AHR | TGIFreeBSD... 'Nuff said. | ------------------------------------------------------- "Fate, it seems, is not without a sense of irony." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 6:45:54 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from axl.ops.uunet.co.za (axl.ops.uunet.co.za [196.31.2.163]) by hub.freebsd.org (Postfix) with ESMTP id CCC3737B639; Mon, 8 May 2000 06:45:45 -0700 (PDT) (envelope-from sheldonh@axl.ops.uunet.co.za) Received: from sheldonh (helo=axl.ops.uunet.co.za) by axl.ops.uunet.co.za with local-esmtp (Exim 3.13 #1) id 12onqS-000Fto-00; Mon, 08 May 2000 15:45:12 +0200 From: Sheldon Hearn To: Alexander Langer Cc: "Chris D. Faulhaber" , hackers@freebsd.org, doc@freebsd.org Subject: Re: controlled panic - kernel-module In-reply-to: Your message of "Sun, 07 May 2000 16:17:39 +0200." <20000507161739.A585@cichlids.cichlids.com> Date: Mon, 08 May 2000 15:45:11 +0200 Message-ID: <61119.957793511@axl.ops.uunet.co.za> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 07 May 2000 16:17:39 +0200, Alexander Langer wrote: > This needs to be compiled into the kernel, modules compile faster than > new kernels :-P > > But, this could be documented as well. Only if someone sent in a patch. *nudge* While you're deciding which document to patch, you may notice that there's already adequate documentation on this: http://www.freebsd.org/handbook/kerneldebug.html If you'd like to work on that documentation, your patches would almost certainly be appreciated. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 6:48:51 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from axl.ops.uunet.co.za (axl.ops.uunet.co.za [196.31.2.163]) by hub.freebsd.org (Postfix) with ESMTP id 3B4F137B639 for ; Mon, 8 May 2000 06:48:47 -0700 (PDT) (envelope-from sheldonh@axl.ops.uunet.co.za) Received: from sheldonh (helo=axl.ops.uunet.co.za) by axl.ops.uunet.co.za with local-esmtp (Exim 3.13 #1) id 12ontN-000Fx9-00; Mon, 08 May 2000 15:48:13 +0200 From: Sheldon Hearn To: Matthew Dillon Cc: Matthew Jacob , hackers@FreeBSD.ORG Subject: Re: bin/18312: FreeBSD System Recovery -- mt not statically linked In-reply-to: Your message of "Fri, 05 May 2000 11:16:29 MST." <200005051816.LAA80655@apollo.backplane.com> Date: Mon, 08 May 2000 15:48:13 +0200 Message-ID: <61326.957793693@axl.ops.uunet.co.za> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 05 May 2000 11:16:29 MST, Matthew Dillon wrote: > There's not much point statically linking mt if it's sitting in > /usr/bin. On the face of it it does seem a good candidate to move > to /bin. Given that having things move around in the base system carries with it varying degrees of pain, can you guys just explain why this is actually necessary? Didn't someone point out a way to use restore in the absence of mt? Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 6:51:40 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from axl.ops.uunet.co.za (axl.ops.uunet.co.za [196.31.2.163]) by hub.freebsd.org (Postfix) with ESMTP id ED44437B53E for ; Mon, 8 May 2000 06:51:35 -0700 (PDT) (envelope-from sheldonh@axl.ops.uunet.co.za) Received: from sheldonh (helo=axl.ops.uunet.co.za) by axl.ops.uunet.co.za with local-esmtp (Exim 3.13 #1) id 12onvv-000FyL-00; Mon, 08 May 2000 15:50:51 +0200 From: Sheldon Hearn To: Gustavo Pamplona Cc: freebsd-hackers@freebsd.org Subject: Re: Is there a way to install FreeBSD without "Probbing Devices" In-reply-to: Your message of "Sun, 07 May 2000 13:28:44 -0300." <3.0.6.32.20000507132844.007a8c30@uai.com.br> Date: Mon, 08 May 2000 15:50:50 +0200 Message-ID: <61400.957793850@axl.ops.uunet.co.za> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 07 May 2000 13:28:44 -0300, Gustavo Pamplona wrote: > Sadly, I posted to FreeBSD-Questions, but nobody answered me. And I think > Hackers is the best choice. (I think is necessary to hack the sysinstall > program to do this) Judging from your message, I'd say that nobody who reads freebsd-questions was quite certain on a way to tell you politely that there's no working around hardware that's as badly broken as what you're using. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 6:55: 8 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by hub.freebsd.org (Postfix) with ESMTP id 46D9537B53E for ; Mon, 8 May 2000 06:55:05 -0700 (PDT) (envelope-from zzhang@cs.binghamton.edu) Received: from sol.cs.binghamton.edu (sol.cs.binghamton.edu [128.226.123.100]) by bingnet2.cc.binghamton.edu (8.9.3/8.9.3) with ESMTP id JAA26017; Mon, 8 May 2000 09:55:01 -0400 (EDT) Date: Mon, 8 May 2000 09:54:34 -0400 (EDT) From: Zhihui Zhang To: Matthew Dillon Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: One NFS cookie question In-Reply-To: <200005080644.XAA14811@apollo.backplane.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 7 May 2000, Matthew Dillon wrote: > :I have one question regarding the usage of NFS cookies. I read the > :following passage in the mailing list archive: > : > :-------- > : > :The BSD code simpy re-reads all of the directory blocks until it > :hits the right offset again whenever it gets NFSERR_BAD_COOKIE. However, > :suppose you have a directory of 3 blocks. You read the first block. > :Your offset is now at the end of the first block. You delete all the > :files in the first block. You want to read the 2nd block. You get > :BAD_COOKIE. So then you start again from the beginning, until you > :are at the wanted offset. However, the first block has disappeared now, > :so your offset lands you at what was originally the 3rd block. You've > :missed the 2nd block entirely. > : > :------- > : > :Is this problem solved or not in FreeBSD 4.0-Release? > : > :-Zhihui > > I think this problem has been solved, at least insofar as Solaris > clients (which are sensitive to BAD_COOKIE returns from a FreeBSD > NFS server) are concerned . > This is not obvious from the source code. The BAD_COOKIE is now only returned locally on the client side. Anyway, since the client has read lock on the nfsnode, this rarely happens and if so, the client is messing with himself. It can do nothing with other NFS clients due to the stateless of the server. -Zhihui To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 7:16:52 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.10.60]) by hub.freebsd.org (Postfix) with ESMTP id B16E937B7CD for ; Mon, 8 May 2000 07:16:48 -0700 (PDT) (envelope-from kheuer@gwdu60.gwdg.de) Received: from localhost (kheuer@localhost) by gwdu60.gwdg.de (8.9.2/8.9.2) with ESMTP id QAA32812 for ; Mon, 8 May 2000 16:16:49 +0200 (CEST) (envelope-from kheuer@gwdu60.gwdg.de) Date: Mon, 8 May 2000 16:16:49 +0200 (CEST) From: Konrad Heuer To: freebsd-hackers@freebsd.org Subject: Connect to lpd on insecure port Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Today I did some testing concerning lpd and I was very astonished to see that lpd accepts jobs also from insecure ports (violating RFC 1179). It does not accept such jobs on 2.1.6-RELEASE (yes, I still have some old 386 system out there with 2.1.6) but it does on 3.x (and as far as I've seen from the code) and 4.x and also on 2.2.6. Why and when has the behaviour of lpd been changed? I'd like lpd only to accept connections from secure ports (do you remember the famous error message `Malformed from address'? ;-) ) Thanks for any reply! Konrad Heuer Personal Bookmarks: Gesellschaft f=FCr wissenschaftliche Datenverarbeitung mbH G=D6ttingen http://www.freebsd.org Am Fa=DFberg, D-37077 G=D6ttingen http://www.daemonnews.o= rg Deutschland (Germany) kheuer@gwdu60.gwdg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 8:13: 0 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from server.baldwin.cx (jobaldwi.campus.vt.edu [198.82.67.146]) by hub.freebsd.org (Postfix) with ESMTP id 33FCE37B50F for ; Mon, 8 May 2000 08:12:57 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from john.baldwin.cx (john [10.0.0.2]) by server.baldwin.cx (8.9.3/8.9.3) with ESMTP id LAA03279 for ; Mon, 8 May 2000 11:12:53 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-Id: <200005081512.LAA03279@server.baldwin.cx> X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Mon, 08 May 2000 11:12:53 -0400 (EDT) From: John Baldwin To: freebsd-hackers@FreeBSD.org Subject: USB Support during Install Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hey all, I have been working on adding USB support into our initial install as I've mentioned previously. Currently, the only hold-up is that USB keyboards can't be used in the kernel userconfig. Thus, our install currently requires an AT or PS/2 keyboard for x86 machines until the userconfig utility moves into the loader where it belongs. Alpha machines should be able to work provided they can workaround the fact that SRM currently doesn't support USB. I have not yet tested this stuff on an Alpha however, so no Alpha-specific patches are in the patchset. However, almost all of my patches can be safely applied to enable USB support in the install, with the exception that USB keyboards will not work during the install itself. After the install USB keyboards will work fine. This patchset includes a couple of things: 1) Add USB devices to /dev on the install floppy. 2) Add kbd1 to MAKEDEV's all) target so that we support using kbdcontrol to switch keyboards out of the box. 3) Add usbd and usbdevs to the install floppy in /stand. 4) Add USB support to sysintall. This checks to see if USB was detected during boot-up, and if so it enables usbd in rc.conf and starts up usbd. 5) Turn on USB support in GENERIC. 6) Add KBD_INSTALL_CDEV into GENERIC. 7) Turn on keyboard probing in sc0. The syscons driver will now use a flag documented in ukbd(4) but not in sc(4) that tells syscons to actively search for a keyboard device if none is found. This allows USB keyboards to just be plugged in and instantly start working. 8) Require the atkbd0 driver to actually probe to see if a keyboard is there. This allows USB keyboards to be seen by sc0 if an AT keyboard isn't plugged into the computer. This also means that you will no longer be able to plug an AT keyboard into a machine after it has booted and use it. AT keyboards aren't designed for this anyway. USB keyboards are and they work. Notes: 7) and 8) are done via flags in GENERIC, so you can turn them off in your custom kernel if you like to fry your motherboard by plugging in AT keyboards while the computer is on. Also, if both an AT keyboard and a USB keyboard are plugged into the machine when it is booted, the AT keyboard takes precedence. Finally, the AT keyboard is only probed during boot. So if you unplug your AT keyboard and plug in a USB keyboard, sc0 will still use the AT keyboard as its primary keyboard until you use kbdcontrol to change it. The patchset for all of this is at http://www.FreeBSD.org/~jhb/patches/usb.support.patch. Please review and send comments as I'd like to commit it by the end of the week. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 8:17:54 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 55C1037B7D5 for ; Mon, 8 May 2000 08:17:50 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.9.3/8.9.3) with ESMTP id IAA76676; Mon, 8 May 2000 08:16:34 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Mon, 8 May 2000 08:16:34 -0700 (PDT) From: Doug White To: Konrad Heuer Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Connect to lpd on insecure port In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 8 May 2000, Konrad Heuer wrote: > > Today I did some testing concerning lpd and I was very astonished to see > that lpd accepts jobs also from insecure ports (violating RFC 1179). It > does not accept such jobs on 2.1.6-RELEASE (yes, I still have some old 386 > system out there with 2.1.6) but it does on 3.x (and as far as I've seen > from the code) and 4.x and also on 2.2.6. > Why and when has the behaviour of lpd been changed? I'd like lpd only to > accept connections from secure ports (do you remember the famous error > message `Malformed from address'? ;-) ) I think that particular message is why the change came about. Also pure usability -- it's awfully hard to submit a job from a priviledged port as a user, and I don't want to submit jobs as root. If you don't like it, that's what ipfw is for. :) Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 8:30:34 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id C68D937B9BE for ; Mon, 8 May 2000 08:30:31 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id IAA18868; Mon, 8 May 2000 08:30:31 -0700 (PDT) (envelope-from dillon) Date: Mon, 8 May 2000 08:30:31 -0700 (PDT) From: Matthew Dillon Message-Id: <200005081530.IAA18868@apollo.backplane.com> To: hackers@FreeBSD.ORG Subject: GPS SA/no-SA graph Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've put up a temporary web page showing a before and after snapshot of the GPS readings taken on one of Emeryville's bus lines. http://www.backplane.com/nosa/ -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 8:43:29 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 109D337B92E for ; Mon, 8 May 2000 08:43:28 -0700 (PDT) (envelope-from mjacob@feral.com) Received: from semuta.feral.com (semuta [192.67.166.70]) by feral.com (8.9.3/8.9.3) with ESMTP id IAA25140; Mon, 8 May 2000 08:42:09 -0700 Date: Mon, 8 May 2000 08:42:33 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: Sheldon Hearn Cc: Matthew Dillon , hackers@FreeBSD.ORG Subject: Re: bin/18312: FreeBSD System Recovery -- mt not statically linked In-Reply-To: <61326.957793693@axl.ops.uunet.co.za> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 8 May 2000, Sheldon Hearn wrote: > > > On Fri, 05 May 2000 11:16:29 MST, Matthew Dillon wrote: > > > There's not much point statically linking mt if it's sitting in > > /usr/bin. On the face of it it does seem a good candidate to move > > to /bin. > > Given that having things move around in the base system carries with it > varying degrees of pain, can you guys just explain why this is actually > necessary? Didn't someone point out a way to use restore in the absence > of mt? Yes, that was me. But maybe they're /usr that they want to restore isn't in dump(8) format. I dunno- this is why I asked. It seems to me on the face of it a reasonable thing to have- basic device manipulation available w/o /usr. But there's no particular end to the number of things you *could* want to be availble if someone takes a Mossberger to your /usr. So, I'm of two minds about this. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 9: 1: 7 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 9B59E37B713; Mon, 8 May 2000 09:01:00 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id KAA44433; Mon, 8 May 2000 10:00:59 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id KAA77785; Mon, 8 May 2000 10:00:44 -0600 (MDT) Message-Id: <200005081600.KAA77785@harmony.village.org> To: Chuck Robey Subject: Re: [OT] Finding people with GSM phones (was Re: GPS heads up ) Cc: Nate Williams , Mike Smith , hackers@FreeBSD.ORG In-reply-to: Your message of "Sun, 07 May 2000 13:59:24 EDT." References: Date: Mon, 08 May 2000 10:00:44 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Chuck Robey writes: : Curious about that, I haven't been following it too closely, but I know : cdma works on codes, not timing ... how do they get timing (other than bit : clock recovery)? cdma does work on timing. It effectively transmits all the data all the time. Phones need to know when the start of frame is, which means they need to know what time it is. They can get that from the last start of frame, and the rate of start of frames they are seeing. cdma and tdma are different in some ways, but they both have to know what time it is to work. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 9:33:42 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from web3302.mail.yahoo.com (web3302.mail.yahoo.com [204.71.201.25]) by hub.freebsd.org (Postfix) with SMTP id 7247637B583 for ; Mon, 8 May 2000 09:33:38 -0700 (PDT) (envelope-from roysweetness@yahoo.com) Message-ID: <20000508163333.9415.qmail@web3302.mail.yahoo.com> Received: from [196.2.0.6] by web3302.mail.yahoo.com; Mon, 08 May 2000 09:33:33 PDT Date: Mon, 8 May 2000 09:33:33 -0700 (PDT) From: george sinclair Subject: nokia To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG my phone droped in water I cleaned it up and soldered a few things when I turned it on the greeting was two king rules then when I checked the programs the esn number was not there it read (00). please tell me what has happen and if I can program the esn back into the phone __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 9:37:19 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from spirit.jaded.net (spirit.jaded.net [216.94.113.12]) by hub.freebsd.org (Postfix) with ESMTP id B374037BA9C for ; Mon, 8 May 2000 09:37:12 -0700 (PDT) (envelope-from dan@spirit.jaded.net) Received: (from dan@localhost) by spirit.jaded.net (8.9.3/8.9.3) id MAA02361; Mon, 8 May 2000 12:37:47 -0400 (EDT) Date: Mon, 8 May 2000 12:37:47 -0400 From: Dan Moschuk To: Matthew Jacob Cc: Sheldon Hearn , Matthew Dillon , hackers@FreeBSD.ORG Subject: Re: bin/18312: FreeBSD System Recovery -- mt not statically linked Message-ID: <20000508123747.C1685@spirit.jaded.net> References: <61326.957793693@axl.ops.uunet.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from mjacob@feral.com on Mon, May 08, 2000 at 08:42:33AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG | > > There's not much point statically linking mt if it's sitting in | > > /usr/bin. On the face of it it does seem a good candidate to move | > > to /bin. | > | > Given that having things move around in the base system carries with it | > varying degrees of pain, can you guys just explain why this is actually | > necessary? Didn't someone point out a way to use restore in the absence | > of mt? | | Yes, that was me. But maybe they're /usr that they want to restore isn't in | dump(8) format. I dunno- this is why I asked. It seems to me on the face of it | a reasonable thing to have- basic device manipulation available w/o /usr. But | there's no particular end to the number of things you *could* want to be | availble if someone takes a Mossberger to your /usr. So, I'm of two minds | about this. Instead of going through pains of moving everything around, why not build a static mt on the rescue disk only? -- Dan Moschuk (TFreak!dan@freebsd.org) "Don't get even -- get odd!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 9:48:22 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 3FD1437BA9E; Mon, 8 May 2000 09:48:17 -0700 (PDT) (envelope-from mjacob@feral.com) Received: from semuta.feral.com (semuta [192.67.166.70]) by feral.com (8.9.3/8.9.3) with ESMTP id JAA25376; Mon, 8 May 2000 09:47:09 -0700 Date: Mon, 8 May 2000 09:47:33 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: Dan Moschuk Cc: Sheldon Hearn , Matthew Dillon , hackers@FreeBSD.ORG Subject: Re: bin/18312: FreeBSD System Recovery -- mt not statically linked In-Reply-To: <20000508123747.C1685@spirit.jaded.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Instead of going through pains of moving everything around, why not build > a static mt on the rescue disk only? Umm, that's possible also. I tend to not believe that the rescue disk is useful since most of the machines *I* use don't have floppy drives. -matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 9:57:11 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from obie.softweyr.com (obie.softweyr.com [204.68.178.33]) by hub.freebsd.org (Postfix) with ESMTP id BB4F437B9ED for ; Mon, 8 May 2000 09:57:00 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from softweyr.com (Foolstrustidentd@obie.softweyr.com [204.68.178.33]) by obie.softweyr.com (8.8.8/8.8.8) with ESMTP id KAA18209; Mon, 8 May 2000 10:56:42 -0600 (MDT) (envelope-from wes@softweyr.com) Message-ID: <39160924.D00CAF40@softweyr.com> Date: Sun, 07 May 2000 18:24:04 -0600 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Olaf Hoyer Cc: Nate Williams , freebsd-hackers@FreeBSD.ORG Subject: Re: [OT] Finding people with GSM phones (was Re: GPS heads up ) References: <200005061847.LAA07298@mass.cdrom.com> <200005061607.KAA17627@nomad.yogotech.com> <200005061847.LAA07298@mass.cdrom.com> <4.1.20000506204714.00cd5290@mail.rz.fh-wilhelmshaven.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Olaf Hoyer wrote: > > At 12:40 06.05.00 -0600, you wrote: > >> > Plus, they can get a fix on the phone in 300ms (good to about 25m), > >> > which is far faster than a GPS unit can do it. Basically, the phone is > >> > 'locked on' as soon as you turn it on and it finds a cell tower. And, > >> > apparently they've figured out a way to get a coarse fix on it even > >> > where there is only one tower, although when I pressured him, he just > >> > smiled and claimed it was a trade secret. > >> > > >> > Or so I've been told, but I trust the source since he's one of the > >> > smartest guys I ever met. :) > >> > >> GSM (which is what all of these systems are based on) depends heavily on > >> knowing the flight time from the phone to the cell hardware (and back), in > >> order for TDMA to work correctly. 25m is special for a reason I don't > >> recall (possibly flight time for one clock, or something similar). > >> > >> Triangulation is typically trivial with only two towers (your phone will > >> generally log into at least the strongest three or four cells) because > >> the towers use directional antennae, so the tower knows where the antenna > >> you're on is pointing and you can eliminate the shadow position (most of > >> the time). > > > >Right, with triangulation it's trivial. > > > >> With one tower, you're down to describing an arc along which > >> the phone is probably located; still pretty good when it comes to finding > >> someone. > > > >He seemed to imply that they could get it within 25m, even with one > >phone. Like I said, I don't understand how, but I didn't question his > >ability. Plus, he knows alot more about the stuff than I do. > > > Hi! > > Well, I've heard reports that they are working on precision calculations > where you are... > > Those numbers only work (at least this is my latest understanding) if you > are actually doing some calls, so that all towers (in the GSM-900 net, IIRC > the phone locks to three towers, one for primary data transfer, the other > two for backup or movement issues to hand over) have some active connection. > If the phone is only turned on, it sends some data to the tower, so that > you know that in the area this tower overlooks, (360 degree) it is somewhere. > > There were some famous cases where some criminals were located by tracking > down their cell phone. The police needed some decision from court to do > that, but after that, it was a short way to go. The GSM nets have some of > this ability built in, to track phones. The operators only don't want the > "normal" citizen or user to know about that. All this discussion of the wonders of GSM is wonderful, but doesn't apply to the USA where this mandate is happening. This was the stated reason for Rockwell getting into the GPS chipset market, because the volume is going through the roof by late 2002. (TDMA and CDMA cover much more of the USA than GSM, and will probably continue to lead coverage for quite some time.) -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 10: 3:10 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from obie.softweyr.com (obie.softweyr.com [204.68.178.33]) by hub.freebsd.org (Postfix) with ESMTP id 9619437B7CD for ; Mon, 8 May 2000 10:03:06 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from softweyr.com (Foolstrustidentd@obie.softweyr.com [204.68.178.33]) by obie.softweyr.com (8.8.8/8.8.8) with ESMTP id KAA18201; Mon, 8 May 2000 10:56:27 -0600 (MDT) (envelope-from wes@softweyr.com) Message-ID: <3916064C.BB9A823@softweyr.com> Date: Sun, 07 May 2000 18:11:56 -0600 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Nate Williams Cc: Poul-Henning Kamp , Warner Losh , hackers@FreeBSD.ORG Subject: Re: GPS heads up References: <200005052357.RAA57906@harmony.village.org> <6827.957594577@critter.freebsd.dk> <200005061603.KAA17604@nomad.yogotech.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Nate Williams wrote: > > > >: With 12-channel chipsets becoming common, new devices are getting quite > > >: good at this. > > > > > >Yes. Most of the data I have is for 6 channel models. > > > > 12-chanel chipsets are overkill if you don't live more or les exactly > > on the equator or one of the poles. > > I disagree. I routineles pick up 10-11 satellites, and I'm about > half-way between the pole and the equator. Heck, I just looked, and > I've got 8 locked on right now. > > > Here where I live (56 north) about 30% of the sky is never covered by > > a satelite because of the inclination of the satelites being non-zero. > > Wow, the worst I've *ever* seen was 4 satellites here, but it may be > that the GPS satellites have orbits that prefer the US? No, that would defeat the purpose, which is to be able to fight "blind" anywhere in the world. Even Scandinavia, you can never tell when communist agression might break out there. ;^) -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 10: 3:49 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 1681B37B7CD for ; Mon, 8 May 2000 10:03:44 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id LAA26908; Mon, 8 May 2000 11:03:32 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id LAA27088; Mon, 8 May 2000 11:03:32 -0600 (MDT) (envelope-from nate) Date: Mon, 8 May 2000 11:03:32 -0600 (MDT) Message-Id: <200005081703.LAA27088@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Wes Peters Cc: Olaf Hoyer , Nate Williams , freebsd-hackers@FreeBSD.ORG Subject: Re: [OT] Finding people with GSM phones (was Re: GPS heads up ) In-Reply-To: <39160924.D00CAF40@softweyr.com> References: <200005061847.LAA07298@mass.cdrom.com> <200005061607.KAA17627@nomad.yogotech.com> <4.1.20000506204714.00cd5290@mail.rz.fh-wilhelmshaven.de> <39160924.D00CAF40@softweyr.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > All this discussion of the wonders of GSM is wonderful, but doesn't apply > to the USA where this mandate is happening. You mean the mandate that GPS must be part of the phone? As I said, my friend at Qualcomm stated that GPS wasn't a requirement, but the ability to know the location of the phone within 100m *is* a requirement. Because the a large percentage (majority?) of cell phones are used in locations where GPS can't be used effectively (think any big city inside of a car), Qualcomm is not adding GPS chipsets into their phones. According to my friend, the solutions they have designed work for both the existing analog and digital phones being used today, and are much better than the 100m accuracy marks required by law (as stated before, the number 25m jumps to mind). So, they get higher accuracy solutions that don't require changes to their phones, thus driving up costs. (Although it does require changes to the cell towers, but that's a much cheaper alternative since there are fewer of them *PLUS* it works with old phones, making it *very* attractive to the government.) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 10:11:58 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from hermes.cpetc.com (hermes.cpetc.com [207.137.157.132]) by hub.freebsd.org (Postfix) with ESMTP id 71B6337B5DB for ; Mon, 8 May 2000 10:11:48 -0700 (PDT) (envelope-from kahn@deadbbs.com) Received: from EndUser (mongo.sdccd.cc.ca.us [209.129.16.5]) by hermes.cpetc.com (8.9.3/8.9.3) with SMTP id KAA13802; Mon, 8 May 2000 10:11:48 -0700 (PDT) From: "Erin" To: "'george sinclair'" , Subject: RE: nokia Date: Mon, 8 May 2000 10:12:58 -0700 Message-ID: <002001bfb910$a8e294a0$8914820a@EndUser.sdccd.cc.ca.us> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: <20000508163333.9415.qmail@web3302.mail.yahoo.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Importance: Normal Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > my phone droped in water I cleaned it up and soldered > a few things when I turned it on the greeting was two > king rules then when I checked the programs the esn > number was not there it read (00). > please tell me what has happen and if I can program > the esn back into the phone Wrong list. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 10:16:30 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id D735E37B980 for ; Mon, 8 May 2000 10:16:25 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost.freebsd.dk [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.3) with ESMTP id TAA19348; Mon, 8 May 2000 19:14:20 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Wes Peters Cc: Olaf Hoyer , Nate Williams , freebsd-hackers@FreeBSD.ORG Subject: Re: [OT] Finding people with GSM phones (was Re: GPS heads up ) In-reply-to: Your message of "Sun, 07 May 2000 18:24:04 MDT." <39160924.D00CAF40@softweyr.com> Date: Mon, 08 May 2000 19:14:20 +0200 Message-ID: <19346.957806060@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <39160924.D00CAF40@softweyr.com>, Wes Peters writes: >> There were some famous cases where some criminals were located by tracking >> down their cell phone. Several cases have been nailed shut here in Denmark on that basis by now, people saying "I were not at home that evening, I was with some friend on the other side of town" and the police then playing a GSM call and showing the area where the phone could have been at the time of the call. They need a court order of for both wire-tapping and getting hold of the location information. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD coreteam member | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 10:31:55 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from evil.2y.net (ztown2-2-46.adsl.one.net [216.23.15.46]) by hub.freebsd.org (Postfix) with ESMTP id 70A1E37B8E2 for ; Mon, 8 May 2000 10:31:39 -0700 (PDT) (envelope-from cokane@evil.2y.net) Received: (from cokane@localhost) by evil.2y.net (8.9.3/8.9.3) id NAA02120; Mon, 8 May 2000 13:36:54 -0400 (EDT) (envelope-from cokane) Date: Mon, 8 May 2000 13:36:54 -0400 From: Coleman Kane To: "Daniel O'Connor" Cc: Coleman Kane , hackers@freebsd.org Subject: Re: mmap cdev function in device drivers Message-ID: <20000508133654.A2018@cokane.yi.org> References: <20000508020139.A10146@cokane.yi.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from doconnor@gsoft.com.au on Mon, May 08, 2000 at 02:18:21AM -0400 X-Vim: vim:tw=70:ts=4:sw=4 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Daniel O'Connor had the audacity to say: > > The return type is the errno for the mmap() call.. > > You need to inform the VM systems about it. > The meat of your mmap call should be -> > > return(i386_btop(vtophys(rman_get_virtual(sc->g_membase.reshandle)) + > offset)); > This is probably what I am missing, is there any documentation on this? I see a number of ways this is done in the source... (from /sys/dev/bktr/bktr_os.c): return( atop(vtophys(bktr->bigbuf) + offset) ); I think I am rather misunderstanding what exactly atop and 1386_btop do... > rman_get_virtual() gets the kernel virtual address out of the memeory handle, > vtophys turns it into a physical address (hmm.. come to think of it I could > probably replace those two with rman_get_start), and i386_btop does, err, magic > :) > Of course, and I like an idiot am sending it the return of the resource alloc call... it is lsited as type struct resource * in the headers... now, my question is that do I need to alloc vm space for this? The mmap call keeps returning ENOMEM whenever I call it, from userspace. I have it do a bus_alloc_resource on the sysmem, now it returns the right pointer and everything, but is just seems to exhaust the maximum page maps by mapping every 0x1000 region between 0xec000000 and 0xed000000. I see some drivers using vm_page_alloc_contig to get a large area, but it seems like it's for allocating a local buffer, I am looking at the code for the meteor and bktr devices... > --- > Daniel O'Connor software and network engineer > for Genesis Software - http://www.gsoft.com.au > "The nice thing about standards is that there > are so many of them to choose from." > -- Andrew Tanenbaum > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > -- Coleman Kane President, UC Free O.S. Users Group - http://pohl.ececs.uc.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 10:32: 4 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from finch-post-12.mail.demon.net (finch-post-12.mail.demon.net [194.217.242.41]) by hub.freebsd.org (Postfix) with ESMTP id 29B2337B90E for ; Mon, 8 May 2000 10:31:50 -0700 (PDT) (envelope-from dmlb@ragnet.demon.co.uk) Received: from ragnet.demon.co.uk ([158.152.46.40]) by finch-post-12.mail.demon.net with esmtp (Exim 2.12 #1) id 12orNX-000Atr-0C for freebsd-hackers@freebsd.org; Mon, 8 May 2000 17:31:36 +0000 Received: from dmlb by ragnet.demon.co.uk with local (Exim 3.03 #1) id 12orNU-000KNk-00 for freebsd-hackers@freebsd.org; Mon, 08 May 2000 18:31:32 +0100 Content-Length: 504 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Mon, 08 May 2000 18:31:32 +0100 (BST) From: Duncan Barclay To: freebsd-hackers@freebsd.org Subject: Getting an aligned IO port Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi How can get a 16byte aligned ISA IO port from the resource allocator? I need this to get if_xe working for Realport cards. This aspect of the driver is nothing to do with Warner's changes to PCCard. Thanks Duncan --- ________________________________________________________________________ Duncan Barclay | God smiles upon the little children, dmlb@ragnet.demon.co.uk | the alcoholics, and the permanently stoned. ________________________________________________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 10:35:18 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from nimitz.ca.sandia.gov (nimitz.ca.sandia.gov [146.246.243.56]) by hub.freebsd.org (Postfix) with ESMTP id 24F1E37BB42 for ; Mon, 8 May 2000 10:35:11 -0700 (PDT) (envelope-from bmah@nimitz.ca.sandia.gov) Received: (from bmah@localhost) by nimitz.ca.sandia.gov (8.10.0/8.10.0) id e48HYdX66591; Mon, 8 May 2000 10:34:39 -0700 (PDT) (envelope-from bmah) Message-Id: <200005081734.e48HYdX66591@nimitz.ca.sandia.gov> X-Mailer: exmh version 2.1.1-cvs 10/15/1999 To: Hajimu UMEMOTO (=?ISO-2022-JP?B?GyRCR19LXBsoQiA=?= =?ISO-2022-JP?B?GyRCSCUbKEI=?=) Cc: jim@thehousleys.net, freebsd-hackers@FreeBSD.ORG Subject: Re: IPv6 In-reply-to: <200005061824.e46IOZF91709@peace.mahoroba.org> References: <39145314.669C1D37@thehousleys.net> <200005061824.e46IOZF91709@peace.mahoroba.org> Comments: In-reply-to Hajimu UMEMOTO (=?ISO-2022-JP?B?GyRCR19LXBsoQiA=?= =?ISO-2022-JP?B?GyRCSCUbKEI=?=) message dated "Sun, 07 May 2000 03:24:35 +0900." From: bmah@acm.org (Bruce A. Mah) Reply-To: bmah@acm.org X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Url: http://www.ca.sandia.gov/~bmah/ Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 08 May 2000 10:34:39 -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If memory serves me right, Hajimu UMEMOTO wrote: > >>>>> On Sat, 06 May 2000 13:15:00 -0400 > >>>>> James Housley said: > > jim> Is there a IPv6 Mailing list for FreeBSD/*BSD specifically? > > How about snap-users@kame.net? It is for KAME, but FreeBSD's IPv6 > code came from KAME. > There is IPv6-jp@jp.freebsd.org, but in Japanese. Another list that doesn't quite fit the bill but might be close is the users@ipv6.org list. It's a general mailing list for people who are using and deploying IPv6, but not targetting BSD specifically. Send subscription requests to users-request@ipv6.org Bruce. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 10:49:49 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from bluerose.windmoon.nu (c255152-a.plstn1.sfba.home.com [24.15.210.246]) by hub.freebsd.org (Postfix) with ESMTP id 234D337B76C for ; Mon, 8 May 2000 10:49:43 -0700 (PDT) (envelope-from fengyue@bluerose.windmoon.nu) Received: from localhost (fengyue@localhost) by bluerose.windmoon.nu (Windmoon-Patched/8.9.3/8.9.3) with ESMTP id LAA01068 for ; Mon, 8 May 2000 11:13:42 -0700 (PDT) Date: Mon, 8 May 2000 11:13:42 -0700 (PDT) From: FengYue To: freebsd-hackers@freebsd.org Subject: mysql 3.22.32 and freebsd 4.0-stable Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, anyone of you running mysql 3.22.32 on 4.0-stable? I'm getting a core dump on startup. I tried with the ports as well as the package from www.mysql.org. (4.0-stable as of May 7th) Here it's the backtrace, I've not got a chance to look into the source. I'm wondering if any of you have seen this before? (gdb) bt #0 0x806cbd7 in lex_init () #1 0x8069e65 in main () #2 0x804aaad in _start () Thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 12: 1:55 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from md5.follo.net (isdn-17.follo.net [195.204.140.106]) by hub.freebsd.org (Postfix) with ESMTP id 646AD37BB42; Mon, 8 May 2000 12:01:42 -0700 (PDT) (envelope-from des@flood.ping.uio.no) Received: (from des@localhost) by md5.follo.net (8.9.3/8.9.3) id VAA22376; Mon, 8 May 2000 21:00:09 +0200 (CEST) (envelope-from des@flood.ping.uio.no) X-Authentication-Warning: md5.follo.net: des set sender to des@flood.ping.uio.no using -f To: hackers@freebsd.org Subject: newsyslog(8) hack From: Dag-Erling Smorgrav Date: 08 May 2000 21:00:09 +0200 Message-ID: <868zxkamva.fsf@md5.follo.net> Lines: 10 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.5 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --=-=-= I've hacked newsyslog(8) to accept a list of log files to process on the command line (very useful in combination with -F). See attached patches. I'll commit this in a few days if noone objects. DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no --=-=-= Content-Disposition: attachment; filename=diff Content-Description: newsyslog(8) patches Index: newsyslog.8 =================================================================== RCS file: /home/ncvs/src/usr.sbin/newsyslog/newsyslog.8,v retrieving revision 1.24 diff -u -r1.24 newsyslog.8 --- newsyslog.8 2000/04/04 08:50:01 1.24 +++ newsyslog.8 2000/05/08 18:57:20 @@ -28,6 +28,7 @@ .Op Fl Fnrv .Op Fl f Ar config_file .Op Fl a Ar directory +.Op Ar file ... .Sh DESCRIPTION .Nm Newsyslog is a program that should be scheduled to run periodically by @@ -355,6 +356,11 @@ option is useful for diagnosing system problems by providing you with fresh logs that contain only the problems. .El +.Pp +If additional command line arguments are given, +.Nm +will only examine log files that match those arguments; otherwise, it +will examine all files listed in the configuration file. .Sh FILES .Bl -tag -width /etc/newsyslog.confxxxx -compact .It Pa /etc/newsyslog.conf Index: newsyslog.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/newsyslog/newsyslog.c,v retrieving revision 1.27 diff -u -r1.27 newsyslog.c --- newsyslog.c 2000/04/04 08:50:01 1.27 +++ newsyslog.c 2000/05/08 18:52:47 @@ -95,7 +95,7 @@ char hostname[MAXHOSTNAMELEN + 1]; /* hostname */ char *daytime; /* timenow in human readable form */ -static struct conf_entry *parse_file(); +static struct conf_entry *parse_file(char **files); static char *sob(char *p); static char *son(char *p); static char *missing_field(char *p, char *errline); @@ -121,7 +121,7 @@ PRS(argc, argv); if (needroot && getuid() && geteuid()) errx(1, "must have root privs"); - p = q = parse_file(); + p = q = parse_file(argv + optind); while (p) { do_entry(p); @@ -214,7 +214,6 @@ if ((p = strchr(hostname, '.'))) { *p = '\0'; } - optind = 1; /* Start options parsing */ while ((c = getopt(argc, argv, "nrvFf:a:t:")) != -1) switch (c) { case 'n': @@ -253,11 +252,12 @@ * process */ static struct conf_entry * -parse_file(void) +parse_file(char **files) { FILE *f; char line[BUFSIZ], *parse, *q; char *errline, *group; + char **p; struct conf_entry *first = NULL; struct conf_entry *working = NULL; struct passwd *pass; @@ -274,6 +274,21 @@ if ((line[0] == '\n') || (line[0] == '#')) continue; errline = strdup(line); + + q = parse = missing_field(sob(line), errline); + parse = son(line); + if (!*parse) + errx(1, "malformed line (missing fields):\n%s", errline); + *parse = '\0'; + + if (*files) { + for (p = files; *p; ++p) + if (strcmp(*p, q) == 0) + break; + if (!*p) + continue; + } + if (!first) { working = (struct conf_entry *) malloc(sizeof(struct conf_entry)); first = working; @@ -281,12 +296,6 @@ working->next = (struct conf_entry *) malloc(sizeof(struct conf_entry)); working = working->next; } - - q = parse = missing_field(sob(line), errline); - parse = son(line); - if (!*parse) - errx(1, "malformed line (missing fields):\n%s", errline); - *parse = '\0'; working->log = strdup(q); q = parse = missing_field(sob(++parse), errline); --=-=-=-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 12: 2: 6 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from cichlids.com (p3E9D38E4.dip0.t-ipconnect.de [62.157.56.228]) by hub.freebsd.org (Postfix) with ESMTP id A840337BB97; Mon, 8 May 2000 12:01:55 -0700 (PDT) (envelope-from alex@cichlids.com) Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by cichlids.com (Postfix) with ESMTP id 65D7AAC2D; Mon, 8 May 2000 21:06:47 +0200 (CEST) Received: (from alex@localhost) by cichlids.cichlids.com (8.9.3/8.9.3) id VAA02158; Mon, 8 May 2000 21:01:53 +0200 (CEST) (envelope-from alex) Date: Mon, 8 May 2000 21:01:53 +0200 From: Alexander Langer To: Sheldon Hearn Cc: "Chris D. Faulhaber" , hackers@freebsd.org, doc@freebsd.org Subject: Re: controlled panic - kernel-module Message-ID: <20000508210153.B494@cichlids.cichlids.com> References: <20000507161739.A585@cichlids.cichlids.com> <61119.957793511@axl.ops.uunet.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <61119.957793511@axl.ops.uunet.co.za>; from sheldonh@uunet.co.za on Mon, May 08, 2000 at 03:45:11PM +0200 X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thus spake Sheldon Hearn (sheldonh@uunet.co.za): > Only if someone sent in a patch. *nudge* It's on my TODO list now :-) Alex -- I need a new ~/.sig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 12:11:18 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from bofh.netcraft.com (bofh.netcraft.com [195.188.192.47]) by hub.freebsd.org (Postfix) with ESMTP id 24CCD37B513 for ; Mon, 8 May 2000 12:11:15 -0700 (PDT) (envelope-from sketchy@bofh.netcraft.com) Received: (from sketchy@localhost) by bofh.netcraft.com (8.9.3/8.9.3) id UAA45315 for freebsd-hackers@freebsd.org; Mon, 8 May 2000 20:11:12 +0100 (BST) (envelope-from sketchy) Date: Mon, 8 May 2000 20:11:12 +0100 From: Jonathan Perkin To: freebsd-hackers@freebsd.org Subject: Boot panics Message-ID: <20000508201112.B33357@netcraft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hey guys, got a strange one for you :) Running 4.0-STABLE on a P2-450 Asus P2B-D 512Mb with Cheetah ST39102LW's connected via U2W Adaptec 7890 PCI. Connected up a single drive to ID-0 and installed 4-R, afterwhich cvsup'd to -stable (as of 18:00 GMT today). Had no problems, happily rebooted new kernel etc. Then shutdown machine and added a second HD at ID-1. Booted machine, boot0 recognised new HD properly, and booted from ID-0. boot2 then failed to find /kernel, so I shutdown and removed ID-1 HD. Switching on machine with only the original HD connected, boot0 came up fine, but then promptly rebooted the machine. Odd I thought, so I let it reboot, and this time after boot0 I got: BTX loader 1.00 BTX version is 1.01 int=0000000d err=00000000 efl=00010207 eip=00000000 eax=ffffffff ebx=0001f288 ecx=00000000 edx=00000000 esi=00000000 edi=00000000 ebp=00094fd8 esp=00094fa8 cs=002b ds=0033 es=0033 fs=0033 gs=0033 ss=0033 cs:eip=a3 d8 75 02 00 89 e0 05-a0 0f 00 00 a3 dc 75 02 ss:esp=00 00 00 00 89 1a 00 00-02 00 e0 ab 44 0a 02 00 System halted So now whenever I boot, I either get that message (or similar), a "Boot error" message, a "Read error" message, or an instant reboot. Hope some of this helps. If you need any more info, just holler. Cheers -- Jonathan Perkin Voice: +44 (01225) 404422 "Unix is simple, but it takes a genius to understand the simplicity." System Administrator - Netcraft. Bath, UK. - http://www.netcraft.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 12:38:44 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by hub.freebsd.org (Postfix) with ESMTP id 9E32737BBF9; Mon, 8 May 2000 12:38:24 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from archie@localhost) by bubba.whistle.com (8.9.3/8.9.2) id MAA03269; Mon, 8 May 2000 12:38:23 -0700 (PDT) From: Archie Cobbs Message-Id: <200005081938.MAA03269@bubba.whistle.com> Subject: panic reading routing socket To: freebsd-net@freebsd.org Date: Mon, 8 May 2000 12:38:23 -0700 (PDT) Cc: freebsd-hackers@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-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The patch below adds some INVARIANTS consistency checks to socket receive operations. This was motivated by a recurring "receive 1" panic that happens every couple of weeks on a 3.4-RELEASE based system. When I use this patch I get an immediate panic as the system comes up, when routed tries to read the routing socket (line 724 of uipc_socket.c (3.4-REL post patch)). But I can't figure out if the panic is occurring because the patch is bogus (i.e., checking too stringently) or if there really is a bug in there somewhere. Any thoughts appreciated.. Thanks, -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com diff -ur /usr/src/sys/kern/uipc_socket.c ./uipc_socket.c --- /usr/src/sys/kern/uipc_socket.c Sun Aug 29 09:26:11 1999 +++ ./uipc_socket.c Mon May 8 11:44:21 2000 @@ -55,6 +55,21 @@ #include +#ifdef INVARIANTS +#define SPLNETCHECK() do { \ + int s1, s2; \ + s1 = splnet(); \ + s2 = splnet(); \ + if (s1 != s2) \ + panic("%s: !splnet", __FUNCTION__); \ + splx(s1); \ + } while (0) +#define SBCHECK(sb) sbcheck(sb) +#else +#define SPLNETCHECK() do { } while (0) +#define SBCHECK(so) do { } while (0) +#endif + struct vm_zone *socket_zone; so_gen_t so_gencnt; /* generation count for sockets */ @@ -629,6 +644,7 @@ if (error) return (error); s = splnet(); + SBCHECK(&so->so_rcv); m = so->so_rcv.sb_mb; /* @@ -678,6 +694,7 @@ error = EWOULDBLOCK; goto release; } + SBCHECK(&so->so_rcv); sbunlock(&so->so_rcv); error = sbwait(&so->so_rcv); splx(s); @@ -686,6 +703,7 @@ goto restart; } dontblock: + SBCHECK(&so->so_rcv); if (uio->uio_procp) uio->uio_procp->p_stats->p_ru.ru_msgrcv++; nextrecord = m->m_nextpkt; @@ -695,6 +713,7 @@ if (psa) *psa = dup_sockaddr(mtod(m, struct sockaddr *), mp0 == 0); + SBCHECK(&so->so_rcv); if (flags & MSG_PEEK) { m = m->m_next; } else { @@ -702,8 +721,10 @@ MFREE(m, so->so_rcv.sb_mb); m = so->so_rcv.sb_mb; } + SBCHECK(&so->so_rcv); } while (m && m->m_type == MT_CONTROL && error == 0) { + SBCHECK(&so->so_rcv); if (flags & MSG_PEEK) { if (controlp) *controlp = m_copy(m, 0, m->m_len); @@ -724,6 +745,7 @@ m = so->so_rcv.sb_mb; } } + SBCHECK(&so->so_rcv); if (controlp) { orig_resid = 0; controlp = &(*controlp)->m_next; @@ -736,6 +758,7 @@ if (type == MT_OOBDATA) flags |= MSG_OOB; } + SBCHECK(&so->so_rcv); moff = 0; offset = 0; while (m && uio->uio_resid > 0 && error == 0) { @@ -762,13 +785,16 @@ * block interrupts again. */ if (mp == 0) { + SBCHECK(&so->so_rcv); splx(s); error = uiomove(mtod(m, caddr_t) + moff, (int)len, uio); s = splnet(); + SBCHECK(&so->so_rcv); if (error) goto release; } else uio->uio_resid -= len; + SBCHECK(&so->so_rcv); if (len == m->m_len - moff) { if (m->m_flags & M_EOR) flags |= MSG_EOR; @@ -801,6 +827,7 @@ so->so_rcv.sb_cc -= len; } } + SBCHECK(&so->so_rcv); if (so->so_oobmark) { if ((flags & MSG_PEEK) == 0) { so->so_oobmark -= len; @@ -814,6 +841,7 @@ break; } } + SBCHECK(&so->so_rcv); if (flags & MSG_EOR) break; /* @@ -837,19 +865,23 @@ if (m) nextrecord = m->m_nextpkt; } + SBCHECK(&so->so_rcv); } + SBCHECK(&so->so_rcv); if (m && pr->pr_flags & PR_ATOMIC) { flags |= MSG_TRUNC; if ((flags & MSG_PEEK) == 0) (void) sbdroprecord(&so->so_rcv); } + SBCHECK(&so->so_rcv); if ((flags & MSG_PEEK) == 0) { if (m == 0) so->so_rcv.sb_mb = nextrecord; if (pr->pr_flags & PR_WANTRCVD && so->so_pcb) (*pr->pr_usrreqs->pru_rcvd)(so, flags); } + SBCHECK(&so->so_rcv); if (orig_resid == uio->uio_resid && orig_resid && (flags & MSG_EOR) == 0 && (so->so_state & SS_CANTRCVMORE) == 0) { sbunlock(&so->so_rcv); @@ -860,6 +892,7 @@ if (flagsp) *flagsp |= flags; release: + SBCHECK(&so->so_rcv); sbunlock(&so->so_rcv); splx(s); return (error); diff -ur /usr/src/sys/kern/uipc_socket2.c ./uipc_socket2.c --- /usr/src/sys/kern/uipc_socket2.c Fri Oct 1 10:08:50 1999 +++ ./uipc_socket2.c Mon May 8 11:45:43 2000 @@ -48,6 +48,21 @@ #include #include +#ifdef INVARIANTS +#define SPLNETCHECK() do { \ + int s1, s2; \ + s1 = splnet(); \ + s2 = splnet(); \ + if (s1 != s2) \ + panic("%s: !splnet", __FUNCTION__); \ + splx(s1); \ + } while (0) +#define SBCHECK(sb) sbcheck(sb) +#else +#define SPLNETCHECK() do { } while (0) +#define SBCHECK(so) do { } while (0) +#endif + /* * Primitive routines for operating on sockets and socket buffers */ @@ -301,6 +316,7 @@ return (error); } sb->sb_flags |= SB_LOCK; + SBCHECK(sb); return (0); } @@ -450,6 +466,7 @@ { register struct mbuf *n; + SPLNETCHECK(); if (m == 0) return; n = sb->sb_mb; @@ -466,7 +483,7 @@ sbcompress(sb, m, n); } -#ifdef SOCKBUF_DEBUG +#ifdef INVARIANT_SUPPORT void sbcheck(sb) register struct sockbuf *sb; @@ -475,6 +492,7 @@ register struct mbuf *n = 0; register u_long len = 0, mbcnt = 0; + SPLNETCHECK(); for (m = sb->sb_mb; m; m = n) { n = m->m_nextpkt; for (; m; m = m->m_next) { @@ -490,7 +508,7 @@ panic("sbcheck"); } } -#endif +#endif /* INVARIANT_SUPPORT */ /* * As above, except the mbuf chain @@ -503,6 +521,7 @@ { register struct mbuf *m; + SPLNETCHECK(); if (m0 == 0) return; m = sb->sb_mb; @@ -540,6 +559,7 @@ register struct mbuf *m; register struct mbuf **mp; + SPLNETCHECK(); if (m0 == 0) return; for (mp = &sb->sb_mb; *mp ; mp = &((*mp)->m_nextpkt)) { @@ -588,8 +608,8 @@ register struct mbuf *m, *n; int space = asa->sa_len; -if (m0 && (m0->m_flags & M_PKTHDR) == 0) -panic("sbappendaddr"); + KASSERT(!m0 || (m0->m_flags & M_PKTHDR) != 0, ("sbappendaddr")); + SBCHECK(sb); if (m0) space += m0->m_pkthdr.len; for (n = control; n; n = n->m_next) { @@ -620,6 +640,7 @@ n->m_nextpkt = m; } else sb->sb_mb = m; + SBCHECK(sb); return (1); } @@ -631,6 +652,7 @@ register struct mbuf *m, *n; int space = 0; + SBCHECK(sb); if (control == 0) panic("sbappendcontrol"); for (m = control; ; m = m->m_next) { @@ -653,6 +675,7 @@ n->m_nextpkt = control; } else sb->sb_mb = control; + SBCHECK(sb); return (1); } @@ -669,6 +692,7 @@ register int eor = 0; register struct mbuf *o; + SBCHECK(sb); while (m) { eor |= m->m_flags & M_EOR; if (m->m_len == 0 && @@ -704,6 +728,7 @@ else printf("semi-panic: sbcompress\n"); } + SBCHECK(sb); } /* @@ -741,6 +766,7 @@ register struct mbuf *m, *mn; struct mbuf *next; + SBCHECK(sb); next = (m = sb->sb_mb) ? m->m_nextpkt : 0; while (len > 0) { if (m == 0) { @@ -771,6 +797,7 @@ m->m_nextpkt = next; } else sb->sb_mb = next; + SBCHECK(sb); } /* @@ -783,6 +810,7 @@ { register struct mbuf *m, *mn; + SBCHECK(sb); m = sb->sb_mb; if (m) { sb->sb_mb = m->m_nextpkt; @@ -792,6 +820,7 @@ m = mn; } while (m); } + SBCHECK(sb); } /* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 12:52:15 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by hub.freebsd.org (Postfix) with ESMTP id 786A037C0BB; Mon, 8 May 2000 12:52:08 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from archie@localhost) by bubba.whistle.com (8.9.3/8.9.2) id MAA03384; Mon, 8 May 2000 12:51:49 -0700 (PDT) From: Archie Cobbs Message-Id: <200005081951.MAA03384@bubba.whistle.com> Subject: Re: controlled panic - kernel-module In-Reply-To: <20000507161739.A585@cichlids.cichlids.com> from Alexander Langer at "May 7, 2000 04:17:39 pm" To: alex@big.endian.de (Alexander Langer) Date: Mon, 8 May 2000 12:51:49 -0700 (PDT) Cc: jedgar@fxp.org (Chris D. Faulhaber), hackers@FreeBSD.ORG, doc@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-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alexander Langer writes: > > As opposed to pressing ctrl-alt-esc to get into DDB, then typing 'panic'? Or "sysctl -w debug.enter_debugger=ddb" and then typing 'panic' :-) -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 13: 2:15 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from cichlids.com (p3E9D38E4.dip0.t-ipconnect.de [62.157.56.228]) by hub.freebsd.org (Postfix) with ESMTP id 29A1937BB05; Mon, 8 May 2000 13:02:00 -0700 (PDT) (envelope-from alex@cichlids.com) Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by cichlids.com (Postfix) with ESMTP id 360CDAC2E; Mon, 8 May 2000 22:06:47 +0200 (CEST) Received: (from alex@localhost) by cichlids.cichlids.com (8.9.3/8.9.3) id WAA03527; Mon, 8 May 2000 22:01:53 +0200 (CEST) (envelope-from alex) Date: Mon, 8 May 2000 22:01:53 +0200 From: Alexander Langer To: Archie Cobbs Cc: "Chris D. Faulhaber" , hackers@FreeBSD.ORG, doc@FreeBSD.ORG Subject: Re: controlled panic - kernel-module Message-ID: <20000508220153.A3479@cichlids.cichlids.com> References: <20000507161739.A585@cichlids.cichlids.com> <200005081951.MAA03384@bubba.whistle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200005081951.MAA03384@bubba.whistle.com>; from archie@whistle.com on Mon, May 08, 2000 at 12:51:49PM -0700 X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thus spake Archie Cobbs (archie@whistle.com): > > > As opposed to pressing ctrl-alt-esc to get into DDB, then typing 'panic'? > Or "sysctl -w debug.enter_debugger=ddb" and then typing 'panic' :-) Is that already implemented? At least not on my kernel :-) Alex -- I need a new ~/.sig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 13: 9:23 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from pawn.primelocation.net (pawn.primelocation.net [205.161.238.235]) by hub.freebsd.org (Postfix) with ESMTP id C12BB37BBFD; Mon, 8 May 2000 13:09:16 -0700 (PDT) (envelope-from jedgar@fxp.org) Received: by pawn.primelocation.net (Postfix, from userid 1003) id C6CC59B1D; Mon, 8 May 2000 16:09:14 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by pawn.primelocation.net (Postfix) with ESMTP id B9896BA0F; Mon, 8 May 2000 16:09:14 -0400 (EDT) Date: Mon, 8 May 2000 16:09:14 -0400 (EDT) From: "Chris D. Faulhaber" X-Sender: jedgar@pawn.primelocation.net To: Alexander Langer Cc: Archie Cobbs , hackers@FreeBSD.ORG, doc@FreeBSD.ORG Subject: Re: controlled panic - kernel-module In-Reply-To: <20000508220153.A3479@cichlids.cichlids.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 8 May 2000, Alexander Langer wrote: > Thus spake Archie Cobbs (archie@whistle.com): > > > > > As opposed to pressing ctrl-alt-esc to get into DDB, then typing 'panic'? > > Or "sysctl -w debug.enter_debugger=ddb" and then typing 'panic' :-) > > Is that already implemented? > At least not on my kernel :-) > Well, it requires 4.x or 5.x, and DDB in the kernel... ----- Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org -------------------------------------------------------- FreeBSD: The Power To Serve - http://www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 13:31:54 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 9D3ED37B822 for ; Mon, 8 May 2000 13:31:46 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id OAA45537; Mon, 8 May 2000 14:31:42 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id OAA79569; Mon, 8 May 2000 14:31:27 -0600 (MDT) Message-Id: <200005082031.OAA79569@harmony.village.org> To: Duncan Barclay Subject: Re: Getting an aligned IO port Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Mon, 08 May 2000 18:31:32 BST." References: Date: Mon, 08 May 2000 14:31:27 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Duncan Barclay writes: : How can get a 16byte aligned ISA IO port from the resource allocator? I need : this to get if_xe working for Realport cards. : : This aspect of the driver is nothing to do with Warner's changes to PCCard. I'm going to have to commit the byte alignment stuff that was posted a while ago committed. Until then, you request 16 bytes from the system for the ioports. Since this is pccard, you'll likely want to map it in the 0x100 - 0x3ff range: start = 0x100; end = 0x3ff; rid = 1; /* 0 is managed by pccardd */ do { res = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, start, end, 16, RF_ACTIVE); if (res == 0) break; /* we failed */ if ((rman_get_start(res) & 0xf) == 0) break; /* good */ start = (rman_get_start(res) + 15) & ~0xf; } while (1); Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 13:33:35 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from server.baldwin.cx (jobaldwi.campus.vt.edu [198.82.67.146]) by hub.freebsd.org (Postfix) with ESMTP id 91BBE37B72D for ; Mon, 8 May 2000 13:33:21 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from john.baldwin.cx (john [10.0.0.2]) by server.baldwin.cx (8.9.3/8.9.3) with ESMTP id QAA03631; Mon, 8 May 2000 16:33:13 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-Id: <200005082033.QAA03631@server.baldwin.cx> X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20000508201112.B33357@netcraft.com> Date: Mon, 08 May 2000 16:33:13 -0400 (EDT) From: John Baldwin To: Jonathan Perkin Subject: RE: Boot panics Cc: freebsd-hackers@FreeBSD.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 08-May-00 Jonathan Perkin wrote: > Hey guys, got a strange one for you :) Well... you haven't overclocked or anything have you? > Running 4.0-STABLE on a P2-450 Asus P2B-D 512Mb with Cheetah ST39102LW's > connected via U2W Adaptec 7890 PCI. > > Connected up a single drive to ID-0 and installed 4-R, afterwhich cvsup'd to > -stable (as of 18:00 GMT today). Had no problems, happily rebooted new kernel > etc. > > Then shutdown machine and added a second HD at ID-1. Booted machine, boot0 > recognised new HD properly, and booted from ID-0. boot2 then failed to find > /kernel, so I shutdown and removed ID-1 HD. > > Switching on machine with only the original HD connected, boot0 came up fine, > but then promptly rebooted the machine. Odd I thought, so I let it reboot, > and this time after boot0 I got: > > BTX loader 1.00 BTX version is 1.01 > > int=0000000d err=00000000 efl=00010207 eip=00000000 > eax=ffffffff ebx=0001f288 ecx=00000000 edx=00000000 > esi=00000000 edi=00000000 ebp=00094fd8 esp=00094fa8 > cs=002b ds=0033 es=0033 fs=0033 gs=0033 ss=0033 > cs:eip=a3 d8 75 02 00 89 e0 05-a0 0f 00 00 a3 dc 75 02 > ss:esp=00 00 00 00 89 1a 00 00-02 00 e0 ab 44 0a 02 00 > System halted Ok, this ends up being: 00000000 A3D8750200 mov [0x275d8],eax 00000005 89E0 mov eax,esp 00000007 05600F0000 add eax,0xf60 0000000C A3DC750202 mov [0x20275dc],eax Well... since err=000, %ds is valid, and it's a mov instruction, it seems that the GPF (int=0d) could only be caused by exceeding the segment limit on %ds. However, the segment limit on selector 0x0030 is 4 gig, or all addressable memory, and the memory address 0x275d8 is well within that range. My guess is that you have some bad hardware, be it CPU, memory, or disk that results in the global descriptor table being corrupted when this instruction is executed. Your reports of other seemingly random failures during bootup also points to hardware. When you get a BTX fault like this, is it always the same exact fault, or does it vary? Errr, then again... %eip=00 is bad, as that might point to some stack corruption. However, the actual fault doesn't make any sense. Try playing around with the hardware some, swapping stuff in and out, etc. > So now whenever I boot, I either get that message (or similar), a "Boot error" > message, a "Read error" message, or an instant reboot. > > Hope some of this helps. If you need any more info, just holler. > > Cheers > -- > Jonathan Perkin Voice: +44 (01225) 404422 > "Unix is simple, but it takes a genius to understand the simplicity." > System Administrator - Netcraft. Bath, UK. - http://www.netcraft.com/ -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 13:47:51 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from anchor-post-31.mail.demon.net (anchor-post-31.mail.demon.net [194.217.242.89]) by hub.freebsd.org (Postfix) with ESMTP id B5B5237BC34 for ; Mon, 8 May 2000 13:47:46 -0700 (PDT) (envelope-from dmlb@ragnet.demon.co.uk) Received: from ragnet.demon.co.uk ([158.152.46.40]) by anchor-post-31.mail.demon.net with esmtp (Exim 2.12 #1) id 12ouRM-000KzW-0V for freebsd-hackers@freebsd.org; Mon, 8 May 2000 21:47:44 +0100 Received: from dmlb by ragnet.demon.co.uk with local (Exim 3.03 #1) id 12ouRG-000MFm-00; Mon, 08 May 2000 21:47:38 +0100 Content-Length: 578 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 08 May 2000 21:47:38 +0100 (BST) From: Duncan Barclay To: Duncan Barclay Subject: RE: Getting an aligned IO port Cc: freebsd-hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 08-May-00 Duncan Barclay wrote: > Hi > > How can get a 16byte aligned ISA IO port from the resource allocator? I need > this to get if_xe working for Realport cards. It's okay I've worked it out and got RealPorts (well mine) working in -current again. Patches mailed to -mobile. Duncan --- ________________________________________________________________________ Duncan Barclay | God smiles upon the little children, dmlb@ragnet.demon.co.uk | the alcoholics, and the permanently stoned. ________________________________________________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 13:54: 3 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from anchor-post-34.mail.demon.net (anchor-post-34.mail.demon.net [194.217.242.92]) by hub.freebsd.org (Postfix) with ESMTP id 3BDC237BC8C for ; Mon, 8 May 2000 13:53:58 -0700 (PDT) (envelope-from dmlb@ragnet.demon.co.uk) Received: from ragnet.demon.co.uk ([158.152.46.40]) by anchor-post-34.mail.demon.net with esmtp (Exim 2.12 #1) id 12ouXG-000LK5-0Y; Mon, 8 May 2000 21:53:50 +0100 Received: from dmlb by ragnet.demon.co.uk with local (Exim 3.03 #1) id 12ouXE-000MKg-00; Mon, 08 May 2000 21:53:48 +0100 Content-Length: 902 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200005082031.OAA79569@harmony.village.org> Date: Mon, 08 May 2000 21:53:48 +0100 (BST) From: Duncan Barclay To: Warner Losh Subject: Re: Getting an aligned IO port Cc: freebsd-hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 08-May-00 Warner Losh wrote: > In message Duncan Barclay > writes: >: How can get a 16byte aligned ISA IO port from the resource allocator? I need >: this to get if_xe working for Realport cards. >: >: This aspect of the driver is nothing to do with Warner's changes to PCCard. > > I'm going to have to commit the byte alignment stuff that was posted a > while ago committed. Thanks - I've just worked a less elegant way out. It works but yours is better. Another patch in a moment! So does re-allocating a resource clear the allocation for the old range? Duncan --- ________________________________________________________________________ Duncan Barclay | God smiles upon the little children, dmlb@ragnet.demon.co.uk | the alcoholics, and the permanently stoned. ________________________________________________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 13:57:11 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 233AB37B74F for ; Mon, 8 May 2000 13:57:07 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id OAA45649; Mon, 8 May 2000 14:57:04 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id OAA79848; Mon, 8 May 2000 14:56:49 -0600 (MDT) Message-Id: <200005082056.OAA79848@harmony.village.org> To: Duncan Barclay Subject: Re: Getting an aligned IO port Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Mon, 08 May 2000 21:53:48 BST." References: Date: Mon, 08 May 2000 14:56:49 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Duncan Barclay writes: : : On 08-May-00 Warner Losh wrote: : > In message Duncan Barclay : > writes: : >: How can get a 16byte aligned ISA IO port from the resource allocator? I need : >: this to get if_xe working for Realport cards. : >: : >: This aspect of the driver is nothing to do with Warner's changes to PCCard. : > : > I'm going to have to commit the byte alignment stuff that was posted a : > while ago committed. : : Thanks - I've just worked a less elegant way out. It works : but yours is better. Another patch in a moment! : : So does re-allocating a resource clear the allocation for the old range? No. It results in a panic. The resource range that pccardd is passing down to the realport cards is for the modem and you should allocate a second range for the xe side of the realport card. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 13:58:24 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 8996E37BC5D for ; Mon, 8 May 2000 13:58:18 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id OAA45657; Mon, 8 May 2000 14:58:17 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id OAA79868; Mon, 8 May 2000 14:58:02 -0600 (MDT) Message-Id: <200005082058.OAA79868@harmony.village.org> To: Duncan Barclay Subject: Re: Getting an aligned IO port Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Mon, 08 May 2000 21:53:48 BST." References: Date: Mon, 08 May 2000 14:58:01 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Duncan Barclay writes: : So does re-allocating a resource clear the allocation for the old range? Which also means that in the res != NULL case the code I posted was bogus. You have to do a bus_release_resource(dev, res); on it. Now, where did I put the patches for resource allocation alignment restrictions. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 14: 2:47 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from web111.yahoomail.com (web111.yahoomail.com [205.180.60.81]) by hub.freebsd.org (Postfix) with SMTP id 566E237BB34 for ; Mon, 8 May 2000 14:02:42 -0700 (PDT) (envelope-from dyeske@yahoo.com) Received: (qmail 29703 invoked by uid 60001); 8 May 2000 21:02:41 -0000 Message-ID: <20000508210241.29702.qmail@web111.yahoomail.com> Received: from [192.172.226.145] by web111.yahoomail.com; Mon, 08 May 2000 14:02:41 PDT Date: Mon, 8 May 2000 14:02:41 -0700 (PDT) From: David Yeske Subject: GSM and the qualcomm QCP-2760 To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am getting a cell phone in a couple of days. I want to get a nice one that can do *DMA and gsm. I was looking at the qualcomm qcp-2760. I was wondering if anyone has one and if they have been able to use it with freebsd? Regards, David Yeske __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 15:31:18 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.inka.de (quechua.inka.de [212.227.14.2]) by hub.freebsd.org (Postfix) with ESMTP id 3642E37BDBB for ; Mon, 8 May 2000 15:31:11 -0700 (PDT) (envelope-from daemon@mips.inka.de) Received: from bigeye.rhein-neckar.de (uucp@) by mail.inka.de with local-bsmtp id 12ow3M-0003NB-02; Tue, 9 May 2000 00:31:04 +0200 Received: (from daemon@localhost) by bigeye.rhein-neckar.de (8.9.3/8.9.3) id WAA56745 for freebsd-hackers@freebsd.org; Mon, 8 May 2000 22:28:44 +0200 (CEST) (envelope-from daemon) From: naddy@mips.inka.de (Christian Weisgerber) Subject: Re: bin/18312: FreeBSD System Recovery -- mt not statically linked Date: 8 May 2000 22:28:43 +0200 Message-ID: <8f781r$1nd1$1@bigeye.rhein-neckar.de> References: <200005051816.LAA80655@apollo.backplane.com> To: freebsd-hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matthew Dillon wrote: > There's not much point statically linking mt if it's sitting in > /usr/bin. On the face of it it does seem a good candidate to move > to /bin. As I suggested in PR #11205. -- Christian "naddy" Weisgerber naddy@mips.inka.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 15:31:19 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.inka.de (quechua.inka.de [212.227.14.2]) by hub.freebsd.org (Postfix) with ESMTP id 32F5237BD6F for ; Mon, 8 May 2000 15:31:11 -0700 (PDT) (envelope-from daemon@mips.inka.de) Received: from bigeye.rhein-neckar.de (uucp@) by mail.inka.de with local-bsmtp id 12ow3M-0003NB-03; Tue, 9 May 2000 00:31:04 +0200 Received: (from daemon@localhost) by bigeye.rhein-neckar.de (8.9.3/8.9.3) id XAA61991 for freebsd-hackers@freebsd.org; Mon, 8 May 2000 23:43:05 +0200 (CEST) (envelope-from daemon) From: naddy@mips.inka.de (Christian Weisgerber) Subject: Re: bin/18312: FreeBSD System Recovery -- mt not statically linked Date: 8 May 2000 23:43:04 +0200 Message-ID: <8f7cd8$1sgv$1@bigeye.rhein-neckar.de> References: <200005051816.LAA80655@apollo.backplane.com> <61326.957793693@axl.ops.uunet.co.za> To: freebsd-hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sheldon Hearn wrote: > Given that having things move around in the base system carries with it > varying degrees of pain, can you guys just explain why this is actually > necessary? Your tape drive has a quirk but no entry yet in the kernel quirk table, (or you simply use non-default settings for your backups for some good reason), and you need to manually set the block size, density, or some such before you can read back your backup. (Is the EOT model an issue for reading, too?) > Didn't someone point out a way to use restore in the absence > of mt? You can use restore's "-s" flag to position to a particular file. -- Christian "naddy" Weisgerber naddy@mips.inka.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 16:27:17 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id E81C537B922 for ; Mon, 8 May 2000 16:27:12 -0700 (PDT) (envelope-from mjacob@feral.com) Received: from beppo.feral.com (beppo [192.67.166.79]) by feral.com (8.9.3/8.9.3) with ESMTP id QAA26842; Mon, 8 May 2000 16:26:00 -0700 Date: Mon, 8 May 2000 16:27:09 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: Christian Weisgerber Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: bin/18312: FreeBSD System Recovery -- mt not statically linked In-Reply-To: <8f7cd8$1sgv$1@bigeye.rhein-neckar.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 8 May 2000, Christian Weisgerber wrote: > Sheldon Hearn wrote: > > > Given that having things move around in the base system carries with it > > varying degrees of pain, can you guys just explain why this is actually > > necessary? > > Your tape drive has a quirk but no entry yet in the kernel quirk > table, (or you simply use non-default settings for your backups > for some good reason), and you need to manually set the block size, > density, or some such before you can read back your backup. > > (Is the EOT model an issue for reading, too?) No. > > > Didn't someone point out a way to use restore in the absence > > of mt? > > You can use restore's "-s" flag to position to a particular file. > > -- > Christian "naddy" Weisgerber naddy@mips.inka.de > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 16:30:29 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id CC17237B6AB for ; Mon, 8 May 2000 16:30:25 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id RAA46266; Mon, 8 May 2000 17:30:22 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id RAA81086; Mon, 8 May 2000 17:30:07 -0600 (MDT) Message-Id: <200005082330.RAA81086@harmony.village.org> To: Duncan Barclay Subject: Re: Getting an aligned IO port Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Mon, 08 May 2000 21:47:38 BST." References: Date: Mon, 08 May 2000 17:30:07 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Duncan Barclay writes: : It's okay I've worked it out and got RealPorts (well mine) working in -current : again. : : Patches mailed to -mobile. Cool. I'll commit them soon. Any chance these will work with the 33.6 version of the card? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 16:57:17 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from obie.softweyr.com (obie.softweyr.com [204.68.178.33]) by hub.freebsd.org (Postfix) with ESMTP id 8E1EA37B8FA for ; Mon, 8 May 2000 16:57:07 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from softweyr.com (Foolstrustidentd@obie.softweyr.com [204.68.178.33]) by obie.softweyr.com (8.8.8/8.8.8) with ESMTP id RAA19223; Mon, 8 May 2000 17:56:57 -0600 (MDT) (envelope-from wes@softweyr.com) Message-ID: <391754A2.514E5616@softweyr.com> Date: Mon, 08 May 2000 17:58:26 -0600 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Matthew Dillon Cc: hackers@FreeBSD.ORG Subject: Re: GPS SA/no-SA graph References: <200005081530.IAA18868@apollo.backplane.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matthew Dillon wrote: > > I've put up a temporary web page showing a before and after snapshot > of the GPS readings taken on one of Emeryville's bus lines. > > http://www.backplane.com/nosa/ Mmm, that's impressively less fuzzy. I was out this weekend correcting the database of race course markers for the yacht club. It was a great excuse to go sailing all weekend long. ;^) -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 17:16:47 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from obie.softweyr.com (obie.softweyr.com [204.68.178.33]) by hub.freebsd.org (Postfix) with ESMTP id E7CED37B74F for ; Mon, 8 May 2000 17:16:39 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from softweyr.com (Foolstrustidentd@obie.softweyr.com [204.68.178.33]) by obie.softweyr.com (8.8.8/8.8.8) with ESMTP id SAA19279; Mon, 8 May 2000 18:16:33 -0600 (MDT) (envelope-from wes@softweyr.com) Message-ID: <39175939.5F6208C9@softweyr.com> Date: Mon, 08 May 2000 18:18:01 -0600 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Alex Stamos Cc: hackers@FreeBSD.ORG Subject: Re: [OT] Finding people with GSM phones (was Re: GPS heads up ) References: <200005061850.MAA18384@nomad.yogotech.com> <200005061907.MAA07403@mass.cdrom.com> <200005061939.NAA18540@nomad.yogotech.com> <391479C4.2784A121@cs.berkeley.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alex Stamos wrote: > > > > > > What's the actual background behind this? > > > > Being able to track 911 calls in the case of emergency. > > While some people may find this a convenient excuse for more Big Brother tactics, > I once spoke to a paramedic friend about 911 cell phone tracking after it was first > announced. She said that she couldn't overestimate the problems caused by people > giving bad directions or locations over cell phones. Apparently, its not uncommon > for a person, still dazed from an accident, to report their location as "Somewhere > on Interstate 80". -For those non-Americans, I-80 is a 3,000 mile freeway that > starts in San Francisco and ends in Boston.- Well, New York. It also includes some of the emptiest parts of the continental USA, mostly in Nevada and Utah. The problem is a lot worse in the empty places, where you have thousands of miles of unpaved roads that still manage to get some mobile phone coverage. The analog cell tower in Callao, Utah, for instance, covers a fixed population of about 100 people, and an area larger than the state of Rhode Island. > On another topic, I recently read an article on Ace's Hardware comparing the > performance of standard benchmarks, on a Alpha 21264 under Linux, compiled with the > GCC and Compaq's proprietary compiler. Compaq's C compiler kicked GCC's ass in > almost every metric. My questions: Is such a compiler available for *BSD? Why is > GCC so bad at Alpha optimization when it does so well on x86? Is somebody asleep > at the wheel here? Who said it's any good at X86 optimization? -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 17:24:29 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from obie.softweyr.com (obie.softweyr.com [204.68.178.33]) by hub.freebsd.org (Postfix) with ESMTP id 4B76937B50B for ; Mon, 8 May 2000 17:24:25 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from softweyr.com (Foolstrustidentd@obie.softweyr.com [204.68.178.33]) by obie.softweyr.com (8.8.8/8.8.8) with ESMTP id SAA19312; Mon, 8 May 2000 18:24:15 -0600 (MDT) (envelope-from wes@softweyr.com) Message-ID: <39175B09.A44771C1@softweyr.com> Date: Mon, 08 May 2000 18:25:45 -0600 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: dg@root.com Cc: Sam Leffler , freebsd-hackers@FreeBSD.ORG Subject: Re: "The Design and Implementation of the 4.4bsd Operating System" References: <200005080302.UAA17944@implode.root.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David Greenman wrote: > > >> > >> It's basically Kirk, me, and Sam Lefler. It won't be ready until Q1 > >2001. > >> > > > >Hey, if it's not "exactly" you, me, and Kirk then there's a problem :-) > > > > Sam > > > >PS. Leffler. > > I didn't know if Keith Bostic was still going to be the copy editor, and > thus one of the names on the cover. That's the list of people paid to write it, right? ;^) -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 18:38:24 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from hotmail.com (f215.law8.hotmail.com [216.33.241.215]) by hub.freebsd.org (Postfix) with SMTP id 6235F37BC82 for ; Mon, 8 May 2000 18:38:20 -0700 (PDT) (envelope-from jmd526@hotmail.com) Received: (qmail 56945 invoked by uid 0); 9 May 2000 01:38:19 -0000 Message-ID: <20000509013819.56944.qmail@hotmail.com> Received: from 209.220.228.2 by www.hotmail.com with HTTP; Mon, 08 May 2000 18:38:19 PDT X-Originating-IP: [209.220.228.2] From: "John Daniels" To: freebsd-isp@freebsd.org, freebsd-hackers@freebsd.org Subject: *BSD RULES! (especially if you *VOTE*) Date: Mon, 08 May 2000 21:38:19 EDT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi: If you have not seen my previous emails asking for your vote for a native port of Java on *BSD at Sun's Java Developers Connection (JDC), please vote now (JDC membership is free) at: * http://developer.java.sun.com/developer/bugParade/bugs/4288745.html If you would like more information, please see: * http://www.freebsd.org/java If have voted already, THANK YOU. Did you know that you have 3 votes? (unethical? Hey I don't make the rules) Now for some statistics: Since my first message about 3 weeks ago, nearly 400 votes have been recorded for the Java on FreeBSD Request for Enhancement (RFE), an increase of 13.4%! Our RFE now has 4 times as many votes as the #2 RFE, and as many votes as the next 8. The more votes that we can get, the more powerful is the *BSD message to Sun. FYI: IBM has announced an "early release" of JDK 1.3 on Linux. Several *BSD friendly folks have started requesting a port of the IBM JDK in the discussion forum at: * http://www.alphaworks.ibm.com/aw.nsf/discussion?ReadForm&/forum/linuxjdk.nsf/discussion?createdocument (Look for "FreeBSD support" in the Linux-JDK-1.3.0 discussion list.) This will be my last "get out the vote" message for a while, as I think that I have reached most people who care to vote. Lastly, I would like to thank the FreeBSD Java porting team once again for their outstanding efforts. I, myself, am not a part of the java porting team, just a user who would like to use a native port and support the *BSD platform. John PS Please forward this message to any person, list, or organization that may want to support this effort. ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 18:39:14 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from picnic.mat.net (picnic.mat.net [206.246.122.133]) by hub.freebsd.org (Postfix) with ESMTP id 7C17A37BA15; Mon, 8 May 2000 18:39:08 -0700 (PDT) (envelope-from chuckr@picnic.mat.net) Received: from localhost (chuckr@localhost [127.0.0.1]) by picnic.mat.net (8.9.3/8.9.3) with ESMTP id VAA03416; Mon, 8 May 2000 21:39:04 -0400 (EDT) (envelope-from chuckr@picnic.mat.net) Date: Mon, 8 May 2000 21:39:04 -0400 (EDT) From: Chuck Robey To: Warner Losh Cc: Nate Williams , Mike Smith , hackers@FreeBSD.ORG Subject: Re: [OT] Finding people with GSM phones (was Re: GPS heads up ) In-Reply-To: <200005081600.KAA77785@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 8 May 2000, Warner Losh wrote: > In message Chuck Robey writes: > : Curious about that, I haven't been following it too closely, but I know > : cdma works on codes, not timing ... how do they get timing (other than bit > : clock recovery)? > > cdma does work on timing. It effectively transmits all the data all > the time. Phones need to know when the start of frame is, which means > they need to know what time it is. They can get that from the last > start of frame, and the rate of start of frames they are seeing. cdma > and tdma are different in some ways, but they both have to know what > time it is to work. ?? I'm a little confused. Most of my direct experience with sequences comes from test equipment. I asked a friend with some recent experience in CDMA, about 2 weeks ago, and that lady told me that they were using the same PN sequences that I was right at home with, and only differentiated one code from another by the offset in the code that the message was synced to. The point being, at least for the PN sequences used in test equipment, syncing isn't done by timing, it's pretty trivially done by a shift register and feedback. Million bit long sequences are synced in 20 bits, no big deal. I'm sure many people on this list (certainly Rod) know this technique, and there isn't any timing factor involved. I'm not trying to tell you you're wrong, but I'm having trouble connecting the dots. Is my lady informant all wet? Or, am I misunderstanding you? > > Warner > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > ---------------------------------------------------------------------------- Chuck Robey | Interests include C & Java programming, FreeBSD, chuckr@picnic.mat.net | electronics, communications, and signal processing. New Year's Resolution: I will not sphroxify gullible people into looking up fictitious words in the dictionary. ---------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 18:44:34 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 6ED9F37BD9F; Mon, 8 May 2000 18:44:24 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id TAA46750; Mon, 8 May 2000 19:44:22 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id TAA81887; Mon, 8 May 2000 19:44:06 -0600 (MDT) Message-Id: <200005090144.TAA81887@harmony.village.org> To: Chuck Robey Subject: Re: [OT] Finding people with GSM phones (was Re: GPS heads up ) Cc: Nate Williams , Mike Smith , hackers@FreeBSD.ORG In-reply-to: Your message of "Mon, 08 May 2000 21:39:04 EDT." References: Date: Mon, 08 May 2000 19:44:06 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Chuck Robey writes: : I'm not trying to tell you you're wrong, but I'm having trouble connecting : the dots. Is my lady informant all wet? Or, am I misunderstanding you? The syncing isn't for the initial sync like you are talking about. It is to reject messages that get to the phone by multi-path. The phone knows what's valid and what isn't and to do that has to know what time it is. It isn't to start the sync either, because of the same multipath and atmospherics introducing variations in the propigation times. There are also some other uses for timing that I know I've forgotten over time. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 18:47: 8 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from corinth.bossig.com (mail.dohboys.com [208.26.253.10]) by hub.freebsd.org (Postfix) with ESMTP id B37B137B8FA for ; Mon, 8 May 2000 18:47:05 -0700 (PDT) (envelope-from kstewart@3-cities.com) Received: from 3-cities.com (unverified [208.26.242.135]) by corinth.bossig.com (Rockliffe SMTPRA 4.2.1) with ESMTP id ; Mon, 8 May 2000 18:51:50 -0700 Message-ID: <39176DFD.67BE983C@3-cities.com> Date: Mon, 08 May 2000 18:46:37 -0700 From: Kent Stewart Organization: Columbia Basin Virtual Community Project X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Wes Peters Cc: Alex Stamos , hackers@FreeBSD.ORG Subject: Re: [OT] Finding people with GSM phones (was Re: GPS heads up ) References: <200005061850.MAA18384@nomad.yogotech.com> <200005061907.MAA07403@mass.cdrom.com> <200005061939.NAA18540@nomad.yogotech.com> <391479C4.2784A121@cs.berkeley.edu> <39175939.5F6208C9@softweyr.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Wes Peters wrote: > > Alex Stamos wrote: > > > > > > > > > What's the actual background behind this? > > > > > > Being able to track 911 calls in the case of emergency. > > > > While some people may find this a convenient excuse for more Big Brother tactics, > > I once spoke to a paramedic friend about 911 cell phone tracking after it was first > > announced. She said that she couldn't overestimate the problems caused by people > > giving bad directions or locations over cell phones. Apparently, its not uncommon > > for a person, still dazed from an accident, to report their location as "Somewhere > > on Interstate 80". -For those non-Americans, I-80 is a 3,000 mile freeway that > > starts in San Francisco and ends in Boston.- > > Well, New York. It also includes some of the emptiest parts of the continental > USA, mostly in Nevada and Utah. > > The problem is a lot worse in the empty places, where you have thousands of miles > of unpaved roads that still manage to get some mobile phone coverage. The analog > cell tower in Callao, Utah, for instance, covers a fixed population of about 100 > people, and an area larger than the state of Rhode Island. > > > On another topic, I recently read an article on Ace's Hardware comparing the > > performance of standard benchmarks, on a Alpha 21264 under Linux, compiled with the > > GCC and Compaq's proprietary compiler. Compaq's C compiler kicked GCC's ass in > > almost every metric. My questions: Is such a compiler available for *BSD? Why is > > GCC so bad at Alpha optimization when it does so well on x86? Is somebody asleep > > at the wheel here? > > Who said it's any good at X86 optimization? I find setiathome, which was compiled with an Intel compiler on the Windows side, out calculates setiathome on the same computer 20-25% on the average when I boot FreeBSD 4.0 and run it there. Kent > > -- > "Where am I, and what am I doing in this handbasket?" > > Wes Peters Softweyr LLC > wes@softweyr.com http://softweyr.com/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- Kent Stewart Richland, WA mailto:kstewart@3-cities.com http://www.3-cities.com/~kstewart/index.html FreeBSD News http://daily.daemonnews.org/ SETI(Search for Extraterrestrial Intelligence) @ HOME http://setiathome.ssl.berkeley.edu/ Hunting Archibald Stewart, b 1802 in Ballymena, Antrim Co., NIR http://www.3-cities.com/~kstewart/genealogy/archibald_stewart.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 18:52: 0 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from picnic.mat.net (picnic.mat.net [206.246.122.133]) by hub.freebsd.org (Postfix) with ESMTP id 81AC837BAA5; Mon, 8 May 2000 18:51:56 -0700 (PDT) (envelope-from chuckr@picnic.mat.net) Received: from localhost (chuckr@localhost [127.0.0.1]) by picnic.mat.net (8.9.3/8.9.3) with ESMTP id VAA03483; Mon, 8 May 2000 21:52:01 -0400 (EDT) (envelope-from chuckr@picnic.mat.net) Date: Mon, 8 May 2000 21:52:01 -0400 (EDT) From: Chuck Robey To: Warner Losh Cc: Nate Williams , Mike Smith , hackers@FreeBSD.ORG Subject: Re: [OT] Finding people with GSM phones (was Re: GPS heads up ) In-Reply-To: <200005090144.TAA81887@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 8 May 2000, Warner Losh wrote: > In message Chuck Robey writes: > : I'm not trying to tell you you're wrong, but I'm having trouble connecting > : the dots. Is my lady informant all wet? Or, am I misunderstanding you? > > The syncing isn't for the initial sync like you are talking about. It > is to reject messages that get to the phone by multi-path. The phone > knows what's valid and what isn't and to do that has to know what time > it is. It isn't to start the sync either, because of the same > multipath and atmospherics introducing variations in the propigation > times. There are also some other uses for timing that I know I've > forgotten over time. Gotcha. Thanks! ---------------------------------------------------------------------------- Chuck Robey | Interests include C & Java programming, FreeBSD, chuckr@picnic.mat.net | electronics, communications, and signal processing. New Year's Resolution: I will not sphroxify gullible people into looking up fictitious words in the dictionary. ---------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 19: 8: 7 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp-out2.bellatlantic.net (smtp-out2.bellatlantic.net [199.45.39.157]) by hub.freebsd.org (Postfix) with ESMTP id 72B2537B632; Mon, 8 May 2000 19:08:02 -0700 (PDT) (envelope-from jan@smartsoft.cc) Received: from smartsoft.cc (client-209-158-92-140.bellatlantic.net [209.158.92.140]) by smtp-out2.bellatlantic.net (8.9.1/8.9.1) with ESMTP id WAA01451; Mon, 8 May 2000 22:07:52 -0400 (EDT) Message-ID: <391772AC.7C25800C@smartsoft.cc> Date: Mon, 08 May 2000 22:06:36 -0400 From: Jan Knepper Organization: Smartsoft, LLC X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: John Daniels Cc: freebsd-isp@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: *BSD RULES! (especially if you *VOTE*) References: <20000509013819.56944.qmail@hotmail.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Daniels wrote: > If you have not seen my previous emails asking for your vote for a > native port of Java on *BSD at Sun's Java Developers Connection > (JDC), please vote now (JDC membership is free) at: > > * http://developer.java.sun.com/developer/bugParade/bugs/4288745.html > > If you would like more information, please see: > > * http://www.freebsd.org/java Done! > If have voted already, THANK YOU. Did you know that you have 3 > votes? (unethical? Hey I don't make the rules) Yeah! But I am an ethical kind of guy... My better half (http://www.pianoprincess.com/) voted too though! Don't worry, be Kneppie! Jan -- =============================================================== Jan Knepper Smartsoft, LLC 88 Petersburg Road Petersburg, NJ 08270 U.S.A. Phone: 609-628-4260 FAX : 609-628-1267 http://www.smartsoft.cc/ --------------------------------------------------------------- http://www.pianoprincess.com/ http://www.mp3.com/pianoprincess http://www.riffage.com/Bands/0,2939,2859,00.html http://pianoprincess.iuma.com/ http://www.changemusic.com/piano_princess =============================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 20:12: 5 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from zippy.cdrom.com (zippy.cdrom.com [204.216.27.228]) by hub.freebsd.org (Postfix) with ESMTP id 57D7037BBF7 for ; Mon, 8 May 2000 20:12:02 -0700 (PDT) (envelope-from jkh@zippy.cdrom.com) Received: from localhost (jkh@localhost [127.0.0.1]) by zippy.cdrom.com (8.9.3/8.9.3) with ESMTP id UAA14623 for ; Mon, 8 May 2000 20:14:07 -0700 (PDT) (envelope-from jkh@zippy.cdrom.com) To: hackers@freebsd.org Subject: What do people think of maybe using the sourceforge software? Date: Mon, 08 May 2000 20:14:06 -0700 Message-ID: <14620.957842046@localhost> From: "Jordan K. Hubbard" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG http://sourceforge.net/project/filelist.php?group_id=1 Contains the software used by source forge to implement the project/help desk/download tracker thingie which they themselves use to manage the various projects registered with source forge. I think it's also reasonable to say that FreeBSD itself is a bit too large to register and run as a sourceforge project, but why not use the same software to offer a higher level of "polish" to the existing project infrastructure? Comments? I'm just playing with this stuff a bit myself right now and will say more once I actually know more about it. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 20:31:43 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mta2.rcsntx.swbell.net (mta2.rcsntx.swbell.net [151.164.30.26]) by hub.freebsd.org (Postfix) with ESMTP id 8500137B844 for ; Mon, 8 May 2000 20:31:41 -0700 (PDT) (envelope-from chris@holly.calldei.com) Received: from holly.calldei.com ([208.191.155.7]) by mta2.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0FU900A6QWDA70@mta2.rcsntx.swbell.net> for hackers@FreeBSD.ORG; Mon, 8 May 2000 22:29:34 -0500 (CDT) Received: (from chris@localhost) by holly.calldei.com (8.9.3/8.9.3) id WAA17050; Mon, 08 May 2000 22:29:53 -0500 (CDT envelope-from chris) Date: Mon, 08 May 2000 22:29:52 -0500 From: Chris Costello Subject: Re: What do people think of maybe using the sourceforge software? In-reply-to: <14620.957842046@localhost> To: "Jordan K. Hubbard" Cc: hackers@FreeBSD.ORG Reply-To: chris@calldei.com Message-id: <20000508222952.A16808@holly.calldei.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.4i References: <14620.957842046@localhost> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, May 08, 2000, Jordan K. Hubbard wrote: > I think it's also reasonable to say that FreeBSD itself is a bit too > large to register and run as a sourceforge project, but why not use > the same software to offer a higher level of "polish" to the existing > project infrastructure? Comments? I'm just playing with this stuff a > bit myself right now and will say more once I actually know more about > it. It's my opinion that there's no need for more "polish." Currently what we have, CVS and the CVSWeb HTTP front-end, seem perfectly adequate to me. -- |Chris Costello |State-of-the-art: What we could do with enough money. `----------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 20:33:32 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (Postfix) with ESMTP id 652E537BA72 for ; Mon, 8 May 2000 20:33:28 -0700 (PDT) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (doconnor@cain [203.38.152.97]) by cain.gsoft.com.au (8.8.8/8.8.8) with ESMTP id DAA29201; Tue, 9 May 2000 03:33:20 GMT (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <14620.957842046@localhost> Date: Tue, 09 May 2000 13:03:20 +0930 (CST) From: "Daniel O'Connor" To: "Jordan K. Hubbard" Subject: RE: What do people think of maybe using the sourceforge software Cc: hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 09-May-00 Jordan K. Hubbard wrote: > I think it's also reasonable to say that FreeBSD itself is a bit too > large to register and run as a sourceforge project, but why not use > the same software to offer a higher level of "polish" to the existing > project infrastructure? Comments? I'm just playing with this stuff a > bit myself right now and will say more once I actually know more about > it. Well, the questions I have are.. 1) Will it scale with 200 developers and (if we put the pr's into the source forge interface) all the prs? 2) How much stuff well get moved over to sit under the new interface, and how hard will that be to accomplish? :) --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 20:38:51 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id 3306937BD5F; Mon, 8 May 2000 20:38:43 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id NAA77643; Tue, 9 May 2000 13:04:23 +0930 (CST) Date: Tue, 9 May 2000 13:04:23 +0930 From: Greg Lehey To: "Jeffrey J. Mountin" Cc: freebsd-stable@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: Debugging Kernel/System Crashes, can anyone help?? Message-ID: <20000509130423.Q75157@freebie.lemis.com> References: <4.3.2.20000503221040.02051d40@207.227.119.2> <20000503185936.E72341@ethereal.net> <20000504095941.B18453@freebie.lemis.com> <200005040124.VAA55655@account.abs.net> <20000504111136.B22025@freebie.lemis.com> <20000503185936.E72341@ethereal.net> <20000504114013.E22025@freebie.lemis.com> <4.3.2.20000503221040.02051d40@207.227.119.2> <20000506073852.E37507@freebie.lemis.com> <4.3.2.20000506175851.00ae9b50@207.227.119.2> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <4.3.2.20000506175851.00ae9b50@207.227.119.2> Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Saturday, 6 May 2000 at 18:15:15 -0500, Jeffrey J. Mountin wrote: > At 07:38 AM 5/6/00 +0930, Greg Lehey wrote: >> On Thursday, 4 May 2000 at 17:00:35 -0500, Jeffrey J. Mountin wrote: >>> At 11:40 AM 5/4/00 +0930, Greg Lehey wrote: >>>> There's a separate issue about whether to build kernels with debug >>>> symbols by default. That takes a lot more space (30 MB as compared to >>>> about 8). But if you have a debug kernel, I don't see any reason to >>>> install a stripped version. >>> >>> Running the non-stripped kernel uses more memory >> >> No, this isn't correct, not with ELF. >> >>> and isn't there also a performance issue. >> >> No. > > Thanks for clarifying that, but were either memory or performance an > issue back in the AOUT days? I seem to recall something to that > point, but might be wrong. Yes, if you booted an a.out debug kernel, you ended up loading the entire kernel, including debug symbols, into memory. >>> Also what is gained by running it, >> >> Disk space. > > Then it's an issue of disk layout. I use a 100 MB root, which should be > good for number of years to come and /var is not a part of the root > partition. IMO space is (or should be) a non-issue or at least should be > for most. YMMV and don't care to beat that horse some once more. Sure, that's one of the issues I mentioned. But I think 100 MB is fine for a couple of debug kernels. My main machine (which I don't use for debugging) has only 30 MB in the root file system. >>> as long as you have the complimentary debug kernel in /var/crash (or >>> wherever) for the stripped boot kernel. >> >> It's the one that savecore saves, and there's more opportunity for >> using the wrong debug kernel for dump analysis. > > True, but then one would hope someone doing analysis would know > better. It's not a question of knowing better, it's a question of honest-to-god mistakes. I make enough of them myself. > Maybe there should be an "make install debug" that would either > install the debug version instead of the stripped version *or* > install it in /var/crash. Indeed, there *is* a make install.debug (note spelling) which installs the debug version instead of the stripped version. > If there are no memory or performance issues with the debug kernel, > then I wouldn't mind it being installed as the default. Then those > that wish to strip it may do so. As always the point is who gains > changing the current method. I tried this a while back. There was a lot of resistance. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 21: 2:19 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 4A56937BA81; Mon, 8 May 2000 21:02:16 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.10.1/8.10.1) with ESMTP id e4942FD66719; Mon, 8 May 2000 21:02:15 -0700 (PDT) Date: Mon, 8 May 2000 21:02:15 -0700 (PDT) From: Doug White To: John Baldwin Cc: freebsd-hackers@FreeBSD.ORG Subject: RE: Boot panics In-Reply-To: <200005082033.QAA03631@server.baldwin.cx> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 8 May 2000, John Baldwin wrote: > Ok, this ends up being: > > 00000000 A3D8750200 mov [0x275d8],eax > 00000005 89E0 mov eax,esp > 00000007 05600F0000 add eax,0xf60 > 0000000C A3DC750202 mov [0x20275dc],eax If you're going to decode boot panics, could you look at i386/18132 too? :) Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 21:39:57 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from zippy.cdrom.com (zippy.cdrom.com [204.216.27.228]) by hub.freebsd.org (Postfix) with ESMTP id 7771437BD68 for ; Mon, 8 May 2000 21:39:55 -0700 (PDT) (envelope-from jkh@zippy.cdrom.com) Received: from localhost (jkh@localhost [127.0.0.1]) by zippy.cdrom.com (8.9.3/8.9.3) with ESMTP id VAA14886; Mon, 8 May 2000 21:41:52 -0700 (PDT) (envelope-from jkh@zippy.cdrom.com) To: "Daniel O'Connor" Cc: "Jordan K. Hubbard" , hackers@freebsd.org Subject: Re: What do people think of maybe using the sourceforge software In-reply-to: Your message of "Tue, 09 May 2000 13:03:20 +0930." Date: Mon, 08 May 2000 21:41:52 -0700 Message-ID: <14883.957847312@localhost> From: "Jordan K. Hubbard" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 1) Will it scale with 200 developers and (if we put the pr's into the source > forge interface) all the prs? I think this part should scale fairly well. > 2) How much stuff well get moved over to sit under the new interface, and how > hard will that be to accomplish? :) That I don't know. Ask me something easier. :-) - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 22: 2:45 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from obie.softweyr.com (obie.softweyr.com [204.68.178.33]) by hub.freebsd.org (Postfix) with ESMTP id AC84837B878 for ; Mon, 8 May 2000 22:02:41 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from softweyr.com (Foolstrustidentd@obie.softweyr.com [204.68.178.33]) by obie.softweyr.com (8.8.8/8.8.8) with ESMTP id XAA19872; Mon, 8 May 2000 23:02:32 -0600 (MDT) (envelope-from wes@softweyr.com) Message-ID: <39179C46.382BDA46@softweyr.com> Date: Mon, 08 May 2000 23:04:06 -0600 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Nate Williams Cc: Olaf Hoyer , freebsd-hackers@FreeBSD.ORG Subject: Re: [OT] Finding people with GSM phones (was Re: GPS heads up ) References: <200005061847.LAA07298@mass.cdrom.com> <200005061607.KAA17627@nomad.yogotech.com> <4.1.20000506204714.00cd5290@mail.rz.fh-wilhelmshaven.de> <39160924.D00CAF40@softweyr.com> <200005081703.LAA27088@nomad.yogotech.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Nate Williams wrote: > > > All this discussion of the wonders of GSM is wonderful, but doesn't apply > > to the USA where this mandate is happening. > > You mean the mandate that GPS must be part of the phone? As I said, my > friend at Qualcomm stated that GPS wasn't a requirement, but the ability > to know the location of the phone within 100m *is* a requirement. Right, the mandate is to be able to locate any phone that can reach a single tower within 100m. Never mind that this goal cannot be accomplished. > Because the a large percentage (majority?) of cell phones are used in > locations where GPS can't be used effectively (think any big city inside > of a car), Qualcomm is not adding GPS chipsets into their phones. > According to my friend, the solutions they have designed work for both > the existing analog and digital phones being used today, and are much > better than the 100m accuracy marks required by law (as stated before, > the number 25m jumps to mind). As long as you have multiple towers in reach. This limitation certainly applies to analog coverage, which will probably be pretty much deprecated by 2003, and with digital phones at the extreme edge of coverage. > So, they get higher accuracy solutions that don't require changes to > their phones, thus driving up costs. (Although it does require changes > to the cell towers, but that's a much cheaper alternative since there > are fewer of them *PLUS* it works with old phones, making it *very* > attractive to the government.) I don't think the government ever stops to consider the cost of the idiotic requirements they levy on people. The phrase we're groping for here is "unfunded mandate." -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 22:10: 8 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from obie.softweyr.com (obie.softweyr.com [204.68.178.33]) by hub.freebsd.org (Postfix) with ESMTP id 59C0B37B873 for ; Mon, 8 May 2000 22:09:51 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from softweyr.com (Foolstrustidentd@obie.softweyr.com [204.68.178.33]) by obie.softweyr.com (8.8.8/8.8.8) with ESMTP id XAA19881; Mon, 8 May 2000 23:04:18 -0600 (MDT) (envelope-from wes@softweyr.com) Message-ID: <39179CB0.7CC36053@softweyr.com> Date: Mon, 08 May 2000 23:05:52 -0600 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Poul-Henning Kamp Cc: Olaf Hoyer , Nate Williams , freebsd-hackers@FreeBSD.ORG Subject: Re: [OT] Finding people with GSM phones (was Re: GPS heads up ) References: <19346.957806060@critter.freebsd.dk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Poul-Henning Kamp wrote: > > In message <39160924.D00CAF40@softweyr.com>, Wes Peters writes: > > >> There were some famous cases where some criminals were located by tracking > >> down their cell phone. > > Several cases have been nailed shut here in Denmark on that basis by now, > people saying "I were not at home that evening, I was with some friend > on the other side of town" and the police then playing a GSM call and > showing the area where the phone could have been at the time of the call. > > They need a court order of for both wire-tapping and getting hold of the > location information. Or at least they have to have a court order to present it in court. Same here. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 23:21:49 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 4ED7937BACE; Mon, 8 May 2000 23:21:31 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id XAA48350; Mon, 8 May 2000 23:21:24 -0700 (PDT) (envelope-from dillon) Date: Mon, 8 May 2000 23:21:24 -0700 (PDT) From: Matthew Dillon Message-Id: <200005090621.XAA48350@apollo.backplane.com> To: Howard Leadmon Cc: Bill Paul , Greg Lehey , freebsd-stable@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: Debugging Kernel/System Crashes, can anyone help?? References: <200005052050.QAA31307@account.abs.net> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm going to go ahead and commit the patch I supplied earlier, even though there appear to be other unrelated problems. Unfortunately given the reports I think there are a bunch of things at issue here. I don't know why your machine is crashing so much in so many different places, but I suspect there is a network issue involved... perhaps line errors or some other problem that is exercising the ethernet in a weird way and causing the bugs to rear their ugly heads. -Matt Matthew Dillon :OK, as requested here is the output: : :c01c1850 t dc_intr :c022f41c t fdc_intr : : : :> It would also help if you could do the following from the gdb of the :> kernel: :> :> frame 14 : :(kgdb) frame 14 :#14 0xc01c18fb in dc_intr (arg=0xc0de6000) at machine/cpufunc.h:331 :331 __asm __volatile("outl %0,%%dx" : : "a" (data), "d" (port)); : : :> print sc : :(kgdb) print sc :$1 = (struct dc_softc *) 0xc0de6000 : : :> print *sc : : :(kgdb) print *sc :$2 = {arpcom = {ac_if = {if_softc = 0xc0de6000, if_name = 0xc0246530 "dc", : if_link = {tqe_next = 0xc5901204, tqe_prev = 0xc02980f4}, if_addrhead = { : tqh_first = 0xc5901800, tqh_last = 0xc59eee10}, if_pcount = 0, : if_bpf = 0x0, if_index = 1, if_unit = 0, if_timer = 0, : if_flags = -30717, if_ipending = 0, if_linkmib = 0x0, if_linkmiblen = 0, : if_data = {ifi_type = 6 '\006', ifi_physical = 0 '\000', : ifi_addrlen = 6 '\006', ifi_hdrlen = 14 '\016', : ifi_recvquota = 0 '\000', ifi_xmitquota = 0 '\000', ifi_mtu = 1500, : ifi_metric = 0, ifi_baudrate = 10000000, ifi_ipackets = 2683140, : ifi_ierrors = 0, ifi_opackets = 1716990, ifi_oerrors = 0, : ifi_collisions = 0, ifi_ibytes = 394131741, ifi_obytes = 295972886, : ifi_imcasts = 17, ifi_omcasts = 0, ifi_iqdrops = 0, ifi_noproto = 0, : ifi_recvtiming = 0, ifi_xmittiming = 0, ifi_lastchange = {tv_sec = 0, : tv_usec = 0}}, if_multiaddrs = {lh_first = 0xc0de7120}, : if_amcount = 0, if_output = 0xc0174a04 , : if_start = 0xc01c1fa4 , if_done = 0, : if_ioctl = 0xc01c2848 , : if_watchdog = 0xc01c29ac , if_poll_recv = 0, : if_poll_xmit = 0, if_poll_intren = 0, if_poll_slowinput = 0, : if_init = 0xc01c20e4 , : if_resolvemulti = 0xc017508c , if_snd = { : ifq_head = 0x0, ifq_tail = 0x0, ifq_len = 0, ifq_maxlen = 255, : ifq_drops = 0}, if_poll_slowq = 0x0, if_prefixhead = {tqh_first = 0x0, : tqh_last = 0xc0de60d0}}, ac_enaddr = "\000Àð;§ë", ac_multicnt = 0, : ac_ng = 0x0}, dc_bhandle = 54272, dc_btag = 0, dc_intrhand = 0xc0de7ac0, : dc_irq = 0xc5900140, dc_res = 0xc59001c0, dc_info = 0xc026f004, : dc_miibus = 0xc590a880, dc_unit = 0 '\000', dc_type = 4 '\004', : dc_pmode = 1 '\001', dc_link = 0 '\000', dc_cachesize = 8 '\b', : dc_pnic_rx_bug_save = 0, dc_pnic_rx_buf = 0x0, dc_if_flags = 0, : dc_if_media = 1048614, dc_flags = 521, dc_txthresh = 0, : dc_ldata = 0xd5660000, dc_cdata = {dc_rx_chain = {0x0 }, : dc_tx_chain = {0x0 }, dc_sbuf = {0 , : 32768, 0 , 16384, 0, 0, 0, 0, 0, 0, 0, 49152, 15344, : 60327, 0, 0, 0, 0, 0, 0}, dc_pad = '\000' , : dc_tx_prod = 10, dc_tx_cons = 10, dc_tx_cnt = 0, dc_rx_prod = 4}, : dc_stat_ch = {callout = 0xcd6a56c0}} : : :FYI, the machine in general is staying up a bit longer, so maybe you :nailed one bug and there are just a few more that also need to be :caught. :) : :Anyway thinks for trying to help me track this one down as it's very :much appreicated, and if you need any other info just let me know... : : :--- :Howard Leadmon - howardl@abs.net - http://www.abs.net :ABSnet Internet Services - Phone: 410-361-8160 - FAX: 410-361-8162 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon May 8 23:36:23 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from account.abs.net (account.abs.net [207.114.5.70]) by hub.freebsd.org (Postfix) with ESMTP id 13E6337BA92; Mon, 8 May 2000 23:36:15 -0700 (PDT) (envelope-from howardl@account.abs.net) Received: (from howardl@localhost) by account.abs.net (8.9.3/8.9.3+RBL+DUL+RSS+ORBS) id CAA51242; Tue, 9 May 2000 02:35:48 -0400 (EDT) (envelope-from howardl) From: Howard Leadmon Message-Id: <200005090635.CAA51242@account.abs.net> Subject: Re: Debugging Kernel/System Crashes, can anyone help?? In-Reply-To: <200005090621.XAA48350@apollo.backplane.com> from Matthew Dillon at "May 8, 2000 11:21:24 pm" To: Matthew Dillon Date: Tue, 9 May 2000 02:35:48 -0400 (EDT) Cc: Bill Paul , Greg Lehey , freebsd-stable@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL72 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=UNKNOWN-8BIT Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I'm going to go ahead and commit the patch I supplied earlier, > even though there appear to be other unrelated problems. Sounds like it was a fix that needed to be made, so I agree, just wish my box had become stable.. > Unfortunately given the reports I think there are a bunch of things > at issue here. I don't know why your machine is crashing so much > in so many different places, but I suspect there is a network > issue involved... perhaps line errors or some other problem that > is exercising the ethernet in a weird way and causing the bugs > to rear their ugly heads. Really weird thing is that I used to have BSDi on the darn machine and everything was fine, but moved to FBSD due to a software app I was going to run that were FBSD binaries. I take it none of the additional backtraces said anything worthwhile to you?? Nobody else ever responded to any of the messages, so I'm still kind of up a creek so to speak. I swapped out all the hardware, but maybe I need to try going to a totally different brand of motherboard or something. Anyway thanks for trying... > -Matt > Matthew Dillon > > > :OK, as requested here is the output: > : > :c01c1850 t dc_intr > :c022f41c t fdc_intr > : > : > : > :> It would also help if you could do the following from the gdb of the > :> kernel: > :> > :> frame 14 > : > :(kgdb) frame 14 > :#14 0xc01c18fb in dc_intr (arg=0xc0de6000) at machine/cpufunc.h:331 > :331 __asm __volatile("outl %0,%%dx" : : "a" (data), "d" (port)); > : > : > :> print sc > : > :(kgdb) print sc > :$1 = (struct dc_softc *) 0xc0de6000 > : > : > :> print *sc > : > : > :(kgdb) print *sc > :$2 = {arpcom = {ac_if = {if_softc = 0xc0de6000, if_name = 0xc0246530 "dc", > : if_link = {tqe_next = 0xc5901204, tqe_prev = 0xc02980f4}, if_addrhead = { > : tqh_first = 0xc5901800, tqh_last = 0xc59eee10}, if_pcount = 0, > : if_bpf = 0x0, if_index = 1, if_unit = 0, if_timer = 0, > : if_flags = -30717, if_ipending = 0, if_linkmib = 0x0, if_linkmiblen = 0, > : if_data = {ifi_type = 6 '\006', ifi_physical = 0 '\000', > : ifi_addrlen = 6 '\006', ifi_hdrlen = 14 '\016', > : ifi_recvquota = 0 '\000', ifi_xmitquota = 0 '\000', ifi_mtu = 1500, > : ifi_metric = 0, ifi_baudrate = 10000000, ifi_ipackets = 2683140, > : ifi_ierrors = 0, ifi_opackets = 1716990, ifi_oerrors = 0, > : ifi_collisions = 0, ifi_ibytes = 394131741, ifi_obytes = 295972886, > : ifi_imcasts = 17, ifi_omcasts = 0, ifi_iqdrops = 0, ifi_noproto = 0, > : ifi_recvtiming = 0, ifi_xmittiming = 0, ifi_lastchange = {tv_sec = 0, > : tv_usec = 0}}, if_multiaddrs = {lh_first = 0xc0de7120}, > : if_amcount = 0, if_output = 0xc0174a04 , > : if_start = 0xc01c1fa4 , if_done = 0, > : if_ioctl = 0xc01c2848 , > : if_watchdog = 0xc01c29ac , if_poll_recv = 0, > : if_poll_xmit = 0, if_poll_intren = 0, if_poll_slowinput = 0, > : if_init = 0xc01c20e4 , > : if_resolvemulti = 0xc017508c , if_snd = { > : ifq_head = 0x0, ifq_tail = 0x0, ifq_len = 0, ifq_maxlen = 255, > : ifq_drops = 0}, if_poll_slowq = 0x0, if_prefixhead = {tqh_first = 0x0, > : tqh_last = 0xc0de60d0}}, ac_enaddr = "\000Àð;§ë", ac_multicnt = 0, > : ac_ng = 0x0}, dc_bhandle = 54272, dc_btag = 0, dc_intrhand = 0xc0de7ac0, > : dc_irq = 0xc5900140, dc_res = 0xc59001c0, dc_info = 0xc026f004, > : dc_miibus = 0xc590a880, dc_unit = 0 '\000', dc_type = 4 '\004', > : dc_pmode = 1 '\001', dc_link = 0 '\000', dc_cachesize = 8 '\b', > : dc_pnic_rx_bug_save = 0, dc_pnic_rx_buf = 0x0, dc_if_flags = 0, > : dc_if_media = 1048614, dc_flags = 521, dc_txthresh = 0, > : dc_ldata = 0xd5660000, dc_cdata = {dc_rx_chain = {0x0 }, > : dc_tx_chain = {0x0 }, dc_sbuf = {0 , > : 32768, 0 , 16384, 0, 0, 0, 0, 0, 0, 0, 49152, 15344, > : 60327, 0, 0, 0, 0, 0, 0}, dc_pad = '\000' , > : dc_tx_prod = 10, dc_tx_cons = 10, dc_tx_cnt = 0, dc_rx_prod = 4}, > : dc_stat_ch = {callout = 0xcd6a56c0}} > : > : > :FYI, the machine in general is staying up a bit longer, so maybe you > :nailed one bug and there are just a few more that also need to be > :caught. :) > : > :Anyway thinks for trying to help me track this one down as it's very > :much appreicated, and if you need any other info just let me know... > : > : > :--- > :Howard Leadmon - howardl@abs.net - http://www.abs.net > :ABSnet Internet Services - Phone: 410-361-8160 - FAX: 410-361-8162 > --- Howard Leadmon - howardl@abs.net - http://www.abs.net ABSnet Internet Services - Phone: 410-361-8160 - FAX: 410-361-8162 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 2:14:24 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id 5128037B92C for ; Tue, 9 May 2000 02:14:21 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01JP6ZOQBECM0000FL@research.kpn.com> for hackers@FreeBSD.ORG; Tue, 9 May 2000 11:04:42 +0200 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Tue, 09 May 2000 11:04:42 +0100 Content-return: allowed Date: Tue, 09 May 2000 11:04:39 +0100 From: "Koster, K.J." Subject: RE: What do people think of maybe using the sourceforge software? To: "'chris@calldei.com'" , "Jordan K. Hubbard" Cc: hackers@FreeBSD.ORG Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D74A2@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > It's my opinion that there's no need for more "polish." > Currently what we have, CVS and the CVSWeb HTTP front-end, seem > perfectly adequate to me. > Well, that depends if sourceforge has more intelligent bug query methods than simple keyword searches. If you can only keyword search, the current PR database might be just as good. If sourceforge will allow me to search in a more intelligent way, it may be worth the effort. There's a lot of information in the PR database. How best to exploit that? Another point: if sourceforce is being actively maintained and used, perhaps you may want to have it for that. Is FreeBSD's bug database code being used in other projects? Is development going on on it? Kees Jan ============================================== You are only young once, but you can stay immature all your life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 2:34:46 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from florence.pavilion.net (florence.pavilion.net [212.74.0.25]) by hub.freebsd.org (Postfix) with ESMTP id E431D37B9F9 for ; Tue, 9 May 2000 02:34:42 -0700 (PDT) (envelope-from joe@pavilion.net) Received: from genius.systems.pavilion.net (postfix@genius.systems.pavilion.net [212.74.1.100]) by florence.pavilion.net (8.9.3/8.8.8) with ESMTP id KAA18598; Tue, 9 May 2000 10:34:35 +0100 (BST) (envelope-from joe@pavilion.net) Received: by genius.systems.pavilion.net (Postfix, from userid 100) id A4BA420A; Tue, 9 May 2000 10:35:12 +0100 (BST) Date: Tue, 9 May 2000 10:35:12 +0100 From: Joe Karthauser To: "Koster, K.J." Cc: "'chris@calldei.com'" , "Jordan K. Hubbard" , hackers@FreeBSD.ORG Subject: Re: What do people think of maybe using the sourceforge software? Message-ID: <20000509103512.C2198@pavilion.net> References: <59063B5B4D98D311BC0D0001FA7E4522026D74A2@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <59063B5B4D98D311BC0D0001FA7E4522026D74A2@l04.research.kpn.com>; from K.J.Koster@kpn.com on Tue, May 09, 2000 at 11:04:39AM +0100 X-NCC-RegID: uk.pavilion Organisation: Pavilion Internet plc, Lees House, 21-23 Dyke Road, Brighton, England Phone: +44-845-333-5000 Fax: +44-845-333-5001 Mobile: +44-403-596893 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, May 09, 2000 at 11:04:39AM +0100, Koster, K.J. wrote: > > > > It's my opinion that there's no need for more "polish." > > Currently what we have, CVS and the CVSWeb HTTP front-end, seem > > perfectly adequate to me. > > > Well, that depends if sourceforge has more intelligent bug query methods > than simple keyword searches. If you can only keyword search, the current PR > database might be just as good. If sourceforge will allow me to search in a > more intelligent way, it may be worth the effort. Can you define "more intelligent"? Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 2:55:44 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from Mail.Openet-Telecom.COM (opentisdn.isdn.dublin.esat.net [193.120.50.79]) by hub.freebsd.org (Postfix) with ESMTP id 0FBB937B8F8 for ; Tue, 9 May 2000 02:55:40 -0700 (PDT) (envelope-from peter.edwards@openet-telecom.com) Received: from openet-telecom.com (rocklobster.openet-telecom.lan [10.0.0.40]) by Mail.Openet-Telecom.COM (8.9.3/8.9.3) with ESMTP id LAA45485; Tue, 9 May 2000 11:03:27 +0100 (IST) (envelope-from peter.edwards@openet-telecom.com) Message-ID: <3917E087.B2477FA0@openet-telecom.com> Date: Tue, 09 May 2000 10:55:19 +0100 From: Peter Edwards Organization: Openet Telecom X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: hackers@freebsd.org Cc: Coleman Kane Subject: Re: mmap cdev function in device drivers References: <20000508020139.A10146@cokane.yi.org> <20000508133654.A2018@cokane.yi.org> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Just trying to take some of the aforementioned "magic" out of i386_btop / vtop :-) > return( atop(vtophys(bktr->bigbuf) + offset) ); atop (I assume) stands for "address to page" (given a pointer, give the number of the page it is in) vtophys is "virtual to physical". (given a pointer in a virtual address space, find out the physical address of the backing memory.) My understanding is that mmap(2) will allocate a portion of the calling process's address space, and for each page it needs to map, will call the device's mmap function, giving it the calculated offset (and the protection attributes). The device's mmap returns the index of the physical page of the memory to be inserted under the virtual addresses the process sees. simplified_mmap_syscall_for_device(dev_t device, size_t len, off_t offset) { caddr_t ptr = alloc_address_space(len); assert(ptr % PAGESIZE == 0); while (len) { pageno = device->mmap(offset); /* Call device's mmap */ map_address_to_page(ptr, pageno); len -= PAGESIZE; offset += PAGESIZE; ptr += PAGESIZE; } } So, the call above is returning the page number (of the physical address (of bktr->bigbuf)). Of course, My ignorance will probably be corrected in due course! -- Peter. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 2:58:53 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id E7AFE37B7EA for ; Tue, 9 May 2000 02:58:48 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost.freebsd.dk [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.3) with ESMTP id LAA24304; Tue, 9 May 2000 11:58:04 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Peter Edwards Cc: hackers@FreeBSD.ORG, Coleman Kane Subject: Re: mmap cdev function in device drivers In-reply-to: Your message of "Tue, 09 May 2000 10:55:19 BST." <3917E087.B2477FA0@openet-telecom.com> Date: Tue, 09 May 2000 11:58:04 +0200 Message-ID: <24302.957866284@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG A good example to look at is the pci/xrpu.c file, that driver barely does anything but a mmap. Poul-Henning In message <3917E087.B2477FA0@openet-telecom.com>, Peter Edwards writes: >Hi, >Just trying to take some of the aforementioned "magic" out of i386_btop >/ vtop :-) > >> return( atop(vtophys(bktr->bigbuf) + offset) ); > >atop (I assume) stands for "address to page" (given a pointer, give the >number of the page it is in) >vtophys is "virtual to physical". (given a pointer in a virtual address >space, find out the physical address of the backing memory.) > >My understanding is that mmap(2) will allocate a portion of the calling >process's address space, and for each page it needs to map, will call >the device's mmap function, giving it the calculated offset (and the >protection attributes). > >The device's mmap returns the index of the physical page of the memory >to be inserted under the virtual addresses the process sees. > >simplified_mmap_syscall_for_device(dev_t device, size_t len, off_t >offset) >{ > caddr_t ptr = alloc_address_space(len); > > assert(ptr % PAGESIZE == 0); > > while (len) { > pageno = device->mmap(offset); /* Call device's mmap */ > map_address_to_page(ptr, pageno); > len -= PAGESIZE; > offset += PAGESIZE; > ptr += PAGESIZE; > } >} > >So, the call above is returning the page number (of the physical address >(of bktr->bigbuf)). > >Of course, My ignorance will probably be corrected in due course! >-- >Peter. > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-hackers" in the body of the message > -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD coreteam member | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 3:12: 4 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from kleopatra.acc.umu.se (kleopatra.acc.umu.se [130.239.18.150]) by hub.freebsd.org (Postfix) with ESMTP id 799D637B5FB for ; Tue, 9 May 2000 03:12:00 -0700 (PDT) (envelope-from markush@acc.umu.se) Received: from mao.acc.umu.se (root@mao.acc.umu.se [130.239.18.154]) by kleopatra.acc.umu.se (8.10.1/8.10.1) with ESMTP id e49ABwW23022; Tue, 9 May 2000 12:11:58 +0200 Received: (from markush@localhost) by mao.acc.umu.se (8.9.3/8.9.3/Debian/GNU) id MAA01427; Tue, 9 May 2000 12:11:58 +0200 Date: Tue, 9 May 2000 12:11:58 +0200 From: Markus Holmberg To: "Jordan K. Hubbard" Cc: hackers@FreeBSD.ORG Subject: Re: What do people think of maybe using the sourceforge software? Message-ID: <20000509121157.A28667@acc.umu.se> References: <14620.957842046@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.11i In-Reply-To: <14620.957842046@localhost>; from jkh@zippy.cdrom.com on Mon, May 08, 2000 at 08:14:06PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Speaking of Sourceforge (which now uses Trove categorization for the projects): Trove categorization of the FreeBSD ports tree would be really cool. http://sourceforge.net/softwaremap/trove_list.php http://tuxedo.org/~esr/trove/ Just an idea. Not holding my breath though :). Markus On Mon, May 08, 2000 at 08:14:06PM -0700, Jordan K. Hubbard wrote: > http://sourceforge.net/project/filelist.php?group_id=1 > > Contains the software used by source forge to implement the > project/help desk/download tracker thingie which they themselves use > to manage the various projects registered with source forge. > > I think it's also reasonable to say that FreeBSD itself is a bit too > large to register and run as a sourceforge project, but why not use > the same software to offer a higher level of "polish" to the existing > project infrastructure? Comments? I'm just playing with this stuff a > bit myself right now and will say more once I actually know more about > it. > > - Jordan > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- Markus Holmberg | Give me Unix or give me a typewriter. markush@acc.umu.se | http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 3:28:37 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from cichlids.com (p3E9C113C.dip0.t-ipconnect.de [62.156.17.60]) by hub.freebsd.org (Postfix) with ESMTP id 2EF3B37B6D1; Tue, 9 May 2000 03:28:30 -0700 (PDT) (envelope-from alex@cichlids.com) Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by cichlids.com (Postfix) with ESMTP id 70C1BAC2E; Tue, 9 May 2000 12:33:22 +0200 (CEST) Received: (from alex@localhost) by cichlids.cichlids.com (8.9.3/8.9.3) id MAA04177; Tue, 9 May 2000 12:28:26 +0200 (CEST) (envelope-from alex) Date: Tue, 9 May 2000 12:28:26 +0200 From: Alexander Langer To: "Chris D. Faulhaber" Cc: Archie Cobbs , hackers@FreeBSD.ORG, doc@FreeBSD.ORG Subject: Re: controlled panic - kernel-module Message-ID: <20000509122826.A4127@cichlids.cichlids.com> References: <20000508220153.A3479@cichlids.cichlids.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from jedgar@fxp.org on Mon, May 08, 2000 at 04:09:14PM -0400 X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thus spake Chris D. Faulhaber (jedgar@fxp.org): > > At least not on my kernel :-) > Well, it requires 4.x or 5.x, and DDB in the kernel... DDB _is_ in kernel and that is FreeBSD cichlids.cichlids.com 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue May 2 17:31:01 CEST 2000 root@:/usr/src/sys/compile/cichlids i386 /me is clueless. A lot. Alex -- I need a new ~/.sig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 4: 1:40 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from haldjas.folklore.ee (Haldjas.folklore.ee [193.40.6.121]) by hub.freebsd.org (Postfix) with ESMTP id 95CCC37B614; Tue, 9 May 2000 04:01:25 -0700 (PDT) (envelope-from narvi@haldjas.folklore.ee) Received: from localhost (narvi@localhost) by haldjas.folklore.ee (8.9.3/8.9.3) with SMTP id NAA15391; Tue, 9 May 2000 13:00:35 +0200 (EET) (envelope-from narvi@haldjas.folklore.ee) Date: Tue, 9 May 2000 13:00:35 +0200 (EET) From: Narvi To: Kris Kirby Cc: Doug Barton , Mike Smith , Olaf Hoyer , freebsd-hackers@FreeBSD.ORG Subject: Re: [OT] Finding people with GSM phones (was Re: GPS heads up ) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 8 May 2000, Kris Kirby wrote: > > BTW, you do realize that in many cases "off" for your cell phone > > doesn't really mean off, right? :) > > I have strong objections to small transcievers (what cell phones > actually are) that operate close to my body and don't let me know when > they are transmitting. When you're talking on it, you know it's > transmitting, but I'm talking about just about every other time when > you've got it on your belt or clipped to your side. I know they aren't > high power, but we don't know long term effects (actually, we do; we just > don't know the thresholds for triggering cancer, etc.). > Well, maybe we do. Just read the other day that the british are planning to make warning signs compulsory on mobile phones... > I'm not thrilled at the aspect of a radio close to my head either. You can > feel a radio after it's been transmitting for a while and think: > "Something close to the amount of heat generated by this radio has been > sent out over the ether and I was standing right in front of it." Yes, to > cook your noodle you'd need a couple hundred watts but still, it's energy. > > ----- > Kris Kirby, KE4AHR | TGIFreeBSD... 'Nuff said. > | > ------------------------------------------------------- > "Fate, it seems, is not without a sense of irony." > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 4:19:14 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 5315137B639; Tue, 9 May 2000 04:19:09 -0700 (PDT) (envelope-from des@flood.ping.uio.no) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id NAA19617; Tue, 9 May 2000 13:19:08 +0200 (CEST) (envelope-from des@flood.ping.uio.no) To: hackers@freebsd.org Subject: Netfinity 5600 patches From: Dag-Erling Smorgrav Date: 09 May 2000 13:19:07 +0200 Message-ID: Lines: 8 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I still have uncommitted patches that add support for the Netfinity 5600's host-to-PCI bridge. They're not perfect, but they work fine. DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 4:29:54 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from server.baldwin.cx (jobaldwi.campus.vt.edu [198.82.67.146]) by hub.freebsd.org (Postfix) with ESMTP id 209EC37B723; Tue, 9 May 2000 04:29:51 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from john.baldwin.cx (john [10.0.0.2]) by server.baldwin.cx (8.9.3/8.9.3) with ESMTP id HAA04752; Tue, 9 May 2000 07:29:48 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-Id: <200005091129.HAA04752@server.baldwin.cx> X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Tue, 09 May 2000 07:29:47 -0400 (EDT) From: John Baldwin To: Doug White Subject: RE: i386/18132: BTX dumps trying to boot w/ dedicated SCSI disks present Cc: freebsd-hackers@FreeBSD.org, freebsd-gnats-submit@FreeBSD.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 09-May-00 Doug White wrote: > If you're going to decode boot panics, could you look at i386/18132 > too? :) Yeah: 00000000 F7F1 div cx 00000002 33D2 xor dx,dx 00000004 8A4EF6 mov cl,[bp-0xa] 00000007 F7F1 div cx 00000009 3DFF03 cmp ax,0x3ff 0000000C 7603 jna 0x11 0000000E B8FFFF mov ax,0xffff Since %cs=c800, we are in some extra hardware's ROM. The actual fault since %cx=0000. There may be a return address of f300:0000 on the stack, would be in the ROM BIOS. It may be that your SCSI controller doesn't like disks without a normal slice table. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 5: 1: 6 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from liberty.bulinfo.net (liberty.bulinfo.net [212.72.195.7]) by hub.freebsd.org (Postfix) with SMTP id D978B37BE0B for ; Tue, 9 May 2000 05:00:53 -0700 (PDT) (envelope-from krassi@bulinfo.net) Received: (qmail 5599 invoked from network); 9 May 2000 12:00:47 -0000 Received: from pythia.bulinfo.net (HELO bulinfo.net) (212.72.195.5) by liberty.bulinfo.net with SMTP; 9 May 2000 12:00:47 -0000 Message-ID: <3917FDE8.F26FBDB6@bulinfo.net> Date: Tue, 09 May 2000 15:00:40 +0300 From: Krassimir Slavchev X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.13 i686) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-isp@freebsd.org, freebsd-hackers@freebsd.org Subject: Modem stuff? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all, We have some FreeBSD based terminal servers with 32 modems each. How can deny +++ATH0 attacks to our Dial-Up clients? I have been already set S2=127(disable escape character) on servers modems, but clients modems also need to set S2 register. I try to set remote modems with ping containing pattern "+++ATS2=127&WO1\r", in many times successfully, but any of modems can not be set properly. It is possible to filter IP packets containing patterns like +++ATH0 or any other way to set S2 register remotely? Thanks in advance Regards -- Krassimir Slavchev Bulinfo Ltd. krassi@bulinfo.net (+359-2)963-3652 http://www.bulinfo.net (+359-2)963-3764 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 5: 8:37 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from tele-post-20.mail.demon.net (tele-post-20.mail.demon.net [194.217.242.20]) by hub.freebsd.org (Postfix) with ESMTP id 265D437BE4E for ; Tue, 9 May 2000 05:08:29 -0700 (PDT) (envelope-from dmlb@ragnet.demon.co.uk) Received: from ragnet.demon.co.uk ([158.152.46.40]) by tele-post-20.mail.demon.net with esmtp (Exim 2.12 #2) id 12p8oM-000HUY-0K; Tue, 9 May 2000 12:08:27 +0000 Received: from dmlb by ragnet.demon.co.uk with local (Exim 3.03 #1) id 12p3wb-0001Jc-00; Tue, 09 May 2000 07:56:37 +0100 Content-Length: 743 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200005082330.RAA81086@harmony.village.org> Date: Tue, 09 May 2000 07:56:37 +0100 (BST) From: Duncan Barclay To: Warner Losh Subject: Re: Getting an aligned IO port Cc: freebsd-hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 08-May-00 Warner Losh wrote: > In message Duncan Barclay > writes: >: It's okay I've worked it out and got RealPorts (well mine) working in >: -current >: again. >: >: Patches mailed to -mobile. > > Cool. I'll commit them soon. Any chance these will work with the > 33.6 version of the card? Should do as all I've done is "newbusified" the old hacks that were needed to turn on the ethnernet. > Warner --- ________________________________________________________________________ Duncan Barclay | God smiles upon the little children, dmlb@ragnet.demon.co.uk | the alcoholics, and the permanently stoned. ________________________________________________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 5:44:30 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id 1D87537B618 for ; Tue, 9 May 2000 05:44:27 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01JP7719I10M0000TA@research.kpn.com> for hackers@FreeBSD.ORG; Tue, 9 May 2000 14:34:51 +0200 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Tue, 09 May 2000 14:34:50 +0100 Content-return: allowed Date: Tue, 09 May 2000 14:34:47 +0100 From: "Koster, K.J." Subject: RE: What do people think of maybe using the sourceforge software? To: 'Joe Karthauser' Cc: hackers@FreeBSD.ORG Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D74A3@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > Well, that depends if sourceforge has more intelligent bug > query methods > > than simple keyword searches. If you can only keyword > search, the current PR > > database might be just as good. If sourceforge will allow > me to search in a > > more intelligent way, it may be worth the effort. > > Can you define "more intelligent"? > No, :-) but I can take another shot at what I'm envisioning. It's the same problem with finding stuff on the Internet. You type a keyword, and the search engine returns everything that's remotely related, sorted on how much their sponsoring was. I know that a lot of research is being put into better and more intelligent search engines for the Internet. For something like a bugs database, it must be much easier to do, because the range of subjects is so much smaller. A kernel in the FreeBSD bugs database is those three-odd megs of code sitting on /, not a plant's seed of some sort. You could have a new interface to the PR database. You type your description, and a search engine coughs up a few (possibly closed) PR's that are related, presenting them to the user with the question: "does one of these match your problem?". If yes, you have one less PR to root around for, and you file his/her e-mail address under "me too". If no, you might even go so far as to say: "why not?", if your engine is sure they must be. That's what some people are already doing manually now: "I file this PR. It's similar to xxx/1000, but not quite, because my foo bars the foobar()." All I'm suggesting is automating this process and making it standard (and simple!) practice. I will admit that my description is vague, but it stems from the deeper feeling that there must be more than this. :-) Kees Jan ============================================== You are only young once, but you can stay immature all your life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 6:23: 5 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from evil.2y.net (ztown3-3-63.adsl.one.net [206.112.211.63]) by hub.freebsd.org (Postfix) with ESMTP id 1190837B839 for ; Tue, 9 May 2000 06:23:00 -0700 (PDT) (envelope-from cokane@evil.2y.net) Received: (from cokane@localhost) by evil.2y.net (8.9.3/8.9.3) id JAA03219; Tue, 9 May 2000 09:28:21 -0400 (EDT) (envelope-from cokane) Date: Tue, 9 May 2000 09:28:21 -0400 From: Coleman Kane To: Peter Edwards Cc: hackers@freebsd.org, Coleman Kane Subject: Re: mmap cdev function in device drivers Message-ID: <20000509092821.A3204@cokane.yi.org> References: <20000508020139.A10146@cokane.yi.org> <20000508133654.A2018@cokane.yi.org> <3917E087.B2477FA0@openet-telecom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <3917E087.B2477FA0@openet-telecom.com>; from peter.edwards@openet-telecom.com on Tue, May 09, 2000 at 05:55:49AM -0400 X-Vim: vim:tw=70:ts=4:sw=4 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Yeah, I've been flipping through the source code and drinking lots of coffee, I figured out what atop, i386_btop and all the rman stuff do. I am thinking that i386_btop is i386 base to page, which has been replaced (for portability?) by atop. The rman_* functions just give a nice description of what your are doing pulling members out of the resource or rman structs. I basically have all of the mmap's printf'ing information about offset, base, and address. It seems to go through the whole thing page by page (of 0x1000 length pages). It still returns with ENOMEM (12), even though the stuff looks fine... does it go through the whole thing before giving an ENOMEM, or does it fail out of one of the maps after hitting ENOMEM, I am not mapping with MAP_FIXED, just PROT_READ|PROT_WRITE, and MAP_FILE (0). Peter Edwards had the audacity to say: > Hi, > Just trying to take some of the aforementioned "magic" out of i386_btop > / vtop :-) > > > return( atop(vtophys(bktr->bigbuf) + offset) ); > > atop (I assume) stands for "address to page" (given a pointer, give the > number of the page it is in) > vtophys is "virtual to physical". (given a pointer in a virtual address > space, find out the physical address of the backing memory.) > > My understanding is that mmap(2) will allocate a portion of the calling > process's address space, and for each page it needs to map, will call > the device's mmap function, giving it the calculated offset (and the > protection attributes). > > The device's mmap returns the index of the physical page of the memory > to be inserted under the virtual addresses the process sees. > > simplified_mmap_syscall_for_device(dev_t device, size_t len, off_t > offset) > { > caddr_t ptr = alloc_address_space(len); > > assert(ptr % PAGESIZE == 0); > > while (len) { > pageno = device->mmap(offset); /* Call device's mmap */ > map_address_to_page(ptr, pageno); > len -= PAGESIZE; > offset += PAGESIZE; > ptr += PAGESIZE; > } > } > > So, the call above is returning the page number (of the physical address > (of bktr->bigbuf)). > > Of course, My ignorance will probably be corrected in due course! > -- > Peter. > -- Coleman Kane President, UC Free O.S. Users Group - http://pohl.ececs.uc.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 6:31: 3 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from evil.2y.net (ztown3-3-63.adsl.one.net [206.112.211.63]) by hub.freebsd.org (Postfix) with ESMTP id 37D9637B959 for ; Tue, 9 May 2000 06:31:00 -0700 (PDT) (envelope-from cokane@evil.2y.net) Received: (from cokane@localhost) by evil.2y.net (8.9.3/8.9.3) id JAA03225; Tue, 9 May 2000 09:29:27 -0400 (EDT) (envelope-from cokane) Date: Tue, 9 May 2000 09:29:27 -0400 From: Coleman Kane To: Poul-Henning Kamp Cc: Peter Edwards , hackers@FreeBSD.ORG, Coleman Kane Subject: Re: mmap cdev function in device drivers Message-ID: <20000509092927.B3204@cokane.yi.org> References: <3917E087.B2477FA0@openet-telecom.com> <24302.957866284@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <24302.957866284@critter.freebsd.dk>; from phk@critter.freebsd.dk on Tue, May 09, 2000 at 05:58:53AM -0400 X-Vim: vim:tw=70:ts=4:sw=4 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Poul-Henning Kamp had the audacity to say: > A good example to look at is the pci/xrpu.c file, that driver > barely does anything but a mmap. > > Poul-Henning > Hey, thanks. That's a great idea. I'll check that out. I've been leafing through the rather monolithic meteor, brooktree, and even the PCI pcm code. > In message <3917E087.B2477FA0@openet-telecom.com>, Peter Edwards writes: > >Hi, > >Just trying to take some of the aforementioned "magic" out of i386_btop > >/ vtop :-) > > > >> return( atop(vtophys(bktr->bigbuf) + offset) ); > > > >atop (I assume) stands for "address to page" (given a pointer, give the > >number of the page it is in) > >vtophys is "virtual to physical". (given a pointer in a virtual address > >space, find out the physical address of the backing memory.) > > > >My understanding is that mmap(2) will allocate a portion of the calling > >process's address space, and for each page it needs to map, will call > >the device's mmap function, giving it the calculated offset (and the > >protection attributes). > > > >The device's mmap returns the index of the physical page of the memory > >to be inserted under the virtual addresses the process sees. > > > >simplified_mmap_syscall_for_device(dev_t device, size_t len, off_t > >offset) > >{ > > caddr_t ptr = alloc_address_space(len); > > > > assert(ptr % PAGESIZE == 0); > > > > while (len) { > > pageno = device->mmap(offset); /* Call device's mmap */ > > map_address_to_page(ptr, pageno); > > len -= PAGESIZE; > > offset += PAGESIZE; > > ptr += PAGESIZE; > > } > >} > > > >So, the call above is returning the page number (of the physical address > >(of bktr->bigbuf)). > > > >Of course, My ignorance will probably be corrected in due course! > >-- > >Peter. > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > >with "unsubscribe freebsd-hackers" in the body of the message > > > > -- > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > phk@FreeBSD.ORG | TCP/IP since RFC 956 > FreeBSD coreteam member | BSD since 4.3-tahoe > Never attribute to malice what can adequately be explained by incompetence. > -- Coleman Kane President, UC Free O.S. Users Group - http://pohl.ececs.uc.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 7:17:45 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from virtual-voodoo.com (virtual-voodoo.com [204.120.165.254]) by hub.freebsd.org (Postfix) with ESMTP id 2D52537B87F for ; Tue, 9 May 2000 07:17:42 -0700 (PDT) (envelope-from steve@virtual-voodoo.com) Received: (from steve@localhost) by virtual-voodoo.com (8.10.0/8.10.0) id e49ELBu07836 for freebsd-hackers@freebsd.org; Tue, 9 May 2000 09:21:11 -0500 (EST) Date: Tue, 9 May 2000 09:21:11 -0500 (EST) From: Steve Ames Message-Id: <200005091421.e49ELBu07836@virtual-voodoo.com> To: freebsd-hackers@freebsd.org Subject: in_cksum changes break IPSEC? Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Code from this morning (9AM EDT) gives me the following errors: linking kernel ipsec.o: In function `ipsec4_encapsulate': ipsec.o(.text+0x1ab9): undefined reference to `in_cksum' *** Error code 1 If I comment out: #options IPSEC #IP security #options IPSEC_ESP #IP security (crypto; define w/ IPSEC) #options IPSEC_IPV6FWD #IP security tunnel for IPv6 #options IPSEC_DEBUG #debug for IP security All works fine. I notice that: sys/i386/i386/in_cksum.c and src/sys/i386/include/in_cksum.h have both been updated recently... connection? -Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 7:28:32 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 17ED737B87F for ; Tue, 9 May 2000 07:28:28 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id IAA07694; Tue, 9 May 2000 08:28:06 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id IAA03403; Tue, 9 May 2000 08:28:06 -0600 (MDT) (envelope-from nate) Date: Tue, 9 May 2000 08:28:06 -0600 (MDT) Message-Id: <200005091428.IAA03403@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Wes Peters Cc: Nate Williams , Olaf Hoyer , freebsd-hackers@FreeBSD.ORG Subject: Re: [OT] Finding people with GSM phones (was Re: GPS heads up ) In-Reply-To: <39179C46.382BDA46@softweyr.com> References: <200005061847.LAA07298@mass.cdrom.com> <200005061607.KAA17627@nomad.yogotech.com> <4.1.20000506204714.00cd5290@mail.rz.fh-wilhelmshaven.de> <39160924.D00CAF40@softweyr.com> <200005081703.LAA27088@nomad.yogotech.com> <39179C46.382BDA46@softweyr.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Because the a large percentage (majority?) of cell phones are used in > > locations where GPS can't be used effectively (think any big city inside > > of a car), Qualcomm is not adding GPS chipsets into their phones. > > According to my friend, the solutions they have designed work for both > > the existing analog and digital phones being used today, and are much > > better than the 100m accuracy marks required by law (as stated before, > > the number 25m jumps to mind). > > As long as you have multiple towers in reach. Sure. > This limitation certainly applies to analog coverage, which will > probably be pretty much deprecated by 2003, and with digital phones at > the extreme edge of coverage. > > So, they get higher accuracy solutions that don't require changes to > > their phones, thus driving up costs. (Although it does require changes > > to the cell towers, but that's a much cheaper alternative since there > > are fewer of them *PLUS* it works with old phones, making it *very* > > attractive to the government.) > > I don't think the government ever stops to consider the cost of the > idiotic requirements they levy on people. The phrase we're groping > for here is "unfunded mandate." Ahh, but like my friends at Qualcomm postulated, we can't completely comply with the order using GPS (phones outside of cell coverage, phones just turned on, etc...), so we're not putting GPS chipsets on the phone, since the amount of failures will be far less with the existing solution than they would be with a GPS solution. We're damned in we do, and we're damned if we don't, but at least the former way we'll lose less money. :) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 7:44:57 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from ns.mtelecom.ru (host3.mtelecom.ru [212.44.147.3]) by hub.freebsd.org (Postfix) with ESMTP id CD0F837B6A2 for ; Tue, 9 May 2000 07:44:44 -0700 (PDT) (envelope-from s@gw2.mtelecom.ru) Received: from gw2.mtelecom.ru (gw2.mtelecom.ru [192.168.3.2]) by ns.mtelecom.ru (8.8.5/8.8.5) with ESMTP id SAA02158 for ; Tue, 9 May 2000 18:44:40 +0400 (MSD) Received: from localhost (s@localhost) by gw2.mtelecom.ru (8.9.1a/8.9.1) with SMTP id SAA14349 for ; Tue, 9 May 2000 18:44:40 +0400 (MSD) Date: Tue, 9 May 2000 18:44:40 +0400 (MSD) From: Vsevolod Semenov X-Sender: s@gw2 Reply-To: seva@mtelecom.ru To: freebsd-hackers@freebsd.org Subject: extremaly useful option for mount_portal Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG i've just invented extremaly useful option for mount_portal utils! to make non blocking tcp connections. if open(2) /p/tcp/address/port/nodel file descriptor will retuned in non-blocked mode. 55a56 > #include 83a85 > int nodel = 0; 107c109,112 < return (EINVAL); --- > if(strcmp(p,"nodel")==0) > nodel=1; > else > return (EINVAL); 155c160,164 < --- > if(nodel) > if(fcntl(so,F_SETFL,O_NONBLOCK)==-1){ > syslog(LOG_ERR,"fcntl: %m"); > return(errno); > } 159a169,172 > } > if(nodel&&errno==EINPROGRESS){ > *fdp=so; > return(0); seva To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 7:46:52 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from anchor-post-33.mail.demon.net (anchor-post-33.mail.demon.net [194.217.242.91]) by hub.freebsd.org (Postfix) with ESMTP id 4A7B437BE64 for ; Tue, 9 May 2000 07:46:38 -0700 (PDT) (envelope-from n_hibma@calcaphon.com) Received: from calcaphon.demon.co.uk ([193.237.19.5] helo=bluebottle.qubesoft.com) by anchor-post-33.mail.demon.net with esmtp (Exim 2.12 #1) id 12pBHN-00086Z-0X; Tue, 9 May 2000 15:46:34 +0100 Received: from henny.webweaving.org (henny.qubesoft.com [192.168.1.5]) by bluebottle.qubesoft.com (8.9.3/8.9.1) with ESMTP id PAA66264; Tue, 9 May 2000 15:46:32 +0100 (BST) (envelope-from n_hibma@calcaphon.com) Received: from localhost (localhost [127.0.0.1]) by henny.webweaving.org (8.9.3/8.9.3) with ESMTP id PAA62950; Tue, 9 May 2000 15:43:22 +0100 (BST) (envelope-from n_hibma@calcaphon.com) Date: Tue, 9 May 2000 15:43:22 +0100 (BST) From: Nick Hibma X-Sender: n_hibma@localhost Reply-To: Nick Hibma To: Steve Ames Cc: FreeBSD Hackers Mailing List Subject: Re: in_cksum changes break IPSEC? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The patch below should fix it for you. -- n_hibma@webweaving.org n_hibma@freebsd.org USB project http://www.etla.net/~n_hibma/ ---------- Forwarded message ---------- Date: Tue, 9 May 2000 12:49:16 +0100 (BST) From: Nick Hibma To: Jonathan Lemon Cc: cvs-committers@freebsd.org Subject: Re: cvs commit: src/sys/alpha/alpha in_cksum.c src/sys/alpha/include in_cksum.h src/sys/i386/i386 in_cksum.c src/sys/i386/include in_cksum.h The following patch makes LINT compile again. Could you commit it if you agree? Thanks. su-2.03# cvs diff Index: fil.c =================================================================== RCS file: /home/ncvs/src/sys/netinet/fil.c,v retrieving revision 1.11 diff -w -u -r1.11 fil.c --- fil.c 2000/05/01 20:13:50 1.11 +++ fil.c 2000/05/09 11:49:10 @@ -87,6 +87,8 @@ #endif #include "netinet/ipl.h" +#include "machine/in_cksum.h" + #ifndef _KERNEL # include "ipf.h" # include "ipt.h" Index: ip_fil.c =================================================================== RCS file: /home/ncvs/src/sys/netinet/ip_fil.c,v retrieving revision 1.14 diff -w -u -r1.14 ip_fil.c --- ip_fil.c 2000/02/10 21:29:09 1.14 +++ ip_fil.c 2000/05/09 11:49:33 @@ -114,6 +114,8 @@ extern int ip_optcopy __P((struct ip *, struct ip *)); #endif +#include "machine/in_cksum.h" + extern struct protosw inetsw[]; On Sat, 6 May 2000, Jonathan Lemon wrote: > jlemon 2000/05/06 11:18:33 PDT > > Modified files: > sys/alpha/alpha in_cksum.c > sys/alpha/include in_cksum.h > sys/i386/i386 in_cksum.c > sys/i386/include in_cksum.h > Log: > Make in_cksum() a macro call to in_cksum_skip(), since it provides the > same functionality. Sharing code should help cache issues. > > Remove in_cksum_partial, since its not being used, and we now have > a way to compute partial checksums on mbuf chains. > > Revision Changes Path > 1.4 +1 -33 src/sys/alpha/alpha/in_cksum.c > 1.5 +3 -4 src/sys/alpha/include/in_cksum.h > 1.20 +1 -344 src/sys/i386/i386/in_cksum.c > 1.9 +3 -4 src/sys/i386/include/in_cksum.h > > -- n_hibma@webweaving.org n_hibma@freebsd.org USB project http://www.etla.net/~n_hibma/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 7:57:49 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from ns.mtelecom.ru (host3.mtelecom.ru [212.44.147.3]) by hub.freebsd.org (Postfix) with ESMTP id 031E637B86B for ; Tue, 9 May 2000 07:57:45 -0700 (PDT) (envelope-from s@gw2.mtelecom.ru) Received: from gw2.mtelecom.ru (gw2.mtelecom.ru [192.168.3.2]) by ns.mtelecom.ru (8.8.5/8.8.5) with ESMTP id SAA02744 for ; Tue, 9 May 2000 18:57:41 +0400 (MSD) Received: from localhost (s@localhost) by gw2.mtelecom.ru (8.9.1a/8.9.1) with SMTP id SAA14440 for ; Tue, 9 May 2000 18:57:41 +0400 (MSD) Date: Tue, 9 May 2000 18:57:41 +0400 (MSD) From: Vsevolod Semenov X-Sender: s@gw2 Reply-To: seva@mtelecom.ru To: freebsd-hackers@freebsd.org Subject: what is /etc/[s]pwd.db stay for? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG pw showuser shows user tens times slowly then grep user /etc/[master.]passwd pwd_mkdb can't create [s]pwd.db files for 1000000 users. what reason to use db stuff in libc/gen/getpwent.c? seva To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 8:44: 0 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from verdi.nethelp.no (verdi.nethelp.no [158.36.41.162]) by hub.freebsd.org (Postfix) with SMTP id 2EDF937BE15 for ; Tue, 9 May 2000 08:43:51 -0700 (PDT) (envelope-from sthaug@nethelp.no) Received: (qmail 81906 invoked by uid 1001); 9 May 2000 15:43:49 +0000 (GMT) To: des@flood.ping.uio.no Cc: hackers@freebsd.org Subject: Re: Netfinity 5600 patches From: sthaug@nethelp.no In-Reply-To: Your message of "09 May 2000 13:19:07 +0200" References: X-Mailer: Mew version 1.05+ on Emacs 19.34.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Tue, 09 May 2000 17:43:49 +0200 Message-ID: <81904.957887029@verdi.nethelp.no> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I still have uncommitted patches that add support for the Netfinity > 5600's host-to-PCI bridge. They're not perfect, but they work fine. > > As far as I can see, these patches aren't needed for 4.0-STABLE. I have a 4.0-STABLE system here with no kernel patches, and it seems to be working fine. Note that there is already support for the RCC chipsets in /sys/i386/isa/pcibus.c. See attached boot messages. For 3.x, isn't Andrew Gallatin's patch more general? See http://docs.FreeBSD.org/cgi/getmsg.cgi?fetch=60828+0+archive/2000/freebsd-smp/20000423.freebsd-smp However, if anybody can tell me why there seems to be quite a bit of overlap between nexus_pcib_is_host_bridge (/sys/i386/isa/pcibus.c) and chip_match (/sys/pci/pcisupport.c), I'd be happy. Examples of overlap are: 0x00011039 (SiS 5591 host to AGP bridge) and 0x00051004 (VLSI 82C592 Host to PCI bridge). Steinar Haug, Nethelp consulting, sthaug@nethelp.no ---------------------------------------------------------------------- Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-STABLE #0: Tue May 9 15:55:31 CEST 2000 toor@mail1.enitel.no:/local/freebsd/stable4/src/sys/compile/MAIL1_SMP Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon (599.71-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x681 Stepping = 1 Features=0x387fbff real memory = 939503616 (917484K bytes) avail memory = 910626816 (889284K bytes) Programming 16 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 Programming 16 pins in IOAPIC #1 IOAPIC #1 intpin 0 -> irq 16 IOAPIC #1 intpin 2 -> irq 17 IOAPIC #1 intpin 3 -> irq 18 IOAPIC #1 intpin 4 -> irq 21 IOAPIC #1 intpin 5 -> irq 22 IOAPIC #1 intpin 6 -> irq 23 IOAPIC #1 intpin 10 -> irq 5 IOAPIC #1 intpin 11 -> irq 2 IOAPIC #1 intpin 12 -> irq 19 IOAPIC #1 intpin 13 -> irq 20 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 14, version: 0x000f0011, at 0xfec00000 io1 (APIC): apic id: 15, version: 0x000f0011, at 0xfec01000 Preloaded elf kernel "kernel" at 0xc0323000. Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pci0: at 1.0 pci0: (vendor=0x1022, dev=0x2000) at 2.0 irq 2 ahc0: port 0x2200-0x22ff mem 0xfebfe000-0xfebfefff irq 16 at device 9.0 on pci0 ahc0: aic7890/91 Wide Channel A, SCSI Id=7, 16/255 SCBs pcib3: at device 10.0 on pci0 pci1: on pcib3 fxp0: port 0x3100-0x311f mem 0xfe800000-0xfe8fffff,0xfea00000-0xfea00fff irq 17 at device 4.0 on pci1 fxp0: Ethernet address 00:d0:b7:5f:b7:a8 fxp1: port 0x3120-0x313f mem 0xfe900000-0xfe9fffff,0xfea01000-0xfea01fff irq 18 at device 5.0 on pci1 fxp1: Ethernet address 00:d0:b7:5f:b7:a9 isab0: at device 15.0 on pci0 isa0: on isab0 atapci0: port 0x840-0x84f at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 pci0: at 15.2 irq 9 pcib2: on motherboard pci2: on pcib2 ahc1: port 0x4b00-0x4bff mem 0xf6fff000-0xf6ffffff irq 19 at device 3.0 on pci2 ahc1: aic7896/97 Wide Channel A, SCSI Id=7, 16/255 SCBs ahc2: port 0x4c00-0x4cff mem 0xf6ffe000-0xf6ffefff irq 19 at device 3.1 on pci2 ahc2: aic7896/97 Wide Channel B, SCSI Id=7, 16/255 SCBs ti0: mem 0xf6ff8000-0xf6ffbfff irq 21 at device 5.0 on pci2 ti0: Ethernet address: 00:a0:cc:73:32:dd fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A APIC_IO: Testing 8254 interrupt delivery APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 intpin 2 APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0 SMP: AP CPU #1 Launched! acd0: CDROM at ata0-master using PIO4 Waiting 3 seconds for SCSI devices to settle sa0 at ahc0 bus 0 target 0 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit) pass1 at ahc0 bus 0 target 0 lun 1 pass1: Removable Changer SCSI-2 device pass1: 40.000MB/s transfers (20.000MHz, offset 15, 16bit) pass4 at ahc1 bus 0 target 15 lun 0 pass4: Fixed Processor SCSI-2 device pass4: 3.300MB/s transfers da0 at ahc1 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing Enabled da0: 8678MB (17774160 512 byte sectors: 255H 63S/T 1106C) da1 at ahc1 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing Enabled da1: 8678MB (17774160 512 byte sectors: 255H 63S/T 1106C) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 9: 8:24 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id C122437B710 for ; Tue, 9 May 2000 09:08:19 -0700 (PDT) (envelope-from des@flood.ping.uio.no) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id SAA20459; Tue, 9 May 2000 18:08:13 +0200 (CEST) (envelope-from des@flood.ping.uio.no) To: sthaug@nethelp.no Cc: hackers@freebsd.org Subject: Re: Netfinity 5600 patches References: <81904.957887029@verdi.nethelp.no> From: Dag-Erling Smorgrav Date: 09 May 2000 18:08:13 +0200 In-Reply-To: sthaug@nethelp.no's message of "Tue, 09 May 2000 17:43:49 +0200" Message-ID: Lines: 19 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG sthaug@nethelp.no writes: > As far as I can see, these patches aren't needed for 4.0-STABLE. I > have a 4.0-STABLE system here with no kernel patches, and it seems > to be working fine. Note that there is already support for the RCC > chipsets in /sys/i386/isa/pcibus.c. See attached boot messages. You're right - I never got around to testing a recent 4.0 on the 5600. I've tried running 3.4-RELEASE as well as whichever version of 4.0 is on the latest snapshot CD. > For 3.x, isn't Andrew Gallatin's patch more general? See > http://docs.FreeBSD.org/cgi/getmsg.cgi?fetch=60828+0+archive/2000/freebsd-smp/20000423.freebsd-smp Looks like it - and Andrew's the one who added support for the RCC in the first place. DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 9:48:30 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 0866237B718 for ; Tue, 9 May 2000 09:48:27 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id KAA49267; Tue, 9 May 2000 10:48:25 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id KAA86301; Tue, 9 May 2000 10:48:08 -0600 (MDT) Message-Id: <200005091648.KAA86301@harmony.village.org> To: Duncan Barclay Subject: Re: Getting an aligned IO port Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Tue, 09 May 2000 07:56:37 BST." References: Date: Tue, 09 May 2000 10:48:07 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Duncan Barclay writes: : Should do as all I've done is "newbusified" the old hacks that were needed to : turn on the ethnernet. I couldn't get it to work before, so I think the answer is no. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 11:18: 3 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.wrs.com (unknown-1-11.wrs.com [147.11.1.11]) by hub.freebsd.org (Postfix) with ESMTP id 0BF8E37B603 for ; Tue, 9 May 2000 11:17:57 -0700 (PDT) (envelope-from davidhol@windriver.com) Received: from papermill (papermill [147.11.48.34]) by mail.wrs.com (8.9.3/8.9.1) with ESMTP id LAA17985; Tue, 9 May 2000 11:17:36 -0700 (PDT) Message-Id: <200005091817.LAA17985@mail.wrs.com> To: "Jordan K. Hubbard" Cc: hackers@FreeBSD.ORG From: David Holloway Subject: Re: What do people think of maybe using the sourceforge software In-reply-to: Your message of "Mon, 08 May 2000 21:41:52 PDT." <14883.957847312@localhost> Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII Date: Tue, 09 May 2000 11:17:52 -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Funny timing don't you think? http://slashdot.org/articles/00/05/09/0853201.shtml In message <14883.957847312@localhost>, "Jordan K. Hubbard" writes: >> 1) Will it scale with 200 developers and (if we put the pr's into the source >> forge interface) all the prs? > >I think this part should scale fairly well. > >> 2) How much stuff well get moved over to sit under the new interface, and ho >w >> hard will that be to accomplish? :) > >That I don't know. Ask me something easier. :-) > >- Jordan > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 12:23:26 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from anchor-post-30.mail.demon.net (anchor-post-30.mail.demon.net [194.217.242.88]) by hub.freebsd.org (Postfix) with ESMTP id 1628337C012 for ; Tue, 9 May 2000 12:23:21 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from nlsys.demon.co.uk ([158.152.125.33] helo=herring.nlsystems.com) by anchor-post-30.mail.demon.net with esmtp (Exim 2.12 #1) id 12pFbD-0001ub-0U; Tue, 9 May 2000 20:23:20 +0100 Received: from salmon.nlsystems.com (salmon.nlsystems.com [10.0.0.3]) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id UAA48112; Tue, 9 May 2000 20:26:37 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Tue, 9 May 2000 20:28:06 +0100 (BST) From: Doug Rabson To: "Jordan K. Hubbard" Cc: hackers@freebsd.org Subject: Re: What do people think of maybe using the sourceforge software? In-Reply-To: <14620.957842046@localhost> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 8 May 2000, Jordan K. Hubbard wrote: > http://sourceforge.net/project/filelist.php?group_id=1 > > Contains the software used by source forge to implement the > project/help desk/download tracker thingie which they themselves use > to manage the various projects registered with source forge. > > I think it's also reasonable to say that FreeBSD itself is a bit too > large to register and run as a sourceforge project, but why not use > the same software to offer a higher level of "polish" to the existing > project infrastructure? Comments? I'm just playing with this stuff a > bit myself right now and will say more once I actually know more about > it. > I've been using it to work on the DRI project recently and I like it. The web-based frontend for creating accounts and managing SSH keys is pretty useful. I'm not quite sure how well the patch manager scales - it barfed when I uploaded a patch containing a large uuencoded file. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 20 8442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 12:26:59 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from finch-post-10.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38]) by hub.freebsd.org (Postfix) with ESMTP id D0AF737BE9E for ; Tue, 9 May 2000 12:26:48 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from nlsys.demon.co.uk ([158.152.125.33] helo=herring.nlsystems.com) by finch-post-10.mail.demon.net with esmtp (Exim 2.12 #1) id 12pFeP-000DkK-0A; Tue, 9 May 2000 19:26:38 +0000 Received: from salmon.nlsystems.com (salmon.nlsystems.com [10.0.0.3]) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id UAA48119; Tue, 9 May 2000 20:29:55 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Tue, 9 May 2000 20:31:24 +0100 (BST) From: Doug Rabson To: sthaug@nethelp.no Cc: des@flood.ping.uio.no, hackers@freebsd.org Subject: Re: Netfinity 5600 patches In-Reply-To: <81904.957887029@verdi.nethelp.no> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 9 May 2000 sthaug@nethelp.no wrote: > > I still have uncommitted patches that add support for the Netfinity > > 5600's host-to-PCI bridge. They're not perfect, but they work fine. > > > > > > As far as I can see, these patches aren't needed for 4.0-STABLE. I > have a 4.0-STABLE system here with no kernel patches, and it seems > to be working fine. Note that there is already support for the RCC > chipsets in /sys/i386/isa/pcibus.c. See attached boot messages. > > For 3.x, isn't Andrew Gallatin's patch more general? See > http://docs.FreeBSD.org/cgi/getmsg.cgi?fetch=60828+0+archive/2000/freebsd-smp/20000423.freebsd-smp > > However, if anybody can tell me why there seems to be quite a bit > of overlap between nexus_pcib_is_host_bridge (/sys/i386/isa/pcibus.c) > and chip_match (/sys/pci/pcisupport.c), I'd be happy. Examples of > overlap are: 0x00011039 (SiS 5591 host to AGP bridge) and 0x00051004 > (VLSI 82C592 Host to PCI bridge). The code in sys/i386/pcibus.c is used to search for all the host-pci bridges so that nexus can grow toplevel pcib instances for each one. The stuff in pcisupport is just informational. In fact, I'm planning to chop it out soon since I want to be able to attach an AGP driver to some of those devices. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 20 8442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 12:40: 3 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id F0F8F37C1F2; Tue, 9 May 2000 12:35:51 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.10.1/8.10.1) with ESMTP id e49JZod13223; Tue, 9 May 2000 12:35:50 -0700 (PDT) Date: Tue, 9 May 2000 12:35:50 -0700 (PDT) From: Doug White To: John Baldwin Cc: freebsd-hackers@FreeBSD.ORG, freebsd-gnats-submit@FreeBSD.ORG Subject: RE: i386/18132: BTX dumps trying to boot w/ dedicated SCSI disks present In-Reply-To: <200005091129.HAA04752@server.baldwin.cx> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 9 May 2000, John Baldwin wrote: > Since %cs=c800, we are in some extra hardware's ROM. The actual fault > since %cx=0000. There may be a return address of f300:0000 on the stack, > would be in the ROM BIOS. It may be that your SCSI controller doesn't > like disks without a normal slice table. Chaulk one up to lame Adaptec software then. Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 13:13:29 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mimer.webgiro.com (mimer.webgiro.com [212.209.29.5]) by hub.freebsd.org (Postfix) with ESMTP id D5F4E37C310 for ; Tue, 9 May 2000 13:09:57 -0700 (PDT) (envelope-from abial@webgiro.com) Received: by mimer.webgiro.com (Postfix, from userid 66) id C45882DC0B; Tue, 9 May 2000 22:13:05 +0200 (CEST) Received: by mx.webgiro.com (Postfix, from userid 1001) id 76A4A7817; Tue, 9 May 2000 22:06:22 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mx.webgiro.com (Postfix) with ESMTP id 7476510E17; Tue, 9 May 2000 22:06:22 +0200 (CEST) Date: Tue, 9 May 2000 22:06:22 +0200 (CEST) From: Andrzej Bialecki To: seva@mtelecom.ru Cc: freebsd-hackers@freebsd.org Subject: Re: what is /etc/[s]pwd.db stay for? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 9 May 2000, Vsevolod Semenov wrote: > > pw showuser shows user tens times slowly then > grep user /etc/[master.]passwd DB files provide you with already parsed and indexed information, more suitable for use in API. grep can't perform many operations from getpw* family... also, the library routines getpw* would have to parse /etc/passwd each time you call them... Try to increase hashsize when using pw and related utilities. It makes a real difference in speed for large user databases. > > pwd_mkdb can't create [s]pwd.db files for 1000000 users. I believe we still have a limit of 65535 user ids in many places in the system, although uid_t is in fact u_int32_t. Or...? > > what reason to use db stuff in libc/gen/getpwent.c? Speed and efficiency :-) Andrzej Bialecki // WebGiro AB, Sweden (http://www.webgiro.com) // ------------------------------------------------------------------- // ------ FreeBSD: The Power to Serve. http://www.freebsd.org -------- // --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 13:13:38 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from search.sparks.net (search.sparks.net [208.5.188.60]) by hub.freebsd.org (Postfix) with ESMTP id 0B08D37C354; Tue, 9 May 2000 13:12:21 -0700 (PDT) (envelope-from dmiller@search.sparks.net) Received: by search.sparks.net (Postfix, from userid 100) id B99A6DC01; Tue, 9 May 2000 16:07:22 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by search.sparks.net (Postfix) with ESMTP id A906DDC00; Tue, 9 May 2000 16:07:22 -0400 (EDT) Date: Tue, 9 May 2000 16:07:22 -0400 (EDT) From: David Miller To: Henk Wevers Cc: Doug Barton , hackers@freebsd.org, stable@freebsd.org Subject: RE: ps does not work after a cvsupdate to 4.0-STABLE In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 7 May 2000, Henk Wevers wrote: > > Yes i did, i found the solution in the Dutch FreeBSD mailinglist > nlfug@nlfug.nl > FAQ IIRC. > > libkvm is out of sync. [make libkvm and ps] > This did work fine. I suffered the same problem, and got to wondering; why would make buildworld after the cvsup not do this? I thought the whole point of buildworld was to compile and install everything as a coordinated set? Thanks, --- David To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 14:21:14 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from ns1.cioe.com (ns1.cioe.com [204.120.165.37]) by hub.freebsd.org (Postfix) with ESMTP id 97D1B37C0C6 for ; Tue, 9 May 2000 14:21:07 -0700 (PDT) (envelope-from steve@virtual-voodoo.com) Received: from ny1wsh031 (blackhole.cioe.com [204.120.165.44]) by ns1.cioe.com (8.9.3/8.9.3) with SMTP id QAA69719; Tue, 9 May 2000 16:20:56 -0500 (EST) (envelope-from steve@virtual-voodoo.com) Message-ID: <00ae01bfb9fc$fbfaad70$851a050a@winstar.com> From: "Steven E. Ames" To: "Nick Hibma" Cc: "FreeBSD Hackers Mailing List" References: Subject: Re: in_cksum changes break IPSEC? Date: Tue, 9 May 2000 16:24:39 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This (in the form of the commit that Paul Saab made a few hours after you sent this) fixed things up for me. Thanks everyone. -Steve ----- Original Message ----- From: "Nick Hibma" Sent: Tuesday, May 09, 2000 9:43 AM Subject: Re: in_cksum changes break IPSEC? > > The patch below should fix it for you. > > -- > n_hibma@webweaving.org > n_hibma@freebsd.org USB project > http://www.etla.net/~n_hibma/ > > ---------- Forwarded message ---------- > Date: Tue, 9 May 2000 12:49:16 +0100 (BST) > From: Nick Hibma > To: Jonathan Lemon > Cc: cvs-committers@freebsd.org > Subject: Re: cvs commit: src/sys/alpha/alpha in_cksum.c > src/sys/alpha/include in_cksum.h src/sys/i386/i386 in_cksum.c > src/sys/i386/include in_cksum.h > > > The following patch makes LINT compile again. Could you commit it if you > agree? Thanks. > > > su-2.03# cvs diff > Index: fil.c > =================================================================== > RCS file: /home/ncvs/src/sys/netinet/fil.c,v > retrieving revision 1.11 > diff -w -u -r1.11 fil.c > --- fil.c 2000/05/01 20:13:50 1.11 > +++ fil.c 2000/05/09 11:49:10 > @@ -87,6 +87,8 @@ > #endif > #include "netinet/ipl.h" > > +#include "machine/in_cksum.h" > + > #ifndef _KERNEL > # include "ipf.h" > # include "ipt.h" > Index: ip_fil.c > =================================================================== > RCS file: /home/ncvs/src/sys/netinet/ip_fil.c,v > retrieving revision 1.14 > diff -w -u -r1.14 ip_fil.c > --- ip_fil.c 2000/02/10 21:29:09 1.14 > +++ ip_fil.c 2000/05/09 11:49:33 > @@ -114,6 +114,8 @@ > extern int ip_optcopy __P((struct ip *, struct ip *)); > #endif > > +#include "machine/in_cksum.h" > + > > extern struct protosw inetsw[]; > > > > > On Sat, 6 May 2000, Jonathan Lemon wrote: > > > jlemon 2000/05/06 11:18:33 PDT > > > > Modified files: > > sys/alpha/alpha in_cksum.c > > sys/alpha/include in_cksum.h > > sys/i386/i386 in_cksum.c > > sys/i386/include in_cksum.h > > Log: > > Make in_cksum() a macro call to in_cksum_skip(), since it provides the > > same functionality. Sharing code should help cache issues. > > > > Remove in_cksum_partial, since its not being used, and we now have > > a way to compute partial checksums on mbuf chains. > > > > Revision Changes Path > > 1.4 +1 -33 src/sys/alpha/alpha/in_cksum.c > > 1.5 +3 -4 src/sys/alpha/include/in_cksum.h > > 1.20 +1 -344 src/sys/i386/i386/in_cksum.c > > 1.9 +3 -4 src/sys/i386/include/in_cksum.h > > > > > > -- > n_hibma@webweaving.org > n_hibma@freebsd.org USB project > http://www.etla.net/~n_hibma/ > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 14:46:58 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from thehousleys.net (frenchknot.ne.mediaone.net [24.147.224.201]) by hub.freebsd.org (Postfix) with ESMTP id 2A97137B677; Tue, 9 May 2000 14:46:36 -0700 (PDT) (envelope-from jim@thehousleys.net) Received: from thehousleys.net (baby.int.thehousleys.net [192.168.0.24]) by thehousleys.net (8.9.3/8.9.3) with ESMTP id RAA97601; Tue, 9 May 2000 17:46:19 -0400 (EDT) Message-ID: <3918872B.778997DD@thehousleys.net> Date: Tue, 09 May 2000 17:46:19 -0400 From: James Housley Organization: The Housleys dot Net X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 3.4-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: David Miller Cc: Henk Wevers , Doug Barton , hackers@FreeBSD.ORG, stable@FreeBSD.ORG Subject: Re: ps does not work after a cvsupdate to 4.0-STABLE References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David Miller wrote: > > On Sun, 7 May 2000, Henk Wevers wrote: > > > > > Yes i did, i found the solution in the Dutch FreeBSD mailinglist > > nlfug@nlfug.nl > > FAQ IIRC. > > > > libkvm is out of sync. > > [make libkvm and ps] > > > This did work fine. > > I suffered the same problem, and got to wondering; why would make > buildworld after the cvsup not do this? I thought the whole point of > buildworld was to compile and install everything as a coordinated set? > make buildworld does just that "builds everything". make installworld install everything. You have to do both. Jim -- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 15:36:18 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.utexas.edu (wb3-a.mail.utexas.edu [128.83.126.138]) by hub.freebsd.org (Postfix) with SMTP id B533B37BF04 for ; Tue, 9 May 2000 15:36:12 -0700 (PDT) (envelope-from oscars@mail.utexas.edu) Received: (qmail 11109 invoked by uid 0); 9 May 2000 22:36:09 -0000 Received: from chepe.cc.utexas.edu (HELO chepe) (128.83.135.25) by umbs-smtp-3 with SMTP; 9 May 2000 22:36:09 -0000 Message-Id: <4.2.2.20000509173328.00b03e00@mail.utexas.edu> X-Sender: oscars@mail.utexas.edu X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2 Date: Tue, 09 May 2000 17:34:37 -0500 To: freebsd-hackers@FreeBSD.ORG From: Oscar Ricardo Silva Subject: Re: ps does not work after a cvsupdate to 4.0-STABLE In-Reply-To: <3918872B.778997DD@thehousleys.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG And then after you do both (or you could just run "make world"), you'll need to recompile the kernel. I ran both and then had problems with "ps" and found several references saying that the kernel needed to be recompiled afterwards. Oscar At 05:46 PM 5/9/00 -0400, James Housley, you wrote: >David Miller wrote: > > > > On Sun, 7 May 2000, Henk Wevers wrote: > > > > > > > > Yes i did, i found the solution in the Dutch FreeBSD mailinglist > > > nlfug@nlfug.nl > > > FAQ IIRC. > > > > > > libkvm is out of sync. > > > > [make libkvm and ps] > > > > > This did work fine. > > > > I suffered the same problem, and got to wondering; why would make > > buildworld after the cvsup not do this? I thought the whole point of > > buildworld was to compile and install everything as a coordinated set? > > >make buildworld does just that "builds everything". make installworld >install everything. You have to do both. "Don't believe the hype" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 18:36:35 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id B7A8B37BEB4; Tue, 9 May 2000 18:36:33 -0700 (PDT) (envelope-from kris@FreeBSD.org) Received: from localhost (kris@localhost) by freefall.freebsd.org (8.9.3/8.9.2) with ESMTP id SAA66455; Tue, 9 May 2000 18:36:32 -0700 (PDT) (envelope-from kris@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: kris owned process doing -bs Date: Tue, 9 May 2000 18:36:32 -0700 (PDT) From: Kris Kennaway To: Oscar Ricardo Silva Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: ps does not work after a cvsupdate to 4.0-STABLE In-Reply-To: <4.2.2.20000509173328.00b03e00@mail.utexas.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 9 May 2000, Oscar Ricardo Silva wrote: > And then after you do both (or you could just run "make world"), you'll > need to recompile the kernel. I ran both and then had problems with "ps" > and found several references saying that the kernel needed to be recompiled > afterwards. The rule of thumb is that they both need to be compiled with precisely the same sources. In other words, if you build and install world, then cvsup, then build kernel, you're asking for trouble. Kris ---- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 18:40:11 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.100.7]) by hub.freebsd.org (Postfix) with ESMTP id F0F1337B90B for ; Tue, 9 May 2000 18:40:01 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.9.3/8.9.3) with ESMTP id VAA60834 for ; Tue, 9 May 2000 21:39:57 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: Date: Tue, 9 May 2000 21:40:02 -0400 To: hackers@FreeBSD.org From: Garance A Drosihn Subject: PR's and patches Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I imagine this sounds stupid, but... Awhile ago I submitted a PR with a patch in it. Today I was thinking that I would clean it up, and since I didn't keep a copy of the earlier patch I thought I would get it from the PR. I used 'lynx' to download the PR, and it seemed to come down correctly (tab-characters where I'd expect them, etc), but the patch did not apply. Turned out that because I was going thru a web interface, things like '<', '>', and '&' were changed to html-safe equivalents. Good for HTML, bad for C. So, my dumb question is, how DO you pull patches out of a PR? --- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or drosih@rpi.edu Rensselaer Polytechnic Institute To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 20:11:29 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from quack.kfu.com (quack.kfu.com [170.1.70.2]) by hub.freebsd.org (Postfix) with ESMTP id 1128A37B593 for ; Tue, 9 May 2000 20:11:16 -0700 (PDT) (envelope-from nsayer@quack.kfu.com) Received: from icarus.kfu.com (icarus.kfu.com [170.1.70.37]) by quack.kfu.com (8.9.2/8.9.3) with ESMTP id UAA09710 for ; Tue, 9 May 2000 20:11:03 -0700 (PDT) (envelope-from nsayer@quack.kfu.com) Received: from quack.kfu.com by icarus.kfu.com with ESMTP (8.9.3//ident-1.0) id UAA00616; Tue, 9 May 2000 20:11:02 -0700 (PDT) Message-ID: <3918D346.644C3DEB@quack.kfu.com> Date: Tue, 09 May 2000 20:11:02 -0700 From: Nick Sayer X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: PR bin/18474 [HEADS UP] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I would like to commit the fix in PR18474. It fixes what I percieve to be a bug in sed. I fully admit that it is possible that this is not really a bug but some sort of intended behavior, albeit I could not find any *nix where the behavior was the same as indicated in the bug. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 20:38:55 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id D8EB337B6AF for ; Tue, 9 May 2000 20:38:51 -0700 (PDT) (envelope-from mjacob@feral.com) Received: from semuta.feral.com (semuta [192.67.166.70]) by feral.com (8.9.3/8.9.3) with ESMTP id UAA31888; Tue, 9 May 2000 20:37:26 -0700 Date: Tue, 9 May 2000 20:37:54 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: Christian Weisgerber Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: bin/18312: FreeBSD System Recovery -- mt not statically linked In-Reply-To: <8f7cd8$1sgv$1@bigeye.rhein-neckar.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Well, I'm not sure what consensus is about this, but I'm gone for 3 weeks. Soembody assign this one to me if you want me 'own' the issue when I get back. On 8 May 2000, Christian Weisgerber wrote: > Sheldon Hearn wrote: > > > Given that having things move around in the base system carries with it > > varying degrees of pain, can you guys just explain why this is actually > > necessary? > > Your tape drive has a quirk but no entry yet in the kernel quirk > table, (or you simply use non-default settings for your backups > for some good reason), and you need to manually set the block size, > density, or some such before you can read back your backup. > > (Is the EOT model an issue for reading, too?) > > > Didn't someone point out a way to use restore in the absence > > of mt? > > You can use restore's "-s" flag to position to a particular file. > > -- > Christian "naddy" Weisgerber naddy@mips.inka.de > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 21:45: 3 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id CD75837B6C5 for ; Tue, 9 May 2000 21:44:57 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id XAA24550; Tue, 9 May 2000 23:43:23 -0500 (CDT) (envelope-from dan) Date: Tue, 9 May 2000 23:43:22 -0500 From: Dan Nelson To: Garance A Drosihn Cc: hackers@FreeBSD.ORG Subject: Re: PR's and patches Message-ID: <20000509234322.A18368@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.14i In-Reply-To: ; from "Garance A Drosihn" on Tue May 9 21:40:02 GMT 2000 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (May 09), Garance A Drosihn said: > Awhile ago I submitted a PR with a patch in it. Today I was thinking > that I would clean it up, and since I didn't keep a copy of the > earlier patch I thought I would get it from the PR. > > I used 'lynx' to download the PR, and it seemed to come down > correctly (tab-characters where I'd expect them, etc), but the patch > did not apply. Turned out that because I was going thru a web > interface, things like '<', '>', and '&' were changed to html-safe > equivalents. Good for HTML, bad for C. > > So, my dumb question is, how DO you pull patches out of a PR? The best way is to fetch the PR through a protocol that doesn't force you to escape characters :) I can't find the gnats database on ftp.freebsd.org, so your only solution would probably be to cvsup the gnats collection (130 MB though). A quick hack to get a single patch downloaded cleanly would be to load lynx up on the page, and P)rint it to a local file. Then patch -l should work. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 21:58:18 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from tomts2-srv.bellnexxia.net (tomts2.bellnexxia.net [209.226.175.140]) by hub.freebsd.org (Postfix) with ESMTP id C8A5437B863 for ; Tue, 9 May 2000 21:58:00 -0700 (PDT) (envelope-from hoek@FreeBSD.org) Received: from Hamilton-ppp44812.sympatico.ca ([206.172.130.71]) by tomts2-srv.bellnexxia.net (InterMail vM.4.01.02.17 201-229-119) with ESMTP id <20000510045754.IMPO1435.tomts2-srv.bellnexxia.net@Hamilton-ppp44812.sympatico.ca>; Wed, 10 May 2000 00:57:54 -0400 Received: (from tim@localhost) by Hamilton-ppp44812.sympatico.ca (8.9.3/8.9.1) id AAA99547; Wed, 10 May 2000 00:57:50 -0400 (EDT) (envelope-from tim) Date: Wed, 10 May 2000 00:57:49 -0400 From: Tim Vanderhoek To: Dan Nelson Cc: Garance A Drosihn , hackers@FreeBSD.ORG Subject: Re: PR's and patches Message-ID: <20000510005749.A99436@Hamilton-ppp44812.sympatico.ca> References: <20000509234322.A18368@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <20000509234322.A18368@dan.emsphone.com>; from Dan Nelson on Tue, May 09, 2000 at 11:43:22PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > In the last episode (May 09), Garance A Drosihn said: > > > > I used 'lynx' to download the PR, and it seemed to come down > > correctly (tab-characters where I'd expect them, etc), but the patch Use `w3m -dump http://www.FreeBSD.org/cgi/query-pr.cgi?pr=#### | patch`. It will correctly download the file for you. Lynx just makes a mess of the thing no matter what you try to do. The patch(1) is smart enough to realize that the patch is indented by four spaces and smart enough to realize that some of the text is not part of the patch. -- Signature withheld by request of author. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 22:17:43 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from dt051n0b.san.rr.com (dt051n0b.san.rr.com [204.210.32.11]) by hub.freebsd.org (Postfix) with ESMTP id 6231E37B72B for ; Tue, 9 May 2000 22:17:41 -0700 (PDT) (envelope-from DougB@gorean.org) Received: from gorean.org (doug@master [10.0.0.2]) by dt051n0b.san.rr.com (8.9.3/8.9.3) with ESMTP id WAA83422; Tue, 9 May 2000 22:17:28 -0700 (PDT) (envelope-from DougB@gorean.org) Message-ID: <3918F0E8.60E66D8A@gorean.org> Date: Tue, 09 May 2000 22:17:28 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 5.0-CURRENT-0508 i386) X-Accept-Language: en MIME-Version: 1.0 To: Andrzej Bialecki Cc: seva@mtelecom.ru, freebsd-hackers@freebsd.org Subject: Re: what is /etc/[s]pwd.db stay for? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Andrzej Bialecki wrote: > > pwd_mkdb can't create [s]pwd.db files for 1000000 users. > > I believe we still have a limit of 65535 user ids in many places in the > system, although uid_t is in fact u_int32_t. Or...? I'm not sure what you mean by "many places in the system." 4.0+ at least does not have that limitation for system binaries, although you're taking your life in your hands with other people's stuff. I have several systems with uid's over the 65535 mark, no problems at all. Doug -- "Live free or die" - State motto of my ancestral homeland, New Hampshire Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 22:48:11 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from turtle.looksharp.net (cc360882-a.strhg1.mi.home.com [24.2.221.22]) by hub.freebsd.org (Postfix) with ESMTP id DEEF537B7C6; Tue, 9 May 2000 22:48:07 -0700 (PDT) (envelope-from bsdx@looksharp.net) Received: from localhost (bsdx@localhost) by turtle.looksharp.net (8.9.3/8.9.3) with ESMTP id BAA33177; Wed, 10 May 2000 01:48:36 -0400 (EDT) (envelope-from bsdx@looksharp.net) Date: Wed, 10 May 2000 01:48:36 -0400 (EDT) From: Adam To: hackers@freebsd.org, paul@freebsd.org Subject: Supporting an "A.T.I." pnp PCNet ISA-II card Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I have come across two network cards that I would like to use with FreeBSD. They have TP and fibre interfaces on them; I grabbed them for free just for the novelty of having a nic with fibre on it :) But at this point I am only interested in getting the twisted pair portion to work. Under FreeBSD 5-current of a few weeks ago at most, pnp detects it but the lnc driver doesnt seem to pick it up. I barely know diddly about C but if it looked like I could throw some ID's in a file and recompile I would have tried. It doesn't look so easy it seems :) Thus I am going for people more experienced. Any assistance in getting this working would be appreciated. Thanks! Details: Looks like Manufacturer is "A.T.I." (no idea if any relation to the video card mauf) Card has printed on it AT-1500PNP as the model number. The main chip is a AMD PCNet ISA-II AM79C961AKC dmesg: unknown9: at port 0x220-0x237 irq 5 drq 3 on isa0 pnpinfo: Checking for Plug-n-Play devices... Card assigned CSN #1 Vendor ID ATK1500 (0x00158b06), Serial Number 0xe008b3f4 PnP Version 1.0, Vendor Version 0 Device Description: ATI AT-1500 Ethernet Network Adapter Logical Device ID: ATK1500 0x00158b06 #0 Device supports I/O Range Check Compatible Device ID: PNP828c (8c82d041) I/O Range 0x220 .. 0x3e0, alignment 0x20, len 0x18 [not 16-bit addr] DMA: channel(s) 3 5 6 7 8/16-bit, bus master, , , Compatibility mode IRQ: 3 4 5 9 10 11 12 15 IRQ: High true edge sensitive End Tag Successfully got 7 resources, 1 logical fdevs -- card select # 0x0001 CSN ATK1500 (0x00158b06), Serial Number 0xe008b3f4 Logical device #0 IO: 0x0220 0x0220 0x0220 0x0220 0x0220 0x0220 0x0220 0x0220 IRQ 5 0 DMA 3 4 IO range check 0x00 activate 0x01 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue May 9 23: 0: 9 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from turtle.looksharp.net (cc360882-a.strhg1.mi.home.com [24.2.221.22]) by hub.freebsd.org (Postfix) with ESMTP id E12D337BED2; Tue, 9 May 2000 23:00:00 -0700 (PDT) (envelope-from bsdx@looksharp.net) Received: from localhost (bsdx@localhost) by turtle.looksharp.net (8.9.3/8.9.3) with ESMTP id CAA33396; Wed, 10 May 2000 02:00:30 -0400 (EDT) (envelope-from bsdx@looksharp.net) Date: Wed, 10 May 2000 02:00:30 -0400 (EDT) From: Adam To: hackers@FreeBSD.ORG, paul@FreeBSD.ORG Subject: Re: Supporting an "A.T.I." pnp PCNet ISA-II card In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 10 May 2000, Adam wrote: > >Details: >Looks like Manufacturer is "A.T.I." (no idea if any relation to the video >card mauf) >Card has printed on it AT-1500PNP as the model number. Oops! I meant AT-1500FT-PNP. If there is any other useful information I missed please let me know. >The main chip is a AMD PCNet ISA-II AM79C961AKC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 1:15:50 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.inka.de (quechua.inka.de [212.227.14.2]) by hub.freebsd.org (Postfix) with ESMTP id 2021237B69C for ; Wed, 10 May 2000 01:15:48 -0700 (PDT) (envelope-from daemon@mips.inka.de) Received: from bigeye.rhein-neckar.de (uucp@) by mail.inka.de with local-bsmtp id 12pRek-0002vV-00; Wed, 10 May 2000 10:15:46 +0200 Received: (from daemon@localhost) by bigeye.rhein-neckar.de (8.9.3/8.9.3) id JAA26492 for freebsd-hackers@freebsd.org; Wed, 10 May 2000 09:40:46 +0200 (CEST) (envelope-from daemon) From: naddy@mips.inka.de (Christian Weisgerber) Subject: Re: PR's and patches Date: 10 May 2000 09:40:46 +0200 Message-ID: <8fb3pu$prk$1@bigeye.rhein-neckar.de> References: To: freebsd-hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Garance A Drosihn wrote: > So, my dumb question is, how DO you pull patches out of a PR? lynx -dump vi to extract the relevant
 part

#!/usr/bin/sed -f
s/&/\&/g
s/>/>/g
s/</; Wed, 10 May 2000 01:50:00 -0700 (PDT)
	(envelope-from kuku@gilberto.physik.rwth-aachen.de)
Received: (from kuku@localhost)
	by gilberto.physik.rwth-aachen.de (8.9.3/8.9.3) id KAA54067
	for hackers@freebsd.org; Wed, 10 May 2000 10:50:02 +0200 (CEST)
	(envelope-from kuku)
Date: Wed, 10 May 2000 10:50:02 +0200 (CEST)
From: Christoph Kukulies 
Message-Id: <200005100850.KAA54067@gilberto.physik.rwth-aachen.de>
To: hackers@freebsd.org
Subject: complicated routing situation - can this be solved?
Sender: owner-freebsd-hackers@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG


Sorry, if this may be more a general IP routing question but since
FreeBSD is predistined to solve complicated routing
situations  and a lot of expertise is concentrated here
I'm coming up with this question here.

I have dedicated a P90 box to act as a router between
a FDDI network and a 100MBit fast ethernet network and put
FreeBSD on it. (Thanks to Wilko here again for Aled their support
with FDDI hardware).

IP address space is tough and the FDDI concentrator can only run
the two networks as sketched out below. To me can only be given a
few addresses out of one of these networks.

Ideally I would like to have had a bridge but BRIDGE is not supported for
the DEFPA (fpa0) device in FreeBSD. I also talked to people at
Drawbridge http://drawbridge.tamu.edu/ and say said that due to
different framing between FDDI and Ethernet bridging is not (yet) supported.
One of the authors said he could write some experimental code relatively
fast but the vague promis is all I have for the moment.

Here is the situation:

                     --------------------
                     |                  |
   -------FDDI-------|     FreeBSD Box  |------100 MBit Fast Ethernet-----
   132.222.32.x      |fpa0          sis0|         (some addresses out of
   132.222.33.x      --------------------          132.222.33.151-170)
                 132.222.32.45/23     132.222.33.150


I tried with the -interface modifier to no avail. Any ideas how to solve
this? If possible at all?

-- 
Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message


From owner-freebsd-hackers  Wed May 10  2: 5:52 2000
Delivered-To: freebsd-hackers@freebsd.org
Received: from info.iet.unipi.it (info.iet.unipi.it [131.114.9.184])
	by hub.freebsd.org (Postfix) with ESMTP id 161AA37B578
	for ; Wed, 10 May 2000 02:05:49 -0700 (PDT)
	(envelope-from luigi@info.iet.unipi.it)
Received: (from luigi@localhost)
	by info.iet.unipi.it (8.9.3/8.9.3) id LAA26410;
	Wed, 10 May 2000 11:06:54 +0200 (CEST)
	(envelope-from luigi)
From: Luigi Rizzo 
Message-Id: <200005100906.LAA26410@info.iet.unipi.it>
Subject: Re: complicated routing situation - can this be solved?
In-Reply-To: <200005100850.KAA54067@gilberto.physik.rwth-aachen.de> from Christoph
 Kukulies at "May 10, 2000 10:50:02 am"
To: Christoph Kukulies 
Date: Wed, 10 May 2000 11:06:54 +0200 (CEST)
Cc: hackers@FreeBSD.ORG
X-Mailer: ELM [version 2.4ME+ PL61 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-hackers@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

Chris,

I am a bit uncertain on what you want to do, could you clarify ?
If all you want on the ethernet interface is to use a subnet of
132.222.32.45/23, this can be done, it just suffices that you
set the netmask and default routers correctly on your ethernet,
and on the router you set net.link.ether.inet.proxyall (important)
and net.inet.ip.forwarding.

Speaking of bridging, it seems unlikely that it can be implemented
given the different frame sizes (it is not only a matter of headers)
between FDDI and ethernet which would require fragmentation and
reassembly of packets.

hope this helps

	cheers
	luigi
-----------------------------------+-------------------------------------
  Luigi RIZZO, luigi@iet.unipi.it  . Dip. di Ing. dell'Informazione
  http://www.iet.unipi.it/~luigi/  . Universita` di Pisa
  TEL/FAX: +39-050-568.533/522     . via Diotisalvi 2, 56126 PISA (Italy)
  Mobile   +39-347-0373137
-----------------------------------+-------------------------------------

> I have dedicated a P90 box to act as a router between
> a FDDI network and a 100MBit fast ethernet network and put
> FreeBSD on it. (Thanks to Wilko here again for Aled their support
> with FDDI hardware).
> 
> IP address space is tough and the FDDI concentrator can only run
> the two networks as sketched out below. To me can only be given a
> few addresses out of one of these networks.
> 
> Ideally I would like to have had a bridge but BRIDGE is not supported for
> the DEFPA (fpa0) device in FreeBSD. I also talked to people at
> Drawbridge http://drawbridge.tamu.edu/ and say said that due to
> different framing between FDDI and Ethernet bridging is not (yet) supported.
> One of the authors said he could write some experimental code relatively
> fast but the vague promis is all I have for the moment.
> 
> Here is the situation:
> 
>                      --------------------
>                      |                  |
>    -------FDDI-------|     FreeBSD Box  |------100 MBit Fast Ethernet-----
>    132.222.32.x      |fpa0          sis0|         (some addresses out of
>    132.222.33.x      --------------------          132.222.33.151-170)
>                  132.222.32.45/23     132.222.33.150
> 
> 
> I tried with the -interface modifier to no avail. Any ideas how to solve
> this? If possible at all?
> 
> -- 
> Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message


From owner-freebsd-hackers  Wed May 10  3:41:42 2000
Delivered-To: freebsd-hackers@freebsd.org
Received: from euromail1.genrad.com (x125.genrad.co.uk [195.99.3.125])
	by hub.freebsd.org (Postfix) with ESMTP id 897A737B59C
	for ; Wed, 10 May 2000 03:41:34 -0700 (PDT)
	(envelope-from swindellsr@genrad.co.uk)
Received: from CDP437 ([132.223.135.120]) by euromail1.genrad.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0)
	id KQTWLMMA; Wed, 10 May 2000 11:41:30 +0100
From: Robert Swindells 
To: bsdx@looksharp.net
Cc: hackers@freebsd.org
In-reply-to: 
	(message from Adam on Wed, 10 May 2000 01:48:36 -0400 (EDT))
Subject: Re: Supporting an "A.T.I." pnp PCNet ISA-II card
Reply-To: rjs@fdy2.demon.co.uk
Message-Id: <20000510104134.897A737B59C@hub.freebsd.org>
Date: Wed, 10 May 2000 03:41:34 -0700 (PDT)
Sender: owner-freebsd-hackers@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG


>Hello, I have come across two network cards that I would like to use with
>FreeBSD.  They have TP and fibre interfaces on them; I grabbed them for
>free just for the novelty of having a nic with fibre on it :)  But at this
>point I am only interested in getting the twisted pair portion to
>work.  Under FreeBSD 5-current of a few weeks ago at most, pnp detects it
>but the lnc driver doesnt seem to pick it up.  I barely know diddly about
>C but if it looked like I could throw some ID's in a file and recompile I
>would have tried.  It doesn't look so easy it seems :)  Thus I am going
>for people more experienced.  Any assistance in getting this working would
>be appreciated.  Thanks!

The chip ID is in there already and it matches the datasheet.

It doesn't look as if the lnc driver is able to do PNP.

Robert Swindells



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message


From owner-freebsd-hackers  Wed May 10  6: 1:58 2000
Delivered-To: freebsd-hackers@freebsd.org
Received: from search.sparks.net (search.sparks.net [208.5.188.60])
	by hub.freebsd.org (Postfix) with ESMTP
	id 0275037B66C; Wed, 10 May 2000 06:01:52 -0700 (PDT)
	(envelope-from dmiller@search.sparks.net)
Received: by search.sparks.net (Postfix, from userid 100)
	id 3BC77DC01; Wed, 10 May 2000 08:56:56 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
	by search.sparks.net (Postfix) with ESMTP
	id 2B3E7DC00; Wed, 10 May 2000 08:56:56 -0400 (EDT)
Date: Wed, 10 May 2000 08:56:56 -0400 (EDT)
From: David Miller 
To: James Housley 
Cc: Henk Wevers , Doug Barton ,
	hackers@FreeBSD.ORG, stable@FreeBSD.ORG
Subject: Re: ps does not work after a cvsupdate to 4.0-STABLE
In-Reply-To: <3918872B.778997DD@thehousleys.net>
Message-ID: 
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-hackers@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

On Tue, 9 May 2000, James Housley wrote:
> > 
> > > This did work fine.
> > 
> > I suffered the same problem, and got to wondering; why would make
> > buildworld after the cvsup not do this?  I thought the whole point of
> > buildworld was to compile and install everything as a coordinated set?
> > 
> make buildworld does just that "builds everything".  make installworld
> install everything.  You have to do both.


  I'll go slink back into my corner now and contemplate my next
stoopid question:(

Thanks,


--- David



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message


From owner-freebsd-hackers  Wed May 10  7:23:25 2000
Delivered-To: freebsd-hackers@freebsd.org
Received: from mail.rpi.edu (mail.rpi.edu [128.113.100.7])
	by hub.freebsd.org (Postfix) with ESMTP id 7734837B7B5
	for ; Wed, 10 May 2000 07:23:22 -0700 (PDT)
	(envelope-from drosih@rpi.edu)
Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47])
	by mail.rpi.edu (8.9.3/8.9.3) with ESMTP id KAA260814
	for ; Wed, 10 May 2000 10:23:20 -0400
Mime-Version: 1.0
X-Sender: drosih@mail.rpi.edu
Message-Id: 
Date: Wed, 10 May 2000 10:23:24 -0400
To: hackers@FreeBSD.org
From: Garance A Drosihn 
Subject: Looking for advice on lpr/lpd changes
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-freebsd-hackers@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

Here at RPI, we picked up a snapshot of freebsd's lpr many years
ago, and currently use that on our AIX, Solaris, and IRIX systems.
One of my main goals this year is to merge freebsd's current lpr
(which has changed a lot since the snapshot we took in the early
1990's) with the extra features we've added.  Once I have things
sorted out, I'll have a number of updates to offer.

However, I'm not quite that far along yet...  :-)

At the same time, I'm also trying to add yet-more features to
our lpr for things our users have asked for.  I wanted to ask
for ideas on some of these, seeing that I eventually hope to
merge the changes back into freebsd.

Many of our users send jobs via samba connections.  They would
like to have a way to ask for '-h' (no header) or '-m' (send me
email) options.  I could do that by adding special queues that
turn those on, but as we ALREADY have over 200 print queues, I'm
loathe to duplicate queues just to add options.  What is a good
way to let samba users specify some of these options?  I was
thinking of having lpr understand options given in a printer
name.  Thus, for printer 'myptr', you could send to:
     lpr -Pmyptr        (obviously...)
     lpr -Pmyptr-h
     lpr -Pmyptr-m
     lpr -Pmyptr-mh  or -Pmyptr-hm   (both would work).
This would not allow them to set ANY option via the printer
name, but it would allow those two, which are the most ones
most often requested.

This way, a samba user can just create a queue with -h or -m
tacked on to the real queue name, and they have a Windows printer
that will skip header pages or send them email.  Does this seem
like a reasonable idea, or should I approach this from another
angle?

There are quite a number of other changes I'm mulling over,
including (perhaps) some kind of option for kerberos support
(that one may be a bit too ambitious...).  Should I just send
more messages lpr changes on to hackers, or should I send them
to some other list.

---
Garance Alistair Drosehn           =   gad@eclipse.acs.rpi.edu
Senior Systems Programmer          or  drosih@rpi.edu
Rensselaer Polytechnic Institute


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message


From owner-freebsd-hackers  Wed May 10  9:16:28 2000
Delivered-To: freebsd-hackers@freebsd.org
Received: from tomts3-srv.bellnexxia.net (tomts3.bellnexxia.net [209.226.175.141])
	by hub.freebsd.org (Postfix) with ESMTP id 3381137B579
	for ; Wed, 10 May 2000 09:16:04 -0700 (PDT)
	(envelope-from hoek@FreeBSD.org)
Received: from Hamilton-ppp44812.sympatico.ca ([206.172.76.78])
          by tomts3-srv.bellnexxia.net
          (InterMail vM.4.01.02.17 201-229-119) with ESMTP
          id <20000510161602.XXHH24624.tomts3-srv.bellnexxia.net@Hamilton-ppp44812.sympatico.ca>;
          Wed, 10 May 2000 12:16:02 -0400
Received: (from tim@localhost)
	by Hamilton-ppp44812.sympatico.ca (8.9.3/8.9.1) id MAA05282;
	Wed, 10 May 2000 12:14:59 -0400 (EDT)
	(envelope-from tim)
Date: Wed, 10 May 2000 12:14:59 -0400
From: Tim Vanderhoek 
To: Garance A Drosihn 
Cc: hackers@FreeBSD.org
Subject: Re: Looking for advice on lpr/lpd changes
Message-ID: <20000510121459.B4589@Hamilton-ppp44812.sympatico.ca>
References: 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95i
In-Reply-To: ; from Garance A Drosihn on Wed, May 10, 2000 at 10:23:24AM -0400
Sender: owner-freebsd-hackers@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

On Wed, May 10, 2000 at 10:23:24AM -0400, Garance A Drosihn wrote:
>
> 1990's) with the extra features we've added.  Once I have things
> sorted out, I'll have a number of updates to offer.

Cool!

> that will skip header pages or send them email.  Does this seem
> like a reasonable idea, or should I approach this from another
> angle?

If you are hoping to have a series discussion, a carefully written
message to the -arch list may work.  The -arch list is meant to be a
low(er)-volume, higher information-density list for discussing
architectural changes.

It would also have the advantage that more committers will follow the
discussion meaning that your patches will get reviewed (and probably
committed) sooner.

However, -hackers will get a greater number of opinions and ideas.  I
would start at -hackers and then make a series proposal (possibly with
patches already written) at -arch.

Finished patches are best sent via send-pr(1) where they will
eventually be addressed (although the response-time for send-pr(1) is
regrettably long...)


-- 
Signature withheld by request of author.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message


From owner-freebsd-hackers  Wed May 10  9:32:14 2000
Delivered-To: freebsd-hackers@freebsd.org
Received: from mail.rpi.edu (mail.rpi.edu [128.113.100.7])
	by hub.freebsd.org (Postfix) with ESMTP id 7CE1D37B89B
	for ; Wed, 10 May 2000 09:32:09 -0700 (PDT)
	(envelope-from drosih@rpi.edu)
Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47])
	by mail.rpi.edu (8.9.3/8.9.3) with ESMTP id MAA248038
	for ; Wed, 10 May 2000 12:31:51 -0400
Mime-Version: 1.0
X-Sender: drosih@mail.rpi.edu
Message-Id: 
In-Reply-To: 
References: 
Date: Wed, 10 May 2000 12:31:55 -0400
To: hackers@FreeBSD.ORG
From: Garance A Drosihn 
Subject: Re: Looking for advice on lpr/lpd changes
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-freebsd-hackers@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

At 10:23 AM -0400 5/10/00, Garance A Drosihn wrote:
>I was thinking of having lpr understand options given in a
>printer name.  Thus, for printer 'myptr', you could send to:
>    lpr -Pmyptr        (obviously...)
>    lpr -Pmyptr-h
>    lpr -Pmyptr-m
>    lpr -Pmyptr-mh  or -Pmyptr-hm   (both would work).
>This would not allow them to set ANY option via the printer
>name, but it would allow those two, which are the most ones
>most often requested.

People have mentioned that they already have hyphens in
printer names.  How about if I use a / instead?  Eg:
      lpr -Pmyptr/h
      lpr -Pmyptr/m

Would anyone have slashes in a printer name?  Any other
suggestions also welcome...  Just looking for a good way
for samba (WinXX) users to select -h or -m options when
their jobs go thru our unix print servers.


---
Garance Alistair Drosehn           =   gad@eclipse.acs.rpi.edu
Senior Systems Programmer          or  drosih@rpi.edu
Rensselaer Polytechnic Institute


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message


From owner-freebsd-hackers  Wed May 10  9:35:21 2000
Delivered-To: freebsd-hackers@freebsd.org
Received: from rover.village.org (rover.village.org [204.144.255.49])
	by hub.freebsd.org (Postfix) with ESMTP
	id 1033337B862; Wed, 10 May 2000 09:35:13 -0700 (PDT)
	(envelope-from imp@harmony.village.org)
Received: from harmony.village.org (harmony.village.org [10.0.0.6])
	by rover.village.org (8.9.3/8.9.3) with ESMTP id KAA54698;
	Wed, 10 May 2000 10:35:11 -0600 (MDT)
	(envelope-from imp@harmony.village.org)
Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id KAA93897; Wed, 10 May 2000 10:34:50 -0600 (MDT)
Message-Id: <200005101634.KAA93897@harmony.village.org>
To: Tim Vanderhoek 
Subject: Re: Looking for advice on lpr/lpd changes 
Cc: Garance A Drosihn , hackers@FreeBSD.ORG
In-reply-to: Your message of "Wed, 10 May 2000 12:14:59 EDT."
		<20000510121459.B4589@Hamilton-ppp44812.sympatico.ca> 
References: <20000510121459.B4589@Hamilton-ppp44812.sympatico.ca>   
Date: Wed, 10 May 2000 10:34:50 -0600
From: Warner Losh 
Sender: owner-freebsd-hackers@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

In message <20000510121459.B4589@Hamilton-ppp44812.sympatico.ca> Tim Vanderhoek writes:
: Finished patches are best sent via send-pr(1) where they will
: eventually be addressed (although the response-time for send-pr(1) is
: regrettably long...)

I've asked that people with pccard pr's also cc me or send me
numbers.  This has helped somewhat, but I'd like an easier to deal
with bug mechanism.

Warner


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message


From owner-freebsd-hackers  Wed May 10  9:55:46 2000
Delivered-To: freebsd-hackers@freebsd.org
Received: from defiant.quansoo.com (defiant.quansoo.com [63.66.225.90])
	by hub.freebsd.org (Postfix) with ESMTP
	id 8A20237B650; Wed, 10 May 2000 09:55:33 -0700 (PDT)
	(envelope-from cgriffiths@quansoo.com)
Received: from localhost (cgriffiths@localhost)
	by defiant.quansoo.com (8.9.3/8.9.3) with ESMTP id MAA00368;
	Wed, 10 May 2000 12:55:39 -0400 (EDT)
	(envelope-from cgriffiths@quansoo.com)
X-Authentication-Warning: defiant.quansoo.com: cgriffiths owned process doing -bs
Date: Wed, 10 May 2000 12:55:39 -0400 (EDT)
From: "Christopher T. Griffiths" 
To: FreeBSD Questions List 
Subject: Openssh 2.0 
Message-ID: 
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-hackers@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

I know I saw that someone mentioned that they were in the process or going
to port over Openssh 2.0 into current.  Has this happened yet and when if
ever can we expect this to be merged into 4.0 -stable?


Thanks

Chris

---
Christopher T. Griffiths	        
Quansoo Group Inc.
cgriffiths@quansoo.com




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message


From owner-freebsd-hackers  Wed May 10  9:59: 4 2000
Delivered-To: freebsd-hackers@freebsd.org
Received: from p2.acadia.net (p2.acadia.net [205.217.210.2])
	by hub.freebsd.org (Postfix) with ESMTP id 5E1D637B690
	for ; Wed, 10 May 2000 09:58:57 -0700 (PDT)
	(envelope-from tbuswell@acadia.net)
Received: from smpbox (ip142167011112.acadia.net [142.167.11.112])
	by p2.acadia.net (8.9.3/8.9.3) with ESMTP id NAA11694;
	Wed, 10 May 2000 13:06:51 -0400 (EDT)
Received: (from tbuswell@localhost)
	by smpbox (8.9.3/8.9.3) id NAA57865;
	Wed, 10 May 2000 13:03:47 -0400 (EDT)
	(envelope-from tbuswell)
From: Ted Buswell 
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Date: Wed, 10 May 2000 13:02:47 -0400 (EDT)
To: Garance A Drosihn 
Cc: hackers@FreeBSD.ORG
Subject: Re: Looking for advice on lpr/lpd changes
In-Reply-To: 
References: 
	
X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs  Lucid
Message-ID: <14617.37135.323534.539710@smpbox>
Sender: owner-freebsd-hackers@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG


Garance A Drosihn writes:
 > At 10:23 AM -0400 5/10/00, Garance A Drosihn wrote:
 > >I was thinking of having lpr understand options given in a
 > >printer name.  Thus, for printer 'myptr', you could send to:
 > >    lpr -Pmyptr        (obviously...)
 > >    lpr -Pmyptr-h
 > >    lpr -Pmyptr-m
 > >    lpr -Pmyptr-mh  or -Pmyptr-hm   (both would work).
 > >This would not allow them to set ANY option via the printer
 > >name, but it would allow those two, which are the most ones
 > >most often requested.
 > 
 > People have mentioned that they already have hyphens in
 > printer names.  How about if I use a / instead?  Eg:
 >       lpr -Pmyptr/h
 >       lpr -Pmyptr/m
 > 
 > Would anyone have slashes in a printer name?  Any other
 > suggestions also welcome...  Just looking for a good way
 > for samba (WinXX) users to select -h or -m options when
 > their jobs go thru our unix print servers.


Another way of approaching the problem would be to head off
the problem as soon as you can: in Samba.

Right now, you could write a shell script to create all of the various 
permutations of printer shares, each one with an appropriate "print
command" directive in your smb.conf.  

Or alternatively, hack the appropriate bits in Samba so that you can
have your clients connect to \\s\p\options to get lpr printer 'p' off of
server 'p', with given options.  For example: \\server\printer\noheader,email
would result in Samba invoking "lpr -Pprinter -h -m".   This isn't any 
different from your proposed mod to lpr, it just shuffles where the
work is done.

$.02

-Ted


 > 
 > 
 > ---
 > Garance Alistair Drosehn           =   gad@eclipse.acs.rpi.edu
 > Senior Systems Programmer          or  drosih@rpi.edu
 > Rensselaer Polytechnic Institute
 > 
 > 
 > To Unsubscribe: send mail to majordomo@FreeBSD.org
 > with "unsubscribe freebsd-hackers" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message


From owner-freebsd-hackers  Wed May 10 10:27:31 2000
Delivered-To: freebsd-hackers@freebsd.org
Received: from defiant.quansoo.com (defiant.quansoo.com [63.66.225.90])
	by hub.freebsd.org (Postfix) with ESMTP id 3036437B8D0
	for ; Wed, 10 May 2000 10:27:26 -0700 (PDT)
	(envelope-from cgriffiths@quansoo.com)
Received: from localhost (cgriffiths@localhost)
	by defiant.quansoo.com (8.9.3/8.9.3) with ESMTP id NAA01943
	for ; Wed, 10 May 2000 13:27:31 -0400 (EDT)
	(envelope-from cgriffiths@quansoo.com)
X-Authentication-Warning: defiant.quansoo.com: cgriffiths owned process doing -bs
Date: Wed, 10 May 2000 13:27:31 -0400 (EDT)
From: "Christopher T. Griffiths" 
To: hackers@freebsd.org
Subject: IBM Thinkpad 600e and Sound 
Message-ID: 
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-hackers@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

Hello,

I am currently running 4.0 -stable on a Thinkpad 600e.  I have the
following set in my kernel:

device          pcm
options         PNPBIOS 


Unfortunatly I am not getting any sound and am getting the following
dmesg:

csa0:  mem
0x50000000-0x500
fffff,0x50100000-0x50100fff irq 11 at device 6.0 on pci0
pcm0:  on csa0
pcm0: ac97 codec reports dac not ready

and

unknown:  can't assign resources
unknown0:  at port 0-0xf,0x80-0x8f,0xc0-0xdf drq 4 on isa0
unknown1:  at port 0x40-0x43 irq 0 on isa0
unknown2:  at port 0x70-0x73 irq 8 on isa0
unknown3:  at port 0x61 on isa0
unknown:  can't assign resources
unknown:  can't assign resources
unknown4:  at port 0xf0-0xff irq 13 on isa0
unknown:  can't assign resources
unknown5:  at port 0xcf8-0xcff on isa0
unknown6:  at port
0x22,0x2e-0x2f,0x92,0xb2-0xb3,0x4d0-0x4d1,0x15e0-0x1
5ef,0xef00-0xefaf iomem
0-0x9ffff,0xf0000-0xfffff,0x100000-0x11ffffff,0xffff0000
-0xffffffff on isa0
unknown7:  at port 0x3bc-0x3bf irq 7 on isa0
unknown:  can't assign resources
pcm1:  at port 0x530-0x537,0x388-0x38b,0x220-0x233 irq 5 drq
1,0 on 
isa0
unknown8:  at port 0x538-0x53f on isa0
unknown9:  at port 0x200-0x207 on isa0
unknown:  can't assign resources
unknown10:  at port 0x130-0x13f,0x2f8-0x2ff irq 3,10 drq 7 on
isa0
unknown:  can't assign resources
unknown:  can't assign resources
unknown:  can't assign resources
unknown:  can't assign resources
unknown11:  on isa0

I have looked through the archives with various solutions but none seem to
help.  Any suggestions would be great.

Thanks

Chris

---
Christopher T. Griffiths	        
Quansoo Group Inc.
cgriffiths@quansoo.com




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message


From owner-freebsd-hackers  Wed May 10 11:24:52 2000
Delivered-To: freebsd-hackers@freebsd.org
Received: from mail.sullivan-reportlibrary.com (chrtn1UBR2-3-hfc-0252-d8d8b012.rdc1.tn.comcastatwork.com [216.216.176.18])
	by hub.freebsd.org (Postfix) with ESMTP id F2CBE37B95A
	for ; Wed, 10 May 2000 11:24:23 -0700 (PDT)
	(envelope-from marketing@infotechsys.net)
Received: from infotechsys.net (2K-SERVER [192.168.0.100]) by mail.sullivan-reportlibrary.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21)
	id KTQY5N8M; Wed, 10 May 2000 14:21:16 -0400
MIME-Version: 1.0
From: marketing@infotechsys.net
Reply-To: marketing@infotechsys.net
To: hackers@freebsd.org
Subject: ITS Brochure
Mime-Version: 1.0 
Content-Type: text/html; charset="us-ascii"
Message-Id: <20000510182423.F2CBE37B95A@hub.freebsd.org>
Date: Wed, 10 May 2000 11:24:23 -0700 (PDT)
Sender: owner-freebsd-hackers@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

ITS Internet Site








P.O. Box 70671

Charleston, SC 29415-0671

843.566.1397


To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 12: 1:58 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp13.bellglobal.com (smtp13.bellglobal.com [204.101.251.52]) by hub.freebsd.org (Postfix) with ESMTP id 8FCA637B856 for ; Wed, 10 May 2000 12:01:53 -0700 (PDT) (envelope-from hoek@FreeBSD.org) Received: from Hamilton-ppp44812.sympatico.ca (Hamilton-ppp44822.sympatico.ca [206.172.76.15]) by smtp13.bellglobal.com (8.8.5/8.8.5) with ESMTP id PAA01922; Wed, 10 May 2000 15:05:27 -0400 (EDT) Received: (from tim@localhost) by Hamilton-ppp44812.sympatico.ca (8.9.3/8.9.1) id OAA06921; Wed, 10 May 2000 14:56:52 -0400 (EDT) (envelope-from tim) Date: Wed, 10 May 2000 14:56:52 -0400 From: Tim Vanderhoek To: Garance A Drosihn Cc: hackers@FreeBSD.org Subject: Re: Looking for advice on lpr/lpd changes Message-ID: <20000510145652.A6847@Hamilton-ppp44812.sympatico.ca> References: <20000510121459.B4589@Hamilton-ppp44812.sympatico.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <20000510121459.B4589@Hamilton-ppp44812.sympatico.ca>; from Tim Vanderhoek on Wed, May 10, 2000 at 12:14:59PM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, May 10, 2000 at 12:14:59PM -0400, Tim Vanderhoek wrote: > > > that will skip header pages or send them email. Does this seem > > like a reasonable idea, or should I approach this from another > > angle? > > If you are hoping to have a series discussion, a carefully written ^^^^^^ serious > However, -hackers will get a greater number of opinions and ideas. I > would start at -hackers and then make a series proposal (possibly with ^^^^^^ serious -- Signature withheld by request of author. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 13: 8:16 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from orion.ac.hmc.edu (Orion.AC.HMC.Edu [134.173.32.20]) by hub.freebsd.org (Postfix) with ESMTP id 2C1C037B9A6 for ; Wed, 10 May 2000 13:08:09 -0700 (PDT) (envelope-from brdavis@orion.ac.hmc.edu) Received: (from brdavis@localhost) by orion.ac.hmc.edu (8.8.8/8.8.8) id NAA16307 for freebsd-hackers@freebsd.org; Wed, 10 May 2000 13:07:59 -0700 (PDT) Date: Wed, 10 May 2000 13:07:59 -0700 From: Brooks Davis To: freebsd-hackers@freebsd.org Subject: Proposed fix for DHCP and hostname Message-ID: <20000510130759.A6475@orion.ac.hmc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre4i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, There's a long standing issue where you can either have a hardwired hostname and have it all the time or you can get your hostname from DHCP and not have one unless you set it manualy while not networked. I have hacked up a solution which I think avoids POLA violations. My only concern with it is the new program to get variables out of /etc/defaults/rc.conf and the like called rc_conf_var. In general the idea of a program to do that is something we're going to need it we want to move to a more machine editable config file format (dare I say, XML based ;-). The following patch should work, but I've never made a patch that added files before, so I'm not sure. Please provide feedback on this solution. I've seen complaints about this since DHCP was added to the base, so I'd like to get it comitted. -- Brooks -- Any statement of the form "X is the one, true Y" is FALSE. --- /usr/src/etc/rc.network Tue May 9 15:00:17 2000 +++ /etc/rc.network Wed May 10 09:51:03 2000 @@ -16,8 +16,13 @@ # Set the host name if it is not already set # if [ -z "`hostname -s`" ]; then - hostname ${hostname} - echo -n ' hostname' + if [ -n "${hostname}" ]; then + hostname ${hostname} + echo -n ' hostname' + elif [ -n "${default_hostname}" ]; then + hostname ${default_hostname} + echo -n ' default_hostname' + fi fi # Set the domainname if we're using NIS --- /usr/src/etc/defaults/rc.conf Tue May 9 15:00:17 2000 +++ /etc/defaults/rc.conf Tue May 9 21:22:16 2000 @@ -39,6 +39,7 @@ ### Basic network options: ### hostname="" # Set this! +default_hostname="" # Set this if you get your hostname elseware. nisdomainname="NO" # Set to NIS domain if using NIS (or NO). dhcp_program="/sbin/dhclient" # Path to dhcp client program. dhcp_flags="" # Additional flags to pass to dhcp client. --- /usr/src/contrib/isc-dhcp/client/scripts/freebsd Sat Jan 15 14:46:40 2000 +++ /sbin/dhclient-script Tue May 9 21:44:59 2000 @@ -76,7 +76,7 @@ if [ x$reason = xBOUND ] || [ x$reason = xRENEW ] || \ [ x$reason = xREBIND ] || [ x$reason = xREBOOT ]; then current_hostname=`/bin/hostname` - if [ x$current_hostname = x ] || \ + if [ x$current_hostname = x`rc_conf_var default_hostname` ] || \ [ x$current_hostname = x$old_host_name ]; then if [ x$new_host_name != x$old_host_name ]; then $LOGGER "New Hostname: $new_host_name" --- /sbin/rc_conf_var.orig Wed May 10 11:19:16 2000 +++ /sbin/rc_conf_var Tue May 9 21:40:06 2000 @@ -0,0 +1,13 @@ +#!/bin/sh +# $FreeBSD$ + +# If there is a global system configuration file, suck it in. +# +if [ -r /etc/defaults/rc.conf ]; then + . /etc/defaults/rc.conf + source_rc_confs +elif [ -r /etc/rc.conf ]; then + . /etc/rc.conf +fi + +eval echo \$${1} To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 13:36:40 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from jestocost.cosc.morrisville.edu (jestocoast.cosc.morrisville.edu [136.204.176.67]) by hub.freebsd.org (Postfix) with ESMTP id 6D1C437B91F for ; Wed, 10 May 2000 13:36:18 -0700 (PDT) (envelope-from mrbond@jestocost.cosc.morrisville.edu) Received: (from root@localhost) by jestocost.cosc.morrisville.edu (8.9.3/8.9.3) id QAA11129 for freeBSD-hackers@freebsd.org; Wed, 10 May 2000 16:32:08 -0400 (EDT) (envelope-from mrbond) Date: Wed, 10 May 2000 16:32:08 -0400 (EDT) From: James Bond Message-Id: <200005102032.QAA11129@jestocost.cosc.morrisville.edu> To: freeBSD-hackers@freebsd.org Subject: icmp-response error Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello hackers. I am getting an error message on my box's console that I don't know why I am getting. the log file shows: May 9 23:28:35 djoan /kernel: icmp-response bandwith limit 564/100 pps May 9 23:28:36 djoan /kernel: icmp-response bandwith limit 1277/100 pps May 9 23:28:37 djoan /kernel: icmp-response bandwith limit 1985/100 pps The console shows more of the same message but they didn't end up in the log. Is this a result of some type of attack? If it is, how can I set up my box to get more information like what ip it is coming from?. the only other thing that I can see that I don't understand is two connections in my netstat that I don't know why they are there: Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp 0 0 djoan.telnet 136.204.177.9.1847 ESTABLISHED tcp 0 40 djoan.ssh jestocost.1950 ESTABLISHED tcp 0 0 djoan.1180 irc.Stanford.EDU.6667 ESTABLISHED tcp 0 0 djoan.telnet 136.204.176.156.1030 ESTABLISHED tcp 0 0 djoan.1144 irc-w1.concentri.6667 ESTABLISHED udp 0 0 djoan.1171 snymoraa.morrisv.doma Active UNIX domain sockets Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr c4c07f40 stream 0 0 c4bfa280 0 0 0 /var/run/printer c4c07ec0 dgram 0 0 0 c4bfdfc0 0 c4c07e40 c4c07e40 dgram 0 0 0 c4bfdfc0 0 c4c07f00 c4c07f00 dgram 0 0 0 c4bfdfc0 0 c4c07f80 c4c07f80 dgram 0 0 0 c4bfdfc0 0 c4c07fc0 c4c07fc0 dgram 0 0 0 c4bfdfc0 0 0 c4bfdfc0 dgram 4068 0 c4bfcbc0 0 c4c07ec0 0 /var/run/log I don't know why the two irc servers are connected, or what the ports are for. None of my other boxes show anything unusual. When it comes to ip I am still learning how to protect myself. Any information will be appreciated, as well as pointers to web pages or man pages of course. Thank you for any help. James. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 13:41:53 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from alcanet.com.au (mail.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (Postfix) with ESMTP id 1BCD737B969 for ; Wed, 10 May 2000 13:41:50 -0700 (PDT) (envelope-from jeremyp@gsmx07.alcatel.com.au) Received: by border.alcanet.com.au id <115406>; Thu, 11 May 2000 06:41:53 +1000 Content-return: prohibited From: Peter Jeremy Subject: Re: Can NMI drop a hanging FreeBSD kernel into DDB? To: bright@wintelcom.net Cc: hackers@freebsd.org Message-Id: <00May11.064153est.115406@border.alcanet.com.au> MIME-version: 1.0 X-Mailer: Mutt 1.0i Content-type: text/plain; charset=us-ascii Date: Thu, 11 May 2000 06:41:40 +1000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 5 May 2000 12:20:29 -0700, Alfred Perlstein wrote: >> How can I make a hanging kernel into DDB? Will grounding the NMI do it? > >That's a bit extreme. > >hit ctrl+alt+esc on the console, or send a serial break if using >a serial console, make sure you have BREAK_TO_DEBUGGER if you're >using a serial console. Assuming that the kernel is still processing interrupts. If your driver has managed something like "di(); while (1) {}" or maybe "splhigh(); while (1) {}", then you need an NMI to get you out of the loop so the console interrupt is seen. Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 14: 1:38 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from alcanet.com.au (mail.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (Postfix) with ESMTP id 550B737B8C4 for ; Wed, 10 May 2000 14:01:34 -0700 (PDT) (envelope-from jeremyp@gsmx07.alcatel.com.au) Received: by border.alcanet.com.au id <115219>; Thu, 11 May 2000 07:01:43 +1000 Content-return: prohibited From: Peter Jeremy Subject: Re: Can NMI drop a hanging FreeBSD kernel into DDB? To: imp@village.org Cc: hackers@freebsd.org Message-Id: <00May11.070143est.115219@border.alcanet.com.au> MIME-version: 1.0 X-Mailer: Mutt 1.0i Content-type: text/plain; charset=us-ascii Date: Thu, 11 May 2000 07:01:43 +1000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 05 May 2000 22:56:42 -0600, Warner Losh wrote: >In message <200005060453.WAA59241@harmony.village.org> Warner Losh writes: >: However, it won't work if you are hacking pci hardware and manage to >: hang the PCI bus. > >Unless, of course, the trap handler is in cache as well as the >debugger routines you need. I thought the PCI bus was isolated from the CPU<->memory bus so this couldn't occur. The trap handler should start OK, but just can't do any I/O because the PCI bus is hung. > There's not a good way to force it >either since if you knew you were about to hang the pci bus, you'd not >do the action that would hang it :-). At least on the 486, it is possible to freeze data in the internal cache by loading the cache (either via the test registers or by judicious memory accesses) and then disabling it (CR0.CD = 1). It's not possible to freeze specific cache lines. I presume similar facilities are available in the later processors and for external caches. Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 14:10:12 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from relay02.chello.nl (relay02.chello.nl [212.83.68.146]) by hub.freebsd.org (Postfix) with ESMTP id 0F2DC37B95E for ; Wed, 10 May 2000 14:10:07 -0700 (PDT) (envelope-from wkb@chello.nl) Received: from chello.nl ([213.46.78.184]) by relay02.chello.nl (InterMail vK.4.02.00.00 201-232-116 license eb4b2a5620dc3934c7c631b507644fb6) with ESMTP id <20000510210957.OXWV3505.relay02@chello.nl>; Wed, 10 May 2000 23:09:57 +0200 Received: (from wkb@localhost) by chello.nl (8.9.3/8.9.3) id XAA01891; Wed, 10 May 2000 23:10:04 +0200 (CEST) (envelope-from wkb) Date: Wed, 10 May 2000 23:10:04 +0200 From: Wilko Bulte To: Peter Jeremy Cc: imp@village.org, hackers@FreeBSD.ORG Subject: Re: Can NMI drop a hanging FreeBSD kernel into DDB? Message-ID: <20000510231004.A1871@jedi.wbnet> Reply-To: wc.bulte@chello.nl References: <00May11.070143est.115219@border.alcanet.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <00May11.070143est.115219@border.alcanet.com.au>; from peter.jeremy@alcatel.com.au on Thu, May 11, 2000 at 07:01:43AM +1000 X-OS: FreeBSD 3.4-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, May 11, 2000 at 07:01:43AM +1000, Peter Jeremy wrote: > On Fri, 05 May 2000 22:56:42 -0600, Warner Losh wrote: > >In message <200005060453.WAA59241@harmony.village.org> Warner Losh writes: > >: However, it won't work if you are hacking pci hardware and manage to > >: hang the PCI bus. > > > >Unless, of course, the trap handler is in cache as well as the > >debugger routines you need. > > I thought the PCI bus was isolated from the CPU<->memory bus so this > couldn't occur. The trap handler should start OK, but just can't do > any I/O because the PCI bus is hung. And if you force the IOCHK* line on an AT slot to GND? Would that work on modern PCI machines? I used to do this on older EISA boxes. -- Wilko Bulte FreeBSD, the power to serve http://www.freebsd.org http://www.tcja.nl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 14:29: 5 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 68DFC37B84B for ; Wed, 10 May 2000 14:29:01 -0700 (PDT) (envelope-from mjacob@feral.com) Received: from semuta.feral.com (semuta [192.67.166.70]) by feral.com (8.9.3/8.9.3) with ESMTP id OAA00493 for ; Wed, 10 May 2000 14:27:38 -0700 Date: Wed, 10 May 2000 14:28:08 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: freebsd-hackers@freebsd.org Subject: [ Global Filesystem ] a thought to mull over ... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [ I'll be gone for about 3 weeks, so I'm throwing this over my shoulder as I go - I'll check reponses, interest level when I get back ... ] What do folks feel about a port of Global Filesystem (see the URL http://www.gobalfilesystem.org) to FreeBSD? I believe that despite some of the issues that one can take up about their approach, it's the closest to a SAN-ready solution that I've seen in the Open Source space as yet. There's some notion that I might do a port. If others have stronger interest and better filesystem chops than I (which wouldn't be all that hard), let me know. -matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 14:32:28 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from hotmail.com (law-f148.hotmail.com [209.185.131.211]) by hub.freebsd.org (Postfix) with SMTP id 1D3DA37B996 for ; Wed, 10 May 2000 14:32:20 -0700 (PDT) (envelope-from shameek_basu@hotmail.com) Received: (qmail 38486 invoked by uid 0); 10 May 2000 21:32:09 -0000 Message-ID: <20000510213209.38485.qmail@hotmail.com> Received: from 131.107.3.73 by www.hotmail.com with HTTP; Wed, 10 May 2000 14:32:09 PDT X-Originating-IP: [131.107.3.73] From: "Shameek Basu" To: freebsd-questions@freebsd.org Cc: freebsd-hackers@freebsd.org Subject: Using the NT Boot Manager with FreeBSD Date: Wed, 10 May 2000 14:32:09 PDT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have been trying to get the W2k boot manager to bootstrap into FreeBSD 4.0 for a long time without success. I have Win 2k on my first IDE drive, and FreeBSD 4.0 on my 4th IDE drive (the 2nd drive is an IDE with Linux, and the secondary master is a CD-ROM). Currently I am using the W2k boot manager to load W2k/Linux. After reading the list archives, I tried a couple of things: 1) I copied /boot/boot0 to C:\bootsect.bsd and pointed C:\boot.ini to C:\bootsect.bsd. Since FreeBSD is on a different disk than W2k, I chose this solution. When I was installing FreeBSD I opted not to have any boot record anywhere, though I had made my FreeBSD slice "bootable" (I guess that means it was made a primary partition on my 4th IDE). When I chose this option from the NT boot manager, it wiped out my NT boot manager. My questions: Whats wrong with this approach? Should I have installed a boot record on the MBR of IDE disk 4? Has this recommended process changed from 3.x to 4.x of FreeBSD? Should I have used "dd" instead of just copying the boot0 file? 2) I reinstalled W2k and FreeBSD, and copied /boot/boot1 to C:\bootsect.bsd and repeated the same process. This time the NT boot manager was not corrupted, but I got a "Boot Error" message and the system hung. I have read and followed the instructions in the FAQ for loading FreeBSD with NT loaded (similar to the above steps), with no success. Does anyone have a clue how to boot into FreeBSD 4.0 using W2k loader when FreeBSD is on a different disk than NT? And whether I need to install a boot record on the MBR of the disk that FreeBSD resides on. Will choosing to write a boot record during installation overwrite the MBR of the disk that FreeBSD is being installed on or will it overwrite the MBR of the first disk that the BIOS reads at boot time? And lastly how can one make a boot diskette specific to a FreeBSD installation? The Linux installation offers a way to do this, does FreeBSD too? If there isn't how can I boot to my FreeBSD installation when my experiments with NT loader fails? Thanks in advance Shameek ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 14:39:46 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mcp.csh.rit.edu (mcp.csh.rit.edu [129.21.60.9]) by hub.freebsd.org (Postfix) with ESMTP id 3FEB237B996 for ; Wed, 10 May 2000 14:39:43 -0700 (PDT) (envelope-from jon@mail.csh.rit.edu) Received: from fury.csh.rit.edu (fury.csh.rit.edu [129.21.60.5]) by mcp.csh.rit.edu (Postfix) with ESMTP id 1B852148 for ; Wed, 10 May 2000 17:39:35 -0400 (EDT) Received: (from jon@localhost) by fury.csh.rit.edu (8.9.3+Sun/8.9.1) id RAA12923 for freebsd-hackers@freebsd.org; Wed, 10 May 2000 17:39:25 -0400 (EDT) Date: Wed, 10 May 2000 17:39:21 -0400 From: Jon Parise To: freebsd-hackers@freebsd.org Subject: Re: Using the NT Boot Manager with FreeBSD Message-ID: <20000510173921.B11345@csh.rit.edu> Mail-Followup-To: freebsd-hackers@freebsd.org References: <20000510213209.38485.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.14i In-Reply-To: <20000510213209.38485.qmail@hotmail.com>; from shameek_basu@hotmail.com on Wed, May 10, 2000 at 02:32:09PM -0700 X-Operating-System: SunOS 5.7 (sun4u) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, May 10, 2000 at 02:32:09PM -0700, Shameek Basu wrote: > Does anyone have a clue how to boot into FreeBSD 4.0 using W2k > loader when FreeBSD is on a different disk than NT? And whether I > need to install a boot record on the MBR of the disk that FreeBSD > resides on. Will choosing to write a boot record during > installation overwrite the MBR of the disk that FreeBSD is being > installed on or will it overwrite the MBR of the first disk that > the BIOS reads at boot time? I've always had good luck with BootPart for these kinds of thing: http://www.winimage.com/bootpart.htm It has yet to fail me. =) -- Jon Parise (jon@csh.rit.edu) . Rochester Inst. of Technology http://www.csh.rit.edu/~jon/ : Computer Science House Member To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 14:49:46 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.100.7]) by hub.freebsd.org (Postfix) with ESMTP id 1C01537B966 for ; Wed, 10 May 2000 14:49:44 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.9.3/8.9.3) with ESMTP id RAA410722; Wed, 10 May 2000 17:49:22 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: References: Date: Wed, 10 May 2000 17:49:25 -0400 To: mjacob@feral.com, freebsd-hackers@FreeBSD.ORG From: Garance A Drosihn Subject: Re: [ Global Filesystem ] a thought to mull over ... Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 2:28 PM -0700 5/10/00, Matthew Jacob wrote: >[ I'll be gone for about 3 weeks, so I'm throwing this over my >shoulder as I go - I'll check reponses, interest level when I >get back ... ] > >What do folks feel about a port of Global Filesystem (see the >URL http://www.gobalfilesystem.org) to FreeBSD? Try: http://www.globalfilesystem.org/ (you missed an 'L') >I believe that despite some of the issues that one can take up >about their approach, it's the closest to a SAN-ready solution >that I've seen in the Open Source space as yet. How does this compare to things like ARLA or CODA? --- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or drosih@rpi.edu Rensselaer Polytechnic Institute To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 14:53:49 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id EF86637B966 for ; Wed, 10 May 2000 14:53:42 -0700 (PDT) (envelope-from mjacob@feral.com) Received: from semuta.feral.com (semuta [192.67.166.70]) by feral.com (8.9.3/8.9.3) with ESMTP id OAA00626; Wed, 10 May 2000 14:51:56 -0700 Date: Wed, 10 May 2000 14:52:16 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: Garance A Drosihn Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: [ Global Filesystem ] a thought to mull over ... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 10 May 2000, Garance A Drosihn wrote: > At 2:28 PM -0700 5/10/00, Matthew Jacob wrote: > >[ I'll be gone for about 3 weeks, so I'm throwing this over my > >shoulder as I go - I'll check reponses, interest level when I > >get back ... ] > > > >What do folks feel about a port of Global Filesystem (see the > >URL http://www.gobalfilesystem.org) to FreeBSD? > > Try: > http://www.globalfilesystem.org/ > > (you missed an 'L') I need a vacation.... > > > >I believe that despite some of the issues that one can take up > >about their approach, it's the closest to a SAN-ready solution > >that I've seen in the Open Source space as yet. > > How does this compare to things like ARLA or CODA? I don't know ARLA. Different intents than CODA. This filesystem is intended to be a shared local (well, fabric) filesystem across heterogenous hosts. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 15: 5:38 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 0684C37B6DA for ; Wed, 10 May 2000 15:05:30 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e4AMb5o09277; Wed, 10 May 2000 15:37:05 -0700 (PDT) Date: Wed, 10 May 2000 15:37:05 -0700 From: Alfred Perlstein To: Matthew Jacob Cc: Garance A Drosihn , freebsd-hackers@FreeBSD.ORG Subject: Re: [ Global Filesystem ] a thought to mull over ... Message-ID: <20000510153705.O28180@fw.wintelcom.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from mjacob@feral.com on Wed, May 10, 2000 at 02:52:16PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Matthew Jacob [000510 15:27] wrote: > On Wed, 10 May 2000, Garance A Drosihn wrote: > > > At 2:28 PM -0700 5/10/00, Matthew Jacob wrote: > > >[ I'll be gone for about 3 weeks, so I'm throwing this over my > > >shoulder as I go - I'll check reponses, interest level when I > > >get back ... ] > > > > > >What do folks feel about a port of Global Filesystem (see the > > >URL http://www.gobalfilesystem.org) to FreeBSD? > > > > Try: > > http://www.globalfilesystem.org/ > > > > (you missed an 'L') > > I need a vacation.... > > > > > > > >I believe that despite some of the issues that one can take up > > >about their approach, it's the closest to a SAN-ready solution > > >that I've seen in the Open Source space as yet. > > > > How does this compare to things like ARLA or CODA? > > I don't know ARLA. Different intents than CODA. This filesystem is intended to > be a shared local (well, fabric) filesystem across heterogenous hosts. No offence, the way I read it, it looks like an exportable vn device, hardly state-of-the-art clustering technology. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 15:15:19 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from ns.mtelecom.ru (host3.mtelecom.ru [212.44.147.3]) by hub.freebsd.org (Postfix) with ESMTP id A168837B9B2 for ; Wed, 10 May 2000 15:15:14 -0700 (PDT) (envelope-from s@gw2.mtelecom.ru) Received: from gw2.mtelecom.ru (gw2.mtelecom.ru [192.168.3.2]) by ns.mtelecom.ru (8.8.5/8.8.5) with ESMTP id CAA03787; Thu, 11 May 2000 02:15:09 +0400 (MSD) Received: from localhost (s@localhost) by gw2.mtelecom.ru (8.9.1a/8.9.1) with SMTP id CAA23193; Thu, 11 May 2000 02:15:09 +0400 (MSD) Date: Thu, 11 May 2000 02:15:08 +0400 (MSD) From: Vsevolod Semenov X-Sender: s@gw2 Reply-To: seva@mtelecom.ru To: Andrzej Bialecki Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: what is /etc/[s]pwd.db stay for? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 9 May 2000, Andrzej Bialecki wrote: > On Tue, 9 May 2000, Vsevolod Semenov wrote: > > > > > pw showuser shows user tens times slowly then > > grep user /etc/[master.]passwd > > DB files provide you with already parsed and indexed information, more > suitable for use in API. I thought it is. before was asked for seting up 1000000 users site. > grep can't perform many operations from getpw* family... Example with grep is only demonstrate that search in text file more quick then db file with db rutines. > also, the library routines getpw* would have to parse > /etc/passwd each time you call them... of couse. It is not problem. > Try to increase hashsize when using pw and related utilities. It makes a > real difference in speed for large user databases. how much hash size need 1000000 users db? > > pwd_mkdb can't create [s]pwd.db files for 1000000 users. > I believe we still have a limit of 65535 user ids in many places in the > system, what places? I found only pwd_mkdb. > although uid_t is in fact u_int32_t. Or...? > > what reason to use db stuff in libc/gen/getpwent.c? > Speed and efficiency :-) db rutines is only problem to seting up 1000000 users site. i'll replace getpwent.c in freebsd from linux. :). > Andrzej Bialecki > > // WebGiro AB, Sweden (http://www.webgiro.com) > // ------------------------------------------------------------------- > // ------ FreeBSD: The Power to Serve. http://www.freebsd.org -------- > // --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ---- > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 15:16:40 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 9562537B9E3 for ; Wed, 10 May 2000 15:16:34 -0700 (PDT) (envelope-from mjacob@feral.com) Received: from semuta.feral.com (semuta [192.67.166.70]) by feral.com (8.9.3/8.9.3) with ESMTP id PAA00674; Wed, 10 May 2000 15:15:05 -0700 Date: Wed, 10 May 2000 15:15:32 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: Alfred Perlstein Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: [ Global Filesystem ] a thought to mull over ... In-Reply-To: <20000510153705.O28180@fw.wintelcom.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > > I don't know ARLA. Different intents than CODA. This filesystem is intended to > > be a shared local (well, fabric) filesystem across heterogenous hosts. > > No offence, the way I read it, it looks like an exportable vn device, > hardly state-of-the-art clustering technology. Hmm? Possibly- although I don't quite get how you're seeing that. Still, somebody asked recently, wrt to a fibre channel loop with two (if not more) FreeBSD machines connected to it with a JBOD and 10 36GB Fibre Channel drives, "What filesystem do I use to share between the FreeBSD machines"? So, modulo a network based filesystem over Gig Ethernet (which may or may not be as fast as a SAN on Fibre Channel), what do you recommend? -matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 15:44: 2 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id B87A737B5CF for ; Wed, 10 May 2000 15:43:57 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id PAA60933; Wed, 10 May 2000 15:43:44 -0700 (PDT) (envelope-from dillon) Date: Wed, 10 May 2000 15:43:44 -0700 (PDT) From: Matthew Dillon Message-Id: <200005102243.PAA60933@apollo.backplane.com> To: James Bond Cc: freeBSD-hackers@FreeBSD.ORG Subject: Re: icmp-response error References: <200005102032.QAA11129@jestocost.cosc.morrisville.edu> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :Hello hackers. :I am getting an error message on my box's console that I don't know why I :am getting. the log file shows: : :May 9 23:28:35 djoan /kernel: icmp-response bandwith limit 564/100 pps :May 9 23:28:36 djoan /kernel: icmp-response bandwith limit 1277/100 pps :May 9 23:28:37 djoan /kernel: icmp-response bandwith limit 1985/100 pps : :The console shows more of the same message but they didn't end up in the log. : :Is this a result of some type of attack? If it is, how can I set up my box :to get more information like what ip it is coming from?. Yes, your box is being attacked. You can use tcpdump while the attack is in progress to disect the packets, but these sorts of attacks tend to use spoofed (i.e. random) IP addresses, so being able to trace them could prove to be difficult. :the only other thing that I can see that I don't understand is two connections :in my netstat that I don't know why they are there: : :Active Internet connections :Proto Recv-Q Send-Q Local Address Foreign Address (state) :tcp 0 0 djoan.telnet 136.204.177.9.1847 ESTABLISHED :tcp 0 40 djoan.ssh jestocost.1950 ESTABLISHED :tcp 0 0 djoan.1180 irc.Stanford.EDU.6667 ESTABLISHED :tcp 0 0 djoan.telnet 136.204.176.156.1030 ESTABLISHED :tcp 0 0 djoan.1144 irc-w1.concentri.6667 ESTABLISHED :udp 0 0 djoan.1171 snymoraa.morrisv.doma : :I don't know why the two irc servers are connected, or what the ports are :for. None of my other boxes show anything unusual. : :When it comes to ip I am still learning how to protect myself. Any information :will be appreciated, as well as pointers to web pages or man pages of course. : :Thank you for any help. : :James. There are two processes on your system that are connecting to two different IRC servers. You should be able to locate the processes with 'ps axl'. If they are hidden (masquarading as some other typical process name), you can track them down with 'netstat -taA' to get the protocol address of the socket and then fstat to figure out which process owns the socket. This can get rather sophisticated, so you should stick to a straight 'ps axl' if you can. If these irc processes are not supposed to be there, your system may have been hacked. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 15:51:38 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from alcanet.com.au (mail.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (Postfix) with ESMTP id 97A0237BA2E for ; Wed, 10 May 2000 15:51:23 -0700 (PDT) (envelope-from jeremyp@gsmx07.alcatel.com.au) Received: by border.alcanet.com.au id <115442>; Thu, 11 May 2000 08:51:27 +1000 Content-return: prohibited From: Peter Jeremy Subject: Re: Can NMI drop a hanging FreeBSD kernel into DDB? In-reply-to: <20000510231004.A1871@jedi.wbnet>; from wkb@chello.nl on Thu, May 11, 2000 at 07:10:27AM +1000 To: wc.bulte@chello.nl Cc: hackers@FreeBSD.ORG Message-Id: <00May11.085127est.115442@border.alcanet.com.au> MIME-version: 1.0 X-Mailer: Mutt 1.0i Content-type: text/plain; charset=us-ascii References: <00May11.070143est.115219@border.alcanet.com.au> <20000510231004.A1871@jedi.wbnet> Date: Thu, 11 May 2000 08:51:22 +1000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 2000-May-11 07:10:27 +1000, Wilko Bulte wrote: >And if you force the IOCHK* line on an AT slot to GND? Would that work >on modern PCI machines? Grounding IOCHK* does cause an NMI on the only PCI machine I've tried it on. It looks like this is maskable in the Intel PIIX3 (and presumably later) chips, so it may depend on the BIOS. I don't know whether this will still work if the PCI bus is hung. I know it doesn't work when I wedge that machine, but I'm not sure what is wedging (since I'm not playing with untested PCI hardware, I think it's not the PCI bus). Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 15:57:54 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 7ACC837B9C6 for ; Wed, 10 May 2000 15:57:50 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id QAA55949; Wed, 10 May 2000 16:57:45 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id QAA95984; Wed, 10 May 2000 16:57:23 -0600 (MDT) Message-Id: <200005102257.QAA95984@harmony.village.org> To: Peter Jeremy Subject: Re: Can NMI drop a hanging FreeBSD kernel into DDB? Cc: hackers@FreeBSD.ORG In-reply-to: Your message of "Thu, 11 May 2000 07:01:43 +1000." <00May11.070143est.115219@border.alcanet.com.au> References: <00May11.070143est.115219@border.alcanet.com.au> Date: Wed, 10 May 2000 16:57:23 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <00May11.070143est.115219@border.alcanet.com.au> Peter Jeremy writes: : I thought the PCI bus was isolated from the CPU<->memory bus so this : couldn't occur. The trap handler should start OK, but just can't do : any I/O because the PCI bus is hung. I'm not sure why things happen this way. I just know that I've not been able to get a NMI to break into the debugger when certain hardware that I've worked on in the past when it desided to hang. I don't know if that's because this also hung the host bridge so that no interrupt code could fetch it from memory, or what the deal was. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 16: 1:52 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 4416337B969 for ; Wed, 10 May 2000 16:01:47 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id RAA55971; Wed, 10 May 2000 17:01:44 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id RAA96028; Wed, 10 May 2000 17:01:22 -0600 (MDT) Message-Id: <200005102301.RAA96028@harmony.village.org> To: Peter Jeremy Subject: Re: Can NMI drop a hanging FreeBSD kernel into DDB? Cc: wc.bulte@chello.nl, hackers@FreeBSD.ORG In-reply-to: Your message of "Thu, 11 May 2000 08:51:22 +1000." <00May11.085127est.115442@border.alcanet.com.au> References: <00May11.085127est.115442@border.alcanet.com.au> <00May11.070143est.115219@border.alcanet.com.au> <20000510231004.A1871@jedi.wbnet> Date: Wed, 10 May 2000 17:01:22 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <00May11.085127est.115442@border.alcanet.com.au> Peter Jeremy writes: : Grounding IOCHK* does cause an NMI on the only PCI machine I've tried : it on. It looks like this is maskable in the Intel PIIX3 (and : presumably later) chips, so it may depend on the BIOS. All but one of my machines do that. I have a special card :-) : I don't know whether this will still work if the PCI bus is hung. I : know it doesn't work when I wedge that machine, but I'm not sure what : is wedging (since I'm not playing with untested PCI hardware, I think : it's not the PCI bus). I've had the pci bus hang when undebugged hardware was plugged into it... When the machine was in this state it was impossible to break into the debugger. I don't know what is hanging either... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 16:19:58 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 9272737B5CF for ; Wed, 10 May 2000 16:19:55 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e4ANpdl11718; Wed, 10 May 2000 16:51:39 -0700 (PDT) Date: Wed, 10 May 2000 16:51:39 -0700 From: Alfred Perlstein To: Matthew Jacob Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: [ Global Filesystem ] a thought to mull over ... Message-ID: <20000510165139.Q28180@fw.wintelcom.net> References: <20000510153705.O28180@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from mjacob@feral.com on Wed, May 10, 2000 at 03:15:32PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Matthew Jacob [000510 15:48] wrote: > > > > > > I don't know ARLA. Different intents than CODA. This filesystem is intended to > > > be a shared local (well, fabric) filesystem across heterogenous hosts. > > > > No offence, the way I read it, it looks like an exportable vn device, > > hardly state-of-the-art clustering technology. > > Hmm? Possibly- although I don't quite get how you're seeing that. > > Still, somebody asked recently, wrt to a fibre channel loop with two (if not > more) FreeBSD machines connected to it with a JBOD and 10 36GB Fibre Channel > drives, "What filesystem do I use to share between the FreeBSD machines"? > > So, modulo a network based filesystem over Gig Ethernet (which may or may not > be as fast as a SAN on Fibre Channel), what do you recommend? Re-reading it I was wrong it does seem to be some sort of network filesystem, the way they phrase: What is GFS? The Global File System (GFS) allows multiple Linux machine to share storage devices over a network. Each machine sees the network disks as local, and GFS itself appears as a local file system. Writes to a file by one Linux machine are seen by another machine that later reads that file. Looked like a vn device over NFS except using some special protocol instead of NFS, basically only one client can see a filesystem at a time. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 16:23: 6 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 6FC5037BA2E for ; Wed, 10 May 2000 16:23:01 -0700 (PDT) (envelope-from mjacob@feral.com) Received: from semuta.feral.com (semuta [192.67.166.70]) by feral.com (8.9.3/8.9.3) with ESMTP id QAA00856; Wed, 10 May 2000 16:21:36 -0700 Date: Wed, 10 May 2000 16:22:06 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: Alfred Perlstein Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: [ Global Filesystem ] a thought to mull over ... In-Reply-To: <20000510165139.Q28180@fw.wintelcom.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Re-reading it I was wrong it does seem to be some sort of network > filesystem, the way they phrase: > > > What is GFS? > > The Global File System (GFS) allows multiple Linux machine to > share storage devices over a network. Each machine sees the > network disks as local, and GFS itself appears as a local file > system. Writes to a file by one Linux machine are seen by another > machine that later reads that file. > > Looked like a vn device over NFS except using some special protocol > instead of NFS, basically only one client can see a filesystem at > a time. No, it's a shared simultaneous access filesystem. That's the whole point of DLOCKs (which can be in hardware, or via a DLM). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 16:28:16 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from tomts1-srv.bellnexxia.net (tomts1.bellnexxia.net [209.226.175.139]) by hub.freebsd.org (Postfix) with ESMTP id 69CF437BA67 for ; Wed, 10 May 2000 16:28:03 -0700 (PDT) (envelope-from dp@penix.org) Received: from penix.org ([64.228.35.175]) by tomts1-srv.bellnexxia.net (InterMail vM.4.01.02.17 201-229-119) with ESMTP id <20000510232757.GRTE28912.tomts1-srv.bellnexxia.net@penix.org>; Wed, 10 May 2000 19:27:57 -0400 Message-ID: <3919EEFC.C9F40DFE@penix.org> Date: Wed, 10 May 2000 19:21:32 -0400 From: "Paul H." X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: "Christopher T. Griffiths" Cc: hackers@FreeBSD.ORG Subject: Re: IBM Thinkpad 600e and Sound References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Christopher T. Griffiths" wrote: > Hello, > > I am currently running 4.0 -stable on a Thinkpad 600e. I have the > following set in my kernel: > > device pcm > options PNPBIOS > > Unfortunatly I am not getting any sound and am getting the following > dmesg: > I had the same problem with my dell latitude. Try hard setting the addresses in your kernel ie: device pcm0 at isa? port 0x220 irq 5 drq 1 << or whatever. I am aware that the device is pnp however some laptop bios's coupled with freeBSD make for some strange reassignments of interrupt requests during runtime. -- Paul H. ============================================================================ Don't underestimate the power of stupid people in large groups. Email: dp@penix.org BIO: http://bling.dyn.dhs.org GPG Key fingerprint: 2D7C A7E2 DB1F EA5F 8C6F D5EC 3D39 F274 4AA3 E8B9 Public Key available here: http://bling.dyn.dhs.org/dp.asc ============================================================================ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 17:20:45 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.monmouth.com (mail.monmouth.com [209.191.58.1]) by hub.freebsd.org (Postfix) with ESMTP id 503D737BA9A for ; Wed, 10 May 2000 17:20:33 -0700 (PDT) (envelope-from pechter@bg-tc-ppp588.monmouth.com) Received: from bg-tc-ppp588.monmouth.com (bg-tc-ppp588.monmouth.com [209.191.59.22]) by mail.monmouth.com (8.9.3/8.9.3) with ESMTP id UAA14041; Wed, 10 May 2000 20:20:23 -0400 (EDT) Received: (from pechter@localhost) by bg-tc-ppp588.monmouth.com (8.9.3/8.9.3) id UAA22735; Wed, 10 May 2000 20:21:20 -0400 (EDT) (envelope-from pechter) From: Bill Pechter Message-Id: <200005110021.UAA22735@bg-tc-ppp588.monmouth.com> Subject: Allied Tel In-Reply-To: from freebsd-hackers-digest at "May 10, 2000 02:49:50 pm" To: hackers@FreeBSD.ORG Date: Wed, 10 May 2000 20:21:19 -0400 (EDT) Cc: bsdx@looksharp.net Reply-To: bpechter@shell.monmouth.com X-Phone-Number: 732-935-0629 X-OS-Type: FreeBSD 4.0-CURRENT X-Mailer: ELM [version 2.4ME+ PL66 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Date: Wed, 10 May 2000 01:48:36 -0400 (EDT) > From: Adam > Subject: Supporting an "A.T.I." pnp PCNet ISA-II card > > Hello, I have come across two network cards that I would like to use with > FreeBSD. They have TP and fibre interfaces on them; I grabbed them for > free just for the novelty of having a nic with fibre on it :) But at this > point I am only interested in getting the twisted pair portion to > work. Under FreeBSD 5-current of a few weeks ago at most, pnp detects it > but the lnc driver doesnt seem to pick it up. I barely know diddly about > C but if it looked like I could throw some ID's in a file and recompile I > would have tried. It doesn't look so easy it seems :) Thus I am going > for people more experienced. Any assistance in getting this working would > be appreciated. Thanks! > > Details: > Looks like Manufacturer is "A.T.I." (no idea if any relation to the video > card mauf) > Card has printed on it AT-1500PNP as the model number. > The main chip is a AMD PCNet ISA-II AM79C961AKC > dmesg: unknown9: at port > 0x220-0x237 irq 5 drq 3 on isa0 > pnpinfo: > Checking for Plug-n-Play devices... > > Card assigned CSN #1 > Vendor ID ATK1500 (0x00158b06), Serial Number 0xe008b3f4 > PnP Version 1.0, Vendor Version 0 > Device Description: ATI AT-1500 Ethernet Network Adapter Check out Allied Telesyn www.alliedtelesyn.com -- the card sounds like the AT-1500 from the website. Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 17:28:22 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from bsdhome.dyndns.org (rdu25-18-195.nc.rr.com [24.25.18.195]) by hub.freebsd.org (Postfix) with ESMTP id ED14E37BAB3 for ; Wed, 10 May 2000 17:28:12 -0700 (PDT) (envelope-from bsd@bsdhome.com) Received: from vger.bsdhome.com (vger [192.168.220.2]) by bsdhome.dyndns.org (8.9.3/8.9.3) with ESMTP id UAA39154; Wed, 10 May 2000 20:27:50 -0400 (EDT) (envelope-from bsd@bsdhome.com) Received: from localhost (bsd@localhost) by vger.bsdhome.com (8.9.3/8.9.3) with ESMTP id UAA32500; Wed, 10 May 2000 20:27:43 -0400 (EDT) (envelope-from bsd@vger.bsdhome.com) Date: Wed, 10 May 2000 20:27:43 -0400 (EDT) From: Brian Dean To: James Bond Cc: freeBSD-hackers@FreeBSD.ORG Subject: Re: icmp-response error In-Reply-To: <200005102032.QAA11129@jestocost.cosc.morrisville.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 10 May 2000, James Bond wrote: > Hello hackers. > I am getting an error message on my box's console that I don't know why I > am getting. the log file shows: > > May 9 23:28:35 djoan /kernel: icmp-response bandwith limit 564/100 pps > May 9 23:28:36 djoan /kernel: icmp-response bandwith limit 1277/100 pps > May 9 23:28:37 djoan /kernel: icmp-response bandwith limit 1985/100 pps > > The console shows more of the same message but they didn't end up in the log. > > Is this a result of some type of attack? If it is, how can I set up my box > to get more information like what ip it is coming from?. I get this when I port scan my own machine, so I presume this could be happening to you as well. This is most likly someone trying to determine your machine's weakness, which may or may not be followed by an assault. You may want to install the portsentry port (see /usr/ports/security/portsentry). I don't use it myself, but I've heard others mention it. You may want to consider setting up a firewall, which will block all but the services you explicitly allow, and you can set it up to log all attempted accesses. I get a handful of pokes and prods on my machine every day, but the only time I've been portscanned is when I've initiated it myself. > the only other thing that I can see that I don't understand is two > connections in my netstat that I don't know why they are there: > > Active Internet connections > Proto Recv-Q Send-Q Local Address Foreign Address (state) > tcp 0 0 djoan.telnet 136.204.177.9.1847 ESTABLISHED > tcp 0 40 djoan.ssh jestocost.1950 ESTABLISHED > tcp 0 0 djoan.1180 irc.Stanford.EDU.6667 ESTABLISHED > tcp 0 0 djoan.telnet 136.204.176.156.1030 ESTABLISHED > tcp 0 0 djoan.1144 irc-w1.concentri.6667 ESTABLISHED > udp 0 0 djoan.1171 snymoraa.morrisv.doma > Active UNIX domain sockets > Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr > c4c07f40 stream 0 0 c4bfa280 0 0 0 /var/run/printer > c4c07ec0 dgram 0 0 0 c4bfdfc0 0 c4c07e40 > c4c07e40 dgram 0 0 0 c4bfdfc0 0 c4c07f00 > c4c07f00 dgram 0 0 0 c4bfdfc0 0 c4c07f80 > c4c07f80 dgram 0 0 0 c4bfdfc0 0 c4c07fc0 > c4c07fc0 dgram 0 0 0 c4bfdfc0 0 0 > c4bfdfc0 dgram 4068 0 c4bfcbc0 0 c4c07ec0 0 /var/run/log > > I don't know why the two irc servers are connected, or what the ports are > for. None of my other boxes show anything unusual. > > When it comes to ip I am still learning how to protect myself. Any > information will be appreciated, as well as pointers to web pages or > man pages of course. A while back, I wrote a simplistic, but effect script to print out information about who has a particular port open. Try running the following program with the argument '1180' or '1144' (for your above sample output - the port numbers you are interested in). It should print out information about the process that has those ports open. I've found this handy, maybe you will too. ------------------------------------------------------------ #!/bin/ksh port=$1 netstat=/usr/bin/netstat grep=/usr/bin/grep head=/usr/bin/head ps=/bin/ps cut=/usr/bin/cut echo=/bin/echo tr=/usr/bin/tr fstat=/usr/bin/fstat addr=`$netstat -a -A -f inet | $grep $port | $head -1 | $cut -f1 -d' '` $ps aux | $tr -s ' ' | $cut -f2 -d' ' | $grep -v PID | \ while read pid; do match=`fstat -p $pid | grep $addr` rc=$? if [ "$rc" -eq 0 ]; then $echo $echo "Process $pid:" $echo $ps -auxp $pid $echo $netstat -a -A -f inet | $grep $port $echo $fstat -p $pid $echo fi done ------------------------------------------------------------ Good Luck! -Brian -- Brian Dean bsd@FreeBSD.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 18:27:16 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id F1E4137BA67 for ; Wed, 10 May 2000 18:27:11 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id SAA61600; Wed, 10 May 2000 18:27:11 -0700 (PDT) (envelope-from dillon) Date: Wed, 10 May 2000 18:27:11 -0700 (PDT) From: Matthew Dillon Message-Id: <200005110127.SAA61600@apollo.backplane.com> To: hackers@FreeBSD.ORG Subject: ipsec 'replay' syslog error messages after reboot of one host Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Anybody an ipsec guru? I've setup an ipsec transport between two hosts, A and B on an unsecure network, the setkey configuration file is included below. It works fine until I reboot one host (A). After it has rebooted any packets I send from A to B causes B to report 'replay packet' errors and for no packets to get through. I have to re-run setkey on B in order for things to work again. The question is: What am I forgetting to do? Or is this a bug in our IPSEC implementation? May 10 18:15:05 air /kernel: replay packet in IPv4 ESP input: packet(SPI=65537 s rc=192.168.254.28 dst=192.168.254.29) SA(SPI=65537 src=192.168.254.28 dst=192.16 8.254.29) May 10 18:15:41 air /kernel: replay packet in IPv4 ESP input: packet(SPI=65537 s rc=192.168.254.28 dst=192.168.254.29) SA(SPI=65537 src=192.168.254.28 dst=192.16 8.254.29) -Matt Matthew Dillon spdflush ; flush ; add 192.168.254.28 192.168.254.29 esp 0x10001 -E des-cbc "password" -A hmac-md5 "passwordpasswo!!" ; add 192.168.254.29 192.168.254.28 esp 0x10001 -E des-cbc "password" -A hmac-md5 "passwordpasswo!!" ; spdadd 192.168.254.28/32[any] 192.168.254.29/32[any] any -P out ipsec esp/tunnel/192.168.254.28-192.168.254.29/require ; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 19:38:11 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp02.teb1.iconnet.net (smtp02.teb1.iconnet.net [209.3.218.43]) by hub.freebsd.org (Postfix) with ESMTP id 721BF37BAD1 for ; Wed, 10 May 2000 19:38:07 -0700 (PDT) (envelope-from babkin@bellatlantic.net) Received: from bellatlantic.net (client-117-234.bellatlantic.net [151.198.117.234]) by smtp02.teb1.iconnet.net (8.9.1/8.9.1) with ESMTP id WAA19711; Wed, 10 May 2000 22:37:52 -0400 (EDT) Message-ID: <391A1F35.23F38D4A@bellatlantic.net> Date: Wed, 10 May 2000 22:47:17 -0400 From: Sergey Babkin X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-19990626-CURRENT i386) X-Accept-Language: ru, en MIME-Version: 1.0 To: Peter Jeremy Cc: wc.bulte@chello.nl, hackers@FreeBSD.ORG Subject: Re: Can NMI drop a hanging FreeBSD kernel into DDB? References: <00May11.070143est.115219@border.alcanet.com.au> <20000510231004.A1871@jedi.wbnet> <00May11.085127est.115442@border.alcanet.com.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Peter Jeremy wrote: > > On 2000-May-11 07:10:27 +1000, Wilko Bulte wrote: > >And if you force the IOCHK* line on an AT slot to GND? Would that work > >on modern PCI machines? > > Grounding IOCHK* does cause an NMI on the only PCI machine I've tried > it on. It looks like this is maskable in the Intel PIIX3 (and > presumably later) chips, so it may depend on the BIOS. Seems like most of the modern machines just don't have that pin on the PCI bus connected anywhere. But on most of them (though not all) the pin on ISA works. Some high-end machines like Unisys or Compaq have an NMI button on the box (sometimes under the cover). > I don't know whether this will still work if the PCI bus is hung. I Most probably it won't. The keyboard is connected on most machines below PCI, so if PCI hangs you won't be able to do anything anyway. The same problem would be in the other direction, for PCI video card. -SB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 21: 9:35 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rina.r.dl.itc.u-tokyo.ac.jp (rina.r.dl.itc.u-tokyo.ac.jp [133.11.199.247]) by hub.freebsd.org (Postfix) with ESMTP id 67A0D37B593 for ; Wed, 10 May 2000 21:09:29 -0700 (PDT) (envelope-from tanimura@r.dl.itc.u-tokyo.ac.jp) Received: from rina.r.dl.itc.u-tokyo.ac.jp (tanimura@localhost [127.0.0.1]) by rina.r.dl.itc.u-tokyo.ac.jp (8.9.3+3.2W/3.7W-rina.r-0.1-11.01.2000) with ESMTP/IPv4 id NAA04047; Thu, 11 May 2000 13:09:18 +0900 (JST) Date: Thu, 11 May 2000 13:09:18 +0900 Message-ID: <14618.12910.86889.26482Z@rina> From: Seigo Tanimura To: hackers@freebsd.org Subject: newbusified rp driver Cc: Seigo Tanimura User-Agent: Wanderlust/1.0.3 (Notorious) SEMI/1.13.4 (Terai) FLIM/1.12.7 (=?ISO-8859-4?Q?Y=FEzaki?=) MULE XEmacs/21.1 (patch 9) (Canyonlands) (i386--freebsd) Organization: Digital Library Research Division, Information Techinology Centre, The University of Tokyo MIME-Version: 1.0 (generated by SEMI 1.13.4 - "Terai") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have updated the rp driver for Comtrol RocketPort. This update includes: o syncing up to version 3.02 of the official driver by Comtrol. (FTP://FTP.COMTROL.COM/RPORT/DRIVERS/ISA_PCI/FREEBSD/3_X/1800016A.gz) o newbusification o support of a module (only for PCI, and unloading does not work yet) If interested, please fetch the patch at: http://people.FreeBSD.org/~tanimura/patches/rp.diff.gz TIA. -- Seigo Tanimura To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 21:10:17 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 6F4C437B5B6 for ; Wed, 10 May 2000 21:10:14 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id WAA56836; Wed, 10 May 2000 22:10:12 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id WAA97551; Wed, 10 May 2000 22:09:50 -0600 (MDT) Message-Id: <200005110409.WAA97551@harmony.village.org> To: Sergey Babkin Subject: Re: Can NMI drop a hanging FreeBSD kernel into DDB? Cc: Peter Jeremy , wc.bulte@chello.nl, hackers@FreeBSD.ORG In-reply-to: Your message of "Wed, 10 May 2000 22:47:17 EDT." <391A1F35.23F38D4A@bellatlantic.net> References: <391A1F35.23F38D4A@bellatlantic.net> <00May11.070143est.115219@border.alcanet.com.au> <20000510231004.A1871@jedi.wbnet> <00May11.085127est.115442@border.alcanet.com.au> Date: Wed, 10 May 2000 22:09:50 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <391A1F35.23F38D4A@bellatlantic.net> Sergey Babkin writes: : Seems like most of the modern machines just don't have that : pin on the PCI bus connected anywhere. But on most of them : (though not all) the pin on ISA works. Some high-end machines : like Unisys or Compaq have an NMI button on the box (sometimes : under the cover). IOCHK* isn't on the PCI bus at all. You have to do weird things for it to generate an NMI that I've never quite worked out. I sure wish I could get the pcccard bus (and/or cardbus) to genereate NMIs for laptop hacking at times. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 21:28: 1 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from evil.2y.net (ztown3-3-227.adsl.one.net [206.112.211.227]) by hub.freebsd.org (Postfix) with ESMTP id 06C9D37B510 for ; Wed, 10 May 2000 21:27:58 -0700 (PDT) (envelope-from cokane@evil.2y.net) Received: (from cokane@localhost) by evil.2y.net (8.9.3/8.9.3) id AAA00667 for hackers@freebsd.org; Thu, 11 May 2000 00:33:55 -0400 (EDT) (envelope-from cokane) Date: Thu, 11 May 2000 00:33:55 -0400 From: Coleman Kane To: hackers@freebsd.org Subject: 3dfx driver Message-ID: <20000511003355.B643@cokane.yi.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i X-Vim: vim:tw=70:ts=4:sw=4 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Okay, I finished the 3dfx driver for freebsd. It works, but no glide support is available. I am going to write a tiny module to handle ioctl calls from linux (which are never directly translated without proper setup). Anyway, I need a cdev major, linux uses 107 and I propose we keep it unless it has been taken recently. It is newbussified and I parsed through it to abide by style(9). It is named tdfx, since you can't start a device name with a number (the /dev entry will still be /dev/3dfx). I also didn't use the voodooN syntax that was in the old "disappeared" driver, since it is rather long. XFree86 also uses tdfx for their 3dfx driver. -- Coleman Kane President, UC Free O.S. Users Group - http://pohl.ececs.uc.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 21:35:39 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from evil.2y.net (ztown3-3-227.adsl.one.net [206.112.211.227]) by hub.freebsd.org (Postfix) with ESMTP id 1F94937B570 for ; Wed, 10 May 2000 21:35:29 -0700 (PDT) (envelope-from cokane@evil.2y.net) Received: (from cokane@localhost) by evil.2y.net (8.9.3/8.9.3) id AAA00743 for hackers@freebsd.org; Thu, 11 May 2000 00:41:24 -0400 (EDT) (envelope-from cokane) Date: Thu, 11 May 2000 00:41:24 -0400 From: Coleman Kane To: hackers@freebsd.org Subject: 3dfx major Message-ID: <20000511004124.A735@cokane.yi.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i X-Vim: vim:tw=70:ts=4:sw=4 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG major 107 has already been allocated to 3dfx... hee hee. -- Coleman Kane President, UC Free O.S. Users Group - http://pohl.ececs.uc.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 22: 9:54 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from obie.softweyr.com (obie.softweyr.com [204.68.178.33]) by hub.freebsd.org (Postfix) with ESMTP id E1E6637B53B; Wed, 10 May 2000 22:09:46 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from softweyr.com (homer.softweyr.com [204.68.178.39]) by obie.softweyr.com (8.8.8/8.8.8) with ESMTP id XAA25670; Wed, 10 May 2000 23:09:39 -0600 (MDT) (envelope-from wes@softweyr.com) Message-ID: <391A40FB.A7A7C48D@softweyr.com> Date: Wed, 10 May 2000 23:11:23 -0600 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Warner Losh Cc: Tim Vanderhoek , Garance A Drosihn , hackers@FreeBSD.ORG Subject: Re: Looking for advice on lpr/lpd changes References: <20000510121459.B4589@Hamilton-ppp44812.sympatico.ca> <200005101634.KAA93897@harmony.village.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Warner Losh wrote: > > In message <20000510121459.B4589@Hamilton-ppp44812.sympatico.ca> Tim Vanderhoek writes: > : Finished patches are best sent via send-pr(1) where they will > : eventually be addressed (although the response-time for send-pr(1) is > : regrettably long...) > > I've asked that people with pccard pr's also cc me or send me > numbers. This has helped somewhat, but I'd like an easier to deal > with bug mechanism. Have we given up on Keystone, or is it still under consideration? -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 22:30:38 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id ACC7337B788; Wed, 10 May 2000 22:30:28 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id XAA56962; Wed, 10 May 2000 23:30:26 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id XAA97775; Wed, 10 May 2000 23:30:03 -0600 (MDT) Message-Id: <200005110530.XAA97775@harmony.village.org> To: Wes Peters Subject: Re: Looking for advice on lpr/lpd changes Cc: Tim Vanderhoek , Garance A Drosihn , hackers@FreeBSD.ORG In-reply-to: Your message of "Wed, 10 May 2000 23:11:23 MDT." <391A40FB.A7A7C48D@softweyr.com> References: <391A40FB.A7A7C48D@softweyr.com> <20000510121459.B4589@Hamilton-ppp44812.sympatico.ca> <200005101634.KAA93897@harmony.village.org> Date: Wed, 10 May 2000 23:30:03 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <391A40FB.A7A7C48D@softweyr.com> Wes Peters writes: : Have we given up on Keystone, or is it still under consideration? I'm still porting NetBSD's code. I've not had access to BSDi's pccard code, and don't plan to use it since I want to get NEWCARD working since no matter whose we chose it is a big job. I don't recognize the name keystone. What is it? The cardbus side is still under consideration. I'm leaning toward's NetBSD's code, but there's one Japanese effort as well that shows promise. I hope to have the cardbus side of things nailed down in early June. I'm meeting with the Japanese mobile people then and we have slated this as a topic for discussion. I also hope to have newbus attachment api before I head off to Japan. I'm looking into a long battery life laptop to work on howto docs on the plane. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 23:33:49 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from verdi.nethelp.no (verdi.nethelp.no [158.36.41.162]) by hub.freebsd.org (Postfix) with SMTP id C6C5337B71B for ; Wed, 10 May 2000 23:33:46 -0700 (PDT) (envelope-from sthaug@nethelp.no) Received: (qmail 18867 invoked by uid 1001); 11 May 2000 06:33:45 +0000 (GMT) To: bsd@bsdhome.com Cc: mrbond@jestocost.cosc.morrisville.edu, freeBSD-hackers@FreeBSD.ORG Subject: Re: icmp-response error From: sthaug@nethelp.no In-Reply-To: Your message of "Wed, 10 May 2000 20:27:43 -0400 (EDT)" References: X-Mailer: Mew version 1.05+ on Emacs 19.34.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Thu, 11 May 2000 08:33:45 +0200 Message-ID: <18865.958026825@verdi.nethelp.no> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > A while back, I wrote a simplistic, but effect script to print out > information about who has a particular port open. There is already a nice program to do this as part of the standard FreeBSD distribution: sockstat. It deserves wider use, IMHO. Steinar Haug, Nethelp consulting, sthaug@nethelp.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed May 10 23:35:27 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from news.IAEhv.nl (news.IAE.nl [194.151.64.4]) by hub.freebsd.org (Postfix) with ESMTP id E0B5937B788 for ; Wed, 10 May 2000 23:35:04 -0700 (PDT) (envelope-from marc@bowtie.nl) Received: (from uucp@localhost) by news.IAEhv.nl (8.9.1/8.9.1) with IAEhv.nl id IAA03675 for hackers@freebsd.org; Thu, 11 May 2000 08:35:04 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by bowtie.nl (8.8.8/8.8.8) with ESMTP id IAA10990 for ; Thu, 11 May 2000 08:30:31 +0200 (CEST) (envelope-from marc@bowtie.nl) Message-Id: <200005110630.IAA10990@bowtie.nl> X-Mailer: exmh version 2.0.2 2/24/98 To: hackers@freebsd.org Subject: CMSG_DATA and ALIGN macro Reply-To: marc@bowtie.nl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 11 May 2000 08:30:31 +0200 From: Marc van Kempen Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I tried sending this to freebsd-doc, but perhaps this place is better suited. The problem is that the ALIGN macro is not being picked up even though and are included. The problem arises from the use of the CMSG_DATA macro, which seems to be related to sendmsg(), and uses the ALIGN macro. The manual page for sendmsg() or similar states that you only need and , but this fails, it only works if you also include where the ALIGN macro is defined. So the question is: is the manual page in error or are the include files wrong? If it's the manual page, in which manual page are you supposed to find information about the use of the CMSG_DATA macro? Otherwise I suppose the include file should include ? See the example program, it doesn't compile without the include. #include #include #include int main(int argc, char **argv) { struct msghdr msg; unsigned char *data; data = CMSG_DATA(&msg); return(0); } Marc. -- ---------------------------------------------------- Marc van Kempen BowTie Technology Email: marc@bowtie.nl WWW & Databases tel. +31 40 2 43 20 65 fax. +31 40 2 44 21 86 http://www.bowtie.nl ---------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 0:23:26 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from not.demophon.com (vpn.iscape.fi [195.170.146.67]) by hub.freebsd.org (Postfix) with ESMTP id C303037B7FD for ; Thu, 11 May 2000 00:23:09 -0700 (PDT) (envelope-from will@not.demophon.com) Received: (from will@localhost) by not.demophon.com (8.9.3/8.8.7) id KAA36562; Thu, 11 May 2000 10:15:55 +0300 (EEST) (envelope-from will) To: dillon@apollo.backplane.com (Matthew Dillon) Cc: hackers@freebsd.org Subject: Re: ipsec 'replay' syslog error messages after reboot of one host References: <200005110127.SAA61600@apollo.backplane.com> From: Ville-Pertti Keinonen Date: 11 May 2000 10:15:55 +0300 In-Reply-To: dillon@apollo.backplane.com's message of "11 May 2000 04:27:38 +0300" Message-ID: <863dnplfpw.fsf@not.demophon.com> Lines: 12 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG dillon@apollo.backplane.com (Matthew Dillon) writes: > The question is: What am I forgetting to do? Or is this a bug in our > IPSEC implementation? AFAIK this is more or less how it's supposed to work. IPsec is a mess. Security associations are not stateless, ESP provides replay protection using a sequence number. Replay-prevention is, however, optional, and the setkey manual page claims it to be off by default, so it could be a bug...you might want to try specifying -r 0 explicitly. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 0:33:43 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 155E837B738 for ; Thu, 11 May 2000 00:33:42 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id AAA62618; Thu, 11 May 2000 00:33:37 -0700 (PDT) (envelope-from dillon) Date: Thu, 11 May 2000 00:33:37 -0700 (PDT) From: Matthew Dillon Message-Id: <200005110733.AAA62618@apollo.backplane.com> To: Ville-Pertti Keinonen Cc: hackers@FreeBSD.ORG Subject: Re: ipsec 'replay' syslog error messages after reboot of one host References: <200005110127.SAA61600@apollo.backplane.com> <863dnplfpw.fsf@not.demophon.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG : : :dillon@apollo.backplane.com (Matthew Dillon) writes: : :> The question is: What am I forgetting to do? Or is this a bug in our :> IPSEC implementation? : :AFAIK this is more or less how it's supposed to work. IPsec is a :mess. Security associations are not stateless, ESP provides replay :protection using a sequence number. Replay-prevention is, however, :optional, and the setkey manual page claims it to be off by default, :so it could be a bug...you might want to try specifying -r 0 :explicitly. IPSec isn't well documented, but once I figured out the config file it didn't seem too bad. I am guessing that replay prevention is turned on by default, but specifying '-f cyclic-seq' in the setkey config file at the appropriate place appears to solve the problem. I haven't tried testing with packet loss to see if it can survive a noisy network. I had to fix up /etc/rc.network a little to load the ipsec rules at the appropriate point (just after the interface and ipfw setup, but before any services (like NFS) are run). I am going to put the (relatively simple) patch for rc.network up for a quick review and then commit it along with an example file and a reference to the example file in the man page. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 0:46:29 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.ztango.com (ns.ztango.com [193.65.70.13]) by hub.freebsd.org (Postfix) with ESMTP id 15FC337B7D1 for ; Thu, 11 May 2000 00:46:26 -0700 (PDT) (envelope-from will@ztango.com) Received: by mail.ztango.com (Postfix, from userid 2000) id 862DA587A; Thu, 11 May 2000 10:46:23 +0300 (EEST) From: Ville-Pertti Keinonen To: dillon@apollo.backplane.com Cc: hackers@FreeBSD.ORG In-reply-to: <200005110733.AAA62618@apollo.backplane.com> (message from Matthew Dillon on Thu, 11 May 2000 00:33:37 -0700 (PDT)) Subject: Re: ipsec 'replay' syslog error messages after reboot of one host References: <200005110127.SAA61600@apollo.backplane.com> <863dnplfpw.fsf@not.demophon.com> <200005110733.AAA62618@apollo.backplane.com> Message-Id: <20000511074623.862DA587A@mail.ztango.com> Date: Thu, 11 May 2000 10:46:23 +0300 (EEST) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > IPSec isn't well documented, but once I figured out the config > file it didn't seem too bad. I am guessing that replay prevention Reading the RFCs might be more helpful than most of the KAME documentation. There's also a lot of undocumented stuff for which the sources seem to be the only source of information (e.g. how PF_KEY v2 differs from the standard). > I had to fix up /etc/rc.network a little to load the ipsec rules > at the appropriate point (just after the interface and ipfw setup, > but before any services (like NFS) are run). I am going to put the > (relatively simple) patch for rc.network up for a quick review and > then commit it along with an example file and a reference to the > example file in the man page. Fixed security associations with an infinite lifetime are certainly not the ideal way of using IPsec. Examples of setups like this should be provided with the appropriate warnings. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 1:10:11 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from florence.pavilion.net (florence.pavilion.net [212.74.0.25]) by hub.freebsd.org (Postfix) with ESMTP id 4F7DC37B9A6 for ; Thu, 11 May 2000 01:10:07 -0700 (PDT) (envelope-from joe@pavilion.net) Received: from genius.systems.pavilion.net (genesis.tao.org.uk [194.242.131.254]) by florence.pavilion.net (8.9.3/8.8.8) with ESMTP id JAA73847; Thu, 11 May 2000 09:09:57 +0100 (BST) (envelope-from joe@pavilion.net) Received: by genius.systems.pavilion.net (Postfix, from userid 100) id ABEEB33F; Thu, 11 May 2000 09:10:44 +0100 (BST) Date: Thu, 11 May 2000 09:10:44 +0100 From: Joe Karthauser To: sthaug@nethelp.no Cc: bsd@bsdhome.com, mrbond@jestocost.cosc.morrisville.edu, freeBSD-hackers@FreeBSD.ORG Subject: Re: icmp-response error Message-ID: <20000511091044.E28252@pavilion.net> References: <18865.958026825@verdi.nethelp.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <18865.958026825@verdi.nethelp.no>; from sthaug@nethelp.no on Thu, May 11, 2000 at 08:33:45AM +0200 X-NCC-RegID: uk.pavilion Organisation: Pavilion Internet plc, Lees House, 21-23 Dyke Road, Brighton, England Phone: +44-845-333-5000 Fax: +44-845-333-5001 Mobile: +44-403-596893 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, May 11, 2000 at 08:33:45AM +0200, sthaug@nethelp.no wrote: > > A while back, I wrote a simplistic, but effect script to print out > > information about who has a particular port open. > > There is already a nice program to do this as part of the standard > FreeBSD distribution: sockstat. It deserves wider use, IMHO. You're right! It does :) [I didn't know about it until about 20 seconds ago] Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 1:17:23 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id CAEFC37B902; Thu, 11 May 2000 01:17:20 -0700 (PDT) (envelope-from kris@FreeBSD.org) Received: from localhost (kris@localhost) by freefall.freebsd.org (8.9.3/8.9.2) with ESMTP id BAA30932; Thu, 11 May 2000 01:17:20 -0700 (PDT) (envelope-from kris@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: kris owned process doing -bs Date: Thu, 11 May 2000 01:17:20 -0700 (PDT) From: Kris Kennaway To: Matthew Dillon Cc: Ville-Pertti Keinonen , hackers@FreeBSD.ORG Subject: Re: ipsec 'replay' syslog error messages after reboot of one host In-Reply-To: <200005110733.AAA62618@apollo.backplane.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 11 May 2000, Matthew Dillon wrote: > I had to fix up /etc/rc.network a little to load the ipsec rules > at the appropriate point (just after the interface and ipfw setup, > but before any services (like NFS) are run). I am going to put the > (relatively simple) patch for rc.network up for a quick review and > then commit it along with an example file and a reference to the > example file in the man page. Please submit this to the KAME folks (snap-users@kame.net) as well so we can keep in sync. I'm in the process of merging the latest KAME snapshot into 5.0 with the aim of trying to update our IPv6/IPSec support (Currently our IPSec code dates to November 1999), so keeping the two codebases in sync as much as possible will help my job - I don't want the FreeBSD IPv6/IPsec code to get ahead of the KAME code, or I'm likely to miss the change locally and blow it away. I'm not sure whether or not the problem you had was a bug - again, you'd be best off speaking to the KAME guys directly (although given the age of our ipsec code I don't know how much they'd be able to help) Kris ---- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 7:51:19 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from quasar.physics.uvt.ro (quasar.physics.uvt.ro [193.226.13.67]) by hub.freebsd.org (Postfix) with ESMTP id 586D137B805; Thu, 11 May 2000 07:51:08 -0700 (PDT) (envelope-from ardelean@quasar.physics.uvt.ro) Received: from localhost (ardelean@localhost) by quasar.physics.uvt.ro (8.9.3/8.9.3) with SMTP id RAA20450; Thu, 11 May 2000 17:50:51 +0300 (EEST) Date: Thu, 11 May 2000 17:50:51 +0300 (EEST) From: Gheorghe Ardelean To: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Subject: FreeBSD 4.0 and IBM PS/2 Model 65SX Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, can I install FreeBSD 4.0R on a IBM PS/2 Model 65SX with 8MB Ram and 2 SCSI HDD of 120MB each? The netowrk card is an WD8003 and the SCSI Controller is Based on Adaptec AIC-6250EL. regards, Gheorghe ARDELEAN West Univ. Of Timisoara Dept. of Theoretical and Computational Physics V. Parvan No.4, Ro-1900, Timisoara, ROMANIA Tel: +40-(0)56-194068 Ext. 203, 201, 108 | Fax: +40-(0)56-190333 Email: ardelean@quasar.physics.uvt.ro To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 8:45:25 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from portnoy.lbl.gov (portnoy.lbl.gov [131.243.2.11]) by hub.freebsd.org (Postfix) with ESMTP id C609837BB24 for ; Thu, 11 May 2000 08:45:18 -0700 (PDT) (envelope-from jin@portnoy.lbl.gov) Received: (from jin@localhost) by george.lbl.gov () id IAA17567 for hackers@freebsd.org; Thu, 11 May 2000 08:45:18 -0700 (PDT) Date: Thu, 11 May 2000 08:45:18 -0700 (PDT) From: Jin Guojun (FTG staff) Message-Id: <200005111545.IAA17567@george.lbl.gov> To: hackers@freebsd.org Subject: kernel SMP thread Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jordan said that the kernel SMP thread is ready in CURRENT FreeBSD, but I could not find any document for the SMP kthread. By looking at the kern/kern_kthread.c code, it does not look like a SMP thread, and does not even have mutex functions in there. Does any one happen to know where is the SMP kthread functions? specially the mutex functions or thread locking mechanism for kernel thread? TIA for any clue / helps, -Jin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 9:24:26 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id BB2DD37B582 for ; Thu, 11 May 2000 09:24:13 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.12 #1) id 12puyM-00003v-00; Thu, 11 May 2000 16:33:58 +0100 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.12 #7) id 12puyM-000AUl-00; Thu, 11 May 2000 16:33:58 +0100 Date: Thu, 11 May 2000 16:33:58 +0100 From: Ben Smithurst To: Matthew Dillon Cc: James Bond , freeBSD-hackers@FreeBSD.ORG Subject: Re: icmp-response error Message-ID: <20000511163358.G10128@strontium.scientia.demon.co.uk> References: <200005102032.QAA11129@jestocost.cosc.morrisville.edu> <200005102243.PAA60933@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200005102243.PAA60933@apollo.backplane.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matthew Dillon wrote: > If they are hidden (masquarading as some other typical process > name), you can track them down with 'netstat -taA' to get the > protocol address of the socket and then fstat to figure out which > process owns the socket. sockstat is your friend, if you're doing what I think you're doing. -- Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 10:47: 7 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from zippy.cdrom.com (zippy.cdrom.com [204.216.27.228]) by hub.freebsd.org (Postfix) with ESMTP id 75C2F37BB97 for ; Thu, 11 May 2000 10:47:01 -0700 (PDT) (envelope-from jkh@zippy.cdrom.com) Received: from localhost (jkh@localhost [127.0.0.1]) by zippy.cdrom.com (8.9.3/8.9.3) with ESMTP id KAA03192; Thu, 11 May 2000 10:49:20 -0700 (PDT) (envelope-from jkh@zippy.cdrom.com) To: Jin Guojun (FTG staff) Cc: hackers@FreeBSD.ORG Subject: Re: kernel SMP thread In-reply-to: Your message of "Thu, 11 May 2000 08:45:18 PDT." <200005111545.IAA17567@george.lbl.gov> Date: Thu, 11 May 2000 10:49:20 -0700 Message-ID: <3189.958067360@localhost> From: "Jordan K. Hubbard" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Jordan said that the kernel SMP thread is ready in CURRENT FreeBSD, > but I could not find any document for the SMP kthread. Huh? I never said any such thing. You must have misinterpreted something else I said. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 10:57:23 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from portnoy.lbl.gov (portnoy.lbl.gov [131.243.2.11]) by hub.freebsd.org (Postfix) with ESMTP id 950F637BBCB for ; Thu, 11 May 2000 10:57:19 -0700 (PDT) (envelope-from jin@portnoy.lbl.gov) Received: (from jin@localhost) by george.lbl.gov () id KAA26128; Thu, 11 May 2000 10:57:19 -0700 (PDT) Date: Thu, 11 May 2000 10:57:19 -0700 (PDT) From: Jin Guojun (FTG staff) Message-Id: <200005111757.KAA26128@george.lbl.gov> To: jkh@zippy.cdrom.com Subject: Re: kernel SMP thread Cc: hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Jordan said that the kernel SMP thread is ready in CURRENT FreeBSD, > > but I could not find any document for the SMP kthread. > > Huh? I never said any such thing. You must have misinterpreted > something else I said. I asked a question "Is FreeBSD working on SMP thread?" at both USENIX and FreeBSDcon last year, you answered that it is already in the kernel, but there is no API for userland. Maybe we misunderstund each other :-( -Jin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 11:11:56 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from zippy.cdrom.com (zippy.cdrom.com [204.216.27.228]) by hub.freebsd.org (Postfix) with ESMTP id BC4A337B720 for ; Thu, 11 May 2000 11:11:54 -0700 (PDT) (envelope-from jkh@zippy.cdrom.com) Received: from localhost (jkh@localhost [127.0.0.1]) by zippy.cdrom.com (8.9.3/8.9.3) with ESMTP id LAA03368; Thu, 11 May 2000 11:10:44 -0700 (PDT) (envelope-from jkh@zippy.cdrom.com) To: Jin Guojun (FTG staff) Cc: jkh@zippy.cdrom.com, hackers@FreeBSD.ORG Subject: Re: kernel SMP thread In-reply-to: Your message of "Thu, 11 May 2000 10:57:19 PDT." <200005111757.KAA26128@george.lbl.gov> Date: Thu, 11 May 2000 11:10:44 -0700 Message-ID: <3365.958068644@localhost> From: "Jordan K. Hubbard" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I asked a question "Is FreeBSD working on SMP thread?" at both USENIX > and FreeBSDcon last year, you answered that it is already in the kernel, > but there is no API for userland. Maybe we misunderstund each other :-( I answered that we had *kernel* threads but that there was no native API yet, just the "linuxthreads" kernel thread API. Actual SMP-capable kernel threads remain a pipe dream for us, however. Want to work on it? :-) - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 12:19:24 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from sofia.csl.sri.com (sofia.csl.sri.com [130.107.19.127]) by hub.freebsd.org (Postfix) with ESMTP id D0FFE37B5E2 for ; Thu, 11 May 2000 12:19:20 -0700 (PDT) (envelope-from molter@sofia.csl.sri.com) Received: (from molter@localhost) by sofia.csl.sri.com (8.9.3/8.9.3) id MAA99415 for freebsd-hackers@freebsd.org; Thu, 11 May 2000 12:20:38 -0700 (PDT) (envelope-from molter) From: Marco Molteni Date: Thu, 11 May 2000 12:20:38 -0700 To: freebsd-hackers@freebsd.org Subject: kernel panics at boot, how to specify dump device? Message-ID: <20000511122038.A99408@sofia.csl.sri.com> Mail-Followup-To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre4i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all, I have a 4-STABLE kernel that panics at boot. How do I force the kernel to core dump? I know that the handbook says to build a debug kernel and to set the dump device via (dumpon + /etc/rc.conf) but in this case the kernel panics during booting. The handbook says that, if the kernel panics at boot, one can specify the dump device in the kernel configuration file, with the "config kernel" line. I tried something like config kernel dump on /dev/wd0s3b (and variations thereof) but I get a syntax error from /usr/sbin/config. I thought maybe it is possible to specify the dump device at the loader prompt? Am I correct that once you specify the boot device the kernel will automatically dump at panics? Thanks for your help Marco -- Marco Molteni "rough consensus and running code" SRI International, System Design Laboratory To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 12:24: 7 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from nimitz.ca.sandia.gov (nimitz.ca.sandia.gov [146.246.243.56]) by hub.freebsd.org (Postfix) with ESMTP id 8F82637B5AE for ; Thu, 11 May 2000 12:24:04 -0700 (PDT) (envelope-from bmah@nimitz.ca.sandia.gov) Received: (from bmah@localhost) by nimitz.ca.sandia.gov (8.10.0/8.10.0) id e4BJNZ687896; Thu, 11 May 2000 12:23:35 -0700 (PDT) (envelope-from bmah) Message-Id: <200005111923.e4BJNZ687896@nimitz.ca.sandia.gov> X-Mailer: exmh version 2.1.1-cvs 10/15/1999 To: marc@bowtie.nl Cc: hackers@FreeBSD.ORG Subject: Re: CMSG_DATA and ALIGN macro In-reply-to: <200005110630.IAA10990@bowtie.nl> References: <200005110630.IAA10990@bowtie.nl> Comments: In-reply-to Marc van Kempen message dated "Thu, 11 May 2000 08:30:31 +0200." From: bmah@acm.org (Bruce A. Mah) Reply-To: bmah@acm.org X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Url: http://www.ca.sandia.gov/~bmah/ Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 11 May 2000 12:23:30 -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If memory serves me right, Marc van Kempen wrote: > The problem is that the ALIGN macro is not being > picked up even though and are included. > The problem arises from the use of the CMSG_DATA macro, which seems to > be related to sendmsg(), and uses the ALIGN macro. > > The manual page for sendmsg() or similar states that you only need > and , but this fails, it only works if > you also include where the ALIGN macro is defined. > > So the question is: is the manual page in error or are the > include files wrong? If it's the manual page, in which manual > page are you supposed to find information about the use of the > CMSG_DATA macro? Otherwise I suppose the include file > should include ? Hi Marc-- I ran into this a little while ago...you can look into the archives of the -current list for more details. The upshot (as I understand it) is that CMSG_DATA shouldn't rely on the programmer explicitly doing an #include of param.h. No other OS seems to require this (at least the ones to which pchar has been ported to, which is my main area of concern). I don't know if this has been "fixed" or not because there were some rather complicated namespace issues involved...you might check the CVSWeb repository. Of the RELEASE versions, only 4.0-RELEASE has this problem (so far). That having been said, to bring in the definitions from param.h, what you're really supposed to do is to: #include In other words, don't do . This was told to me by Bruce Evans, who presumably knows what he's doing. :-) Bruce. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 12:53:53 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.rdc1.sfba.home.com (ha1.rdc1.sfba.home.com [24.0.0.66]) by hub.freebsd.org (Postfix) with ESMTP id 3F77B37B8E9 for ; Thu, 11 May 2000 12:53:48 -0700 (PDT) (envelope-from boshea@ricochet.net) Received: from beastie.localdomain ([24.19.158.41]) by mail.rdc1.sfba.home.com (InterMail v4.01.01.00 201-229-111) with ESMTP id <20000511195348.TSTT7375.mail.rdc1.sfba.home.com@beastie.localdomain>; Thu, 11 May 2000 12:53:48 -0700 Received: (from brian@localhost) by beastie.localdomain (8.9.3/8.8.7) id NAA69494; Thu, 11 May 2000 13:03:59 -0700 (PDT) (envelope-from brian) Date: Thu, 11 May 2000 13:03:59 -0700 From: "Brian O'Shea" To: Marco Molteni Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: kernel panics at boot, how to specify dump device? Message-ID: <20000511130359.Y337@beastie.localdomain> Reply-To: boshea@ricochet.net Mail-Followup-To: Marco Molteni , freebsd-hackers@FreeBSD.ORG References: <20000511122038.A99408@sofia.csl.sri.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <20000511122038.A99408@sofia.csl.sri.com>; from Marco Molteni on Thu, May 11, 2000 at 12:20:38PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, May 11, 2000 at 12:20:38PM -0700, Marco Molteni wrote: > > I have a 4-STABLE kernel that panics at boot. How do I force the kernel > to core dump? > > I know that the handbook says to build a debug kernel and to set the > dump device via (dumpon + /etc/rc.conf) but in this case the kernel > panics during booting. The handbook says that, if the kernel panics at > boot, one can specify the dump device in the kernel configuration file, > with the "config kernel" line. I tried something like > > config kernel dump on /dev/wd0s3b From the LINT kernel config file: config kernel root on wd0 dumps on wd0 Maybe you forgot the 's' in "dumps"? I have never tried this so I can't say for sure. Just noticed this in your post. -brian -- Brian O'Shea boshea@ricochet.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 13:29:32 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.100.7]) by hub.freebsd.org (Postfix) with ESMTP id 2012237BAA9 for ; Thu, 11 May 2000 13:29:28 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.9.3/8.9.3) with ESMTP id QAA189274; Thu, 11 May 2000 16:29:15 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <14617.37135.323534.539710@smpbox> References: <14617.37135.323534.539710@smpbox> Date: Thu, 11 May 2000 16:29:18 -0400 To: Ted Buswell From: Garance A Drosihn Subject: Re: Looking for advice on lpr/lpd changes Cc: hackers@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 1:02 PM -0400 5/10/00, Ted Buswell wrote: >Right now, you could write a shell script to create all of >the various permutations of printer shares, each one with >an appropriate "print command" directive in your smb.conf. We have >200 printers in printcap, and each of those printers has at least two (and usually four or more) names. To add two options (-h and -m), would mean more than 4*5*200 names. Ick... >Or alternatively, hack the appropriate bits in Samba so that >you can have your clients connect to \\s\p\options to get lpr >printer 'p' off of server 'p', with given options. >For example: \\server\printer\noheader,email >would result in Samba invoking "lpr -Pprinter -h -m". Initially this seemed like the wrong idea, but the more I think about it the more I like it. Certainly if I got that working, it would avoid all possible conflicts with any setup anyone currently has. And it could be readily extended to a lot more than just those two options. >This isn't different from your proposed mod to lpr, it just >shuffles where the work is done. Well, it's different in one major way. Here at RPI, I have complete and utter control over lpr. A different guy does samba, and he's buried with other projects right now... :-) Still, I'll have to think about this some more. I think this is probably the most promising strategy to consider. Thanks! --- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or drosih@rpi.edu Rensselaer Polytechnic Institute To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 13:43:27 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.100.7]) by hub.freebsd.org (Postfix) with ESMTP id 58CCA37B7F2; Thu, 11 May 2000 13:43:24 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.9.3/8.9.3) with ESMTP id QAA102560; Thu, 11 May 2000 16:43:23 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20000510121459.B4589@Hamilton-ppp44812.sympatico.ca> References: <20000510121459.B4589@Hamilton-ppp44812.sympatico.ca> Date: Thu, 11 May 2000 16:43:25 -0400 To: Tim Vanderhoek From: Garance A Drosihn Subject: Re: Looking for advice on lpr/lpd changes Cc: hackers@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 12:14 PM -0400 5/10/00, Tim Vanderhoek wrote: >On Wed, May 10, Garance A Drosihn wrote: > > > > 1990's) with the extra features we've added. Once I have > > things sorted out, I'll have a number of updates to offer. > >Cool! > > > [...] > >If you are hoping to have a serious discussion, a carefully >written message to the -arch list may work. The -arch list >is meant to be a low(er)-volume, higher information-density >list for discussing architectural changes. Hmm. I always assumed that was for "big freebsd architectural changes", as opposed to changes to a "little program" like lpr. I'll follow it for awhile and get a better feeling for it. I would like to find whichever people are particularly interested in lpr/lpd changes, without distracting those people who really don't care much about printing at all. >Finished patches are best sent via send-pr(1) where they >will eventually be addressed (although the response-time >for send-pr(1) is regrettably long...) I have already noticed that send-pr patches are sometimes committed almost instantly, and other times it's like pulling teeth to get some attention for them... --- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or drosih@rpi.edu Rensselaer Polytechnic Institute To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 13:53: 2 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from p2.acadia.net (p2.acadia.net [205.217.210.2]) by hub.freebsd.org (Postfix) with ESMTP id 751A537BB85 for ; Thu, 11 May 2000 13:52:51 -0700 (PDT) (envelope-from tbuswell@acadia.net) Received: from smpbox (ip142167012053.acadia.net [142.167.12.53]) by p2.acadia.net (8.9.3/8.9.3) with ESMTP id RAA13224; Thu, 11 May 2000 17:00:42 -0400 (EDT) Received: (from tbuswell@localhost) by smpbox (8.9.3/8.9.3) id QAA01448; Thu, 11 May 2000 16:57:36 -0400 (EDT) (envelope-from tbuswell) From: Ted Buswell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 11 May 2000 16:56:36 -0400 (EDT) To: Garance A Drosihn Cc: hackers@FreeBSD.ORG Subject: Re: Looking for advice on lpr/lpd changes In-Reply-To: References: <14617.37135.323534.539710@smpbox> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14619.7058.880620.576742@smpbox> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Garance A Drosihn writes: > At 1:02 PM -0400 5/10/00, Ted Buswell wrote: > >Right now, you could write a shell script to create all of > >the various permutations of printer shares, each one with > >an appropriate "print command" directive in your smb.conf. > > We have >200 printers in printcap, and each of those printers > has at least two (and usually four or more) names. To add two > options (-h and -m), would mean more than 4*5*200 names. Ick... I don't like the proposed idea (shell script mod of smb.conf) either, however I was under the impression with your lpr mod you would also bludgeon the user with 4*5*200 printer shares. I had thought that with your lpr mod, you still need to somehow add the "printer/hm" variations into the list of shares presented by samba. Or am I missing a samba configuration option that permits the user to specify the queue the job is sent to [instead of having them select from a predefined list] ? In any case, my choice would be for the samba hack ;) -Ted > --- > Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu > Senior Systems Programmer or drosih@rpi.edu > Rensselaer Polytechnic Institute > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 14:28:31 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from jade.chc-chimes.com (jade.chc-chimes.com [216.28.46.6]) by hub.freebsd.org (Postfix) with ESMTP id 0933A37BAAA; Thu, 11 May 2000 14:28:30 -0700 (PDT) (envelope-from billf@jade.chc-chimes.com) Received: by jade.chc-chimes.com (Postfix, from userid 1001) id 8C5F71C6E; Thu, 11 May 2000 17:28:29 -0400 (EDT) Date: Thu, 11 May 2000 17:28:29 -0400 From: Bill Fumerola To: Wes Peters Cc: Warner Losh , Tim Vanderhoek , Garance A Drosihn , hackers@FreeBSD.ORG Subject: Re: Looking for advice on lpr/lpd changes Message-ID: <20000511172829.Q86725@jade.chc-chimes.com> References: <20000510121459.B4589@Hamilton-ppp44812.sympatico.ca> <200005101634.KAA93897@harmony.village.org> <391A40FB.A7A7C48D@softweyr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <391A40FB.A7A7C48D@softweyr.com>; from wes@softweyr.com on Wed, May 10, 2000 at 11:11:23PM -0600 X-Operating-System: FreeBSD 3.3-STABLE i386 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, May 10, 2000 at 11:11:23PM -0600, Wes Peters wrote: > > I've asked that people with pccard pr's also cc me or send me > > numbers. This has helped somewhat, but I'd like an easier to deal > > with bug mechanism. > > Have we given up on Keystone, or is it still under consideration? I would keep under consideration, but the CLI isn't done/on the same level as edit-pr.. -- Bill Fumerola - Network Architect / Computer Horizons Corp - CVM e-mail: billf@chc-chimes.com / billf@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 14:58: 9 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fellspt.charm.net (fellspt.charm.net [199.0.70.29]) by hub.freebsd.org (Postfix) with ESMTP id C7FBA37BBEB; Thu, 11 May 2000 14:58:00 -0700 (PDT) (envelope-from dutch@charm.net) Received: from charm.net (coretel-185-182.charm.net [162.33.185.182]) by fellspt.charm.net (8.9.3/8.9.3) with ESMTP id RAA28411; Thu, 11 May 2000 17:57:33 -0400 (EDT) Message-ID: <391B1E9D.27ED8088@charm.net> Date: Thu, 11 May 2000 21:57:02 +0100 From: Dutch Collins X-Mailer: Mozilla 4.72 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Gheorghe Ardelean Cc: freebsd-questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: FreeBSD 4.0 and IBM PS/2 Model 65SX References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Gheorghe Ardelean wrote: > > Hi, > > can I install FreeBSD 4.0R on a IBM PS/2 Model 65SX with 8MB Ram > and 2 SCSI HDD of 120MB each? > > The netowrk card is an WD8003 and the SCSI Controller is Based on Adaptec > AIC-6250EL. > > regards, > > Gheorghe ARDELEAN > > West Univ. Of Timisoara > Dept. of Theoretical and Computational Physics > V. Parvan No.4, Ro-1900, Timisoara, ROMANIA > Tel: +40-(0)56-194068 Ext. 203, 201, 108 | Fax: +40-(0)56-190333 > Email: ardelean@quasar.physics.uvt.ro > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message NetBSD has a patch for their software that "should" work for MCA. http://slashdot.org/article.pl?sid=00/05/06/1836253 http://mail-index.netbsd.org/current-users/2000/05/02/0021.html http://www.ics.muni.cz/~dolecek/NetBSD/MCA/ -d -- +---------------------------------------------------+ | Stuff n. -trappings, essence, junk, things, gear | +---------------------------------------------------+ | http://www.charm.net/~dutch | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 16:31:47 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id A927C37BAB0 for ; Thu, 11 May 2000 16:31:42 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id JAA10838; Fri, 12 May 2000 09:01:24 +0930 (CST) Date: Fri, 12 May 2000 09:01:24 +0930 From: Greg Lehey To: "Brian O'Shea" Cc: Marco Molteni , freebsd-hackers@FreeBSD.ORG Subject: Re: kernel panics at boot, how to specify dump device? Message-ID: <20000512090124.C10505@freebie.lemis.com> References: <20000511122038.A99408@sofia.csl.sri.com> <20000511130359.Y337@beastie.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <20000511130359.Y337@beastie.localdomain> Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thursday, 11 May 2000 at 13:03:59 -0700, Brian O'Shea wrote: > On Thu, May 11, 2000 at 12:20:38PM -0700, Marco Molteni wrote: >> >> I have a 4-STABLE kernel that panics at boot. How do I force the kernel >> to core dump? >> >> I know that the handbook says to build a debug kernel and to set the >> dump device via (dumpon + /etc/rc.conf) but in this case the kernel >> panics during booting. The handbook says that, if the kernel panics at >> boot, one can specify the dump device in the kernel configuration file, >> with the "config kernel" line. I tried something like >> >> config kernel dump on /dev/wd0s3b > >> From the LINT kernel config file: > > config kernel root on wd0 dumps on wd0 That's not there in 4.0. I believe most of this was vandalized some time late last year. I've been running in to this problem too. I'm planning to add an option to ddb where you can specify the dump device at the time where you want to take the dump. Marco, where exactly is it panicing? Do you have ddb in the kernel? Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 16:46:35 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp02.teb1.iconnet.net (smtp02.teb1.iconnet.net [209.3.218.43]) by hub.freebsd.org (Postfix) with ESMTP id 89DDE37B9C3 for ; Thu, 11 May 2000 16:46:32 -0700 (PDT) (envelope-from babkin@bellatlantic.net) Received: from bellatlantic.net (client-151-198-135-104.bellatlantic.net [151.198.135.104]) by smtp02.teb1.iconnet.net (8.9.1/8.9.1) with ESMTP id TAA09439; Thu, 11 May 2000 19:46:14 -0400 (EDT) Message-ID: <391B487D.3BB896DC@bellatlantic.net> Date: Thu, 11 May 2000 19:55:41 -0400 From: Sergey Babkin X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-19990626-CURRENT i386) X-Accept-Language: ru, en MIME-Version: 1.0 To: Warner Losh Cc: Peter Jeremy , wc.bulte@chello.nl, hackers@FreeBSD.ORG Subject: Re: Can NMI drop a hanging FreeBSD kernel into DDB? References: <391A1F35.23F38D4A@bellatlantic.net> <00May11.070143est.115219@border.alcanet.com.au> <20000510231004.A1871@jedi.wbnet> <00May11.085127est.115442@border.alcanet.com.au> <200005110409.WAA97551@harmony.village.org> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Warner Losh wrote: > > In message <391A1F35.23F38D4A@bellatlantic.net> Sergey Babkin writes: > : Seems like most of the modern machines just don't have that > : pin on the PCI bus connected anywhere. But on most of them > : (though not all) the pin on ISA works. Some high-end machines > : like Unisys or Compaq have an NMI button on the box (sometimes > : under the cover). > > IOCHK* isn't on the PCI bus at all. You have to do weird things for > it to generate an NMI that I've never quite worked out. I sure wish I Probably SERR# is used instead. We have small cards at work with a big button, ISA connector on one side and PCI connector on the other one. I'm not sure exactly to which signal on the bus is it connected. But the PCI side commonly don't work for the modern machines. > could get the pcccard bus (and/or cardbus) to genereate NMIs for > laptop hacking at times. If it's derived from PCI you can try to use SERR# or its analog. -SB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 18: 9:21 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp13.bellglobal.com (smtp13.bellglobal.com [204.101.251.52]) by hub.freebsd.org (Postfix) with ESMTP id 9194D37BC6F for ; Thu, 11 May 2000 18:09:19 -0700 (PDT) (envelope-from hoek@FreeBSD.org) Received: from Hamilton-ppp44812.sympatico.ca (ppp1617.on.bellglobal.com [206.172.249.81]) by smtp13.bellglobal.com (8.8.5/8.8.5) with ESMTP id VAA11354; Thu, 11 May 2000 21:12:54 -0400 (EDT) Received: (from tim@localhost) by Hamilton-ppp44812.sympatico.ca (8.9.3/8.9.1) id VAA38544; Thu, 11 May 2000 21:09:15 -0400 (EDT) (envelope-from tim) Date: Thu, 11 May 2000 21:09:15 -0400 From: Tim Vanderhoek To: Garance A Drosihn Cc: hackers@FreeBSD.org Subject: Re: Looking for advice on lpr/lpd changes Message-ID: <20000511210915.A38341@Hamilton-ppp44812.sympatico.ca> References: <20000510121459.B4589@Hamilton-ppp44812.sympatico.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: ; from Garance A Drosihn on Thu, May 11, 2000 at 04:43:25PM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, May 11, 2000 at 04:43:25PM -0400, Garance A Drosihn wrote: > > Hmm. I always assumed that was for "big freebsd architectural > changes", as opposed to changes to a "little program" like lpr. I'd rather see a discussion about designing new features for lpr on -arch than I would see a discussion on, say, I dunno, maybe renaming all .s files to .S. > I have already noticed that send-pr patches are sometimes > committed almost instantly, and other times it's like pulling > teeth to get some attention for them... Don't feeling too guilty about politely knocking -committers over the head once-in-a-while. Just before weekends is probably a good time. ;-) -- Signature withheld by request of author. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 18:27:24 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from defiant.quansoo.com (defiant.quansoo.com [63.66.225.90]) by hub.freebsd.org (Postfix) with ESMTP id 2343037B67B for ; Thu, 11 May 2000 18:27:23 -0700 (PDT) (envelope-from cgriffiths@quansoo.com) Received: from localhost (cgriffiths@localhost) by defiant.quansoo.com (8.9.3/8.9.3) with ESMTP id TAA86528 for ; Thu, 11 May 2000 19:30:28 -0400 (EDT) (envelope-from cgriffiths@quansoo.com) X-Authentication-Warning: defiant.quansoo.com: cgriffiths owned process doing -bs Date: Thu, 11 May 2000 19:30:28 -0400 (EDT) From: "Christopher T. Griffiths" To: freebsd-hackers@freebsd.org Subject: Dual ethernet tl on Compaq Server Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I am getting the following error after I upgraded from 3.4 to 4.0 on my Firewall server: tl0: got an invalid interrupt! tl1: got an invalid interrupt! Network services seem ok, but it is throwing this error constantly. It is a cvsup of 4.0 -stable as of a few days ago. The hardware is a compaq 1850r server with the embedded tl nic and a tl addon card. Any help would be appreciated. Thanks Chris --- Christopher T. Griffiths Quansoo Group Inc. cgriffiths@quansoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 19: 2: 0 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from io.yi.org (24.67.218.186.bc.wave.home.com [24.67.218.186]) by hub.freebsd.org (Postfix) with ESMTP id 4B41237BC41 for ; Thu, 11 May 2000 19:01:56 -0700 (PDT) (envelope-from jburkhol@home.com) Received: from io.yi.org (localhost.gvcl1.bc.wave.home.com [127.0.0.1]) by io.yi.org (Postfix) with ESMTP id C718DBCA7; Thu, 11 May 2000 19:01:54 -0700 (PDT) X-Mailer: exmh version 2.1.1 10/15/1999 To: Jin Guojun (FTG staff) Cc: hackers@FreeBSD.ORG, jake@io.yi.org Subject: Re: kernel SMP thread In-Reply-To: Message from Jin Guojun (FTG staff) of "Thu, 11 May 2000 08:45:18 PDT." <200005111545.IAA17567@george.lbl.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 11 May 2000 19:01:54 -0700 From: Jake Burkholder Message-Id: <20000512020154.C718DBCA7@io.yi.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Jordan said that the kernel SMP thread is ready in CURRENT FreeBSD, > but I could not find any document for the SMP kthread. > > By looking at the kern/kern_kthread.c code, it does not look like a SMP > thread, and does not even have mutex functions in there. > > Does any one happen to know where is the SMP kthread functions? specially > the mutex functions or thread locking mechanism for kernel thread? I have a simple implementation of mutexes and condition variables on my web page, you are welcome to it. http://io.yi.org Jake To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 19:35:34 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from incandescent.firedrake.org (incandescent.firedrake.org [195.157.96.1]) by hub.freebsd.org (Postfix) with ESMTP id 1A6C737B7AB for ; Thu, 11 May 2000 19:35:27 -0700 (PDT) (envelope-from float@firedrake.org) Received: from float by incandescent.firedrake.org with local (Exim 2.05 #1 (Debian)) id 12q55W-00050g-00; Fri, 12 May 2000 03:22:02 +0100 Date: Fri, 12 May 2000 03:22:02 +0100 From: void To: sthaug@nethelp.no Cc: bsd@bsdhome.com, mrbond@jestocost.cosc.morrisville.edu, freeBSD-hackers@FreeBSD.ORG Subject: Re: icmp-response error Message-ID: <20000512032202.A18931@firedrake.org> References: <18865.958026825@verdi.nethelp.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0i In-Reply-To: <18865.958026825@verdi.nethelp.no>; from sthaug@nethelp.no on Thu, May 11, 2000 at 08:33:45AM +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, May 11, 2000 at 08:33:45AM +0200, sthaug@nethelp.no wrote: > > A while back, I wrote a simplistic, but effect script to print out > > information about who has a particular port open. > > There is already a nice program to do this as part of the standard > FreeBSD distribution: sockstat. It deserves wider use, IMHO. lsof does the job nicely, too. /usr/ports/sysutils/lsof -- Ben 220 go.ahead.make.my.day ESMTP Postfix To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 19:46:54 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from bluerose.windmoon.nu (c255152-a.plstn1.sfba.home.com [24.15.210.246]) by hub.freebsd.org (Postfix) with ESMTP id 5071D37BC8A for ; Thu, 11 May 2000 19:46:49 -0700 (PDT) (envelope-from fengyue@bluerose.windmoon.nu) Received: from localhost (fengyue@localhost) by bluerose.windmoon.nu (Windmoon-Patched/8.9.3/8.9.3) with ESMTP id UAA29109 for ; Thu, 11 May 2000 20:10:54 -0700 (PDT) Date: Thu, 11 May 2000 20:10:54 -0700 (PDT) From: FengYue To: hackers@FreeBSD.ORG Subject: Why this works? In-Reply-To: <20000511210915.A38341@Hamilton-ppp44812.sympatico.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I've 3 small programs. First one writes 4K of data contains 'A's into a file /tmp/pagetest and then lseek() to the begin of the file. Second one writes 4K of 'Z' into the same file /tmp/pagetest and then lseek() to the begin of the file. They both do that in a tight loop. Now, the third program reads 4K of data from /tmp/pagetest and exit if the 4K data does not contain all 'A's nor 'Z's. 3 programs run concurrently on the same machine (3.4). No lock in the code whatsoever, and all 3 programs use pure write() and read(). I thought the third program would exit pretty quickly since the data in the file may contain mixed of 'A's and 'Z's, but it has been running for hours and nothing happened. Could someone kindly explain this? I was told that this is because the pagesize is 4096 in the kernel, so that read()/write() 4K of data will not get context switched until the call is compeleted. Is that right? I can attach the code if it's necessary. Thanks FengYue To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 20:32: 6 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by hub.freebsd.org (Postfix) with ESMTP id 07A5237BC78; Thu, 11 May 2000 20:31:56 -0700 (PDT) (envelope-from adsharma@sharmas.dhs.org) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id UAA12091; Thu, 11 May 2000 20:31:32 -0700 Date: Thu, 11 May 2000 20:31:32 -0700 From: Arun Sharma Message-Id: <200005120331.UAA12091@sharmas.dhs.org> To: jbarry@planetoid.org Cc: freebsd-ports@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: FreeBSD Port: xosview-1.7.3 In-Reply-To: <4.3.1.2.20000512000827.00d191a0@mail.sparxint.com> References: <4.3.1.2.20000512000827.00d191a0@mail.sparxint.com> Reply-To: adsharma@sharmas.dhs.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In muc.lists.freebsd.ports, you wrote: > > Do you happen to know if Xosview can be made to show both CPU's in SMP > FreeBsd. I've just swapped from Linux to FreeBsd . See the patches I mailed to freebsd-hackers late last year. You need to patch both the kernel and the userland. I'm a little disappointed at the lack of response. I just assumed that no one is interested - but the question keeps coming up on the lists. -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 21:21: 0 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from portnoy.lbl.gov (portnoy.lbl.gov [131.243.2.11]) by hub.freebsd.org (Postfix) with ESMTP id A766737B789 for ; Thu, 11 May 2000 21:20:57 -0700 (PDT) (envelope-from jin@portnoy.lbl.gov) Received: (from jin@localhost) by george.lbl.gov () id VAA27127; Thu, 11 May 2000 21:20:56 -0700 (PDT) Date: Thu, 11 May 2000 21:20:56 -0700 (PDT) From: Jin Guojun (FTG staff) Message-Id: <200005120420.VAA27127@george.lbl.gov> To: jkh@zippy.cdrom.com Subject: Re: kernel SMP thread Cc: hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > I asked a question "Is FreeBSD working on SMP thread?" at both USENIX > > and FreeBSDcon last year, you answered that it is already in the kernel, > > but there is no API for userland. Maybe we misunderstund each other :-( > > I answered that we had *kernel* threads but that there was no native > API yet, just the "linuxthreads" kernel thread API. Actual SMP-capable > kernel threads remain a pipe dream for us, however. Want to work > on it? :-) Ok, I probably missed the last sentence. Anyway, if I were knowledgeable and good on SMP thread architecture, I would not ask the question :-) But if people want a team, I can help in some part. Once I can launch OC-12 driver for FreeBSD, and go for 3rd generation network architecture, I will defininately need and work on SMP thread more or less. Thanks, -Jin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 22:16:12 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from not.demophon.com (vpn.iscape.fi [195.170.146.67]) by hub.freebsd.org (Postfix) with ESMTP id 8864137B707 for ; Thu, 11 May 2000 22:16:09 -0700 (PDT) (envelope-from will@not.demophon.com) Received: (from will@localhost) by not.demophon.com (8.9.3/8.8.7) id IAA37633; Fri, 12 May 2000 08:09:02 +0300 (EEST) (envelope-from will) To: fengyue@bluerose.windmoon.nu (FengYue) Cc: hackers@freebsd.org Subject: Re: Why this works? References: <20000511210915.A38341@Hamilton-ppp44812.sympatico.ca> From: Ville-Pertti Keinonen Date: 12 May 2000 08:09:02 +0300 In-Reply-To: fengyue@bluerose.windmoon.nu's message of "12 May 2000 05:47:30 +0300" Message-ID: <864s84cq35.fsf@not.demophon.com> Lines: 28 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG fengyue@bluerose.windmoon.nu (FengYue) writes: > I've 3 small programs. First one writes 4K of data contains 'A's into a > file /tmp/pagetest and then lseek() to the begin of the file. > Second one writes 4K of 'Z' into the same file /tmp/pagetest and > then lseek() to the begin of the file. They both do that in a tight > loop. Now, the third program reads 4K of data from /tmp/pagetest > and exit if the 4K data does not contain all 'A's nor 'Z's. 3 programs > run concurrently on the same machine (3.4). No lock in the code whatsoever, > and all 3 programs use pure write() and read(). I thought the third > program would exit pretty quickly since the data in the file may contain > mixed of 'A's and 'Z's, but it has been running for hours and nothing > happened. Could someone kindly explain this? I was told that this is > because the pagesize is 4096 in the kernel, so that read()/write() 4K of > data will not get context switched until the call is compeleted. > Is that right? Not quite. If FreeBSD didn't perform locking, operations affecting single filesystem blocks would probably be atomic (as long as the userland buffer is in memory). However, FreeBSD does perform locking in read(2) and write(2) for local files, so your third program should never fail and exit. Note that the system call interface does not guarantee reads or writes to be atomic, this just happens to be how it is implemented at the moment. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 22:21:46 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id B034837B9F7; Thu, 11 May 2000 22:21:43 -0700 (PDT) (envelope-from kris@FreeBSD.org) Received: from localhost (kris@localhost) by freefall.freebsd.org (8.9.3/8.9.2) with ESMTP id WAA54133; Thu, 11 May 2000 22:21:43 -0700 (PDT) (envelope-from kris@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: kris owned process doing -bs Date: Thu, 11 May 2000 22:21:42 -0700 (PDT) From: Kris Kennaway To: Kent Stewart Cc: George Cox , freebsd-hackers@freebsd.org Subject: Re: Double buffered cp(1) In-Reply-To: <3904B391.D72E8D0E@3-cities.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 24 Apr 2000, Kent Stewart wrote: > This is what I see on a buildworld with 4.0-Stable > > Modified /etc/make.conf and commented out CFLAGS= -Os -pipe > 3707.4u 799.6s 1:35:52.46 78.3% 1374+1477k 56974+173232io 2337pf+0w > 3693.9u 800.5s 1:29:45.73 83.4% 1375+1477k 55201+173224io 2160pf+0w > Modified /etc/make.conf and added CFLAGS= -pipe > 3559.2u 807.2s 1:28:00.05 82.6% 1608+1286k 56499+174033io 2516pf+0w This is an old message, but what you're seeing here is that if CFLAGS is not overridden, it is set by sys.mk to "-O -pipe" Setting CFLAGS explicitly to "-pipe" is faster because it does no optimization, "-Os -pipe" would be slower because it does more. Leaving out -pipe would be slower still, because the compiler does data passing using temporary files in /tmp instead of via a pipe. Kris ---- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 22:41: 6 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [63.67.141.99]) by hub.freebsd.org (Postfix) with ESMTP id C914F37B953; Thu, 11 May 2000 22:40:59 -0700 (PDT) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.9.3/8.8.7) with ESMTP id BAA22977; Fri, 12 May 2000 01:40:25 -0400 (EDT) Date: Fri, 12 May 2000 01:40:25 -0400 (EDT) From: "Matthew N. Dodd" To: Dutch Collins Cc: Gheorghe Ardelean , freebsd-questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: FreeBSD 4.0 and IBM PS/2 Model 65SX In-Reply-To: <391B1E9D.27ED8088@charm.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 11 May 2000, Dutch Collins wrote: > Gheorghe Ardelean wrote: > > can I install FreeBSD 4.0R on a IBM PS/2 Model 65SX with 8MB Ram > > and 2 SCSI HDD of 120MB each? > > > > The netowrk card is an WD8003 and the SCSI Controller is Based on Adaptec > > AIC-6250EL. > > NetBSD has a patch for their software that "should" work for MCA. > > http://slashdot.org/article.pl?sid=00/05/06/1836253 > http://mail-index.netbsd.org/current-users/2000/05/02/0021.html > http://www.ics.muni.cz/~dolecek/NetBSD/MCA/ FreeBSD has MCA support. The 'ed' driver doesn't currently support the WD8003/A but the AHA-1640 is supported. GENERIC doesn't have MCA support built in so you'll need to build a custom kernel and copy it to the boot floppy. -- | 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 | This Space For Rent | ISO8802.5 4ever | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu May 11 22:52:20 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from dt051n0b.san.rr.com (dt051n0b.san.rr.com [204.210.32.11]) by hub.freebsd.org (Postfix) with ESMTP id 76D6F37B6C4; Thu, 11 May 2000 22:52:16 -0700 (PDT) (envelope-from DougB@gorean.org) Received: from gorean.org (doug@master [10.0.0.2]) by dt051n0b.san.rr.com (8.9.3/8.9.3) with ESMTP id WAA10851; Thu, 11 May 2000 22:52:05 -0700 (PDT) (envelope-from DougB@gorean.org) Message-ID: <391B9C04.21FDF1EB@gorean.org> Date: Thu, 11 May 2000 22:52:04 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 5.0-CURRENT-0508 i386) X-Accept-Language: en MIME-Version: 1.0 To: adsharma@sharmas.dhs.org Cc: jbarry@planetoid.org, freebsd-ports@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: FreeBSD Port: xosview-1.7.3 References: <4.3.1.2.20000512000827.00d191a0@mail.sparxint.com> <200005120331.UAA12091@sharmas.dhs.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Arun Sharma wrote: > > In muc.lists.freebsd.ports, you wrote: > > > > Do you happen to know if Xosview can be made to show both CPU's in SMP > > FreeBsd. I've just swapped from Linux to FreeBsd . > > See the patches I mailed to freebsd-hackers late last year. You need to > patch both the kernel and the userland. I'm a little disappointed at > the lack of response. I just assumed that no one is interested - but > the question keeps coming up on the lists. You'd get better results if you put it all together in a PR. Doug -- "Live free or die" - State motto of my ancestral homeland, New Hampshire Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 0: 4:33 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id C396937B5D8; Fri, 12 May 2000 00:04:30 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01JPB2DO80PO0001OF@research.kpn.com>; Fri, 12 May 2000 09:04:28 +0200 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Fri, 12 May 2000 09:04:26 +0100 Content-return: allowed Date: Fri, 12 May 2000 09:04:25 +0100 From: "Koster, K.J." Subject: RE: Double buffered cp(1) To: 'Kris Kennaway' Cc: 'FreeBSD Hackers mailing list' Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D74DE@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Leaving out -pipe would be slower still, because the > compiler does data passing using temporary files in /tmp > instead of via a pipe. > Unless this has been changed from 3.4 to 4.0, gcc defaults to /var/tmp. I never understood why, and the gcc manual page claims that it's /tmp (I think). MFS users, synchronize your TMPDIR variables ... now. :-) Kees Jan ============================================== You are only young once, but you can stay immature all your life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 0:12:10 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from scotty.masternet.it (scotty.masternet.it [194.184.65.2]) by hub.freebsd.org (Postfix) with ESMTP id AD81037B9BC; Fri, 12 May 2000 00:12:04 -0700 (PDT) (envelope-from gmarco@scotty.masternet.it) Received: from suzy.scotty.masternet.it (modem35.masternet.it [194.184.65.45]) by scotty.masternet.it (8.9.3/8.9.3) with ESMTP id JAA14287; Fri, 12 May 2000 09:11:35 +0200 (CEST) (envelope-from gmarco@scotty.masternet.it) Message-Id: <4.3.1.2.20000512090139.0279cab0@194.184.65.2> X-Sender: gmarco@194.184.65.2 X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Fri, 12 May 2000 09:11:55 +0200 To: Conrad Sabatier From: Gianmarco Giovannelli Subject: RE: ipfw and verbose mode Cc: vyger@proximaautomation.com, questions@FreeBSD.ORG, hackers@FreeBSD.ORG, esperti@gufi.org In-Reply-To: References: <4.3.1.2.20000512030301.025a0340@194.184.65.4> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 11/05/00, Conrad Sabatier wrote: >On 12-May-00 Gianmarco Giovannelli wrote: > > > > The problem is that ipfw, even if working, don't log me on > > the screen or in /var/log/messages the rules that are triggered > > (with the log keyword) like: > > > > ipfw -q add 10000 deny log ip from any to any > >I don't suppose it could be that you're using the "quiet" flag (-q)? >:-) No, I think the -q flag is used i.e. to disable output when the rules is set, not to disable the logging facilities. I am missing these kind of logging which I require with the "log" keyword: [3.4-stable] May 9 20:14:34 freebsd /kernel: ipfw: 10000 Deny ICMP:3.13 195.22.192.30 192.168.0.124 in via tun0 May 9 20:14:46 freebsd /kernel: ipfw: 10000 Deny ICMP:3.13 195.22.192.30 192.168.0.124 in via tun0 May 9 20:17:59 freebsd /kernel: ipfw: 10000 Deny ICMP:8.0 194.119.192.34 194.243.20.91 in via tun0 In 4.0-STABLE these kind of logging doesn't happen anymore, even if I set in the kernel options IPFIREWALL options IPFIREWALL_VERBOSE #print information about options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity (I repeat because I fw the message in -hackers mailing list) and even if ipfw logs the reached counter [4.0-stable] May 10 19:58:41 freebsd /kernel: ipfw: limit 100 reached on entry 10000 and my ipfw var are ok (I presume): sysctl -a [...] net.inet.ip.fw.enable: 1 net.inet.ip.fw.one_pass: 1 net.inet.ip.fw.debug: 1 net.inet.ip.fw.verbose: 1 net.inet.ip.fw.verbose_limit: 100 net.inet.ip.fw.dyn_buckets: 256 net.inet.ip.fw.curr_dyn_buckets: 256 net.inet.ip.fw.dyn_count: 0 net.inet.ip.fw.dyn_max: 1000 net.inet.ip.fw.dyn_ack_lifetime: 300 net.inet.ip.fw.dyn_syn_lifetime: 20 net.inet.ip.fw.dyn_fin_lifetime: 20 net.inet.ip.fw.dyn_rst_lifetime: 5 net.inet.ip.fw.dyn_short_lifetime: 5 [...] Thanks to everyone for attention... Best Regards, Gianmarco Giovannelli , "Unix expert since yesterday" http://www.giovannelli.it/~gmarco http://www2.masternet.it To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 0:18:13 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id A2E8837BCDD; Fri, 12 May 2000 00:18:11 -0700 (PDT) (envelope-from kris@FreeBSD.org) Received: from localhost (kris@localhost) by freefall.freebsd.org (8.9.3/8.9.2) with ESMTP id AAA79755; Fri, 12 May 2000 00:18:10 -0700 (PDT) (envelope-from kris@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: kris owned process doing -bs Date: Fri, 12 May 2000 00:18:10 -0700 (PDT) From: Kris Kennaway To: "Koster, K.J." Cc: "'FreeBSD Hackers mailing list'" Subject: RE: Double buffered cp(1) In-Reply-To: <59063B5B4D98D311BC0D0001FA7E4522026D74DE@l04.research.kpn.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 12 May 2000, Koster, K.J. wrote: > Unless this has been changed from 3.4 to 4.0, gcc defaults to /var/tmp. I > never understood why, and the gcc manual page claims that it's /tmp (I > think). MFS users, synchronize your TMPDIR variables ... now. :-) It did. Compiling a simple test program just now shows: + -rw------- 1 root wheel 0 May 12 00:16 /tmp/ccl22910.i + -rw------- 1 root wheel 0 May 12 00:16 /tmp/ccc22910.s + -rw------- 1 root wheel 0 May 12 00:16 /tmp/ccP22910.o - -rw------- 1 root wheel 0 May 12 00:16 /tmp/ccl22910.i - -rw------- 1 root wheel 0 May 12 00:16 /tmp/ccc22910.s - -rw------- 1 root wheel 0 May 12 00:16 /tmp/ccP22910.o (incidentally, another reason to use -pipe is that the above filenames are predictable and probably handled insecurely so that another user can cause any of your files to be overwritten when you compile something. This is on my list of things to fix). Kris ---- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 0:20:30 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 7343237BCE4; Fri, 12 May 2000 00:20:26 -0700 (PDT) (envelope-from kris@FreeBSD.org) Received: from localhost (kris@localhost) by freefall.freebsd.org (8.9.3/8.9.2) with ESMTP id AAA80173; Fri, 12 May 2000 00:20:25 -0700 (PDT) (envelope-from kris@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: kris owned process doing -bs Date: Fri, 12 May 2000 00:20:25 -0700 (PDT) From: Kris Kennaway To: Gianmarco Giovannelli Cc: Conrad Sabatier , vyger@proximaautomation.com, hackers@FreeBSD.ORG, esperti@gufi.org Subject: RE: ipfw and verbose mode In-Reply-To: <4.3.1.2.20000512090139.0279cab0@194.184.65.2> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 12 May 2000, Gianmarco Giovannelli wrote: > I am missing these kind of logging which I require with the "log" keyword: Check your syslog.conf settings - ipfw didn't change the logging behaviour with 4.0, AFAIK. Kris ---- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 0:26:19 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 9DF4E37B7AA for ; Fri, 12 May 2000 00:26:15 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e4C7w6329338; Fri, 12 May 2000 00:58:06 -0700 (PDT) Date: Fri, 12 May 2000 00:58:06 -0700 From: Alfred Perlstein To: Ville-Pertti Keinonen Cc: FengYue , hackers@FreeBSD.ORG Subject: Re: Why this works? Message-ID: <20000512005806.A29302@fw.wintelcom.net> References: <20000511210915.A38341@Hamilton-ppp44812.sympatico.ca> <864s84cq35.fsf@not.demophon.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <864s84cq35.fsf@not.demophon.com>; from will@iki.fi on Fri, May 12, 2000 at 08:09:02AM +0300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Ville-Pertti Keinonen [000511 22:49] wrote: > > fengyue@bluerose.windmoon.nu (FengYue) writes: > > > I've 3 small programs. First one writes 4K of data contains 'A's into a > > file /tmp/pagetest and then lseek() to the begin of the file. > > Second one writes 4K of 'Z' into the same file /tmp/pagetest and > > then lseek() to the begin of the file. They both do that in a tight > > loop. Now, the third program reads 4K of data from /tmp/pagetest > > and exit if the 4K data does not contain all 'A's nor 'Z's. 3 programs > > run concurrently on the same machine (3.4). No lock in the code whatsoever, > > and all 3 programs use pure write() and read(). I thought the third > > program would exit pretty quickly since the data in the file may contain > > mixed of 'A's and 'Z's, but it has been running for hours and nothing > > happened. Could someone kindly explain this? I was told that this is > > because the pagesize is 4096 in the kernel, so that read()/write() 4K of > > data will not get context switched until the call is compeleted. > > Is that right? > > Not quite. If FreeBSD didn't perform locking, operations affecting > single filesystem blocks would probably be atomic (as long as the > userland buffer is in memory). > > However, FreeBSD does perform locking in read(2) and write(2) for > local files, so your third program should never fail and exit. > > Note that the system call interface does not guarantee reads or writes > to be atomic, this just happens to be how it is implemented at the > moment. Afaik several Unix standards mandate this behavior, Linux doesn't follow this standard though. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 0:32: 8 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from scotty.masternet.it (scotty.masternet.it [194.184.65.2]) by hub.freebsd.org (Postfix) with ESMTP id D49DE37BCF2; Fri, 12 May 2000 00:31:58 -0700 (PDT) (envelope-from gmarco@scotty.masternet.it) Received: from suzy.scotty.masternet.it (modem35.masternet.it [194.184.65.45]) by scotty.masternet.it (8.9.3/8.9.3) with ESMTP id JAA14652; Fri, 12 May 2000 09:31:55 +0200 (CEST) (envelope-from gmarco@scotty.masternet.it) Message-Id: <4.3.1.2.20000512093056.025c9310@194.184.65.2> X-Sender: gmarco@194.184.65.2 X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Fri, 12 May 2000 09:32:17 +0200 To: Kris Kennaway From: Gianmarco Giovannelli Subject: RE: ipfw and verbose mode (solved) Cc: hackers@FreeBSD.org, questions@FreeBSD.org, esperti@gufi.org In-Reply-To: References: <4.3.1.2.20000512090139.0279cab0@194.184.65.2> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 12/05/00, you wrote: >On Fri, 12 May 2000, Gianmarco Giovannelli wrote: > > > I am missing these kind of logging which I require with the "log" keyword: > >Check your syslog.conf settings - ipfw didn't change the logging behaviour >with 4.0, AFAIK. Find it ! Thanks it logs everything in /var/log/security now... Thanks again for your input. Best Regards, Gianmarco Giovannelli , "Unix expert since yesterday" http://www.giovannelli.it/~gmarco http://www2.masternet.it To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 0:32:40 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from corinth.bossig.com (corinth.bossig.com [208.26.239.66]) by hub.freebsd.org (Postfix) with ESMTP id 38B0F37BCF2; Fri, 12 May 2000 00:32:25 -0700 (PDT) (envelope-from kstewart@3-cities.com) Received: from 3-cities.com (unverified [208.26.241.39]) by corinth.bossig.com (Rockliffe SMTPRA 4.2.1) with ESMTP id ; Fri, 12 May 2000 00:37:17 -0700 Message-ID: <391BB380.2A9E07C6@3-cities.com> Date: Fri, 12 May 2000 00:32:16 -0700 From: Kent Stewart Organization: BOSSig (BOSS Internet Group) X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Kris Kennaway Cc: George Cox , freebsd-hackers@freebsd.org Subject: Re: Double buffered cp(1) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kris Kennaway wrote: > > On Mon, 24 Apr 2000, Kent Stewart wrote: > > > This is what I see on a buildworld with 4.0-Stable > > > > Modified /etc/make.conf and commented out CFLAGS= -Os -pipe > > 3707.4u 799.6s 1:35:52.46 78.3% 1374+1477k 56974+173232io 2337pf+0w > > 3693.9u 800.5s 1:29:45.73 83.4% 1375+1477k 55201+173224io 2160pf+0w > > Modified /etc/make.conf and added CFLAGS= -pipe > > 3559.2u 807.2s 1:28:00.05 82.6% 1608+1286k 56499+174033io 2516pf+0w > > This is an old message, but what you're seeing here is that if CFLAGS is > not overridden, it is set by sys.mk to "-O -pipe" > > Setting CFLAGS explicitly to "-pipe" is faster because it does no > optimization, "-Os -pipe" would be slower because it does more. Leaving > out -pipe would be slower still, because the compiler does data passing > using temporary files in /tmp instead of via a pipe. Part of this you had to go back about 15-20 messages. There were some comments about options that would speed the system up. I then ran both styles of buildworlds on kernels built with the -Os to see if my buildworld times changed. It wasn't significant. A long about this same time I ran some tests with using this for IBM DCAS drive current setup. da0: Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled da0: 4134MB (8467200 512 byte sectors: 255H 63S/T 527C) Previously, the tagged queueing was turned off. I have run a number of tests with 4.0-Stable and enabling tagged queueing on this drive didn't slow the disk down. It really didn't speed it up to speak of either. Kent > > Kris > > ---- > In God we Trust -- all others must submit an X.509 certificate. > -- Charles Forsythe > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- Kent Stewart Richland, WA mailto:kstewart@3-cities.com http://www.3-cities.com/~kstewart/index.html FreeBSD News http://daily.daemonnews.org/ SETI(Search for Extraterrestrial Intelligence) @ HOME http://setiathome.ssl.berkeley.edu/ Hunting Archibald Stewart, b 1802 in Ballymena, Antrim Co., NIR http://www.3-cities.com/~kstewart/genealogy/archibald_stewart.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 0:32:53 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rina.r.dl.itc.u-tokyo.ac.jp (rina.r.dl.itc.u-tokyo.ac.jp [133.11.199.247]) by hub.freebsd.org (Postfix) with ESMTP id E863337BD79 for ; Fri, 12 May 2000 00:32:45 -0700 (PDT) (envelope-from tanimura@r.dl.itc.u-tokyo.ac.jp) Received: from rina.r.dl.itc.u-tokyo.ac.jp (tanimura@localhost [127.0.0.1]) by rina.r.dl.itc.u-tokyo.ac.jp (8.9.3+3.2W/3.7W-rina.r-0.1-11.01.2000) with ESMTP/IPv4 id QAA38365; Fri, 12 May 2000 16:32:38 +0900 (JST) Date: Fri, 12 May 2000 16:32:37 +0900 Message-ID: <14619.45973.692937.26482Z@rina> From: Seigo Tanimura To: ptacek@pond.net Cc: tanimura@r.dl.itc.u-tokyo.ac.jp, hackers@FreeBSD.ORG Subject: Re: newbusified rp driver In-Reply-To: In your message of "Thu, 11 May 2000 06:55:48 -0700 (PDT)" References: <14618.12910.86889.26482Z@rina> User-Agent: Wanderlust/1.0.3 (Notorious) SEMI/1.13.4 (Terai) FLIM/1.12.7 (=?ISO-8859-4?Q?Y=FEzaki?=) MULE XEmacs/21.1 (patch 9) (Canyonlands) (i386--freebsd) Organization: Digital Library Research Division, Information Techinology Centre, The University of Tokyo MIME-Version: 1.0 (generated by SEMI 1.13.4 - "Terai") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 11 May 2000 06:55:48 -0700 (PDT), Chris Ptacek said: Chris> I am currently working on a program to download the microcode into Chris> the RocketModem2 cards. One thing I noticed is that the RocketPort Chris> driver defaults the cards to 8 lines, I put in a small fix and since Chris> you were already updating it I though you might want to include it. They used to call sReadAiopNumChan() to count the number of channels on an aiop. Maybe we can revert to it for an unknown PCI ID, but sReadAiopNumChan() seems to freeze my box every now and then during configuration. Chris> In the sPCIInitController function in the switch(VendorDevice) I Chris> added RP_DEVICE_ID_6M and RP_DEVICE_ID_4M 0x000C and 0x000D Chris> respectivly, and added the defines to the rpreg.h file. Note this Chris> really on means the correct number of lines will be reported, but Chris> I think it is really the only change needed. Thanks, the updated patch is now at the same URI as the one announced in my first mail. Actually, I have tested my driver with only one PCI card. The ISA part of the driver is not tested. -- Seigo Tanimura To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 6:48:56 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from aaz.links.ru (aaz.links.ru [193.125.152.37]) by hub.freebsd.org (Postfix) with ESMTP id D0FD137B9C1; Fri, 12 May 2000 06:48:46 -0700 (PDT) (envelope-from babolo@links.ru) Received: (from babolo@localhost) by aaz.links.ru (8.9.3/8.9.3) id RAA20140; Fri, 12 May 2000 17:48:41 +0400 (MSD) Message-Id: <200005121348.RAA20140@aaz.links.ru> Subject: Re: Double buffered cp(1) In-Reply-To: from "Kris Kennaway" at "May 12, 0 00:18:10 am" To: kris@FreeBSD.ORG (Kris Kennaway) Date: Fri, 12 May 2000 17:48:41 +0400 (MSD) Cc: K.J.Koster@kpn.com, freebsd-hackers@FreeBSD.ORG From: "Aleksandr A.Babaylov" MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kris Kennaway writes: > On Fri, 12 May 2000, Koster, K.J. wrote: > > > Unless this has been changed from 3.4 to 4.0, gcc defaults to /var/tmp. I > > never understood why, and the gcc manual page claims that it's /tmp (I > > think). MFS users, synchronize your TMPDIR variables ... now. :-) > > It did. > > Compiling a simple test program just now shows: > > + -rw------- 1 root wheel 0 May 12 00:16 /tmp/ccl22910.i > + -rw------- 1 root wheel 0 May 12 00:16 /tmp/ccc22910.s > + -rw------- 1 root wheel 0 May 12 00:16 /tmp/ccP22910.o > - -rw------- 1 root wheel 0 May 12 00:16 /tmp/ccl22910.i > - -rw------- 1 root wheel 0 May 12 00:16 /tmp/ccc22910.s > - -rw------- 1 root wheel 0 May 12 00:16 /tmp/ccP22910.o > > (incidentally, another reason to use -pipe is that the above filenames are > predictable and probably handled insecurely so that another user can cause > any of your files to be overwritten when you compile something. This is > on my list of things to fix). Just use own subdirectory in /tmp with some anticrackers manoevres. see PR bin/18275 and http://www.links.ru/FreeBSD/mkinittmpdir/ which do this work. -- @BABOLO http://links.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 7: 3:53 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mauibuilt.com (mauibuilt.com [205.166.249.50]) by hub.freebsd.org (Postfix) with ESMTP id BCDF937B5A2; Fri, 12 May 2000 07:03:49 -0700 (PDT) (envelope-from freebsd@mauibuilt.com) Received: (from freebsd@localhost) by mauibuilt.com (8.9.3/8.9.3) id EAA13692; Fri, 12 May 2000 04:29:40 -1000 (HST) (envelope-from freebsd) From: FreeBSD MAIL Message-Id: <200005121429.EAA13692@mauibuilt.com> Subject: BROKEN_KEYBOARD_RESET To: freebsd-hackers@freebsd.org Date: Fri, 12 May 2000 04:29:40 -1000 (HST) Cc: freebsd-questions@freebsd.org X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Is this the kernel setting to dislable ctrl-alt-delete from resetting a systtem? If so it seems to be broken in 4.0-RELEASE. is there another way of doing this? remaping keyboard perhaps? # BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to # reset the CPU for reboot. This is needed on some systems with broken # keyboard controllers. Thanks in advance Richard Puga puga@mauibuilt.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 7: 7:23 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from draenor.org (draenor.org [196.36.119.129]) by hub.freebsd.org (Postfix) with ESMTP id 8BDFC37BDAF; Fri, 12 May 2000 07:07:12 -0700 (PDT) (envelope-from marcs@draenor.org) Received: from marcs by draenor.org with local (Exim 3.13 #1) id 12qG5l-0005iZ-00; Fri, 12 May 2000 16:07:01 +0200 Date: Fri, 12 May 2000 16:07:01 +0200 From: Marc Silver To: FreeBSD MAIL Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: BROKEN_KEYBOARD_RESET Message-ID: <20000512160701.B21292@draenor.org> References: <200005121429.EAA13692@mauibuilt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200005121429.EAA13692@mauibuilt.com>; from freebsd@mauibuilt.com on Fri, May 12, 2000 at 04:29:40AM -1000 X-Operating-System: FreeBSD 4.0-STABLE Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The option you're looking for is: options SC_DISABLE_REBOOT BROKEN_KEYBOARD_RESET is used for something else. :) Cheers, Marc On Fri, May 12, 2000 at 04:29:40AM -1000, FreeBSD MAIL wrote: > Is this the kernel setting to dislable ctrl-alt-delete from resetting > a systtem? If so it seems to be broken in 4.0-RELEASE. > is there another way of doing this? remaping keyboard perhaps? > > > # BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to > # reset the CPU for reboot. This is needed on some systems with broken > # keyboard controllers. > > Thanks in advance > > Richard Puga > puga@mauibuilt.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 7:13:11 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mauibuilt.com (mauibuilt.com [205.166.249.50]) by hub.freebsd.org (Postfix) with ESMTP id E882637BDAF; Fri, 12 May 2000 07:13:05 -0700 (PDT) (envelope-from freebsd@mauibuilt.com) Received: (from freebsd@localhost) by mauibuilt.com (8.9.3/8.9.3) id EAA13741; Fri, 12 May 2000 04:38:57 -1000 (HST) (envelope-from freebsd) From: FreeBSD MAIL Message-Id: <200005121438.EAA13741@mauibuilt.com> Subject: Re:BROKEN_KEYBOARD_RESET To: freebsd-hackers@freebsd.org Date: Fri, 12 May 2000 04:38:57 -1000 (HST) Cc: freebsd-questions@freebsd.org X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sorry for the stupid quiestion. I figured it out from LINT that is the options SC_DISABLE_REBOOT # disable reboot key sequence Thanks Richard Puga moron@rtfm.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 7:18:38 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from quack.kfu.com (quack.kfu.com [170.1.70.2]) by hub.freebsd.org (Postfix) with ESMTP id B6E5F37B696 for ; Fri, 12 May 2000 07:18:35 -0700 (PDT) (envelope-from nsayer@quack.kfu.com) Received: from icarus.kfu.com (icarus.kfu.com [170.1.70.37]) by quack.kfu.com (8.9.2/8.9.3) with ESMTP id HAA07658 for ; Fri, 12 May 2000 07:18:30 -0700 (PDT) (envelope-from nsayer@quack.kfu.com) Received: from quack.kfu.com by icarus.kfu.com with ESMTP (8.9.3//ident-1.0) id HAA72551; Fri, 12 May 2000 07:18:29 -0700 (PDT) Message-ID: <391C12B5.E5A2DCD3@quack.kfu.com> Date: Fri, 12 May 2000 07:18:29 -0700 From: Nick Sayer X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: hackers@freebsd.org Subject: rexec as root Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I would like to gather some opinions in regards to _very slightly_ backing off on rexec's security. rexec makes the following checks, and refuses to allow usage if any are true: uid == 0 password is blank user is in /etc/ftpusers I put it to everyone that the first and third checks are equivalent and redundant. Moreover, since the first check can be done by the third check (and is at install time by default) without recompiling rexecd, removing the first check results in no real loss of security, while slightly increasing flexibility for those who have some need for it. Yes, the r commands are deprecated. But they are still there, and I am all for allowing the administrator to decide to override defaults rather than forcing them to alter the source and recompile it. Comments? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 8:10:47 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by hub.freebsd.org (Postfix) with ESMTP id 1D38637BDDD for ; Fri, 12 May 2000 08:10:45 -0700 (PDT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Fri, 12 May 2000 16:10:33 +0100 Received: from localhost (cmjg@localhost) by mail.ilrt.bris.ac.uk (8.8.7/8.8.8) with ESMTP id QAA04749; Fri, 12 May 2000 16:10:27 +0100 (BST) Date: Fri, 12 May 2000 16:10:27 +0100 (BST) From: Jan Grant To: Nick Sayer Cc: hackers@freebsd.org Subject: Re: rexec as root In-Reply-To: <391C12B5.E5A2DCD3@quack.kfu.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 12 May 2000, Nick Sayer wrote: > I would like to gather some opinions in regards to _very slightly_ > backing off > on rexec's security. Don't do it? > rexec makes the following checks... [ uid==0, password blank, uname in /etc/ftpusers ] > I put it to everyone that the first and third checks are equivalent and What you say is correct, but personally I think deprecated really should mean deprecated. There are better alternatives to rexec (ssh - open or otherwise) and they ought to be pushed. If admins _really_ want this functionality, patching the source isn't so much of a hardship. But it makes the path f least resistance the installation of a better alternative :-) jan -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287163 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk Spreadsheet through network. Oh yeah. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 8:36: 6 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id 4232537B814 for ; Fri, 12 May 2000 08:36:04 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost.freebsd.dk [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.3) with ESMTP id RAA02049; Fri, 12 May 2000 17:34:52 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Jan Grant Cc: Nick Sayer , hackers@FreeBSD.ORG Subject: Re: rexec as root In-reply-to: Your message of "Fri, 12 May 2000 16:10:27 BST." Date: Fri, 12 May 2000 17:34:52 +0200 Message-ID: <2047.958145692@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >What you say is correct, but personally I think deprecated really should >mean deprecated. There are better alternatives to rexec (ssh - open or >otherwise) and they ought to be pushed. FreeBSD provides tools for people, we don't enforce our policy on them. I think the proposed change makes sense. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD coreteam member | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 9: 6: 7 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from defiant.quansoo.com (defiant.quansoo.com [63.66.225.90]) by hub.freebsd.org (Postfix) with ESMTP id 716D137B5D7 for ; Fri, 12 May 2000 09:06:04 -0700 (PDT) (envelope-from cgriffiths@quansoo.com) Received: from localhost (cgriffiths@localhost) by defiant.quansoo.com (8.9.3/8.9.3) with ESMTP id KAA32617 for ; Fri, 12 May 2000 10:09:10 -0400 (EDT) (envelope-from cgriffiths@quansoo.com) X-Authentication-Warning: defiant.quansoo.com: cgriffiths owned process doing -bs Date: Fri, 12 May 2000 10:09:10 -0400 (EDT) From: "Christopher T. Griffiths" To: FreeBSD Hackers Mailing List Subject: Dual ethernet tl on Compaq Server (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I sent this in yesterday but got no info back. Any ideas? I am getting the following error after I upgraded from 3.4 -stable to 4.0 -stable cvsuped as of a few days ago. I am getting the following error: tl0: got an invalid interrupt! tl1: got an invalid interrupt! Network services seem ok, but it is throwing this error constantly. It is a cvsup of 4.0 -stable as of a few days ago. The hardware is a compaq 1850r server with the embedded tl nic and a tl addon card. Any help would be appreciated. Thanks Chris --- Christopher T. Griffiths Quansoo Group Inc. cgriffiths@quansoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 9:39:18 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from virtual-voodoo.com (virtual-voodoo.com [204.120.165.254]) by hub.freebsd.org (Postfix) with ESMTP id 8F93237B54E for ; Fri, 12 May 2000 09:39:12 -0700 (PDT) (envelope-from steve@virtual-voodoo.com) Received: (from root@localhost) by virtual-voodoo.com (8.10.0/8.10.0) id e4CGfpg95108 for freebsd-hackers@freebsd.org; Fri, 12 May 2000 11:41:51 -0500 (EST) Date: Fri, 12 May 2000 11:41:51 -0500 (EST) From: Steve Ames Message-Id: <200005121641.e4CGfpg95108@virtual-voodoo.com> To: freebsd-hackers@freebsd.org Subject: more still breaks world Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG buildworld still breaks in more (cvsup from around 12:30 EDT)... however it only breaks if you have obj directories: virtual-voodoo# make obj /usr/obj/source/src/usr.bin/more created for /source/src/usr.bin/more virtual-voodoo# make depend sed -e 's/\\/\\\\/g' -e 's/\"/\\\"/g' -e 's/$/\\n\\/' < /source/src/usr.bin/mor e/default.morerc >> defrc.h rm -f .depend mkdep -f .depend -a -I/source/src/usr.bin/more -I/usr/obj/source/src/usr.bin/ more -DTERMIOS /source/src/usr.bin/more/ch.c /source/src/usr.bin/more/command.c /source/src/usr.bin/more/help.c /source/src/usr.bin/more/input.c /source/src/us r.bin/more/line.c /source/src/usr.bin/more/linenum.c /source/src/usr.bin/more/ma cro.c main.c /source/src/usr.bin/more/ncommand.c /source/src/usr.bin/more/option .c /source/src/usr.bin/more/os.c /source/src/usr.bin/more/output.c /source/src/u sr.bin/more/position.c /source/src/usr.bin/more/prim.c /source/src/usr.bin/more/ screen.c /source/src/usr.bin/more/signal.c /source/src/usr.bin/more/tags.c /sour ce/src/usr.bin/more/ttyin.c cc: main.c: No such file or directory mkdep: compile failed *** Error code 1 Notice how 'main.c' above doesn't have a path? Without the obj directory the path isn't required since your building in /usr/src.. -Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 10:21:11 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 7E8EF37B530; Fri, 12 May 2000 10:21:05 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id LAA63854; Fri, 12 May 2000 11:21:04 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id LAA12493; Fri, 12 May 2000 11:20:36 -0600 (MDT) Message-Id: <200005121720.LAA12493@harmony.village.org> To: Kris Kennaway Subject: Re: Double buffered cp(1) Cc: "Koster, K.J." , "'FreeBSD Hackers mailing list'" In-reply-to: Your message of "Fri, 12 May 2000 00:18:10 PDT." References: Date: Fri, 12 May 2000 11:20:36 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Kris Kennaway writes: : (incidentally, another reason to use -pipe is that the above filenames are : predictable and probably handled insecurely so that another user can cause : any of your files to be overwritten when you compile something. This is : on my list of things to fix). This is one reason I have TMPDIR set to "." when I'm running as me. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 10:26: 0 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from sofia.csl.sri.com (sofia.csl.sri.com [130.107.19.127]) by hub.freebsd.org (Postfix) with ESMTP id D851D37B755 for ; Fri, 12 May 2000 10:25:55 -0700 (PDT) (envelope-from molter@sofia.csl.sri.com) Received: (from molter@localhost) by sofia.csl.sri.com (8.9.3/8.9.3) id KAA01357; Fri, 12 May 2000 10:27:15 -0700 (PDT) (envelope-from molter) From: Marco Molteni Date: Fri, 12 May 2000 10:27:15 -0700 To: freebsd-hackers@FreeBSD.ORG Cc: Greg Lehey Subject: Re: kernel panics at boot, how to specify dump device? Message-ID: <20000512102715.A1281@sofia.csl.sri.com> Mail-Followup-To: freebsd-hackers@FreeBSD.ORG, Greg Lehey References: <20000511122038.A99408@sofia.csl.sri.com> <20000511130359.Y337@beastie.localdomain> <20000512090124.C10505@freebie.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre4i In-Reply-To: <20000512090124.C10505@freebie.lemis.com>; from grog@lemis.com on Fri, May 12, 2000 at 09:01:24AM +0930 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 12 May 2000, Greg Lehey wrote: > On Thursday, 11 May 2000 at 13:03:59 -0700, Brian O'Shea wrote: > > > On Thu, May 11, 2000 at 12:20:38PM -0700, Marco Molteni wrote: > > > > > I have a 4-STABLE kernel that panics at boot. How do I force the kernel > > > to core dump? [..] > > From the LINT kernel config file: > > > > config kernel root on wd0 dumps on wd0 > > That's not there in 4.0. I believe most of this was vandalized some > time late last year. Yes, I remember having seen it in the past. > I've been running in to this problem too. Hehe, I've seen your emails on the subject in the archive ;-) > I'm planning to add an option to ddb where you can specify the dump > device at the time where you want to take the dump. Looks like a good idea. > Marco, where exactly is it panicing? Do you have ddb in the kernel? Yes, I have ddb in the kernel, although I am not good at it (I prefer symbolic debuggers ;-). It is panicing in the initialization of the routing tables, probably because I am playing with them :-) Anyway, reading the email archives I found a suggestion by bde (I think) who said: who needs a core dump, if you can use remote gdb? Well, since I have two machines, I found that remote gdb is the way to go :-) Thanks Marco -- Marco Molteni "rough consensus and running code" SRI International, System Design Laboratory To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 10:28:35 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id B7C2737B610; Fri, 12 May 2000 10:28:30 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id LAA63879; Fri, 12 May 2000 11:28:29 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id LAA12536; Fri, 12 May 2000 11:28:01 -0600 (MDT) Message-Id: <200005121728.LAA12536@harmony.village.org> To: FreeBSD MAIL Subject: Re: BROKEN_KEYBOARD_RESET Cc: freebsd-hackers@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG In-reply-to: Your message of "Fri, 12 May 2000 04:29:40 -1000." <200005121429.EAA13692@mauibuilt.com> References: <200005121429.EAA13692@mauibuilt.com> Date: Fri, 12 May 2000 11:28:01 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200005121429.EAA13692@mauibuilt.com> FreeBSD MAIL writes: : Is this the kernel setting to dislable ctrl-alt-delete from resetting : a systtem? If so it seems to be broken in 4.0-RELEASE. : is there another way of doing this? remaping keyboard perhaps? : : # BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to : # reset the CPU for reboot. This is needed on some systems with broken : # keyboard controllers. No. The hot key squence CAD will reboot the system. Or rather it will cause the init process to get a signal that causes it to reboot the system. BROKEN_KEYBOARD_RESET does something different. In the IBM PC and newer compatible machines, the keyboard controller part is connected to a lot of different things, including the reset line to the CPU. Generally one can get a fairly clean reset of the CPU by telling the keyboard controller micro controller to reset the CPU with a nice pulse downt he reset line. Some keyboard controllers didn't think this was important enough to get right, so they don't implement this proplerly. These controllers are generally on the 386 and 486 class of machines and some pentium laptops (exceptions to the rule exist) where the keyboard controller was still a 8042 microcontroller programmed to talk to the keyboard. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 10:30:11 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from aaz.links.ru (aaz.links.ru [193.125.152.37]) by hub.freebsd.org (Postfix) with ESMTP id 6DDEF37BE33; Fri, 12 May 2000 10:30:06 -0700 (PDT) (envelope-from babolo@links.ru) Received: (from babolo@localhost) by aaz.links.ru (8.9.3/8.9.3) id VAA04217; Fri, 12 May 2000 21:29:57 +0400 (MSD) Message-Id: <200005121729.VAA04217@aaz.links.ru> Subject: Re: Double buffered cp(1) In-Reply-To: <200005121720.LAA12493@harmony.village.org> from "Warner Losh" at "May 12, 0 11:20:36 am" To: imp@village.org (Warner Losh) Date: Fri, 12 May 2000 21:29:57 +0400 (MSD) Cc: kris@FreeBSD.ORG, K.J.Koster@kpn.com, freebsd-hackers@FreeBSD.ORG From: "Aleksandr A.Babaylov" MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Warner Losh writes: > In message Kris Kennaway writes: > : (incidentally, another reason to use -pipe is that the above filenames are > : predictable and probably handled insecurely so that another user can cause > : any of your files to be overwritten when you compile something. This is > : on my list of things to fix). > > This is one reason I have TMPDIR set to "." when I'm running as me. ...and lose a lot of files to delete... I propose create (or use old) subdirectory in /tmp on startup and use this subdirectory for set TMPDIR See PR bin/18275 -- @BABOLO http://links.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 10:32: 4 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from pawn.primelocation.net (pawn.primelocation.net [205.161.238.235]) by hub.freebsd.org (Postfix) with ESMTP id 40C7C37BE59 for ; Fri, 12 May 2000 10:32:01 -0700 (PDT) (envelope-from cdf.lists@fxp.org) Received: by pawn.primelocation.net (Postfix, from userid 1016) id 9E8D09B1D; Fri, 12 May 2000 13:31:59 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by pawn.primelocation.net (Postfix) with ESMTP id 9378ABA0F; Fri, 12 May 2000 13:31:59 -0400 (EDT) Date: Fri, 12 May 2000 13:31:59 -0400 (EDT) From: "Chris D. Faulhaber" X-Sender: cdf.lists@pawn.primelocation.net To: Warner Losh Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: BROKEN_KEYBOARD_RESET In-Reply-To: <200005121728.LAA12536@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 12 May 2000, Warner Losh wrote: > In message <200005121429.EAA13692@mauibuilt.com> FreeBSD MAIL writes: > : Is this the kernel setting to dislable ctrl-alt-delete from resetting > : a systtem? If so it seems to be broken in 4.0-RELEASE. > : is there another way of doing this? remaping keyboard perhaps? > : > : # BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to > : # reset the CPU for reboot. This is needed on some systems with broken > : # keyboard controllers. > > No. The hot key squence CAD will reboot the system. Or rather it > will cause the init process to get a signal that causes it to reboot > the system. > > BROKEN_KEYBOARD_RESET does something different. In the IBM PC and > newer compatible machines, the keyboard controller part is connected > to a lot of different things, including the reset line to the CPU. > Generally one can get a fairly clean reset of the CPU by telling the > keyboard controller micro controller to reset the CPU with a nice > pulse downt he reset line. Some keyboard controllers didn't think > this was important enough to get right, so they don't implement this > proplerly. These controllers are generally on the 386 and 486 class > of machines and some pentium laptops (exceptions to the rule exist) > where the keyboard controller was still a 8042 microcontroller > programmed to talk to the keyboard. > Since this has been brought up, any reason that BROKEN_KEYBOARD_RESET is not a recognized option (see kern/12927)? ----- Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org -------------------------------------------------------- FreeBSD: The Power To Serve - http://www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 10:32:23 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 0CC7937BEDC for ; Fri, 12 May 2000 10:32:16 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id LAA63919; Fri, 12 May 2000 11:32:14 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id LAA12588; Fri, 12 May 2000 11:31:47 -0600 (MDT) Message-Id: <200005121731.LAA12588@harmony.village.org> To: Nick Sayer Subject: Re: rexec as root Cc: hackers@FreeBSD.ORG In-reply-to: Your message of "Fri, 12 May 2000 07:18:29 PDT." <391C12B5.E5A2DCD3@quack.kfu.com> References: <391C12B5.E5A2DCD3@quack.kfu.com> Date: Fri, 12 May 2000 11:31:47 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <391C12B5.E5A2DCD3@quack.kfu.com> Nick Sayer writes: : I put it to everyone that the first and third checks are equivalent and : redundant. They are not redundant. They provide a little (although not much) extra security for those sites that have had a root account added by intruders which the admin know nothing of. In the absense of this test, machines in a yp netowrk would be extremely vulnerable to root uid penetration when an intruder can hack the yp database, or spoof replies. OK, so that's a weak wall for a weak protocol, but I'm pretty sure why the extra check for uid 0 is in there. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 10:33:50 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 05E0537BE7A; Fri, 12 May 2000 10:33:45 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id LAA63933; Fri, 12 May 2000 11:33:42 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id LAA12614; Fri, 12 May 2000 11:33:15 -0600 (MDT) Message-Id: <200005121733.LAA12614@harmony.village.org> To: "Aleksandr A.Babaylov" Subject: Re: Double buffered cp(1) Cc: kris@FreeBSD.ORG, K.J.Koster@kpn.com, freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Fri, 12 May 2000 21:29:57 +0400." <200005121729.VAA04217@aaz.links.ru> References: <200005121729.VAA04217@aaz.links.ru> Date: Fri, 12 May 2000 11:33:14 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200005121729.VAA04217@aaz.links.ru> "Aleksandr A.Babaylov" writes: : > This is one reason I have TMPDIR set to "." when I'm running as me. : ...and lose a lot of files to delete... My sources are cvs controlled, and a cvs update -n tells me what to delete when gcc doesn't do it for me. And when I'm not running -pipe :-). : I propose create (or use old) subdirectory in /tmp on startup : and use this subdirectory for set TMPDIR : See PR bin/18275 I'll have to take a look a tthis, but my plate is very full these days. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 10:40:48 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 6DF0737B5DE for ; Fri, 12 May 2000 10:40:42 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id LAA64005; Fri, 12 May 2000 11:40:40 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id LAA12676; Fri, 12 May 2000 11:40:13 -0600 (MDT) Message-Id: <200005121740.LAA12676@harmony.village.org> To: "Chris D. Faulhaber" Subject: Re: BROKEN_KEYBOARD_RESET Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Fri, 12 May 2000 13:31:59 EDT." References: Date: Fri, 12 May 2000 11:40:13 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message "Chris D. Faulhaber" writes: : Since this has been brought up, any reason that BROKEN_KEYBOARD_RESET is : not a recognized option (see kern/12927)? Likely fell through the cracks when Eivind made everything an option. If it didn't, then someone likely broke it later on. vm_machdep.c should include opt_.h for this, but doesn't. Speaking of AT keyboard controllers, does anybody know if the new legacy free PCs have this port available for compatibility reasons? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 11:19:27 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from guardian.sftw.com (guardian.sftw.com [209.157.37.25]) by hub.freebsd.org (Postfix) with ESMTP id 7A46E37B82C for ; Fri, 12 May 2000 11:19:25 -0700 (PDT) (envelope-from nsayer@sftw.com) Received: from yoda.sftw.com (yoda.sftw.com [209.157.37.211]) by guardian.sftw.com (8.9.3/8.9.3) with ESMTP id LAA18422; Fri, 12 May 2000 11:19:24 -0700 (PDT) (envelope-from nsayer@sftw.com) Received: from sftw.com (localhost [127.0.0.1]) by yoda.sftw.com (8.9.3/8.9.3) with ESMTP id LAA65042; Fri, 12 May 2000 11:19:30 -0700 (PDT) (envelope-from nsayer@sftw.com) Message-ID: <391C4B31.4B1DB762@sftw.com> Date: Fri, 12 May 2000 11:19:29 -0700 From: Nick Sayer Reply-To: nsayer@freebsd.org X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Warner Losh , freebsd-hackers@freebsd.org Subject: Re: rexec as root References: <391C12B5.E5A2DCD3@quack.kfu.com> <200005121731.LAA12588@harmony.village.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Warner Losh wrote: > [...] In the absense of this > test, machines in a yp netowrk would be extremely vulnerable to root > uid penetration when an intruder can hack the yp database, or spoof > replies. Ok. How about adding an rexecd command line flag to disable that test (with suitable warnings in the man page)? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 12:19:42 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 8CA9E37B525; Fri, 12 May 2000 12:19:37 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id NAA64747; Fri, 12 May 2000 13:19:35 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id NAA13182; Fri, 12 May 2000 13:19:07 -0600 (MDT) Message-Id: <200005121919.NAA13182@harmony.village.org> To: nsayer@freebsd.org Subject: Re: rexec as root Cc: freebsd-hackers@freebsd.org In-reply-to: Your message of "Fri, 12 May 2000 11:19:29 PDT." <391C4B31.4B1DB762@sftw.com> References: <391C4B31.4B1DB762@sftw.com> <391C12B5.E5A2DCD3@quack.kfu.com> <200005121731.LAA12588@harmony.village.org> Date: Fri, 12 May 2000 13:19:07 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <391C4B31.4B1DB762@sftw.com> Nick Sayer writes: : Warner Losh wrote: : : > [...] In the absense of this : > test, machines in a yp netowrk would be extremely vulnerable to root : > uid penetration when an intruder can hack the yp database, or spoof : > replies. : : Ok. How about adding an rexecd command line flag to disable : that test (with suitable warnings in the man page)? I'd be all for a "make this insanely insecure protocol even more insecure because security doesn't matter to my setup" flag. So long as it isn't default :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 13:26:20 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from bungo.sgn.sca.se (bungo.sgn.sca.se [193.221.76.5]) by hub.freebsd.org (Postfix) with ESMTP id 99C4737B595 for ; Fri, 12 May 2000 13:26:16 -0700 (PDT) (envelope-from Daniel.Killingsworth@hygiene.sca.se) Received: from us-phl-mail1.molnlycke.se (us-phl-mail1.hygiene.sca.se [10.192.8.253]) by bungo.sgn.sca.se (8.10.0/8.10.0) with ESMTP id e4CKLmE24312 for ; Fri, 12 May 2000 16:21:49 -0400 (EDT) Received: by us-phl-mail1.hygiene.sca.se with Internet Mail Service (5.5.2650.21) id ; Fri, 12 May 2000 16:26:11 -0400 Message-ID: From: Killingsworth Daniel To: "'freebsd-hackers@freebsd.org'" Subject: mailing list? Date: Fri, 12 May 2000 16:26:10 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG How can I begin getting mailings from this list? Regards, Daniel Killingsworth, MCP IS Desktop Support Specialist SCA Hygiene Products 610-499-3406 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 14: 5:12 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from ada.eu.org (marvin.enst.fr [137.194.161.2]) by hub.freebsd.org (Postfix) with ESMTP id 5BD0337B75B for ; Fri, 12 May 2000 14:05:08 -0700 (PDT) (envelope-from sam@inf.enst.fr) Received: from trillian.enst.fr (antinea.enst.fr [137.194.160.145]) by ada.eu.org (Postfix) with ESMTP id 5C28A19090; Fri, 12 May 2000 23:05:05 +0200 (CEST) Received: by trillian.enst.fr (Postfix, from userid 1000) id 59CBA1DA; Fri, 12 May 2000 23:05:04 +0200 (CEST) Date: Fri, 12 May 2000 23:05:03 +0200 To: freebsd-hackers@freebsd.org Subject: make question Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i From: Samuel Tardieu Organization: Ecole Nationale Superieure des Telecommunications Reply-To: Samuel Tardieu Content-Transfer-Encoding: 8bit X-WWW: http://www.inf.enst.fr/~tardieu/ X-Mail-Processing: Sam's procmail tools X-ICQ: 21547599 Message-Id: <2000-05-12-23-05-04+trackit+sam@inf.enst.fr> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am having difficulties to implement the following rule in BSD make: to produce file foobar.o, then start from foobar.adb if it exists, foobar.ads otherwise. I want this to be compatible with both BSD and GNU make. I tried: .SUFFIXES: .adb .ads .lo .adb.lo: .ads.lo: but make prefers the .ads.lo rule instead of the .adb.lo, despites the order in the .SUFFIXES. Using "make -d s" to trace dependencies and rules, I get: SuffFindDeps (broca-exceptions.lo) trying broca-exceptions.S...not there trying broca-exceptions.adb...got it using existing source broca-exceptions.ads applying .ads -> .lo to "broca-exceptions.lo" broca-exceptions.adb has been found and should have been used, but this "using existing source" message (coming after!) bugs me. The wrong rule is then being selected. Any hint of where it can come from? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 14:21:32 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from nantai.utsunomiya-u.ac.jp (nantai.utsunomiya-u.ac.jp [160.12.195.11]) by hub.freebsd.org (Postfix) with ESMTP id 2B3A937BA5B for ; Fri, 12 May 2000 14:21:26 -0700 (PDT) (envelope-from yokota@zodiac.mech.utsunomiya-u.ac.jp) Received: from zodiac.mech.utsunomiya-u.ac.jp (IDENT:XmeDLQL6lrA3mjytua9mMPxv4DzeNlyw@zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1] (may be forged)) by nantai.utsunomiya-u.ac.jp (8.9.3/3.7Wpl2) with ESMTP id GAA03974; Sat, 13 May 2000 06:21:14 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by zodiac.mech.utsunomiya-u.ac.jp (8.7.6+2.6Wbeta7/3.4W/zodiac-May96) with ESMTP id GAA11460; Sat, 13 May 2000 06:27:58 +0900 (JST) Message-Id: <200005122127.GAA11460@zodiac.mech.utsunomiya-u.ac.jp> To: Warner Losh Cc: freebsd-hackers@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp Reply-To: kazutaka.yokota@nifty.com Subject: Re: BROKEN_KEYBOARD_RESET In-reply-to: Your message of "Fri, 12 May 2000 11:40:13 CST." <200005121740.LAA12676@harmony.village.org> References: <200005121740.LAA12676@harmony.village.org> Date: Sat, 13 May 2000 06:27:56 +0900 From: Kazutaka YOKOTA Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >In message >"Chris D. Faulhaber" writes: >: Since this has been brought up, any reason that BROKEN_KEYBOARD_RESET is >: not a recognized option (see kern/12927)? > >Likely fell through the cracks when Eivind made everything an option. >If it didn't, then someone likely broke it later on. vm_machdep.c >should include opt_.h for this, but doesn't. > >Speaking of AT keyboard controllers, does anybody know if the new >legacy free PCs have this port available for compatibility reasons? I guess it depends on the level of compatiblity the BIOS offers.... Kazu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 14:51:39 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp02.teb1.iconnet.net (smtp02.teb1.iconnet.net [209.3.218.43]) by hub.freebsd.org (Postfix) with ESMTP id D14F237B94A for ; Fri, 12 May 2000 14:51:35 -0700 (PDT) (envelope-from babkin@bellatlantic.net) Received: from bellatlantic.net (client-117-169.bellatlantic.net [151.198.117.169]) by smtp02.teb1.iconnet.net (8.9.1/8.9.1) with ESMTP id RAA01409; Fri, 12 May 2000 17:51:21 -0400 (EDT) Message-ID: <391C7CDA.F9B477B7@bellatlantic.net> Date: Fri, 12 May 2000 17:51:22 -0400 From: Sergey Babkin X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-19990626-CURRENT i386) X-Accept-Language: ru, en MIME-Version: 1.0 To: Alfred Perlstein Cc: Ville-Pertti Keinonen , FengYue , hackers@FreeBSD.ORG Subject: Re: Why this works? References: <20000511210915.A38341@Hamilton-ppp44812.sympatico.ca> <864s84cq35.fsf@not.demophon.com> <20000512005806.A29302@fw.wintelcom.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alfred Perlstein wrote: > > * Ville-Pertti Keinonen [000511 22:49] wrote: > > > > fengyue@bluerose.windmoon.nu (FengYue) writes: > > > > > loop. Now, the third program reads 4K of data from /tmp/pagetest > > > and exit if the 4K data does not contain all 'A's nor 'Z's. 3 programs > > > run concurrently on the same machine (3.4). No lock in the code whatsoever, > > > > Not quite. If FreeBSD didn't perform locking, operations affecting > > single filesystem blocks would probably be atomic (as long as the > > userland buffer is in memory). > > > > However, FreeBSD does perform locking in read(2) and write(2) for > > local files, so your third program should never fail and exit. > > > > Note that the system call interface does not guarantee reads or writes > > to be atomic, this just happens to be how it is implemented at the > > moment. > > Afaik several Unix standards mandate this behavior, Linux doesn't > follow this standard though. Sounds like one more of these subtle weirdnesses in Linux that annoy me so much :-( Solaris seems to be another example a system with not quite atomic writes. The writes themselves seem to be atomic but in append mode the positioning at the end of file is not atomic with writes. So when appending to a log file from multiple sources the messages tend to overlap (be written at the same position). -SB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 15:33:33 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 8DDD637BB25 for ; Fri, 12 May 2000 15:33:28 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id QAA65284; Fri, 12 May 2000 16:33:12 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id QAA22142; Fri, 12 May 2000 16:32:44 -0600 (MDT) Message-Id: <200005122232.QAA22142@harmony.village.org> To: kazutaka.yokota@nifty.com Subject: Re: BROKEN_KEYBOARD_RESET Cc: freebsd-hackers@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp In-reply-to: Your message of "Sat, 13 May 2000 06:27:56 +0900." <200005122127.GAA11460@zodiac.mech.utsunomiya-u.ac.jp> References: <200005122127.GAA11460@zodiac.mech.utsunomiya-u.ac.jp> <200005121740.LAA12676@harmony.village.org> Date: Fri, 12 May 2000 16:32:44 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200005122127.GAA11460@zodiac.mech.utsunomiya-u.ac.jp> Kazutaka YOKOTA writes: : >Speaking of AT keyboard controllers, does anybody know if the new : >legacy free PCs have this port available for compatibility reasons? : : I guess it depends on the level of compatiblity the BIOS offers.... I'm not sure how the BIOS would impact this. The reset is done by wrinting stuff to the keyboard controller port. I'm curious if there's A-20 compat as well as reset, but no actual keyboard controller. Or if it is completely gone. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 15:39:11 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 4C42237BBC1 for ; Fri, 12 May 2000 15:39:09 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e4CNB7E21528; Fri, 12 May 2000 16:11:07 -0700 (PDT) Date: Fri, 12 May 2000 16:11:07 -0700 From: Alfred Perlstein To: Sergey Babkin Cc: Ville-Pertti Keinonen , FengYue , hackers@FreeBSD.ORG Subject: Re: Why this works? Message-ID: <20000512161107.A19644@fw.wintelcom.net> References: <20000511210915.A38341@Hamilton-ppp44812.sympatico.ca> <864s84cq35.fsf@not.demophon.com> <20000512005806.A29302@fw.wintelcom.net> <391C7CDA.F9B477B7@bellatlantic.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <391C7CDA.F9B477B7@bellatlantic.net>; from babkin@bellatlantic.net on Fri, May 12, 2000 at 05:51:22PM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Sergey Babkin [000512 15:23] wrote: > Alfred Perlstein wrote: > > > > * Ville-Pertti Keinonen [000511 22:49] wrote: > > > > > > fengyue@bluerose.windmoon.nu (FengYue) writes: > > > > > > > loop. Now, the third program reads 4K of data from /tmp/pagetest > > > > and exit if the 4K data does not contain all 'A's nor 'Z's. 3 programs > > > > run concurrently on the same machine (3.4). No lock in the code whatsoever, > > > > > > Not quite. If FreeBSD didn't perform locking, operations affecting > > > single filesystem blocks would probably be atomic (as long as the > > > userland buffer is in memory). > > > > > > However, FreeBSD does perform locking in read(2) and write(2) for > > > local files, so your third program should never fail and exit. > > > > > > Note that the system call interface does not guarantee reads or writes > > > to be atomic, this just happens to be how it is implemented at the > > > moment. > > > > Afaik several Unix standards mandate this behavior, Linux doesn't > > follow this standard though. > > Sounds like one more of these subtle weirdnesses in Linux that > annoy me so much :-( This weirdness is intentional, it's a shortcut for speed taken at the expense of real unix compatibility. > Solaris seems to be another example a system with not quite atomic > writes. The writes themselves seem to be atomic but in append mode the > positioning at the end of file is not atomic with writes. So when > appending to a log file from multiple sources the messages tend to > overlap (be written at the same position). That's why I use FreeBSD, it works. :) -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 16:44:39 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from sign.chg.ru (sign.chg.ru [193.233.46.10]) by hub.freebsd.org (Postfix) with ESMTP id D49BD37B764 for ; Fri, 12 May 2000 16:44:34 -0700 (PDT) (envelope-from andrew@chg.ru) Received: from localhost (andrew@localhost) by sign.chg.ru (8.9.3/8.9.3) with ESMTP id DAA20921 for ; Sat, 13 May 2000 03:44:32 +0400 (MSD) (envelope-from andrew@chg.ru) X-Authentication-Warning: sign.chg.ru: andrew owned process doing -bs Date: Sat, 13 May 2000 03:44:31 +0400 (MSD) From: "Andrew L. Neporada" To: hackers@FreeBSD.ORG Subject: Strange behaviour of mtree(8)? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [posted to -questions several days ago, but still no response] It always seems to me that `mtree -c | mtree` should output nothing (because it compares current directory with itself). But recently I noticed very strange thing: andrew@sign> ls -la total 4 drwxr-xr-x 2 andrew wheel 512 4 May 19:48 . drwxr-xr-x 46 andrew wheel 2560 4 May 19:47 .. lrwxr-xr-x 1 andrew wheel 1 4 May 19:47 a -> . lrwxr-xr-x 1 andrew wheel 1 4 May 19:48 b -> . andrew@sign> mtree -c | mtree extra: b missing: ./a/b andrew@sign> mtree -c | mtree -U extra: b missing: ./a/b (directory not created: File exists) In another similar sitation: andrew@sign> ls -lR total 2 drwxr-xr-x 2 andrew wheel 512 4 May 20:02 1 drwxr-xr-x 2 andrew wheel 512 4 May 20:03 2 ./1: total 0 lrwxr-xr-x 1 andrew wheel 1 4 May 20:02 a -> . lrwxr-xr-x 1 andrew wheel 1 4 May 20:02 b -> . ./2: total 0 lrwxr-xr-x 1 andrew wheel 1 4 May 20:03 a -> . lrwxr-xr-x 1 andrew wheel 1 4 May 20:03 b -> . andrew@sign> mtree -c | mtree extra: 1/b extra: 2 missing: ./1/a/b missing: ./1/a/2 missing: ./1/a/2/a missing: ./1/a/2/a/b andrew@sign> mtree -c | mtree -U extra: 1/b extra: 2 missing: ./1/a/b (directory not created: File exists) missing: ./1/a/2 (created) missing: ./1/a/2/a (created) missing: ./1/a/2/a/b (created) andrew@sign> Guys! What happens? I'll greatly appreciate any input from you! -- Andrew. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 17:21:13 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from bluerose.windmoon.nu (c255152-a.plstn1.sfba.home.com [24.15.210.246]) by hub.freebsd.org (Postfix) with ESMTP id A421C37BF4C for ; Fri, 12 May 2000 17:21:07 -0700 (PDT) (envelope-from fengyue@bluerose.windmoon.nu) Received: from localhost (fengyue@localhost) by bluerose.windmoon.nu (Windmoon-Patched/8.9.3/8.9.3) with ESMTP id RAA42479 for ; Fri, 12 May 2000 17:45:10 -0700 (PDT) Date: Fri, 12 May 2000 17:45:10 -0700 (PDT) From: FengYue To: hackers@FreeBSD.ORG Subject: Re: Why this works? In-Reply-To: <20000512161107.A19644@fw.wintelcom.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a silly question, but, Is there anyway to do read/write on the same file without the kernel lock? Thanks! On Fri, 12 May 2000, Alfred Perlstein wrote: > * Sergey Babkin [000512 15:23] wrote: > > Alfred Perlstein wrote: > > > > > > * Ville-Pertti Keinonen [000511 22:49] wrote: > > > > > > > > fengyue@bluerose.windmoon.nu (FengYue) writes: > > > > > > > > > loop. Now, the third program reads 4K of data from /tmp/pagetest > > > > > and exit if the 4K data does not contain all 'A's nor 'Z's. 3 programs > > > > > run concurrently on the same machine (3.4). No lock in the code whatsoever, > > > > > > > > Not quite. If FreeBSD didn't perform locking, operations affecting > > > > single filesystem blocks would probably be atomic (as long as the > > > > userland buffer is in memory). > > > > > > > > However, FreeBSD does perform locking in read(2) and write(2) for > > > > local files, so your third program should never fail and exit. > > > > > > > > Note that the system call interface does not guarantee reads or writes > > > > to be atomic, this just happens to be how it is implemented at the > > > > moment. > > > > > > Afaik several Unix standards mandate this behavior, Linux doesn't > > > follow this standard though. > > > > Sounds like one more of these subtle weirdnesses in Linux that > > annoy me so much :-( > > This weirdness is intentional, it's a shortcut for speed taken at > the expense of real unix compatibility. > > > Solaris seems to be another example a system with not quite atomic > > writes. The writes themselves seem to be atomic but in append mode the > > positioning at the end of file is not atomic with writes. So when > > appending to a log file from multiple sources the messages tend to > > overlap (be written at the same position). > > That's why I use FreeBSD, it works. :) > > -- > -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] > "I have the heart of a child; I keep it in a jar on my desk." > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 21: 1:56 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.redshift.com (mail.redshift.com [216.228.2.86]) by hub.freebsd.org (Postfix) with ESMTP id E316637BB41 for ; Fri, 12 May 2000 21:01:42 -0700 (PDT) (envelope-from yramin@redshift.com) Received: from atp.atpn.com (pm1-35.sj.redshift.com [216.200.48.35]) by mail.redshift.com (8.10.1/8.10.1) with SMTP id e4D41Wa04799 for ; Fri, 12 May 2000 21:01:33 -0700 From: Yann Ramin To: freebsd-hackers@freebsd.org Subject: Funny Network Transit Delays Date: Fri, 12 May 2000 21:02:23 -0700 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <00051221024500.06396@atp.atpn.com> Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hi there. I have an interesting problem (figured it out myself) but I'm wondering why it is occuring. I have a setup with Two FreeBSD machines (3.2 and 4.0 RELEASE), a Windows machine, and a NetBSD machine. The NetBSD machine has three 3Com 3C509/B= NICs (ISA) and acts as a router to three subnets, one per machine. When I FTP something from the 4.0 to the 3.2 box, performance sucks. And not that t= he NetBSD machine is too slow, it seems neither the 4.0 or 3.2 is using the network like it should. Looking at the hub, I'm getting a pattern like t= his: Activity(3 secs) -- Pause (4 secs) -- Activity (2 secs) -- Pause (1 sec= ) -- Activity (7 secs) -- Pause (7 secs) and on for a total throughput of 80KB/s. The same occurs from Windows to= the 4.0 box with Samba. I tried installing FreeBSD on the router, with no luc= k. The only solution I could come up with was to: sysctl -w net.inet.tcp.sendspace=3D2900 sysctl -w net.inet.tcp.recvspace=3D2900 This brings performance up to about 400KB/s, which is "ok" because of the= extra latency of the router. I have another similar situation with two 4.0 box= es and iMacs running on two Cisco Catalyst 2924XL switches. If I use a plain vanilla 10Base hub I get a cool 620KB/s. Does anyone have any idea what = is causing this? Yann -- -------------------------------------------------------------------- Yann Ramin=09=09=09atrus@atrustrivalie.eu.org Atrus Trivalie Productions=09www.atrustrivalie.eu.org =09=09=09=09irm.it.montereyhigh.com Monterey High IT=09=09www.montereyhigh.com ICQ =09=09=09=0946805627 AIM=09=09=09=09oddatrus Marina, CA "All cats die. Socrates is dead. Therefore Socrates is a cat." =09- The Logician =09# fortune "To be responsive at this time, though I will simply say, and therefore this is a repeat of what I said previously, that which I am unable to offer in response is based on information available to make no such statement." -------------------------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: FUGyzVH4vQLKyp0A67Qx1eOXvDr2V38A iQA/AwUBORzT6jEK6loGD1TnEQK9/QCg5+2Jaxj+BzYd0JkHCPoYMRgLsVoAnjp3 8t3n4rO9Oyr+R086nXwG5Asb =3D/RT8 -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 21:19:15 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from ns3.khmere.com (216-59-86-175.usa2.flashcom.net [216.59.86.175]) by hub.freebsd.org (Postfix) with ESMTP id 1894937B7A7 for ; Fri, 12 May 2000 21:19:01 -0700 (PDT) (envelope-from nathan@khmere.com) Received: from khmere.com (ns2.khmere.com [216.59.86.176]) by ns3.khmere.com (8.9.3/8.8.7) with ESMTP id VAA93219 for ; Fri, 12 May 2000 21:20:32 -0700 (PDT) Message-ID: <391D39E0.934224E4@khmere.com> Date: Sat, 13 May 2000 04:17:53 -0700 From: nathan@khmere.com X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.15 i586) X-Accept-Language: en MIME-Version: 1.0 To: "hackers@FreeBSD.ORG" Subject: mremap help ? or no support for FreeBSD ? so do what ? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I know that this was discussed in the past but I can't find out what to do ? In Linux if I have to resize a mmap 'ed object I can just use mremap.... but in FreeBSD if, I want to resize it what do I do ? I have tried writing past where I know the end is and it kinda works ? but why ? Is their a better solution besides just writing to the file and then calling msync ? Is their new plans to make a mremap call for FreeBSD 4.x ? Or am I just sh%t out of luck ? thank you in advance .... nathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 21:35:20 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from turtle.looksharp.net (cc360882-a.strhg1.mi.home.com [24.2.221.22]) by hub.freebsd.org (Postfix) with ESMTP id ED2EF37B834 for ; Fri, 12 May 2000 21:35:08 -0700 (PDT) (envelope-from bsdx@looksharp.net) Received: from localhost (bsdx@localhost) by turtle.looksharp.net (8.9.3/8.9.3) with ESMTP id AAA24480; Sat, 13 May 2000 00:35:03 -0400 (EDT) (envelope-from bsdx@looksharp.net) Date: Sat, 13 May 2000 00:35:03 -0400 (EDT) From: Adam To: Yann Ramin Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Funny Network Transit Delays In-Reply-To: <00051221024500.06396@atp.atpn.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Are you sure the duplex settings are correct on all nics? If they are on coax or a hub, it should be set to half duplex. If you are connected to a switch or a crossover cable, you may use full duplex on the nic only if the other end is set to full. I wouldn't trust any "Auto" settings until it can be assured that it doesn't hurt. On Fri, 12 May 2000, Yann Ramin wrote: >-----BEGIN PGP SIGNED MESSAGE----- > >Hi there. I have an interesting problem (figured it out myself) but I'm >wondering why it is occuring. > >I have a setup with Two FreeBSD machines (3.2 and 4.0 RELEASE), a Windows >machine, and a NetBSD machine. The NetBSD machine has three 3Com 3C509/B NICs >(ISA) and acts as a router to three subnets, one per machine. When I FTP >something from the 4.0 to the 3.2 box, performance sucks. And not that the >NetBSD machine is too slow, it seems neither the 4.0 or 3.2 is using the >network like it should. Looking at the hub, I'm getting a pattern like this: > >Activity(3 secs) -- Pause (4 secs) -- Activity (2 secs) -- Pause (1 sec) -- >Activity (7 secs) -- Pause (7 secs) > >and on for a total throughput of 80KB/s. The same occurs from Windows to the >4.0 box with Samba. I tried installing FreeBSD on the router, with no luck. >The only solution I could come up with was to: > >sysctl -w net.inet.tcp.sendspace=2900 >sysctl -w net.inet.tcp.recvspace=2900 > >This brings performance up to about 400KB/s, which is "ok" because of the extra >latency of the router. I have another similar situation with two 4.0 boxes and >iMacs running on two Cisco Catalyst 2924XL switches. If I use a plain >vanilla 10Base hub I get a cool 620KB/s. Does anyone have any idea what is >causing this? > >Yann > >-- > >-------------------------------------------------------------------- >Yann Ramin atrus@atrustrivalie.eu.org >Atrus Trivalie Productions www.atrustrivalie.eu.org > irm.it.montereyhigh.com >Monterey High IT www.montereyhigh.com >ICQ 46805627 >AIM oddatrus >Marina, CA > >"All cats die. Socrates is dead. Therefore Socrates is a cat." > - The Logician > > # fortune >"To be responsive at this time, though I will simply say, and therefore >this is a repeat of what I said previously, that which I am unable to >offer in response is based on information available to make no such >statement." >-------------------------------------------------------------------- > > >-----BEGIN PGP SIGNATURE----- >Version: PGPfreeware 5.0i for non-commercial use >MessageID: FUGyzVH4vQLKyp0A67Qx1eOXvDr2V38A > >iQA/AwUBORzT6jEK6loGD1TnEQK9/QCg5+2Jaxj+BzYd0JkHCPoYMRgLsVoAnjp3 >8t3n4rO9Oyr+R086nXwG5Asb >=/RT8 >-----END PGP SIGNATURE----- > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 22:15:19 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from localhost (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id BAA6E37BBB4; Fri, 12 May 2000 22:15:13 -0700 (PDT) (envelope-from green@FreeBSD.org) Date: Sat, 13 May 2000 01:15:12 -0400 (EDT) From: Brian Fundakowski Feldman X-Sender: green@green.dyndns.org To: Marco Molteni Cc: freebsd-hackers@FreeBSD.ORG, Greg Lehey Subject: Re: kernel panics at boot, how to specify dump device? In-Reply-To: <20000512102715.A1281@sofia.csl.sri.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is an easy problem to solve. Drop into ddb, and do a "show disk/device", e.g.: ddb> show disk/ad0s1b dev_t = 0xf000b444 This will return to you the dev_t for it. Take this value, and call setdumpdev(dev_t value): ddb> call setdumpdev(0xf000b444) The setdumpdev() call should return 0 for success. -- Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! / green@FreeBSD.org `------------------------------' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 22:25:35 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from jason.argos.org (a1-3b058.neo.rr.com [24.93.181.58]) by hub.freebsd.org (Postfix) with ESMTP id 16D2337BBB4 for ; Fri, 12 May 2000 22:25:32 -0700 (PDT) (envelope-from mike@argos.org) Received: from localhost (mike@localhost) by jason.argos.org (8.9.1/8.9.1) with ESMTP id BAA23823; Sat, 13 May 2000 01:24:51 -0400 Date: Sat, 13 May 2000 01:24:50 -0400 (EDT) From: Mike Nowlin To: Adam Cc: Yann Ramin , freebsd-hackers@FreeBSD.ORG Subject: Re: Funny Network Transit Delays In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > the other end is set to full. I wouldn't trust any "Auto" settings until > it can be assured that it doesn't hurt. Agreed -- from experience with a couple of HP Procurve 2424M switches and various 100Mb cards, the "Auto" setting is less than reliable... My Netgear FA310TX(?) and Intel EtherExpress 100B cards all get detected correctly, but most of the other ones can be a little flaky with auto-detect... If you can't control the switch settings (most unmanaged switches), you'll have to play with the ifconfig flags to get the net card and the switch to agree on what protocol they're using. mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 23: 5:15 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by hub.freebsd.org (Postfix) with ESMTP id 06BB037BC73; Fri, 12 May 2000 23:05:08 -0700 (PDT) (envelope-from adsharma@sharmas.dhs.org) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id XAA14958; Fri, 12 May 2000 23:04:41 -0700 Date: Fri, 12 May 2000 23:04:41 -0700 From: Arun Sharma To: Doug Barton Cc: jbarry@planetoid.org, freebsd-ports@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: FreeBSD Port: xosview-1.7.3 Message-ID: <20000512230441.A14927@sharmas.dhs.org> References: <4.3.1.2.20000512000827.00d191a0@mail.sparxint.com> <200005120331.UAA12091@sharmas.dhs.org> <391B9C04.21FDF1EB@gorean.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <391B9C04.21FDF1EB@gorean.org>; from Doug Barton on Thu, May 11, 2000 at 10:52:04PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, May 11, 2000 at 10:52:04PM -0700, Doug Barton wrote: > Arun Sharma wrote: > > See the patches I mailed to freebsd-hackers late last year. You need to > > patch both the kernel and the userland. I'm a little disappointed at > > the lack of response. I just assumed that no one is interested - but > > the question keeps coming up on the lists. > > You'd get better results if you put it all together in a PR. > I just submitted a PR. Talking about PRs, I see more than 1000 open PRs on the kernel alone: http://www.FreeBSD.org/cgi/query-pr-summary.cgi?category=kern&severity=&priority=&class=&state=open&sort=none&text=&responsible=&multitext=&originator= This includes a request for change regarding dynamic sysctls I submitted back in Feb. I understand that FreeBSD is an entirely voluntary project, So people can't be blamed for having so many open PRs. But common sense tells me that this is not good. I'll shut up now. -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri May 12 23:25:17 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 90A5C37BCB1 for ; Fri, 12 May 2000 23:25:14 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e4D6vL101741; Fri, 12 May 2000 23:57:21 -0700 (PDT) Date: Fri, 12 May 2000 23:57:21 -0700 From: Alfred Perlstein To: nathan@khmere.com Cc: "hackers@FreeBSD.ORG" Subject: Re: mremap help ? or no support for FreeBSD ? so do what ? Message-ID: <20000512235721.A28383@fw.wintelcom.net> References: <391D39E0.934224E4@khmere.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <391D39E0.934224E4@khmere.com>; from nathan@khmere.com on Sat, May 13, 2000 at 04:17:53AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * nathan@khmere.com [000512 21:54] wrote: > I know that this was discussed in the past but I can't find out what to > do ? > > In Linux if I have to resize a mmap 'ed object I can just use mremap.... > but in FreeBSD if, I want to resize it what do I do ? > > I have tried writing past where I know the end is and it kinda works ? > but why ? > > Is their a better solution besides just writing to the file and then > calling msync ? > > Is their new plans to make a mremap call for FreeBSD 4.x ? no. > > Or am I just sh%t out of luck ? Possibly, but if you describe what you are trying to accomplish there may be some advice available. Your misuse of msync makes me think that a rethinking of what you are trying to accomplish may be a good idea. Please explain what makes you need mremap which is not portable to any version of unix. I'm assuming you want your app to work on Solaris and other commercial systems. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat May 13 0: 9:32 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from ns3.khmere.com (216-59-86-175.usa2.flashcom.net [216.59.86.175]) by hub.freebsd.org (Postfix) with ESMTP id 1BE6D37B571 for ; Sat, 13 May 2000 00:09:30 -0700 (PDT) (envelope-from nathan@khmere.com) Received: from khmere.com (ns2.khmere.com [216.59.86.176]) by ns3.khmere.com (8.9.3/8.8.7) with ESMTP id AAA93475; Sat, 13 May 2000 00:11:06 -0700 (PDT) Message-ID: <391D61DA.C9793AAC@khmere.com> Date: Sat, 13 May 2000 07:08:27 -0700 From: nathan@khmere.com X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.15 i586) X-Accept-Language: en MIME-Version: 1.0 To: Alfred Perlstein Cc: "hackers@FreeBSD.ORG" Subject: Re: mremap help ? or no support for FreeBSD ? so do what ? References: <391D39E0.934224E4@khmere.com> <20000512235721.A28383@fw.wintelcom.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alfred Perlstein wrote: > * nathan@khmere.com [000512 21:54] wrote: > > I know that this was discussed in the past but I can't find out what to > > do ? > > > > In Linux if I have to resize a mmap 'ed object I can just use mremap.... > > but in FreeBSD if, I want to resize it what do I do ? > > > > I have tried writing past where I know the end is and it kinda works ? > > but why ? > > > > Is their a better solution besides just writing to the file and then > > calling msync ? > > > > Is their new plans to make a mremap call for FreeBSD 4.x ? > > no. > > > > > Or am I just sh%t out of luck ? > > Possibly, but if you describe what you are trying to accomplish > there may be some advice available. Your misuse of msync makes me > think that a rethinking of what you are trying to accomplish may > be a good idea. Please explain what makes you need mremap which > is not portable to any version of unix. I'm assuming you want your > app to work on Solaris and other commercial systems. > > -- > -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] > "I have the heart of a child; I keep it in a jar on my desk." > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message Sorry ! Ok here is a snipit of what I am trying to do.... fstat(fd, &st); if( (base = (caddr_t *) mmap(0, st.st_size, ( PROT_READ | PROT_WRITE ) , MAP_SHARED, fd, 0)) == MAP_FAILED) { MSG_ERR("cannot mmap file, exiting ! "); _exit(1); } /* say st.st_size = 200, and I want to add to the end of the file more data */ base += 200; /* we are now at the end */ rec = (stuct rec_t *) base; rec->len = 200; /* we are writing to the buff, but we are past.... */ memmove(rec->data, data, 100); msync(base, 0, (st.st_len + rec->len), MS_ASYNC); the struct rec_t is an example of a stuct that I want to append to the buf and make another reccord. If base was a regular pointer we would segfault.... cause we are past the pointers buf.... but it kinda works.. meaning it will write and add and sometimes and not segfault... sometimes... or I can do this: rec = (stuct rec_t *) base; rec->len = 200; memmove(rec->data, data, 100); write(fd, (char *) rec, rec->len); msync(base, 0, (st.st_len + rec->len), MS_ASYNC); After I append to the file and then msync. I should be able to read the reccord that I just added from base. base should reflect the file.... right ? I want to make things simple and only append to the buffer "base" and not have to re-open the file and write to it then msync it back to mem. I know that some of this under FreeBSD "automatic" meaning that the changes made to the file are seen by "base" even though I do not call msync..... but in order to keep things clear, I will msync. I hope that this wasn't too confusing... I am not good at explanations.... or spelling.... thank you nathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat May 13 0:47:15 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 05BB037B53D for ; Sat, 13 May 2000 00:47:10 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e4D8JI703457; Sat, 13 May 2000 01:19:18 -0700 (PDT) Date: Sat, 13 May 2000 01:19:18 -0700 From: Alfred Perlstein To: nathan@khmere.com Cc: "hackers@FreeBSD.ORG" Subject: Re: mremap help ? or no support for FreeBSD ? so do what ? Message-ID: <20000513011918.C28383@fw.wintelcom.net> References: <391D39E0.934224E4@khmere.com> <20000512235721.A28383@fw.wintelcom.net> <391D61DA.C9793AAC@khmere.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <391D61DA.C9793AAC@khmere.com>; from nathan@khmere.com on Sat, May 13, 2000 at 07:08:27AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * nathan@khmere.com [000513 00:41] wrote: > Alfred Perlstein wrote: > > > * nathan@khmere.com [000512 21:54] wrote: > > > I know that this was discussed in the past but I can't find out what to > > > do ? > > > > > > In Linux if I have to resize a mmap 'ed object I can just use mremap.... > > > but in FreeBSD if, I want to resize it what do I do ? > > > > > > I have tried writing past where I know the end is and it kinda works ? > > > but why ? > > > > > > Is their a better solution besides just writing to the file and then > > > calling msync ? > > > > > > Is their new plans to make a mremap call for FreeBSD 4.x ? > > > > no. > > > > > > > > Or am I just sh%t out of luck ? > > > > Possibly, but if you describe what you are trying to accomplish > > there may be some advice available. Your misuse of msync makes me > > think that a rethinking of what you are trying to accomplish may > > be a good idea. Please explain what makes you need mremap which > > is not portable to any version of unix. I'm assuming you want your > > app to work on Solaris and other commercial systems. > > > > -- > > -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] > > "I have the heart of a child; I keep it in a jar on my desk." > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hackers" in the body of the message > > Sorry ! > > Ok here is a snipit of what I am trying to do.... > > fstat(fd, &st); > if( (base = (caddr_t *) mmap(0, st.st_size, ( PROT_READ | PROT_WRITE ) , > MAP_SHARED, fd, 0)) == MAP_FAILED) > { > MSG_ERR("cannot mmap file, exiting ! "); > _exit(1); > } > > /* say st.st_size = 200, and I want to add to the end of the file more data > */ > base += 200; /* we are now at the end */ > > rec = (stuct rec_t *) base; > rec->len = 200; > /* we are writing to the buff, but we are past.... */ > memmove(rec->data, data, 100); > msync(base, 0, (st.st_len + rec->len), MS_ASYNC); > > the struct rec_t is an example of a stuct that I want to append to the buf > and make another reccord. > If base was a regular pointer we would segfault.... cause we are past the > pointers buf.... > but it kinda works.. meaning it will write and add and sometimes and not > segfault... sometimes... > > or I can do this: > > rec = (stuct rec_t *) base; > rec->len = 200; > memmove(rec->data, data, 100); > write(fd, (char *) rec, rec->len); > msync(base, 0, (st.st_len + rec->len), MS_ASYNC); > > After I append to the file and then msync. I should be able to read the > reccord that I just added from base. > base should reflect the file.... right ? > > I want to make things simple and only append to the buffer "base" and not > have to re-open the file and write to it then msync it back to mem. I know > that some of this under FreeBSD "automatic" meaning that the changes made to > the file are seen by "base" even though I do not call msync..... but in > order to keep things clear, I will msync. > > I hope that this wasn't too confusing... I am not good at explanations.... or > spelling.... The first code snippet is completely incorrect, this is _not_ how you use the mmap() interface and I'm suprised it works at all. Writing after the mmap'd area should cause a SEGV of BUS signal to be sent to your process. You really haven't provided the code you're using on Linux to use mremap() which I'm assuming looks something like: > rec = (stuct rec_t *) base; > rec->len = 200; > memmove(rec->data, data, 100); > write(fd, (char *) rec, rec->len); ->>> mremap(arguments to extend the map); > msync(base, 0, (st.st_len + rec->len), MS_ASYNC); (derived from the second snippet) Now i'm confused, why are you mmap()'ing like this? I know mremap() offers a slightly easier interface, but you could simulate with some code like so: (you've already mmap()'d a page aligned and multiple of page sized region) if (!mmap(base + offset, additional length, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_FIXED, fd, offset)) { unmap file and remap it. }; which would tell the OS to map in the end of the file at the end of the map you already have. problems which can then happen is that if you mmap() multiple files without specifying a fixed address then they may be mmap'd into your address space right next to each other so that the fixed mapping will fail. A more flexible way would be to maintain a structure for each file that keeps track of all the base and length addresses that you've mmap'd in the file. Then before writing to the memory address you can do a quick lookup to figure out where the OS has mapped in that particular offset into your address space. You could use a hash on the fd and a binary tree to store that infomation pretty easily. Basically implement a simple mmap() manager and you should be set. best of luck, -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat May 13 1:19:40 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from ns3.khmere.com (216-59-86-175.usa2.flashcom.net [216.59.86.175]) by hub.freebsd.org (Postfix) with ESMTP id A317C37B524 for ; Sat, 13 May 2000 01:19:35 -0700 (PDT) (envelope-from nathan@khmere.com) Received: from khmere.com (ns2.khmere.com [216.59.86.176]) by ns3.khmere.com (8.9.3/8.8.7) with ESMTP id BAA93578; Sat, 13 May 2000 01:21:12 -0700 (PDT) Message-ID: <391D7249.14E1E77B@khmere.com> Date: Sat, 13 May 2000 08:18:33 -0700 From: nathan@khmere.com X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.15 i586) X-Accept-Language: en MIME-Version: 1.0 To: Alfred Perlstein Cc: "hackers@FreeBSD.ORG" Subject: Re: mremap help ? or no support for FreeBSD ? so do what ? References: <391D39E0.934224E4@khmere.com> <20000512235721.A28383@fw.wintelcom.net> <391D61DA.C9793AAC@khmere.com> <20000513011918.C28383@fw.wintelcom.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alfred Perlstein wrote: > * nathan@khmere.com [000513 00:41] wrote: > > Alfred Perlstein wrote: > > > > > * nathan@khmere.com [000512 21:54] wrote: > > > > I know that this was discussed in the past but I can't find out what to > > > > do ? > > > > > > > > In Linux if I have to resize a mmap 'ed object I can just use mremap.... > > > > but in FreeBSD if, I want to resize it what do I do ? > > > > > > > > I have tried writing past where I know the end is and it kinda works ? > > > > but why ? > > > > > > > > Is their a better solution besides just writing to the file and then > > > > calling msync ? > > > > > > > > Is their new plans to make a mremap call for FreeBSD 4.x ? > > > > > > no. > > > > > > > > > > > Or am I just sh%t out of luck ? > > > > > > Possibly, but if you describe what you are trying to accomplish > > > there may be some advice available. Your misuse of msync makes me > > > think that a rethinking of what you are trying to accomplish may > > > be a good idea. Please explain what makes you need mremap which > > > is not portable to any version of unix. I'm assuming you want your > > > app to work on Solaris and other commercial systems. > > > > > > -- > > > -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] > > > "I have the heart of a child; I keep it in a jar on my desk." > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-hackers" in the body of the message > > > > Sorry ! > > > > Ok here is a snipit of what I am trying to do.... > > > > fstat(fd, &st); > > if( (base = (caddr_t *) mmap(0, st.st_size, ( PROT_READ | PROT_WRITE ) , > > MAP_SHARED, fd, 0)) == MAP_FAILED) > > { > > MSG_ERR("cannot mmap file, exiting ! "); > > _exit(1); > > } > > > > /* say st.st_size = 200, and I want to add to the end of the file more data > > */ > > base += 200; /* we are now at the end */ > > > > rec = (stuct rec_t *) base; > > rec->len = 200; > > /* we are writing to the buff, but we are past.... */ > > memmove(rec->data, data, 100); > > msync(base, 0, (st.st_len + rec->len), MS_ASYNC); > > > > the struct rec_t is an example of a stuct that I want to append to the buf > > and make another reccord. > > If base was a regular pointer we would segfault.... cause we are past the > > pointers buf.... > > but it kinda works.. meaning it will write and add and sometimes and not > > segfault... sometimes... > > > > or I can do this: > > > > rec = (stuct rec_t *) base; > > rec->len = 200; > > memmove(rec->data, data, 100); > > write(fd, (char *) rec, rec->len); > > msync(base, 0, (st.st_len + rec->len), MS_ASYNC); > > > > After I append to the file and then msync. I should be able to read the > > reccord that I just added from base. > > base should reflect the file.... right ? > > > > I want to make things simple and only append to the buffer "base" and not > > have to re-open the file and write to it then msync it back to mem. I know > > that some of this under FreeBSD "automatic" meaning that the changes made to > > the file are seen by "base" even though I do not call msync..... but in > > order to keep things clear, I will msync. > > > > I hope that this wasn't too confusing... I am not good at explanations.... or > > spelling.... > > The first code snippet is completely incorrect, this is _not_ how > you use the mmap() interface and I'm suprised it works at all. > Writing after the mmap'd area should cause a SEGV of BUS signal to > be sent to your process. > > You really haven't provided the code you're using on Linux to use mremap() > which I'm assuming looks something like: > > > rec = (stuct rec_t *) base; > > rec->len = 200; > > memmove(rec->data, data, 100); > > write(fd, (char *) rec, rec->len); > ->>> mremap(arguments to extend the map); > > msync(base, 0, (st.st_len + rec->len), MS_ASYNC); > > (derived from the second snippet) > > Now i'm confused, why are you mmap()'ing like this? I know mremap() > offers a slightly easier interface, but you could simulate with some > code like so: > > (you've already mmap()'d a page aligned and multiple of page sized > region) > if (!mmap(base + offset, additional length, > PROT_READ | PROT_WRITE, MAP_SHARED | MAP_FIXED, fd, offset)) { > > unmap file and remap it. > }; > > which would tell the OS to map in the end of the file at the end > of the map you already have. > > problems which can then happen is that if you mmap() multiple files > without specifying a fixed address then they may be mmap'd into > your address space right next to each other so that the fixed > mapping will fail. > > A more flexible way would be to maintain a structure for each file > that keeps track of all the base and length addresses that you've > mmap'd in the file. Then before writing to the memory address you > can do a quick lookup to figure out where the OS has mapped in that > particular offset into your address space. You could use a hash > on the fd and a binary tree to store that infomation pretty easily. > > Basically implement a simple mmap() manager and you should be set. > > best of luck, > -- > -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] > "I have the heart of a child; I keep it in a jar on my desk." > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message Thanks.... but not to sound too pesky... When you wrote if (!mmap(base + offset, additional length, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_FIXED, fd, offset)) { This may sound silly but after this is done then the file will reflect the changes ? and now the file will extend beyond the original size ? why do you need to unmap it ? if the file was mmap 'ed with MAP_SHARED and not MAP_FIXED wouldn't the changes be made to all objects ? then you only need to msync back the diff if any ? (or at all) See I want to get around using the fd at all. I just want to open the file then close it and just reference it from mem only. With Linux I think that you can do this by calling mremap Linux man : "mremap expands (or shrinks) an existing memory mapping" So it would be kinda like realloc but the changes would be seen by all objects...... ? and then I can close the fd and only keep track of 1 object. If I need to add to it ....... mremap on it. Or am I just way off in my understanding ? I know that I did misuse the mmap in the top snipit but I was just playing..... Thank you nathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat May 13 1:38:51 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id C3F9537B644 for ; Sat, 13 May 2000 01:38:48 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e4D9AvK04795; Sat, 13 May 2000 02:10:57 -0700 (PDT) Date: Sat, 13 May 2000 02:10:57 -0700 From: Alfred Perlstein To: nathan@khmere.com Cc: "hackers@FreeBSD.ORG" Subject: Re: mremap help ? or no support for FreeBSD ? so do what ? Message-ID: <20000513021057.F28383@fw.wintelcom.net> References: <391D39E0.934224E4@khmere.com> <20000512235721.A28383@fw.wintelcom.net> <391D61DA.C9793AAC@khmere.com> <20000513011918.C28383@fw.wintelcom.net> <391D7249.14E1E77B@khmere.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <391D7249.14E1E77B@khmere.com>; from nathan@khmere.com on Sat, May 13, 2000 at 08:18:33AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * nathan@khmere.com [000513 01:53] wrote: > > When you wrote > > if (!mmap(base + offset, additional length, > PROT_READ | PROT_WRITE, MAP_SHARED | MAP_FIXED, fd, offset)) { > > This may sound silly but after this is done then the file will > reflect the changes? > > and now the file will extend beyond the original size ? why do > you need to unmap it ? if the file was mmap 'ed with MAP_SHARED > and not MAP_FIXED wouldn't the changes be made to all objects? > then you only need to msync back the diff if any ? (or at all) > > See I want to get around using the fd at all. I just want to open > the file then close it and just reference it from mem only. With > Linux I think that you can do this by calling mremap Linux man : > "mremap expands (or shrinks) an existing memory mapping" So it > would be kinda like realloc but the changes would be seen by all > objects...... ? and then I can close the fd and only keep track of > 1 object. If I need to add to it ....... mremap on it. > > Or am I just way off in my understanding ? I know that I did > misuse the mmap in the top snipit but I was just playing..... No, you _must_ write() or ftruncate() the file to extend it before writing to the mmap'd region, whoever made that actually work (if it even does) under Linux really tossed the whole interface out which encourages code that will not work on any other operating system. In fact the way you are ab^H^Husing mremap() on Linux may wind up biting you later when they change the interface to be more like other mmap() interfaces. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat May 13 4: 1: 8 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp11.bellglobal.com (smtp11.bellglobal.com [204.101.251.53]) by hub.freebsd.org (Postfix) with ESMTP id A8ADA37BC49 for ; Sat, 13 May 2000 04:01:05 -0700 (PDT) (envelope-from hoek@FreeBSD.org) Received: from localhost.nowhere (ppp18358.on.bellglobal.com [206.172.130.38]) by smtp11.bellglobal.com (8.8.5/8.8.5) with ESMTP id HAA17416; Sat, 13 May 2000 07:07:11 -0400 (EDT) Received: (from tim@localhost) by localhost.nowhere (8.9.3/8.9.1) id GAA08846; Sat, 13 May 2000 06:42:27 -0400 (EDT) (envelope-from tim) Date: Sat, 13 May 2000 06:42:27 -0400 From: Tim Vanderhoek To: Samuel Tardieu Cc: freebsd-hackers@FreeBSD.org Subject: Re: make question Message-ID: <20000513064227.B8456@mad> References: <2000-05-12-23-05-04+trackit+sam@inf.enst.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <2000-05-12-23-05-04+trackit+sam@inf.enst.fr>; from Samuel Tardieu on Fri, May 12, 2000 at 11:05:03PM +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, May 12, 2000 at 11:05:03PM +0200, Samuel Tardieu wrote: > > but make prefers the .ads.lo rule instead of the .adb.lo, despites the > order in the .SUFFIXES. Using "make -d s" to trace dependencies and rules, > I get: FWIW, this works correctly on ~3.4-R. It must have gotten broken somewhere between there and here. If you can locate the commit that actually broke it (or even tell us the version strings (`strings $(which make) | grep \$FreeBSD`) for your version), that would help to fix it. > I am having difficulties to implement the following rule in BSD make: to > produce file foobar.o, then start from foobar.adb if it exists, foobar.ads > otherwise. I want this to be compatible with both BSD and GNU make. > > I tried: > > .SUFFIXES: .adb .ads .lo > > .adb.lo: > > > .ads.lo: > > [...] > > SuffFindDeps (broca-exceptions.lo) > trying broca-exceptions.S...not there > trying broca-exceptions.adb...got it > using existing source broca-exceptions.ads > applying .ads -> .lo to "broca-exceptions.lo" > > broca-exceptions.adb has been found and should have been used, but > this "using existing source" message (coming after!) bugs me. The wrong > rule is then being selected. > > Any hint of where it can come from? > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- Signature withheld by request of author. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat May 13 8:46:42 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by hub.freebsd.org (Postfix) with ESMTP id 05E9E37B9CD for ; Sat, 13 May 2000 08:46:36 -0700 (PDT) (envelope-from adsharma@sharmas.dhs.org) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id IAA15713; Sat, 13 May 2000 08:46:13 -0700 Date: Sat, 13 May 2000 08:46:13 -0700 From: Arun Sharma Message-Id: <200005131546.IAA15713@sharmas.dhs.org> To: nathan@khmere.com Cc: freebsd-hackers@freebsd.org Subject: Re: mremap help ? or no support for FreeBSD ? so do what ? In-Reply-To: <391D39E0.934224E4@khmere.com> References: <391D39E0.934224E4@khmere.com> Reply-To: adsharma@sharmas.dhs.org.nospam Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In muc.lists.freebsd.hackers, you wrote: > I know that this was discussed in the past but I can't find out what to > do ? > > In Linux if I have to resize a mmap 'ed object I can just use mremap.... > but in FreeBSD if, I want to resize it what do I do ? Have you tried mmap'ing the file again at the same address, but with a larger length ? As I see it, the only advantage of using mmap instead of read/write interface is to avoid the extra system calls. However, by calling mremap or mmap repeatedly, you're losing that advantage. I think you're better off by extending your map in larger chunks, reducing the number of mmap/mremap calls. If you have a big enough address space, just use a large mmap region to begin with. -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat May 13 12: 8:40 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id E1D8037B92E for ; Sat, 13 May 2000 12:08:35 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id MAA01426; Sat, 13 May 2000 12:08:35 -0700 (PDT) (envelope-from dillon) Date: Sat, 13 May 2000 12:08:35 -0700 (PDT) From: Matthew Dillon Message-Id: <200005131908.MAA01426@apollo.backplane.com> To: Arun Sharma Cc: nathan@khmere.com, freebsd-hackers@FreeBSD.ORG Subject: Re: mremap help ? or no support for FreeBSD ? so do what ? References: <391D39E0.934224E4@khmere.com> <200005131546.IAA15713@sharmas.dhs.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :In muc.lists.freebsd.hackers, you wrote: :> I know that this was discussed in the past but I can't find out what to :> do ? :> :> In Linux if I have to resize a mmap 'ed object I can just use mremap.... :> but in FreeBSD if, I want to resize it what do I do ? : :Have you tried mmap'ing the file again at the same address, but with a :larger length ? : :As I see it, the only advantage of using mmap instead of read/write interface :is to avoid the extra system calls. However, by calling mremap or mmap :repeatedly, you're losing that advantage. I think you're better off by :extending your map in larger chunks, reducing the number of mmap/mremap :calls. If you have a big enough address space, just use a large mmap region :to begin with. : : -Arun The linux mremap() is an idiotic system call. Just unmap the file and re-mmap it. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat May 13 12:19:10 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 69EC437B963 for ; Sat, 13 May 2000 12:18:43 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id MAA01604; Sat, 13 May 2000 12:18:42 -0700 (PDT) (envelope-from dillon) Date: Sat, 13 May 2000 12:18:42 -0700 (PDT) From: Matthew Dillon Message-Id: <200005131918.MAA01604@apollo.backplane.com> To: freebsd-hackers@FreeBSD.ORG Subject: Proposed /etc/rc.network patch for ipsec Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Simple and straightforward. ipsec must be enabled prior to running any network-related operations since such operations might have to run over the ipsec transport to talk to other hosts. For example, NFS mounts. I will also add a little blurb to the examples directory. -Matt Index: rc.network =================================================================== RCS file: /home/ncvs/src/etc/rc.network,v retrieving revision 1.74.2.1 diff -u -r1.74.2.1 rc.network --- rc.network 2000/03/27 21:39:49 1.74.2.1 +++ rc.network 2000/05/11 07:41:53 @@ -342,6 +342,17 @@ esac echo '.' + case ${ipsec_enable} in + [Yy][Ee][Ss]) + if [ -f ${ipsec_file} ]; then + echo ' ipsec: enabled' + setkey -f ${ipsec_file} + else + echo ' ipsec: file not found' + fi + ;; + esac + echo -n 'routing daemons:' case ${router_enable} in [Yy][Ee][Ss]) Index: defaults/rc.conf =================================================================== RCS file: /home/ncvs/src/etc/defaults/rc.conf,v retrieving revision 1.53.2.3 diff -u -r1.53.2.3 rc.conf --- defaults/rc.conf 2000/04/15 11:02:40 1.53.2.3 +++ defaults/rc.conf 2000/05/11 07:41:31 @@ -156,6 +156,8 @@ defaultrouter="NO" # Set to default gateway (or NO). static_routes="" # Set to static route list (or leave empty). gateway_enable="NO" # Set to YES if this host will be a gateway. +ipsec_enable="NO" # Set to YES to run setkey on ipsec_file +ipsec_file="/etc/ipsec.conf" # Name of config file for setkey router_enable="NO" # Set to YES to enable a routing daemon. router="routed" # Name of routing daemon to use if enabled. router_flags="-q" # Flags for routing daemon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat May 13 12:27:23 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.ettnet.se (mail.ettnet.se [212.109.4.7]) by hub.freebsd.org (Postfix) with ESMTP id 4CF2B37B661 for ; Sat, 13 May 2000 12:27:21 -0700 (PDT) (envelope-from freite@ettnet.se) Received: by mail.ettnet.se (Postfix, from userid 1000) id E975B42CB; Sat, 13 May 2000 21:27:18 +0200 (CEST) Date: Sat, 13 May 2000 21:27:18 +0200 From: freite@ettnet.se To: freebsd-hackers@FreeBSD.org Subject: subscribe Message-ID: <20000513212718.A4789@ettnet.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat May 13 12:49:35 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by hub.freebsd.org (Postfix) with ESMTP id 7D23B37B801 for ; Sat, 13 May 2000 12:49:32 -0700 (PDT) (envelope-from adsharma@sharmas.dhs.org) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id MAA16297; Sat, 13 May 2000 12:49:09 -0700 Date: Sat, 13 May 2000 12:49:09 -0700 From: Arun Sharma To: Matthew Dillon Cc: nathan@khmere.com, freebsd-hackers@FreeBSD.ORG Subject: Re: mremap help ? or no support for FreeBSD ? so do what ? Message-ID: <20000513124909.A16289@sharmas.dhs.org> References: <391D39E0.934224E4@khmere.com> <200005131546.IAA15713@sharmas.dhs.org> <200005131908.MAA01426@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <200005131908.MAA01426@apollo.backplane.com>; from Matthew Dillon on Sat, May 13, 2000 at 12:08:35PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, May 13, 2000 at 12:08:35PM -0700, Matthew Dillon wrote: > The linux mremap() is an idiotic system call. Just unmap the file and > re-mmap it. If you are just appending to the file, you can skip the munmap. mmap deletes the old mappings. -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat May 13 13:18:48 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 4B44937BB12 for ; Sat, 13 May 2000 13:18:43 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id NAA04929; Sat, 13 May 2000 13:18:34 -0700 (PDT) (envelope-from dillon) Date: Sat, 13 May 2000 13:18:34 -0700 (PDT) From: Matthew Dillon Message-Id: <200005132018.NAA04929@apollo.backplane.com> To: Arun Sharma Cc: nathan@khmere.com, freebsd-hackers@FreeBSD.ORG Subject: Re: mremap help ? or no support for FreeBSD ? so do what ? References: <391D39E0.934224E4@khmere.com> <200005131546.IAA15713@sharmas.dhs.org> <200005131908.MAA01426@apollo.backplane.com> <20000513124909.A16289@sharmas.dhs.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :On Sat, May 13, 2000 at 12:08:35PM -0700, Matthew Dillon wrote: :> The linux mremap() is an idiotic system call. Just unmap the file and :> re-mmap it. : :If you are just appending to the file, you can skip the munmap. mmap deletes :the old mappings. : : -Arun There are a thousand ways to do it, which is why linux's mremap() syscall is stupid. * simply mmap() a larger block in the first place. For example, if you have a 16K file mmap() 1MB. You will seg fault on pages that are beyond the file EOF, but those pages will become valid the moment the file is extended into them without having to lift a finger. * mmap() the tail end of the newly extended file without removing or overwriting the previous mmap, by specifying an absolute address. * munmap() and re-mmap() the file. * Don't depend on a single monolithic mmap(), it won't work for files larger then 2-3GB anyway (on intel architecture), instead mmap the file in chunks on an as-needed basis. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat May 13 16:33:44 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from www.est.is (eh.est.is [194.144.208.34]) by hub.freebsd.org (Postfix) with ESMTP id C14D937B558 for ; Sat, 13 May 2000 16:33:36 -0700 (PDT) (envelope-from thivars@freebsd.is) Received: from toti.est.is (sterkur.freebsd.is [194.144.225.2]) by www.est.is (8.9.3/8.9.3) with ESMTP id XAA37537; Sat, 13 May 2000 23:41:12 GMT (envelope-from thivars@freebsd.is) Received: from freebsd.is (5.freebsd.is [194.144.225.5] (may be forged)) by toti.est.is (8.9.3/8.9.1) with ESMTP id XAA38472; Sat, 13 May 2000 23:33:46 GMT (envelope-from thivars@freebsd.is) Message-ID: <391DE675.94AF46F7@freebsd.is> Date: Sat, 13 May 2000 23:34:14 +0000 From: =?iso-8859-1?Q?=DE=F3r=F0ur?= X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Kent Stewart Cc: Poul-Henning Kamp , Matthew Dillon , hackers@FreeBSD.ORG Subject: Re: GPS heads up References: <2239.957376123@critter.freebsd.dk> <39107B28.F1AB3DA7@3-cities.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG How about port FreeBSD to Garmin GPS; they are based on 80386 cpu ? Kent Stewart wrote: > Poul-Henning Kamp wrote: > > > > In message <200005031744.KAA63550@apollo.backplane.com>, Matthew Dillon writes: > > > Ok, this has nothing to do with FreeBSD, but I just had to post > > > something since nobody else has. > > > > > > By presidential order, on May 1 the error introduced into the GPS > > > system, called 'SA', was turned off. > > > > > > This means that your GPS receivers are now around 5-10 times more accurate > > > then they were before May 1st. > > > > This has nothing to do with FreeBSD unless you count NTP servers, > > but actual data can be found on: > > > > http://212.242.40.185/cgi-bin/ppsoffset.cgi > > > > It may not have anything to do with the OS FreeBSD but it has a lot to > do with what we can do easily and for a really modest price. The > techno-farms need to know where they are at in a field when they > record data. The old offset error made it such that the operator knew > where they were but the computer couldn't tell which field they were > in. A simple differential was expensive. Now, you don't have the wild > swings and two computers recording data using the GPS derived time may > be close enough to record which plant they are taking data for. > > Kent > > > This is "gps.freebsd.dk" one of, if not the, most precise NTP stratum 1 > > servers in the world: +/- 20nsec. > > > > -- > > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > > phk@FreeBSD.ORG | TCP/IP since RFC 956 > > FreeBSD coreteam member | BSD since 4.3-tahoe > > Never attribute to malice what can adequately be explained by incompetence. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hackers" in the body of the message > > -- > Kent Stewart > Richland, WA > > mailto:kstewart@3-cities.com > http://www.3-cities.com/~kstewart/index.html > FreeBSD News http://daily.daemonnews.org/ > > SETI(Search for Extraterrestrial Intelligence) @ HOME > http://setiathome.ssl.berkeley.edu/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat May 13 23:38:12 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from evil.2y.net (ztown3-3-227.adsl.one.net [206.112.211.227]) by hub.freebsd.org (Postfix) with ESMTP id 9F64737B53E for ; Sat, 13 May 2000 23:38:08 -0700 (PDT) (envelope-from cokane@evil.2y.net) Received: (from cokane@localhost) by evil.2y.net (8.9.3/8.9.3) id CAA00739 for hackers@freebsd.org; Sun, 14 May 2000 02:44:11 -0400 (EDT) (envelope-from cokane) Date: Sun, 14 May 2000 02:44:11 -0400 From: Coleman Kane To: hackers@freebsd.org Subject: 3dfx driver woes Message-ID: <20000514024411.A726@cokane.yi.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="pf9I7BMVVzbSWLtt" X-Mailer: Mutt 1.0.1i X-Vim: vim:tw=70:ts=4:sw=4 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Ya know, I have been tryingto get programs to work properly with this 3dfx driver in linux. Directly from th man page, it states that ioctl()'s will r= eturn -1 if there is an error, putting the error no. in errno, or else they will return zero. The 3dfx driver, written for linux returns, for a few ioctls, a positive integer representing a non-error, data value, violating this. Well= , in freeBSD, a good deal of this stuff is handled at a higher level in the kern= el, so it is not up to the driver writer to abide by this, the return value is already placed into errno. This basically creates the problem of compiled l= inux binaries not being able to take "advantage" of this little "feature" of a number of linux device drivers....=20 --=20 Coleman Kane President,=20 UC Free O.S. Users Group - http://pohl.ececs.uc.edu --pf9I7BMVVzbSWLtt Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.0 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE5Hks6ERViMObJ880RAXn0AJ9mDu2O4N3+a1o5flIMOQLohoLD5wCeKlnU 109x4VONX8bKfaajs2aop9c= =oMn3 -----END PGP SIGNATURE----- --pf9I7BMVVzbSWLtt-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message