From owner-freebsd-hackers Sun Sep 6 04:23:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA08183 for freebsd-hackers-outgoing; Sun, 6 Sep 1998 04:23:01 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from indigo.ie (ts05-095.dublin.indigo.ie [194.125.220.105]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA08178 for ; Sun, 6 Sep 1998 04:22:58 -0700 (PDT) (envelope-from rotel@indigo.ie) Received: (from nsmart@localhost) by indigo.ie (8.8.8/8.8.7) id MAA00667; Sun, 6 Sep 1998 12:10:23 +0100 (IST) (envelope-from rotel@ginseng.indigo.ie) From: Niall Smart Message-Id: <199809061110.MAA00667@indigo.ie> Date: Sun, 6 Sep 1998 12:10:23 +0000 In-Reply-To: <199809042326.TAA13218@skynet.ctr.columbia.edu>; Bill Paul Reply-To: rotel@indigo.ie X-Files: The truth is out there X-Mailer: Mail User's Shell (7.2.6 beta(3) 11/17/96) To: Bill Paul , hackers@FreeBSD.ORG Subject: Re: Questions for networking gurus Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > - The chip receives a packet and copies it into the RX buffer region. > - The driver allocates a single mbuf and sets the M_EXT flag in its > header. > - The driver determines the start address of the packet within the buffer > region and puts that address into the external data pointer of the > mbuf. > - The driver sets the mbuf's data length to the length of the packet and > specifies a free() routine to use to deallocate the external storage > when the mbuf is released. (We don't want to actually free the > buffer space though, so the free routine can be a no-op.) > - Lastly, the driver passes the mbuf to ether_input() for processing. > > This avoids a buffer copy by using an mbuf to 'encapsulate' the packet > data as an external data region, but it creates a problem: once the driver > ties a portion of the receive buffer to an mbuf, it can't allow that > portion of the buffer to be overwritten by the chip's DMA engine until > the mbuf has been released. Otherwise, the packet data will be corrupted > while another part of the kernel is fiddling with it. > > It may be possible to get around this by pre-allocating several receive > buffer areas: if all of the space in the first region has been tied to > mbufs and remains unreleased, the driver can reload the chip's receive > buffer address register with ther address of another buffer. Assuming > that all of the space in the first region will be released eventually, it > should be possible to provide room for the chip to DMA new frames while > allowing the protocols time to process existing frames in previous buffers. Hmm, is it possible to move the buffer of an M_EXT mbuf after it has been allocated, or is this asking for (race condition) trouble? If you could do this then perhaps you could perform a form of compaction whereby when there is no wholly free 32K buffer then you could move around the remaining mbufs to get an less fragmented set of buffers. I doubt this is possible though. Another alternative is to store the location of the largest contiguous free space in a buffer, so that even if you couldn't use the whole 32K you could use perhaps the lower half. This might result in more and more fragmentation over time, so perhaps every N passes over a buffer you might say "don't use this buffer until all mbufs in it are free". Of course you could also combine these approaches with copying if this would simplify things. Sounds like a silly piece of hardware to me, why isn't there an option to make it use n-byte aligned writes to the buffers? Regards, Niall -- Niall Smart, rotel@indigo.ie. Amaze your friends and annoy your enemies: echo '#define if(x) if (!(x))' >> /usr/include/stdio.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Sep 6 04:27:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA08630 for freebsd-hackers-outgoing; Sun, 6 Sep 1998 04:27:45 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from indigo.ie (ts05-095.dublin.indigo.ie [194.125.220.105]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA08625 for ; Sun, 6 Sep 1998 04:27:42 -0700 (PDT) (envelope-from rotel@indigo.ie) Received: (from nsmart@localhost) by indigo.ie (8.8.8/8.8.7) id MAA00740; Sun, 6 Sep 1998 12:20:37 +0100 (IST) (envelope-from rotel@indigo.ie) From: Niall Smart Message-Id: <199809061120.MAA00740@indigo.ie> Date: Sun, 6 Sep 1998 12:20:36 +0000 In-Reply-To: <199809031917.VAA12329@labinfo.iet.unipi.it>; Luigi Rizzo Reply-To: rotel@indigo.ie X-Files: The truth is out there X-Mailer: Mail User's Shell (7.2.6 beta(3) 11/17/96) To: Luigi Rizzo , mark@grondar.za (Mark Murray) Subject: Re: Assembler with FreeBSD Cc: dag-erli@ifi.uio.no, ormonde@aker.com.br, hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sep 3, 9:17pm, Luigi Rizzo wrote: } Subject: Re: Assembler with FreeBSD > > It is very CPU and algorithm-dependent, and not always true. > > I did something similar with an FEC code (see my web page for > more) and while i could almost double performance by recoding the core > loop in assembler _on an old Pentium_, things were completely different > on a PentiumII/PentiumPro, were the C code were actually much faster > than my Pentium-optimized assembler, and the obvious asm optimizations > did not gain anything over the C code. As you probably already know the main optimisation technique in the Pentium is to pair instructions so they simultaneously execute in the U and V pipelines, as for optimising on the PII I haven't yet read Intels docs but PII-optimised code will be significantly different to the P-optimised. Do you know if the same potential for performance gain due to hand-coding exists? For anyone interested: the "multimedia" tutorials available at ftp://download.intel.com/design/perftool/cbts/exes/ are good, but require windows. Niall -- Niall Smart, rotel@indigo.ie. Amaze your friends and annoy your enemies: echo '#define if(x) if (!(x))' >> /usr/include/stdio.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Sep 6 06:04:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA14847 for freebsd-hackers-outgoing; Sun, 6 Sep 1998 06:04:15 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from zephyr.cybercom.net (zephyr.cybercom.net [209.21.146.100]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA14840 for ; Sun, 6 Sep 1998 06:04:14 -0700 (PDT) (envelope-from rhuff@cybercom.net) Received: from shell1.cybercom.net (rhuff@shell1.cybercom.net [209.21.136.6]) by zephyr.cybercom.net (8.8.7/8.8.7) with ESMTP id JAA18234 for ; Sun, 6 Sep 1998 09:04:01 -0400 (EDT) Received: (from rhuff@localhost) by shell1.cybercom.net (8.8.5/8.8.5) id JAA07852; Sun, 6 Sep 1998 09:04:01 -0400 (EDT) Date: Sun, 6 Sep 1998 09:04:01 -0400 (EDT) From: Robert Huff Message-Id: <199809061304.JAA07852@shell1.cybercom.net> To: freebsd-hackers@FreeBSD.ORG Subject: -stable build is broken In-Reply-To: <105955418@toto.iv> X-Mailer: VM 6.34 under 20.3 "Vatican City" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Josef Grosch writes: > I've been trying to build stable for 2 days now. There appears to > be a problem with lkm/cd9660. Like so... I cvsup'd, then rebuild world and kernel about 11:00 EDT last night. No problems in the complies, or now in execution. (Sorry, Josef ....) Robert Huff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Sep 6 11:02:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA08993 for freebsd-hackers-outgoing; Sun, 6 Sep 1998 11:02:43 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from asteroid.svib.ru (asteroid.svib.ru [195.151.166.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA08974; Sun, 6 Sep 1998 11:02:38 -0700 (PDT) (envelope-from tarkhil@asteroid.svib.ru) Received: from minas-tirith.pol.ru (root@shuttle.svib.ru [195.151.166.144]) by asteroid.svib.ru (8.8.8/8.8.8) with ESMTP id WAA15846; Sun, 6 Sep 1998 22:02:28 +0400 (MSD) (envelope-from tarkhil@asteroid.svib.ru) Received: from minas-tirith.pol.ru (tarkhil@minas-tirith.pol.ru [127.0.0.1]) by minas-tirith.pol.ru (8.8.8/8.8.7) with ESMTP id WAA28665; Sun, 6 Sep 1998 22:03:59 +0400 (MSD) (envelope-from tarkhil@minas-tirith.pol.ru) Message-Id: <199809061803.WAA28665@minas-tirith.pol.ru> X-Mailer: exmh version 2.0.2 2/24/98 To: current@FreeBSD.ORG cc: hackers@FreeBSD.ORG Reply-To: tarkhil@asteroid.svib.ru Subject: Squid: again? X-URL: http://freebsd.svib.ru Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Date: Sun, 06 Sep 1998 22:03:58 +0400 From: Alex Povolotsky Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello! Some time ago, I've experienced troubles iwth frozen squid. Today, squid failed again: (TOP) PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 332 root -22 0 18712K 9804K vmpfw 30:31 0.00% 0.00% squid Looks like _something_ fails with squid after some twoo weeks of working :-E What steps can I take to investigate it next time (I'll reboot shortly...) Alex. -- Alexander B. Povolotsky [2:5020/145] [http://freebsd.svib.ru] [tarkhil@asteroid.svib.ru] [Urgent messages: 234-9696 ΑΒ.#35442 or tarkhil@pager.express.ru] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Sep 6 12:06:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA14984 for freebsd-hackers-outgoing; Sun, 6 Sep 1998 12:06:46 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from news1.gtn.com (news1.gtn.com [194.77.0.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA14978 for ; Sun, 6 Sep 1998 12:06:43 -0700 (PDT) (envelope-from andreas@klemm.gtn.com) Received: (from uucp@localhost) by news1.gtn.com (8.8.6/8.8.6) with UUCP id VAA29591; Sun, 6 Sep 1998 21:00:06 +0200 (MET DST) Received: (from andreas@localhost) by klemm.gtn.com (8.9.1/8.9.1) id UAA06226; Sun, 6 Sep 1998 20:03:06 +0200 (CEST) (envelope-from andreas) Message-ID: <19980906200305.A5669@klemm.gtn.com> Date: Sun, 6 Sep 1998 20:03:05 +0200 From: Andreas Klemm To: Terry Lambert Cc: hackers@FreeBSD.ORG Subject: Re: fips doesn4t seem to work on a 32 Bit DOS filesystem (type 0Bh) References: <19980904104131.B7658@emsphone.com> <199809050656.XAA29059@usr08.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199809050656.XAA29059@usr08.primenet.com>; from Terry Lambert on Sat, Sep 05, 1998 at 06:56:33AM +0000 X-Disclaimer: A free society is one where it is safe to be unpopular X-Operating-System: FreeBSD 3.0-CURRENT SMP Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Sep 05, 1998 at 06:56:33AM +0000, Terry Lambert wrote: > DANGER. The VFAT32 layout is significantly different. It is, > effectively, using a stacker-type layout for block allocation > to resolve the fragmentation issues, and a number of changes > to the way the partition itself is laid out. > > A number of people have reported munging their Windows98 > partitions to death using these tools on their systems. > > The only product that I know gets this right is a commercial > one (Partition Magic). Thanks ! -- Andreas Klemm http://www.FreeBSD.ORG/~andreas What gives you 90% more speed, for example, in kernel compilation ? http://www.FreeBSD.ORG/~fsmp/SMP/akgraph-a/graph1.html "NT = Not Today" (Maggie Biggs) ``powered by FreeBSD SMP'' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Sep 6 13:57:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA24587 for freebsd-hackers-outgoing; Sun, 6 Sep 1998 13:57:15 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from aludra.usc.edu (aludra.usc.edu [128.125.253.184]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAB24582 for ; Sun, 6 Sep 1998 13:57:14 -0700 (PDT) (envelope-from bathija@scf-fs.usc.edu) Received: from localhost (bathija@localhost) by aludra.usc.edu (8.8.8/8.8.8/usc) with SMTP id NAA05433 for ; Sun, 6 Sep 1998 13:57:13 -0700 (PDT) Date: Sun, 6 Sep 1998 13:57:13 -0700 (PDT) From: bathija To: freebsd-hackers@FreeBSD.ORG Subject: Subscribe 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 ----------------------------------------------------------------------------- Have a nice,happy sunshiny day GO USC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Sep 6 14:07:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA26817 for freebsd-hackers-outgoing; Sun, 6 Sep 1998 14:07:26 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from soleil.uvsq.fr (soleil.uvsq.fr [193.51.24.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA26804 for ; Sun, 6 Sep 1998 14:07:23 -0700 (PDT) (envelope-from son@cezanne.prism.uvsq.fr) Received: from cezanne.prism.uvsq.fr (rtc102.reseau.uvsq.fr [193.51.24.18]) by soleil.uvsq.fr (8.9.1/jtpda-5.3.1) with ESMTP id XAA14606 ; Sun, 6 Sep 1998 23:07:04 +0200 (METDST) Received: (from son@localhost) by cezanne.prism.uvsq.fr (8.9.1/8.8.5) id XAA02794; Sun, 6 Sep 1998 23:15:38 GMT Message-ID: <19980906231537.51552@breizh.prism.uvsq.fr> Date: Sun, 6 Sep 1998 23:15:37 +0000 From: Nicolas Souchu To: FreeBSD Hackers Cc: Mike Smith Subject: ZIP+ driver announce Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e X-Operating-System: FreeBSD breizh 3.0-CURRENT FreeBSD 3.0-CURRENT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi there! I'm glad to announce the support of the Iomega ZIP+ drive in FreeBSD current. See http://www.iomega.com for more info about the drive. ZIP and ZIP+ drives have completely different protocols. A new driver was needed. Actually the previous vpo driver (supporting the ZIP drive) is still in function and detects either ZIP or ZIP+ during probe. Only lowlevel io routines have been rewritten. The patch is available for test. Drop me a mail if you want it. This code is not really experimental since the vpo has already proved itself. Should it be commited before 3.0? -- Nicolas.Souchu@prism.uvsq.fr FreeBSD - Turning PCs into workstations - 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 Sep 6 14:07:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA26841 for freebsd-hackers-outgoing; Sun, 6 Sep 1998 14:07:31 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from soleil.uvsq.fr (soleil.uvsq.fr [193.51.24.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA26835 for ; Sun, 6 Sep 1998 14:07:27 -0700 (PDT) (envelope-from son@cezanne.prism.uvsq.fr) Received: from cezanne.prism.uvsq.fr (rtc102.reseau.uvsq.fr [193.51.24.18]) by soleil.uvsq.fr (8.9.1/jtpda-5.3.1) with ESMTP id XAA14612 ; Sun, 6 Sep 1998 23:07:10 +0200 (METDST) Received: (from son@localhost) by cezanne.prism.uvsq.fr (8.9.1/8.8.5) id WAA21945; Sun, 6 Sep 1998 22:13:17 GMT Message-ID: <19980906221315.51071@breizh.prism.uvsq.fr> Date: Sun, 6 Sep 1998 22:13:16 +0000 From: Nicolas Souchu To: Brian Beattie Cc: Stefan Eggers , Luigi Rizzo , freebsd-hackers@FreeBSD.ORG Subject: Re: lpt port scanners (was: Re: What options for BW quickcam on 2.2.7 ? ) References: <199808310818.KAA06304@semyam.dinoco.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: ; from Brian Beattie on Mon, Aug 31, 1998 at 02:13:09PM -0700 X-Operating-System: FreeBSD breizh 3.0-CURRENT FreeBSD 3.0-CURRENT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Aug 31, 1998 at 02:13:09PM -0700, Brian Beattie wrote: >On Mon, 31 Aug 1998, Stefan Eggers wrote: > >> > the effort, but for scanners etc it would be a very nice thing to do >> > given that a lot of scanners on the market now seem to use the parallel >> > port). >> >> If I knew a company which manufactures them and gives out detailed >> information about the protocol used I'd probably have one already as a >> scanner would be a nice addition to my machine. Anybody knowing one >> who does have documentation and gives them out w/o NDA or other silly >> things preventing real use in FreeBSD? >> >Microtek has them on it's ftp site. I think UMAX has them on it's >webpage. I'm currently trying to get it out of adara. What's new? Did you get the docs? Nicolas. -- Nicolas.Souchu@prism.uvsq.fr FreeBSD - Turning PCs into workstations - 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 Sep 6 18:38:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA24023 for freebsd-hackers-outgoing; Sun, 6 Sep 1998 18:38:14 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from rufus.comms.unsw.EDU.AU (rufus.comms.unsw.EDU.AU [149.171.96.100]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA24010 for ; Sun, 6 Sep 1998 18:38:09 -0700 (PDT) (envelope-from c.day@student.unsw.edu.au) Received: from lab_machine ([129.94.222.86]) by rufus.comms.unsw.EDU.AU (8.8.8/8.7.5.kenso-central) with SMTP id LAA11924; Mon, 7 Sep 1998 11:18:40 +1000 (EST) Message-Id: <3.0.5.32.19980907111726.0091a750@pop3.student.unsw.edu.au> X-Sender: z2172268@pop3.student.unsw.edu.au X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Mon, 07 Sep 1998 11:17:26 +1000 To: Joel Ray Holveck , chris/reman From: chris/reman Subject: Re: Assembler with FreeBSD Cc: Mike Smith , Mark Murray , Chuck Robey , Rodrigo Ormonde , hackers@FreeBSD.ORG In-Reply-To: <199809051555.KAA26672@detlev.UUCP> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 10:55 AM 9/5/98 -0500, Joel Ray Holveck wrote: >>>>> You don't really want to use gas, because it was never made for human >>>>> use, just as a back end for gcc, and it's reactions to errors stink. >>>> No way! GAS fixed the arse-about-face assembler that intel created!! >>>> They made the assembler language user-drool-friendly! >>> The syntax is fine. It's error handling, however, sucks. >> I think the AT&T syntax used in gas really sux, considering that >> most x86 assemblers (MASM, TASM, A86, NASM) all use standard Intel >> syntax I don't see why I should bother trying to learn a new way of >> expressing an already hard to use language, it's like someone >> decided to release a version of gcc with a ; at the start of >> statements, and the logic was x + y = z, just because thats how we >> normally write it andn not the arse-around way that ansi c uses. >The syntax was designed to be Unix-based. Remember that gas uses the >standard Unix assembler syntax, most as-based tools are designed to >emit Unix syntax, etc. It would be silly for as to make an exception >in Intel's case. > >Recall that the assemblers you named are all DOS assemblers, with the >exception of NASM, which was designed to emulate one. This isn't >lossage that the Unix community created. It's something that Intel >did and we chose to ignore because of its drain bramage. Well, people have said that there is no point using ASM in Unix because C compiles are better at compiling optimised code, someone mentioned that it was not true, and that hand-coded asm is better iff you know what you're doing. Well, alot of unices run on RISC workstations, and the amount of optimisations and rules which need to be remembered and followed for hand-coded ASM in a RISC environment is just not worth it, a c compiler will give you far better optimised code on RISC, that is the whole point of RISC, move the complexity to the compiler, which is easily changed. When coding for CISC especially x86, hand-coded assembly has shown ,for a long time now, that it improves code size and speed, that is why alot of 3d realtime renderers used in the demoscene use hand-coded asm to pair instructions better, pipeline or unroll tight loops, and to take advantage of modern instructions (eg mmx (Not saying that these aren't in modern C compilers, but in ASM if you know the opcode you get it for free)). I agree that GAS should use AT&T style ASM, as that is what it is used to getting from GCC, in fact GAS in DJGPP uses it, since it uses GCC + binutils. But I think for readability and the number of good books on ASM for x86 maybe NASM for FreeBSD is the way to go. It will link in with your C stuff, just as well as GAS, and it is a sort of cross-compiler as well (It does (I think) .obj, ELF, and a.out). I would just recommend, trying one of each type say NASM and GAS and then sticking with the one you like best, and learning all the great features that make ASM such a great language to work with (offsets, macros, relative vs real vs effective addresses, optimising). And most of all, have fun! regards, chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Sep 6 22:35:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA18895 for freebsd-hackers-outgoing; Sun, 6 Sep 1998 22:35:22 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from word.smith.net.au (castles157.castles.com [208.214.165.157]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA18890 for ; Sun, 6 Sep 1998 22:35:19 -0700 (PDT) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (LOCALHOST [127.0.0.1]) by word.smith.net.au (8.9.1/8.8.8) with ESMTP id WAA11588; Sun, 6 Sep 1998 22:41:06 -0700 (PDT) (envelope-from mike@word.smith.net.au) Message-Id: <199809070541.WAA11588@word.smith.net.au> X-Mailer: exmh version 2.0.2 2/24/98 To: cmascott@world.std.com (Carl Mascott) cc: hackers@FreeBSD.ORG Subject: Re: Reading/writing /usr/ports is VERY slow In-reply-to: Your message of "Fri, 04 Sep 1998 08:38:43 EDT." <199809041238.AA00816@world.std.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 06 Sep 1998 22:41:05 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > Meanwhile, do you have the courage to try the code snippet I included? > > I'd be interested to know if it had any affect on your pathalogical > > case... > > Maybe, but I want to let the dust settle first, and see if > Kirk McKusick weighs in with anything interesting. I would > also want to become familiar with the FFS source code before > I did anything to it. It does sound like Kirk feels this is worth exploring. > One problem with my trying it is that it will never get a good > workout on my box, a single-user workstation with ~50% full > filesystems. I could certainly see any improvement in the > /usr/ports throughput, but behavior with a nearly full > filesystem would never get tested. Demonstrating even that sort of improvement would be enough to justify releasing the code for wider testing. Such an option would be trivially tunable, allowing it to be optimised for particular situations if required. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 7 01:58:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA11448 for freebsd-hackers-outgoing; Mon, 7 Sep 1998 01:58:04 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id BAA11354 for ; Mon, 7 Sep 1998 01:58:00 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id EAA15896; Mon, 7 Sep 1998 04:25:43 +0200 From: Luigi Rizzo Message-Id: <199809070225.EAA15896@labinfo.iet.unipi.it> Subject: Re: lpt port scanners (was: Re: What options for BW quickcam on 2.2.7 ? ) To: Nicolas.Souchu@prism.uvsq.fr (Nicolas Souchu) Date: Mon, 7 Sep 1998 04:25:43 +0200 (MET DST) Cc: beattie@aracnet.com, seggers@semyam.dinoco.de, freebsd-hackers@FreeBSD.ORG In-Reply-To: <19980906221315.51071@breizh.prism.uvsq.fr> from "Nicolas Souchu" at Sep 6, 98 10:12:57 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >Microtek has them on it's ftp site. I think UMAX has them on it's > >webpage. I'm currently trying to get it out of adara. > > What's new? Did you get the docs? haven't seen any useful docs on microtek's site. luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 7 02:47:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA16369 for freebsd-hackers-outgoing; Mon, 7 Sep 1998 02:47:53 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA16363 for ; Mon, 7 Sep 1998 02:47:51 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id CAA29261; Mon, 7 Sep 1998 02:46:31 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199809070946.CAA29261@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Luigi Rizzo cc: Nicolas.Souchu@prism.uvsq.fr (Nicolas Souchu), beattie@aracnet.com, seggers@semyam.dinoco.de, freebsd-hackers@FreeBSD.ORG Subject: Re: lpt port scanners (was: Re: What options for BW quickcam on 2.2.7 ? ) In-reply-to: Your message of "Mon, 07 Sep 1998 04:25:43 +0200." <199809070225.EAA15896@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 07 Sep 1998 02:46:31 -0700 From: Amancio Hasty Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Guys, Perhaps someone can post the parallel port scanner support question to the scsi scanner group at: http://www.mostang.com/sane/ The hackers in that group seem to be very knowledgeable about scanners in general. As a side note, I am very happy with their scsi umax support also "sane" provides a "plugin" for gimp 8) Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 7 04:12:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA25469 for freebsd-hackers-outgoing; Mon, 7 Sep 1998 04:12:29 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from rnocserv.urc.ac.ru (rnocserv.urc.ac.ru [193.233.85.48]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA25317 for ; Mon, 7 Sep 1998 04:10:34 -0700 (PDT) (envelope-from joy@urc.ac.ru) Received: from urc.ac.ru (y.urc.ac.ru [193.233.85.37]) by rnocserv.urc.ac.ru (8.8.8/8.8.8) with ESMTP id RAA00228 for ; Mon, 7 Sep 1998 17:08:42 +0600 (ESS) (envelope-from joy@urc.ac.ru) Message-ID: <35F3BEBA.17D9375A@urc.ac.ru> Date: Mon, 07 Sep 1998 17:08:42 +0600 From: Konstantin Chuguev Organization: Southern Ural Regional Center of FREEnet X-Mailer: Mozilla 4.5b1 [en] (X11; I; FreeBSD 3.0-CURRENT i386) X-Accept-Language: ru,en MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.ORG Subject: Proposal for moving /usr/sbin/sysctl -> /sbin/sysctl Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, FreeBSD guys. Wouldn't it be better to have the sysctl utility in /sbin instead of /usr/sbin? One example: I have a router which mounts its /usr from another host via NFS. As it is a router, it calls sysctl -w net.inet.ip.forwarding=1 from /etc/rc.network on startup. But at that time, /usr is not mounted yet :-( Now I have to copy /usr/sbin/sysctl to /sbin/. It has better to be done by the distribution :-) BTW, grep sysctl /etc/rc.network: sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1 sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1 sysctl -w net.inet.ip.forwarding=1 >/dev/null 2>&1 sysctl -w net.inet.ip.sourceroute=1 >/dev/null 2>&1 sysctl -w net.inet.ip.accept_sourceroute=1 >/dev/null 2>&1 sysctl -w net.ipx.ipx.ipxforwarding=1 >/dev/null 2>&1 sysctl -w net.link.ether.inet.proxyall=1 2>&1 sysctl -w vfs.nfs.nfs_privport=1 >/dev/null 2>&1 I am sorry if I'm writing to wrong group. I just don't know mechanisms for the right way of such proposals. -- Konstantin V. Chuguev. System administrator of Southern http://www.urc.ac.ru/~joy/ Ural Regional Center of FREEnet, mailto:joy@urc.ac.ru Chelyabinsk, Russia. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 7 09:32:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA22961 for freebsd-hackers-outgoing; Mon, 7 Sep 1998 09:32:03 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from lafcol (lafcol.lafayette.edu [139.147.8.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA22924 for ; Mon, 7 Sep 1998 09:31:59 -0700 (PDT) (envelope-from knollm@lafcol.lafayette.edu) Received: from believer by lafcol (SMI-8.6/SMI-SVR4) id MAA20264; Mon, 7 Sep 1998 12:30:36 -0400 Message-Id: <199809071630.MAA20264@lafcol> X-Sender: knollm@lafcol.lafayette.edu X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0.2 Demo Date: Mon, 07 Sep 1998 12:44:54 -0400 To: hackers@FreeBSD.ORG From: Mike Knoll Subject: ccd'ed disks Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have two IDE disks, different size, and was wondering if I'd benifit from ccd'ing them with striping. I understand IDE has some issues that make RAID type devices nonexistant, but what are the reasons? Thanks, Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 7 10:17:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA29999 for freebsd-hackers-outgoing; Mon, 7 Sep 1998 10:17:05 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from skynet.ctr.columbia.edu (skynet.ctr.columbia.edu [128.59.64.70]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA29979; Mon, 7 Sep 1998 10:16:56 -0700 (PDT) (envelope-from wpaul@skynet.ctr.columbia.edu) Received: (from wpaul@localhost) by skynet.ctr.columbia.edu (8.6.12/8.6.9) id NAA19142; Mon, 7 Sep 1998 13:19:54 -0400 From: Bill Paul Message-Id: <199809071719.NAA19142@skynet.ctr.columbia.edu> Subject: Still looking for ThunderLAN driver testers To: hackers@FreeBSD.ORG Date: Mon, 7 Sep 1998 13:19:53 -0400 (EDT) Cc: freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm still looking for testers for the new ThunderLAN driver code at http://www.freebsd.org/~wpaul/ThunderLAN. After my initial request for testers, I received one (1) response, which unfortunately was less than positive (the EEPROM reading code is failing, and naturally the respondent is going out of town for a week and is therefore not going to be much help in debugging this problem for a while). I'm looking for people with Compaq Netelligent or NetFlex adapters based on the ThunderLAN chip. This includes Compaq Deskpro or Compaq Proliant/Prosignia machines with built-in networking, also based on the ThunderLAN chips. The driver also supports ThunderLAN-based Olicom adapters. At the moment, the only card I have to test with is the Olicom 2326, which seems to work fine on my test machine. If you have such a beast and are running FreeBSD 2.2.x or 3.0-current, please download the driver from http://www.freebsd.org/~wpaul/ThunderLAN and try it on your system. If you have any problems, please report them to wpaul@skynet.cctr.columbia.edu. There are two points I'm interested in at the moment. The first is the EEPROM reading code. If it fails, you will see an error that says "failed to read station address from EEPROM" and the interface will not be attached. If this happens to you, please let me know so that I can work on debugging this problem. It appears to be hardware specific and I can't seem to reproduce the problem with the Olicom card. If you want to be really nice, you might try to arrange to have the system connected to the internet with a secondary network adapter and let me in for a little while to debug the problem. Otherwise, be prepared to try a few diagnostic tricks and report the results back to me. The other issue is that I think there may be another Compaq integrated adapter that I don't have in the existing device list. The device shows up with a vendor ID of 0x0e11 (Compaq) and a device ID of 0xae33. I have entries for 0xae32 (Compaq Netelligent 10/100) and 0xae34 (Compaq Netelligent 10), but not 0xae33. I don't know for sure if it's a ThunderLAN adapter or not (the person who owns the machine where I first encountered this uses Linux and is terminally clueless about such things). The system is supposedly a "Compaq Deskpro 4000 5166/2500/CDS DOM." If anybody has one of these can can confirm what type of network adapter is in this system, I'd really appreciate it. If anyone knows of any other ThunderLAN-based adapters besides those made by Compaq or Olicom, I'd like to hear about those as well. -Bill -- ============================================================================= -Bill Paul (212) 854-6020 | System Manager, Master of Unix-Fu Work: wpaul@ctr.columbia.edu | Center for Telecommunications Research Home: wpaul@skynet.ctr.columbia.edu | Columbia University, New York City ============================================================================= "It is not I who am crazy; it is I who am mad!" - Ren Hoek, "Space Madness" ============================================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 7 10:40:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA04745 for freebsd-hackers-outgoing; Mon, 7 Sep 1998 10:40:50 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from shell6.ba.best.com (shell6.ba.best.com [206.184.139.137]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA04738 for ; Mon, 7 Sep 1998 10:40:47 -0700 (PDT) (envelope-from jkb@best.com) Received: from localhost (jkb@localhost) by shell6.ba.best.com (8.9.0/8.9.0/best.sh) with SMTP id KAA21738; Mon, 7 Sep 1998 10:34:04 -0700 (PDT) X-Authentication-Warning: shell6.ba.best.com: jkb owned process doing -bs Date: Mon, 7 Sep 1998 10:34:04 -0700 (PDT) From: "Jan B. Koum " X-Sender: jkb@shell6.ba.best.com To: Konstantin Chuguev cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Proposal for moving /usr/sbin/sysctl -> /sbin/sysctl In-Reply-To: <35F3BEBA.17D9375A@urc.ac.ru> 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 It is in /sbin in 3.0 % which sysctl /sbin/sysctl % uname -a FreeBSD twentythree.jkb.org 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Sun Sep 6 17:35:29 GMT 1998 jkb@twentythree.jkb.org:/usr/src/sys/compile/TWENTYTHREE i386 -- Yan I don't have the password + Jan Koum But the path is chainlinked | Spelled Jan, pronounced Yan. There. So if you've got the time | Web: http://www.best.com/~jkb Set the tone to sync + OS: http://www.FreeBSD.org On Mon, 7 Sep 1998, Konstantin Chuguev wrote: >Hi, FreeBSD guys. > >Wouldn't it be better to have the sysctl utility in /sbin instead of /usr/sbin? > >One example: > >I have a router which mounts its /usr from another host via NFS. >As it is a router, it calls sysctl -w net.inet.ip.forwarding=1 >from /etc/rc.network on startup. But at that time, /usr is not mounted yet :-( > >Now I have to copy /usr/sbin/sysctl to /sbin/. It has better to be done by >the distribution :-) > >BTW, grep sysctl /etc/rc.network: > sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1 > sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1 > sysctl -w net.inet.ip.forwarding=1 >/dev/null 2>&1 > sysctl -w net.inet.ip.sourceroute=1 >/dev/null 2>&1 > sysctl -w net.inet.ip.accept_sourceroute=1 >/dev/null 2>&1 > sysctl -w net.ipx.ipx.ipxforwarding=1 >/dev/null 2>&1 > sysctl -w net.link.ether.inet.proxyall=1 2>&1 > sysctl -w vfs.nfs.nfs_privport=1 >/dev/null 2>&1 > >I am sorry if I'm writing to wrong group. I just don't know mechanisms >for the right way of such proposals. > >-- > Konstantin V. Chuguev. System administrator of Southern > http://www.urc.ac.ru/~joy/ Ural Regional Center of FREEnet, > mailto:joy@urc.ac.ru Chelyabinsk, Russia. > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 7 11:19:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA09802 for freebsd-hackers-outgoing; Mon, 7 Sep 1998 11:19:39 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from bingsun2.cc.binghamton.edu (bingsun2.cc.binghamton.edu [128.226.1.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA09777 for ; Mon, 7 Sep 1998 11:19:35 -0700 (PDT) (envelope-from bf20761@binghamton.edu) Received: from localhost (bf20761@localhost) by bingsun2.cc.binghamton.edu (8.8.7/8.6.9) with SMTP id OAA21064 for ; Mon, 7 Sep 1998 14:19:26 -0400 (EDT) Date: Mon, 7 Sep 1998 14:19:25 -0400 (EDT) From: zhihuizhang X-Sender: bf20761@bingsun2 To: hackers Subject: Simple questions on ffs_blkpref() and cluster_save 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 Can anyone tell me the meaning of the two parameters indx and bap of the routine ffs_blkpref() in ffs_alloc.c? Trying to figure out the two parameters myself, I look for call instances of ffs_blkpref(). It is called by ffs_reallocblks(). However, I can not find where the structure cluster_save is defined. My intention is to figure out the meaning of indx/bap by looking at how ffs_reallocblks() set these two parameters. But I am stuck by the cluster_save. Any help is appreciated. -------------------------------------------------- | Zhihui Zhang, http://cs.binghamton.edu/~zzhang | | Dept. of Computer Science, SUNY at Binghamton | -------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 7 11:19:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA09829 for freebsd-hackers-outgoing; Mon, 7 Sep 1998 11:19:46 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA09525 for ; Mon, 7 Sep 1998 11:18:12 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.1a/8.9.1) with ESMTP id UAA20653 for ; Mon, 7 Sep 1998 20:18:02 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id UAA27743; Mon, 7 Sep 1998 20:16:36 +0200 (MET DST) Message-ID: <19980907201635.56912@follo.net> Date: Mon, 7 Sep 1998 20:16:35 +0200 From: Eivind Eklund To: Mike Knoll , hackers@FreeBSD.ORG Subject: Re: ccd'ed disks References: <199809071630.MAA20264@lafcol> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <199809071630.MAA20264@lafcol>; from Mike Knoll on Mon, Sep 07, 1998 at 12:44:54PM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Sep 07, 1998 at 12:44:54PM -0400, Mike Knoll wrote: > I have two IDE disks, different size, and was wondering if I'd benifit from > ccd'ing them with striping. I understand IDE has some issues that make > RAID type devices nonexistant, but what are the reasons? They don't exist, really. You can buy RAID-controllers for IDE. The only issues are that it is slightly more work to create a high-performance RAID-controller that use IDE to simulate SCSI, that you want SCSI for your RAID to be able to have several requests active at the same time, and that the IDE-drives normally are low-end drives physically compared to the SCSI-drives. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 7 11:31:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA11650 for freebsd-hackers-outgoing; Mon, 7 Sep 1998 11:31:38 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mail4.aracnet.com (mail4.aracnet.com [205.159.88.46]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA11643 for ; Mon, 7 Sep 1998 11:31:36 -0700 (PDT) (envelope-from beattie@aracnet.com) Received: from shell2.aracnet.com (IDENT:beattie@shell2.aracnet.com [205.159.88.20]) by mail4.aracnet.com (8.9.1/8.9.0) with ESMTP id LAA00947; Mon, 7 Sep 1998 11:31:29 -0700 Received: from localhost by shell2.aracnet.com (8.8.7) id LAA25025; Mon, 7 Sep 1998 11:31:13 -0700 Date: Mon, 7 Sep 1998 11:31:13 -0700 (PDT) From: Brian Beattie To: Luigi Rizzo cc: Nicolas Souchu , seggers@semyam.dinoco.de, freebsd-hackers@FreeBSD.ORG Subject: Re: lpt port scanners (was: Re: What options for BW quickcam on 2.2.7 ? ) In-Reply-To: <199809070225.EAA15896@labinfo.iet.unipi.it> 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, 7 Sep 1998, Luigi Rizzo wrote: > > >Microtek has them on it's ftp site. I think UMAX has them on it's > > >webpage. I'm currently trying to get it out of adara. > > > > What's new? Did you get the docs? > > haven't seen any useful docs on microtek's site. > > luigi ftp://ftp.microtek.com/microtek/devpack is rge directory. the files that look interesting are: scsicmd.doc cmd_set.txt cmd_set2.txt. Brian Beattie | If my corporate life has taught me anything, beattie@aracnet.com | it was that running multi-million dollar www.aracnet.com/~beattie | projects in no way implied managerial competence. | Tony Porczyk ( in comp.unix.bsd.freebsd.misc ) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 7 13:37:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA01342 for freebsd-hackers-outgoing; Mon, 7 Sep 1998 13:37:24 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA01284 for ; Mon, 7 Sep 1998 13:37:13 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (root@woof.lan.awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id VAA21570; Mon, 7 Sep 1998 21:05:39 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id VAA02036; Mon, 7 Sep 1998 21:07:46 +0100 (BST) (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199809072007.VAA02036@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: "Jan B. Koum " cc: Konstantin Chuguev , freebsd-hackers@FreeBSD.ORG Subject: Re: Proposal for moving /usr/sbin/sysctl -> /sbin/sysctl In-reply-to: Your message of "Mon, 07 Sep 1998 10:34:04 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 07 Sep 1998 21:07:45 +0100 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG But the sources are in /usr/usrc/usr.sbin/sysctl (and linked statically despite it) :-( Anyone know the rationale ? > It is in /sbin in 3.0 > > % which sysctl > /sbin/sysctl > % uname -a > FreeBSD twentythree.jkb.org 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Sun Sep 6 > 17:35:29 GMT 1998 > jkb@twentythree.jkb.org:/usr/src/sys/compile/TWENTYTHREE i386 > > -- Yan > > I don't have the password + Jan Koum > But the path is chainlinked | Spelled Jan, pronounced Yan. There. > So if you've got the time | Web: http://www.best.com/~jkb > Set the tone to sync + OS: http://www.FreeBSD.org > > On Mon, 7 Sep 1998, Konstantin Chuguev wrote: > > >Hi, FreeBSD guys. > > > >Wouldn't it be better to have the sysctl utility in /sbin instead of /usr/sbin? > > > >One example: > > > >I have a router which mounts its /usr from another host via NFS. > >As it is a router, it calls sysctl -w net.inet.ip.forwarding=1 > >from /etc/rc.network on startup. But at that time, /usr is not mounted yet :-( > > > >Now I have to copy /usr/sbin/sysctl to /sbin/. It has better to be done by > >the distribution :-) > > > >BTW, grep sysctl /etc/rc.network: > > sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1 > > sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1 > > sysctl -w net.inet.ip.forwarding=1 >/dev/null 2>&1 > > sysctl -w net.inet.ip.sourceroute=1 >/dev/null 2>&1 > > sysctl -w net.inet.ip.accept_sourceroute=1 >/dev/null 2>&1 > > sysctl -w net.ipx.ipx.ipxforwarding=1 >/dev/null 2>&1 > > sysctl -w net.link.ether.inet.proxyall=1 2>&1 > > sysctl -w vfs.nfs.nfs_privport=1 >/dev/null 2>&1 > > > >I am sorry if I'm writing to wrong group. I just don't know mechanisms > >for the right way of such proposals. > > > >-- > > Konstantin V. Chuguev. System administrator of Southern > > http://www.urc.ac.ru/~joy/ Ural Regional Center of FREEnet, > > mailto:joy@urc.ac.ru Chelyabinsk, Russia. -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 7 14:26:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA08668 for freebsd-hackers-outgoing; Mon, 7 Sep 1998 14:26:40 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dt053nb4.san.rr.com (dt053nb4.san.rr.com [204.210.34.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA08659 for ; Mon, 7 Sep 1998 14:26:36 -0700 (PDT) (envelope-from Studded@dal.net) Received: from dal.net (Studded@localhost [127.0.0.1]) by dt053nb4.san.rr.com (8.8.8/8.8.8) with ESMTP id OAA22281; Mon, 7 Sep 1998 14:16:34 -0700 (PDT) (envelope-from Studded@dal.net) Message-ID: <35F44D31.5D727786@dal.net> Date: Mon, 07 Sep 1998 14:16:33 -0700 From: Studded Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.06 [en] (X11; I; FreeBSD 2.2.7-STABLE-0905 i386) MIME-Version: 1.0 To: Brian Somers CC: "Jan B. Koum" , Konstantin Chuguev , freebsd-hackers@FreeBSD.ORG Subject: Re: Proposal for moving /usr/sbin/sysctl -> /sbin/sysctl References: <199809072007.VAA02036@woof.lan.awfulhak.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Brian Somers wrote: > > But the sources are in /usr/usrc/usr.sbin/sysctl (and linked > statically despite it) :-( > > Anyone know the rationale ? > > > It is in /sbin in 3.0 > > > > % which sysctl > > /sbin/sysctl > > % uname -a > > FreeBSD twentythree.jkb.org 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Sun Sep 6 > > 17:35:29 GMT 1998 > > jkb@twentythree.jkb.org:/usr/src/sys/compile/TWENTYTHREE i386 On a very recent -Stable sysctl is in /usr/sbin. I agree that putting it in /sbin seems more reasonable. :) Doug -- *** Chief Operations Officer, DALnet IRC network *** At Barry (a small town in south Wales) hidden cameras have had to be installed to keep watch on the town's CCTV [Closed Circuit Television] to record acts of vandalism against the CCTV. - Privacy Forum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 7 14:31:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA09529 for freebsd-hackers-outgoing; Mon, 7 Sep 1998 14:31:10 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA09510 for ; Mon, 7 Sep 1998 14:31:04 -0700 (PDT) (envelope-from roberto@keltia.freenix.fr) Received: (from uucp@localhost) by frmug.org (8.9.1/frmug-2.3/nospam) with UUCP id XAA27690 for freebsd-hackers@FreeBSD.ORG; Mon, 7 Sep 1998 23:30:57 +0200 (CEST) (envelope-from roberto@keltia.freenix.fr) Received: by keltia.freenix.fr (VMailer, from userid 101) id 3202E1517; Mon, 7 Sep 1998 23:13:03 +0200 (CEST) Date: Mon, 7 Sep 1998 23:13:03 +0200 From: Ollivier Robert To: freebsd-hackers@FreeBSD.ORG Subject: Re: Proposal for moving /usr/sbin/sysctl -> /sbin/sysctl Message-ID: <19980907231303.A7377@keltia.freenix.fr> Mail-Followup-To: freebsd-hackers@FreeBSD.ORG References: <35F3BEBA.17D9375A@urc.ac.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.94.4i In-Reply-To: <35F3BEBA.17D9375A@urc.ac.ru>; from Konstantin Chuguev on Mon, Sep 07, 1998 at 05:08:42PM +0600 X-Operating-System: FreeBSD 3.0-CURRENT/ELF ctm#4623 AMD-K6 MMX @ 200 MHz Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG According to Konstantin Chuguev: > Wouldn't it be better to have the sysctl utility in /sbin instead of /usr/sbin? You mean, where it has been for months ? :-) /sbin: -r-xr-xr-x 1 root staff 57428 Sep 1 00:42 sysctl* I suspect you just have /usr/sbin before /sbin in your path and an old version of sysctl lies in the former... -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 3.0-CURRENT #63: Tue Sep 1 00:50:29 CEST 1998 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 7 16:31:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA29078 for freebsd-hackers-outgoing; Mon, 7 Sep 1998 16:31:05 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from pyrl.eye (ppp-145.isl.net [199.3.25.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA29069 for ; Mon, 7 Sep 1998 16:31:00 -0700 (PDT) (envelope-from ortmann@sparc.isl.net) Received: (from ortmann@localhost) by pyrl.eye (8.9.1/8.8.8) id SAA23721 for hackers@freebsd.org; Mon, 7 Sep 1998 18:03:00 -0500 (CDT) (envelope-from ortmann) From: Daniel Ortmann Message-Id: <199809072303.SAA23721@pyrl.eye> Subject: should 'cut' be in 'build-tools'? To: hackers@FreeBSD.ORG Date: Mon, 7 Sep 1998 18:03:00 -0500 (CDT) X-Mailer: ELM [version 2.4ME+ PL32 (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 During the aout->elf conversion I see messages saying that 'cut' is not found. It appears to be coming from use of 'newvers.sh' as in src/usr.sbin/amd/fsinfo/../include/newvers.sh Should 'cut' then be built considered a build-tool and built early in the build process? (I haven't investigated this any further.) -- Daniel Ortmann 507.288.7732 (h) ortmann@isl.net 2414 30 av NW, #D 507.253.6795 (w) ortmann@vnet.ibm.com Rochester, MN 55901 "PERL: The Swiss Army Chainsaw" "The answers are so simple and we all know where to look, but it's easier just to avoid the question." -- Kansas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Sep 7 18:57:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA15346 for freebsd-hackers-outgoing; Mon, 7 Sep 1998 18:57:15 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from send102.yahoomail.com (send102.yahoomail.com [205.180.60.90]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id SAA15339 for ; Mon, 7 Sep 1998 18:57:14 -0700 (PDT) (envelope-from robertbutler@yahoo.com) Message-ID: <19980908015747.20649.rocketmail@send102.yahoomail.com> Received: from [139.87.94.138] by send102.yahoomail.com; Mon, 07 Sep 1998 18:57:47 PDT Date: Mon, 7 Sep 1998 18:57:47 -0700 (PDT) From: Robert Butler Subject: Is Plug-n-Play capibility supported in FreeBSD? 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'm going to port the Win95 plug-n-play network card driver to UNIX systems. Just wondering where I can get the information about it? Any pointers will be highly appreciated. I've heard something called "hot swap" is it the plug-n-play alike function? Thanks, Robert _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Sep 8 00:22:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA15128 for freebsd-hackers-outgoing; Tue, 8 Sep 1998 00:22:13 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from word.smith.net.au (castles249.castles.com [208.214.165.249]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA15122 for ; Tue, 8 Sep 1998 00:22:10 -0700 (PDT) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (LOCALHOST [127.0.0.1]) by word.smith.net.au (8.9.1/8.8.8) with ESMTP id AAA15515; Tue, 8 Sep 1998 00:28:20 -0700 (PDT) (envelope-from mike@word.smith.net.au) Message-Id: <199809080728.AAA15515@word.smith.net.au> X-Mailer: exmh version 2.0.2 2/24/98 To: zhihuizhang cc: hackers Subject: Re: Simple questions on ffs_blkpref() and cluster_save In-reply-to: Your message of "Mon, 07 Sep 1998 14:19:25 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 08 Sep 1998 00:28:19 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Can anyone tell me the meaning of the two parameters indx and bap of the > routine ffs_blkpref() in ffs_alloc.c? > > Trying to figure out the two parameters myself, I look for call instances > of ffs_blkpref(). It is called by ffs_reallocblks(). However, I can not > find where the structure cluster_save is defined. > > My intention is to figure out the meaning of indx/bap by looking at how > ffs_reallocblks() set these two parameters. But I am stuck by the > cluster_save. indx refers to the offset of the allocation within the file section. bap[] is the table of block addresses within the section. It's used to locate the previous block in the file in order to make a contiguous allocation. The comment at the top of ffs_blkpref() is a little opaque, but does seem to clarify this. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Sep 8 00:53:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA18622 for freebsd-hackers-outgoing; Tue, 8 Sep 1998 00:53:24 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ws10.iclub.nsu.ru (ws10.iclub.nsu.ru [193.124.222.77]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA18610 for ; Tue, 8 Sep 1998 00:53:18 -0700 (PDT) (envelope-from fjoe@ws10.iclub.nsu.ru) Received: from localhost (fjoe@localhost) by ws10.iclub.nsu.ru (8.8.8/8.8.8) with SMTP id OAA28944 for ; Tue, 8 Sep 1998 14:56:51 +0700 (NSS) (envelope-from fjoe@ws10.iclub.nsu.ru) Date: Tue, 8 Sep 1998 14:56:51 +0700 (NSS) From: Max Khon To: hackers@FreeBSD.ORG Subject: ru.koi8-r.shift 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, there! i suggest to add ru.koi8-r.shift (koi8-r shifted keymap) to Configure->Console->Keymap dialog (/stand/sysinstall) /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Sep 8 07:43:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA09657 for freebsd-hackers-outgoing; Tue, 8 Sep 1998 07:43:07 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from bashful.realminfo.com (bashful.realminfo.com [208.205.6.135]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA09651 for ; Tue, 8 Sep 1998 07:43:05 -0700 (PDT) (envelope-from smyth@bashful.realminfo.com) Received: from localhost (smyth@localhost) by bashful.realminfo.com (8.8.7/8.8.7) with SMTP id KAA08381 for ; Tue, 8 Sep 1998 10:52:52 -0400 Date: Tue, 8 Sep 1998 10:52:52 -0400 (EDT) From: Scott Smyth To: freebsd-hackers Subject: Setting aside RAM for buffer? 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 need to set aside memory for data. Assuming these kind of buffer is needed, I would like some feed back on the best way to do this. Thanks in advance. 1) set aside memory the kernel does not know about and manage it yourself; a) Issues -- how the hell do I manage/access it? 2) somehow dedicate memory that the kernel knows about with a daemon that never gets swapped? Is that possible with FreeBSD, I assume it is. a) Issues -- how do I keep it from getting swapped? -- Scott Smyth, Senior Developer R&D (770) 446-1332 ssmyth@realminfo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Sep 8 12:15:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA27449 for freebsd-hackers-outgoing; Tue, 8 Sep 1998 12:15:53 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from bingsun1.cc.binghamton.edu (bingsun1.cc.binghamton.edu [128.226.1.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA27441 for ; Tue, 8 Sep 1998 12:15:48 -0700 (PDT) (envelope-from bf20761@binghamton.edu) Received: from localhost (bf20761@localhost) by bingsun1.cc.binghamton.edu (8.8.7/8.6.9) with SMTP id PAA29812; Tue, 8 Sep 1998 15:15:08 -0400 (EDT) Date: Tue, 8 Sep 1998 15:15:07 -0400 (EDT) From: zhihuizhang X-Sender: bf20761@bingsun1 Reply-To: zhihuizhang To: Mike Smith cc: hackers Subject: Re: ffs_blkpref() and cluster_save In-Reply-To: <199809080728.AAA15515@word.smith.net.au> 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, 8 Sep 1998, Mike Smith wrote: > indx refers to the offset of the allocation within the file section. > > bap[] is the table of block addresses within the section. It's used to > locate the previous block in the file in order to make a contiguous > allocation. I am still confused with this small routine: (1) If bap[indx-1]==0 means the previous logical block has not been allocated, does this imply that the file has holes? In this case, we can not make use of information of previous allocation. Since this also implies that we are NOT making contiguous allocation, it is OK to guess by logical block number. (2) bap is actually given as ip->i_db[0] or the last metablock on the path used to access the data block (see ufs_getlbns()) and indx is the offset into bap corresponding to the given logical block number. Its value should be 0..11 or 0..1023. If so, indx has nothing to do with fs_maxbpg. I mean indx % fs->fs_maxbpg is the same thing as indx == 0. The default value of maxbpg is 1024 though. (3) Why we always return the same value fs_fpg*cg + fs_frag for ALL direct blocks (lbn < NDADDR)? Besides, the first fragment address of a chosen cylinder group cg should be fs_fpg * cg, not fs_fpg*cg + fs_frag. By the way, I still can not find where the structure *cluster_save* is defined (I check all the included head files). I hope someone can tell me where it is. Any help is appreciated. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Sep 8 13:27:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA06971 for freebsd-hackers-outgoing; Tue, 8 Sep 1998 13:27:56 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA06960 for ; Tue, 8 Sep 1998 13:27:55 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id NAA00560; Tue, 8 Sep 1998 13:33:43 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199809082033.NAA00560@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: zhihuizhang cc: hackers Subject: Re: ffs_blkpref() and cluster_save In-reply-to: Your message of "Tue, 08 Sep 1998 15:15:07 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 08 Sep 1998 13:33:43 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > On Tue, 8 Sep 1998, Mike Smith wrote: > > > indx refers to the offset of the allocation within the file section. > > > > bap[] is the table of block addresses within the section. It's used to > > locate the previous block in the file in order to make a contiguous > > allocation. > > I am still confused with this small routine: > > (1) If bap[indx-1]==0 means the previous logical block has not been > allocated, does this imply that the file has holes? In this case, we can > not make use of information of previous allocation. Since this also > implies that we are NOT making contiguous allocation, it is OK to guess > by logical block number. Yes, it means that the file has a hole. > (2) bap is actually given as ip->i_db[0] or the last metablock on the path > used to access the data block (see ufs_getlbns()) and indx is the offset > into bap corresponding to the given logical block number. Its value should > be 0..11 or 0..1023. If so, indx has nothing to do with fs_maxbpg. I > mean indx % fs->fs_maxbpg is the same thing as indx == 0. The default > value of maxbpg is 1024 though. I'm not quite sure why the (indx % fs_maxbpg) calculation is there, unless it's intended to short-circuit the case where the allocation should unconditionally move to the next cg.a > (3) Why we always return the same value fs_fpg*cg + fs_frag for ALL direct > blocks (lbn < NDADDR)? Besides, the first fragment address of a chosen > cylinder group cg should be fs_fpg * cg, not fs_fpg*cg + fs_frag. Sorry, I have no idea on this one. Perhaps ask Terry (terry@freebsd.org) and/or Kirk (mckusick@mckusick.com). > By the way, I still can not find where the structure *cluster_save* is > defined (I check all the included head files). I hope someone can tell me > where it is. It doesn't exist. The code referring to it is #ifdef'ed out, although references to pointers to 'struct cluster_save' do exist. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Sep 8 14:41:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA18073 for freebsd-hackers-outgoing; Tue, 8 Sep 1998 14:41:08 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from gatekeeper.ray.com (gatekeeper.ray.com [138.125.162.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA18067 for ; Tue, 8 Sep 1998 14:41:06 -0700 (PDT) (envelope-from moncrg@bt340707.res.ray.com) Received: (mailer@localhost) by gatekeeper.ray.com (8.8.7/8.8.7) id RAA07021 for ; Tue, 8 Sep 1998 17:33:20 -0400 (EDT) Received: from bt340707.res.ray.com/138.125.142.35() by gatekeeper.ray.com id sma.905290426.018191; Tue Sep 8 17:33:48 1998 Received: from bt340707.res.ray.com (localhost [127.0.0.1]) by bt340707.res.ray.com (8.8.8/8.8.7) with ESMTP id RAA00463 for ; Tue, 8 Sep 1998 17:25:30 -0500 (EST) (envelope-from moncrg@bt340707.res.ray.com) Message-ID: <35F5AED9.FA51C6@bt340707.res.ray.com> Date: Tue, 08 Sep 1998 17:25:30 -0500 From: "Gregory D. Moncreaff" X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.7-RELEASE i386) MIME-Version: 1.0 To: hackers Subject: snoop device, watch, non superuser access Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG one of my users wants to capture data from one of his ttys, including data that is redirected to it. doing a man -k on tty, only "script" and "watch" seemed useful, but only watch could catch the redirection right now watch only allows superuser access... is it possible that the snp(4)/watch(8) could be updated so that a user could watch any tty that 'belongs' to them (as from ps -aux)? I'm guessing that [tty_snoop.c] could follow the process group chain to see if the requested devices corresponds to them [proc.h] comments, suggestions? -- Greg Moncreaff, Senior Software Engineer, CNS/ATN Raytheon Systems Company, Mailstop 2.2.2507 Raytheon 1001 Boston Post Road East, Marlboro, MA 01752 USA 508.490.2048, 508.490.2086 fax -- Disclaimer: "this is my personal opinion and not that of my employer" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Sep 8 17:45:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA18388 for freebsd-hackers-outgoing; Tue, 8 Sep 1998 17:45:13 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from silver.teardrop.org (silver.teardrop.org [169.197.56.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA18383 for ; Tue, 8 Sep 1998 17:45:12 -0700 (PDT) (envelope-from sno@teardrop.org) Received: from localhost (sno@localhost) by silver.teardrop.org (8.x.x/8.x.x) with SMTP id RAA26284 for ; Tue, 8 Sep 1998 17:45:01 -0700 (MST) Date: Tue, 8 Sep 1998 17:45:01 -0700 (MST) From: James Snow To: freebsd-hackers@FreeBSD.ORG Subject: ptys and Network Sockets 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 apologize before hand for what is going to be somewhat of a newbie question. I'm writing a network server for whose clients I would like to a provide a curses-based UI, but without providing a login shell on the machine running this server. (Need public access to this server.) My understanding is that in order for curses-based screen control to work, I need the functionality of a pseudo-terminal, as called by rlogind or telnetd or sshd or anything else through which one can launch pine or ircii or anything else with a pretty interface. So, a connection comes in via a network socket, (piece of cake) but how and where does it get bound to, transferred to, transformed into, transmogrifed, whatever the appropriate terminology is, a pseudo-terminal? Telnetd seems to have some home-brewed routines for doing this, and I'd like to go with the one provided by FreeBSD if possible. I believe this is forkpty, and it's called by rlogind, but I can't see where in rlogind the network socket and the pty come together and live happily ever after. I feel like I'm really close to the answer to this, I just need a push in the right direction. If anyone knows of any guides that explain this (hopefully in detail) or would be willing to explain this to me, I'd love to hear from you. Thanks in advance, and sorry again for the newbie question. -James Snow / - - - - - - - - - - - - - - - - - - - - - - - - - - - \ | We live in the short term, | org dot teardrop at sno | | and hope for the best. | I am Geek. Hear me ^G. | \ - - - - - - - - - - - - - - - - - - - - - - - - - - - / To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Sep 8 18:40:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA26221 for freebsd-hackers-outgoing; Tue, 8 Sep 1998 18:40:09 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from artemis.syncom.net (artemis.syncom.net [206.64.31.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA26096 for ; Tue, 8 Sep 1998 18:39:59 -0700 (PDT) (envelope-from cyouse@artemis.syncom.net) Received: from localhost (localhost [[UNIX: localhost]]) by artemis.syncom.net (8.8.8/8.8.8) with SMTP id VAA02286; Tue, 8 Sep 1998 21:51:08 -0400 (EDT) Date: Tue, 8 Sep 1998 21:51:08 -0400 (EDT) From: Charles Youse To: James Snow cc: freebsd-hackers@FreeBSD.ORG Subject: Re: ptys and Network Sockets 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, 8 Sep 1998, James Snow wrote: > I feel like I'm really close to the answer to this, I just need a push in > the right direction. If anyone knows of any guides that explain this > (hopefully in detail) or would be willing to explain this to me, I'd love > to hear from you. A good reference for most advanced topics of this sort is: _Advanced Programming in the UNIX Environment_ W. Richard Stevens Addison-Wesley, 1993 ISBN: 0-201-56317-7 This covers the topic of ptys, both for SVR4 and BSD, in plenty of detail, as well as a host of other topics... Chuck Youse cyouse@syncom.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 00:16:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA29772 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 00:16:58 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns.online.samara.ru (SamaraOnline.customers.samara.net [195.128.128.206]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA29764 for ; Wed, 9 Sep 1998 00:16:44 -0700 (PDT) (envelope-from igor@ns.online.samara.ru) Received: (from igor@localhost) by ns.online.samara.ru (8.8.8/8.8.5) id MAA26974 for freebsd-hackers@freebsd.org; Wed, 9 Sep 1998 12:11:33 GMT To: freebsd-hackers@FreeBSD.ORG Message-ID: Organization: Cronyx Ltd. From: "System Administrator" Date: Wed, 9 Sep 98 12:11:33 +0000 X-Mailer: BML [UNIX Beauty Mail v.1.39] Subject: breakpoint on i/o Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I need breakpoint on i/o in kernel Can I doing this in ddb (and how), or exist another way ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 01:56:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA09079 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 01:56:29 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA09074 for ; Wed, 9 Sep 1998 01:56:25 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id SAA26822; Wed, 9 Sep 1998 18:25:57 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id SAA05880; Wed, 9 Sep 1998 18:25:52 +0930 (CST) Message-ID: <19980909182552.L583@freebie.lemis.com> Date: Wed, 9 Sep 1998 18:25:52 +0930 From: Greg Lehey To: System Administrator , freebsd-hackers@FreeBSD.ORG Subject: Re: breakpoint on i/o References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from System Administrator on Wed, Sep 09, 1998 at 12:11:33PM +0000 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday, 9 September 1998 at 12:11:33 +0000, System Administrator wrote: > I need breakpoint on i/o in kernel > Can I doing this in ddb (and how), No. > or exist another way ? I have a debugger which does this. Unfortunately, I never finished porting it to FreeBSD (it worked under BSD/386 version 1). I don't know of any other debugger which will perform this function. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 02:46:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA13685 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 02:46:15 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from iclub.nsu.ru (iclub.nsu.ru [193.124.222.66]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA13649 for ; Wed, 9 Sep 1998 02:45:43 -0700 (PDT) (envelope-from fjoe@iclub.nsu.ru) Received: from localhost (fjoe@localhost) by iclub.nsu.ru (8.8.8/8.8.5) with SMTP id QAA07579 for ; Wed, 9 Sep 1998 16:49:33 +0700 (NSS) Date: Wed, 9 Sep 1998 16:49:33 +0700 (NSS) From: Max Khon To: freebsd-hackers@FreeBSD.ORG Subject: AMD PCnet/PCI support is broken in both -current and -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 hi, there! we've got IBM Ethernet Adapters based on AMD PCnet/PCI. due to last changes in if_lnc.c they are not attached during boot. yes, they are probed successfully but do not get attached because driver thinks they are Hitachi Am79C970 (they have _the_same_ chip_id) and avoids attaching them. (they are probed and attached fine with if_lnc.c 1.43/1.28.2.4) i do not have those Hitachi Am79C970 cards so I can't patch driver to support both. === dmesg === Copyright (c) 1992-1998 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-CURRENT #0: Wed Sep 9 15:15:31 NSS 1998 fjoe@ws10.iclub.nsu.ru:/usr/src/sys/compile/GENERICupgrade Timecounter "i8254" frequency 1193182 Hz cost 2668 ns CPU: Pentium/P54C (99.72-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x526 Stepping=6 Features=0x1bf real memory = 33554432 (32768K bytes) avail memory = 29958144 (29256K bytes) Probing for devices on PCI bus 0: chip0: rev 0x02 on pci0.0.0 chip1: rev 0x02 on pci0.7.0 vga0: rev 0x00 int a irq 255 on pci0.8.0 lnc1: rev 0x16 int a irq 11 on pci0.19.0 lnc: pcnet_probe lnc: chip_id & AMD_MASK == 00000003 lnc: (chip_id >> 12) & PART_MASK == 00002621 lnc: ne2100_probe Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ed0 not found at 0x280 fe0 not found at 0x300 sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A lpt0 at 0x3bc-0x3c3 irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface lpt1 not found mse0 not found at 0x23c psm0 at 0x60-0x64 irq 12 on motherboard psm0: model Generic PS/2 mouse, device ID 0 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 814MB (1667232 sectors), 1654 cyls, 16 heads, 63 S/T, 512 B/S wdc0: unit 1 (wd1): wd1: 814MB (1667232 sectors), 1654 cyls, 16 heads, 63 S/T, 512 B/S wdc1 not found at 0x170 bt0 not found at 0x330 uha0 not found at 0x330 aha0 not found at 0x330 aic0 not found at 0x340 nca0 not found at 0x1f88 nca1 not found at 0x350 sea0 not found wt0 not found at 0x300 mcd0 not found at 0x300 matcdc0 not found at 0x230 scd0 not found at 0x230 ie0: unknown board_id: f000 ie0 not found at 0x300 ep0 not found at 0x300 ex0 not found le0 not found at 0x300 lnc0 not found at 0x280 ze0 not found at 0x300 zp0 not found at 0x300 cs0 not found at 0x300 npx0 on motherboard npx0: INT 16 interface Intel Pentium F00F detected, installing workaround struct nfsuid bloated (> 128bytes) Try unionizing the nu_nickname and nu_flag fields changing root device to wd1s1a WARNING: / was not properly dismounted. WARNING: R/W mount of / denied. Filesystem is not clean - run fsck. === cut here === /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 03:10:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA16231 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 03:10:57 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from manchester.genrad.com (x229.genrad.co.uk [195.99.3.229]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA16223 for ; Wed, 9 Sep 1998 03:10:56 -0700 (PDT) (envelope-from swindellsr@genrad.co.uk) Date: Wed, 9 Sep 1998 03:10:56 -0700 (PDT) Message-Id: <199809091010.DAA16223@hub.freebsd.org> Received: from CDP275.uk.genrad.com by manchester.genrad.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.0.1460.8) id RRCMGAYY; Wed, 9 Sep 1998 11:10:48 +0100 From: Robert Swindells To: fjoe@iclub.nsu.ru CC: freebsd-hackers@FreeBSD.ORG In-reply-to: (message from Max Khon on Wed, 9 Sep 1998 16:49:33 +0700 (NSS)) Subject: Re: AMD PCnet/PCI support is broken in both -current and -stable Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >we've got IBM Ethernet Adapters based on AMD PCnet/PCI. >due to last changes in if_lnc.c they are not attached during boot. >yes, they are probed successfully but do not get attached because >driver thinks they are Hitachi Am79C970 (they have _the_same_ chip_id) >and avoids attaching them. (they are probed and attached fine with >if_lnc.c 1.43/1.28.2.4) >i do not have those Hitachi Am79C970 cards so I can't patch driver >to support both. See kern/7511 for a patch to -stable to fix this. 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 Sep 9 04:04:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA23891 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 04:04:25 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from gilgamesch.bik-gmbh.de (gilgamesch.bik-gmbh.de [194.233.237.91]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA23886 for ; Wed, 9 Sep 1998 04:04:21 -0700 (PDT) (envelope-from cracauer@gilgamesch.bik-gmbh.de) Received: (from cracauer@localhost) by gilgamesch.bik-gmbh.de (8.8.8/8.7.3) id NAA20661; Wed, 9 Sep 1998 13:05:42 +0200 (MET DST) Message-ID: <19980909130542.A20353@cons.org> Date: Wed, 9 Sep 1998 13:05:42 +0200 From: Martin Cracauer To: "Justin T. Gibbs" , hackers@FreeBSD.ORG Subject: Re: Slow rewrite speed in Bonnie References: <199809051721.LAA15549@pluto.plutotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.1i In-Reply-To: <199809051721.LAA15549@pluto.plutotech.com>; from Justin T. Gibbs on Sat, Sep 05, 1998 at 11:15:24AM -0600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In <199809051721.LAA15549@pluto.plutotech.com>, Justin T. Gibbs wrote: > Can anyone explain this? > > # bonnie -s 1024 > Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done... > -------Sequential Output-------- ---Sequential Input-- --Random-- > -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- > Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU > 1024 18766 96.6 55157 89.3 8921 18.2 16883 97.4 62554 70.7 337.9 5.3 Maybe the system doesn't do readahead when it recognizes that the first/every read is immedeatly followed by a lseek? Is this a maschine with > 1024 MB RAM? Nice box, in any case :-) Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://www.cons.org/cracauer BSD User Group Hamburg, Germany http://www.bsdhh.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 04:39:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA28170 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 04:39:43 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from cheops.anu.edu.au (cheops.anu.edu.au [150.203.224.24]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA28165 for ; Wed, 9 Sep 1998 04:39:40 -0700 (PDT) (envelope-from avalon@coombs.anu.edu.au) Message-Id: <199809091139.EAA28165@hub.freebsd.org> Received: by cheops.anu.edu.au (1.37.109.16/16.2) id AA258181169; Wed, 9 Sep 1998 21:39:29 +1000 From: Darren Reed Subject: 2.2.6 zp/tcp fuckups. To: hackers@FreeBSD.ORG Date: Wed, 9 Sep 1998 21:39:29 +1000 (EST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG okay, a few of you will remember by griping about tcp performance on a laptop with the 3c589d card. well, now I get to experience it all again. right now I have: * a box which can't ping, error message: ping:sendto:No buffer space available * can't be pinged * froze during an ftp * has two non-closed tcp connections, one with a Send-Q of 17520 (CLOSING) and the other has a Send-Q of 106 (LAST_ACK) * netstat -m tells me I have 112 mbufs in use, 34k of which is allocated to network (94%), 64 are for data, 45 for headers, 2 for pcb's, 1 for socket names/addresses and 9/10 mbuf clusers in use. It also says there have been no denials or delays and 0 calls to the drain routines. As far as networking is concerned, the box is fucked. The only hope I have (and what I am doing) to make it work is to reboot. After the reboot... Attempting to ftp to it from solaris resulted in this: 200 PORT command successful. 150 Opening BINARY mode data connection for 'p1' (100663296 bytes). netin: Connection reset by peer 421 Service not available, remote server has closed connection Lost connection No control connection for command: Error 0 No control connection for command: Error 0 ftp> (no, I didn't hit ^C or run anything else, just let it "happen"). if I run "tcpdump -p" on a screen, it seems work okay. btw, I'm quite prepared to blame the zp driver - it fails to properly detect the device when I boot up FreeBSD after running Windows 95. Requires a cold boot to make the card detectable (to FreeBSD) again. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 04:55:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA00159 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 04:55:05 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mail.enter.net (mail.enter.net [204.170.70.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA00154 for ; Wed, 9 Sep 1998 04:55:04 -0700 (PDT) (envelope-from dh@enter.net) Received: from dh (m44pburg-1-26.enter.net [204.170.220.84]) by mail.enter.net (8.8.8/8.8.8) with SMTP id HAA23060 for ; Wed, 9 Sep 1998 07:54:55 -0400 (EDT) Message-ID: <000301bddbe8$70359fa0$0300a8c0@dh.athome.net> From: "Daniel Hauer" To: Subject: Help with tunneling..... Date: Wed, 9 Sep 1998 07:53:18 -0400 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 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi All, As a supervisor for an ISP, I have a need to tunnel to an NT server (piece of shit) on our local office lan. I run a four machine network here at home, 3 are windoze boxes, with the fourth running FreeBSD 227-RELEASE. I run usr PPP with the -auto -alias switches, and it works extremely well as the gateway for the other boxes. I can successfully build a PPTP tunnel if I do a straight dial-up from the windoze boxes into any of our terminal servers. However, if I attempt to tunnel through the FreeBSD box, it gets past verifying username and password, and then errors out with "network not responding". It appears PPP is not passing mickysoft's GRE protocol 47, as in the tcpdump below as the connection is made: (FreeBSD):/etc/ppp> ping 204.170.16.6 PING 204.170.16.6 (204.170.16.6): 56 data bytes 64 bytes from 204.170.16.6: icmp_seq=0 ttl=123 time=156.393 ms 64 bytes from 204.170.16.6: icmp_seq=1 ttl=123 time=150.196 ms 64 bytes from 204.170.16.6: icmp_seq=2 ttl=123 time=130.257 ms ^C --- 204.170.16.6 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 130.257/145.615/156.393/11.151 ms (FreeBSD):/etc/ppp> tcpdump -i tun0 -n tcpdump: listening on tun0 07:48:49.222167 192.168.0.3.1138 > 204.170.16.6.1723: S 45394131:45394131(0) win 8192 < mss 1460,nop,nop,sackOK> (DF) 07:48:49.360187 204.170.16.6.1723 > 192.168.0.3.1138: S 84804242:84804242(0) ack 453941 32 win 8760 (DF) 07:48:49.360979 192.168.0.3.1138 > 204.170.16.6.1723: . ack 1 win 8760 (DF) 07:48:49.361257 192.168.0.3.1138 > 204.170.16.6.1723: P 1:157(156) ack 1 win 8760 (DF) 07:48:49.600241 204.170.16.6.1723 > 192.168.0.3.1138: P 1:157(156) ack 157 win 8604 (DF ) 07:48:49.601315 192.168.0.3.1138 > 204.170.16.6.1723: P 157:325(168) ack 157 win 8604 ( DF) 07:48:49.810235 204.170.16.6.1723 > 192.168.0.3.1138: P 157:189(32) ack 325 win 8436 (D F) 07:48:49.843613 192.168.0.3 > 204.170.16.6: ip-proto-47 39 07:48:50.005754 192.168.0.3.1138 > 204.170.16.6.1723: . ack 189 win 8572 (DF) 07:48:52.845139 192.168.0.3 > 204.170.16.6: ip-proto-47 39 07:49:00.958484 192.168.0.3 > 204.170.16.6: ip-proto-47 39 07:49:06.157396 192.168.0.3 > 204.170.16.6: ip-proto-47 39 07:49:11.356350 192.168.0.3 > 204.170.16.6: ip-proto-47 36 Any thoughts or helpful advice? Thank you in advance! Daniel Hauer ************************************************************************ Visit http://www.enter.net !! This Message Sent To You from a Network Powered By FreeBSD! Windoze is for GAMES, UNIX is for the rest of us. Chew On That, Mr. Gates! ************************************************************************ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 05:14:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA02539 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 05:14:40 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from relay13.jaring.my (relay13.jaring.my [192.228.128.124]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA02534 for ; Wed, 9 Sep 1998 05:14:38 -0700 (PDT) (envelope-from kachapi@pd.jaring.my) Received: from jaring (j14.jhb58.jaring.my [161.142.214.148]) by relay13.jaring.my (8.8.8/8.8.7) with SMTP id UAA15321 for ; Wed, 9 Sep 1998 20:14:29 +0800 (MYT) Message-ID: <002b01bddb86$cb182620$94d68ea1@jaring.jaring.my> Reply-To: "Vinodh Das" From: "Vinodh Das" To: Date: Wed, 9 Sep 1998 08:14:17 +0800 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 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG auth 103894ac subscribe freebsd-hackers kachapi@pd.jaring.my To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 05:25:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA03630 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 05:25:44 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mrelay.jrc.it (mrelay.jrc.it [139.191.1.65]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA03625 for ; Wed, 9 Sep 1998 05:25:41 -0700 (PDT) (envelope-from nick.hibma@jrc.it) Received: from elect8 (elect8.jrc.it [139.191.71.152]) by mrelay.jrc.it (LMC5692) with SMTP id OAA15648; Wed, 9 Sep 1998 14:25:21 +0200 (MET DST) Date: Wed, 9 Sep 1998 14:25:17 +0200 (MET DST) From: Nick Hibma X-Sender: n_hibma@elect8 Reply-To: Nick Hibma To: Darren Reed cc: FreeBSD hackers mailing list Subject: Re: 2.2.6 zp/tcp fuckups. In-Reply-To: <199809091139.EAA28165@hub.freebsd.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 Hint, install PAO http://pia.plaza.hitachi-sk.co.jp/ftp/FreeBSD-jp/PAO/ and you will have proper PCMCIA support, with which you can plug in and plug out the network card if needed. Second, you can easily combine things with DHCP to have a properly configured laptop as soon as you switch on the machine/resume the machine. Nick -- building: 27A address: STA-ISIS, T.P.270, Joint Research Centre, 21020 Ispra, Italy tel.: +39 332 78 9549 fax.: +39 332 78 9185 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 05:31:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA04255 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 05:31:55 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA04245 for ; Wed, 9 Sep 1998 05:31:34 -0700 (PDT) (envelope-from dag-erli@ifi.uio.no) Received: from hrotti.ifi.uio.no (2602@hrotti.ifi.uio.no [129.240.64.15]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with ESMTP id OAA05737; Wed, 9 Sep 1998 14:31:13 +0200 (MET DST) Received: (from dag-erli@localhost) by hrotti.ifi.uio.no ; Wed, 9 Sep 1998 14:31:13 +0200 (MET DST) Mime-Version: 1.0 To: Darren Reed Cc: hackers@FreeBSD.ORG Subject: Re: 2.2.6 zp/tcp fuckups. References: <199809091139.EAA28165@hub.freebsd.org> Organization: University of Oslo, Department of Informatics X-url: http://www.stud.ifi.uio.no/~dag-erli/ X-other-addresses: 'finger dag-erli@ifi.uio.no' for a list X-disclaimer-1: The views expressed in this article are mine alone, and do X-disclaimer-2: not necessarily coincide with those of any organisation or X-disclaimer-3: company with which I am or have been affiliated. X-Stop-Spam: http://www.cauce.org/ From: dag-erli@ifi.uio.no (Dag-Erling =?iso-8859-1?Q?Co=EFdan?= =?iso-8859-1?Q?Sm=F8rgrav?= ) Date: 09 Sep 1998 14:31:12 +0200 In-Reply-To: Darren Reed's message of "Wed, 9 Sep 1998 21:39:29 +1000 (EST)" Message-ID: Lines: 15 X-Mailer: Gnus v5.5/Emacs 19.34 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id FAA04251 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Darren Reed writes: > right now I have: > * a box which can't ping, error message: > ping:sendto:No buffer space available > * can't be pinged > * froze during an ftp > * has two non-closed tcp connections, one with a Send-Q of 17520 (CLOSING) > and the other has a Send-Q of 106 (LAST_ACK) and 'ifconfig zp0' shows the OACTIVE flag is set. Just 'ifconfig xp0 up' and everything will be all right again. DES -- Dag-Erling Smψrgrav - dag-erli@ifi.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 05:36:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA04991 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 05:36:37 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from cheops.anu.edu.au (cheops.anu.edu.au [150.203.224.24]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA04956 for ; Wed, 9 Sep 1998 05:36:33 -0700 (PDT) (envelope-from avalon@coombs.anu.edu.au) Message-Id: <199809091236.FAA04956@hub.freebsd.org> Received: by cheops.anu.edu.au (1.37.109.16/16.2) id AA265314569; Wed, 9 Sep 1998 22:36:10 +1000 From: Darren Reed Subject: Re: 2.2.6 zp/tcp fuckups. To: nick.hibma@jrc.it Date: Wed, 9 Sep 1998 22:36:09 +1000 (EST) Cc: hackers@FreeBSD.ORG In-Reply-To: from "Nick Hibma" at Sep 9, 98 02:25:17 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In some mail from Nick Hibma, sie said: > > > Hint, install PAO > > http://pia.plaza.hitachi-sk.co.jp/ftp/FreeBSD-jp/PAO/ > > and you will have proper PCMCIA support, with which you can plug in and > plug out the network card if needed. I don't need to or want to do this. > Second, you can easily combine things with DHCP to have a properly > configured laptop as soon as you switch on the machine/resume the > machine. Again, I don't need or want to do this. I'm not having *any* problems which the above would solve (AFAIK). Darren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 05:56:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA07267 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 05:56:03 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from alpha.netvision.net.il (alpha.netvision.net.il [194.90.1.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA07197 for ; Wed, 9 Sep 1998 05:55:55 -0700 (PDT) (envelope-from ycs@netvision.net.il) Received: from netvision.net.il (RAS2-p18.hfa.netvision.net.il [62.0.145.146]) by alpha.netvision.net.il (8.8.6/8.8.6) with ESMTP id OAA04994 for ; Wed, 9 Sep 1998 14:54:39 +0300 (IDT) Message-ID: <35F66CE1.347AAE45@netvision.net.il> Date: Wed, 09 Sep 1998 14:56:17 +0300 From: Yoav Cohen-Sivan X-Mailer: Mozilla 4.5b1 [en] (X11; I; FreeBSD 2.2.7-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.ORG Subject: sio FIFO overflow? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I think I am seeig FIFO overflows during 115200 bps transfers on a serial port. Especially with heavy disk activity. Is there a way to flag FIFO overflows, and is there a way to check interrupt latency? I've been seeing randomly-timed link lockups during almost every PPP session I initiate (both kernel and user). The lockups clear after hanging up and redialling. I finally lowered my bps from 115200 to 57600, and voila! lockups have disappeared. I've spent the better part of the past 3 days banging on the link (and my phone bill) like there's no tomorrow. The lockups were usually during heavy link and system use, and I'm thinking the serial FIFO was overflowing, but the sio driver latency was too great to respond in time. Could this have caused some corrupted packets to be sent to my ISP (using Cisco 5200 equipment), causing it to ignore me for the duration of the session? Yoav To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 06:00:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA07984 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 06:00:48 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from iclub.nsu.ru (iclub.nsu.ru [193.124.222.66]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA07971 for ; Wed, 9 Sep 1998 06:00:39 -0700 (PDT) (envelope-from fjoe@iclub.nsu.ru) Received: from localhost (fjoe@localhost) by iclub.nsu.ru (8.8.8/8.8.5) with SMTP id UAA10800 for ; Wed, 9 Sep 1998 20:04:30 +0700 (NSS) Date: Wed, 9 Sep 1998 20:04:29 +0700 (NSS) From: Max Khon To: freebsd-hackers@FreeBSD.ORG Subject: Re: AMD PCnet/PCI support is broken in both -current and -stable In-Reply-To: <199809091012.RAA26433@mx.nsu.ru> 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, there! On Wed, 9 Sep 1998, Robert Swindells wrote: > >we've got IBM Ethernet Adapters based on AMD PCnet/PCI. > >due to last changes in if_lnc.c they are not attached during boot. > >yes, they are probed successfully but do not get attached because > >driver thinks they are Hitachi Am79C970 (they have _the_same_ chip_id) > >and avoids attaching them. (they are probed and attached fine with > >if_lnc.c 1.43/1.28.2.4) > >i do not have those Hitachi Am79C970 cards so I can't patch driver > >to support both. > > See kern/7511 for a patch to -stable to fix this. wow, thanx. i have successfully applied that patch to -current version of if_lnc driver. If someone is interested in patch for -current it can be found at http://iclub.nsu.ru/~fjoe (i don't think it is worth submitting another PR) /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 06:19:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA10843 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 06:19:17 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA10838 for ; Wed, 9 Sep 1998 06:19:16 -0700 (PDT) (envelope-from jkh@time.cdrom.com) Received: from time.cdrom.com (jkh@localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.8/8.8.8) with ESMTP id GAA12139; Wed, 9 Sep 1998 06:17:19 -0700 (PDT) (envelope-from jkh@time.cdrom.com) To: Robert Swindells cc: fjoe@iclub.nsu.ru, freebsd-hackers@FreeBSD.ORG Subject: Re: AMD PCnet/PCI support is broken in both -current and -stable In-reply-to: Your message of "Wed, 09 Sep 1998 03:10:56 PDT." <199809091010.DAA16223@hub.freebsd.org> Date: Wed, 09 Sep 1998 06:17:19 -0700 Message-ID: <12135.905347039@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > See kern/7511 for a patch to -stable to fix this. OK, I'll commit this one. BTW, the patch wasn't actually effectively tested - you need to do a LINT compile test against any new kernel change to make sure it at least compiles in LINT. In this case, since you'd removed PCNET_VSW from if_lnc.h, one of the #ifdef DIAGNOSTIC cases in if_lnc.c began failing to compile. Since LINT defines DIAGNOSTIC, a quick compile check of LINT would have turned this up immediately. Just FYI. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 08:32:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA28715 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 08:32:28 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from brooklyn.slack.net (brooklyn.slack.net [206.41.21.102]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA28710 for ; Wed, 9 Sep 1998 08:32:25 -0700 (PDT) (envelope-from andrewr@brooklyn.slack.net) Received: from localhost (andrewr@localhost) by brooklyn.slack.net (8.8.7/8.8.7) with SMTP id LAA21737; Wed, 9 Sep 1998 11:32:52 -0400 (EDT) Date: Wed, 9 Sep 1998 11:32:52 -0400 (EDT) From: andrewr To: Darren Reed cc: hackers@FreeBSD.ORG Subject: Re: 2.2.6 zp/tcp fuckups. In-Reply-To: <199809091139.EAA28165@hub.freebsd.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 Im sorry, but 226 seems to be working fine for everyone but you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 09:33:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA06861 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 09:33:38 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from plains.NoDak.edu (plains.NoDak.edu [134.129.111.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA06856 for ; Wed, 9 Sep 1998 09:33:36 -0700 (PDT) (envelope-from tinguely@plains.NoDak.edu) Received: (from tinguely@localhost) by plains.NoDak.edu (8.8.8/8.8.8) id LAA19144; Wed, 9 Sep 1998 11:32:11 -0500 (CDT) Date: Wed, 9 Sep 1998 11:32:11 -0500 (CDT) From: Mark Tinguely Message-Id: <199809091632.LAA19144@plains.NoDak.edu> To: dh@enter.net, hackers@FreeBSD.ORG Subject: Re: Help with tunneling..... Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I can successfully build a PPTP tunnel if I > do a straight dial-up from the windoze boxes into any of our terminal > servers. However, if I attempt to tunnel through the FreeBSD box, it gets > past verifying username and password, and then errors out with "network not > responding". It appears PPP is not passing mickysoft's GRE protocol 47, as > in the tcpdump below as the connection is made: user PPP does not pass many protocol types especially through the aliasing code. Since I wanted to run a multicast router on the local PPP gateway, I had to bypass the aliasing code for the IGMP and IPIP tunnel packets. see: ftp://ftp.cs.ndsu.nodak.edu/pub/freebsd/misc/pppp_igmp.diff you want to tunnel out the IPPROTO_GRE packets through the aliasing code, so you will also need to add to the aliasing section, which I did not need to do. good luck. --mark. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 09:47:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA09578 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 09:47:49 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from pluto.plutotech.com (mail.plutotech.com [206.168.67.137]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA09573 for ; Wed, 9 Sep 1998 09:47:48 -0700 (PDT) (envelope-from gibbs@plutotech.com) Received: from narnia.plutotech.com (narnia.plutotech.com [206.168.67.130]) by pluto.plutotech.com (8.8.7/8.8.5) with ESMTP id KAA09539; Wed, 9 Sep 1998 10:46:55 -0600 (MDT) Message-Id: <199809091646.KAA09539@pluto.plutotech.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Martin Cracauer cc: "Justin T. Gibbs" , hackers@FreeBSD.ORG Subject: Re: Slow rewrite speed in Bonnie In-reply-to: Your message of "Wed, 09 Sep 1998 13:05:42 +0200." <19980909130542.A20353@cons.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 09 Sep 1998 10:40:49 -0600 From: "Justin T. Gibbs" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Is this a maschine with > 1024 MB RAM? Nice box, in any case :-) Nope. PII-350 with 256MB of ram and 4 Cheetah 4.5G LVD drives in a CCD array. The ~60MB/s numbers are for real disk I/O. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 09:57:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA11398 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 09:57:36 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA11391 for ; Wed, 9 Sep 1998 09:57:34 -0700 (PDT) (envelope-from jkh@time.cdrom.com) Received: from time.cdrom.com (jkh@localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.8/8.8.8) with ESMTP id JAA13088; Wed, 9 Sep 1998 09:57:04 -0700 (PDT) (envelope-from jkh@time.cdrom.com) To: andrewr cc: Darren Reed , hackers@FreeBSD.ORG Subject: Re: 2.2.6 zp/tcp fuckups. In-reply-to: Your message of "Wed, 09 Sep 1998 11:32:52 EDT." Date: Wed, 09 Sep 1998 09:57:04 -0700 Message-ID: <13083.905360224@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Im sorry, but 226 seems to be working fine for everyone but you. I'm not sure if that kinda remark is going to help here, especially with someone as easily combustible as Darren Reed. It's probably more correct to say that Darren is trying to use a PCCARD driver which COMPLETELY SUCKS (and the ze/zp drivers are already well known to fall into that category, especially considering what hacks they were on the old ed/ep drivers) and his results are not all that particularly surprising. At least the PAO code lets you use the mainstream drivers for PCCARD devices, e.g. the ed/ep drivers themselves rather than older hacked versions of them that have long since been considered obsolete. If it weren't for the fact that the z? drivers still have some residual value as installation media, they'd have probably been chopped out of the system with a fire axe long ago. And no, there's nobody currently working on integrating the PAO code in their place. I wish there was. Tatsumi Hosokawa was given commit privs so that he'd be able to do so, in fact, but then he was eaten by a wooly mammoth* which escaped the advanced hibernation studies facility at the University of Tokyo and we sort of lost that opportunity. Anyone else wishing to pick it up in the interim would be MORE than welcome to do so, yes indeedy. - Jordan * Yes, I know wooly mammoths are herbivores. The entire incident was very mysterious. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 10:34:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA16114 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 10:34:54 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from fledge.watson.org (COPLAND.CODA.CS.CMU.EDU [128.2.222.48]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA16109 for ; Wed, 9 Sep 1998 10:34:52 -0700 (PDT) (envelope-from robert@cyrus.watson.org) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.8.8/8.8.8) with SMTP id NAA22151; Wed, 9 Sep 1998 13:34:36 -0400 (EDT) Date: Wed, 9 Sep 1998 13:34:36 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org Reply-To: Robert Watson To: Darren Reed cc: hackers@FreeBSD.ORG Subject: Re: 2.2.6 zp/tcp fuckups. In-Reply-To: <199809091139.EAA28165@hub.freebsd.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 had similar problems with zp under both 2.2.x and 3.x. I eventually switched to the ep driver with the pccard support. I no longer suffer from my ethernet device going down and having to be re-up'd; however, I now suffer from the pccard driver. Things are fine until I suspend -- then, sometimes, it is unable to allocate the driver again resulting in an inability to network at all. If I have two ep lines in the kernel config, then it allocates the second (ep1) at that point instead. This causes many problems if I have two 3com cards in the machine (which is a case the current pccard does not handle well at all). On the other hand, I do not have neither the time to fix this, nor the time to gain the expertise to fix this. :) Robert Watson On Wed, 9 Sep 1998, Darren Reed wrote: > > okay, a few of you will remember by griping about tcp performance > on a laptop with the 3c589d card. > > well, now I get to experience it all again. > > right now I have: > * a box which can't ping, error message: > ping:sendto:No buffer space available > * can't be pinged > * froze during an ftp > * has two non-closed tcp connections, one with a Send-Q of 17520 (CLOSING) > and the other has a Send-Q of 106 (LAST_ACK) > > * netstat -m tells me I have 112 mbufs in use, 34k of which is allocated to > network (94%), 64 are for data, 45 for headers, 2 for pcb's, 1 for > socket names/addresses and 9/10 mbuf clusers in use. It also says there > have been no denials or delays and 0 calls to the drain routines. > > As far as networking is concerned, the box is fucked. The only hope I have > (and what I am doing) to make it work is to reboot. > > After the reboot... > Attempting to ftp to it from solaris resulted in this: > > 200 PORT command successful. > 150 Opening BINARY mode data connection for 'p1' (100663296 bytes). > netin: Connection reset by peer > 421 Service not available, remote server has closed connection > Lost connection > No control connection for command: Error 0 > No control connection for command: Error 0 > ftp> > > (no, I didn't hit ^C or run anything else, just let it "happen"). > > if I run "tcpdump -p" on a screen, it seems work okay. > > btw, I'm quite prepared to blame the zp driver - it fails to properly > detect the device when I boot up FreeBSD after running Windows 95. > Requires a cold boot to make the card detectable (to FreeBSD) again. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > Robert N Watson Carnegie Mellon University http://www.cmu.edu/ TIS Labs at Network Associates, Inc. http://www.tis.com/ SafePort Network Services http://www.safeport.com/ robert@fledge.watson.org http://www.watson.org/~robert/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 11:15:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA21445 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 11:15:05 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id LAA21413; Wed, 9 Sep 1998 11:14:51 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id SAA18286; Wed, 9 Sep 1998 18:22:02 +0200 From: Luigi Rizzo Message-Id: <199809091622.SAA18286@labinfo.iet.unipi.it> Subject: dummynet now down to the bridging layer... To: net@FreeBSD.ORG Date: Wed, 9 Sep 1998 18:22:02 +0200 (MET DST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I just finished the integration of dummynet and the bridging code, and now you can do bandwidth limitation at the bridging level (this means that you can put a dummynet-enabled bridge in the middle of an ethernet cable without having to reconfigure routes etc.) For those interested to try it, a floppy image is at http://www.iet.unipi.it/~luigi/ip_dummynet/picobsd980909.bin It comes up with userconfig, has pnp support, and drivers for the following cards: ed, de, fxp, vx, lnc the fxp code is untested, so if someone wants to try it out... i don't have such a card at the moment. Before you ask: since the packet filter is ipfw, at the moment you can only control IPv4 traffic -- other passes unchanged. I am considering ipfw extensions to select other traffic basing at least on the ethernet type field. (source code will be available in a few days) cheers luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 11:30:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA24503 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 11:30:27 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA24472 for ; Wed, 9 Sep 1998 11:30:21 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id MAA24951; Wed, 9 Sep 1998 12:30:04 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id MAA15623; Wed, 9 Sep 1998 12:29:36 -0600 Date: Wed, 9 Sep 1998 12:29:36 -0600 Message-Id: <199809091829.MAA15623@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Nick Hibma Cc: Darren Reed , FreeBSD hackers mailing list Subject: Re: 2.2.6 zp/tcp fuckups. In-Reply-To: References: <199809091139.EAA28165@hub.freebsd.org> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hint, install PAO > > http://pia.plaza.hitachi-sk.co.jp/ftp/FreeBSD-jp/PAO/ > > and you will have proper PCMCIA support, with which you can plug in and > plug out the network card if needed. Note, you don't need PAO for this. PCMCIA support is/was in FreeBSD long before PAO existed, they just had patches to make it easier. Most of them (as well as additional patches) are in FreeBSD-stable and -current. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 11:31:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA25013 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 11:31:47 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA24982 for ; Wed, 9 Sep 1998 11:31:43 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id MAA24961; Wed, 9 Sep 1998 12:31:03 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id MAA15637; Wed, 9 Sep 1998 12:31:02 -0600 Date: Wed, 9 Sep 1998 12:31:02 -0600 Message-Id: <199809091831.MAA15637@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Darren Reed Cc: nick.hibma@jrc.it, hackers@FreeBSD.ORG Subject: Re: 2.2.6 zp/tcp fuckups. In-Reply-To: <199809091236.FAA04956@hub.freebsd.org> References: <199809091236.FAA04956@hub.freebsd.org> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > and you will have proper PCMCIA support, with which you can plug in and > > plug out the network card if needed. ... > I don't need to or want to do this. Sure you do. See below. > I'm not having *any* problems which the above would solve (AFAIK). Sure you are. The zp driver sucks, and the ep driver sucks less. But, to get the ep driver to work you have to have the PCMCIA stuff (which exists in FreeBSD, and will work on your box with a little bit of configuration.) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 11:40:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA26995 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 11:40:16 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id LAA26989 for ; Wed, 9 Sep 1998 11:40:15 -0700 (PDT) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0zGp9t-0005Kh-00; Wed, 9 Sep 1998 12:40:01 -0600 Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.1/8.8.3) with ESMTP id MAA04849; Wed, 9 Sep 1998 12:40:56 -0600 (MDT) Message-Id: <199809091840.MAA04849@harmony.village.org> To: Nick Hibma Subject: Re: 2.2.6 zp/tcp fuckups. Cc: Darren Reed , FreeBSD hackers mailing list In-reply-to: Your message of "Wed, 09 Sep 1998 14:25:17 +0200." References: Date: Wed, 09 Sep 1998 12:40:56 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Nick Hibma writes: : and you will have proper PCMCIA support, with which you can plug in and : plug out the network card if needed. -current does this fine for me w/o a hitch. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 11:45:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA27689 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 11:45:21 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id LAA27668 for ; Wed, 9 Sep 1998 11:45:18 -0700 (PDT) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0zGpEm-0005Kq-00; Wed, 9 Sep 1998 12:45:04 -0600 Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.1/8.8.3) with ESMTP id MAA04877; Wed, 9 Sep 1998 12:45:59 -0600 (MDT) Message-Id: <199809091845.MAA04877@harmony.village.org> To: "Jordan K. Hubbard" Subject: Re: 2.2.6 zp/tcp fuckups. Cc: andrewr , Darren Reed , hackers@FreeBSD.ORG In-reply-to: Your message of "Wed, 09 Sep 1998 09:57:04 PDT." <13083.905360224@time.cdrom.com> References: <13083.905360224@time.cdrom.com> Date: Wed, 09 Sep 1998 12:45:58 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <13083.905360224@time.cdrom.com> "Jordan K. Hubbard" writes: : obsolete. If it weren't for the fact that the z? drivers still have : some residual value as installation media, they'd have probably been : chopped out of the system with a fire axe long ago. The ed/ep drivers work with the pcmcia cards in -current. At least that has been my experience with them on my Libretto with its 3c589d. I will admit that I've done an install on this box since I put PAO 2.2.[25]R on the box and then upgraded to -current shortly there after. What use are the z? drivers? Or are they used because the normal install disk doesn't have pccardd running... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 12:17:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA02059 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 12:17:20 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from scotty.masternet.it (scotty.masternet.it [194.184.65.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA02035 for ; Wed, 9 Sep 1998 12:17:04 -0700 (PDT) (envelope-from gmarco@scotty.masternet.it) Received: from gmarco.eclipse.org (modem00.masternet.it [194.184.65.254]) by scotty.masternet.it (8.8.8/8.8.8) with SMTP id VAA03350 for ; Wed, 9 Sep 1998 21:14:20 +0200 (CEST) (envelope-from gmarco@scotty.masternet.it) From: Gianmarco Giovannelli Reply-To: gmarco@giovannelli.it To: hackers@FreeBSD.ORG Subject: Firewall rules ... Date: Wed, 9 Sep 1998 21:15:55 +0200 X-Mailer: KMail [version 0.7.9] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <98090921175004.00755@gmarco.eclipse.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have to set up a firewall for an isp, I'd like to leave the possibility to use icq, realaudio, quake2 and others ... Is someone using some rules that doesn't prevent such applications to work ? Any examples is welcome :-) -- Regards... Gianmarco "Unix expert since yesterday" http://www.giovannelli.it To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 12:54:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA09050 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 12:54:36 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA09045 for ; Wed, 9 Sep 1998 12:54:34 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id MAA00963; Wed, 9 Sep 1998 12:59:06 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199809091959.MAA00963@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Warner Losh cc: "Jordan K. Hubbard" , andrewr , Darren Reed , hackers@FreeBSD.ORG Subject: Re: 2.2.6 zp/tcp fuckups. In-reply-to: Your message of "Wed, 09 Sep 1998 12:45:58 MDT." <199809091845.MAA04877@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 09 Sep 1998 12:59:06 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > The ed/ep drivers work with the pcmcia cards in -current. At least > that has been my experience with them on my Libretto with its 3c589d. > I will admit that I've done an install on this box since I put PAO > 2.2.[25]R on the box and then upgraded to -current shortly there > after. > > What use are the z? drivers? Or are they used because the normal > install disk doesn't have pccardd running... That's the one. We may be able to do something about this for 3.0, but no promises yet. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 13:01:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA10262 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 13:01:47 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from horst.bfd.com (horst.bfd.com [12.9.219.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA10255 for ; Wed, 9 Sep 1998 13:01:46 -0700 (PDT) (envelope-from ejs@bfd.com) Received: from HARLIE.bfd.com (bastion.bfd.com [12.9.219.14]) by horst.bfd.com (8.9.1/8.9.1) with SMTP id NAA20481; Wed, 9 Sep 1998 13:01:16 -0700 (PDT) Date: Wed, 9 Sep 1998 13:01:16 -0700 (PDT) From: "Eric J. Schwertfeger" To: gmarco@giovannelli.it cc: hackers@FreeBSD.ORG Subject: Re: Firewall rules ... In-Reply-To: <98090921175004.00755@gmarco.eclipse.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 Wed, 9 Sep 1998, Gianmarco Giovannelli wrote: > > I have to set up a firewall for an isp, I'd like to leave the possibility to > use icq, realaudio, quake2 and others ... > > Is someone using some rules that doesn't prevent such applications to work ? > > Any examples is welcome :-) Exactly what is the isp trying to achieve with the firewall? Without more specifics, I'd tend to go with a minimally intrusive firewall, based on the following ideas: 1) all outgoing packets from our netblock are allowed (not all packets, just those with our address, to prevent anon packet spoofing. 2) all incoming packets to ports 1-1023 are blocked unless it's a known service that you trust and wish to allow. 3) all incoming packets to ports 1024 an up are allowed unless it's a known problem port (1080, 6000, etc). 4a) blocking outgoing connections to port 25, except your own mail servers, is a very debated point, the idea being to prevent your users from using direct-injection and relay-rape spamware. The idea is that most services default to ports less than 1024 (ie, http=80, telnet=23, smtp=25, etc). These you should block unless you've decided otherwise. (the range, not the specific examples, blocking port 25 will make you unpopular if you block it to your own mail servers). User-invoked programs (web browsers, ICQ,etc) and daemons usually grab ports above 1023 (or is it 1024, have to check my firewall rules), but pose less of a security risk. The user-invoked programs are usually not listening for connections, but making connections on those ports (FTP being an exception), and user run daemons would only be exploitable as that user, not as root, though that could be combined with a local-exploit to gain root. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 13:48:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA16444 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 13:48:15 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA16438 for ; Wed, 9 Sep 1998 13:48:14 -0700 (PDT) (envelope-from jkh@time.cdrom.com) Received: from time.cdrom.com (jkh@localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.8/8.8.8) with ESMTP id NAA13884; Wed, 9 Sep 1998 13:47:47 -0700 (PDT) (envelope-from jkh@time.cdrom.com) To: Warner Losh cc: andrewr , Darren Reed , hackers@FreeBSD.ORG Subject: Re: 2.2.6 zp/tcp fuckups. In-reply-to: Your message of "Wed, 09 Sep 1998 12:45:58 MDT." <199809091845.MAA04877@harmony.village.org> Date: Wed, 09 Sep 1998 13:47:46 -0700 Message-ID: <13881.905374066@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > What use are the z? drivers? Or are they used because the normal > install disk doesn't have pccardd running... Bingo. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 14:35:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA22213 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 14:35:27 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from cheops.anu.edu.au (cheops.anu.edu.au [150.203.224.24]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA22203 for ; Wed, 9 Sep 1998 14:35:25 -0700 (PDT) (envelope-from avalon@coombs.anu.edu.au) Message-Id: <199809092135.OAA22203@hub.freebsd.org> Received: by cheops.anu.edu.au (1.37.109.16/16.2) id AA010136880; Thu, 10 Sep 1998 07:34:40 +1000 From: Darren Reed Subject: Re: 2.2.6 zp/tcp fuckups. To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Thu, 10 Sep 1998 07:34:40 +1000 (EST) Cc: andrewr@slack.net, hackers@FreeBSD.ORG In-Reply-To: <13083.905360224@time.cdrom.com> from "Jordan K. Hubbard" at Sep 9, 98 09:57:04 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In some mail from Jordan K. Hubbard, sie said: [...] > It's probably more > correct to say that Darren is trying to use a PCCARD driver which > COMPLETELY SUCKS (and the ze/zp drivers are already well known to fall > into that category, especially considering what hacks they were on the > old ed/ep drivers) and his results are not all that particularly > surprising. At least the PAO code lets you use the mainstream drivers > for PCCARD devices, e.g. the ed/ep drivers themselves rather than > older hacked versions of them that have long since been considered > obsolete. If it weren't for the fact that the z? drivers still have > some residual value as installation media, they'd have probably been > chopped out of the system with a fire axe long ago. So to hopefully improve the situation, I need to install PAO (pccard driver & pccardd ?) and use the ep driver which results in the card not being detected all the time after being suspended ? Well, the later I can live with as it already doesn't come back to life properly after "apm -z" with a 100% reliability. is that before or after I do the moon dance, painted in goat's blood and smoking funny cigarettes whilst singing chants to some unholy god ? ;) Darren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 15:10:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA27288 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 15:10:28 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA27277 for ; Wed, 9 Sep 1998 15:10:26 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id PAA01614; Wed, 9 Sep 1998 15:15:26 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199809092215.PAA01614@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Darren Reed cc: jkh@time.cdrom.com (Jordan K. Hubbard), andrewr@slack.net, hackers@FreeBSD.ORG Subject: Re: 2.2.6 zp/tcp fuckups. In-reply-to: Your message of "Thu, 10 Sep 1998 07:34:40 +1000." <199809092135.OAA22203@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 09 Sep 1998 15:15:26 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > So to hopefully improve the situation, I need to install PAO (pccard > driver & pccardd ?) and use the ep driver which results in the card > not being detected all the time after being suspended ? Well, the > later I can live with as it already doesn't come back to life properly > after "apm -z" with a 100% reliability. > > is that before or after I do the moon dance, painted in goat's blood > and smoking funny cigarettes whilst singing chants to some unholy god ? ;) Is there any particular reason that you're ignoring the advice that you've been given by myself (twice at least now) and others? You don't need PAO. Stock -current works fine. I have one of these cards; I use it regularly. If you'd shown for dinner the other week, I could have smitten you with a chopstick and made you see sense. As it is, this is much less satisfactory. 8) -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 15:22:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA28785 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 15:22:28 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from cheops.anu.edu.au (cheops.anu.edu.au [150.203.224.24]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA28776 for ; Wed, 9 Sep 1998 15:22:25 -0700 (PDT) (envelope-from avalon@coombs.anu.edu.au) Message-Id: <199809092222.PAA28776@hub.freebsd.org> Received: by cheops.anu.edu.au (1.37.109.16/16.2) id AA013809706; Thu, 10 Sep 1998 08:21:46 +1000 From: Darren Reed Subject: Re: 2.2.6 zp/tcp fuckups. To: mike@smith.net.au (Mike Smith) Date: Thu, 10 Sep 1998 08:21:46 +1000 (EST) Cc: jkh@time.cdrom.com, andrewr@slack.net, hackers@FreeBSD.ORG In-Reply-To: <199809092215.PAA01614@dingo.cdrom.com> from "Mike Smith" at Sep 9, 98 03:15:26 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In some mail from Mike Smith, sie said: > > > So to hopefully improve the situation, I need to install PAO (pccard > > driver & pccardd ?) and use the ep driver which results in the card > > not being detected all the time after being suspended ? Well, the > > later I can live with as it already doesn't come back to life properly > > after "apm -z" with a 100% reliability. > > > > is that before or after I do the moon dance, painted in goat's blood > > and smoking funny cigarettes whilst singing chants to some unholy god ? ;) > > Is there any particular reason that you're ignoring the advice that > you've been given by myself (twice at least now) and others? > > You don't need PAO. Stock -current works fine. I have one of these > cards; I use it regularly. I don't want to use -current, ESPECIALLY after the letter about "you don't have to receive version 3.0 if you don't want to and we don't recommend it for you unless you're a maniac". At this point in time, using a stable release which sucks a bit is much more attractive than using something which has been publicly stated as being hazardous. I don't have time to play around with it and debug it, I just want the fucker to work and work reliably as a stable platform (no, I'm not interested in how long people have had a -current system "up" for). Darren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 15:29:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA29725 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 15:29:31 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA29720 for ; Wed, 9 Sep 1998 15:29:30 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id PAA01721; Wed, 9 Sep 1998 15:33:56 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199809092233.PAA01721@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Darren Reed cc: mike@smith.net.au (Mike Smith), jkh@time.cdrom.com, andrewr@slack.net, hackers@FreeBSD.ORG Subject: Re: 2.2.6 zp/tcp fuckups. In-reply-to: Your message of "Thu, 10 Sep 1998 08:21:46 +1000." <199809092221.HAA17043@cain.gsoft.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 09 Sep 1998 15:33:56 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > is that before or after I do the moon dance, painted in goat's blood > > > and smoking funny cigarettes whilst singing chants to some unholy god ? ;) > > > > Is there any particular reason that you're ignoring the advice that > > you've been given by myself (twice at least now) and others? > > > > You don't need PAO. Stock -current works fine. I have one of these > > cards; I use it regularly. > > I don't want to use -current, Ok, use -stable then. It works there too, as Nate pointed out. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 15:32:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA00449 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 15:32:19 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA00437 for ; Wed, 9 Sep 1998 15:32:14 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id QAA26752; Wed, 9 Sep 1998 16:31:46 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id QAA20330; Wed, 9 Sep 1998 16:31:45 -0600 Date: Wed, 9 Sep 1998 16:31:45 -0600 Message-Id: <199809092231.QAA20330@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Darren Reed Cc: jkh@time.cdrom.com (Jordan K. Hubbard), andrewr@slack.net, hackers@FreeBSD.ORG Subject: Re: 2.2.6 zp/tcp fuckups. In-Reply-To: <199809092135.OAA22203@hub.freebsd.org> References: <13083.905360224@time.cdrom.com> <199809092135.OAA22203@hub.freebsd.org> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > It's probably more > > correct to say that Darren is trying to use a PCCARD driver which > > COMPLETELY SUCKS ... > So to hopefully improve the situation, I need to install PAO (pccard > driver & pccardd ?) and use the ep driver No, you don't need to install PAO, but you need to configure things in /etc/rc.conf and /etc/pccard.conf, just like you would have to with PAO. >which results in the card > not being detected all the time after being suspended ? That's the advantage of not using PAO, in that it works 'some of the time', while in PAO and with the driver you're using now, it works none of the time. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 16:36:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA09947 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 16:36:47 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA09942 for ; Wed, 9 Sep 1998 16:36:45 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id RAA27317; Wed, 9 Sep 1998 17:36:15 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id RAA20977; Wed, 9 Sep 1998 17:36:00 -0600 Date: Wed, 9 Sep 1998 17:36:00 -0600 Message-Id: <199809092336.RAA20977@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Darren Reed Cc: mike@smith.net.au (Mike Smith), jkh@time.cdrom.com, andrewr@slack.net, hackers@FreeBSD.ORG Subject: Re: 2.2.6 zp/tcp fuckups. In-Reply-To: <199809092222.PAA28776@hub.freebsd.org> References: <199809092215.PAA01614@dingo.cdrom.com> <199809092222.PAA28776@hub.freebsd.org> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Is there any particular reason that you're ignoring the advice that > > you've been given by myself (twice at least now) and others? > > > > You don't need PAO. Stock -current works fine. I have one of these > > cards; I use it regularly. > > I don't want to use -current. Then don't. All of the code is in -stable since that's where I developed it. The only additions to -current are some (good) APM patches to add additional functionality, but there are no PCCARD changes that I'm aware of. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 18:10:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA23454 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 18:02:43 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA23435 for ; Wed, 9 Sep 1998 18:02:38 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (root@woof.lan.awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id BAA26305; Thu, 10 Sep 1998 01:22:06 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id BAA04821; Thu, 10 Sep 1998 01:20:39 +0100 (BST) (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199809100020.BAA04821@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: "Daniel Hauer" cc: hackers@FreeBSD.ORG Subject: Re: Help with tunneling..... In-reply-to: Your message of "Wed, 09 Sep 1998 07:53:18 EDT." <000301bddbe8$70359fa0$0300a8c0@dh.athome.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 10 Sep 1998 01:20:38 +0100 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi All, > As a supervisor for an ISP, I have a need to tunnel to an NT server [.....] Please don't send me private email when you're sending the same message to one of the lists. Wait to see if you get a reply from the list first... -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 18:11:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA23562 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 18:04:08 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA23551 for ; Wed, 9 Sep 1998 18:04:02 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (root@woof.lan.awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id BAA26309; Thu, 10 Sep 1998 01:23:14 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id BAA04842; Thu, 10 Sep 1998 01:21:48 +0100 (BST) (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199809100021.BAA04842@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Yoav Cohen-Sivan cc: freebsd-hackers@FreeBSD.ORG Subject: Re: sio FIFO overflow? In-reply-to: Your message of "Wed, 09 Sep 1998 14:56:17 +0300." <35F66CE1.347AAE45@netvision.net.il> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 10 Sep 1998 01:21:48 +0100 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Does this mean that PR 7755 is closable in its current incarnation ? > I think I am seeig FIFO overflows during 115200 bps transfers on a > serial port. Especially with heavy disk activity. Is there a way to flag > FIFO overflows, and is there a way to check interrupt latency? > > I've been seeing randomly-timed link lockups during almost every PPP > session I > initiate (both kernel and user). The lockups clear after hanging up and > redialling. > > I finally lowered my bps from 115200 to 57600, and voila! lockups have > disappeared. I've spent the better part of the past 3 days banging on > the link (and my phone bill) like there's no tomorrow. > > The lockups were usually during heavy link and system use, and I'm > thinking > the serial FIFO was overflowing, but the sio driver latency was too > great to respond in time. > > Could this have caused some corrupted packets to be sent to my ISP > (using Cisco 5200 equipment), causing it to ignore me for the duration > of the session? > > Yoav -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 18:12:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA23601 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 18:04:26 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA23568 for ; Wed, 9 Sep 1998 18:04:14 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (root@woof.lan.awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id BAA25981; Thu, 10 Sep 1998 01:08:23 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id BAA04744; Thu, 10 Sep 1998 01:06:57 +0100 (BST) (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199809100006.BAA04744@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Mark Tinguely cc: dh@enter.net, hackers@FreeBSD.ORG Subject: Re: Help with tunneling..... In-reply-to: Your message of "Wed, 09 Sep 1998 11:32:11 CDT." <199809091632.LAA19144@plains.NoDak.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 10 Sep 1998 01:06:56 +0100 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > I can successfully build a PPTP tunnel if I > > do a straight dial-up from the windoze boxes into any of our terminal > > servers. However, if I attempt to tunnel through the FreeBSD box, it gets > > past verifying username and password, and then errors out with "network not > > responding". It appears PPP is not passing mickysoft's GRE protocol 47, as > > in the tcpdump below as the connection is made: > > user PPP does not pass many protocol types especially through the aliasing > code. Since I wanted to run a multicast router on the local PPP gateway, > I had to bypass the aliasing code for the IGMP and IPIP tunnel packets. see: > ftp://ftp.cs.ndsu.nodak.edu/pub/freebsd/misc/pppp_igmp.diff > > you want to tunnel out the IPPROTO_GRE packets through the aliasing code, > so you will also need to add to the aliasing section, which I did not need > to do. > > good luck. Hmmm, your changes were committed (with thanks) last June: : brian 1998/06/13 18:21:28 PDT : : Modified files: : usr.sbin/ppp ip.c : Log: : Deal with PROTO_IGMP and PROTO_IPIP packets correctly. : : Submitted by: Mark Tinguely : This change will allow a PPP host enabled with the "-alias" option to : run mrouted. This does not intend to forward the IGMP nor tunneled packets : to another host on the far side if the tun0 interface. : : Revision Changes Path : 1.42 +28 -2 src/usr.sbin/ppp/ip.c Of course, I'm talking ppp 2.X here. > --mark. -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 18:37:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA27993 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 18:37:26 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA27968 for ; Wed, 9 Sep 1998 18:37:21 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (root@woof.lan.awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id BAA25992; Thu, 10 Sep 1998 01:15:07 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id BAA04786; Thu, 10 Sep 1998 01:13:41 +0100 (BST) (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199809100013.BAA04786@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Robert Watson cc: Darren Reed , hackers@FreeBSD.ORG Subject: Re: 2.2.6 zp/tcp fuckups. In-reply-to: Your message of "Wed, 09 Sep 1998 13:34:36 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 10 Sep 1998 01:13:39 +0100 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > I had similar problems with zp under both 2.2.x and 3.x. I eventually > switched to the ep driver with the pccard support. I no longer suffer > from my ethernet device going down and having to be re-up'd; however, I > now suffer from the pccard driver. Things are fine until I suspend -- > then, sometimes, it is unable to allocate the driver again resulting in an > inability to network at all. If I have two ep lines in the kernel config, > then it allocates the second (ep1) at that point instead. This causes > many problems if I have two 3com cards in the machine (which is a case the > current pccard does not handle well at all). > > On the other hand, I do not have neither the time to fix this, nor the > time to gain the expertise to fix this. :) > > Robert Watson [.....] Have you got a VLSI 82C146 pccard controller (check dmesg) by any chance ? If so this may help: If you're running -current, try adding options PCIC_RESUME_RESET to your kernel config (option added yesterday). If you're not running -current, have a look in /sys/pccard/pccard.c for the above being #ifdef'd and #define it beforehand. > Robert N Watson > > Carnegie Mellon University http://www.cmu.edu/ > TIS Labs at Network Associates, Inc. http://www.tis.com/ > SafePort Network Services http://www.safeport.com/ > robert@fledge.watson.org http://www.watson.org/~robert/ -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 19:24:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA07832 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 19:24:50 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id TAA07827 for ; Wed, 9 Sep 1998 19:24:48 -0700 (PDT) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0zGwPQ-0005Zz-00; Wed, 9 Sep 1998 20:24:32 -0600 Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.1/8.8.3) with ESMTP id UAA08389; Wed, 9 Sep 1998 20:25:31 -0600 (MDT) Message-Id: <199809100225.UAA08389@harmony.village.org> To: Darren Reed Subject: Re: 2.2.6 zp/tcp fuckups. Cc: jkh@time.cdrom.com (Jordan K. Hubbard), andrewr@slack.net, hackers@FreeBSD.ORG In-reply-to: Your message of "Thu, 10 Sep 1998 07:34:40 +1000." <199809092135.OAA22203@hub.freebsd.org> References: <199809092135.OAA22203@hub.freebsd.org> Date: Wed, 09 Sep 1998 20:25:30 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199809092135.OAA22203@hub.freebsd.org> Darren Reed writes: : So to hopefully improve the situation, I need to install PAO (pccard : driver & pccardd ?) and use the ep driver which results in the card : not being detected all the time after being suspended ? Well, the : later I can live with as it already doesn't come back to life properly : after "apm -z" with a 100% reliability. Which rev are you using? -current used to have a problem with this (as did -stable in the 2.2.6ish time frame I think), but I've not had a failure in this part of the code for a long time. The worst I've ever had to do (since the big problems were fixed, still don't know what they were) is remove and insert the card. : is that before or after I do the moon dance, painted in goat's blood : and smoking funny cigarettes whilst singing chants to some unholy god ? ;) Hmmm. What notebook are you using. For the Libretto, things just seem to work w/o too many hassles. But that is for the Libretto, your milage may vary. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 19:27:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA08376 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 19:27:19 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id TAA08371 for ; Wed, 9 Sep 1998 19:27:16 -0700 (PDT) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0zGwRq-0005aC-00; Wed, 9 Sep 1998 20:27:02 -0600 Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.1/8.8.3) with ESMTP id UAA08428 for ; Wed, 9 Sep 1998 20:28:00 -0600 (MDT) Message-Id: <199809100228.UAA08428@harmony.village.org> Subject: Re: 2.2.6 zp/tcp fuckups. To: hackers@FreeBSD.ORG In-reply-to: Your message of "Wed, 09 Sep 1998 17:36:00 MDT." <199809092336.RAA20977@mt.sri.com> References: <199809092336.RAA20977@mt.sri.com> <199809092215.PAA01614@dingo.cdrom.com> <199809092222.PAA28776@hub.freebsd.org> Date: Wed, 09 Sep 1998 20:28:00 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199809092336.RAA20977@mt.sri.com> Nate Williams writes: : Then don't. All of the code is in -stable since that's where I : developed it. The only additions to -current are some (good) APM : patches to add additional functionality, but there are no PCCARD : changes that I'm aware of. Specifically, you can now suspend or go into standby mode, have a wakeup timer and get a little more info out of the APM bios about your card. None of these things are APM related. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 19:33:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA09644 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 19:33:36 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mail.staffing.net (mail.staffing.net [204.248.205.117]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA09636 for ; Wed, 9 Sep 1998 19:33:34 -0700 (PDT) (envelope-from msintergate@staffing.net) From: msintergate@staffing.net Received: by mail.staffing.net from localhost (router,SLMail V3.0); Wed, 09 Sep 1998 19:59:21 -0400 Received: by mail.staffing.net from 204.248.205.117 [209.154.76.12] (SLmail 3.0.2423); Wed, 09 Sep 1998 19:59:19 -0400 Date: Wed, 09 Sep 98 19:24:29 EST To: greatnews@pobox.com Subject: Great Web design with Low Rates!!! Message-ID: <199809011934.MAA11742@msintergate.com> Reply-To: info@msintergate.com Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Do you want great web site hosting, on a fast T1, if so do we have a solution for you!! We can construct your website using 3-D, aswell!! Check out the weekly specials too..... For more information, please call (714)693-1171 Or Visit our web site at: www.msintergate.com Email us at: info@msintergate.com >> ----------------- Forwarded Message: Subj: Free software or credit repair!!!! Date: 9/9/98 10:47:10 PM !!!First Boot!!! From: msintergate@jamss.co.jp Reply-to: info@msintergate.com To: greatnews@pobox.com Do you want great web site hosting, on a fast T1, if so do we have a solution for you!! We can construct your website using 3-D, aswell!! Check out the weekly specials too..... For more information, please call (714)693-1171 Or Visit our web site at: www.msintergate.com Email us at: info@msintergate.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 19:34:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA10084 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 19:34:53 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id TAA10066 for ; Wed, 9 Sep 1998 19:34:50 -0700 (PDT) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0zGwZ5-0005aX-00; Wed, 9 Sep 1998 20:34:31 -0600 Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.1/8.8.3) with ESMTP id UAA08517 for ; Wed, 9 Sep 1998 20:35:30 -0600 (MDT) Message-Id: <199809100235.UAA08517@harmony.village.org> To: freebsd-hackers@FreeBSD.ORG Subject: syscalls and the stack Date: Wed, 09 Sep 1998 20:35:29 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Question: do system calls need to be made from the executable stack? If this were disallowed, what would break? I know that a system like this wouldn't give total security, but it seems that at the cost of a few instructions per system call (which could be disabled, if you wanted), one could stop the smash the stack attacks cold. This would have the same vulnerabilities as the Solar Designer patches for Linux. However, a door that takes extra care to open is better than no door at all... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 20:06:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA16333 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 20:06:15 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from cheops.anu.edu.au (cheops.anu.edu.au [150.203.224.24]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA16324 for ; Wed, 9 Sep 1998 20:06:11 -0700 (PDT) (envelope-from avalon@coombs.anu.edu.au) Message-Id: <199809100306.UAA16324@hub.freebsd.org> Received: by cheops.anu.edu.au (1.37.109.16/16.2) id AA058546726; Thu, 10 Sep 1998 13:05:26 +1000 From: Darren Reed Subject: Re: 2.2.6 zp/tcp fuckups. To: imp@village.org (Warner Losh) Date: Thu, 10 Sep 1998 13:05:25 +1000 (EST) Cc: jkh@time.cdrom.com, andrewr@slack.net, hackers@FreeBSD.ORG In-Reply-To: <199809100225.UAA08389@harmony.village.org> from "Warner Losh" at Sep 9, 98 08:25:30 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In some mail from Warner Losh, sie said: > > Which rev are you using? whatever is in 2.2.6, although I do have an upgrade to 2.2.7 on the cards. > Hmmm. What notebook are you using. For the Libretto, things just > seem to work w/o too many hassles. But that is for the Libretto, your > milage may vary. Gateway 2000 Solo 5100. hmm, I should have suspected the card/driver all along, I don't recall ever having such difficulty with the likes of the 3c509 on a real pc. Darren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 20:31:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA18598 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 20:31:14 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id UAA18593 for ; Wed, 9 Sep 1998 20:31:12 -0700 (PDT) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0zGxRi-0005cv-00; Wed, 9 Sep 1998 21:30:58 -0600 Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.1/8.8.3) with ESMTP id VAA08819; Wed, 9 Sep 1998 21:31:57 -0600 (MDT) Message-Id: <199809100331.VAA08819@harmony.village.org> To: Darren Reed Subject: Re: 2.2.6 zp/tcp fuckups. Cc: hackers@FreeBSD.ORG In-reply-to: Your message of "Thu, 10 Sep 1998 13:05:25 +1000." <199809100305.VAA12786@schizoid.village.org> References: <199809100305.VAA12786@schizoid.village.org> Date: Wed, 09 Sep 1998 21:31:57 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199809100305.VAA12786@schizoid.village.org> Darren Reed writes: : whatever is in 2.2.6, although I do have an upgrade to 2.2.7 on the cards. I'm not sure if Nate made the changes by that time or not... I'm almost positive that you'll find them in 2.2.7R. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 21:46:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA27609 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 21:46:30 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA27604 for ; Wed, 9 Sep 1998 21:46:28 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id WAA29513; Wed, 9 Sep 1998 22:46:16 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id WAA23228; Wed, 9 Sep 1998 22:46:01 -0600 Date: Wed, 9 Sep 1998 22:46:01 -0600 Message-Id: <199809100446.WAA23228@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Warner Losh Cc: hackers@FreeBSD.ORG Subject: Re: 2.2.6 zp/tcp fuckups. In-Reply-To: <199809100228.UAA08428@harmony.village.org> References: <199809092336.RAA20977@mt.sri.com> <199809092215.PAA01614@dingo.cdrom.com> <199809092222.PAA28776@hub.freebsd.org> <199809100228.UAA08428@harmony.village.org> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > : Then don't. All of the code is in -stable since that's where I > : developed it. The only additions to -current are some (good) APM > : patches to add additional functionality, but there are no PCCARD > : changes that I'm aware of. > > Specifically, you can now suspend or go into standby mode, have a > wakeup timer and get a little more info out of the APM bios about your > card. None of these things are APM related. I thought they are all APM related, since they require an APM bios to work. :) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 21:48:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA27752 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 21:48:01 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA27725 for ; Wed, 9 Sep 1998 21:47:59 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id WAA29519; Wed, 9 Sep 1998 22:47:43 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id WAA23242; Wed, 9 Sep 1998 22:47:28 -0600 Date: Wed, 9 Sep 1998 22:47:28 -0600 Message-Id: <199809100447.WAA23242@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Warner Losh Cc: Darren Reed , hackers@FreeBSD.ORG Subject: Re: 2.2.6 zp/tcp fuckups. In-Reply-To: <199809100331.VAA08819@harmony.village.org> References: <199809100305.VAA12786@schizoid.village.org> <199809100331.VAA08819@harmony.village.org> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > : whatever is in 2.2.6, although I do have an upgrade to 2.2.7 on the cards. > > I'm not sure if Nate made the changes by that time or not... I did, but some changes that someone else snuck in *just* before 2.2.6 screwed it up. (To be fair, I reviewed the changes on paper, but I was laptop-less at the time and couldn't check them out on a *Real* system.) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 22:37:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA02725 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 22:37:39 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id WAA02713 for ; Wed, 9 Sep 1998 22:37:37 -0700 (PDT) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0zGzQ2-0005h0-00; Wed, 9 Sep 1998 23:37:22 -0600 Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.1/8.8.3) with ESMTP id XAA09583; Wed, 9 Sep 1998 23:38:22 -0600 (MDT) Message-Id: <199809100538.XAA09583@harmony.village.org> To: Nate Williams Subject: Re: 2.2.6 zp/tcp fuckups. Cc: hackers@FreeBSD.ORG In-reply-to: Your message of "Wed, 09 Sep 1998 22:46:01 MDT." <199809100446.WAA23228@mt.sri.com> References: <199809100446.WAA23228@mt.sri.com> <199809092336.RAA20977@mt.sri.com> <199809092215.PAA01614@dingo.cdrom.com> <199809092222.PAA28776@hub.freebsd.org> <199809100228.UAA08428@harmony.village.org> Date: Wed, 09 Sep 1998 23:38:22 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199809100446.WAA23228@mt.sri.com> Nate Williams writes: : > : Then don't. All of the code is in -stable since that's where I : > : developed it. The only additions to -current are some (good) APM : > : patches to add additional functionality, but there are no PCCARD : > : changes that I'm aware of. : > : > Specifically, you can now suspend or go into standby mode, have a : > wakeup timer and get a little more info out of the APM bios about your : > card. None of these things are APM related. : : I thought they are all APM related, since they require an APM bios to : work. :) Uggg. Must engage brain before typing. That last setence should read "None of these things are PCMCIA related." Hey, can we get a boatload of pointy hats drop shipped to Colorado? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 22:52:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA04594 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 22:52:29 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from MAIL1 ([195.216.60.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA04589 for ; Wed, 9 Sep 1998 22:52:27 -0700 (PDT) (envelope-from daniel.sundin@engelholm.se) Received: from compaq.engelholm.se - 195.216.40.87 by engelholm.se with Microsoft SMTPSVC; Thu, 10 Sep 1998 07:50:45 +0200 Message-Id: <2.2.32.19980910053944.0091ea6c@pop.engelholm.se> X-Sender: 199706aZHerOgH@pop.engelholm.se X-Mailer: Windows Eudora Pro Version 2.2 (32) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 10 Sep 1998 07:39:44 +0200 To: freebsd-hackers@FreeBSD.ORG From: Daniel Sundin Subject: panic: free: multiple frees Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG We're having a strange problem with FreeBSD 2.2.6. Earlier today the box rebooted once, came back after a long harddrive check (had an uptime of 62 days, lots to check probably). After that reboot, it has continued to reboot exactly every 47 minutes (almost on the second) with the following error message: PANIC: FREE: Multiple frees To me it seems like that should be memory related as that error occurs in a free(). It's in kern_malloc.c it happens. The server is an Intel P2 333, 512mb ram, 4.55gb Seagate Cheetah, approximately 2 months old. No new software has been installed on the server in the last days. We're mainly running 3 custom daemons on the server, and a SQL server (MySQL). This setup has been running the last 62 days w/o any major problems, The 3 daemons are recieving connections (about 200/second at peak) and doing statistical services. They use about 200mb ram, and we're never down to the swap. I'd appriciate it alot if someone could tell me anything about why this might be happening. Thanks in advance, Daniel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 23:06:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA05771 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 23:06:39 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from Gatekeeper.Alameda.net (gatekeeper.Alameda.net [207.90.181.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA05766 for ; Wed, 9 Sep 1998 23:06:36 -0700 (PDT) (envelope-from ulf@Gatekeeper.Alameda.net) Received: by Gatekeeper.Alameda.net (8.8.8/8.8.6) id XAA23553; Wed, 9 Sep 1998 23:06:29 -0700 (PDT) Message-ID: <19980909230628.A19840@Alameda.net> Date: Wed, 9 Sep 1998 23:06:28 -0700 From: Ulf Zimmermann To: hackers@FreeBSD.ORG Subject: Packet/traffic shapper ? Reply-To: ulf@Alameda.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i Organization: Alameda Networks, Inc. X-Operating-System: FreeBSD 2.2.6-STABLE Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG What software solutions for FreeBSD do we currently have available ? -- Regards, Ulf. --------------------------------------------------------------------- Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-769-2936 Alameda Networks, Inc. | http://www.Alameda.net | Fax#: 510-521-5073 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 23:15:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA06620 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 23:15:36 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id XAA06615 for ; Wed, 9 Sep 1998 23:15:33 -0700 (PDT) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0zH00l-0005i8-00; Thu, 10 Sep 1998 00:15:19 -0600 Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.1/8.8.3) with ESMTP id AAA09917 for ; Thu, 10 Sep 1998 00:16:19 -0600 (MDT) Message-Id: <199809100616.AAA09917@harmony.village.org> To: freebsd-hackers@FreeBSD.ORG Subject: Idea re stack and system calls. Date: Thu, 10 Sep 1998 00:16:19 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hmmmm. Never mind. It turns out that one can execute data fairly trivially, so the "egg" would only need copy part of itself to the start of data and jump to that. Better to make the stack non-executable, which has its own set of problems that have been beaten to death here, so I'll not repeat them. The idea of putting the firewall at the system call location was interesting while it lasted... :-( Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Sep 9 23:50:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA11544 for freebsd-hackers-outgoing; Wed, 9 Sep 1998 23:50:19 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from word.smith.net.au (castles213.castles.com [208.214.165.213]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA11536 for ; Wed, 9 Sep 1998 23:50:15 -0700 (PDT) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost [127.0.0.1]) by word.smith.net.au (8.9.1/8.8.8) with ESMTP id XAA00636; Wed, 9 Sep 1998 23:56:19 -0700 (PDT) (envelope-from mike@word.smith.net.au) Message-Id: <199809100656.XAA00636@word.smith.net.au> X-Mailer: exmh version 2.0.2 2/24/98 To: ulf@Alameda.net cc: hackers@FreeBSD.ORG Subject: Re: Packet/traffic shapper ? In-reply-to: Your message of "Wed, 09 Sep 1998 23:06:28 PDT." <19980909230628.A19840@Alameda.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 09 Sep 1998 23:56:18 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > What software solutions for FreeBSD do we currently have available ? The two best tools in this area at the moment are ALTQ and dummynet. Searches on those two keywords should get you enough material to get started out of the archives. Both of the principal maintainers are FreeBSD committers, and we're looking forward to seeing their work enter the mainstream soon. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Sep 10 05:26:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA16364 for freebsd-hackers-outgoing; Thu, 10 Sep 1998 05:26:49 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from cheops.anu.edu.au (cheops.anu.edu.au [150.203.224.24]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA16359 for ; Thu, 10 Sep 1998 05:26:46 -0700 (PDT) (envelope-from avalon@coombs.anu.edu.au) Message-Id: <199809101226.FAA16359@hub.freebsd.org> Received: by cheops.anu.edu.au (1.37.109.16/16.2) id AA197420354; Thu, 10 Sep 1998 22:25:54 +1000 From: Darren Reed Subject: Re: 2.2.6 zp/tcp fuckups. To: nate@mt.sri.com (Nate Williams) Date: Thu, 10 Sep 1998 22:25:54 +1000 (EST) Cc: imp@village.org, hackers@FreeBSD.ORG In-Reply-To: <199809100447.WAA23242@mt.sri.com> from "Nate Williams" at Sep 9, 98 10:47:28 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In some mail from Nate Williams, sie said: > > > : whatever is in 2.2.6, although I do have an upgrade to 2.2.7 on the cards. > > > > I'm not sure if Nate made the changes by that time or not... > > I did, but some changes that someone else snuck in *just* before 2.2.6 > screwed it up. (To be fair, I reviewed the changes on paper, but I was > laptop-less at the time and couldn't check them out on a *Real* system.) hmmm, is this why when I tried it today ep0 did not probed successfully and running pccardd resulted in a _HARD_ hang (needed to remove battery AND power lead to power off) ? Darren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Sep 10 07:11:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA29858 for freebsd-hackers-outgoing; Thu, 10 Sep 1998 07:11:57 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from tim.xenologics.com (tim.xenologics.com [194.77.5.24]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA29844 for ; Thu, 10 Sep 1998 07:11:51 -0700 (PDT) (envelope-from seggers@semyam.dinoco.de) Received: (from uucp@localhost) by tim.xenologics.com (8.8.5/8.8.8) with UUCP id QAA25035; Thu, 10 Sep 1998 16:06:46 +0200 (MET DST) Received: from semyam.dinoco.de (semyam.dinoco.de [127.0.0.1]) by semyam.dinoco.de (8.9.1/8.8.8) with ESMTP id KAA06802; Thu, 10 Sep 1998 10:40:22 +0200 (CEST) (envelope-from seggers@semyam.dinoco.de) Message-Id: <199809100840.KAA06802@semyam.dinoco.de> To: Mike Knoll cc: hackers@FreeBSD.ORG, seggers@semyam.dinoco.de Subject: Re: ccd'ed disks In-reply-to: Your message of "Mon, 07 Sep 1998 12:44:54 EDT." <199809071630.MAA20264@lafcol> Date: Thu, 10 Sep 1998 10:40:21 +0200 From: Stefan Eggers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I have two IDE disks, different size, and was wondering if I'd benifit from > ccd'ing them with striping. I understand IDE has some issues that make I put a second IDE disk into my system. Both are configured as master and are on the primary and secondary controller on an ASUS board with 430FX chipset (I think) and PIIX (looked up in dmesg output). To get more swap space and improve performance I of course created a swap partition on the new disk. I noticed that during paging it can get about double the amount of data to disk then. How near I am to the theoretical doubling I don't know as the disks are not the same type. As paging internally does the same ccd does for a filesystem I'd give it a try and make some testing to see how much speed one can get out of it. Stefan. -- Stefan Eggers Lu4 yao2 zhi1 ma3 li4, Max-Slevogt-Str. 1 ri4 jiu3 jian4 ren2 xin1. 51109 Koeln Federal Republic of Germany To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Sep 10 07:31:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA04270 for freebsd-hackers-outgoing; Thu, 10 Sep 1998 07:31:45 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from opi.flirtbox.ch ([62.48.0.50]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id HAA04248 for ; Thu, 10 Sep 1998 07:31:39 -0700 (PDT) (envelope-from oppermann@pipeline.ch) Received: (qmail 24513 invoked from network); 10 Sep 1998 14:31:31 -0000 Received: from unknown (HELO pipeline.ch) (195.134.140.3) by opi.flirtbox.ch with SMTP; 10 Sep 1998 14:31:31 -0000 Message-ID: <35F7E2C2.920D9017@pipeline.ch> Date: Thu, 10 Sep 1998 16:31:30 +0200 From: Andre Oppermann Organization: Internet Business Solutions Ltd. X-Mailer: Mozilla 4.03 [en] (Win95; I) MIME-Version: 1.0 To: Mike Smith CC: ulf@Alameda.net, hackers@FreeBSD.ORG Subject: Re: Packet/traffic shapper ? References: <199809100656.XAA00636@word.smith.net.au> 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: > > > What software solutions for FreeBSD do we currently have available ? > > The two best tools in this area at the moment are ALTQ and dummynet. > Searches on those two keywords should get you enough material to get > started out of the archives. Both of the principal maintainers are > FreeBSD committers, and we're looking forward to seeing their work > enter the mainstream soon. Hurray!!! Will ALTQ be in 3.0-R? -- Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Sep 10 08:11:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA11006 for freebsd-hackers-outgoing; Thu, 10 Sep 1998 08:11:12 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from tim.xenologics.com (tim.xenologics.com [194.77.5.24]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA10978 for ; Thu, 10 Sep 1998 08:11:05 -0700 (PDT) (envelope-from seggers@semyam.dinoco.de) Received: (from uucp@localhost) by tim.xenologics.com (8.8.5/8.8.8) with UUCP id RAA29379; Thu, 10 Sep 1998 17:06:54 +0200 (MET DST) Received: from semyam.dinoco.de (semyam.dinoco.de [127.0.0.1]) by semyam.dinoco.de (8.9.1/8.8.8) with ESMTP id QAA09575; Thu, 10 Sep 1998 16:09:32 +0200 (CEST) (envelope-from seggers@semyam.dinoco.de) Message-Id: <199809101409.QAA09575@semyam.dinoco.de> To: Mike Knoll cc: hackers@FreeBSD.ORG, seggers@semyam.dinoco.de Subject: Re: ccd'ed disks In-reply-to: My message of "Thu, 10 Sep 1998 10:40:21 +0200." <199809100840.KAA06802@semyam.dinoco.de> Date: Thu, 10 Sep 1998 16:09:31 +0200 From: Stefan Eggers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I put a second IDE disk into my system. Both are configured as master ^^^^^^ Sorry, they are configured as single of course as they are the only device on their controller. For the newer one I remember it being the same as master and the older one I think is similar. Stefan. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Sep 10 08:18:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA13031 for freebsd-hackers-outgoing; Thu, 10 Sep 1998 08:18:08 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA12962 for ; Thu, 10 Sep 1998 08:18:00 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id JAA03818; Thu, 10 Sep 1998 09:17:48 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id JAA27406; Thu, 10 Sep 1998 09:17:33 -0600 Date: Thu, 10 Sep 1998 09:17:33 -0600 Message-Id: <199809101517.JAA27406@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Darren Reed Cc: nate@mt.sri.com (Nate Williams), imp@village.org, hackers@FreeBSD.ORG Subject: 2.2.6 PCMCIA problems In-Reply-To: <199809101226.FAA16359@hub.freebsd.org> References: <199809100447.WAA23242@mt.sri.com> <199809101226.FAA16359@hub.freebsd.org> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > : whatever is in 2.2.6, although I do have an upgrade to 2.2.7 on the cards. > > > > > > I'm not sure if Nate made the changes by that time or not... > > > > I did, but some changes that someone else snuck in *just* before 2.2.6 > > screwed it up. (To be fair, I reviewed the changes on paper, but I was > > laptop-less at the time and couldn't check them out on a *Real* system.) > > hmmm, is this why when I tried it today ep0 did not probed successfully > and running pccardd resulted in a _HARD_ hang (needed to remove battery > AND power lead to power off) ? No idea. The problem that I fixed caused suspend/remove to not work correctly, not hard hangs. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Sep 10 12:21:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA03377 for freebsd-hackers-outgoing; Thu, 10 Sep 1998 12:21:42 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from bingsun1.cc.binghamton.edu (bingsun1.cc.binghamton.edu [128.226.1.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA03363 for ; Thu, 10 Sep 1998 12:21:40 -0700 (PDT) (envelope-from bf20761@binghamton.edu) Received: from localhost (bf20761@localhost) by bingsun1.cc.binghamton.edu (8.8.7/8.6.9) with SMTP id PAA09908 for ; Thu, 10 Sep 1998 15:21:27 -0400 (EDT) Date: Thu, 10 Sep 1998 15:21:27 -0400 (EDT) From: zhihuizhang X-Sender: bf20761@bingsun1 To: hackers Subject: curproc 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 curproc refers to the proc structure of the current running process. When can the value of curproc be NULL? I see many !curproc in the source code. There must be a running process at any time. Any help is appreciated. -------------------------------------------------- | Zhihui Zhang, http://cs.binghamton.edu/~zzhang | | Dept. of Computer Science, SUNY at Binghamton | -------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Sep 10 13:10:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA13659 for freebsd-hackers-outgoing; Thu, 10 Sep 1998 13:10:54 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from fledge.watson.org (COPLAND.CODA.CS.CMU.EDU [128.2.222.48]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA13625 for ; Thu, 10 Sep 1998 13:10:33 -0700 (PDT) (envelope-from robert@cyrus.watson.org) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.8.8/8.8.8) with SMTP id QAA03604; Thu, 10 Sep 1998 16:07:46 -0400 (EDT) Date: Thu, 10 Sep 1998 16:07:46 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org Reply-To: Robert Watson To: Brian Somers cc: Darren Reed , hackers@FreeBSD.ORG Subject: Re: 2.2.6 zp/tcp fuckups. In-Reply-To: <199809100013.BAA04786@woof.lan.awfulhak.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 Thu, 10 Sep 1998, Brian Somers wrote: > Have you got a VLSI 82C146 pccard controller (check dmesg) by any > chance ? If so this may help: > > If you're running -current, try adding > > options PCIC_RESUME_RESET > > to your kernel config (option added yesterday). If you're not > running -current, have a look in /sys/pccard/pccard.c for the > above being #ifdef'd and #define it beforehand. Well, dmesg reports: pcic0: rev 0xe2 int a irq 0 on pci0.19.0 However, adding this option to my kernel seems to have had the desired effect -- that is, I now appear to be able to suspend, wake up, and have ep0 function properly. I have not yet tested it in X, and with suspend resulting from the case closing, but hope for similar results. I am using an IBM Thinkpad 560E. Thanks! Robert N Watson Carnegie Mellon University http://www.cmu.edu/ TIS Labs at Network Associates, Inc. http://www.tis.com/ SafePort Network Services http://www.safeport.com/ robert@fledge.watson.org http://www.watson.org/~robert/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Sep 10 13:13:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA14436 for freebsd-hackers-outgoing; Thu, 10 Sep 1998 13:13:32 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA14426 for ; Thu, 10 Sep 1998 13:13:27 -0700 (PDT) (envelope-from dennis@etinc.com) Received: from dbsys (dbsys.etinc.com [207.252.1.18]) by etinc.com (8.8.7/8.6.9) with SMTP id QAA01590; Thu, 10 Sep 1998 16:11:35 -0400 (EDT) Message-Id: <199809102011.QAA01590@etinc.com> X-Sender: dennis@etinc.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Thu, 10 Sep 1998 16:24:21 -0400 To: Andre Oppermann , Mike Smith From: Dennis Subject: Re: Packet/traffic shapper ? Cc: ulf@Alameda.net, hackers@FreeBSD.ORG In-Reply-To: <35F7E2C2.920D9017@pipeline.ch> References: <199809100656.XAA00636@word.smith.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 04:31 PM 9/10/98 +0200, Andre Oppermann wrote: >Mike Smith wrote: >> >> > What software solutions for FreeBSD do we currently have available ? >> >> The two best tools in this area at the moment are ALTQ and dummynet. >> Searches on those two keywords should get you enough material to get >> started out of the archives. Both of the principal maintainers are >> FreeBSD committers, and we're looking forward to seeing their work >> enter the mainstream soon. > >Hurray!!! Will ALTQ be in 3.0-R? I suppose that you mean "the 2 best free solutions"? A commercial product is available at http://www.etinc.com/bwmgr.htm Of course calling it a "shaper" would be an insult! :-) Dennis > >-- >Andre > >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 Sep 10 13:19:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA15723 for freebsd-hackers-outgoing; Thu, 10 Sep 1998 13:19:29 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA15684 for ; Thu, 10 Sep 1998 13:19:21 -0700 (PDT) (envelope-from dennis@etinc.com) Received: from dbsys (dbsys.etinc.com [207.252.1.18]) by etinc.com (8.8.7/8.6.9) with SMTP id QAA01623 for ; Thu, 10 Sep 1998 16:17:50 -0400 (EDT) Message-Id: <199809102017.QAA01623@etinc.com> X-Sender: dennis@etinc.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Thu, 10 Sep 1998 16:30:36 -0400 To: hackers@FreeBSD.ORG From: Dennis Subject: Boot from Flash Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Has anyone used the PC plug-in PCMCIA flash cards successfully with FreeBSD? If so can you boot from it without a HD? Thanks, Dennis To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Sep 10 13:52:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA23609 for freebsd-hackers-outgoing; Thu, 10 Sep 1998 13:52:28 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from uni4nn.gn.iaf.nl (osmium.gn.iaf.nl [193.67.144.12]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA23602 for ; Thu, 10 Sep 1998 13:52:24 -0700 (PDT) (envelope-from wilko@yedi.iaf.nl) Received: by uni4nn.gn.iaf.nl with UUCP id AA28072 (5.67b/IDA-1.5 for FreeBSD-hackers@freebsd.org); Thu, 10 Sep 1998 22:31:09 +0200 Received: (from wilko@localhost) by yedi.iaf.nl (8.8.8/8.6.12) id VAA09032 for FreeBSD-hackers@freebsd.org; Thu, 10 Sep 1998 21:55:26 +0200 (CEST) From: Wilko Bulte Message-Id: <199809101955.VAA09032@yedi.iaf.nl> Subject: alignment error in de driver To: FreeBSD-hackers@FreeBSD.ORG (FreeBSD hackers list) Date: Thu, 10 Sep 1998 21:55:26 +0200 (CEST) X-Organisation: Private FreeBSD site - Arnhem, The Netherlands X-Pgp-Info: PGP public key at 'finger wilko@freefall.freebsd.org' X-Mailer: ELM [version 2.4ME+ PL38 (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 I'm currently evaluating an interesting (I think) PCI card that I borrowed for that purpose. It is a card that houses a pair of NCR875 Ultra SCSI chips and a DEC 21140A 10/100 mbit ethernet chip. To glue all of this together there is also a DEC pci bridge chip. I like this card because it has the potential to free some of my precious PCI slots. Initial tests indicate that FreeBSD 2.2.6 recognises everything just fine. I tested one of the SCSI channels and it looks just fine with bonnie etc. First need some SCSI devices to populate the second channel. The ethernet also looks fine, although I can only test it with 10mbit (no 100mbit at home yet). There is one phenomenon I don't get: de0: receive: 00:00:24:06:32:56: alignment error de0: receive: 00:00:24:06:32:56: alignment error de0: receive: 00:00:24:06:32:56: alignment error de0: receive: 00:00:24:06:32:56: alignment error de0: receive: 00:00:24:06:32:56: alignment error de0: receive: 00:00:24:06:32:56: alignment error is displayed on the console. Just every now and then, it is currently compile a kernel via NFS. Works just fine, save for the messages. >From the source I find in if_de.c: if (eop->d_status & TULIP_DSTS_RxBADCRC) { if (eop->d_status & TULIP_DSTS_RxDRBBLBIT) { sc->tulip_dot3stats.dot3StatsAlignmentErrors++; error = "alignment error"; } else { sc->tulip_dot3stats.dot3StatsFCSErrors++; error = "bad crc"; } Which is interesting but does not tell me why it happens. And what can be done to fix it. The bootmessages are: FreeBSD 2.2.6-RELEASE #1: Thu Sep 10 19:19:24 CEST 1998 root@dac.iaf.nl:/usr/src.226/sys/compile/DAC CPU: Pentium (99.47-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x525 Stepping=5 Features=0x1bf real memory = 33554432 (32768K bytes) FreeBSD Kernel Configuration Utility - Version 1.1 Type "help" for help or "visual" to go to the visual configuration interface (requires MGA/VGA display or serial terminal capable of displaying ANSI graphics). config> dis ed0 config> q avail memory = 30752768 (30032K bytes) Probing for devices on PCI bus 0: chip0 rev 1 on pci0:0:0 chip1 rev 2 on pci0:7:0 chip2 rev 2 on pci0:7:1 chip3 rev 2 on pci0:10:0 Probing for devices on PCI bus 1: ncr0 rev 4 int a irq 12 on pci1:0:0 ncr0 waiting for scsi devices to settle (ncr0:0:0): "HITACHI DK517C-37 G5H3" type 0 fixed SCSI 2 sd1(ncr0:0:0): Direct-Access sd1(ncr0:0:0): 10.0 MB/s (100 ns, offset 15) 2740MB (5611599 512 byte sectors) ncr1 rev 4 int a irq 9 on pci1:1:0 ncr1 waiting for scsi devices to settle de0 rev 34 int a irq 10 on pci1:2:0 de0: 21140A [10-100Mb/s] pass 2.2 de0: address 00:06:2b:00:16:c6 Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in aha0 at 0x330-0x333 irq 11 drq 5 on isa aha0 waiting for scsi devices to settle (aha0:0:0): "DEC RZ28 (C) DEC 442C" type 0 fixed SCSI 2 sd0(aha0:0:0): Direct-Access 2007MB (4110480 512 byte sectors) (aha0:4:0): "TOSHIBA CD-ROM XM-5301TA 0436" type 5 removable SCSI 2 cd0(aha0:4:0): CD-ROM can't get the size npx0 flags 0x1 on motherboard npx0: INT 16 interface Intel Pentium F00F detected, installing workaround de0: enabling 10baseT port de0: link down: cable problem? de0: link down: cable problem? de0: autosense failed: cable problem? de0: link down: cable problem? de0: receive: 00:00:24:06:32:56: alignment error de0: receive: 00:00:24:06:32:56: alignment error In case anyone wonders: the cable problem message was indeed a bad cable. This has been fixed in the meantime (the alignment errors persist after the cable swap. Matt, if you're listening: I'm talking about a Digital ^H^H^H^H^H^H^H Compaq KZPCM adapter. Insight appreciated, Wilko _ ______________________________________________________________________ | / o / / _ Bulte email: wilko@yedi.iaf.nl |/|/ / / /( (_) Arnhem, The Netherlands WWW : http://www.tcja.nl ______________________________________________ Powered by FreeBSD __________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Sep 10 14:17:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA28872 for freebsd-hackers-outgoing; Thu, 10 Sep 1998 14:17:45 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from sumatra.americantv.com (sumatra.americantv.com [207.170.17.37]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA28862 for ; Thu, 10 Sep 1998 14:17:42 -0700 (PDT) (envelope-from jlemon@americantv.com) Received: from right.PCS (right.PCS [148.105.10.31]) by sumatra.americantv.com (8.8.5/8.8.5) with ESMTP id QAA09507; Thu, 10 Sep 1998 16:17:32 -0500 (CDT) Received: (from jlemon@localhost) by right.PCS (8.6.13/8.6.4) id QAA14325; Thu, 10 Sep 1998 16:17:01 -0500 Message-ID: <19980910161701.54888@right.PCS> Date: Thu, 10 Sep 1998 16:17:01 -0500 From: Jonathan Lemon To: zhihuizhang Cc: hackers Subject: Re: curproc References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.61.1 In-Reply-To: ; from zhihuizhang on Sep 09, 1998 at 03:21:27PM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sep 09, 1998 at 03:21:27PM -0400, zhihuizhang wrote: > > curproc refers to the proc structure of the current running process. When > can the value of curproc be NULL? I see many !curproc in the source code. > There must be a running process at any time. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Not true; all processes may be idle, and the cpu is executing the idle loop. If an interrupt occurs, then there is no process context. -- Jonathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Sep 10 14:49:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA05272 for freebsd-hackers-outgoing; Thu, 10 Sep 1998 14:49:44 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from vivid.autometric.com (vivid.va.autometric.com [208.27.64.66]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA05220 for ; Thu, 10 Sep 1998 14:49:28 -0700 (PDT) (envelope-from bsletten@autometric.com) Received: (from gproxy@localhost) by vivid.autometric.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) id RAA12551 for <@vivid.va.autometric.com:hackers@freebsd.org>; Thu, 10 Sep 1998 17:46:58 -0400 Received: from unknown(172.20.67.228) by vivid.va.autometric.com via smap (3.1) id xma012528; Thu, 10 Sep 98 17:46:42 -0400 Received: from autometric.com (localhost [127.0.0.1]) by wilson (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id RAA02154 for ; Thu, 10 Sep 1998 17:46:31 -0400 Message-ID: <35F848B6.E25FF93B@autometric.com> Date: Thu, 10 Sep 1998 17:46:30 -0400 From: Brian Sletten Organization: Autometric, Inc X-Mailer: Mozilla 4.05 [en] (X11; I; IRIX 6.3 IP32) MIME-Version: 1.0 To: hackers@FreeBSD.ORG Subject: Question... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Hackers. I've looked through the hardware lists and searched the FAQ and mail archives and whatnot and haven't come up with an answer to this yet. Does anyone know if FreeBSD will work well with a Compaq Deskpro 4000 w/ its onboard SCSI, sound, video, and network hardware? I'm not presently on this list, so if anyone could let me know, I'd really appreciate it. Thanks. Brian -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= One is not superior merely because one sees the world as odious. -- Chateaubriand -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Sep 10 14:57:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA07589 for freebsd-hackers-outgoing; Thu, 10 Sep 1998 14:57:58 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from hoth.ffwd.bc.ca ([209.153.243.242]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA07574 for ; Thu, 10 Sep 1998 14:57:54 -0700 (PDT) (envelope-from skye@ffwd.bc.ca) Received: from skye by hoth.ffwd.bc.ca with local (Exim 1.82 #3) id 0zHEhr-0004sJ-00; Thu, 10 Sep 1998 14:56:47 -0700 Message-ID: <19980910145647.62321@ffwd.bc.ca> Date: Thu, 10 Sep 1998 14:56:47 -0700 From: Skye Poier To: freebsd-hackers@FreeBSD.ORG Subject: Re: VM crash? questions pt.2 References: <19980820172445.54455@ffwd.bc.ca> <19980826113428.29710@ffwd.bc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.85 In-Reply-To: <19980826113428.29710@ffwd.bc.ca>; from Skye Poier on Wed, Aug 26, 1998 at 11:34:28AM -0700 X-URL: http://www.ffwd.bc.ca/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If anyone is interested, the problem has been resolved. Setting the CPU clock speed to the correct value (it was accidently overclocked from 66 to 80 MHz when I installed the new CPU) has eliminated the strange swap partition problems. Cheers, Skye Word on the street is that Skye Poier said: > Previously I said: > > I am running 2.2.6-RELEASE on a 486 with 16mb of memory and a 65mb swap > > partition. > > > > Recently I've been working with some rather large files and the machine > > has had a tendancy to lock up solid. No error on the console, in dmesg, > > nothing. It seems to happen when VM (via swapinfo) reaches 30% usage or > > about 19MB of the 65MB avaiable.... other than this the server has been > > totally bulletproof. > > 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 Sep 10 17:34:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA06494 for freebsd-hackers-outgoing; Thu, 10 Sep 1998 17:34:13 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA06456; Thu, 10 Sep 1998 17:34:01 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id KAA03259; Fri, 11 Sep 1998 10:04:07 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id KAA13921; Fri, 11 Sep 1998 10:03:58 +0930 (CST) Message-ID: <19980911100357.A583@freebie.lemis.com> Date: Fri, 11 Sep 1998 10:03:57 +0930 From: Greg Lehey To: Brian Sletten Cc: FreeBSD Questions Subject: Compaq support? (was: Question...) References: <35F848B6.E25FF93B@autometric.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <35F848B6.E25FF93B@autometric.com>; from Brian Sletten on Thu, Sep 10, 1998 at 05:46:30PM -0400 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thursday, 10 September 1998 at 17:46:30 -0400, Brian Sletten wrote: > Hi, Hackers. > > I've looked through the hardware lists and searched the FAQ and mail archives > and whatnot and haven't come up with an answer to this yet. > > Does anyone know if FreeBSD will work well with a Compaq Deskpro 4000 w/ its > onboard SCSI, sound, video, and network hardware? I don't, anyway. > I'm not presently on this list, so if anyone could let me know, I'd really > appreciate it. Please don't send questions of this nature to -hackers. They're talking about in-depth implementation issues. You should have sent this message to -questions. I'm copying -questions on this reply, so hopefully you'll get a useful reply. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Sep 10 18:11:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA13018 for freebsd-hackers-outgoing; Thu, 10 Sep 1998 18:11:14 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA13011 for ; Thu, 10 Sep 1998 18:11:09 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id KAA03390; Fri, 11 Sep 1998 10:41:05 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id KAA13983; Fri, 11 Sep 1998 10:40:50 +0930 (CST) Message-ID: <19980911104050.B13960@freebie.lemis.com> Date: Fri, 11 Sep 1998 10:40:50 +0930 From: Greg Lehey To: Warner Losh , freebsd-hackers@FreeBSD.ORG Subject: Re: syscalls and the stack References: <199809100235.UAA08517@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199809100235.UAA08517@harmony.village.org>; from Warner Losh on Wed, Sep 09, 1998 at 08:35:29PM -0600 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday, 9 September 1998 at 20:35:29 -0600, Warner Losh wrote: > > Question: > do system calls need to be made from the executable stack? No. That's why copyin() and copyout() exist. > If this were disallowed, what would break? Who knows? I think the official answer is "nothing", but I'm sure that some code uses pointers instead of copying the data. > I know that a system like this wouldn't give total security, > but it seems that at the cost of a few instructions per system call > (which could be disabled, if you wanted), one could stop the smash the > stack attacks cold. This would have the same vulnerabilities as the > Solar Designer patches for Linux. However, a door that takes extra > care to open is better than no door at all... Yes, it would definitely help. There's also an i386 call gate function, which effectively performs some copies for you. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Sep 10 19:35:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA24269 for freebsd-hackers-outgoing; Thu, 10 Sep 1998 19:35:48 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from tarsier.domain.net (tarsier.domain.net [204.107.140.8]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA24228 for ; Thu, 10 Sep 1998 19:35:42 -0700 (PDT) (envelope-from eric@tarsier.domain.net) Received: (from eric@localhost) by tarsier.domain.net (8.8.7/8.8.5) id TAA27612; Thu, 10 Sep 1998 19:35:01 -0700 (PDT) Message-ID: <19980910193501.55698@tarsier.domain.net> Date: Thu, 10 Sep 1998 19:35:01 -0700 From: eric To: Dennis Cc: hackers@FreeBSD.ORG Subject: Re: Boot from Flash References: <199809102017.QAA01623@etinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.79e In-Reply-To: <199809102017.QAA01623@etinc.com>; from Dennis on Thu, Sep 10, 1998 at 04:30:36PM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Sep 10, 1998 at 04:30:36PM -0400, Dennis wrote: > > Has anyone used the PC plug-in PCMCIA flash cards successfully with FreeBSD? > If so can you boot from it without a HD? I've done some work with this. Yes, you can boot off the flash card just as if it were a disk. However, there are some problems. Due to the nature of the flash memory, you more or less have to use it as read-only media (flash memory can only be written about 100k times before it becomes read-only) and if you have things writing to the flash all the time (even if it's just to update access times in the inodes when files are read) there are spots on the flash that will get "worn out" rather quickly, leading to filesystem corruption. So the trick is to have your flash boot disk mounted read only and then either have anything that needs to write write to ramdisk (which goes away when you reboot) or do something like mount a writable directory from an NFS server elsewhere. An ideal solution would be to have a ramdisk union-mounted on top of the read-only flash, and then as part of the shutdown procedure write the contents of the ramdisk over the flash once. Unfortunately you can't do this in freebsd because the union filesystem isn't usable. (you can mount it, but the kernel panics if you try to access anything in it) So that's the state of my knowledge of it... eric To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Sep 10 20:00:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA27407 for freebsd-hackers-outgoing; Thu, 10 Sep 1998 20:00:35 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from home.dragondata.com (home.dragondata.com [204.137.237.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA27399 for ; Thu, 10 Sep 1998 20:00:34 -0700 (PDT) (envelope-from toasty@home.dragondata.com) Received: (from toasty@localhost) by home.dragondata.com (8.8.8/8.8.5) id WAA01202; Thu, 10 Sep 1998 22:00:17 -0500 (CDT) From: Kevin Day Message-Id: <199809110300.WAA01202@home.dragondata.com> Subject: Re: alignment error in de driver In-Reply-To: <199809101955.VAA09032@yedi.iaf.nl> from Wilko Bulte at "Sep 10, 98 09:55:26 pm" To: wilko@yedi.iaf.nl (Wilko Bulte) Date: Thu, 10 Sep 1998 22:00:16 -0500 (CDT) Cc: FreeBSD-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (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 > I'm currently evaluating an interesting (I think) PCI card that I borrowed > for that purpose. It is a card that houses a pair of NCR875 Ultra SCSI > chips and a DEC 21140A 10/100 mbit ethernet chip. To glue all of this > together there is also a DEC pci bridge chip. > > I like this card because it has the potential to free some of my precious > PCI slots. > > Initial tests indicate that FreeBSD 2.2.6 recognises everything just fine. > I tested one of the SCSI channels and it looks just fine with bonnie etc. > First need some SCSI devices to populate the second channel. > > The ethernet also looks fine, although I can only test it with 10mbit > (no 100mbit at home yet). There is one phenomenon I don't get: > > de0: receive: 00:00:24:06:32:56: alignment error > de0: receive: 00:00:24:06:32:56: alignment error > de0: receive: 00:00:24:06:32:56: alignment error > de0: receive: 00:00:24:06:32:56: alignment error > de0: receive: 00:00:24:06:32:56: alignment error > de0: receive: 00:00:24:06:32:56: alignment error > > is displayed on the console. Just every now and then, it is currently > compile a kernel via NFS. Works just fine, save for the messages. You can ignore that error.... alignment errors are an unfortunate side effect of ethernet.. It's essentially saying 'I received a bad packet'. I'm not sure why the author of the de driver decided to leave that in... All other drivers (afaik) don't bother printing it... Kevin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Sep 10 21:09:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA04436 for freebsd-hackers-outgoing; Thu, 10 Sep 1998 21:09:43 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from freedomnet.com (freedomnet.com [198.240.104.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA04431 for ; Thu, 10 Sep 1998 21:09:38 -0700 (PDT) (envelope-from kbyanc@freedomnet.com) Received: from freedomnet.com (tech.freedomnet.com [198.240.104.20]) by freedomnet.com (8.8.7/8.8.7/antispam) with ESMTP id AAA15845 for ; Fri, 11 Sep 1998 00:04:37 -0400 (EDT) X-Envelope-To: Message-ID: <35F8A20E.7257F30E@freedomnet.com> Date: Fri, 11 Sep 1998 00:07:42 -0400 From: Kelly Yancey Organization: FreedomNet - http://www.freedomnet.com/ X-Mailer: Mozilla 4.05 [en] (Win95; I) MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.ORG Subject: New AMD processor support patch 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, Apparently I made a little faux-pa (sorry, I don't actually know french :) ) back in April or so...I submitted a patch to add proper detection of the AMD CPU and the ability to enable the write allocate feature found on K5 and K6 CPUs. It just recently came to my attention that I uploaded the wrong patch :( The only reason I even noticed is that I mentioned to a friend of mine , John, that on the 1 system in my office that the feature worked on that it sped things up by about 10-15%. Next thing I know, I notice several people on this list are stating that the feature works seems to work on their system but that they aren't seeing any performance gain. That is when it occurred to me that perhaps I didn't upload the correct patch (another version ANDed when it should have ORed and never actually turned on write allocate). So, to make a long story short, here is the correct patch (I updated it to detect the new K6-2 processors too): http://www.posi.net/software/public/freebsd/AMD_WT_ALLOC.patch To enable write allocate support, add the following line to your kernel config (after applying the patches of course :) ): options CPU_AMD_WT_ALLOC Now, for the tricky part: write allocate does not work on all systems. AMD's K6 FAQ states: " The write allocate utility is intended for development use only. Write allocate feature is supported for AMD-K6 processor in the following BIOS revisions: Award - Compile dates of March 1, 1997 or later AMI - CPU Module 3.31 or later Phoenix - Version 4.0 Release 6.0 or Release 5.1 w/build dates 4/7/97 or later. " On my systems that do not work with write allocate I typically get messages from ahc0 complaining about RAM parity errors. So be prepared to fallback onto your kernel.old Anyway, just in case your interested in why write allocate gives such great performance increases (when it works), AMD describes its function in their write allocate application note at: http://www.amd.com/K6/k6docs/pdf/21326d.pdf If there is any interest I would like to add a cpu feature check for the AMD 3DNow! instructions. Kelly Yancey ~kbyanc@freedomnet.com~ (Thanks John for helping realize what I had done! :) ) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Sep 10 22:12:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA09041 for freebsd-hackers-outgoing; Thu, 10 Sep 1998 22:12:49 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA09036 for ; Thu, 10 Sep 1998 22:12:44 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id OAA00753; Fri, 11 Sep 1998 14:42:23 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id OAA07470; Fri, 11 Sep 1998 14:42:22 +0930 (CST) Message-ID: <19980911144222.N611@freebie.lemis.com> Date: Fri, 11 Sep 1998 14:42:22 +0930 From: Greg Lehey To: Kelly Yancey , freebsd-hackers@FreeBSD.ORG Subject: Re: New AMD processor support patch References: <35F8A20E.7257F30E@freedomnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <35F8A20E.7257F30E@freedomnet.com>; from Kelly Yancey on Fri, Sep 11, 1998 at 12:07:42AM -0400 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Friday, 11 September 1998 at 0:07:42 -0400, Kelly Yancey wrote: > Hi all, > > Apparently I made a little faux-pa (sorry, I don't actually know > french :) ) faux pas ("false pace" or wrong step). > back in April or so...I submitted a patch to add proper detection of > the AMD CPU and the ability to enable the write allocate feature > found on K5 and K6 CPUs. It just recently came to my attention that > I uploaded the wrong patch :( It looked pretty relevant to me. > The only reason I even noticed is that I mentioned to a friend of > mine , John, that on the 1 system in my office that the feature > worked on that it sped things up by about 10-15%. Next thing I know, > I notice several people on this list are stating that the feature > works seems to work on their system but that they aren't seeing any > performance gain. Yes, I was one of them. I also had a good reason for the discrepancy: if this feature would always be an improvement, it wouldn't need to be an option. > That is when it occurred to me that perhaps I didn't upload the correct > patch (another version ANDed when it should have ORed and never actually > turned on write allocate). > So, to make a long story short, here is the correct patch (I updated > it to detect the new K6-2 processors too): > http://www.posi.net/software/public/freebsd/AMD_WT_ALLOC.patch > > To enable write allocate support, add the following line to your > kernel config (after applying the patches of course :) ): > > options CPU_AMD_WT_ALLOC > > Now, for the tricky part: write allocate does not work on all systems. > AMD's K6 FAQ states: > " The write allocate utility is intended for development use only. > Write allocate feature is supported for AMD-K6 processor in the > following BIOS revisions: > > Award - Compile dates of March 1, 1997 or later > AMI - CPU Module 3.31 or later > Phoenix - Version 4.0 > Release 6.0 or Release 5.1 w/build dates 4/7/97 or later. > " BIOSes are an idea in the mind of Microsoft. We don't use them after booting. > On my systems that do not work with write allocate I typically get > messages from ahc0 complaining about RAM parity errors. So be prepared > to fallback onto your kernel.old Strange. You'd expect it to have no effect at all. > Anyway, just in case your interested in why write allocate gives such > great performance increases (when it works), AMD describes its function > in their write allocate application note at: > http://www.amd.com/K6/k6docs/pdf/21326d.pdf Yes, I read that. > If there is any interest I would like to add a cpu feature check for > the AMD 3DNow! instructions. I'm sure that would be of interest, though it doesn't affect my processor. I'm off to a conference for a week, but when I get back I'll try out the patches (assuming nobody beats me to it) and report the results. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Sep 10 23:06:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA14583 for freebsd-hackers-outgoing; Thu, 10 Sep 1998 23:06:30 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from korin.warman.org.pl (korin.nask.waw.pl [148.81.160.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA14578 for ; Thu, 10 Sep 1998 23:06:25 -0700 (PDT) (envelope-from abial@nask.pl) Received: from localhost (abial@localhost) by korin.warman.org.pl (8.9.1/8.8.5) with SMTP id IAA20824; Fri, 11 Sep 1998 08:10:02 +0200 (CEST) X-Authentication-Warning: korin.warman.org.pl: abial owned process doing -bs Date: Fri, 11 Sep 1998 08:10:02 +0200 (CEST) From: Andrzej Bialecki X-Sender: abial@korin.warman.org.pl To: eric cc: Dennis , hackers@FreeBSD.ORG Subject: Re: Boot from Flash In-Reply-To: <19980910193501.55698@tarsier.domain.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, 10 Sep 1998, eric wrote: > On Thu, Sep 10, 1998 at 04:30:36PM -0400, Dennis wrote: > > > > Has anyone used the PC plug-in PCMCIA flash cards successfully with > > FreeBSD? If so can you boot from it without a HD? > I've done some work with this. Yes, you can boot off the flash card just as if > it were a disk. However, there are some problems. Due to the nature of the [...] Excellent explanation, Eric. I came to the same conclusions when doing tests with an IDE flash disk. We may also add here, specifically, that swapping on such device is something which should never be done - so this means you probably have to live without swap, and you have to carefully watch over your memory consumption, otherwise your processes will be killed. Dennis, you may want to subscribe to freebsd-small, which discusses these issues. It's a low volume and (thus far, thank God) strictly technical list... > elsewhere. An ideal solution would be to have a ramdisk union-mounted > on top of the read-only flash, and then as part of the shutdown procedure > write the contents of the ramdisk over the flash once. Unfortunately you > can't do this in freebsd because the union filesystem isn't usable. > (you can mount it, but the kernel panics if you try to access anything in it) Not that I tested it thoroughly... but last time I used mount_union in 3.0-current (a week ago?) it worked ok. YMMV as usual :-) Andrzej Bialecki -------------------- ++-------++ ------------------------------------- ||PicoBSD|| FreeBSD in your pocket? Go and see: Research & Academic |+-------+| "Small & Embedded FreeBSD" Network in Poland | |TT~~~| | 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 Fri Sep 11 00:02:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA21281 for freebsd-hackers-outgoing; Fri, 11 Sep 1998 00:02:34 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from blackstar.krsu.edu.kg (blackstar.krsu.edu.kg [195.254.160.163]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA21255 for ; Fri, 11 Sep 1998 00:02:19 -0700 (PDT) (envelope-from fygrave@blackstar.krsu.edu.kg) Received: from localhost (fygrave@localhost) by blackstar.krsu.edu.kg (8.9.1a/8.9.1) with SMTP id NAA00446; Fri, 11 Sep 1998 13:08:12 +0600 (KGST) Date: Fri, 11 Sep 1998 13:08:11 +0600 (KGST) From: CyberPsychotic To: freebsd-hackers@FreeBSD.ORG Subject: FreeBSD 2.2.7-stable gets frozen due to ed0 Message-ID: Confirm-receipt-to: fygrave@usa.net MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello people, Recently I have been experienced some kind of strange problem. My freeBSD machine (FreeBSD 2.2.7-stable kernel/AMD mobo. Ne2000 ethernet card) suddently gets frozen after displaying following thing on the srceen: -- Sep 9 12:53:48 mybox /kernel: ed0: remote transmit DMA failed to complete Sep 9 12:53:51 mybox /kernel: ed0: device timeout -- and only reset helps in that case. (machine can not be pinged as well). I wonder if that's kind of kernel bug, or hardware problem tho? I tried to find out what actually may cause this, surfed kernel source abit, bit didnt find where it goes this way. Any hints would be highly appreciated. thanks beforehands Fyodor To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Sep 11 07:00:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA04397 for freebsd-hackers-outgoing; Fri, 11 Sep 1998 07:00:18 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from opi.flirtbox.ch ([62.48.0.50]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id HAA04392 for ; Fri, 11 Sep 1998 07:00:14 -0700 (PDT) (envelope-from oppermann@pipeline.ch) Received: (qmail 25711 invoked from network); 11 Sep 1998 13:59:58 -0000 Received: from unknown (HELO pipeline.ch) (195.134.140.5) by opi.flirtbox.ch with SMTP; 11 Sep 1998 13:59:58 -0000 Message-ID: <35F92CE3.BC7AF153@pipeline.ch> Date: Fri, 11 Sep 1998 16:00:03 +0200 From: Andre Oppermann Organization: Internet Business Solutions Ltd. X-Mailer: Mozilla 4.03 [en] (Win95; I) MIME-Version: 1.0 To: Dennis CC: Mike Smith , ulf@Alameda.net, hackers@FreeBSD.ORG Subject: Re: Packet/traffic shapper ? References: <199809100656.XAA00636@word.smith.net.au> <199809102011.QAA01590@etinc.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dennis wrote: > > At 04:31 PM 9/10/98 +0200, Andre Oppermann wrote: > >Mike Smith wrote: > >> > >> > What software solutions for FreeBSD do we currently have available ? > >> > >> The two best tools in this area at the moment are ALTQ and dummynet. > >> Searches on those two keywords should get you enough material to get > >> started out of the archives. Both of the principal maintainers are > >> FreeBSD committers, and we're looking forward to seeing their work > >> enter the mainstream soon. > > > >Hurray!!! Will ALTQ be in 3.0-R? > > I suppose that you mean "the 2 best free solutions"? No, until you give me more technically detailed description of your BW manager product. What I look for is an alternative for the standard FIFO queueing currently done in the BSD IP stack. You might know that bandwidth is quite expensive here in Europe and I'd like to drive my links up to 90% utilization. That is only possible if I have something like RED that does fair queueing on the FreeBSD routers, otherwise one big FTP transfer can eat up most of the bandwidth. FIFO in the IP stack is IMHO a really Bad Thing (TM) and should be replaced as soon as possible with RED or WFQ. > A commercial product is available at http://www.etinc.com/bwmgr.htm > > Of course calling it a "shaper" would be an insult! :-) -- Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Sep 11 08:05:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA11135 for freebsd-hackers-outgoing; Fri, 11 Sep 1998 08:05:05 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA11118 for ; Fri, 11 Sep 1998 08:04:48 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id PAA19937; Fri, 11 Sep 1998 15:11:21 +0200 From: Luigi Rizzo Message-Id: <199809111311.PAA19937@labinfo.iet.unipi.it> Subject: Re: Packet/traffic shapper ? To: oppermann@pipeline.ch (Andre Oppermann) Date: Fri, 11 Sep 1998 15:11:21 +0200 (MET DST) Cc: dennis@etinc.com, mike@smith.net.au, ulf@Alameda.net, hackers@FreeBSD.ORG In-Reply-To: <35F92CE3.BC7AF153@pipeline.ch> from "Andre Oppermann" at Sep 11, 98 03:59:44 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > I suppose that you mean "the 2 best free solutions"? > > No, until you give me more technically detailed description of your > BW manager product. well still it is not a free solution so the comment is correct :) >From what i have read about the Etinc product (and i'll be happy to be corrected), it does something very similar to the bandwidth-management part of dummynet, plus comes with support being commercial software. > What I look for is an alternative for the standard FIFO queueing > currently done in the BSD IP stack. You might know that bandwidth > is quite expensive here in Europe and I'd like to drive my links > up to 90% utilization. That is only possible if I have something > like RED that does fair queueing on the FreeBSD routers, otherwise ALTQ might be for you then. In fact RED+WFQ would be not hard to port to dummynet (and it is in my todo list but not at the top), and the bw limiting of dummynet could be ported even more easily to ALTQ, but there is one little difference between ALTQ and dummynet: * ALTQ replaces the queueing management at the interface level, so it has more feedback from the interface, at the price of having to modify/recompile each driver. * dummynet works at a higher level so the bandwidth is configured "statically" and you can have queueing underneath. The advantage is that you don't have to recompile the drivers, dummynet works even on a ppp link. I have to say that if your machine is not directly on the bottleneck link, or such link has constant bandwidth (e.g. does not use compression etc.) then the difference is irrelevant apart from long term drifts (but you can easily correct them). It remains as a fact that, as it is now, ALTQ implements WFQ and RED, whereas dummynet does not. cheers luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Sep 11 08:24:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA13844 for freebsd-hackers-outgoing; Fri, 11 Sep 1998 08:24:30 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from opi.flirtbox.ch ([62.48.0.50]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA13786 for ; Fri, 11 Sep 1998 08:24:18 -0700 (PDT) (envelope-from oppermann@pipeline.ch) Received: (qmail 25793 invoked from network); 11 Sep 1998 15:23:58 -0000 Received: from unknown (HELO pipeline.ch) (195.134.140.5) by opi.flirtbox.ch with SMTP; 11 Sep 1998 15:23:58 -0000 Message-ID: <35F94094.EF55F5A8@pipeline.ch> Date: Fri, 11 Sep 1998 17:24:04 +0200 From: Andre Oppermann Organization: Internet Business Solutions Ltd. X-Mailer: Mozilla 4.03 [en] (Win95; I) MIME-Version: 1.0 To: Luigi Rizzo CC: dennis@etinc.com, mike@smith.net.au, ulf@Alameda.net, hackers@FreeBSD.ORG Subject: Re: Packet/traffic shapper ? References: <199809111311.PAA19937@labinfo.iet.unipi.it> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Luigi Rizzo wrote: > > > > I suppose that you mean "the 2 best free solutions"? > > > > No, until you give me more technically detailed description of your > > BW manager product. > > well still it is not a free solution so the comment is correct :) > >From what i have read about the Etinc product (and i'll be happy > to be corrected), it does something very similar to the > bandwidth-management part of dummynet, plus comes with support > being commercial software. *Smile*... I recall some threads here on this lists about the quality of that support... Some have been very satisfied, some not... I don't know... I don't have any Etinc products... Anyway, I'm happy with the non-commercial support of FreeBSD! The only sad thing is that the recent "TCP disconnect" (I don't know the name yet) from BUGTRAQ still hasn't been solved... > > What I look for is an alternative for the standard FIFO queueing > > currently done in the BSD IP stack. You might know that bandwidth > > is quite expensive here in Europe and I'd like to drive my links > > up to 90% utilization. That is only possible if I have something > > like RED that does fair queueing on the FreeBSD routers, otherwise > > ALTQ might be for you then. In fact RED+WFQ would be not hard to I know, thats why I want it in 3.0-R. > port to dummynet (and it is in my todo list but not at the top), > and the bw limiting of dummynet could be ported even more easily > to ALTQ, but there is one little difference between ALTQ and > dummynet: > > * ALTQ replaces the queueing management at the interface level, > so it has more feedback from the interface, at the price of having > to modify/recompile each driver. Thats exactly what I want; queueing management on the interface level. If I look at the README of ALTQ it seems not so hard to adjust the drivers to use ALTQ. > * dummynet works at a higher level so the bandwidth is configured > "statically" and you can have queueing underneath. The advantage is > that you don't have to recompile the drivers, dummynet works even > on a ppp link. OK, but thats a different animal IMHO. I don't want to give traffic priorities, just fair queueing... > I have to say that if your machine is not directly on the bottleneck > link, or such link has constant bandwidth (e.g. does not use > compression etc.) then the difference is irrelevant apart from long > term drifts (but you can easily correct them). Term drifts? > It remains as a fact that, as it is now, ALTQ implements WFQ and RED, > whereas dummynet does not. And I think ALTQ can be extended and combined with the recent NetBSD ARP layer changes to give us a really nice networking framework. I'd love to do all that coding and documenting but I'm not yet on that level of understanding of the code and my time limited at the moment. -- Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Sep 11 09:12:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA20427 for freebsd-hackers-outgoing; Fri, 11 Sep 1998 09:12:38 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mailbox.reptiles.org (mailbox.reptiles.org [198.96.117.155]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA20397; Fri, 11 Sep 1998 09:12:25 -0700 (PDT) (envelope-from jim@reptiles.org) Received: from localhost (1326 bytes) by mailbox.reptiles.org via sendmail with P:stdio/R:bind_hosts/T:inet_zone_bind_smtp (sender: ) (ident using unix) id for ; Fri, 11 Sep 1998 12:11:52 -0400 (EDT) (Smail-3.2.0.102 1998-Aug-2 #2 built 1998-Aug-4) Message-Id: From: jim@reptiles.org (Jim Mercer) Subject: problem using 3 x znyx314 cards for 12 de ethernets To: hackers@FreeBSD.ORG, questions@FreeBSD.ORG Date: Fri, 11 Sep 1998 12:11:52 -0400 (EDT) X-Mailer: ELM [version 2.4ME+ PL22 (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 i have a machine that has been running quite nicely with two znyx314 cards in it. recently, i added a third card, giving de8, de9, de10, de11. using 2.2.7-RELEASE, everything looks fine, no errors from the kernel or the ifconfigs in /etc/rc... once the machine is up, i send a ping the the broadcast address of one of the new ports, and the only response is from the interface itself. i don't see any traffic on the hub. is there something i need to tweak to have 12 de class interfaces? [ i generally read freebsd-hackers and freebsd-questions via news, so a cc: on repsonses would be appreciated ] -- [ Jim Mercer Reptilian Research jim@reptiles.org +1 416 410-5633 ] [ The telephone, for those of you who have forgotten, was a commonly used ] [ communications technology in the days before electronic mail. ] [ They're still easy to find in most large cities. -- Nathaniel Borenstein ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Sep 11 09:49:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA25415 for freebsd-hackers-outgoing; Fri, 11 Sep 1998 09:49:08 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA25409 for ; Fri, 11 Sep 1998 09:49:05 -0700 (PDT) (envelope-from dennis@etinc.com) Received: from dbsys (dbsys.etinc.com [207.252.1.18]) by etinc.com (8.8.7/8.6.9) with SMTP id MAA05628; Fri, 11 Sep 1998 12:46:41 -0400 (EDT) Message-Id: <199809111646.MAA05628@etinc.com> X-Sender: dennis@etinc.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Fri, 11 Sep 1998 12:59:19 -0400 To: Luigi Rizzo , oppermann@pipeline.ch (Andre Oppermann) From: Dennis Subject: Re: Packet/traffic shapper ? Cc: mike@smith.net.au, ulf@Alameda.net, hackers@FreeBSD.ORG In-Reply-To: <199809111311.PAA19937@labinfo.iet.unipi.it> References: <35F92CE3.BC7AF153@pipeline.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 03:11 PM 9/11/98 +0200, Luigi Rizzo wrote: >> > I suppose that you mean "the 2 best free solutions"? >> >> No, until you give me more technically detailed description of your >> BW manager product. > >well still it is not a free solution so the comment is correct :) >From what i have read about the Etinc product (and i'll be happy >to be corrected), it does something very similar to the >bandwidth-management part of dummynet, plus comes with support >being commercial software. Ours is a true bandwidth limiter (ie, specific types of traffic can be limited to very specific bandwidth specifications. ET/BWMGR can also operate with very high levels of traffic and with hundreds of limits with little overhead. > >> What I look for is an alternative for the standard FIFO queueing >> currently done in the BSD IP stack. You might know that bandwidth >> is quite expensive here in Europe and I'd like to drive my links >> up to 90% utilization. That is only possible if I have something >> like RED that does fair queueing on the FreeBSD routers, otherwise > >ALTQ might be for you then. In fact RED+WFQ would be not hard to >port to dummynet (and it is in my todo list but not at the top), >and the bw limiting of dummynet could be ported even more easily >to ALTQ, but there is one little difference between ALTQ and >dummynet: > > * ALTQ replaces the queueing management at the interface level, > so it has more feedback from the interface, at the price of having > to modify/recompile each driver. > * dummynet works at a higher level so the bandwidth is configured > "statically" and you can have queueing underneath. The advantage is > that you don't have to recompile the drivers, dummynet works even > on a ppp link. > >I have to say that if your machine is not directly on the bottleneck >link, or such link has constant bandwidth (e.g. does not use >compression etc.) then the difference is irrelevant apart from long >term drifts (but you can easily correct them). > >It remains as a fact that, as it is now, ALTQ implements WFQ and RED, >whereas dummynet does not. Doesnt dummynet run in user space? db Emerging Technologies, Inc. http://www.etinc.com ISA and PCI Sync Cards for FreeBSD, LINUX and BSD/OS Bandwidth Manager http://www.etinc.com/bwmgr.htm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Sep 11 11:20:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA08732 for freebsd-hackers-outgoing; Fri, 11 Sep 1998 11:20:07 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id LAA08598 for ; Fri, 11 Sep 1998 11:19:55 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id SAA20127; Fri, 11 Sep 1998 18:26:23 +0200 From: Luigi Rizzo Message-Id: <199809111626.SAA20127@labinfo.iet.unipi.it> Subject: Re: Packet/traffic shapper ? To: dennis@etinc.com (Dennis) Date: Fri, 11 Sep 1998 18:26:22 +0200 (MET DST) Cc: oppermann@pipeline.ch, mike@smith.net.au, ulf@Alameda.net, hackers@FreeBSD.ORG In-Reply-To: <199809111646.MAA05628@etinc.com> from "Dennis" at Sep 11, 98 12:59:00 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Ours is a true bandwidth limiter (ie, specific types of traffic can be > limited to very specific bandwidth specifications. same for dummynet > ET/BWMGR can also operate with very high levels of traffic and with > hundreds of limits with little overhead. well this i cannot really say because it uses ipfw for filtering (although i have implemented a jump optimization in the ipfw rule scanning which lets you arrange rules in a tree with cost proportional to the length of the actual search path as opposed to the original ipfw which had to scan the whole list. > >It remains as a fact that, as it is now, ALTQ implements WFQ and RED, > >whereas dummynet does not. > > Doesnt dummynet run in user space? not at all. it runs completely in the kernel. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Sep 11 12:00:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA18144 for freebsd-hackers-outgoing; Fri, 11 Sep 1998 12:00:52 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from freedomnet.com (freedomnet.com [198.240.104.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA18085 for ; Fri, 11 Sep 1998 12:00:33 -0700 (PDT) (envelope-from kbyanc@freedomnet.com) Received: from freedomnet.com (tech.freedomnet.com [198.240.104.20]) by freedomnet.com (8.8.7/8.8.7/antispam) with ESMTP id OAA11518; Fri, 11 Sep 1998 14:55:03 -0400 (EDT) X-Envelope-To: freebsd-hackers@freebsd.org Message-ID: <35F972E2.98CCB56A@freedomnet.com> Date: Fri, 11 Sep 1998 14:58:42 -0400 From: Kelly Yancey Organization: FreedomNet - http://www.freedomnet.com/ X-Mailer: Mozilla 4.05 [en] (Win95; I) MIME-Version: 1.0 To: Greg Lehey CC: freebsd-hackers@FreeBSD.ORG Subject: Re: New AMD processor support patch References: <35F8A20E.7257F30E@freedomnet.com> <19980911144222.N611@freebie.lemis.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greg Lehey wrote: > > On Friday, 11 September 1998 at 0:07:42 -0400, Kelly Yancey wrote: > > Hi all, > > > > Apparently I made a little faux-pa (sorry, I don't actually know > > french :) ) > > faux pas ("false pace" or wrong step). I'll have to remember that :) > > > back in April or so...I submitted a patch to add proper detection of > > the AMD CPU and the ability to enable the write allocate feature > > found on K5 and K6 CPUs. It just recently came to my attention that > > I uploaded the wrong patch :( > > It looked pretty relevant to me. I had accidently posted a previous version that ANDed instead of ORed and therefor didn't actually enable write allocate. > > > The only reason I even noticed is that I mentioned to a friend of > > mine , John, that on the 1 system in my office that the feature > > worked on that it sped things up by about 10-15%. Next thing I know, > > I notice several people on this list are stating that the feature > > seems to work on their system but that they aren't seeing any > > performance gain. > > Yes, I was one of them. I also had a good reason for the > discrepancy: if this feature would always be an improvement, it > wouldn't need to be an option. Well, it is not always an improvement...it doesn't seem to even work on some motherboards. On the one system in my office on which it did work, I recall seeing a 10-15% performance increase. > > > That is when it occurred to me that perhaps I didn't upload the correct > > patch (another version ANDed when it should have ORed and never actually > > turned on write allocate). > > So, to make a long story short, here is the correct patch (I updated > > it to detect the new K6-2 processors too): > > http://www.posi.net/software/public/freebsd/AMD_WT_ALLOC.patch > > > > To enable write allocate support, add the following line to your > > kernel config (after applying the patches of course :) ): > > > > options CPU_AMD_WT_ALLOC > > > > Now, for the tricky part: write allocate does not work on all systems. > > AMD's K6 FAQ states: > > " The write allocate utility is intended for development use only. > > Write allocate feature is supported for AMD-K6 processor in the > > following BIOS revisions: > > > > Award - Compile dates of March 1, 1997 or later > > AMI - CPU Module 3.31 or later > > Phoenix - Version 4.0 > > Release 6.0 or Release 5.1 w/build dates 4/7/97 or later. > > " > > BIOSes are an idea in the mind of Microsoft. We don't use them after > booting. Yeah, actually their web site used to state that it only worked on certain motherboards. Now it says certain BIOSes which struck me as odd. I figured that perhaps they new that only motherboards which could handle write allocate shipped with those bioses and rather than listing all the motherboards they just listed the bioses. Admittingly some round-about logic :) I don't understand, though, why write allocate doesn't always work despite the motherboard. From reading their application note, it would seem to me that there is no reason the motherboard should even notice anything out of the ordinary. But I assure you, on all but the one system, my ahc0 device goes nuts when write allocate is enabled. This may not affect most people though (all the computers in my office running FreeBSD are servers with Adaptec 2940UW controllers). > > > On my systems that do not work with write allocate I typically get > > messages from ahc0 complaining about RAM parity errors. So be prepared > > to fallback onto your kernel.old > > Strange. You'd expect it to have no effect at all. > > > Anyway, just in case your interested in why write allocate gives such > > great performance increases (when it works), AMD describes its function > > in their write allocate application note at: > > http://www.amd.com/K6/k6docs/pdf/21326d.pdf > > Yes, I read that. > > > If there is any interest I would like to add a cpu feature check for > > the AMD 3DNow! instructions. > > I'm sure that would be of interest, though it doesn't affect my > processor. > > I'm off to a conference for a week, but when I get back I'll try out > the patches (assuming nobody beats me to it) and report the results. > Thanks, I'm looking for some feedback. I know how long it takes to get a lot of these minor changes into the distribution. It is nice to know when the work was not for nothing. Kelly Yancey ~kbyanc@freedomnet.com~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Sep 11 12:03:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA18730 for freebsd-hackers-outgoing; Fri, 11 Sep 1998 12:03:13 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA18720 for ; Fri, 11 Sep 1998 12:03:10 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id MAA01017; Fri, 11 Sep 1998 12:07:47 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199809111907.MAA01017@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Andre Oppermann cc: Dennis , Mike Smith , ulf@Alameda.net, hackers@FreeBSD.ORG Subject: Re: Packet/traffic shapper ? In-reply-to: Your message of "Fri, 11 Sep 1998 16:00:03 +0200." <35F92CE3.BC7AF153@pipeline.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 11 Sep 1998 12:07:47 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > >> > What software solutions for FreeBSD do we currently have available ? > > >> > > >> The two best tools in this area at the moment are ALTQ and dummynet. > > >> Searches on those two keywords should get you enough material to get > > >> started out of the archives. Both of the principal maintainers are > > >> FreeBSD committers, and we're looking forward to seeing their work > > >> enter the mainstream soon. > > > > > >Hurray!!! Will ALTQ be in 3.0-R? > > > > I suppose that you mean "the 2 best free solutions"? I actually meant the two best solutions. 8) > What I look for is an alternative for the standard FIFO queueing > currently done in the BSD IP stack. You might know that bandwidth > is quite expensive here in Europe and I'd like to drive my links > up to 90% utilization. That is only possible if I have something > like RED that does fair queueing on the FreeBSD routers, otherwise > one big FTP transfer can eat up most of the bandwidth. You want ALTQ for this. > FIFO in the IP stack is IMHO a really Bad Thing (TM) and should be > replaced as soon as possible with RED or WFQ. FIFO is actually not as evil as you make it out to be. Any other policy is just as open to abuse and misperformance. Note that you can't implement the queueing strategy just at the stack level; it has to go all the way down. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Sep 11 12:52:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA27042 for freebsd-hackers-outgoing; Fri, 11 Sep 1998 12:52:50 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from uni4nn.gn.iaf.nl (osmium.gn.iaf.nl [193.67.144.12]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id MAA27015 for ; Fri, 11 Sep 1998 12:52:38 -0700 (PDT) (envelope-from wilko@yedi.iaf.nl) Received: by uni4nn.gn.iaf.nl with UUCP id AA06414 (5.67b/IDA-1.5 for FreeBSD-hackers@FreeBSD.ORG); Fri, 11 Sep 1998 21:44:37 +0200 Received: (from wilko@localhost) by yedi.iaf.nl (8.8.8/8.6.12) id TAA00441; Fri, 11 Sep 1998 19:52:38 +0200 (CEST) From: Wilko Bulte Message-Id: <199809111752.TAA00441@yedi.iaf.nl> Subject: Re: alignment error in de driver In-Reply-To: <199809101955.VAA09032@yedi.iaf.nl> from Wilko Bulte at "Sep 10, 98 09:55:26 pm" To: wilko@yedi.iaf.nl (Wilko Bulte) Date: Fri, 11 Sep 1998 19:52:38 +0200 (CEST) Cc: FreeBSD-hackers@FreeBSD.ORG X-Organisation: Private FreeBSD site - Arnhem, The Netherlands X-Pgp-Info: PGP public key at 'finger wilko@freefall.freebsd.org' X-Mailer: ELM [version 2.4ME+ PL38 (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 As Wilko Bulte wrote... > I'm currently evaluating an interesting (I think) PCI card that I borrowed > de0: receive: 00:00:24:06:32:56: alignment error > de0: receive: 00:00:24:06:32:56: alignment error > > In case anyone wonders: the cable problem message was indeed a bad cable. > This has been fixed in the meantime (the alignment errors persist after > the cable swap. > > Matt, if you're listening: I'm talking about a Digital ^H^H^H^H^H^H^H Compaq > KZPCM adapter. I have now also tried the same setup with a 100baseT connection. Just using a X-cable, no hubs. I have yet to see a alignment error.. But instead I got: de0: enabling Full Duplex 100baseTX port de0: abnormal interrupt: transmit underflow (raising TX threshold to 96|256) de0: abnormal interrupt: transmit underflow (raising TX threshold to 1024) bash-2.01# ifconfig de0 de0: flags=8843 mtu 1500 inet 192.168.200.12 netmask 0xffffff00 broadcast 192.168.200.255 ether 00:06:2b:00:16:c6 media: autoselect (100baseTX ) status: active The 'other' side of the connection is a Kingston card with a: de0 rev 34 int a irq 7 on pci0:9:0 de0: 21140A [10-100Mb/s] pass 2.2 de0: address 00:c0:f0:30:41:fb This 'other' machine logged: de0: enabling Full Duplex 100baseTX port de0: receive: 00:06:2b:00:16:c6: bad crc More data, more confusion (at least for me). Wilko _ ______________________________________________________________________ | / o / / _ Bulte email: wilko@yedi.iaf.nl |/|/ / / /( (_) Arnhem, The Netherlands WWW : http://www.tcja.nl ______________________________________________ Powered by FreeBSD __________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Sep 11 12:53:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA27100 for freebsd-hackers-outgoing; Fri, 11 Sep 1998 12:53:09 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from uni4nn.gn.iaf.nl (osmium.gn.iaf.nl [193.67.144.12]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id MAA27056 for ; Fri, 11 Sep 1998 12:52:54 -0700 (PDT) (envelope-from wilko@yedi.iaf.nl) Received: by uni4nn.gn.iaf.nl with UUCP id AA06420 (5.67b/IDA-1.5 for FreeBSD-hackers@freebsd.org); Fri, 11 Sep 1998 21:44:39 +0200 Received: (from wilko@localhost) by yedi.iaf.nl (8.8.8/8.6.12) id TAA00449 for FreeBSD-hackers@freebsd.org; Fri, 11 Sep 1998 19:53:02 +0200 (CEST) Received: (from wilko@localhost) by yedi.iaf.nl (8.8.8/8.6.12) id TAA00441; Fri, 11 Sep 1998 19:52:38 +0200 (CEST) From: Wilko Bulte Message-Id: <199809111752.TAA00441@yedi.iaf.nl> Subject: Re: alignment error in de driver In-Reply-To: <199809101955.VAA09032@yedi.iaf.nl> from Wilko Bulte at "Sep 10, 98 09:55:26 pm" To: wilko@yedi.iaf.nl (Wilko Bulte) Date: Fri, 11 Sep 1998 19:52:38 +0200 (CEST) Cc: FreeBSD-hackers@FreeBSD.ORG X-Organisation: Private FreeBSD site - Arnhem, The Netherlands X-Pgp-Info: PGP public key at 'finger wilko@freefall.freebsd.org' X-Mailer: ELM [version 2.4ME+ PL38 (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 As Wilko Bulte wrote... > I'm currently evaluating an interesting (I think) PCI card that I borrowed > de0: receive: 00:00:24:06:32:56: alignment error > de0: receive: 00:00:24:06:32:56: alignment error > > In case anyone wonders: the cable problem message was indeed a bad cable. > This has been fixed in the meantime (the alignment errors persist after > the cable swap. > > Matt, if you're listening: I'm talking about a Digital ^H^H^H^H^H^H^H Compaq > KZPCM adapter. I have now also tried the same setup with a 100baseT connection. Just using a X-cable, no hubs. I have yet to see a alignment error.. But instead I got: de0: enabling Full Duplex 100baseTX port de0: abnormal interrupt: transmit underflow (raising TX threshold to 96|256) de0: abnormal interrupt: transmit underflow (raising TX threshold to 1024) bash-2.01# ifconfig de0 de0: flags=8843 mtu 1500 inet 192.168.200.12 netmask 0xffffff00 broadcast 192.168.200.255 ether 00:06:2b:00:16:c6 media: autoselect (100baseTX ) status: active The 'other' side of the connection is a Kingston card with a: de0 rev 34 int a irq 7 on pci0:9:0 de0: 21140A [10-100Mb/s] pass 2.2 de0: address 00:c0:f0:30:41:fb This 'other' machine logged: de0: enabling Full Duplex 100baseTX port de0: receive: 00:06:2b:00:16:c6: bad crc More data, more confusion (at least for me). Wilko _ ______________________________________________________________________ | / o / / _ Bulte email: wilko@yedi.iaf.nl |/|/ / / /( (_) Arnhem, The Netherlands WWW : http://www.tcja.nl ______________________________________________ Powered by FreeBSD __________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Sep 11 13:54:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA06530 for freebsd-hackers-outgoing; Fri, 11 Sep 1998 13:54:01 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from lab321.ru (anonymous1.omsk.net.ru [62.76.128.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA06195 for ; Fri, 11 Sep 1998 13:51:52 -0700 (PDT) (envelope-from kev@lab321.ru) Received: (from kev@localhost) by lab321.ru (8.8.8/8.8.5) id DAA06052; Sat, 12 Sep 1998 03:50:59 +0700 (OSS) Date: Sat, 12 Sep 1998 03:50:59 +0700 (OSS) From: Eugeny Kuzakov Message-Id: <199809112050.DAA06052@lab321.ru> To: Mike Smith , hackers@FreeBSD.ORG Subject: Re: Packet/traffic shapper ? X-Newsgroups: local.maillist.FreeBSD.freebsd-hackers In-Reply-To: <199809100656.XAA00636@word.smith.net.au> Organization: Powered by FreeBSD. MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG χΩ ΠΙΣΑΜΙ: > The two best tools in this area at the moment are ALTQ and dummynet. ALTQ - great ! But not support ppp* devices. dummynet - well. Reqs ipfw. I uses ipfilter ! :( -- Best wishes, Eugeny Kuzakov Laboratory 321 ( Omsk, Russia ) kev@lab321.ru ICQ#: 5885106 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Sep 11 16:55:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA29494 for freebsd-hackers-outgoing; Fri, 11 Sep 1998 16:55:31 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mail.binghamton.edu (mailbox.adm.binghamton.edu [128.226.10.60]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA29483 for ; Fri, 11 Sep 1998 16:55:24 -0700 (PDT) (envelope-from bf20761@binghamton.edu) Received: from bingnfs1.binghamton.edu (nfs1 [128.226.1.16]) by mail.binghamton.edu (8.8.7/8.6.12) with ESMTP id TAA16916 for ; Fri, 11 Sep 1998 19:55:13 -0400 (EDT) Received: from ultra10.binghamton.edu (ultra10 [128.226.4.30]) by bingnfs1.binghamton.edu (8.8.8+Sun/8.8.8) with ESMTP id TAA02638 for ; Fri, 11 Sep 1998 19:55:12 -0400 (EDT) Received: from localhost (bf20761@localhost) by ultra10.binghamton.edu (8.8.8+Sun/8.8.8) with SMTP id TAA12318 for ; Fri, 11 Sep 1998 19:55:09 -0400 (EDT) X-Authentication-Warning: ultra10.binghamton.edu: bf20761 owned process doing -bs Date: Fri, 11 Sep 1998 19:55:08 -0400 (EDT) From: zhihuizhang X-Sender: bf20761@ultra10 To: hackers Subject: Question about pmap module 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 It is said in Mach doc that pmap module can lazily and/or incompletely implement some of the required functionality. Does this still apply to FreeBSD's pmap module? If so, can anyone give me an example? Any help is appreciated. -------------------------------------------------- | Zhihui Zhang, http://cs.binghamton.edu/~zzhang | | Dept. of Computer Science, SUNY at Binghamton | -------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Sep 12 00:28:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA09611 for freebsd-hackers-outgoing; Sat, 12 Sep 1998 00:28:30 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from gateway.whtech.com (user61.usr2.accesscom.com [205.226.158.61]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA09606 for ; Sat, 12 Sep 1998 00:28:26 -0700 (PDT) (envelope-from don@whtech.com) Received: from digerati (digerati.whtech.com [10.1.0.2]) by gateway.whtech.com (8.8.7/8.8.7) with SMTP id AAA01127 for ; Sat, 12 Sep 1998 00:34:37 -0700 (PDT) (envelope-from don@whtech.com) From: "Don O'Neil" To: Subject: KDE & XDM (auto start of KDE) Date: Sat, 12 Sep 1998 00:28:37 -0700 Message-ID: <000001bdde1e$f5363ec0$0200010a@digerati.whtech.com> 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 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am trying to get XDM & KDE to "work" together much how you can get twm or another window manager to launch automatically after a sucessfull xdm login. My problem is this: I can configure XDM to startup automatically, taking control of the console (setup in /etc/ttys as per XFree's instructions), and sucessfully launch a window manager such as twm, or any other one. No problem... However, as soon as I change the window manager in the Xsession file to be KDE (startkde, kwm, ANYTHING with KDE) XDM doesn't launch it, rather it goes back to the login screen. There isn't anything I can do to get it out of this nasty loop, exept to log in, comment out the ttys entry and reboot. Has anyone successfully gotten KDE to be their default window manager when using XDM for a login? Am I going about this the wrong way? Esentially I want the system console to display the XDM style login (graphical) on a boot and go directly to KDE from there, and return back to that login when I exit KDE. I can get KDE to work fine when using startx, putting startkde at the end of the initx rc file. My config is as follows: FreeBSD 2.2.7 KDE 1.0 Cyrix M2 200 CPU 64 MB RAM ALL SCSI disks S3 Virge 4 MB Any help would be appreciated To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Sep 12 00:52:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA10809 for freebsd-hackers-outgoing; Sat, 12 Sep 1998 00:52:24 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from zeus.theinternet.com.au (zeus.theinternet.com.au [203.34.176.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA10803 for ; Sat, 12 Sep 1998 00:52:19 -0700 (PDT) (envelope-from akm@zeus.theinternet.com.au) Received: (from akm@localhost) by zeus.theinternet.com.au (8.8.7/8.8.7) id RAA13119; Sat, 12 Sep 1998 17:46:20 +1000 (EST) (envelope-from akm) From: Andrew Kenneth Milton Message-Id: <199809120746.RAA13119@zeus.theinternet.com.au> Subject: Re: KDE & XDM (auto start of KDE) In-Reply-To: <000001bdde1e$f5363ec0$0200010a@digerati.whtech.com> from Don O'Neil at "Sep 12, 98 00:28:37 am" To: don@whtech.com (Don O'Neil) Date: Sat, 12 Sep 1998 17:46:19 +1000 (EST) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (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 +----[ Don O'Neil ]--------------------------------------------- | kwm, ANYTHING with KDE) XDM doesn't launch it, rather it goes back to the | login screen. There isn't anything I can do to get it out of this nasty | loop, exept to log in, comment out the ttys entry and reboot. | | Has anyone successfully gotten KDE to be their default window manager when | using XDM for a login? If you installed kde from the ports... KDEDIR=/usr/local in the config file (or in startkde). kdm might work better than xdm to start kde. It looks cute too. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | Milton ACN: 082 081 472 | M:+61 416 022 411 |72 Col .Sig PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au|Specialist To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Sep 12 06:17:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA00280 for freebsd-hackers-outgoing; Sat, 12 Sep 1998 06:17:00 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id GAA00275 for ; Sat, 12 Sep 1998 06:16:57 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id NAA20742; Sat, 12 Sep 1998 13:24:26 +0200 From: Luigi Rizzo Message-Id: <199809121124.NAA20742@labinfo.iet.unipi.it> Subject: Re: Packet/traffic shapper ? To: kev@lab321.ru (Eugeny Kuzakov) Date: Sat, 12 Sep 1998 13:24:25 +0200 (MET DST) Cc: mike@smith.net.au, hackers@FreeBSD.ORG In-Reply-To: <199809112050.DAA06052@lab321.ru> from "Eugeny Kuzakov" at Sep 12, 98 03:50:40 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > The two best tools in this area at the moment are ALTQ and dummynet. > ALTQ - great ! But not support ppp* devices. > dummynet - well. Reqs ipfw. > > I uses ipfilter ! :( shouldn't take too much to patch ipfilter to return a different action than pass/drop and thus cause packets to be passed through the bw limiter. luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Sep 12 07:44:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA06841 for freebsd-hackers-outgoing; Sat, 12 Sep 1998 07:44:06 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mail.camalott.com (mail.camalott.com [208.203.140.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA06798 for ; Sat, 12 Sep 1998 07:44:02 -0700 (PDT) (envelope-from joelh@gnu.org) Received: from detlev.UUCP (tex-103.camalott.com [208.229.74.104] (may be forged)) by mail.camalott.com (8.8.7/8.8.5) with ESMTP id JAA15007; Sat, 12 Sep 1998 09:44:40 -0500 Received: (from joelh@localhost) by detlev.UUCP (8.9.1/8.9.1) id JAA27982; Sat, 12 Sep 1998 09:39:45 -0500 (CDT) (envelope-from joelh) Date: Sat, 12 Sep 1998 09:39:45 -0500 (CDT) Message-Id: <199809121439.JAA27982@detlev.UUCP> To: "Don O'Neil" CC: In-reply-to: <000001bdde1e$f5363ec0$0200010a@digerati.whtech.com> Subject: Re: KDE & XDM (auto start of KDE) From: Joel Ray Holveck References: <000001bdde1e$f5363ec0$0200010a@digerati.whtech.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > However, as soon as I change the window manager in the Xsession file > to be KDE (startkde, kwm, ANYTHING with KDE) XDM doesn't launch it, > rather it goes back to the login screen. There isn't anything I can > do to get it out of this nasty loop, exept to log in, comment out > the ttys entry and reboot. Look at ~/.xsession-errors to see why KDE isn't launching. I would suspect that /usr/local/bin is not in xdm's path. Best, joelh -- Joel Ray Holveck - joelh@gnu.org - http://www.wp.com/piquan Fourth law of programming: Anything that can go wrong wi sendmail: segmentation violation - core dumped To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Sep 12 07:57:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA08029 for freebsd-hackers-outgoing; Sat, 12 Sep 1998 07:57:22 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mail.camalott.com (mail.camalott.com [208.203.140.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA08007 for ; Sat, 12 Sep 1998 07:57:12 -0700 (PDT) (envelope-from joelh@gnu.org) Received: from detlev.UUCP (tex-103.camalott.com [208.229.74.104] (may be forged)) by mail.camalott.com (8.8.7/8.8.5) with ESMTP id JAA15546; Sat, 12 Sep 1998 09:59:00 -0500 Received: (from joelh@localhost) by detlev.UUCP (8.9.1/8.9.1) id JAA05053; Sat, 12 Sep 1998 09:56:55 -0500 (CDT) (envelope-from joelh) Date: Sat, 12 Sep 1998 09:56:55 -0500 (CDT) Message-Id: <199809121456.JAA05053@detlev.UUCP> To: Joel Ray Holveck CC: "Don O'Neil" , In-reply-to: <199809121439.JAA27982@detlev.UUCP> Subject: Re: KDE & XDM (auto start of KDE) From: Joel Ray Holveck References: <000001bdde1e$f5363ec0$0200010a@digerati.whtech.com> <199809121439.JAA27982@detlev.UUCP> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> However, as soon as I change the window manager in the Xsession file >> to be KDE (startkde, kwm, ANYTHING with KDE) XDM doesn't launch it, >> rather it goes back to the login screen. There isn't anything I can >> do to get it out of this nasty loop, exept to log in, comment out >> the ttys entry and reboot. > Look at ~/.xsession-errors to see why KDE isn't launching. I would > suspect that /usr/local/bin is not in xdm's path. And the workaround (sorry I forgot to mention this) is to explicitly specify the the path to kwm (ie, /usr/local/bin/kwm) in the script you're using. Please send followups to -questions, where this thread should have started. Best, joelh -- Joel Ray Holveck - joelh@gnu.org - http://www.wp.com/piquan Fourth law of programming: Anything that can go wrong wi sendmail: segmentation violation - core dumped To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Sep 12 07:59:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA08521 for freebsd-hackers-outgoing; Sat, 12 Sep 1998 07:59:47 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from rnocserv.urc.ac.ru (rnocserv.urc.ac.ru [193.233.85.48]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA08512 for ; Sat, 12 Sep 1998 07:59:40 -0700 (PDT) (envelope-from joy@urc.ac.ru) Received: from urc.ac.ru (y.urc.ac.ru [193.233.85.37]) by rnocserv.urc.ac.ru (8.8.8/8.8.8) with ESMTP id UAA14092 for ; Sat, 12 Sep 1998 20:59:19 +0600 (ESS) (envelope-from joy@urc.ac.ru) Message-ID: <35FA8C46.1EB0A6BD@urc.ac.ru> Date: Sat, 12 Sep 1998 20:59:18 +0600 From: Konstantin Chuguev Organization: Southern Ural Regional Center of FREEnet X-Mailer: Mozilla 4.5b1 [en] (X11; I; FreeBSD 3.0-CURRENT i386) X-Accept-Language: ru,en MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.ORG Subject: Xnest is not running Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi. I cannot run Xnest on my workstation. It says... Fatal server error: Server is already active for display 0 If this server is no longer running, remove /tmp/.X0-lock and start again. ... and exits. Setting "-display :N" option does not help for any "N". I run XFree86-3.3.2 on the 3.0-CURRENT. SVGA server on Matrox Millenium card. I tried it both inside an xdm session and with startx. I cannot understand the error: if xdm is an X Window client, then why it deals with/as the server on display 0? By the way, I remember that I ran Xnest a year ago without problems... Anybody help please. Best regards, -- Konstantin V. Chuguev. System administrator of Southern http://www.urc.ac.ru/~joy/ Ural Regional Center of FREEnet, mailto:joy@urc.ac.ru Chelyabinsk, Russia. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Sep 12 08:21:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA10224 for freebsd-hackers-outgoing; Sat, 12 Sep 1998 08:21:03 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from rf900.physics.usyd.edu.au (rf900.physics.usyd.edu.au [129.78.129.109]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA10216 for ; Sat, 12 Sep 1998 08:20:58 -0700 (PDT) (envelope-from dawes@rf900.physics.usyd.edu.au) Received: (from dawes@localhost) by rf900.physics.usyd.edu.au (8.8.5/8.8.2) id BAA05094; Sun, 13 Sep 1998 01:20:44 +1000 (EST) Message-ID: <19980913012044.V28246@rf900.physics.usyd.edu.au> Date: Sun, 13 Sep 1998 01:20:44 +1000 From: David Dawes To: Konstantin Chuguev , freebsd-hackers@FreeBSD.ORG Subject: Re: Xnest is not running Mail-Followup-To: Konstantin Chuguev , freebsd-hackers@FreeBSD.ORG References: <35FA8C46.1EB0A6BD@urc.ac.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <35FA8C46.1EB0A6BD@urc.ac.ru>; from Konstantin Chuguev on Sat, Sep 12, 1998 at 08:59:18PM +0600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Sep 12, 1998 at 08:59:18PM +0600, Konstantin Chuguev wrote: >I cannot run Xnest on my workstation. This isn't really the right place to ask this. >It says... > >Fatal server error: >Server is already active for display 0 > If this server is no longer running, remove /tmp/.X0-lock > and start again. > >... and exits. Setting "-display :N" option does not help for any "N". Use 'Xnest :N' for some N. '-display :N' tells it which display to be a client of, not which display to serve. David To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Sep 12 08:45:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA12114 for freebsd-hackers-outgoing; Sat, 12 Sep 1998 08:45:32 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from nomis.simon-shapiro.org (nomis.simon-shapiro.org [209.86.126.163]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA12081 for ; Sat, 12 Sep 1998 08:45:16 -0700 (PDT) (envelope-from shimon@simon-shapiro.org) Received: (qmail 7035 invoked by uid 1000); 12 Sep 1998 16:48:20 -0000 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: <000001bdde1e$f5363ec0$0200010a@digerati.whtech.com> Date: Sat, 12 Sep 1998 12:48:20 -0400 (EDT) X-Face: (&r=uR0&yvh>h^ZL4"-TH61PD}/|Y'~58Z# Gz&BK'&uLAf:2wLb~L7YcWfau{;N(#LR2)\i.l8'ZqVhv~$rNx$]Om6Sv36S'\~5m/U'"i/L)&t$R0&?,)tm0l5xZ!\hZU^yMyCdt!KTcQ376cCkQ^Q_n.GH;Dd-q+ O51^+.K-1Kq?WsP9;cw-Ki+b.iY-5@3!YB5{I$h;E][Xlg*sPO61^5=:5k)JdGet,M|$"lq!1!j_>? $0Yc? Reply-To: shimon@simon-shapiro.org Organization: The Simon Shapiro Foundation From: Simon Shapiro To: "Don O'Neil" Subject: RE: KDE & XDM (auto start of KDE) Cc: freebsd-hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Don O'Neil, On 12-Sep-98 you wrote: ... > Has anyone successfully gotten KDE to be their default window manager > when > using XDM for a login? Use KDM instead of xdm. Works under 3.0-current, at least. ... Sincerely Yours, Shimon@Simon-Shapiro.ORG 770.265.7340 Simon Shapiro Unwritten code has no bugs and executes at twice the speed of mouth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Sep 12 09:53:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA19812 for freebsd-hackers-outgoing; Sat, 12 Sep 1998 09:53:52 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from phoenix.volant.org (phoenix.volant.org [205.179.79.193]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA19807 for ; Sat, 12 Sep 1998 09:53:51 -0700 (PDT) (envelope-from patl@phoenix.volant.org) From: patl@phoenix.volant.org Received: from asimov.phoenix.volant.org ([205.179.79.65]) by phoenix.volant.org with smtp (Exim 1.92 #8) for freebsd-hackers@FreeBSD.ORG id 0zHsva-0003WT-00; Sat, 12 Sep 1998 09:53:38 -0700 Received: from localhost by asimov.phoenix.volant.org (SMI-8.6/SMI-SVR4) id JAA27444; Sat, 12 Sep 1998 09:53:36 -0700 Date: Sat, 12 Sep 1998 09:53:35 -0700 (PDT) Reply-To: patl@phoenix.volant.org Subject: Re: New AMD processor support patch To: freebsd-hackers@FreeBSD.ORG In-Reply-To: <35F972E2.98CCB56A@freedomnet.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 > > > If there is any interest I would like to add a cpu feature check for > > > the AMD 3DNow! instructions. When you do this, remember that it isn't just an AMD feature. They are the first to market; but most of the other Socket7 CPU suppliers have aggreed to implement that spec. (Except, of course, for Intel which has their own incompatible extension set in the works.) -Pat To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Sep 12 10:54:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA26198 for freebsd-hackers-outgoing; Sat, 12 Sep 1998 10:54:13 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from word.smith.net.au (castles152.castles.com [208.214.165.152]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA26193 for ; Sat, 12 Sep 1998 10:54:09 -0700 (PDT) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost [127.0.0.1]) by word.smith.net.au (8.9.1/8.8.8) with ESMTP id LAA00484; Sat, 12 Sep 1998 11:00:11 -0700 (PDT) (envelope-from mike@word.smith.net.au) Message-Id: <199809121800.LAA00484@word.smith.net.au> X-Mailer: exmh version 2.0.2 2/24/98 To: "Don O'Neil" cc: freebsd-hackers@FreeBSD.ORG Subject: Re: KDE & XDM (auto start of KDE) In-reply-to: Your message of "Sat, 12 Sep 1998 00:28:37 PDT." <000001bdde1e$f5363ec0$0200010a@digerati.whtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 12 Sep 1998 11:00:10 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I can configure XDM to startup automatically, taking control of the console > (setup in /etc/ttys as per XFree's instructions), and sucessfully launch a > window manager such as twm, or any other one. No problem... However, as soon > as I change the window manager in the Xsession file to be KDE (startkde, > kwm, ANYTHING with KDE) XDM doesn't launch it, rather it goes back to the > login screen. There isn't anything I can do to get it out of this nasty > loop, exept to log in, comment out the ttys entry and reboot. Read the .xsession-errors file in your home directory. Odds are your path is incomplete. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Sep 12 13:41:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA09351 for freebsd-hackers-outgoing; Sat, 12 Sep 1998 13:41:30 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA09324; Sat, 12 Sep 1998 13:41:27 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id NAA20158; Sat, 12 Sep 1998 13:41:08 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Sat, 12 Sep 1998 13:41:07 -0700 (PDT) From: Doug White To: Jim Mercer cc: hackers@FreeBSD.ORG, questions@FreeBSD.ORG Subject: Re: problem using 3 x znyx314 cards for 12 de ethernets 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 Fri, 11 Sep 1998, Jim Mercer wrote: > > i have a machine that has been running quite nicely with two znyx314 cards > in it. > > recently, i added a third card, giving de8, de9, de10, de11. > > using 2.2.7-RELEASE, everything looks fine, no errors from the kernel or > the ifconfigs in /etc/rc... > > once the machine is up, i send a ping the the broadcast address of one of the > new ports, and the only response is from the interface itself. Broadcast pings are ignored by default in 2.2.7 -- it's a common DoS attack to flood ping the broadcast address. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Sep 12 15:18:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA18789 for freebsd-hackers-outgoing; Sat, 12 Sep 1998 15:18:12 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from verdi.nethelp.no (verdi.nethelp.no [158.36.41.162]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA18768 for ; Sat, 12 Sep 1998 15:18:06 -0700 (PDT) (envelope-from sthaug@nethelp.no) From: sthaug@nethelp.no Received: (qmail 17842 invoked by uid 1001); 12 Sep 1998 22:17:43 +0000 (GMT) To: dwhite@resnet.uoregon.edu Cc: hackers@FreeBSD.ORG, questions@FreeBSD.ORG Subject: Re: problem using 3 x znyx314 cards for 12 de ethernets In-Reply-To: Your message of "Sat, 12 Sep 1998 13:41:07 -0700 (PDT)" References: X-Mailer: Mew version 1.05+ on Emacs 19.34.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Sun, 13 Sep 1998 00:17:43 +0200 Message-ID: <17840.905638663@verdi.nethelp.no> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Broadcast pings are ignored by default in 2.2.7 -- it's a common DoS > attack to flood ping the broadcast address. As far as I can see, this is incorrect. 2.2.7 was fixed so that the net.inet.icmp.bmcastecho sysctl variable would *work* and do what you expected, but it still defaults to on. See $Id: ip_icmp.c,v 1.22.2.3 1998/05/26 11:38:48 dg Exp $ line 74-76: static int icmpbmcastecho = 1; SYSCTL_INT(_net_inet_icmp, OID_AUTO, bmcastecho, CTLFLAG_RW, &icmpbmcastecho, 0, ""); It still defaults to on in FreeBSD-current: $Id: ip_icmp.c,v 1.30 1998/05/26 11:34:30 dg Exp $ line 72-74: static int icmpbmcastecho = 1; SYSCTL_INT(_net_inet_icmp, OID_AUTO, bmcastecho, CTLFLAG_RW, &icmpbmcastecho, 0, ""); I believe it should be turned *off* by default, and hope this is fixed before 3.0 is released. 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 Sat Sep 12 17:01:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA26671 for freebsd-hackers-outgoing; Sat, 12 Sep 1998 17:01:25 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from gateway.whtech.com (user61.usr2.accesscom.com [205.226.158.61]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA26666 for ; Sat, 12 Sep 1998 17:01:21 -0700 (PDT) (envelope-from don@whtech.com) Received: from digerati (digerati.whtech.com [10.1.0.2]) by gateway.whtech.com (8.8.7/8.8.7) with SMTP id RAA07765; Sat, 12 Sep 1998 17:07:46 -0700 (PDT) (envelope-from don@whtech.com) From: "Don O'Neil" To: , Subject: KDE Crashing Date: Sat, 12 Sep 1998 17:01:29 -0700 Message-ID: <000401bddea9$a8e8a4a0$0200010a@digerati.whtech.com> 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: <199809121456.JAA05053@detlev.UUCP> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Importance: Normal Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG First off I'd like to thank all those who helped me w/ my KDE problems... it did indeed turn out to be a path issue and fully resolving the path in the .Xsession file cleared it right up. However, I'm experiencing quite a few crashes and hangs while running KDE... I've narrowed it down to being KDE (or something with it) itself, as when I run QVWM and all sorts of apps I don't have this problem. I get core dumps when running the file browser, mail program, and other programs, and occasionally all the windows just dissapear. Sometimes the whole window manager just freezes.... Are there known compatibility problems/bugs in the 1.0 release of KDE? My hardware is as follows: Cyrix M2-200 CPU Shuttle Hot 557 MB w/ 512 K Cache 64 MB EDO RAM NCR 810 SCSI card w/ 3 2 GB HDD's Toshiba CDROM, Microsoft Intelimouse S3 Virge DX 4 MB PCI video SB 16 USR 33.6 Modem Pretty generic setup. Like I said, everything works great except when I run KDE. Don > >> However, as soon as I change the window manager in the Xsession file > >> to be KDE (startkde, kwm, ANYTHING with KDE) XDM doesn't launch it, > >> rather it goes back to the login screen. There isn't anything I can > >> do to get it out of this nasty loop, exept to log in, comment out > >> the ttys entry and reboot. > > Look at ~/.xsession-errors to see why KDE isn't launching. I would > > suspect that /usr/local/bin is not in xdm's path. > > And the workaround (sorry I forgot to mention this) is to explicitly > specify the the path to kwm (ie, /usr/local/bin/kwm) in the script > you're using. > > Please send followups to -questions, where this thread should have > started. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Sep 12 18:36:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA05836 for freebsd-hackers-outgoing; Sat, 12 Sep 1998 18:36:08 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dt053nb4.san.rr.com (dt053nb4.san.rr.com [204.210.34.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA05769 for ; Sat, 12 Sep 1998 18:36:01 -0700 (PDT) (envelope-from Studded@dal.net) Received: from dal.net (Studded@localhost [127.0.0.1]) by dt053nb4.san.rr.com (8.8.8/8.8.8) with ESMTP id SAA19630 for ; Sat, 12 Sep 1998 18:35:47 -0700 (PDT) (envelope-from Studded@dal.net) Message-ID: <35FB2172.D0F2D90B@dal.net> Date: Sat, 12 Sep 1998 18:35:46 -0700 From: Studded Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.06 [en] (X11; I; FreeBSD 2.2.7-STABLE-0905 i386) MIME-Version: 1.0 To: The Subject: Missing CVS $Id strings Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG During a recent discussion regarding the benefits of various methods of updating the configuration and other files related to a system upgrade, the fact that many of those files don't have CVS $Id strings was mentioned. Subsequent to that discussion Brian Somers was kind enough to add those strings to most of those files. I volunteered to provide a list of the other files that don't have $Id's, so here 'tis. Having CVS $Id strings in these files is a valuable resource for several reasons. Most notably during an upgrade it's convenient to compare the $Id strings and ignore that file if they match. The files below are from the set generated by /usr/src/etc/Makefile. Of these, the two that you might not want to put $Id strings in are /etc/motd and /boot.help for aesthetic reasons. I don't see a problem with any of the other files. I could submit a patch including all of these, however it seems like overkill to me for just a few characters per file. :) Thanks, Doug -- *** Chief Operations Officer, DALnet IRC network *** "Yes, the president should resign. He has lied to the American people, time and time again, and betrayed their trust. He is no longer an effective leader. Since he has admitted guilt, there is no reason to put the American people through an impeachment. He will serve absolutely no purpose in finishing out his term; the only possible solution is for the president to save some dignity and resign." - William Jefferson Clinton, 1974 /etc/gnats/freefall /etc/mail/Makefile /etc/namedb/named.root /etc/namedb/make-localhost /etc/uucp/call.sample /etc/uucp/config.sample /etc/uucp/dial.sample /etc/uucp/dialcode.sample /etc/uucp/passwd.sample /etc/uucp/port.sample /etc/uucp/sys1.sample /etc/uucp/sys2.sample /etc/amd.map /etc/group /etc/motd /etc/manpath.config /etc/mail.rc /etc/daily /etc/monthly /etc/master.passwd /etc/sendmail.cf /etc/passwd /root/.cshrc /root/.login /var/crash/minfree /boot.help /.cshrc /COPYRIGHT To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message