From owner-freebsd-current Sun Nov 26 00:09:48 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA21359 for current-outgoing; Sun, 26 Nov 1995 00:09:48 -0800 Received: from hub.org (hub.org [199.166.238.138]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id AAA21351 for ; Sun, 26 Nov 1995 00:09:38 -0800 Received: (from scrappy@localhost) by hub.org (8.7.1/8.7.1) id DAA01317; Sun, 26 Nov 1995 03:09:02 -0500 (EST) Date: Sun, 26 Nov 1995 03:08:57 -0500 (EST) From: "Marc G. Fournier" To: current@freebsd.org Subject: Makefile change... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk Hi... Since I don't quite think of this as a send-pr problem report (yes, I've sent one in that way, sorry...), and I don't really know of any better place to send it, could someone who "has the power" sutff this into *-current's /usr/src/gnu/usr.bin? Its a modified Makefile that actually checks to see if part of the source tree is even installed before trying to make it. for instance, I don't have awk, since I don't want make world to install over the one I already have. Same as tar and cc. None of the Makefiles, except for /usr/src/Makefile, does any checking on this. Also...is there a better place to send this so that it doesn't go out to the list as a whole? Thanks... Marc G. Fournier | POP Mail Telnet Acct DNS Hosting scrappy@hub.org | WWW Services Database Services | Knowledge, soon to be: | | Information and scrappy@ki.net | WWW: http://hub.org | Communications, Inc -----[ /usr/src/gnu/usr.bin/Makefile ]---- # $Id: Makefile,v 1.27 1995/04/11 17:28:26 nate Exp $ SUBDIR= .if exists(as) SUBDIR+= as .endif .if exists(awk) SUBDIR+= awk .endif .if exists(bc) SUBDIR+= bc .endif .if exists(cc) SUBDIR+= cc .endif .if exists(cpio) SUBDIR+= cpio .endif .if exists(cvs) SUBDIR+= cvs .endif .if exists(dc) SUBDIR+= dc .endif .if exists(dialog) SUBDIR+= dialog .endif .if exists(diff) SUBDIR+= diff .endif .if exists(diff3) SUBDIR+= diff3 .endif .if exists(gdb) SUBDIR+= gdb .endif .if exists(grep) SUBDIR+= grep .endif .if exists(groff) SUBDIR+= groff .endif .if exists(gzip) SUBDIR+= gzip .endif .if exists(kgdb) SUBDIR+= kgdb .endif .if exists(ld) SUBDIR+= ld .endif .if exists(man) SUBDIR+= man .endif .if exists(mkisofs) SUBDIR+= mkisofs .endif .if exists(patch) SUBDIR+= patch .endif .if exists(perl) SUBDIR+= perl .endif .if exists(ptx) SUBDIR+= ptx .endif .if exists(rcs) SUBDIR+= rcs .endif .if exists(sdiff) SUBDIR+= sdiff .endif .if exists(send-pr) SUBDIR+= send-pr .endif .if exists(sort) SUBDIR+= sort .endif .if exists(tar) SUBDIR+= tar .endif .if exists(texinfo) SUBDIR+= texinfo .endif .if exists(yppush) SUBDIR+= yppush .endif .include From owner-freebsd-current Sun Nov 26 05:45:47 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id FAA07480 for current-outgoing; Sun, 26 Nov 1995 05:45:47 -0800 Received: from sivka.carrier.kiev.ua (root@sivka.carrier.kiev.ua [193.125.68.130]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id FAA07285 for ; Sun, 26 Nov 1995 05:43:24 -0800 Received: from elvisti.kiev.ua (uucp@localhost) by sivka.carrier.kiev.ua (Sendmail 8.who.cares/5) with UUCP id PAA28905 for current@freebsd.org; Sun, 26 Nov 1995 15:46:46 +0200 Received: from office.elvisti.kiev.ua (office.elvisti.kiev.ua [193.125.28.33]) by spider2.elvisti.kiev.ua (8.6.12/8.ElVisti) with ESMTP id PAA23326 for ; Sun, 26 Nov 1995 15:15:15 +0200 Received: (from stesin@localhost) by office.elvisti.kiev.ua (8.6.12/8.ElVisti) id PAA20864; Sun, 26 Nov 1995 15:15:14 +0200 From: "Andrew V. Stesin" Message-Id: <199511261315.PAA20864@office.elvisti.kiev.ua> Subject: "Gold" writable CDs and FreeBSD -- opinions, comments? To: hardware@freebsd.org Date: Sun, 26 Nov 1995 15:15:13 +0200 (EET) Cc: current@freebsd.org X-Mailer: ELM [version 2.4 PL24alpha5] Content-Type: text Content-Length: 4990 Sender: owner-current@freebsd.org Precedence: bulk Hello people, especially famous SCSI, CDROM and filesystems experts! This message is pretty long, I strongly apologize for taking your time. Wouldn't you mind reading it and commenting my ideas a bit, please? I think, that may be interesting not only for me personally, and I really need your comments and opinions to help me to make a decision. I'd appreciate any feedback, including "rotten potatoes"... :-) Thanks in advanse! I know there are some devices with SCSI interfaces for doing massive backups with a great "bang-per-buck" -- namely WORMs and writable ("gold") CD drives. I even used a writable-CD device some time ago, it had some windo$e control utility. WORMs are rare today here, but writable-CD devices are present on the market. (BTW this is a considerable investment, not a simple $100, and each goldCD costs at least $15 here, so the reasons to buy it must be strong. They are strong for us there even without considering using it with FreeBSD, and a possibility of FreeBSD to work with this device will increase the strength even more). Using of writable "gold" CDs may be _very_ attractive. Not for backups first of all (for the reasons that you usually need to have a non-busy system to get writing process streaming without any interrupts in data transfer between a disk and a writable device, otherwise the goldCD will become damaged and unusable; so you need to go single-user to be sure your'e Ok, this isn't too convenient for everyday use. But nevertheless, you don't do such _massive_ backups every single day? once a week or two; it seems to be acceptable) Suppose you are creating a firewall router' custom configuration. You use some small old SCSI disk for a) booting the kernel, b) reading hand-tunable configuration from /etc, d) writing tempfiles & logs, maybe swapping if needed. Everything else, all daemons, utilities, will live on a hand-burned goldCD so even if the host itself is compromised via the net, an intruder will be _physically_ unable to leave any sugnificant hooks or Trojan horses in the system for later reuse, and me, poor admin, won't need to worry checking or reloading all the binary tree (even if comparatively small), especially assuming that the box may be very far from me and physically unaccessible. Some kind of super-smart hardware router with 650Mb of flash ROM but a LOT cheaper and useable I think :-) The same is true for any other, not only router, case when you want to be _totally_ sure that nobody and nothing will change your carefully customized and tuned configuration. Then, you get a possibility of making cheap series of copies of your solution. And even more: you get rid of any hard disk troubles or of any cases when actual admin of the system occasionally changes /bin/cat permissions to suid root, thus tech support is a lot easier. Opinions? I'm almost sure that people who sell FreeBSD solutions will agree with me at least for some points. What I want to ask is: suppose I get such a device (a drive for writing "gold" CDs, with SCSI interface). I'll be using it with windo$e from the very start, of course. But what steps are required to get it working with FreeBSD? I think there are: * ensure myself that it works nice in a usual RO CD mode. * get a description of it's command interface used to initiate, tune and perform writing. This may be difficult, though... But suppose for now that I've already got one. (?) Then a first dark spot comes up. What step will be the next? I think that I'd need to examine existing drivers for SCSI devices and to add some new functionality to a 'cd' driver, yeah? This includes lazer tuning, calibration, test-writing commands, "close record", etc. * So, good, now I take some simplistic CDplayer program without bells&whistles and make it work for writing. * suppose I got it working and writing a stream of blocks of needed length to a goldCD. Ok, we win! Comments? Or -- just another approach. Suppose I don't worry about support of CD write operations for the goldCD at all (I'd get a windo$e utility at last, damn it, but it works). I'm going to create a 650Mb file with ISO9660 FS inside it, write everything I want there, test it; then transfer the whole 650Mb file to the windo$e box and burn it into the goldCD there. Much less convenient in terms of disk usage, but is this possible at all just now? (I've hear rumors that writing is broken for ISO9660 FS). Another aproach. If ISO9660 is really broken for writing, can I create a "normal" Berkeley FFS filesystem in the file, burn it to the goldCD and mount it later? I don't care that windo$e won't read this disk, really! :) Anyway, will a mount command _without_ '-t cd9660' be possible for a CD? What caveats one can expect here? Thanks a lot for reading this and for your comments! -- With best regards -- Andrew Stesin. +380 (44) 2760188 +380 (44) 2713457 +380 (44) 2713560 An undocumented feature is a coding error. From owner-freebsd-current Sun Nov 26 08:01:22 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA15437 for current-outgoing; Sun, 26 Nov 1995 08:01:22 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.222.226]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id IAA15431 ; Sun, 26 Nov 1995 08:01:08 -0800 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id HAA12557; Sun, 26 Nov 1995 07:57:25 -0800 To: "Andrew V. Stesin" cc: hardware@freebsd.org, current@freebsd.org Subject: Re: "Gold" writable CDs and FreeBSD -- opinions, comments? In-reply-to: Your message of "Sun, 26 Nov 1995 15:15:13 +0200." <199511261315.PAA20864@office.elvisti.kiev.ua> Date: Sun, 26 Nov 1995 07:57:25 -0800 Message-ID: <12554.817401445@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-current@freebsd.org Precedence: bulk > But what steps are required to get it working with FreeBSD? I think there are I think we're going to be exploring this issue very shortly as I myself have also gotten ahold of a CD-R drive and would very much like to use it for producing FreeBSD release CDs from home (it would make a LOT more testing possible since I don't have test machines to use at Walnut Creek). Basically, at the present time it looks like I need to buy Julian Elischer a pizza. Perhaps you could contribute by sending him a bottle of Vodka for afterwards? :-) Jordan From owner-freebsd-current Sun Nov 26 11:17:14 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA25899 for current-outgoing; Sun, 26 Nov 1995 11:17:14 -0800 Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA25893 for ; Sun, 26 Nov 1995 11:17:11 -0800 Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.6.12/8.6.12) id LAA26054; Sun, 26 Nov 1995 11:16:41 -0800 From: "Rodney W. Grimes" Message-Id: <199511261916.LAA26054@GndRsh.aac.dev.com> Subject: Re: Makefile change... To: scrappy@hub.org (Marc G. Fournier) Date: Sun, 26 Nov 1995 11:16:41 -0800 (PST) Cc: current@freebsd.org In-Reply-To: from "Marc G. Fournier" at Nov 26, 95 03:08:57 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1168 Sender: owner-current@freebsd.org Precedence: bulk > > > Hi... > > Since I don't quite think of this as a send-pr problem > report (yes, I've sent one in that way, sorry...), and I don't really > know of any better place to send it, could someone who "has the power" > sutff this into *-current's /usr/src/gnu/usr.bin? > > Its a modified Makefile that actually checks to see if part > of the source tree is even installed before trying to make it. for > instance, I don't have awk, since I don't want make world to install > over the one I already have. Same as tar and cc. > > None of the Makefiles, except for /usr/src/Makefile, does > any checking on this. > > Also...is there a better place to send this so that it doesn't > go out to the list as a whole? I would suggest you do what I do in these cases: 1) cp Makefile makefile 2) vi makefile # change to my hearts content 3) learn about make's ability to do for loops 4) Keep a close eye on changes to src/gnu/usr.bin/Makefile that you may need to bring into your _local_ makefile. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Reliable computers for FreeBSD From owner-freebsd-current Sun Nov 26 12:15:00 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA28455 for current-outgoing; Sun, 26 Nov 1995 12:15:00 -0800 Received: from apollo.COSC.GOV (root@apollo.COSC.GOV [198.94.103.34]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id MAA28450 for ; Sun, 26 Nov 1995 12:14:58 -0800 Received: (from vince@localhost) by apollo.COSC.GOV (8.6.12/8.6.9) id MAA11848; Sun, 26 Nov 1995 12:13:40 -0800 Date: Sun, 26 Nov 1995 12:13:39 -0800 (PST) From: -Vince- To: current@FreeBSD.ORG Subject: schg flag on make world in -CURRENT Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.ORG Precedence: bulk Hi everyone, Is there anyway to remotely login to a FreeBSD box and 'su' to root to do a make world without having to do noflags schg on all the files with that flag on it generated by the last make world in -CURRENT? Thanks! Cheers, -Vince- vince@COSC.GOV - GUS Mailing Lists Admin UC Berkeley AstroPhysics - Electrical Engineering (Honorary B.S.) Chabot Observatory & Science Center - Board of Advisors Running FreeBSD - Real UN*X for Free! Linda Wong/Vivian Chow/Hacken Lee/Danny Chan Fan Club Mailiing Lists Admin From owner-freebsd-current Sun Nov 26 12:53:09 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA00319 for current-outgoing; Sun, 26 Nov 1995 12:53:09 -0800 Received: from grunt.grondar.za (grunt.grondar.za [196.7.18.129]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id MAA00294 for ; Sun, 26 Nov 1995 12:52:55 -0800 Received: from grumble.grondar.za (root@grumble.grondar.za [196.7.18.130]) by grunt.grondar.za (8.6.12/8.6.9) with ESMTP id WAA28921; Sun, 26 Nov 1995 22:52:43 +0200 Received: from localhost (mark@localhost [127.0.0.1]) by grumble.grondar.za (8.6.12/8.6.9) with SMTP id WAA16864; Sun, 26 Nov 1995 22:52:42 +0200 Message-Id: <199511262052.WAA16864@grumble.grondar.za> X-Authentication-Warning: grumble.grondar.za: Host localhost didn't use HELO protocol To: Peter Wemm cc: current@freebsd.org Subject: Re: Repository copy request: (part of) ports/net -> ports/www Date: Sun, 26 Nov 1995 22:52:41 +0200 From: Mark Murray Sender: owner-current@freebsd.org Precedence: bulk You wrote: > On Sun, 26 Nov 1995, Satoshi Asami wrote: > > Please create a new category "www" and copy the following ports from > > the directories indicated: : > OK, done. > > In case there is any doubt, this is the copy list I generated and used: My turn! :-) (Thanks for doing the libgmp stuff!) Please will you also do these two moves for current: 1) Secure Telnet pcopy secure/lib/libtelnet eBones/lib/libtelnet pcopy secure/libexec/telnetd eBones/libexec/telnetd pcopy secure/usr.bin/telnet eBones/usr.bin/telnet 2) eBones docs eBones/man/k* to eBones/usr.sbin.kerberos eBones/man/des* to eBones/des M -- Mark Murray 46 Harvey Rd, Claremont, Cape Town 7700, South Africa +27 21 61-3768 GMT+0200 Finger mark@grumble.grondar.za for PGP key From owner-freebsd-current Sun Nov 26 13:23:41 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA02354 for current-outgoing; Sun, 26 Nov 1995 13:23:41 -0800 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id NAA02348 ; Sun, 26 Nov 1995 13:23:19 -0800 Received: (from julian@localhost) by ref.tfs.com (8.6.12/8.6.9) id NAA19147; Sun, 26 Nov 1995 13:22:14 -0800 From: Julian Elischer Message-Id: <199511262122.NAA19147@ref.tfs.com> Subject: Re: "Gold" writable CDs and FreeBSD -- opinions, comments? To: stesin@elvisti.kiev.ua (Andrew V. Stesin) Date: Sun, 26 Nov 1995 13:22:14 -0800 (PST) Cc: hardware@freebsd.org, current@freebsd.org In-Reply-To: <199511261315.PAA20864@office.elvisti.kiev.ua> from "Andrew V. Stesin" at Nov 26, 95 03:15:13 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 100 Sender: owner-current@freebsd.org Precedence: bulk hi, I'm planning onlooking as a CDR device driver with jordan over the next week or so... julian From owner-freebsd-current Sun Nov 26 15:33:45 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA11515 for current-outgoing; Sun, 26 Nov 1995 15:33:45 -0800 Received: (from dyson@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA11498 ; Sun, 26 Nov 1995 15:33:36 -0800 From: John Dyson Message-Id: <199511262333.PAA11498@freefall.freebsd.org> Subject: Re: Getblk hangs To: roberto@keltia.freenix.fr (Ollivier Robert) Date: Sun, 26 Nov 1995 15:33:35 -0800 (PST) Cc: peter@haywire.dialix.com, freebsd-current@FreeBSD.org In-Reply-To: <199511220746.IAA08635@keltia.freenix.fr> from "Ollivier Robert" at Nov 22, 95 08:46:05 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 167 Sender: owner-current@FreeBSD.org Precedence: bulk On the system lockups ---- try removing AUTO_EOI_2 from your config. it is evil in the general case and works only on specific hardware.... Let me know!!!! :-) John From owner-freebsd-current Sun Nov 26 15:43:00 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA12761 for current-outgoing; Sun, 26 Nov 1995 15:43:00 -0800 Received: from cyb (cyb.alaska.net [204.17.139.166]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id PAA12747 for ; Sun, 26 Nov 1995 15:42:51 -0800 Received: by cyb (Smail3.1.29.1 #9) id m0tJqeY-0006edC; Sun, 26 Nov 95 14:38 AKST Message-Id: From: loodvrij@gridpoint.com (Bruce J. Keeler) Subject: No groups? To: current@freebsd.org Date: Sun, 26 Nov 1995 14:38:34 -0900 (AKST) X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 771 Sender: owner-current@freebsd.org Precedence: bulk I've just tracked down a panic if anyone is interested. The panic arose while attemping to use smail with the configuration directory /usr/local/lib/smail shared via nfs. The problem is that smail calls setgroups() thusly: /* clear out all extra groups. We don't want to have to deal with them */ { gid_t dummy; (void) setgroups(0, &dummy); } setgroups() duly sets the process's cr_ngroups to 0. This causes a panic later in nfs_request(). It seems unreasonable to me that setgroups() should allow this. It checks for the first arg being > NGROUPS, perhaps it should also check for <= 1. -- Bruce J. Keeler Internet: bruce@gridpoint.com -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- From owner-freebsd-current Sun Nov 26 18:29:13 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA21245 for current-outgoing; Sun, 26 Nov 1995 18:29:13 -0800 Received: from jhome.DIALix.COM (root@jhome.DIALix.COM [192.203.228.69]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id SAA21237 for ; Sun, 26 Nov 1995 18:29:04 -0800 Received: (from peter@localhost) by jhome.DIALix.COM (8.6.12/8.6.9) id KAA20560; Mon, 27 Nov 1995 10:28:11 +0800 Date: Mon, 27 Nov 1995 10:28:09 +0800 (WST) From: Peter Wemm To: Mark Murray cc: current@freebsd.org Subject: Re: Repository copy request: (part of) ports/net -> ports/www In-Reply-To: <199511262052.WAA16864@grumble.grondar.za> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk On Sun, 26 Nov 1995, Mark Murray wrote: > > OK, done. > > > > In case there is any doubt, this is the copy list I generated and used: > > My turn! :-) (Thanks for doing the libgmp stuff!) > > Please will you also do these two moves for current: > > 1) Secure Telnet > pcopy secure/lib/libtelnet eBones/lib/libtelnet > pcopy secure/libexec/telnetd eBones/libexec/telnetd > pcopy secure/usr.bin/telnet eBones/usr.bin/telnet > > 2) eBones docs > eBones/man/k* to eBones/usr.sbin.kerberos > eBones/man/des* to eBones/des "pcopy" was "ports copy" BTW.. It doesn't do enough for other areas with branches and tags. Is this going to be a move or a copy? (ie: is telnet going to stay under secure, but with no kerberos hooks?) -Peter > M > > -- > Mark Murray > 46 Harvey Rd, Claremont, Cape Town 7700, South Africa > +27 21 61-3768 GMT+0200 > Finger mark@grumble.grondar.za for PGP key > From owner-freebsd-current Sun Nov 26 18:36:50 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA21576 for current-outgoing; Sun, 26 Nov 1995 18:36:50 -0800 Received: from hauki.clinet.fi (root@hauki.clinet.fi [194.100.0.1]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id SAA21571 for ; Sun, 26 Nov 1995 18:36:45 -0800 Received: from katiska.clinet.fi (root@katiska.clinet.fi [194.100.0.4]) by hauki.clinet.fi (8.6.12/8.6.4) with ESMTP id EAA17834 for ; Mon, 27 Nov 1995 04:36:36 +0200 Received: (hsu@localhost) by katiska.clinet.fi (8.6.12/8.6.4) id EAA24610; Mon, 27 Nov 1995 04:36:44 +0200 Date: Mon, 27 Nov 1995 04:36:44 +0200 Message-Id: <199511270236.EAA24610@katiska.clinet.fi> From: Heikki Suonsivu To: freebsd-current@freefall.FreeBSD.org Subject: Just passed by... Organization: Clinet Ltd, Espoo, Finland Sender: owner-current@FreeBSD.ORG Precedence: bulk ... ===> usr.sbin/diskpart cc -O -m486 -pipe -c /usr/current/src/usr.sbin/diskpart/diskpart.c cc -O -m486 -pipe -o diskpart diskpart.o diskpart.o: warning: this program uses gets(), which is unsafe. ... -- Heikki Suonsivu, T{ysikuu 10 C 83/02210 Espoo/FINLAND, hsu@clinet.fi work +358-0-4375209 fax -4555276 home -8031121 From owner-freebsd-current Sun Nov 26 19:34:52 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id TAA24050 for current-outgoing; Sun, 26 Nov 1995 19:34:52 -0800 Received: from hub.org (hub.org [199.166.238.138]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id TAA24037 for ; Sun, 26 Nov 1995 19:34:36 -0800 Received: (from scrappy@localhost) by hub.org (8.7.1/8.7.1) id WAA00773; Sun, 26 Nov 1995 22:34:01 -0500 (EST) Date: Sun, 26 Nov 1995 22:33:55 -0500 (EST) From: "Marc G. Fournier" To: current@freebsd.org Subject: Theory: screen and keyboard lock-ups Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk Hi... I put in a problem report last week dealing with keyboard lockups, and someone just whispered an idea into my ear... ...I've been using screen in order to avoid having to do CTL-ALT-...does anyone know if/have experience with screen doing *weird* things to the keyboard that would cause something like this? Note...the lockups usually occur either when starting up, or shutting down, screen. Very rarely while using screen. Marc G. Fournier | POP Mail Telnet Acct DNS Hosting scrappy@hub.org | WWW Services Database Services | Knowledge, soon to be: | | Information and scrappy@ki.net | WWW: http://hub.org | Communications, Inc From owner-freebsd-current Sun Nov 26 20:28:05 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id UAA27211 for current-outgoing; Sun, 26 Nov 1995 20:28:05 -0800 Received: from hub.org (hub.org [199.166.238.138]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id UAA27175 for ; Sun, 26 Nov 1995 20:27:47 -0800 Received: (from scrappy@localhost) by hub.org (8.7.1/8.7.1) id XAA00288; Sun, 26 Nov 1995 23:27:15 -0500 (EST) Date: Sun, 26 Nov 1995 23:27:06 -0500 (EST) From: "Marc G. Fournier" To: current@freebsd.org Subject: Theory Failed: screen vs keyboard lock-up Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk Well, this is getting ridiculous. Totally randomly, it seems, my keyboard locks up tight. At first, I thought it was hardware, so I changed keyboards, and it did it again. So, I changed back to the original keyboard, and removed the keyboard extender cable I had on...it locked up. Then, it was suggested that maybe screen was doing something to the keyboard mappings that was causing a lockup, so I stopped using screen...still locked up. Now, I've reduced it to as many problem areas as I can think of, and it keeps locking up. I'm running 2.2-current, and using pcvt, since I really like 50row mode. I have tried out syscons, and it too seems to do it, randomly... Any ideas... Marc G. Fournier | POP Mail Telnet Acct DNS Hosting scrappy@hub.org | WWW Services Database Services | Knowledge, soon to be: | | Information and scrappy@ki.net | WWW: http://hub.org | Communications, Inc From owner-freebsd-current Sun Nov 26 21:38:51 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA04439 for current-outgoing; Sun, 26 Nov 1995 21:38:51 -0800 Received: from rocky.sri.MT.net (rocky.sri.MT.net [204.182.243.10]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id VAA04434 for ; Sun, 26 Nov 1995 21:38:43 -0800 Received: (from nate@localhost) by rocky.sri.MT.net (8.6.12/8.6.12) id WAA13126; Sun, 26 Nov 1995 22:40:49 -0700 Date: Sun, 26 Nov 1995 22:40:49 -0700 From: Nate Williams Message-Id: <199511270540.WAA13126@rocky.sri.MT.net> To: "Marc G. Fournier" Cc: current@freebsd.org Subject: Re: Theory Failed: screen vs keyboard lock-up In-Reply-To: References: Sender: owner-current@freebsd.org Precedence: bulk > Well, this is getting ridiculous. > > Totally randomly, it seems, my keyboard locks up tight. At first, > I thought it was hardware, so I changed keyboards, and it did it again. It could be the keyboard controller on your motherboard. :( Nate From owner-freebsd-current Sun Nov 26 22:12:16 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA05608 for current-outgoing; Sun, 26 Nov 1995 22:12:16 -0800 Received: from grunt.grondar.za (grunt.grondar.za [196.7.18.129]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id WAA05603 for ; Sun, 26 Nov 1995 22:12:08 -0800 Received: from grumble.grondar.za (root@grumble.grondar.za [196.7.18.130]) by grunt.grondar.za (8.6.12/8.6.9) with ESMTP id IAA29537; Mon, 27 Nov 1995 08:11:57 +0200 Received: from localhost (mark@localhost [127.0.0.1]) by grumble.grondar.za (8.6.12/8.6.9) with SMTP id IAA13985; Mon, 27 Nov 1995 08:11:56 +0200 Message-Id: <199511270611.IAA13985@grumble.grondar.za> X-Authentication-Warning: grumble.grondar.za: Host localhost didn't use HELO protocol To: Peter Wemm cc: current@freebsd.org Subject: Re: Repository copy request: (part of) ports/net -> ports/www Date: Mon, 27 Nov 1995 08:11:54 +0200 From: Mark Murray Sender: owner-current@freebsd.org Precedence: bulk > "pcopy" was "ports copy" BTW.. It doesn't do enough for other areas with > branches and tags. I just knew I shouldn't have worked last night! :-) Annual break coming up! > Is this going to be a move or a copy? (ie: is telnet going to stay under > secure, but with no kerberos hooks?) Naah. For us, Secure Telnet == Kerberised Telnet, therefore it must _move_ to eBones. M -- Mark Murray 46 Harvey Rd, Claremont, Cape Town 7700, South Africa +27 21 61-3768 GMT+0200 Finger mark@grumble.grondar.za for PGP key From owner-freebsd-current Sun Nov 26 22:41:27 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA06779 for current-outgoing; Sun, 26 Nov 1995 22:41:27 -0800 Received: from bunyip.cc.uq.oz.au (pp@bunyip.cc.uq.oz.au [130.102.2.1]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id WAA06774 for ; Sun, 26 Nov 1995 22:41:18 -0800 Received: from cc.uq.oz.au by bunyip.cc.uq.oz.au id <22575-0@bunyip.cc.uq.oz.au>; Mon, 27 Nov 1995 16:23:04 +1000 Received: from netfl15a.devetir.qld.gov.au by pandora.devetir.qld.gov.au (8.6.10/DEVETIR-E0.3a) with ESMTP id QAA10134 for ; Mon, 27 Nov 1995 16:28:35 +1000 Received: from localhost by netfl15a.devetir.qld.gov.au (8.6.8.1/DEVETIR-0.1) id GAA00550 for ; Mon, 27 Nov 1995 06:28:51 GMT Message-Id: <199511270628.GAA00550@netfl15a.devetir.qld.gov.au> X-Mailer: exmh version 1.6.4 10/10/95 To: current@freebsd.org Subject: Prioritised disk requests X-Face: 3}heU+2?b->-GSF-G4T4>jEB9~FR(V9lo&o>kAy=Pj&;oVOc<|pr%I/VSG"ZD32J>5gGC0N 7gj]^GI@M:LlqNd]|(2OxOxy@$6@/!,";-!OlucF^=jq8s57$%qXd/ieC8DhWmIy@J1AcnvSGV\|*! >Bvu7+0h4zCY^]{AxXKsDTlgA2m]fX$W@'8ev-Qi+-;%L'CcZ'NBL!@n?}q!M&Em3*eW7,093nOeV8 M)(u+6D;%B7j\XA/9j4!Gj~&jYzflG[#)E9sI&Xe9~y~Gn%fA7>F:YKr"Wx4cZU*6{^2ocZ!YyR Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 27 Nov 1995 16:28:50 +1000 From: Stephen Hocking Sender: owner-current@freebsd.org Precedence: bulk Has anyone thought of a mechanism (similar to stuff I've seen on Masscomp machines) where one could indicate that a particular stream of disk I/O had a higher priority than normal? Masscomp used to have a B_URGENT flag for these blocks in the buffer cache (for semi-realtime I/O when acquiring or transmitting data). CD burners could do with this, or people trying to keep tapes streaming on backups. Stephen -- I do not speak for the Worker's Compensation Board of Queensland - They don't pay me enough for that! From owner-freebsd-current Sun Nov 26 23:50:55 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA11610 for current-outgoing; Sun, 26 Nov 1995 23:50:55 -0800 Received: from utrhcs.cs.utwente.nl (utrhcs.cs.utwente.nl [130.89.10.247]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id XAA11601 for ; Sun, 26 Nov 1995 23:50:49 -0800 Received: from myrtilos.cs.utwente.nl by utrhcs.cs.utwente.nl (SMI-8.6/csrelayMX-SVR4_1.1tmp/RB) id IAA20764; Mon, 27 Nov 1995 08:48:50 +0100 Received: from curie.cs.utwente.nl by myrtilos.cs.utwente.nl (SMI-8.6/csrelay-Sol1.4/RB) id IAA18895; Mon, 27 Nov 1995 08:48:37 +0100 Received: from localhost by curie.cs.utwente.nl (SMI-8.6/SMI-SVR4) id IAA09559; Mon, 27 Nov 1995 08:48:36 +0100 To: "Marc G. Fournier" cc: current@FreeBSD.org Subject: Re: Theory Failed: screen vs keyboard lock-up In-reply-to: Your message of "Sun, 26 Nov 1995 23:27:06 EST." Date: Mon, 27 Nov 1995 08:48:35 +0100 Message-ID: <9558.817458515@curie.cs.utwente.nl> From: Andras Olah Sender: owner-current@FreeBSD.org Precedence: bulk On Sun, 26 Nov 1995 23:27:06 EST, "Marc G. Fournier" wrote: > > Well, this is getting ridiculous. > > Totally randomly, it seems, my keyboard locks up tight. At first, [ ... ] Marc, I can't tell you what's causing it but I've got similar symptoms since the beginnings. Right now I'm running 2.1.0-SNAP-9507?? and it still happens every now and then. The only thing I noticed is that it always happens when I switch screens during disk activity. Also note that during a lockup I'm able to login on a serial line and everything works OK*. It's only the console input which is lost until I reboot the machine. System: noname AMD486/40MHz, 8MB RAM, IDE 420MB hd with on board IDE controller Andras * The only problem is that my wife tolerates only one computer in the living room and I'm lazy to draw a serial cable between the living room and an old XT in the attic, so I had to revert to job control in my primary shell in vt0 in order to avoid the lockups. ;-) From owner-freebsd-current Mon Nov 27 00:08:40 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA12514 for current-outgoing; Mon, 27 Nov 1995 00:08:40 -0800 Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id AAA12504 for ; Mon, 27 Nov 1995 00:08:31 -0800 Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id IAA03995; Mon, 27 Nov 1995 08:01:49 GMT From: Michael Smith Message-Id: <199511270801.IAA03995@genesis.atrad.adelaide.edu.au> Subject: Re: Prioritised disk requests To: sysseh@devetir.qld.gov.au (Stephen Hocking) Date: Mon, 27 Nov 1995 08:01:48 +0000 () Cc: current@FreeBSD.org In-Reply-To: <199511270628.GAA00550@netfl15a.devetir.qld.gov.au> from "Stephen Hocking" at Nov 27, 95 04:28:50 pm MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1647 Sender: owner-current@FreeBSD.org Precedence: bulk Stephen Hocking stands accused of saying: > Has anyone thought of a mechanism (similar to stuff I've seen on > Masscomp machines) where one could indicate that a particular stream > of disk I/O had a higher priority than normal? Masscomp used to have > a B_URGENT flag for these blocks in the buffer cache (for > semi-realtime I/O when acquiring or transmitting data). CD burners > could do with this, or people trying to keep tapes streaming on > backups. As far as CD burners are concerned, going on the datasheets I have here, most would be pushing to beat 350K/sec, and have buffers in the >1M range. I doubt very much that anything other than a spammed-to-the-wall system is going to have the multi-second latency or sub-350K/sec net available SCSI bandwidth. (ref. phillips CDD522 glossy; 153.6/176.4/307.2/352.8 selectable xfer rates, standard buffer 2M, expandable to 8 or 32M.) The problem with old tapes is just the opposite - their buffers are too small 8) You'd have to tag both data going to the tape, and data for the backup process coming off the disk as urgent, and keep the disk requests short so that the tape could come back for more data. Not easy 8( (also, newer tape units have bigger buffers, so the problem is going away) > Stephen -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 041-122-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] "Who does BSD?" "We do Chucky, we do." [[ From owner-freebsd-current Mon Nov 27 04:23:01 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id EAA26516 for current-outgoing; Mon, 27 Nov 1995 04:23:01 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id EAA26510 for ; Mon, 27 Nov 1995 04:22:38 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id NAA18122 for ; Mon, 27 Nov 1995 13:21:13 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id NAA05594 for freebsd-current@FreeBSD.org; Mon, 27 Nov 1995 13:21:29 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id KAA05194 for freebsd-current@FreeBSD.org; Mon, 27 Nov 1995 10:12:13 +0100 From: J Wunsch Message-Id: <199511270912.KAA05194@uriah.heep.sax.de> Subject: Re: schg flag on make world in -CURRENT To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Mon, 27 Nov 1995 10:12:13 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "-Vince-" at Nov 26, 95 12:13:39 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 448 Sender: owner-current@FreeBSD.org Precedence: bulk As -Vince- wrote: > > Is there anyway to remotely login to a FreeBSD box and 'su' to root > to do a make world without having to do noflags schg on all the files > with that flag on it generated by the last make world in -CURRENT? Thanks! Why don't you just use "rlogin" and "su"? -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-current Mon Nov 27 04:56:13 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id EAA28035 for current-outgoing; Mon, 27 Nov 1995 04:56:13 -0800 Received: from hda.com (hda.com [199.232.40.182]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id EAA28030 for ; Mon, 27 Nov 1995 04:56:08 -0800 Received: (from dufault@localhost) by hda.com (8.6.11/8.6.9) id HAA04725; Mon, 27 Nov 1995 07:55:25 -0500 From: Peter Dufault Message-Id: <199511271255.HAA04725@hda.com> Subject: Re: Prioritised disk requests To: sysseh@devetir.qld.gov.au (Stephen Hocking) Date: Mon, 27 Nov 1995 07:55:25 -0500 (EST) Cc: current@FreeBSD.ORG In-Reply-To: <199511270628.GAA00550@netfl15a.devetir.qld.gov.au> from "Stephen Hocking" at Nov 27, 95 04:28:50 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1419 Sender: owner-current@FreeBSD.ORG Precedence: bulk > Has anyone thought of a mechanism (similar to stuff I've seen on Masscomp > machines) where one could indicate that a particular stream of disk I/O had a > higher priority than normal? Masscomp used to have a B_URGENT flag for these > blocks in the buffer cache (for semi-realtime I/O when acquiring or > transmitting data). CD burners could do with this, or people trying to keep > tapes streaming on backups. I actually had a tiny yet useful subset of this working a few months back when I was talking about SCSI I/O queueing with Justin. I would jam rt_prio processes to the front of the queue to get a SCSI slot on a host adapter; it made xcdplayer real snappy. I was thinking about the problems of scheduling I/O for tagged queueing and doing multimedia and CDROM-burning. The idea was given a certain number of possible transactions on a resource (e.g.,, queue slots on a host adapter) you'd queue up to get the resource, and the queue would be a priority queue based on process priority for process context I/O. It only addresses raw transfers. I have to formalize and generalize this and bounce it off the architects; obviously it can't be a SCSI only solution. I plan to have some time in the middle of December, around 12/13. -- Peter Dufault Real Time Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936 dufault@hda.com Fax: 508 433 5267 From owner-freebsd-current Mon Nov 27 05:04:37 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id FAA28516 for current-outgoing; Mon, 27 Nov 1995 05:04:37 -0800 Received: from sequent.kiae.su (sequent.kiae.su [144.206.136.6]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id FAA28507 for ; Mon, 27 Nov 1995 05:04:31 -0800 Received: by sequent.kiae.su id AA26469 (5.65.kiae-2 ); Mon, 27 Nov 1995 16:02:52 +0300 Received: by sequent.KIAE.su (UUMAIL/2.0); Mon, 27 Nov 95 16:02:51 +0300 Received: (from ache@localhost) by ache.dialup.demos.ru (8.6.12/8.6.12) id PAA00617; Mon, 27 Nov 1995 15:50:58 +0300 To: John Dyson , Ollivier Robert Cc: freebsd-current@FreeBSD.org, peter@haywire.dialix.com References: <199511262333.PAA11498@freefall.freebsd.org> In-Reply-To: <199511262333.PAA11498@freefall.freebsd.org>; from John Dyson at Sun, 26 Nov 1995 15:33:35 -0800 (PST) Message-Id: Organization: Olahm Ha-Yetzirah Date: Mon, 27 Nov 1995 15:50:58 +0300 (MSK) X-Mailer: Mail/@ [v2.41 FreeBSD] From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) X-Class: Fast Subject: Re: Getblk hangs Lines: 15 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Length: 544 Sender: owner-current@FreeBSD.org Precedence: bulk In message <199511262333.PAA11498@freefall.freebsd.org> John Dyson writes: >On the system lockups ---- >try removing AUTO_EOI_2 from your config. >it is evil in the general case and works only on specific >hardware.... I don't have AUTO_EOI_2. -- Andrey A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - http://dt.demos.su/~ache : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849 From owner-freebsd-current Mon Nov 27 05:12:49 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id FAA28861 for current-outgoing; Mon, 27 Nov 1995 05:12:49 -0800 Received: from haywire.DIALix.COM (peter@haywire.DIALix.COM [192.203.228.65]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id FAA28855 for ; Mon, 27 Nov 1995 05:12:38 -0800 Received: (from peter@localhost) by haywire.DIALix.COM (sendmail) id VAA19290; Mon, 27 Nov 1995 21:12:07 +0800 (WST) Date: Mon, 27 Nov 1995 21:12:06 +0800 (WST) From: Peter Wemm To: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= cc: John Dyson , Ollivier Robert , freebsd-current@FreeBSD.org Subject: Re: Getblk hangs In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.org Precedence: bulk On Mon, 27 Nov 1995, =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= wrote: > In message <199511262333.PAA11498@freefall.freebsd.org> John Dyson > writes: > > >On the system lockups ---- > >try removing AUTO_EOI_2 from your config. > >it is evil in the general case and works only on specific > >hardware.... > > I don't have AUTO_EOI_2. I'm wondering if there's something else in common that was changed about then? I've not seen the hang on -current on jhome here (most recent kernel tested is nov.24).. (jhome is a vanilla 486 box with a VLB buslogic controller) -Peter > -- > Andrey A. Chernov : And I rest so composedly, /Now, in my bed, > ache@astral.msk.su : That any beholder /Might fancy me dead - > http://dt.demos.su/~ache : Might start at beholding me, /Thinking me dead. > RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849 > From owner-freebsd-current Mon Nov 27 05:17:19 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id FAA29104 for current-outgoing; Mon, 27 Nov 1995 05:17:19 -0800 Received: from mail.Germany.EU.net (mail.germany.eu.net [192.76.144.65]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id FAA29099 for ; Mon, 27 Nov 1995 05:17:15 -0800 Received: by mail.Germany.EU.net with UUCP (5.59:10/EUnetD-2.5.2.e) via EUnet id MAA01648; Mon, 27 Nov 1995 12:17:23 +0100 Received: from ida.interface-business.de (ida.interface-business.de [193.101.57.203]) by innocence.interface-business.de (8.6.11/8.6.9) with ESMTP id MAA20984 for ; Mon, 27 Nov 1995 12:09:28 +0100 Received: (from j@localhost) by ida.interface-business.de (8.6.11/8.6.9) id MAA14044 for freebsd-current@freebsd.org; Mon, 27 Nov 1995 12:10:16 +0100 From: J Wunsch Message-Id: <199511271110.MAA14044@ida.interface-business.de> Subject: Panic: b_to_q on a clist... To: freebsd-current@freebsd.org Date: Mon, 27 Nov 1995 12:10:15 +0100 (MET) Reply-To: joerg_wunsch@interface-business.de (Joerg Wunsch) X-Phone: +49-351-31809-14 X-Fax: +49-351-3361187 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 609 Sender: owner-current@freebsd.org Precedence: bulk On a 2.0.5 system, i reproducibly get panics: b_to_q on a clist with no reserved cblocks whenever i temporarily unplug the modem from a port where mgetty is running. Since i've just noticed the same panic on a second machine (where the UART went south and therefore the sio driver probe failed), it smells like a generic bug. Does anybody know whether this one has been fixed in 2.1? (Both machines are production machines, so i hesitate to upgrade without a strong reason.) -- J"org Wunsch Unix support engineer joerg_wunsch@interface-business.de [private: http://www.sax.de/~joerg/] From owner-freebsd-current Mon Nov 27 08:12:35 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA09421 for current-outgoing; Mon, 27 Nov 1995 08:12:35 -0800 Received: from sivka.carrier.kiev.ua (root@sivka.carrier.kiev.ua [193.125.68.130]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id IAA09317 for ; Mon, 27 Nov 1995 08:11:54 -0800 Received: from elvisti.kiev.ua (uucp@localhost) by sivka.carrier.kiev.ua (Sendmail 8.who.cares/5) with UUCP id SAA18702 for current@FreeBSD.org; Mon, 27 Nov 1995 18:15:19 +0200 Received: from office.elvisti.kiev.ua (office.elvisti.kiev.ua [193.125.28.33]) by spider2.elvisti.kiev.ua (8.6.12/8.ElVisti) with ESMTP id RAA05070 for ; Mon, 27 Nov 1995 17:01:27 +0200 Received: (from stesin@localhost) by office.elvisti.kiev.ua (8.6.12/8.ElVisti) id RAA04958; Mon, 27 Nov 1995 17:01:26 +0200 From: "Andrew V. Stesin" Message-Id: <199511271501.RAA04958@office.elvisti.kiev.ua> Subject: Re: "Gold" writable CDs and FreeBSD -- opinions, comments? To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Mon, 27 Nov 1995 17:01:25 +0200 (EET) Cc: stesin@elvisti.kiev.ua, hardware@FreeBSD.org, current@FreeBSD.org In-Reply-To: <12554.817401445@time.cdrom.com> from "Jordan K. Hubbard" at Nov 26, 95 07:57:25 am X-Mailer: ELM [version 2.4 PL24alpha5] Content-Type: text Content-Length: 1242 Sender: owner-current@FreeBSD.org Precedence: bulk Hello Jordan, # > But what steps are required to get it working with FreeBSD? I think there are # # I think we're going to be exploring this issue very shortly as I myself # have also gotten ahold of a CD-R drive and would very much like to use # it for producing FreeBSD release CDs from home (it would make a LOT more # testing possible since I don't have test machines to use at Walnut Creek). Yes, that's what I've tell: you get _many_ new and useful functionality of goldCD, test releases among them... # Basically, at the present time it looks like I need to buy Julian # Elischer a pizza. Perhaps you could contribute by sending him a bottle # of Vodka for afterwards? :-) Neat idea. But as today the Ukrainian vodka industry is in crisis, too, I can propose the famous drink of Ukrainian kozaks -- Gorilka z Pertcem (pepper vodka), either of industrial or of my own home production (yes, I can produce nice and strong vodka myself, too). Dear Julian! Will three liters be enough at least for the first time? (You think I'm joking?! oh no...) (-; # # Jordan # -- With best regards -- Andrew Stesin. +380 (44) 2760188 +380 (44) 2713457 +380 (44) 2713560 An undocumented feature is a coding error. From owner-freebsd-current Mon Nov 27 08:13:31 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA09534 for current-outgoing; Mon, 27 Nov 1995 08:13:31 -0800 Received: from sivka.carrier.kiev.ua (root@sivka.carrier.kiev.ua [193.125.68.130]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id IAA09434 for ; Mon, 27 Nov 1995 08:12:43 -0800 Received: from elvisti.kiev.ua (uucp@localhost) by sivka.carrier.kiev.ua (Sendmail 8.who.cares/5) with UUCP id SAA18747 for current@freebsd.org; Mon, 27 Nov 1995 18:15:43 +0200 Received: from office.elvisti.kiev.ua (office.elvisti.kiev.ua [193.125.28.33]) by spider2.elvisti.kiev.ua (8.6.12/8.ElVisti) with ESMTP id RAA10990 for ; Mon, 27 Nov 1995 17:22:54 +0200 Received: (from stesin@localhost) by office.elvisti.kiev.ua (8.6.12/8.ElVisti) id RAA05549; Mon, 27 Nov 1995 17:22:51 +0200 From: "Andrew V. Stesin" Message-Id: <199511271522.RAA05549@office.elvisti.kiev.ua> Subject: Re: "Gold" writable CDs and FreeBSD -- opinions, comments? To: julian@ref.tfs.com (Julian Elischer) Date: Mon, 27 Nov 1995 17:22:50 +0200 (EET) Cc: stesin@elvisti.kiev.ua, hardware@freebsd.org, current@freebsd.org In-Reply-To: <199511262122.NAA19147@ref.tfs.com> from "Julian Elischer" at Nov 26, 95 01:22:14 pm X-Mailer: ELM [version 2.4 PL24alpha5] Content-Type: text Content-Length: 696 Sender: owner-current@freebsd.org Precedence: bulk Dear Julian, I hope my message about a proposal of some fuel for you to overcome this long and hard way, reached you already. Please notify is this Ok and enough! :-) (And your address, please). # hi, # I'm planning onlooking as a CDR device driver with jordan # over the next week or so... Cool. Which model of a writeable-CD will you recommend? (The one I know is a Pinnacle writeable CD, though only external box of the device is labeled Pinnacle, and the device itself, hidden in the box, is from some other manufacturer). # # julian # -- With best regards -- Andrew Stesin. +380 (44) 2760188 +380 (44) 2713457 +380 (44) 2713560 An undocumented feature is a coding error. From owner-freebsd-current Mon Nov 27 08:19:51 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA09853 for current-outgoing; Mon, 27 Nov 1995 08:19:51 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id IAA09842 for ; Mon, 27 Nov 1995 08:19:40 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id DAA16857; Tue, 28 Nov 1995 03:17:25 +1100 Date: Tue, 28 Nov 1995 03:17:25 +1100 From: Bruce Evans Message-Id: <199511271617.DAA16857@godzilla.zeta.org.au> To: freebsd-current@FreeBSD.org, j@ida.interface-business.de Subject: Re: Panic: b_to_q on a clist... Sender: owner-current@FreeBSD.org Precedence: bulk >On a 2.0.5 system, i reproducibly get panics: > b_to_q on a clist with no reserved cblocks >whenever i temporarily unplug the modem from a port where mgetty is >running. Since i've just noticed the same panic on a second machine >(where the UART went south and therefore the sio driver probe failed), >it smells like a generic bug. >Does anybody know whether this one has been fixed in 2.1? (Both >machines are production machines, so i hesitate to upgrade without a >strong reason.) Peter made the error non-fatal. The bug hasn't been fixed except possibly as a side effect of another fix. Bruce From owner-freebsd-current Mon Nov 27 08:34:56 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA10928 for current-outgoing; Mon, 27 Nov 1995 08:34:56 -0800 Received: from ast.com (irvine.ast.com [165.164.128.2]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id IAA10922 for ; Mon, 27 Nov 1995 08:34:50 -0800 Received: from fw.ast.com by ast.com with SMTP id AA15900 (5.67b/IDA-1.5 for ); Mon, 27 Nov 1995 08:36:15 -0800 Received: from nemesis by fw.ast.com with uucp (Smail3.1.29.1 #4) id m0tK6Kw-00008TC; Mon, 27 Nov 95 10:23 CST Received: by nemesis.lonestar.org (Smail3.1.27.1 #20) id m0tK6Cl-0008mtC; Mon, 27 Nov 95 10:14 WET Message-Id: Date: Mon, 27 Nov 95 10:14 WET To: current@FreeBSD.org From: uhclem%nemesis@fw.ast.com (Frank Durda IV) Sent: Mon Nov 27 1995, 10:14:55 CST Subject: Re: Theory Failed: screen vs keyboard lock-up Sender: owner-current@FreeBSD.org Precedence: bulk [1]I can't tell you what's causing it but I've got similar symptoms [1]since the beginnings. Right now I'm running 2.1.0-SNAP-9507?? and [1]it still happens every now and then. The only thing I noticed is [1]that it always happens when I switch screens during disk activity. [1]Also note that during a lockup I'm able to login on a serial line [1]and everything works OK*. It's only the console input which is lost [1]until I reboot the machine. I also came across this problem in 1.1.5.1 on keyboards made by Fujitsu and others (all keyboards 8042-based). If the system was particularly busy on disk when I did a ALT-Fn screen change, about 10% of the time the keyboard would appear to lock up. You could effectively cause the lockup to happen by rapidly changing between screens that had updates occuring on them, such as "ls -alR /" on a couple of screens, then toggle between them. I also found that all I had to do was unplug and reconnect the keyboard while the system was running and the keyboard would resume functioning. No need to reboot. The problem completely disappeared for these keyboard brands (at least on the systems I am responsible for) when I switched them over to 2.0.5-RELEASE. Perhaps the timing was changed but not enough to cover all keyboards, such as those using the "COPS" controller instead of a 8042. (The "COPS" controller is a different processor used in some keyboards to avoid the fury of the Texas Instruments Patent Lawyers(TM) who have a patent on keyboard matrix scanning from the pocket calculator days.) Try unplugging and reconnecting the keyboard and see if it "wakes up". Frank Durda IV |"Knowledge is power, so be sure or uhclem%nemesis@fw.ast.com (Fastest Route)| to give some away today. ...letni!rwsys!nemesis!uhclem | Doing this annoys Microsoft." ...decvax!fw.ast.com!nemesis!uhclem | (c) 1995 FDIV From owner-freebsd-current Mon Nov 27 13:13:32 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA28483 for current-outgoing; Mon, 27 Nov 1995 13:13:32 -0800 Received: from sovcom.kiae.su (sovcom.kiae.su [144.206.136.1]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id NAA28467 for ; Mon, 27 Nov 1995 13:13:25 -0800 Received: by sovcom.kiae.su id AA13442 (5.65.kiae-1 ); Tue, 28 Nov 1995 00:01:11 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Tue, 28 Nov 95 00:01:11 +0300 Received: (from ache@localhost) by ache.dialup.demos.ru (8.6.12/8.6.12) id XAA01889; Mon, 27 Nov 1995 23:31:29 +0300 To: Peter Wemm Cc: John Dyson , freebsd-current@FreeBSD.org, Ollivier Robert References: In-Reply-To: ; from Peter Wemm at Mon, 27 Nov 1995 21:12:06 +0800 (WST) Message-Id: Organization: Olahm Ha-Yetzirah Date: Mon, 27 Nov 1995 23:31:28 +0300 (MSK) X-Mailer: Mail/@ [v2.41 FreeBSD] From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) X-Class: Fast Subject: Re: Getblk hangs Lines: 27 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Length: 1039 Sender: owner-current@FreeBSD.org Precedence: bulk In message Peter Wemm writes: >On Mon, 27 Nov 1995, =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= wrote: >> In message <199511262333.PAA11498@freefall.freebsd.org> John Dyson >> writes: >> >> >On the system lockups ---- >> >try removing AUTO_EOI_2 from your config. >> >it is evil in the general case and works only on specific >> >hardware.... >> >> I don't have AUTO_EOI_2. >I'm wondering if there's something else in common that was changed about >then? I've not seen the hang on -current on jhome here (most recent >kernel tested is nov.24).. (jhome is a vanilla 486 box with a VLB buslogic >controller) I use AHA2842. Maybe it is recent eisa changes? -- Andrey A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - http://dt.demos.su/~ache : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849 From owner-freebsd-current Mon Nov 27 14:19:32 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA04245 for current-outgoing; Mon, 27 Nov 1995 14:19:32 -0800 Received: from apollo.COSC.GOV (root@apollo.COSC.GOV [198.94.103.34]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA04223 for ; Mon, 27 Nov 1995 14:19:26 -0800 Received: (from vince@localhost) by apollo.COSC.GOV (8.6.12/8.6.9) id OAA22856; Mon, 27 Nov 1995 14:17:26 -0800 Date: Mon, 27 Nov 1995 14:17:25 -0800 (PST) From: -Vince- To: Joerg Wunsch cc: FreeBSD-current users Subject: Re: schg flag on make world in -CURRENT In-Reply-To: <199511270912.KAA05194@uriah.heep.sax.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk On Mon, 27 Nov 1995, J Wunsch wrote: > As -Vince- wrote: > > > > Is there anyway to remotely login to a FreeBSD box and 'su' to root > > to do a make world without having to do noflags schg on all the files > > with that flag on it generated by the last make world in -CURRENT? Thanks! > > Why don't you just use "rlogin" and "su"? Does rlogin and su make any difference? I'm using ppp from Win95 and I don't have a rlogin program, only telnet... Cheers, -Vince- vince@COSC.GOV - GUS Mailing Lists Admin - http://www.COSC.GOV/~vince UC Berkeley AstroPhysics - Electrical Engineering (Honorary B.S.) Chabot Observatory & Science Center - Board of Advisors Running FreeBSD - Real UN*X for Free! Linda Wong/Vivian Chow/Hacken Lee/Danny Chan/Priscilla Chan Fan Club Mailing Lists Admin From owner-freebsd-current Mon Nov 27 14:26:06 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA04962 for current-outgoing; Mon, 27 Nov 1995 14:26:06 -0800 Received: from who.cdrom.com (who.cdrom.com [192.216.222.3]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA04941 for ; Mon, 27 Nov 1995 14:25:59 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by who.cdrom.com (8.6.12/8.6.11) with ESMTP id OAA08077 for ; Mon, 27 Nov 1995 14:25:37 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id XAA11943 for ; Mon, 27 Nov 1995 23:22:33 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id XAA13964 for freebsd-current@FreeBSD.org; Mon, 27 Nov 1995 23:22:33 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id XAA06878 for freebsd-current@FreeBSD.org; Mon, 27 Nov 1995 23:02:31 +0100 From: J Wunsch Message-Id: <199511272202.XAA06878@uriah.heep.sax.de> Subject: Re: new calendar(1), please test To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Mon, 27 Nov 1995 23:02:31 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199511241704.SAA24107@caramba.cs.tu-berlin.de> from "Wolfram Schneider" at Nov 24, 95 06:04:20 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 442 Sender: owner-current@FreeBSD.org Precedence: bulk As Wolfram Schneider wrote: > > calendar(1) try first 'calendar' in current directory and if > not exist '~/.calendar/calendar'. I'd rather like to have it read ~/.calendar as a file, not a directory. (~/calendar is the only file that usually shows up for an ``ls ~'' for me.) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-current Mon Nov 27 15:56:00 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA11588 for current-outgoing; Mon, 27 Nov 1995 15:56:00 -0800 Received: from hub.org (hub.org [199.166.238.138]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id PAA11550 for ; Mon, 27 Nov 1995 15:55:18 -0800 Received: (from scrappy@localhost) by hub.org (8.7.1/8.7.1) id SAA09227; Mon, 27 Nov 1995 18:54:13 -0500 (EST) Date: Mon, 27 Nov 1995 18:54:10 -0500 (EST) From: "Marc G. Fournier" To: -Vince- cc: Joerg Wunsch , FreeBSD-current users Subject: Re: schg flag on make world in -CURRENT In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk On Mon, 27 Nov 1995, -Vince- wrote: > On Mon, 27 Nov 1995, J Wunsch wrote: > > > As -Vince- wrote: > > > > > > Is there anyway to remotely login to a FreeBSD box and 'su' to root > > > to do a make world without having to do noflags schg on all the files > > > with that flag on it generated by the last make world in -CURRENT? Thanks! > > > > Why don't you just use "rlogin" and "su"? > > Does rlogin and su make any difference? I'm using ppp from Win95 > and I don't have a rlogin program, only telnet... > As long as you are a member of group wheel (/etc/group), you can su to root no matter what way you login to the machine. But you have to be a member of wheel, and you have to use su. Even on the console, you can set it up so that you can only su to root...and have it so that if someone tries to reboot into single user mode, it will force them to enter root's passwd, increasing system security even further Marc G. Fournier | POP Mail Telnet Acct DNS Hosting scrappy@hub.org | WWW Services Database Services | Knowledge, soon to be: | | Information and scrappy@ki.net | WWW: http://hub.org | Communications, Inc From owner-freebsd-current Mon Nov 27 15:58:11 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA11867 for current-outgoing; Mon, 27 Nov 1995 15:58:11 -0800 Received: from apollo.COSC.GOV (root@apollo.COSC.GOV [198.94.103.34]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id PAA11862 for ; Mon, 27 Nov 1995 15:58:07 -0800 Received: (from vince@localhost) by apollo.COSC.GOV (8.6.12/8.6.9) id PAA24649; Mon, 27 Nov 1995 15:55:38 -0800 Date: Mon, 27 Nov 1995 15:55:38 -0800 (PST) From: -Vince- To: "Marc G. Fournier" cc: Joerg Wunsch , FreeBSD-current users Subject: Re: schg flag on make world in -CURRENT In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk On Mon, 27 Nov 1995, Marc G. Fournier wrote: > On Mon, 27 Nov 1995, -Vince- wrote: > > > On Mon, 27 Nov 1995, J Wunsch wrote: > > > > > As -Vince- wrote: > > > > > > > > Is there anyway to remotely login to a FreeBSD box and 'su' to root > > > > to do a make world without having to do noflags schg on all the files > > > > with that flag on it generated by the last make world in -CURRENT? Thanks! > > > > > > Why don't you just use "rlogin" and "su"? > > > > Does rlogin and su make any difference? I'm using ppp from Win95 > > and I don't have a rlogin program, only telnet... > > > As long as you are a member of group wheel (/etc/group), you can > su to root no matter what way you login to the machine. But you have to > be a member of wheel, and you have to use su. > > Even on the console, you can set it up so that you can only su > to root...and have it so that if someone tries to reboot into single user > mode, it will force them to enter root's passwd, increasing system > security even further I know and I am in the group wheel, what I meant was like how to bypass the schg flags when doing a make world since the only way is to boot single user at the console and I am logging in from somewhere else usually. Cheers, -Vince- vince@COSC.GOV - GUS Mailing Lists Admin - http://www.COSC.GOV/~vince UC Berkeley AstroPhysics - Electrical Engineering (Honorary B.S.) Chabot Observatory & Science Center - Board of Advisors Running FreeBSD - Real UN*X for Free! Linda Wong/Vivian Chow/Hacken Lee/Danny Chan/Priscilla Chan Fan Club Mailing Lists Admin From owner-freebsd-current Mon Nov 27 16:00:04 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA11989 for current-outgoing; Mon, 27 Nov 1995 16:00:04 -0800 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id PAA11946 for ; Mon, 27 Nov 1995 15:59:58 -0800 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id QAA19960; Mon, 27 Nov 1995 16:54:48 -0700 From: Terry Lambert Message-Id: <199511272354.QAA19960@phaeton.artisoft.com> Subject: Re: schg flag on make world in -CURRENT To: vince@apollo.COSC.GOV (-Vince-) Date: Mon, 27 Nov 1995 16:54:47 -0700 (MST) Cc: joerg_wunsch@uriah.heep.sax.de, freebsd-current@freebsd.org In-Reply-To: from "-Vince-" at Nov 27, 95 02:17:25 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1381 Sender: owner-current@freebsd.org Precedence: bulk > > > Is there anyway to remotely login to a FreeBSD box and 'su' to root > > > to do a make world without having to do noflags schg on all the files > > > with that flag on it generated by the last make world in -CURRENT? Thanks! > > > > Why don't you just use "rlogin" and "su"? > > Does rlogin and su make any difference? I'm using ppp from Win95 > and I don't have a rlogin program, only telnet... 1) Your user name must be in group "wheel" (in the file /etc/group). 2) Your pty must be marked "secure". Currently, it is marked as "network", mostly because networks aren't secure. Since you can't pick your pty, you pretty much have to lett all of them in. Be sure to put "Welcome, system crackers!" in your login prompt in gettytab. 8-). The rlogin is vouchsafe, but needs a pty as well. Besides, any user on a DOS box is "root". If you allowed "rlogin", then any user on any DOS box you allowed could become any user on your machine by lying about who they are. The point in a UNIX<->UNIX peer environment is that you are at least as secure as your root password on both machines combined. Since telnet needs a pty as well, you have to have "secure" in the /etc/ttys line either way. So "rlogin" isn't an issue. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-current Mon Nov 27 16:04:08 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA12351 for current-outgoing; Mon, 27 Nov 1995 16:04:08 -0800 Received: from apollo.COSC.GOV (root@apollo.COSC.GOV [198.94.103.34]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id QAA12275 for ; Mon, 27 Nov 1995 16:03:57 -0800 Received: (from vince@localhost) by apollo.COSC.GOV (8.6.12/8.6.9) id QAA24828; Mon, 27 Nov 1995 16:01:33 -0800 Date: Mon, 27 Nov 1995 16:01:33 -0800 (PST) From: -Vince- To: Terry Lambert cc: joerg_wunsch@uriah.heep.sax.de, freebsd-current@freebsd.org Subject: Re: schg flag on make world in -CURRENT In-Reply-To: <199511272354.QAA19960@phaeton.artisoft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk On Mon, 27 Nov 1995, Terry Lambert wrote: > > > > Is there anyway to remotely login to a FreeBSD box and 'su' to root > > > > to do a make world without having to do noflags schg on all the files > > > > with that flag on it generated by the last make world in -CURRENT? Thanks! > > > > > > Why don't you just use "rlogin" and "su"? > > > > Does rlogin and su make any difference? I'm using ppp from Win95 > > and I don't have a rlogin program, only telnet... > > 1) Your user name must be in group "wheel" (in the file /etc/group). Correct for su to work. > 2) Your pty must be marked "secure". Currently, it is marked as > "network", mostly because networks aren't secure. Since you > can't pick your pty, you pretty much have to lett all of them > in. Be sure to put "Welcome, system crackers!" in your login > prompt in gettytab. 8-). So that's it, the pty must be secure but I can't really control that since I thought you can't telnet or rlogin into a secured pty. Not a bad idea for the login prompt =) > The rlogin is vouchsafe, but needs a pty as well. Besides, any user on > a DOS box is "root". If you allowed "rlogin", then any user on any DOS > box you allowed could become any user on your machine by lying about > who they are. The point in a UNIX<->UNIX peer environment is that you > are at least as secure as your root password on both machines combined. > > Since telnet needs a pty as well, you have to have "secure" in the > /etc/ttys line either way. So "rlogin" isn't an issue. Thanks for clarifying this. But if the pty is secure, how am I able to telnet or rlogin to that pty? Cheers, -Vince- vince@COSC.GOV - GUS Mailing Lists Admin - http://www.COSC.GOV/~vince UC Berkeley AstroPhysics - Electrical Engineering (Honorary B.S.) Chabot Observatory & Science Center - Board of Advisors Running FreeBSD - Real UN*X for Free! Linda Wong/Vivian Chow/Hacken Lee/Danny Chan/Priscilla Chan Fan Club Mailing Lists Admin From owner-freebsd-current Mon Nov 27 16:09:29 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA12938 for current-outgoing; Mon, 27 Nov 1995 16:09:29 -0800 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id QAA12931 for ; Mon, 27 Nov 1995 16:09:22 -0800 Received: (from julian@localhost) by ref.tfs.com (8.6.12/8.6.9) id QAA22018; Mon, 27 Nov 1995 16:07:45 -0800 From: Julian Elischer Message-Id: <199511280007.QAA22018@ref.tfs.com> Subject: Re: Getblk hangs To: peter@haywire.dialix.com (Peter Wemm) Date: Mon, 27 Nov 1995 16:07:45 -0800 (PST) Cc: ache@astral.msk.su, dyson@freefall.freebsd.org, roberto@keltia.freenix.fr, freebsd-current@FreeBSD.org In-Reply-To: from "Peter Wemm" at Nov 27, 95 09:12:06 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 661 Sender: owner-current@FreeBSD.org Precedence: bulk 486? It's been upgrade? it was a 386sx40 (with an aha1542?) when I left! :) > > > I'm wondering if there's something else in common that was changed about > then? I've not seen the hang on -current on jhome here (most recent > kernel tested is nov.24).. (jhome is a vanilla 486 box with a VLB buslogic > controller) > > -Peter > > > -- > > Andrey A. Chernov : And I rest so composedly, /Now, in my bed, > > ache@astral.msk.su : That any beholder /Might fancy me dead - > > http://dt.demos.su/~ache : Might start at beholding me, /Thinking me dead. > > RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849 > > > From owner-freebsd-current Mon Nov 27 16:15:32 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA13427 for current-outgoing; Mon, 27 Nov 1995 16:15:32 -0800 Received: from apollo.COSC.GOV (root@apollo.COSC.GOV [198.94.103.34]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id QAA13421 for ; Mon, 27 Nov 1995 16:15:26 -0800 Received: (from vince@localhost) by apollo.COSC.GOV (8.6.12/8.6.9) id QAA25058; Mon, 27 Nov 1995 16:13:30 -0800 Date: Mon, 27 Nov 1995 16:13:30 -0800 (PST) From: -Vince- To: current@FreeBSD.ORG Subject: select() and setrlimit() broken Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.ORG Precedence: bulk Does anyone know if select() and setrlimit() is broken in -CURRENT since they don't behave the way they should as compared to every other UN*X variant. Any info would be helpful. Thanks! Cheers, -Vince- vince@COSC.GOV - GUS Mailing Lists Admin - http://www.COSC.GOV/~vince UC Berkeley AstroPhysics - Electrical Engineering (Honorary B.S.) Chabot Observatory & Science Center - Board of Advisors Running FreeBSD - Real UN*X for Free! Linda Wong/Vivian Chow/Hacken Lee/Danny Chan/Priscilla Chan Fan Club Mailing Lists Admin From owner-freebsd-current Mon Nov 27 18:25:43 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA22140 for current-outgoing; Mon, 27 Nov 1995 18:25:43 -0800 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id SAA22132 for ; Mon, 27 Nov 1995 18:25:35 -0800 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id TAA20312; Mon, 27 Nov 1995 19:20:35 -0700 From: Terry Lambert Message-Id: <199511280220.TAA20312@phaeton.artisoft.com> Subject: Re: schg flag on make world in -CURRENT To: vince@apollo.COSC.GOV (-Vince-) Date: Mon, 27 Nov 1995 19:20:35 -0700 (MST) Cc: terry@lambert.org, joerg_wunsch@uriah.heep.sax.de, freebsd-current@freebsd.org In-Reply-To: from "-Vince-" at Nov 27, 95 04:01:33 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 473 Sender: owner-current@freebsd.org Precedence: bulk > > Since telnet needs a pty as well, you have to have "secure" in the > > /etc/ttys line either way. So "rlogin" isn't an issue. > > Thanks for clarifying this. But if the pty is secure, how am I > able to telnet or rlogin to that pty? Works for me. Are you saying someone got silly in a newer version of telnetd and rlogind? Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-current Mon Nov 27 18:48:35 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA24163 for current-outgoing; Mon, 27 Nov 1995 18:48:35 -0800 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id SAA24075 for ; Mon, 27 Nov 1995 18:48:16 -0800 Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.12/jtpda-5.0) with ESMTP id DAA21794 ; Tue, 28 Nov 1995 03:47:42 +0100 Received: from (uucp@localhost) by blaise.ibp.fr (8.6.12/jtpda-5.0) with UUCP id DAA10016 ; Tue, 28 Nov 1995 03:47:42 +0100 Received: (from roberto@localhost) by keltia.freenix.fr (8.7.1/keltia-uucp-2.6) id DAA26274; Tue, 28 Nov 1995 03:18:52 +0100 (MET) From: Ollivier Robert Message-Id: <199511280218.DAA26274@keltia.freenix.fr> Subject: Re: Getblk hangs To: ache@astral.msk.su (=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=) Date: Tue, 28 Nov 1995 03:18:52 +0100 (MET) Cc: peter@haywire.dialix.com, dyson@freefall.freebsd.org, freebsd-current@FreeBSD.org In-Reply-To: from "=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=" at Nov 27, 95 11:31:28 pm X-Operating-System: FreeBSD 2.2-CURRENT ctm#1378 X-Mailer: ELM [version 2.4 PL24 ME8b] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-current@FreeBSD.org Precedence: bulk It seems that áÎÄÒÅÊ_þÅÒÎÏ× said: > > I use AHA2842. Maybe it is recent eisa changes? I am also on an EISA system... This seems to be the common point between Andrey and me. If I look at my Nov. 6th kernel, it doesn't use the new "controller eisa0" scheme in the config file so it is before the great EISA changes. -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.frmug.fr.net FreeBSD keltia.freenix.fr 2.2-CURRENT #7: Mon Nov 6 21:08:06 MET 1995 From owner-freebsd-current Mon Nov 27 19:52:45 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id TAA29024 for current-outgoing; Mon, 27 Nov 1995 19:52:45 -0800 Received: from hub.org (hub.org [199.166.238.138]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id TAA29007 for ; Mon, 27 Nov 1995 19:52:28 -0800 Received: (from scrappy@localhost) by hub.org (8.7.1/8.7.1) id VAA13040; Mon, 27 Nov 1995 21:45:15 -0500 (EST) Date: Mon, 27 Nov 1995 21:45:08 -0500 (EST) From: "Marc G. Fournier" To: -Vince- cc: Terry Lambert , joerg_wunsch@uriah.heep.sax.de, freebsd-current@FreeBSD.ORG Subject: Re: schg flag on make world in -CURRENT In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.ORG Precedence: bulk On Mon, 27 Nov 1995, -Vince- wrote: > > 2) Your pty must be marked "secure". Currently, it is marked as > > "network", mostly because networks aren't secure. Since you > > can't pick your pty, you pretty much have to lett all of them > > in. Be sure to put "Welcome, system crackers!" in your login > > prompt in gettytab. 8-). > > So that's it, the pty must be secure but I can't really control > that since I thought you can't telnet or rlogin into a secured pty. Not a > bad idea for the login prompt =) > All "secure" means is that it is considered to be a secure means (ie. untappable) of connecting to that site. For instance, I would imagine that a machine sitting behind a very good firewall could have its pty's considered "secure", which would allow you to have all you machines on the local, behind-the-wall, network "open" to each other Usually, a "secure" line would be a leased line between two points, where the line is nice a shielded from any outside eavesdropping... which, nowadays, doesn't exist, does it? (rhetorical question, please don't answer? :) ) Marc G. Fournier | POP Mail Telnet Acct DNS Hosting scrappy@hub.org | WWW Services Database Services | Knowledge, soon to be: | | Information and scrappy@ki.net | WWW: http://hub.org | Communications, Inc From owner-freebsd-current Mon Nov 27 23:54:20 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA14380 for current-outgoing; Mon, 27 Nov 1995 23:54:20 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id XAA14371 for ; Mon, 27 Nov 1995 23:53:28 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id IAA27283 for ; Tue, 28 Nov 1995 08:50:58 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id IAA19047 for freebsd-current@FreeBSD.org; Tue, 28 Nov 1995 08:50:58 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id IAA09414 for freebsd-current@FreeBSD.org; Tue, 28 Nov 1995 08:49:22 +0100 From: J Wunsch Message-Id: <199511280749.IAA09414@uriah.heep.sax.de> Subject: Re: schg flag on make world in -CURRENT To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Tue, 28 Nov 1995 08:49:22 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "-Vince-" at Nov 27, 95 03:55:38 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 628 Sender: owner-current@FreeBSD.org Precedence: bulk As -Vince- wrote: > > I know and I am in the group wheel, what I meant was like how to > bypass the schg flags when doing a make world since the only way is to > boot single user at the console and I am logging in from somewhere else > usually. That's only if you're using a higher "secure level". The default one allows you to chflags also in multi-user mode. Running "make world" on a machine with an increased security level is self-contradictory (IMHO). -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-current Mon Nov 27 23:55:16 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA14434 for current-outgoing; Mon, 27 Nov 1995 23:55:16 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id XAA14191 for ; Mon, 27 Nov 1995 23:52:01 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id IAA27279 for ; Tue, 28 Nov 1995 08:50:54 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id IAA19044 for freebsd-current@FreeBSD.org; Tue, 28 Nov 1995 08:50:54 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id IAA09395 for freebsd-current@FreeBSD.org; Tue, 28 Nov 1995 08:47:16 +0100 From: J Wunsch Message-Id: <199511280747.IAA09395@uriah.heep.sax.de> Subject: Re: schg flag on make world in -CURRENT To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Tue, 28 Nov 1995 08:47:16 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199511272354.QAA19960@phaeton.artisoft.com> from "Terry Lambert" at Nov 27, 95 04:54:47 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 367 Sender: owner-current@FreeBSD.org Precedence: bulk As Terry Lambert wrote: > > 1) Your user name must be in group "wheel" (in the file /etc/group). > > 2) Your pty must be marked "secure". Sheesh. You don't need a "secure" pty in order to su(8) on it! -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-current Tue Nov 28 00:47:27 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA17271 for current-outgoing; Tue, 28 Nov 1995 00:47:27 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id AAA17245 for ; Tue, 28 Nov 1995 00:44:54 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id JAA28058 for ; Tue, 28 Nov 1995 09:16:20 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id JAA19195 for freebsd-current@FreeBSD.org; Tue, 28 Nov 1995 09:16:19 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id JAA09627 for freebsd-current@FreeBSD.org; Tue, 28 Nov 1995 09:01:59 +0100 From: J Wunsch Message-Id: <199511280801.JAA09627@uriah.heep.sax.de> Subject: Re: select() and setrlimit() broken To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Tue, 28 Nov 1995 09:01:59 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "-Vince-" at Nov 27, 95 04:13:30 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 503 Sender: owner-current@FreeBSD.org Precedence: bulk As -Vince- wrote: > > > Does anyone know if select() and setrlimit() is broken in -CURRENT since > they don't behave the way they should as compared to every other UN*X > variant. Any info would be helpful. Thanks! They are not. The entire system wouldn't work if they were. You forgot to tell us your suspected misbehaviour, btw. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-current Tue Nov 28 00:51:44 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA17494 for current-outgoing; Tue, 28 Nov 1995 00:51:44 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id AAA17368 for ; Tue, 28 Nov 1995 00:49:22 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id JAA28041; Tue, 28 Nov 1995 09:16:13 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id JAA19189; Tue, 28 Nov 1995 09:16:12 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id IAA09519; Tue, 28 Nov 1995 08:51:51 +0100 From: J Wunsch Message-Id: <199511280751.IAA09519@uriah.heep.sax.de> Subject: Re: Theory Failed: screen vs keyboard lock-up To: uhclem%nemesis@fw.ast.com (Frank Durda IV) Date: Tue, 28 Nov 1995 08:51:51 +0100 (MET) Cc: current@FreeBSD.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "Frank Durda IV" at Nov 27, 95 10:14:00 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 621 Sender: owner-current@FreeBSD.org Precedence: bulk As Frank Durda IV wrote: > > You could effectively cause the lockup to happen by rapidly changing > between screens that had updates occuring on them, such as "ls -alR /" > on a couple of screens, then toggle between them. That appears to be the "set LEDs" lockup (collision between input and output data streams on the serial keyboard line). The originator of this problem report however experienced a lockup while _nothing_ was going (during the night). -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-current Tue Nov 28 01:10:45 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA18317 for current-outgoing; Tue, 28 Nov 1995 01:10:45 -0800 Received: from apollo.COSC.GOV (root@apollo.COSC.GOV [198.94.103.34]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id BAA18312 for ; Tue, 28 Nov 1995 01:10:37 -0800 Received: (from vince@localhost) by apollo.COSC.GOV (8.6.12/8.6.9) id BAA02344; Tue, 28 Nov 1995 01:09:17 -0800 Date: Tue, 28 Nov 1995 01:09:16 -0800 (PST) From: -Vince- To: Terry Lambert cc: terry@lambert.org, joerg_wunsch@uriah.heep.sax.de, freebsd-current@freebsd.org Subject: Re: schg flag on make world in -CURRENT In-Reply-To: <199511280220.TAA20312@phaeton.artisoft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk On Mon, 27 Nov 1995, Terry Lambert wrote: > > > Since telnet needs a pty as well, you have to have "secure" in the > > > /etc/ttys line either way. So "rlogin" isn't an issue. > > > > Thanks for clarifying this. But if the pty is secure, how am I > > able to telnet or rlogin to that pty? > > Works for me. Are you saying someone got silly in a newer version of > telnetd and rlogind? I think I was thinking about a secure pty won't allow root to login remotely.... Cheers, -Vince- vince@COSC.GOV - GUS Mailing Lists Admin - http://www.COSC.GOV/~vince UC Berkeley AstroPhysics - Electrical Engineering (Honorary B.S.) Chabot Observatory & Science Center - Board of Advisors Running FreeBSD - Real UN*X for Free! Linda Wong/Vivian Chow/Hacken Lee/Danny Chan/Priscilla Chan Fan Club Mailing Lists Admin From owner-freebsd-current Tue Nov 28 01:14:14 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA18454 for current-outgoing; Tue, 28 Nov 1995 01:14:14 -0800 Received: from apollo.COSC.GOV (root@apollo.COSC.GOV [198.94.103.34]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id BAA18448 for ; Tue, 28 Nov 1995 01:14:07 -0800 Received: (from vince@localhost) by apollo.COSC.GOV (8.6.12/8.6.9) id BAA02385; Tue, 28 Nov 1995 01:12:49 -0800 Date: Tue, 28 Nov 1995 01:12:48 -0800 (PST) From: -Vince- To: "Marc G. Fournier" cc: Terry Lambert , joerg_wunsch@uriah.heep.sax.de, freebsd-current@FreeBSD.ORG Subject: Re: schg flag on make world in -CURRENT In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.ORG Precedence: bulk On Mon, 27 Nov 1995, Marc G. Fournier wrote: > On Mon, 27 Nov 1995, -Vince- wrote: > > > > 2) Your pty must be marked "secure". Currently, it is marked as > > > "network", mostly because networks aren't secure. Since you > > > can't pick your pty, you pretty much have to lett all of them > > > in. Be sure to put "Welcome, system crackers!" in your login > > > prompt in gettytab. 8-). > > > > So that's it, the pty must be secure but I can't really control > > that since I thought you can't telnet or rlogin into a secured pty. Not a > > bad idea for the login prompt =) > > > > All "secure" means is that it is considered to be a secure means > (ie. untappable) of connecting to that site. For instance, I would imagine > that a machine sitting behind a very good firewall could have its pty's > considered "secure", which would allow you to have all you machines on the > local, behind-the-wall, network "open" to each other > > Usually, a "secure" line would be a leased line between two > points, where the line is nice a shielded from any outside eavesdropping... > which, nowadays, doesn't exist, does it? (rhetorical question, please don't > answer? :) ) I thought secure just meant no remote logins as root ;) Cheers, -Vince- vince@COSC.GOV - GUS Mailing Lists Admin - http://www.COSC.GOV/~vince UC Berkeley AstroPhysics - Electrical Engineering (Honorary B.S.) Chabot Observatory & Science Center - Board of Advisors Running FreeBSD - Real UN*X for Free! Linda Wong/Vivian Chow/Hacken Lee/Danny Chan/Priscilla Chan Fan Club Mailing Lists Admin From owner-freebsd-current Tue Nov 28 01:57:50 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA21508 for current-outgoing; Tue, 28 Nov 1995 01:57:50 -0800 Received: from apollo.COSC.GOV (root@apollo.COSC.GOV [198.94.103.34]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id BAA21500 for ; Tue, 28 Nov 1995 01:57:46 -0800 Received: (from vince@localhost) by apollo.COSC.GOV (8.6.12/8.6.9) id BAA03521; Tue, 28 Nov 1995 01:54:28 -0800 Date: Tue, 28 Nov 1995 01:54:28 -0800 (PST) From: -Vince- To: Joerg Wunsch cc: FreeBSD-current users Subject: Re: schg flag on make world in -CURRENT In-Reply-To: <199511280749.IAA09414@uriah.heep.sax.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.org Precedence: bulk On Tue, 28 Nov 1995, J Wunsch wrote: > As -Vince- wrote: > > > > I know and I am in the group wheel, what I meant was like how to > > bypass the schg flags when doing a make world since the only way is to > > boot single user at the console and I am logging in from somewhere else > > usually. > > That's only if you're using a higher "secure level". The default one > allows you to chflags also in multi-user mode. Running "make world" > on a machine with an increased security level is self-contradictory > (IMHO). I am using the default one but somehow it doesn't let me do a finish the make world since it can't do chflags unless I ran noflags on the directories on my own beforehand. Could it be due to the fact that I am su-ing from a non-secure pty? Cheers, -Vince- vince@COSC.GOV - GUS Mailing Lists Admin - http://www.COSC.GOV/~vince UC Berkeley AstroPhysics - Electrical Engineering (Honorary B.S.) Chabot Observatory & Science Center - Board of Advisors Running FreeBSD - Real UN*X for Free! Linda Wong/Vivian Chow/Hacken Lee/Danny Chan/Priscilla Chan Fan Club Mailing Lists Admin From owner-freebsd-current Tue Nov 28 02:42:54 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA24525 for current-outgoing; Tue, 28 Nov 1995 02:42:54 -0800 Received: from Sysiphos (Sysiphos.MI.Uni-Koeln.DE [134.95.212.10]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id CAA24517 for ; Tue, 28 Nov 1995 02:42:47 -0800 Received: by Sysiphos id AA15437 (5.67b/IDA-1.5 for current@freebsd.org); Tue, 28 Nov 1995 11:41:29 +0100 Message-Id: <199511281041.AA15437@Sysiphos> From: se@zpr.uni-koeln.de (Stefan Esser) Date: Tue, 28 Nov 1995 11:41:28 +0100 In-Reply-To: -Vince- "select() and setrlimit() broken" (Nov 27, 16:13) X-Mailer: Mail User's Shell (7.2.6 alpha(2) 7/9/95) To: -Vince- Subject: Re: select() and setrlimit() broken Cc: current@freebsd.org Sender: owner-current@freebsd.org Precedence: bulk On Nov 27, 16:13, -Vince- wrote: } Subject: select() and setrlimit() broken } } Does anyone know if select() and setrlimit() is broken in -CURRENT since } they don't behave the way they should as compared to every other UN*X } variant. Any info would be helpful. Thanks! Did you make sure you used the correct types for setrlimit ? int setrlimit(int resource, struct rlimit *rlp); struct rlimit { quad_t rlim_cur; /* current (soft) limit */ quad_t rlim_max; /* hard limit */ }; The two fields of this struct are unsigned long on most other systems ... Regards, STefan -- Stefan Esser, Zentrum fuer Paralleles Rechnen Tel: +49 221 4706021 Universitaet zu Koeln, Weyertal 80, 50931 Koeln FAX: +49 221 4705160 ============================================================================== http://www.zpr.uni-koeln.de/~se From owner-freebsd-current Tue Nov 28 07:30:04 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA11974 for current-outgoing; Tue, 28 Nov 1995 07:30:04 -0800 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id HAA11928 for ; Tue, 28 Nov 1995 07:29:56 -0800 Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA03545; Tue, 28 Nov 1995 10:26:04 -0500 Date: Tue, 28 Nov 1995 10:26:04 -0500 From: "Garrett A. Wollman" Message-Id: <9511281526.AA03545@halloran-eldar.lcs.mit.edu> To: Wolfram Schneider Cc: current@freebsd.org Subject: new calendar(1), please test In-Reply-To: <199511241221.NAA06150@caramba.cs.tu-berlin.de> References: <199511241221.NAA06150@caramba.cs.tu-berlin.de> Sender: owner-current@freebsd.org Precedence: bulk < said: > - Calendar HOME directory ~/.calendar > - don't sent mail if ~/.calendar/nomail exist `calendar -a' needs to die. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant From owner-freebsd-current Tue Nov 28 08:21:31 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA15965 for current-outgoing; Tue, 28 Nov 1995 08:21:31 -0800 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id IAA15955 for ; Tue, 28 Nov 1995 08:21:26 -0800 Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA03613; Tue, 28 Nov 1995 11:21:08 -0500 Date: Tue, 28 Nov 1995 11:21:08 -0500 From: "Garrett A. Wollman" Message-Id: <9511281621.AA03613@halloran-eldar.lcs.mit.edu> To: -Vince- Cc: current@FreeBSD.ORG Subject: schg flag on make world in -CURRENT In-Reply-To: References: Sender: owner-current@FreeBSD.ORG Precedence: bulk < said: > Hi everyone, > Is there anyway to remotely login to a FreeBSD box and 'su' to root > to do a make world without having to do noflags schg on all the files > with that flag on it generated by the last make world in -CURRENT? Thanks! Yes. Don't run your system in secure mode. This is only about the fourth time I've told you this. Look at /sys/kern/kern_sysctl.c for the definition of `securelevel'. Make sure it's -1. Now look at everything in /etc and make sure that nothing attempts to increase it. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant From owner-freebsd-current Tue Nov 28 08:46:29 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA17793 for current-outgoing; Tue, 28 Nov 1995 08:46:29 -0800 Received: from ast.com (irvine.ast.com [165.164.128.2]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id IAA17778 for ; Tue, 28 Nov 1995 08:46:23 -0800 Received: from fw.ast.com by ast.com with SMTP id AA02496 (5.67b/IDA-1.5 for ); Tue, 28 Nov 1995 08:47:49 -0800 Received: from nemesis by fw.ast.com with uucp (Smail3.1.29.1 #4) id m0tKSpU-000089C; Tue, 28 Nov 95 10:24 CST Received: by nemesis.lonestar.org (Smail3.1.27.1 #20) id m0tKShb-0007zhC; Tue, 28 Nov 95 10:16 WET Message-Id: Date: Tue, 28 Nov 95 10:16 WET To: j@uriah.heep.sax.de, current@freebsd.org From: uhclem%nemesis@fw.ast.com (Frank Durda IV) Sent: Tue Nov 28 1995, 10:16:14 CST Subject: Re: Theory Failed: screen vs keyboard lock-up Sender: owner-current@freebsd.org Precedence: bulk [2]As Frank Durda IV wrote: [2] [2]You could effectively cause the lockup to happen by rapidly changing [2]between screens that had updates occuring on them, such as "ls -alR /" [2]on a couple of screens, then toggle between them. [3]joerg_wunsch@uriah.heep.sax.de sayeth: [3]That appears to be the "set LEDs" lockup (collision between input and [3]output data streams on the serial keyboard line). The originator of [3]this problem report however experienced a lockup while _nothing_ was [3]going (during the night). Uh, then why did the originator say this in the mail I responded to: [1]I can't tell you what's causing it but I've got similar symptoms [1]since the beginnings. Right now I'm running 2.1.0-SNAP-9507?? and [1]it still happens every now and then. The only thing I noticed is [1]that it always happens when I switch screens during disk activity. ********************************************************** [1]Also note that during a lockup I'm able to login on a serial line [1]and everything works OK*. It's only the console input which is lost [1]until I reboot the machine. Dunno, it sure sounds like we are talking about the same symptoms to me. Frank Durda IV |"The Knights who say "LETNi" or uhclem%nemesis@fw.ast.com (Fastest Route)| demand... A SEGMENT REGISTER!!!" ...letni!rwsys!nemesis!uhclem |"A what?" ...decvax!fw.ast.com!nemesis!uhclem |"LETNi! LETNi! LETNi!" - 1983 From owner-freebsd-current Tue Nov 28 09:40:23 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA21449 for current-outgoing; Tue, 28 Nov 1995 09:40:23 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.222.226]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id JAA21443 for ; Tue, 28 Nov 1995 09:40:18 -0800 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id JAA01126; Tue, 28 Nov 1995 09:34:53 -0800 To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) cc: freebsd-current@freebsd.org (FreeBSD-current users) Subject: Re: select() and setrlimit() broken In-reply-to: Your message of "Tue, 28 Nov 1995 09:01:59 +0100." <199511280801.JAA09627@uriah.heep.sax.de> Date: Tue, 28 Nov 1995 09:34:52 -0800 Message-ID: <1124.817580092@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-current@freebsd.org Precedence: bulk > As -Vince- wrote: > > > > > > Does anyone know if select() and setrlimit() is broken in -CURRENT sinc e > > they don't behave the way they should as compared to every other UN*X > > variant. Any info would be helpful. Thanks! > > They are not. The entire system wouldn't work if they were. Indeed. I believe this is just yet another example of Vince not coding the way he should, as compared with every other UN*X programmer. :-) Jordan From owner-freebsd-current Tue Nov 28 10:12:49 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA23494 for current-outgoing; Tue, 28 Nov 1995 10:12:49 -0800 Received: from hub.org (hub.org [199.166.238.138]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id KAA23478 for ; Tue, 28 Nov 1995 10:12:32 -0800 Received: (from scrappy@localhost) by hub.org (8.7.1/8.7.1) id NAA07482; Tue, 28 Nov 1995 13:10:26 -0500 (EST) Date: Tue, 28 Nov 1995 13:10:20 -0500 (EST) From: "Marc G. Fournier" To: Joerg Wunsch cc: Frank Durda IV , current@FreeBSD.org Subject: Re: Theory Failed: screen vs keyboard lock-up In-Reply-To: <199511280751.IAA09519@uriah.heep.sax.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.org Precedence: bulk On Tue, 28 Nov 1995, J Wunsch wrote: > As Frank Durda IV wrote: > > > > You could effectively cause the lockup to happen by rapidly changing > > between screens that had updates occuring on them, such as "ls -alR /" > > on a couple of screens, then toggle between them. > > That appears to be the "set LEDs" lockup (collision between input and > output data streams on the serial keyboard line). The originator of > this problem report however experienced a lockup while _nothing_ was > going (during the night). > Oops, glad you reminded me of that...I had totally forgotten that it did do that :( I've been trying everyone's suggestions on how to see where the problem is too... But it still leaves us effectively nowhere. It happens with screen...it happens without screen... It happens with or without keyboard activity... It happens with or without a keyboard extendor... It happens with two different keyboards... And so far... I have yet to find it happen any more then randomly... Marc G. Fournier | POP Mail Telnet Acct DNS Hosting scrappy@hub.org | WWW Services Database Services | Knowledge, soon to be: | | Information and scrappy@ki.net | WWW: http://hub.org | Communications, Inc From owner-freebsd-current Tue Nov 28 10:16:18 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA23957 for current-outgoing; Tue, 28 Nov 1995 10:16:18 -0800 Received: from hub.org (hub.org [199.166.238.138]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id KAA23880 for ; Tue, 28 Nov 1995 10:15:47 -0800 Received: (from scrappy@localhost) by hub.org (8.7.1/8.7.1) id NAA07537; Tue, 28 Nov 1995 13:13:57 -0500 (EST) Date: Tue, 28 Nov 1995 13:13:49 -0500 (EST) From: "Marc G. Fournier" To: Frank Durda IV cc: j@uriah.heep.sax.de, current@FreeBSD.org Subject: Re: Theory Failed: screen vs keyboard lock-up In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.org Precedence: bulk On Tue, 28 Nov 1995, Frank Durda IV wrote: > [2]As Frank Durda IV wrote: > [2] > [2]You could effectively cause the lockup to happen by rapidly changing > [2]between screens that had updates occuring on them, such as "ls -alR /" > [2]on a couple of screens, then toggle between them. > > [3]joerg_wunsch@uriah.heep.sax.de sayeth: > [3]That appears to be the "set LEDs" lockup (collision between input and > [3]output data streams on the serial keyboard line). The originator of > [3]this problem report however experienced a lockup while _nothing_ was > [3]going (during the night). > > Uh, then why did the originator say this in the mail I responded to: > > [1]I can't tell you what's causing it but I've got similar symptoms > [1]since the beginnings. Right now I'm running 2.1.0-SNAP-9507?? and > [1]it still happens every now and then. The only thing I noticed is > [1]that it always happens when I switch screens during disk activity. > ********************************************************** > [1]Also note that during a lockup I'm able to login on a serial line > [1]and everything works OK*. It's only the console input which is lost > [1]until I reboot the machine. > > Dunno, it sure sounds like we are talking about the same symptoms to me. > Wait...that isn't *my* report, I'm safe here. I'm running 2.2-current, not 2.1.0-SNAP...*whew* And that wasn't the originator...I am...notice that [1] above states that "I've got similar..."...which tends to imply he's responding to someone else's posting :) Marc G. Fournier | POP Mail Telnet Acct DNS Hosting scrappy@hub.org | WWW Services Database Services | Knowledge, soon to be: | | Information and scrappy@ki.net | WWW: http://hub.org | Communications, Inc From owner-freebsd-current Tue Nov 28 10:40:22 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA25491 for current-outgoing; Tue, 28 Nov 1995 10:40:22 -0800 Received: from netcom22.netcom.com (bakul@netcom22.netcom.com [192.100.81.136]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id KAA25485 for ; Tue, 28 Nov 1995 10:40:19 -0800 Received: from localhost by netcom22.netcom.com (8.6.12/Netcom) id KAA12261; Tue, 28 Nov 1995 10:37:51 -0800 Message-Id: <199511281837.KAA12261@netcom22.netcom.com> To: "Jordan K. Hubbard" cc: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch), freebsd-current@freebsd.org (FreeBSD-current users) Subject: Re: select() and setrlimit() broken In-reply-to: Your message of "Tue, 28 Nov 95 09:34:52 PST." <1124.817580092@time.cdrom.com> Date: Tue, 28 Nov 95 10:37:44 -0800 From: Bakul Shah Sender: owner-current@freebsd.org Precedence: bulk > > Does anyone know if select() and setrlimit() is broken in -CURRENT sinc > > they don't behave the way they should as compared to every other UN*X > > variant. Any info would be helpful. Thanks! Don't know about setrlimit() but I did notice that rlim_max is 0 under {Free,Net}BSD. On most other systems it is >= rlim_cur. -Vince- should describe exactly what the problem is if he expects any help. From owner-freebsd-current Tue Nov 28 11:46:08 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA28993 for current-outgoing; Tue, 28 Nov 1995 11:46:08 -0800 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id LAA28983 for ; Tue, 28 Nov 1995 11:46:01 -0800 Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA04068; Tue, 28 Nov 1995 14:46:00 -0500 Date: Tue, 28 Nov 1995 14:46:00 -0500 From: "Garrett A. Wollman" Message-Id: <9511281946.AA04068@halloran-eldar.lcs.mit.edu> To: current@freebsd.org Subject: Recent changes to `dump' Sender: owner-current@freebsd.org Precedence: bulk I noticed that my backups stopped working over Thanksgiving break. The cause turned out to be that the format of `dump''s informational messages has changed to add the qualifier `tape ' in front of references to `blocks'. Given the fact that almost everyone who does any sort of large-scale backups has written lots of wrapper scripts which attempt to parse the output of `dump', I think this format change is inadvisable, and I intend to reverse it unless someone speaks up with a good reason to keep the superfluous verbiage. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant From owner-freebsd-current Tue Nov 28 12:45:03 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA03819 for current-outgoing; Tue, 28 Nov 1995 12:45:03 -0800 Received: from hub.org (hub.org [199.166.238.138]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id MAA03784 for ; Tue, 28 Nov 1995 12:44:36 -0800 Received: (from scrappy@localhost) by hub.org (8.7.1/8.7.1) id PAA10135; Tue, 28 Nov 1995 15:44:27 -0500 (EST) Date: Tue, 28 Nov 1995 15:44:17 -0500 (EST) From: "Marc G. Fournier" To: current@freebsd.org Subject: groff 1.10 released...breaks man Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk Hi... I just installed groff 1.10 on my *-current machine (ya, I like the new and [seemingly-]better stuff, that why I'm using *-current *grin*) and it breaks man. To fix, I ended up having to go into /usr/src/gnu/usr.bin/man and modifying Makefile.inc so that it sets nroff is set to: nroff -Tascii -mandoc instead of nroff -Tascii -man Just as a suggestion for anyone else wanting to install the new groff, you may hit this problem, and want to modify/recompile man accordingly. Marc G. Fournier | POP Mail Telnet Acct DNS Hosting scrappy@hub.org | WWW Services Database Services | Knowledge, soon to be: | | Information and scrappy@ki.net | WWW: http://hub.org | Communications, Inc From owner-freebsd-current Tue Nov 28 12:55:14 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA04500 for current-outgoing; Tue, 28 Nov 1995 12:55:14 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id MAA04492 for ; Tue, 28 Nov 1995 12:54:54 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id VAA06594 for ; Tue, 28 Nov 1995 21:54:36 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id VAA26132 for freebsd-current@FreeBSD.org; Tue, 28 Nov 1995 21:54:36 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id VAA10868 for freebsd-current@FreeBSD.org; Tue, 28 Nov 1995 21:26:58 +0100 From: J Wunsch Message-Id: <199511282026.VAA10868@uriah.heep.sax.de> Subject: Re: schg flag on make world in -CURRENT To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Tue, 28 Nov 1995 21:26:57 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "-Vince-" at Nov 28, 95 01:54:28 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 783 Sender: owner-current@FreeBSD.org Precedence: bulk As -Vince- wrote: > > > That's only if you're using a higher "secure level". > I am using the default one but somehow it doesn't let me do a > finish the make world since it can't do chflags unless I ran noflags on > the directories on my own beforehand. Could it be due to the fact that I > am su-ing from a non-secure pty? No. Both are entirely unrelated. Something is totally hosed with your setup, but nobody except yourself will be able to find what it is exactly, and how to fix it. Did you ever consider re-installing your machine? You're most likely the only one in the whole world with this problem. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-current Tue Nov 28 13:42:51 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA08046 for current-outgoing; Tue, 28 Nov 1995 13:42:51 -0800 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id NAA08028 for ; Tue, 28 Nov 1995 13:42:42 -0800 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id OAA22135; Tue, 28 Nov 1995 14:37:34 -0700 From: Terry Lambert Message-Id: <199511282137.OAA22135@phaeton.artisoft.com> Subject: Re: schg flag on make world in -CURRENT To: joerg_wunsch@uriah.heep.sax.de Date: Tue, 28 Nov 1995 14:37:33 -0700 (MST) Cc: freebsd-current@FreeBSD.org In-Reply-To: <199511280747.IAA09395@uriah.heep.sax.de> from "J Wunsch" at Nov 28, 95 08:47:16 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 367 Sender: owner-current@FreeBSD.org Precedence: bulk > > 1) Your user name must be in group "wheel" (in the file /etc/group). > > > > 2) Your pty must be marked "secure". > > Sheesh. You don't need a "secure" pty in order to su(8) on it! No? You should. OK. "su" is broken. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-current Tue Nov 28 13:52:59 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA08734 for current-outgoing; Tue, 28 Nov 1995 13:52:59 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id NAA08707 for ; Tue, 28 Nov 1995 13:52:33 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id WAA08101 for ; Tue, 28 Nov 1995 22:52:17 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id WAA26716 for freebsd-current@FreeBSD.org; Tue, 28 Nov 1995 22:52:16 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id WAA11897 for freebsd-current@FreeBSD.org; Tue, 28 Nov 1995 22:38:43 +0100 From: J Wunsch Message-Id: <199511282138.WAA11897@uriah.heep.sax.de> Subject: Re: Theory Failed: screen vs keyboard lock-up To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Tue, 28 Nov 1995 22:38:42 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "Frank Durda IV" at Nov 28, 95 10:16:00 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 626 Sender: owner-current@FreeBSD.org Precedence: bulk As Frank Durda IV wrote: > > Uh, then why did the originator say this in the mail I responded to: > > [1]that it always happens when I switch screens during disk activity. > ********************************************************** Perhaps i'm confusing it. Yes, ok, the "set LEDs" hang is a very well-known problem. It's primarily caused by abusing the keyboard serial line (which has been uni-directional originally) as a bi- directional line. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-current Tue Nov 28 14:46:22 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA13031 for current-outgoing; Tue, 28 Nov 1995 14:46:22 -0800 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA13024 for ; Tue, 28 Nov 1995 14:46:15 -0800 Received: (from julian@localhost) by ref.tfs.com (8.6.12/8.6.9) id OAA24433; Tue, 28 Nov 1995 14:45:24 -0800 From: Julian Elischer Message-Id: <199511282245.OAA24433@ref.tfs.com> Subject: Re: Recent changes to `dump' To: wollman@lcs.mit.edu (Garrett A. Wollman) Date: Tue, 28 Nov 1995 14:45:24 -0800 (PST) Cc: current@freebsd.org In-Reply-To: <9511281946.AA04068@halloran-eldar.lcs.mit.edu> from "Garrett A. Wollman" at Nov 28, 95 02:46:00 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1038 Sender: owner-current@freebsd.org Precedence: bulk I understand your point, but I also see why it changed.. I often wonder "Is that DISK blocks or Tape Blocks?" (I don't use Dump that often) > > I noticed that my backups stopped working over Thanksgiving break. > The cause turned out to be that the format of `dump''s informational > messages has changed to add the qualifier `tape ' in front of > references to `blocks'. Given the fact that almost everyone who does > any sort of large-scale backups has written lots of wrapper scripts > which attempt to parse the output of `dump', I think this format > change is inadvisable, and I intend to reverse it unless someone > speaks up with a good reason to keep the superfluous verbiage. > > -GAWollman > > -- > Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... > wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. > Opinions not those of| It is a bond more powerful than absence. We like people > MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant > From owner-freebsd-current Tue Nov 28 15:21:19 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA15420 for current-outgoing; Tue, 28 Nov 1995 15:21:19 -0800 Received: from hub.org (hub.org [199.166.238.138]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id PAA15412 for ; Tue, 28 Nov 1995 15:21:11 -0800 Received: (from scrappy@localhost) by hub.org (8.7.1/8.7.1) id SAA15903; Tue, 28 Nov 1995 18:17:34 -0500 (EST) Date: Tue, 28 Nov 1995 18:17:26 -0500 (EST) From: "Marc G. Fournier" To: Terry Lambert cc: joerg_wunsch@uriah.heep.sax.de, freebsd-current@FreeBSD.ORG Subject: Re: schg flag on make world in -CURRENT In-Reply-To: <199511282137.OAA22135@phaeton.artisoft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.ORG Precedence: bulk On Tue, 28 Nov 1995, Terry Lambert wrote: > > > 1) Your user name must be in group "wheel" (in the file /etc/group). > > > > > > 2) Your pty must be marked "secure". > > > > Sheesh. You don't need a "secure" pty in order to su(8) on it! > > No? > > You should. OK. "su" is broken. > It is? Then it must be broken on almost any implementation of Unix I've ever looked at: BSDi, FreeBSD, SunOS, Solaris, AIX, SysV On all the machines that I setup, console is considered to be "unsecure", even as far down as single-user mode reboot. It doesn't add much, but it forces someone to first know which accounts are in group wheel (not hard if you already have an account on the system) and then hack into one of hte account in gorup wheel, and then hack into root itself. Now, what would be broken is if su didn't log failed attempts to get into root, and from which account tried to su... Marc G. Fournier | POP Mail Telnet Acct DNS Hosting scrappy@hub.org | WWW Services Database Services | Knowledge, soon to be: | | Information and scrappy@ki.net | WWW: http://hub.org | Communications, Inc From owner-freebsd-current Tue Nov 28 15:38:01 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA16835 for current-outgoing; Tue, 28 Nov 1995 15:38:01 -0800 Received: from apollo.COSC.GOV (root@apollo.COSC.GOV [198.94.103.34]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id PAA16827 for ; Tue, 28 Nov 1995 15:37:55 -0800 Received: (from death@localhost) by apollo.COSC.GOV (8.6.12/8.6.9) id PAA14029; Tue, 28 Nov 1995 15:34:54 -0800 From: Yog Sothoth Message-Id: <199511282334.PAA14029@apollo.COSC.GOV> Subject: Re: select() and setrlimit() broken (fwd) To: vince@apollo.COSC.GOV (-Vince-) Date: Tue, 28 Nov 1995 15:34:54 -0800 (PST) Cc: freebsd-current@freebsd.org In-Reply-To: from "-Vince-" at Nov 28, 95 01:55:51 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 2186 Sender: owner-current@freebsd.org Precedence: bulk > > Can you reply to this message to the FreeBSD-current list as well and > tell them what the suspected misbehavior was? Thanks! > > Cheers, > -Vince- vince@COSC.GOV - GUS Mailing Lists Admin - http://www.COSC.GOV/~vince > UC Berkeley AstroPhysics - Electrical Engineering (Honorary B.S.) > Chabot Observatory & Science Center - Board of Advisors > Running FreeBSD - Real UN*X for Free! > Linda Wong/Vivian Chow/Hacken Lee/Danny Chan/Priscilla Chan Fan Club > Mailing Lists Admin > > > ---------- Forwarded message ---------- > Date: Tue, 28 Nov 1995 09:01:59 +0100 (MET) > From: J Wunsch > To: FreeBSD-current users > Subject: Re: select() and setrlimit() broken > > As -Vince- wrote: > > > > > > Does anyone know if select() and setrlimit() is broken in -CURRENT since > > they don't behave the way they should as compared to every other UN*X > > variant. Any info would be helpful. Thanks! > > They are not. The entire system wouldn't work if they were. > > You forgot to tell us your suspected misbehaviour, btw. On SunOS 4.1.3, solaris, linux, ultrix, irix, ... my chatline program stayed at the line where select() was when nobody was logged on or when nobody was typing. It's acts in char mode telnet. On freebsd-current, it doesn't stay at select() when nobody is logged on or when nobody is typing. select line is something like select((fd_set *)readfds, (fd_set *)0, (fd_set *)0, (time_t *)0); the file descriptors for each socket is set for i/o non-blocking with fcntl() ... (can't remember the exact syntax offhand .. I'm on the fly right now) (it's something like that ... I don't do unix C programming any longer .. I'm quoting from memory ... I was forwarded this letter from somebody using my chatline code). btw, my chatline program worked "properly" on FreeBSD 2.0.5, 2.0 and previous versions 1.5.1.1 (or whatever version that novell doesn't want anybody using). Gord J.C. > > -- > cheers, J"org > > joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE > Never trust an operating system you don't have sources for. ;-) > > From owner-freebsd-current Tue Nov 28 15:42:42 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA17194 for current-outgoing; Tue, 28 Nov 1995 15:42:42 -0800 Received: from rocky.sri.MT.net (rocky.sri.MT.net [204.182.243.10]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id PAA17182 for ; Tue, 28 Nov 1995 15:42:28 -0800 Received: (from nate@localhost) by rocky.sri.MT.net (8.6.12/8.6.12) id QAA18335; Tue, 28 Nov 1995 16:44:07 -0700 Date: Tue, 28 Nov 1995 16:44:07 -0700 From: Nate Williams Message-Id: <199511282344.QAA18335@rocky.sri.MT.net> To: Terry Lambert Cc: joerg_wunsch@uriah.heep.sax.de, freebsd-current@FreeBSD.org Subject: Re: schg flag on make world in -CURRENT In-Reply-To: <199511282137.OAA22135@phaeton.artisoft.com> References: <199511280747.IAA09395@uriah.heep.sax.de> <199511282137.OAA22135@phaeton.artisoft.com> Sender: owner-current@FreeBSD.org Precedence: bulk Terry Lambert writes: > > > 1) Your user name must be in group "wheel" (in the file /etc/group). > > > > > > 2) Your pty must be marked "secure". > > > > Sheesh. You don't need a "secure" pty in order to su(8) on it! > > No? > > You should. OK. "su" is broken. WHAT?!? Terry, you're losing it. Do you understand what the 'secure' flag means? It means that root is allowed to directly login via that tty/pty. So, if you have folks who need to come in remotely in your scheme, you need to make *ALL* of your connections secure, which opens up a huge can of worms. The current behavior is a mix of usefulness plus security. The cracker needs to break into an account which is in the 'wheel' group, and then they need to crack the root passwd w/out raising suspicions in the logfiles while every failed attempt to 'su' to root is logged to the screen, the logfile, and any user already su'd to root on the box. "su" is most definitely not broken. If you want more security, you'll need to verify remote users better, not modify "su". Nate From owner-freebsd-current Tue Nov 28 16:38:12 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA22933 for current-outgoing; Tue, 28 Nov 1995 16:38:12 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.222.226]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id QAA22925 for ; Tue, 28 Nov 1995 16:38:09 -0800 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id QAA02751; Tue, 28 Nov 1995 16:36:12 -0800 To: Terry Lambert cc: joerg_wunsch@uriah.heep.sax.de, freebsd-current@FreeBSD.org Subject: Re: schg flag on make world in -CURRENT In-reply-to: Your message of "Tue, 28 Nov 1995 14:37:33 MST." <199511282137.OAA22135@phaeton.artisoft.com> Date: Tue, 28 Nov 1995 16:36:12 -0800 Message-ID: <2748.817605372@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-current@FreeBSD.org Precedence: bulk Yeah, and you don't need a note from your mother either. I would therefore like to join Terry in demanding that su be disabled until the requisite scanner support (with authentication) be added directly into the kernel. Jordan > > > 1) Your user name must be in group "wheel" (in the file /etc/group ). > > > > > > 2) Your pty must be marked "secure". > > > > Sheesh. You don't need a "secure" pty in order to su(8) on it! > > No? > > You should. OK. "su" is broken. > > > Terry Lambert > terry@lambert.org > --- > Any opinions in this posting are my own and not those of my present > or previous employers. From owner-freebsd-current Tue Nov 28 17:31:11 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA27623 for current-outgoing; Tue, 28 Nov 1995 17:31:11 -0800 Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id RAA27615 for ; Tue, 28 Nov 1995 17:31:02 -0800 Received: from corbin.Root.COM (corbin [198.145.90.50]) by Root.COM (8.6.12/8.6.5) with ESMTP id RAA13422; Tue, 28 Nov 1995 17:31:06 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.12/8.6.5) with SMTP id RAA00349; Tue, 28 Nov 1995 17:30:49 -0800 Message-Id: <199511290130.RAA00349@corbin.Root.COM> To: "Jordan K. Hubbard" cc: freebsd-current@freebsd.org Subject: Re: schg flag on make world in -CURRENT In-reply-to: Your message of "Tue, 28 Nov 95 16:36:12 PST." <2748.817605372@time.cdrom.com> From: David Greenman Reply-To: davidg@Root.COM Date: Tue, 28 Nov 1995 17:30:48 -0800 Sender: owner-current@freebsd.org Precedence: bulk >Yeah, and you don't need a note from your mother either. I would >therefore like to join Terry in demanding that su be disabled until >the requisite scanner support (with authentication) be added directly >into the kernel. ...and not just any scanner, either. Only the most sophisticated retinal scanner will do. -DG From owner-freebsd-current Tue Nov 28 17:43:17 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA28465 for current-outgoing; Tue, 28 Nov 1995 17:43:17 -0800 Received: from cicerone.uunet.ca (cicerone.uunet.ca [142.77.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id RAA28451 for ; Tue, 28 Nov 1995 17:43:08 -0800 Received: from why ([142.77.242.18]) by cicerone.uunet.ca with SMTP id <212133-3>; Tue, 28 Nov 1995 20:43:09 -0500 Date: Tue, 28 Nov 1995 20:43:57 -0500 From: Andrew Herdman X-Sender: andrew@why To: "Marc G. Fournier" cc: current@FreeBSD.org Subject: Re: groff 1.10 released...breaks man In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.org Precedence: bulk On Tue, 28 Nov 1995, Marc G. Fournier wrote: > > Hi... > > I just installed groff 1.10 on my *-current machine (ya, I like > the new and [seemingly-]better stuff, that why I'm using *-current *grin*) > and it breaks man. > > To fix, I ended up having to go into /usr/src/gnu/usr.bin/man > and modifying Makefile.inc so that it sets nroff is set to: > > nroff -Tascii -mandoc > > instead of > > nroff -Tascii -man > > Just as a suggestion for anyone else wanting to install > the new groff, you may hit this problem, and want to modify/recompile > man accordingly. wouldn't copying /usr/share/tmac/tmac.andoc to /usr/share/tmac/tmac.an fix the problem as well? Andrew From owner-freebsd-current Tue Nov 28 18:17:25 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA00442 for current-outgoing; Tue, 28 Nov 1995 18:17:25 -0800 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id SAA00435 for ; Tue, 28 Nov 1995 18:17:18 -0800 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id TAA26584; Tue, 28 Nov 1995 19:10:38 -0700 From: Terry Lambert Message-Id: <199511290210.TAA26584@phaeton.artisoft.com> Subject: Re: schg flag on make world in -CURRENT To: nate@rocky.sri.MT.net (Nate Williams) Date: Tue, 28 Nov 1995 19:10:38 -0700 (MST) Cc: terry@lambert.org, joerg_wunsch@uriah.heep.sax.de, freebsd-current@FreeBSD.org In-Reply-To: <199511282344.QAA18335@rocky.sri.MT.net> from "Nate Williams" at Nov 28, 95 04:44:07 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1584 Sender: owner-current@FreeBSD.org Precedence: bulk > WHAT?!? Terry, you're losing it. > > Do you understand what the 'secure' flag means? It means that root is > allowed to directly login via that tty/pty. So, if you have folks who > need to come in remotely in your scheme, you need to make *ALL* of your > connections secure, which opens up a huge can of worms. Only if they need to su to root after they come in. What normal user comes in from outside the firewall and su's anyway? It's silly to type a root password over an insecure line. That's the point of not allowing it. Even if the potential cracker types it right, he types it wrong. > The current behavior is a mix of usefulness plus security. The cracker > needs to break into an account which is in the 'wheel' group, and then > they need to crack the root passwd w/out raising suspicions in the > logfiles while every failed attempt to 'su' to root is logged to the > screen, the logfile, and any user already su'd to root on the box. Logfiles go away after your cracker in, as do the console contents. And since you can tell other users su'ed onto the machine (as well as anyone else syslog feels free to bitch at) without arousing suspicions. All your cracker has to do is watch the wire traffic to get your root password, and use it, if you allow it to be used over the wire in the first place. Setting pty's secure is a silly thing to do in any situation unless, as is allowing user's to su from unsecure lines. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-current Tue Nov 28 18:18:21 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA00516 for current-outgoing; Tue, 28 Nov 1995 18:18:21 -0800 Received: from hub.org (hub.org [199.166.238.138]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id SAA00507 for ; Tue, 28 Nov 1995 18:18:12 -0800 Received: (from scrappy@localhost) by hub.org (8.7.1/8.7.1) id VAA17371; Tue, 28 Nov 1995 21:17:59 -0500 (EST) Date: Tue, 28 Nov 1995 21:17:52 -0500 (EST) From: "Marc G. Fournier" To: Andrew Herdman cc: current@FreeBSD.org Subject: Re: groff 1.10 released...breaks man In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.org Precedence: bulk On Tue, 28 Nov 1995, Andrew Herdman wrote: > On Tue, 28 Nov 1995, Marc G. Fournier wrote: > > > > > Hi... > > > > I just installed groff 1.10 on my *-current machine (ya, I like > > the new and [seemingly-]better stuff, that why I'm using *-current *grin*) > > and it breaks man. > > > > To fix, I ended up having to go into /usr/src/gnu/usr.bin/man > > and modifying Makefile.inc so that it sets nroff is set to: > > > > nroff -Tascii -mandoc > > > > instead of > > > > nroff -Tascii -man > > > > Just as a suggestion for anyone else wanting to install > > the new groff, you may hit this problem, and want to modify/recompile > > man accordingly. > > wouldn't copying /usr/share/tmac/tmac.andoc to /usr/share/tmac/tmac.an fix > the problem as well? > Now this doesn't make sense...the files, on my machine, are identical, but the results of using -mandoc and -man are different So...I don't know why -man doesn't work and -mandoc does... Marc G. Fournier | POP Mail Telnet Acct DNS Hosting scrappy@hub.org | WWW Services Database Services | Knowledge, soon to be: | | Information and scrappy@ki.net | WWW: http://hub.org | Communications, Inc From owner-freebsd-current Tue Nov 28 18:26:22 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA00980 for current-outgoing; Tue, 28 Nov 1995 18:26:22 -0800 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id SAA00973 for ; Tue, 28 Nov 1995 18:26:15 -0800 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id TAA26615; Tue, 28 Nov 1995 19:20:50 -0700 From: Terry Lambert Message-Id: <199511290220.TAA26615@phaeton.artisoft.com> Subject: Re: schg flag on make world in -CURRENT To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Tue, 28 Nov 1995 19:20:50 -0700 (MST) Cc: terry@lambert.org, joerg_wunsch@uriah.heep.sax.de, freebsd-current@FreeBSD.org In-Reply-To: <2748.817605372@time.cdrom.com> from "Jordan K. Hubbard" at Nov 28, 95 04:36:12 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1348 Sender: owner-current@FreeBSD.org Precedence: bulk > Yeah, and you don't need a note from your mother either. I would > therefore like to join Terry in demanding that su be disabled until > the requisite scanner support (with authentication) be added directly > into the kernel. Now you are being silly. The reason that the lines aren't secure by default is that you don't want to have the root password working while a line snooper is catching the packets with it in it. Like a line snooper can't catch the packets with the original login, then watch for an "su" to work and catch those packets as well because the line isn't marked "secure". You aren't effectively increasing the security against line snooping by not marking the things secure. If the only protection is against brute-forcing root over the net, then it's no protection at all. This attack is already guarded against by the login attempt timer, attempt count disconnect, and probability function based on the password domain. Speaking of the password domain, don't you crackers just love the way those anal password programs reduce the domain so that when you go cracking, you can limit your search domain? Really helps reduce the effort you need to expend when trying to crack... Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-current Tue Nov 28 19:01:09 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id TAA03267 for current-outgoing; Tue, 28 Nov 1995 19:01:09 -0800 Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.20.4]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id TAA03258 for ; Tue, 28 Nov 1995 19:01:04 -0800 Received: (from jgreco@localhost) by brasil.moneng.mei.com (8.7.Beta.1/8.7.Beta.1) id UAA13600; Tue, 28 Nov 1995 20:47:56 -0600 From: Joe Greco Message-Id: <199511290247.UAA13600@brasil.moneng.mei.com> Subject: Re: schg flag on make world in -CURRENT To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Tue, 28 Nov 1995 20:47:56 -0600 (CST) Cc: terry@lambert.org, joerg_wunsch@uriah.heep.sax.de, freebsd-current@FreeBSD.ORG In-Reply-To: <2748.817605372@time.cdrom.com> from "Jordan K. Hubbard" at Nov 28, 95 04:36:12 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-current@FreeBSD.ORG Precedence: bulk > Yeah, and you don't need a note from your mother either. I would > therefore like to join Terry in demanding that su be disabled until > the requisite scanner support (with authentication) be added directly > into the kernel. > > > > > 1) Your user name must be in group "wheel" (in the file /etc/group > ). > > > > > > > > 2) Your pty must be marked "secure". > > > > > > Sheesh. You don't need a "secure" pty in order to su(8) on it! > > > > No? > > > > You should. OK. "su" is broken. Very funny Jordan. Terry, I don't think su is broken. Think about su in an environment where you: (1) are in an xterm (2) telnetted in via encrypted telnet (3) etc. Wheel users should be intelligent enough to decide on their own if their channel is sufficiently secure. Forcing people to mark their pty's as "secure" would be making the system less secure. ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/342-4847 From owner-freebsd-current Tue Nov 28 20:36:52 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id UAA08296 for current-outgoing; Tue, 28 Nov 1995 20:36:52 -0800 Received: from hub.org (hub.org [199.166.238.138]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id UAA08284 for ; Tue, 28 Nov 1995 20:36:38 -0800 Received: (from scrappy@localhost) by hub.org (8.7.1/8.7.1) id XAA18969; Tue, 28 Nov 1995 23:35:59 -0500 (EST) Date: Tue, 28 Nov 1995 23:35:49 -0500 (EST) From: "Marc G. Fournier" To: "Jordan K. Hubbard" cc: Terry Lambert , joerg_wunsch@uriah.heep.sax.de, freebsd-current@FreeBSD.org Subject: Re: schg flag on make world in -CURRENT In-Reply-To: <2748.817605372@time.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.org Precedence: bulk On Tue, 28 Nov 1995, Jordan K. Hubbard wrote: > Yeah, and you don't need a note from your mother either. I would > therefore like to join Terry in demanding that su be disabled until > the requisite scanner support (with authentication) be added directly > into the kernel. > Joke, right? Please? Marc G. Fournier | POP Mail Telnet Acct DNS Hosting scrappy@hub.org | WWW Services Database Services | Knowledge, soon to be: | | Information and scrappy@ki.net | WWW: http://hub.org | Communications, Inc From owner-freebsd-current Tue Nov 28 21:15:39 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA10789 for current-outgoing; Tue, 28 Nov 1995 21:15:39 -0800 Received: from rocky.sri.MT.net (rocky.sri.MT.net [204.182.243.10]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id VAA10775 for ; Tue, 28 Nov 1995 21:15:29 -0800 Received: (from nate@localhost) by rocky.sri.MT.net (8.6.12/8.6.12) id WAA19065; Tue, 28 Nov 1995 22:17:45 -0700 Date: Tue, 28 Nov 1995 22:17:45 -0700 From: Nate Williams Message-Id: <199511290517.WAA19065@rocky.sri.MT.net> To: Terry Lambert Cc: nate@rocky.sri.MT.net (Nate Williams), freebsd-current@FreeBSD.org Subject: Re: schg flag on make world in -CURRENT In-Reply-To: <199511290210.TAA26584@phaeton.artisoft.com> References: <199511282344.QAA18335@rocky.sri.MT.net> <199511290210.TAA26584@phaeton.artisoft.com> Sender: owner-current@FreeBSD.org Precedence: bulk Terry Lambert writes: > > WHAT?!? Terry, you're losing it. > > > > Do you understand what the 'secure' flag means? It means that root is > > allowed to directly login via that tty/pty. So, if you have folks who > > need to come in remotely in your scheme, you need to make *ALL* of your > > connections secure, which opens up a huge can of worms. > > Only if they need to su to root after they come in. What normal user > comes in from outside the firewall and su's anyway? All of the folks who do root work on freefall, and David's work on wcarchive. > It's silly to type a root password over an insecure line. That's the > point of not allowing it. Even if the potential cracker types it > right, he types it wrong. 1) If you are that worried about breakin's, use secure telnet or something like that. > > The current behavior is a mix of usefulness plus security. The cracker > > needs to break into an account which is in the 'wheel' group, and then > > they need to crack the root passwd w/out raising suspicions in the > > logfiles while every failed attempt to 'su' to root is logged to the > > screen, the logfile, and any user already su'd to root on the box. > > Logfiles go away after your cracker in, as do the console contents. And > since you can tell other users su'ed onto the machine (as well as anyone > else syslog feels free to bitch at) without arousing suspicions. We might as well give up then, huh? > All your cracker has to do is watch the wire traffic to get your root > password, and use it, if you allow it to be used over the wire in the > first place. If you've got a snooper on the wire, you've got big problems, the least of which is him getting root access. If that is your concern, use a more secure method of communication to the remote system (ssh, etc..) > Setting pty's secure is a silly thing to do in any situation unless, as > is allowing user's to su from unsecure lines. You can 'su' on insecure lines. You can't directly login as root on insecure lines. Nate From owner-freebsd-current Wed Nov 29 00:05:21 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA19184 for current-outgoing; Wed, 29 Nov 1995 00:05:21 -0800 Received: from utrhcs.cs.utwente.nl (utrhcs.cs.utwente.nl [130.89.10.247]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id AAA19176 for ; Wed, 29 Nov 1995 00:05:17 -0800 Received: from myrtilos.cs.utwente.nl by utrhcs.cs.utwente.nl (SMI-8.6/csrelayMX-SVR4_1.1tmp/RB) id JAA07822; Wed, 29 Nov 1995 09:03:57 +0100 Received: from curie.cs.utwente.nl by myrtilos.cs.utwente.nl (SMI-8.6/csrelay-Sol1.4/RB) id JAA02317; Wed, 29 Nov 1995 09:03:52 +0100 Received: from localhost by curie.cs.utwente.nl (SMI-8.6/SMI-SVR4) id JAA13736; Wed, 29 Nov 1995 09:03:51 +0100 To: current@FreeBSD.org Subject: Re: Theory Failed: screen vs keyboard lock-up In-reply-to: Date: Wed, 29 Nov 1995 09:03:50 +0100 Message-ID: <13735.817632230@curie.cs.utwente.nl> From: Andras Olah Sender: owner-current@FreeBSD.org Precedence: bulk On Tue, 28 Nov 1995 10:16:00 +0700, Frank Durda IV wrote: > ... > [1]it still happens every now and then. The only thing I noticed is > [1]that it always happens when I switch screens during disk activity. > ********************************************************** I just realized that I was confusing here. The above was meant to be: `When it happens, there's always disk activity.' But not the other way around. So I can probably switch back and forth between screens several times while my disk is active without a lockup. I was told back in the 1.1 days that it's related to LEDs, therefore none of my LEDs are ever on. The lockup still happens... Andras From owner-freebsd-current Wed Nov 29 00:10:22 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA19501 for current-outgoing; Wed, 29 Nov 1995 00:10:22 -0800 Received: from apollo.COSC.GOV (root@apollo.COSC.GOV [198.94.103.34]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id AAA19496 for ; Wed, 29 Nov 1995 00:10:19 -0800 Received: (from vince@localhost) by apollo.COSC.GOV (8.6.12/8.6.9) id AAA22088; Wed, 29 Nov 1995 00:03:42 -0800 Date: Wed, 29 Nov 1995 00:03:41 -0800 (PST) From: -Vince- To: Joerg Wunsch cc: FreeBSD-current users , Yog Sothoth Subject: Re: select() and setrlimit() broken In-Reply-To: <199511280801.JAA09627@uriah.heep.sax.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.org Precedence: bulk On Tue, 28 Nov 1995, J Wunsch wrote: > As -Vince- wrote: > > > > > > Does anyone know if select() and setrlimit() is broken in -CURRENT since > > they don't behave the way they should as compared to every other UN*X > > variant. Any info would be helpful. Thanks! > > They are not. The entire system wouldn't work if they were. > > You forgot to tell us your suspected misbehaviour, btw. According to the author of the Schrodinger chat program... On SunOS 4.1.3, solaris, linux, ultrix, irix, ... my chatline program stayed at the line where select() was when nobody was logged on or when nobody was typing. It's acts in char mode telnet. On freebsd-current, it doesn't stay at select() when nobody is logged on or when nobody is typing. select line is something like select((fd_set *)readfds, (fd_set *)0, (fd_set *)0, (time_t *)0); the file descriptors for each socket is set for i/o non-blocking with fcntl() ... (can't remember the exact syntax offhand .. I'm on the fly right now) (it's something like that ... I don't do unix C programming any longer .. I'm quoting from memory ... I was forwarded this letter from somebody using my chatline code). btw, my chatline program worked "properly" on FreeBSD 2.0.5, 2.0 and previous versions 1.5.1.1 (or whatever version that novell doesn't want anybody using). Gord J.C. Cheers, -Vince- vince@COSC.GOV - GUS Mailing Lists Admin - http://www.COSC.GOV/~vince UC Berkeley AstroPhysics - Electrical Engineering (Honorary B.S.) Chabot Observatory & Science Center - Board of Advisors Running FreeBSD - Real UN*X for Free! Linda Wong/Vivian Chow/Hacken Lee/Danny Chan/Priscilla Chan Fan Club Mailing Lists Admin From owner-freebsd-current Wed Nov 29 00:16:11 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA19912 for current-outgoing; Wed, 29 Nov 1995 00:16:11 -0800 Received: from apollo.COSC.GOV (root@apollo.COSC.GOV [198.94.103.34]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id AAA19907 for ; Wed, 29 Nov 1995 00:16:09 -0800 Received: (from vince@localhost) by apollo.COSC.GOV (8.6.12/8.6.9) id AAA22106; Wed, 29 Nov 1995 00:05:08 -0800 Date: Wed, 29 Nov 1995 00:05:07 -0800 (PST) From: -Vince- To: Stefan Esser cc: current@freebsd.org, Yog Sothoth Subject: Re: select() and setrlimit() broken In-Reply-To: <199511281041.AA15437@Sysiphos> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk On Tue, 28 Nov 1995, Stefan Esser wrote: > On Nov 27, 16:13, -Vince- wrote: > } Subject: select() and setrlimit() broken > } > } Does anyone know if select() and setrlimit() is broken in -CURRENT since > } they don't behave the way they should as compared to every other UN*X > } variant. Any info would be helpful. Thanks! > > Did you make sure you used the correct types for setrlimit ? > > > int setrlimit(int resource, struct rlimit *rlp); > > struct rlimit { > quad_t rlim_cur; /* current (soft) limit */ > quad_t rlim_max; /* hard limit */ > }; > > > The two fields of this struct are unsigned long on most other systems ... Not sure but here is what the author of the program said: On SunOS 4.1.3, solaris, linux, ultrix, irix, ... my chatline program stayed at the line where select() was when nobody was logged on or when nobody was typing. It's acts in char mode telnet. On freebsd-current, it doesn't stay at select() when nobody is logged on or when nobody is typing. select line is something like select((fd_set *)readfds, (fd_set *)0, (fd_set *)0, (time_t *)0); the file descriptors for each socket is set for i/o non-blocking with fcntl() ... (can't remember the exact syntax offhand .. I'm on the fly right now) (it's something like that ... I don't do unix C programming any longer .. I'm quoting from memory ... I was forwarded this letter from somebody using my chatline code). btw, my chatline program worked "properly" on FreeBSD 2.0.5, 2.0 and previous versions 1.5.1.1 (or whatever version that novell doesn't want anybody using). Gord J.C. Cheers, -Vince- vince@COSC.GOV - GUS Mailing Lists Admin - http://www.COSC.GOV/~vince UC Berkeley AstroPhysics - Electrical Engineering (Honorary B.S.) Chabot Observatory & Science Center - Board of Advisors Running FreeBSD - Real UN*X for Free! Linda Wong/Vivian Chow/Hacken Lee/Danny Chan/Priscilla Chan Fan Club Mailing Lists Admin From owner-freebsd-current Wed Nov 29 00:57:27 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA22303 for current-outgoing; Wed, 29 Nov 1995 00:57:27 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id AAA22285 for ; Wed, 29 Nov 1995 00:57:06 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id JAA10592; Wed, 29 Nov 1995 09:56:08 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id JAA02678; Wed, 29 Nov 1995 09:56:08 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id JAA14211; Wed, 29 Nov 1995 09:07:03 +0100 From: J Wunsch Message-Id: <199511290807.JAA14211@uriah.heep.sax.de> Subject: Re: select() and setrlimit() broken (fwd) To: death@apollo.COSC.GOV (Yog Sothoth) Date: Wed, 29 Nov 1995 09:07:03 +0100 (MET) Cc: freebsd-current@freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199511282334.PAA14029@apollo.COSC.GOV> from "Yog Sothoth" at Nov 28, 95 03:34:54 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 733 Sender: owner-current@freebsd.org Precedence: bulk As Yog Sothoth wrote: > > btw, my chatline program worked "properly" on FreeBSD 2.0.5, 2.0 > and previous versions 1.5.1.1 (or whatever version that novell > doesn't want anybody using). I've just verified: the file sys/kern/sys_generic.c (that contains select(2)) hasn't changed between 2.0.5 and 2.1. select() ends up in a call to tsleep(). In your case (no timeout requested), tsleep() is being passed a timo value of 0, which prevents it from installing a timeout (so it's just doing a sleep). Again: i cannot see anything changed between 2.0.5 and 2.1 here. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-current Wed Nov 29 01:01:55 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA22691 for current-outgoing; Wed, 29 Nov 1995 01:01:55 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id AAA22351 for ; Wed, 29 Nov 1995 00:58:40 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id JAA10569; Wed, 29 Nov 1995 09:56:01 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id JAA02672; Wed, 29 Nov 1995 09:56:01 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id IAA14116; Wed, 29 Nov 1995 08:44:01 +0100 From: J Wunsch Message-Id: <199511290744.IAA14116@uriah.heep.sax.de> Subject: Re: Recent changes to `dump' To: wollman@lcs.mit.edu (Garrett A. Wollman) Date: Wed, 29 Nov 1995 08:44:01 +0100 (MET) Cc: current@FreeBSD.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <9511281946.AA04068@halloran-eldar.lcs.mit.edu> from "Garrett A. Wollman" at Nov 28, 95 02:46:00 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 2834 Sender: owner-current@FreeBSD.org Precedence: bulk As Garrett A. Wollman wrote: > > I noticed that my backups stopped working over Thanksgiving break. > The cause turned out to be that the format of `dump''s informational > messages has changed to add the qualifier `tape ' in front of > references to `blocks'. Given the fact that almost everyone who does > any sort of large-scale backups has written lots of wrapper scripts > which attempt to parse the output of `dump', I think this format > change is inadvisable, and I intend to reverse it unless someone > speaks up with a good reason to keep the superfluous verbiage. It has not added a qualifier. Here's the diff: Index: main.c =================================================================== RCS file: /home/cvs/src/sbin/dump/main.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- main.c 1995/10/24 13:46:35 1.4 +++ main.c 1995/11/18 18:00:42 1.5 @@ -440,14 +448,24 @@ (void)dumpino(dp, ino); } + (void)time((time_t *)&(tend_writing)); spcl.c_type = TS_END; for (i = 0; i < ntrec; i++) writeheader(maxino - 1); if (pipeout) - msg("DUMP: %ld tape blocks\n",spcl.c_tapea); + msg("%ld tape blocks\n", spcl.c_tapea); else - msg("DUMP: %ld tape blocks on %d volumes(s)\n", + msg("%ld tape blocks on %d volumes(s)\n", spcl.c_tapea, spcl.c_volume); + + /* report dump performance, avoid division through zero */ + if (tend_writing - tstart_writing == 0) + msg("finished in less than a second\n"); + else + msg("finished in %d seconds, throughput %d KBytes/sec\n", + tend_writing - tstart_writing, + spcl.c_tapea / (tend_writing - tstart_writing)); + putdumptime(); trewind(); broadcast("DUMP IS DONE!\7\7\n"); It has added a new message (which does neither contain the words `tape' or `blocks'), and i've removed a superfluous `DUMP:' in front of the `tape blocks' line. The output was previously looking like: ... DUMP: estimated 4835 tape blocks on 0.12 tape(s). DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: DUMP: 4827 tape blocks on 1 volumes(s) ... ...and now looks like: ... DUMP: estimated 4835 tape blocks on 0.12 tape(s). DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: 4827 tape blocks on 1 volumes(s) DUMP: finished in 10 seconds, throughput 482 KBytes/sec ... If you really think that omitting the additional (and apparently accidental) ``DUMP:'' does confuse the world, so remove _just this_, instead of shooting around and removing everything from this patch. Remember, there was a general consensus to _include_ the `throughput' line. What does amanda say to the new dump? -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-current Wed Nov 29 01:04:03 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA22865 for current-outgoing; Wed, 29 Nov 1995 01:04:03 -0800 Received: from apollo.COSC.GOV (root@apollo.COSC.GOV [198.94.103.34]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id BAA22851 for ; Wed, 29 Nov 1995 01:03:59 -0800 Received: (from vince@localhost) by apollo.COSC.GOV (8.6.12/8.6.9) id AAA23533; Wed, 29 Nov 1995 00:59:40 -0800 Date: Wed, 29 Nov 1995 00:59:40 -0800 (PST) From: -Vince- To: "Garrett A. Wollman" cc: current@FreeBSD.ORG Subject: Re: schg flag on make world in -CURRENT In-Reply-To: <9511281621.AA03613@halloran-eldar.lcs.mit.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.ORG Precedence: bulk On Tue, 28 Nov 1995, Garrett A. Wollman wrote: > < said: > > > Hi everyone, > > Is there anyway to remotely login to a FreeBSD box and 'su' to root > > to do a make world without having to do noflags schg on all the files > > with that flag on it generated by the last make world in -CURRENT? Thanks! > > Yes. Don't run your system in secure mode. This is only about the > fourth time I've told you this. > > Look at /sys/kern/kern_sysctl.c for the definition of `securelevel'. > Make sure it's -1. Hmmm, thanks! Does a make install after rebuilding a kernel have anything to do with it since it installs the new kernel with schg with the install program. I just looked at /sys/kern/kern_sysctl.c and this is what it says: int securelevel = -1; > Now look at everything in /etc and make sure that nothing attempts to > increase it. I already did that but didn't find anything. Cheers, -Vince- vince@COSC.GOV - GUS Mailing Lists Admin - http://www.COSC.GOV/~vince UC Berkeley AstroPhysics - Electrical Engineering (Honorary B.S.) Chabot Observatory & Science Center - Board of Advisors Running FreeBSD - Real UN*X for Free! Linda Wong/Vivian Chow/Hacken Lee/Danny Chan/Priscilla Chan Fan Club Mailing Lists Admin From owner-freebsd-current Wed Nov 29 01:06:26 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA23132 for current-outgoing; Wed, 29 Nov 1995 01:06:26 -0800 Received: from apollo.COSC.GOV (root@apollo.COSC.GOV [198.94.103.34]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id BAA23125 for ; Wed, 29 Nov 1995 01:06:20 -0800 Received: (from vince@localhost) by apollo.COSC.GOV (8.6.12/8.6.9) id BAA23559; Wed, 29 Nov 1995 01:02:01 -0800 Date: Wed, 29 Nov 1995 01:02:00 -0800 (PST) From: -Vince- To: "Jordan K. Hubbard" cc: Joerg Wunsch , FreeBSD-current users Subject: Re: select() and setrlimit() broken In-Reply-To: <1124.817580092@time.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk On Tue, 28 Nov 1995, Jordan K. Hubbard wrote: > > As -Vince- wrote: > > > > > > > > > Does anyone know if select() and setrlimit() is broken in -CURRENT sinc > e > > > they don't behave the way they should as compared to every other UN*X > > > variant. Any info would be helpful. Thanks! > > > > They are not. The entire system wouldn't work if they were. > > Indeed. I believe this is just yet another example of Vince not > coding the way he should, as compared with every other UN*X > programmer. :-) I wish that was the case Jordan but Schrodinger chat worked fine under 2.05R. It just doesn't work under -current as the author has tested it and here is what he says: On SunOS 4.1.3, solaris, linux, ultrix, irix, ... my chatline program stayed at the line where select() was when nobody was logged on or when nobody was typing. It's acts in char mode telnet. On freebsd-current, it doesn't stay at select() when nobody is logged on or when nobody is typing. select line is something like select((fd_set *)readfds, (fd_set *)0, (fd_set *)0, (time_t *)0); the file descriptors for each socket is set for i/o non-blocking with fcntl() ... (can't remember the exact syntax offhand .. I'm on the fly right now) (it's something like that ... I don't do unix C programming any longer .. I'm quoting from memory ... I was forwarded this letter from somebody using my chatline code). btw, my chatline program worked "properly" on FreeBSD 2.0.5, 2.0 and previous versions 1.5.1.1 (or whatever version that novell doesn't want anybody using). Gord J.C. Cheers, -Vince- vince@COSC.GOV - GUS Mailing Lists Admin - http://www.COSC.GOV/~vince UC Berkeley AstroPhysics - Electrical Engineering (Honorary B.S.) Chabot Observatory & Science Center - Board of Advisors Running FreeBSD - Real UN*X for Free! Linda Wong/Vivian Chow/Hacken Lee/Danny Chan/Priscilla Chan Fan Club Mailing Lists Admin From owner-freebsd-current Wed Nov 29 01:28:05 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA24352 for current-outgoing; Wed, 29 Nov 1995 01:28:05 -0800 Received: from apollo.COSC.GOV (root@apollo.COSC.GOV [198.94.103.34]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id BAA24302 for ; Wed, 29 Nov 1995 01:28:01 -0800 Received: (from vince@localhost) by apollo.COSC.GOV (8.6.12/8.6.9) id BAA23960; Wed, 29 Nov 1995 01:23:36 -0800 Date: Wed, 29 Nov 1995 01:23:35 -0800 (PST) From: -Vince- To: Bakul Shah cc: "Jordan K. Hubbard" , Joerg Wunsch , FreeBSD-current users Subject: Re: select() and setrlimit() broken In-Reply-To: <199511281837.KAA12261@netcom22.netcom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.ORG Precedence: bulk On Tue, 28 Nov 1995, Bakul Shah wrote: > > > Does anyone know if select() and setrlimit() is broken in -CURRENT sinc > > > they don't behave the way they should as compared to every other UN*X > > > variant. Any info would be helpful. Thanks! > > Don't know about setrlimit() but I did notice that rlim_max is 0 > under {Free,Net}BSD. On most other systems it is >= rlim_cur. > > -Vince- should describe exactly what the problem is if he > expects any help. I would but the author of Schrodinger chat was the one who found the problem since the program loads but just doesn't work the way it's supposed to as it did in 2.05R. Here's what he said: On SunOS 4.1.3, solaris, linux, ultrix, irix, ... my chatline program stayed at the line where select() was when nobody was logged on or when nobody was typing. It's acts in char mode telnet. On freebsd-current, it doesn't stay at select() when nobody is logged on or when nobody is typing. select line is something like select((fd_set *)readfds, (fd_set *)0, (fd_set *)0, (time_t *)0); the file descriptors for each socket is set for i/o non-blocking with fcntl() ... (can't remember the exact syntax offhand .. I'm on the fly right now) (it's something like that ... I don't do unix C programming any longer .. I'm quoting from memory ... I was forwarded this letter from somebody using my chatline code). btw, my chatline program worked "properly" on FreeBSD 2.0.5, 2.0 and previous versions 1.5.1.1 (or whatever version that novell doesn't want anybody using). Gord J.C. Cheers, -Vince- vince@COSC.GOV - GUS Mailing Lists Admin - http://www.COSC.GOV/~vince UC Berkeley AstroPhysics - Electrical Engineering (Honorary B.S.) Chabot Observatory & Science Center - Board of Advisors Running FreeBSD - Real UN*X for Free! Linda Wong/Vivian Chow/Hacken Lee/Danny Chan/Priscilla Chan Fan Club Mailing Lists Admin From owner-freebsd-current Wed Nov 29 01:49:58 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA25682 for current-outgoing; Wed, 29 Nov 1995 01:49:58 -0800 Received: from apollo.COSC.GOV (root@apollo.COSC.GOV [198.94.103.34]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id BAA25675 for ; Wed, 29 Nov 1995 01:49:55 -0800 Received: (from vince@localhost) by apollo.COSC.GOV (8.6.12/8.6.9) id BAA24235; Wed, 29 Nov 1995 01:45:33 -0800 Date: Wed, 29 Nov 1995 01:45:33 -0800 (PST) From: -Vince- To: Yog Sothoth cc: freebsd-current@freebsd.org Subject: Re: select() and setrlimit() broken (fwd) In-Reply-To: <199511282334.PAA14029@apollo.COSC.GOV> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk On Tue, 28 Nov 1995, Yog Sothoth wrote: > > ---------- Forwarded message ---------- > > Date: Tue, 28 Nov 1995 09:01:59 +0100 (MET) > > From: J Wunsch > > To: FreeBSD-current users > > Subject: Re: select() and setrlimit() broken > > > > As -Vince- wrote: > > > > > > > > > Does anyone know if select() and setrlimit() is broken in -CURRENT since > > > they don't behave the way they should as compared to every other UN*X > > > variant. Any info would be helpful. Thanks! > > > > They are not. The entire system wouldn't work if they were. > > > > You forgot to tell us your suspected misbehaviour, btw. > > On SunOS 4.1.3, solaris, linux, ultrix, irix, ... my chatline > program stayed at the line where select() was when nobody was logged on > or when nobody was typing. It's acts in char mode telnet. On > freebsd-current, it doesn't stay at select() when nobody is logged on or > when nobody is typing. > > > select line is something like > > select((fd_set *)readfds, (fd_set *)0, (fd_set *)0, (time_t *)0); > > the file descriptors for each socket is set for i/o non-blocking > with fcntl() ... (can't remember the exact syntax offhand .. I'm on the > fly right now) > > (it's something like that ... I don't do unix C programming any longer > .. I'm quoting from memory ... I was forwarded this letter from somebody > using my chatline code). > > > > btw, my chatline program worked "properly" on FreeBSD 2.0.5, 2.0 > and previous versions 1.5.1.1 (or whatever version that novell > doesn't want anybody using). It did work in 2.05R and just doesn't work with -current... Cheers, -Vince- vince@COSC.GOV - GUS Mailing Lists Admin - http://www.COSC.GOV/~vince UC Berkeley AstroPhysics - Electrical Engineering (Honorary B.S.) Chabot Observatory & Science Center - Board of Advisors Running FreeBSD - Real UN*X for Free! Linda Wong/Vivian Chow/Hacken Lee/Danny Chan/Priscilla Chan Fan Club Mailing Lists Admin From owner-freebsd-current Wed Nov 29 02:00:21 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA26634 for current-outgoing; Wed, 29 Nov 1995 02:00:21 -0800 Received: from skiddaw.elsevier.co.uk (skiddaw.elsevier.co.uk [193.131.222.60]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id CAA26626 for ; Wed, 29 Nov 1995 02:00:16 -0800 Received: from snowdon.elsevier.co.uk (snowdon.elsevier.co.uk [193.131.197.164]) by skiddaw.elsevier.co.uk (8.6.12/8.6.12) with ESMTP id JAA15279; Wed, 29 Nov 1995 09:58:35 GMT Received: from isis by snowdon with SMTP (PP); Wed, 29 Nov 1995 09:55:00 +0000 Received: (from dpr@localhost) by isis (SMI-8.6/8.6.12) id JAA13824; Wed, 29 Nov 1995 09:56:41 GMT From: Paul Richards Message-Id: <199511290956.JAA13824@isis> Subject: Re: schg flag on make world in -CURRENT To: terry@lambert.org (Terry Lambert) Date: Wed, 29 Nov 1995 09:56:41 +0000 (GMT) Cc: jkh@time.cdrom.com, terry@lambert.org, joerg_wunsch@uriah.heep.sax.de, freebsd-current@FreeBSD.org In-Reply-To: <199511290220.TAA26615@phaeton.artisoft.com> from "Terry Lambert" at Nov 28, 95 07:20:50 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-current@FreeBSD.org Precedence: bulk In reply to Terry Lambert who said > > > Yeah, and you don't need a note from your mother either. I would > > therefore like to join Terry in demanding that su be disabled until > > the requisite scanner support (with authentication) be added directly > > into the kernel. > > Now you are being silly. > > The reason that the lines aren't secure by default is that you don't > want to have the root password working while a line snooper is catching > the packets with it in it. > I'm not sure that was ever the reason for secure pty's. I think the intention was to prevent brute force attacks on root, which is a known account. A packet sniffer can just as easily pick up non-root accounts and then have a much better foot in the door for cracking root once on the machine. > > If the only protection is against brute-forcing root over the net, then > it's no protection at all. This attack is already guarded against by > the login attempt timer, attempt count disconnect, and probability > function based on the password domain. > I see some merit though in preventing root access period from insecure pty's. If it was an added security level I'd be in favour of it. There are machines where I'd like to disable remote root access completely. -- Paul Richards. Originative Solutions Ltd. Internet: paul@netcraft.co.uk, http://www.netcraft.co.uk Phone: 0370 462071 (Mobile), +44 1225 447500 (work) From owner-freebsd-current Wed Nov 29 02:01:41 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA26763 for current-outgoing; Wed, 29 Nov 1995 02:01:41 -0800 Received: from sloop.cis.ufl.edu (sycheng@sloop.cis.ufl.edu [128.227.176.62]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id CAA26757 for ; Wed, 29 Nov 1995 02:01:39 -0800 From: sycheng@cis.ufl.edu Received: by sloop.cis.ufl.edu (8.6.7/cis.ufl.edu) id FAA25729; Wed, 29 Nov 1995 05:01:30 -0500 Message-Id: <199511291001.FAA25729@sloop.cis.ufl.edu> Subject: pstat -T To: freebsd-current@FreeBSD.org Date: Wed, 29 Nov 1995 05:01:29 -0500 (EST) X-Mailer: ELM [version 2.4 PL24 ME7a] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Length: 806 Sender: owner-current@FreeBSD.org Precedence: bulk Hi : On my machine, which is running the lastest FreeBSD-current codes, the "pstat -T" would generate the following : 92/808 files pstat: sysctl: KERN_VNODE: Bad address I believe something's wrong when it tries to read vnodes info. Any suggestion ? Thanks. -- Cheng, Hsiao-Yang Graduate Student ___ . TEL: 9 0 4 - 3 3 Department of Computer Information Science / \ / 8 University of Florida, Gainesville | /^~~) (~~) )Hsiao--_ 8 E-mail: sycheng@cis.ufl.edu \ // ( (~~~ / ( Yang) 4 WWW : http://www.cis.ufl.edu/~sycheng ```` ` ~~~` ` / 9 <> WE GROW GREAT BY DREAMS. ALL BIG ARE DREAMERS \ / 1 `` From owner-freebsd-current Wed Nov 29 03:10:44 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id DAA02235 for current-outgoing; Wed, 29 Nov 1995 03:10:44 -0800 Received: from apollo.COSC.GOV (root@apollo.COSC.GOV [198.94.103.34]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id DAA02230 for ; Wed, 29 Nov 1995 03:10:41 -0800 Received: (from vince@localhost) by apollo.COSC.GOV (8.6.12/8.6.9) id DAA25558; Wed, 29 Nov 1995 03:03:47 -0800 Date: Wed, 29 Nov 1995 03:03:46 -0800 (PST) From: -Vince- To: Joerg Wunsch cc: FreeBSD-current users Subject: Re: schg flag on make world in -CURRENT In-Reply-To: <199511282026.VAA10868@uriah.heep.sax.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk On Tue, 28 Nov 1995, J Wunsch wrote: > As -Vince- wrote: > > > > > That's only if you're using a higher "secure level". > > > I am using the default one but somehow it doesn't let me do a > > finish the make world since it can't do chflags unless I ran noflags on > > the directories on my own beforehand. Could it be due to the fact that I > > am su-ing from a non-secure pty? > > No. Both are entirely unrelated. I thought that was actually the reason for a moment there. > Something is totally hosed with your setup, but nobody except yourself > will be able to find what it is exactly, and how to fix it. > > Did you ever consider re-installing your machine? You're most likely > the only one in the whole world with this problem. Actually, this is happening at three different machines at 3 different sites and like I have tried reinstalling one of the machines and the same thing still happens... Cheers, -Vince- vince@COSC.GOV - GUS Mailing Lists Admin - http://www.COSC.GOV/~vince UC Berkeley AstroPhysics - Electrical Engineering (Honorary B.S.) Chabot Observatory & Science Center - Board of Advisors Running FreeBSD - Real UN*X for Free! Linda Wong/Vivian Chow/Hacken Lee/Danny Chan/Priscilla Chan Fan Club Mailing Lists Admin From owner-freebsd-current Wed Nov 29 03:28:30 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id DAA04369 for current-outgoing; Wed, 29 Nov 1995 03:28:30 -0800 Received: from tfs.com (tfs.com [140.145.250.1]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id DAA04352 for ; Wed, 29 Nov 1995 03:28:27 -0800 Received: from critter.tfs.com by tfs.com (smail3.1.28.1) with SMTP id m0tKkgX-0003vpC; Wed, 29 Nov 95 03:28 PST Received: from localhost (localhost [127.0.0.1]) by critter.tfs.com (8.6.11/8.6.9) with SMTP id MAA00195; Wed, 29 Nov 1995 12:28:18 +0100 X-Authentication-Warning: critter.tfs.com: Host localhost didn't use HELO protocol To: sycheng@cis.ufl.edu cc: freebsd-current@FreeBSD.org Subject: Re: pstat -T In-reply-to: Your message of "Wed, 29 Nov 1995 05:01:29 EST." <199511291001.FAA25729@sloop.cis.ufl.edu> Date: Wed, 29 Nov 1995 12:28:17 +0100 Message-ID: <193.817644497@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-current@FreeBSD.org Precedence: bulk > On my machine, which is running the lastest FreeBSD-current codes, > the "pstat -T" would generate the following : > > 92/808 files > pstat: sysctl: KERN_VNODE: Bad address My fault, fixed. -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so. From owner-freebsd-current Wed Nov 29 05:14:58 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id FAA14087 for current-outgoing; Wed, 29 Nov 1995 05:14:58 -0800 Received: from terra.stack.urc.tue.nl (terra.stack.urc.tue.nl [131.155.140.128]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id FAA14082 for ; Wed, 29 Nov 1995 05:14:55 -0800 Received: (from uucp@localhost) by terra.stack.urc.tue.nl (8.6.11) with UUCP id OAA11528; Wed, 29 Nov 1995 14:14:33 +0100 Received: (from freebsd@localhost) by xaa.stack.urc.tue.nl (8.6.12/8.6.9) id NAA06456; Wed, 29 Nov 1995 13:28:20 +0100 From: FreeBSD matters of Mark Huizer (xaa) Message-Id: <199511291228.NAA06456@xaa.stack.urc.tue.nl> Subject: Re: Theory Failed: screen vs keyboard lock-up To: scrappy@hub.org (Marc G. Fournier) Date: Wed, 29 Nov 1995 13:28:18 +0100 (MET) Cc: current@freebsd.org In-Reply-To: from "Marc G. Fournier" at Nov 28, 95 01:10:20 pm Reply-To: xaa@stack.urc.tue.nl (Mark Huizer) X-Mailer: ELM [version 2.4 PL24 ME8b] Content-Type: text Content-Length: 599 Sender: owner-current@freebsd.org Precedence: bulk > Oops, glad you reminded me of that...I had totally forgotten that > it did do that :( I've been trying everyone's suggestions on how to see > where the problem is too... > > But it still leaves us effectively nowhere. Hmm... I had the problem too, and wrote a little program that just performs struct { int rep:5; int del:2; int pad:1; } rate; rate.del = 1; rate.rep = 15; while (1) { if (ioctl(0,KDSETRAD,rate) < 0) perror("Setting keyboard rate"); sleep(5); } And I never have to wait for more than a few seconds to get my keyboard back > Mark From owner-freebsd-current Wed Nov 29 05:30:30 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id FAA14918 for current-outgoing; Wed, 29 Nov 1995 05:30:30 -0800 Received: from main.gbdata.com (dial47.phoenix.net [199.3.234.82]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id FAA14851 for ; Wed, 29 Nov 1995 05:29:06 -0800 Received: (from gclarkii@localhost) by main.gbdata.com (8.6.12/8.6.9) id HAA02751; Wed, 29 Nov 1995 07:27:09 -0600 From: Gary Clark II Message-Id: <199511291327.HAA02751@main.gbdata.com> Subject: Re: groff 1.10 released...breaks man To: andrew@whine.com (Andrew Herdman) Date: Wed, 29 Nov 1995 07:27:08 -0600 (CST) Cc: scrappy@hub.org, current@FreeBSD.org Reply-To: gclarkii@FreeBSD.org In-Reply-To: from "Andrew Herdman" at Nov 28, 95 08:43:57 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 795 Sender: owner-current@FreeBSD.org Precedence: bulk Hello, > > I just installed groff 1.10 on my *-current machine (ya, I like > > the new and [seemingly-]better stuff, that why I'm using *-current *grin*) > > and it breaks man. > > > > To fix, I ended up having to go into /usr/src/gnu/usr.bin/man > > and modifying Makefile.inc so that it sets nroff is set to: > > > > nroff -Tascii -mandoc > > > > instead of > > > > nroff -Tascii -man > > > > Just as a suggestion for anyone else wanting to install > > the new groff, you may hit this problem, and want to modify/recompile > > man accordingly. > > wouldn't copying /usr/share/tmac/tmac.andoc to /usr/share/tmac/tmac.an fix > the problem as well? > > Andrew > The problem is that you wiped out your tmac.an file. This controls which macros get used (doc or groff_an). Gary From owner-freebsd-current Wed Nov 29 06:59:20 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA21224 for current-outgoing; Wed, 29 Nov 1995 06:59:20 -0800 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id GAA21217 for ; Wed, 29 Nov 1995 06:59:14 -0800 Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA05869; Wed, 29 Nov 1995 09:59:06 -0500 Date: Wed, 29 Nov 1995 09:59:06 -0500 From: "Garrett A. Wollman" Message-Id: <9511291459.AA05869@halloran-eldar.lcs.mit.edu> To: Julian Elischer Cc: current@freebsd.org Subject: Re: Recent changes to `dump' In-Reply-To: <199511282245.OAA24433@ref.tfs.com> References: <9511281946.AA04068@halloran-eldar.lcs.mit.edu> <199511282245.OAA24433@ref.tfs.com> Sender: owner-current@freebsd.org Precedence: bulk < said: > I understand your point, but I also see why it changed.. > I often wonder "Is that DISK blocks or Tape Blocks?" > (I don't use Dump that often) Blocks are blocks. (I think it's FFS's usage of the word `block' for a 8192-byte chunk that is broken. Before the Berkeley filesystem work, a block was universally 512 bytes in UNIX-land.) -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant From owner-freebsd-current Wed Nov 29 08:04:49 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA26289 for current-outgoing; Wed, 29 Nov 1995 08:04:49 -0800 Received: from who.cdrom.com (who.cdrom.com [192.216.222.3]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id IAA26278 for ; Wed, 29 Nov 1995 08:04:46 -0800 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by who.cdrom.com (8.6.12/8.6.11) with SMTP id IAA05574 for ; Wed, 29 Nov 1995 08:04:38 -0800 Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA06049; Wed, 29 Nov 1995 11:00:42 -0500 Date: Wed, 29 Nov 1995 11:00:42 -0500 From: "Garrett A. Wollman" Message-Id: <9511291600.AA06049@halloran-eldar.lcs.mit.edu> To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Cc: wollman@lcs.mit.edu (Garrett A. Wollman), current@freebsd.org Subject: Re: Recent changes to `dump' In-Reply-To: <199511290744.IAA14116@uriah.heep.sax.de> References: <9511281946.AA04068@halloran-eldar.lcs.mit.edu> <199511290744.IAA14116@uriah.heep.sax.de> Sender: owner-current@freebsd.org Precedence: bulk < said: > It has not added a qualifier. Here's the diff: > If you really think that omitting the additional (and apparently > accidental) ``DUMP:'' does confuse the world, so remove _just this_, > instead of shooting around and removing everything from this patch. > Remember, there was a general consensus to _include_ the `throughput' > line. > What does amanda say to the new dump? Well, let's put it this way. I jumped a little to a conclusion. Amanda hates the new format. I looked at the part of the code that parses the dump output, found a reasonable-looking format line, and compared it to dump's output. I then deleted the word `tape' and all of my backups worked. ``You be the judge.'' -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant From owner-freebsd-current Wed Nov 29 09:19:55 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA02864 for current-outgoing; Wed, 29 Nov 1995 09:19:55 -0800 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id JAA02859 for ; Wed, 29 Nov 1995 09:19:49 -0800 Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA06308; Wed, 29 Nov 1995 12:19:43 -0500 Date: Wed, 29 Nov 1995 12:19:43 -0500 From: "Garrett A. Wollman" Message-Id: <9511291719.AA06308@halloran-eldar.lcs.mit.edu> To: Nate Williams Cc: current@freebsd.org Subject: Re: cvs commit: src/usr.sbin/config Makefile main.c In-Reply-To: <199511291708.KAA20314@rocky.sri.MT.net> References: <9511291603.AA06038@halloran-eldar.lcs.mit.edu> <8337.817662882@time.cdrom.com> <199511291708.KAA20314@rocky.sri.MT.net> Sender: owner-current@freebsd.org Precedence: bulk < said: > I modified the sources to config on my box just so it wouldn't blow the > directory away becuase I *HATE* the current behavior, and I never > remember to type '-n' because it's not needed on other BSD systems I > administer. I added the CONFIG_NO_CLOBBER_EVER option because I got tired of diking the `rm -rf' code out every time I rebuilt binaries. (Usually after having first lost a chunk of a compile directory because I mistakenly installed a current version.) -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant From owner-freebsd-current Wed Nov 29 10:12:11 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA07205 for current-outgoing; Wed, 29 Nov 1995 10:12:11 -0800 Received: from sloop.cis.ufl.edu (sycheng@sloop.cis.ufl.edu [128.227.176.62]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id KAA07200 for ; Wed, 29 Nov 1995 10:12:08 -0800 From: sycheng@cis.ufl.edu Received: by sloop.cis.ufl.edu (8.6.7/cis.ufl.edu) id NAA01316; Wed, 29 Nov 1995 13:11:56 -0500 Message-Id: <199511291811.NAA01316@sloop.cis.ufl.edu> Subject: Problem of screen saver To: freebsd-current@FreeBSD.org Date: Wed, 29 Nov 1995 13:11:56 -0500 (EST) X-Mailer: ELM [version 2.4 PL24 ME7a] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Length: 848 Sender: owner-current@FreeBSD.org Precedence: bulk Hi : Every time I boot the FreeBSD-current, I always encounter an error message owing to the screen saver's setting in /etc/rc.i386 : Undefined entry symbol `_saver_init' ld: Spurious undefined symbols: # undefined symbols 1, reported 0 modload: /usr/bin/ld: return code 1 Any suggestion ? Thanks a lot. -- Cheng, Hsiao-Yang Graduate Student ___ . TEL: 9 0 4 - 3 3 Department of Computer Information Science / \ / 8 University of Florida, Gainesville | /^~~) (~~) )Hsiao--_ 8 E-mail: sycheng@cis.ufl.edu \ // ( (~~~ / ( Yang) 4 WWW : http://www.cis.ufl.edu/~sycheng ```` ` ~~~` ` / 9 <> WE GROW GREAT BY DREAMS. ALL BIG ARE DREAMERS \ / 1 `` From owner-freebsd-current Wed Nov 29 10:47:25 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA09500 for current-outgoing; Wed, 29 Nov 1995 10:47:25 -0800 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id KAA09493 for ; Wed, 29 Nov 1995 10:47:15 -0800 Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA06551; Wed, 29 Nov 1995 13:46:03 -0500 Date: Wed, 29 Nov 1995 13:46:03 -0500 From: "Garrett A. Wollman" Message-Id: <9511291846.AA06551@halloran-eldar.lcs.mit.edu> To: "Justin T. Gibbs" Cc: current@freebsd.org Subject: Re: cvs commit: src/usr.sbin/config Makefile main.c In-Reply-To: <199511291834.KAA08699@freefall.freebsd.org> References: <199511291708.KAA20314@rocky.sri.MT.net> <199511291834.KAA08699@freefall.freebsd.org> Sender: owner-current@freebsd.org Precedence: bulk [PLEASE watch your Cc lines!] < said: > Why not make option lines add an entry to a common header file. Only > modules that export an option need to include the "option" header. > We could have a separate keyword "define" that gives the current behavior > so you can still do it the old quick way for debugging. I think that > a make depend would have much more value if this was done. That just brings you back to the same old problem of everything getting recompiled when you change the FOOBAR_GRONKULATOR option from 0 to 1 even though only two files depend on the setting of that particular option. Now, if you wanted to suggest that every such option have a /separate/ header file generated for it, then I might be open to it. (Although that would generate even more incredible amounts of junk in the work directory, and config would have to be modified to read some file listing all possible options.) -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant From owner-freebsd-current Wed Nov 29 11:54:47 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA14977 for current-outgoing; Wed, 29 Nov 1995 11:54:47 -0800 Received: from hub.org (hub.org [199.166.238.138]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA14871 ; Wed, 29 Nov 1995 11:52:32 -0800 Received: (from scrappy@localhost) by hub.org (8.7.1/8.7.1) id OAA02869; Wed, 29 Nov 1995 14:52:23 -0500 (EST) Date: Wed, 29 Nov 1995 14:52:16 -0500 (EST) From: "Marc G. Fournier" To: gclarkii@FreeBSD.org cc: Andrew Herdman , current@FreeBSD.org Subject: Re: groff 1.10 released...breaks man In-Reply-To: <199511291327.HAA02751@main.gbdata.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.org Precedence: bulk On Wed, 29 Nov 1995, Gary Clark II wrote: > The problem is that you wiped out your tmac.an file. This controls which > macros get used (doc or groff_an). > Except, as I responded to Andrew...both the tmac.an and the tmac.mandoc files are identical (down to 'diff' not even showing a space out of place), yet 'nroff -man' and 'nroff -mandoc' give dramatically different output. nroff -man seems to give this great big lump of characters... no paragraph seperators or nothing, whereas nroff -mandoc gives out what you would expect. I don't know, maybe something got messed up on the install, but I don't see how if both files are identical :( Marc G. Fournier | POP Mail Telnet Acct DNS Hosting scrappy@hub.org | WWW Services Database Services | Knowledge, soon to be: | | Information and scrappy@ki.net | WWW: http://hub.org | Communications, Inc From owner-freebsd-current Wed Nov 29 11:55:56 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA15030 for current-outgoing; Wed, 29 Nov 1995 11:55:56 -0800 Received: from apollo.COSC.GOV (root@apollo.COSC.GOV [198.94.103.34]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA15024 for ; Wed, 29 Nov 1995 11:55:55 -0800 Received: (from vince@localhost) by apollo.COSC.GOV (8.6.12/8.6.9) id LAA01873; Wed, 29 Nov 1995 11:52:41 -0800 Date: Wed, 29 Nov 1995 11:52:41 -0800 (PST) From: -Vince- To: Joerg Wunsch cc: Yog Sothoth , freebsd-current@freebsd.org Subject: Re: select() and setrlimit() broken (fwd) In-Reply-To: <199511290807.JAA14211@uriah.heep.sax.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk On Wed, 29 Nov 1995, J Wunsch wrote: > As Yog Sothoth wrote: > > > > btw, my chatline program worked "properly" on FreeBSD 2.0.5, 2.0 > > and previous versions 1.5.1.1 (or whatever version that novell > > doesn't want anybody using). > > I've just verified: the file sys/kern/sys_generic.c (that contains > select(2)) hasn't changed between 2.0.5 and 2.1. select() ends up in > a call to tsleep(). In your case (no timeout requested), tsleep() is > being passed a timo value of 0, which prevents it from installing a > timeout (so it's just doing a sleep). > > Again: i cannot see anything changed between 2.0.5 and 2.1 here. Hmmm, could it be that it's just a change between 2.0.5 and -current? Cheers, -Vince- vince@COSC.GOV - GUS Mailing Lists Admin - http://www.COSC.GOV/~vince UC Berkeley AstroPhysics - Electrical Engineering (Honorary B.S.) Chabot Observatory & Science Center - Board of Advisors Running FreeBSD - Real UN*X for Free! Linda Wong/Vivian Chow/Hacken Lee/Danny Chan/Priscilla Chan Fan Club Mailing Lists Admin From owner-freebsd-current Wed Nov 29 12:23:46 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA16801 for current-outgoing; Wed, 29 Nov 1995 12:23:46 -0800 Received: from rocky.sri.MT.net (rocky.sri.MT.net [204.182.243.10]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id MAA16793 for ; Wed, 29 Nov 1995 12:23:40 -0800 Received: (from nate@localhost) by rocky.sri.MT.net (8.6.12/8.6.12) id NAA21025; Wed, 29 Nov 1995 13:25:49 -0700 Date: Wed, 29 Nov 1995 13:25:49 -0700 From: Nate Williams Message-Id: <199511292025.NAA21025@rocky.sri.MT.net> To: "Garrett A. Wollman" Cc: current@freebsd.org Subject: Re: cvs commit: src/usr.sbin/config Makefile main.c In-Reply-To: <9511291846.AA06551@halloran-eldar.lcs.mit.edu> References: <199511291708.KAA20314@rocky.sri.MT.net> <199511291834.KAA08699@freefall.freebsd.org> <9511291846.AA06551@halloran-eldar.lcs.mit.edu> Sender: owner-current@freebsd.org Precedence: bulk Garrett A. Wollman writes: > [PLEASE watch your Cc lines!] > > < said: > > > Why not make option lines add an entry to a common header file. Only > > modules that export an option need to include the "option" header. > > We could have a separate keyword "define" that gives the current behavior > > so you can still do it the old quick way for debugging. I think that > > a make depend would have much more value if this was done. > > That just brings you back to the same old problem of everything > getting recompiled when you change the FOOBAR_GRONKULATOR option from > 0 to 1 even though only two files depend on the setting of that > particular option. > > Now, if you wanted to suggest that every such option have a /separate/ > header file generated for it, then I might be open to it. If we do this, we might as well change the way options are done. By using separate files, we are effectively making the configuration done in the same manne as devices are done in config, so adding a new 'option' would require modifying config. While I normally don't like the statements of "config should die, kill config" I think it needs to be destroyed before we can do dependencies on options better. Nate From owner-freebsd-current Wed Nov 29 12:35:42 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA17976 for current-outgoing; Wed, 29 Nov 1995 12:35:42 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.222.226]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id MAA17969 for ; Wed, 29 Nov 1995 12:35:36 -0800 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id MAA02944; Wed, 29 Nov 1995 12:31:31 -0800 To: sycheng@cis.ufl.edu cc: freebsd-current@FreeBSD.org Subject: Re: Problem of screen saver In-reply-to: Your message of "Wed, 29 Nov 1995 13:11:56 EST." <199511291811.NAA01316@sloop.cis.ufl.edu> Date: Wed, 29 Nov 1995 12:31:31 -0800 Message-ID: <2942.817677091@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-current@FreeBSD.org Precedence: bulk You need to update your /etc/rc.i386 file - take a look at the new version in /usr/src/etc/etc.i386 Jordan > > Hi : > > Every time I boot the FreeBSD-current, I always encounter an error messag e > owing to the screen saver's setting in /etc/rc.i386 : > > Undefined entry symbol `_saver_init' > ld: Spurious undefined symbols: # undefined symbols 1, reported 0 > modload: /usr/bin/ld: return code 1 > > > Any suggestion ? Thanks a lot. > > -- > Cheng, Hsiao-Yang Graduate Student ___ . TEL: 9 0 4 - 3 3 > Department of Computer Information Science / \ / 8 > University of Florida, Gainesville | /^~~) (~~) )Hsiao--_ 8 > E-mail: sycheng@cis.ufl.edu \ // ( (~~~ / ( Yang) 4 > WWW : http://www.cis.ufl.edu/~sycheng ```` ` ~~~` ` / 9 > <> WE GROW GREAT BY DREAMS. ALL BIG ARE DREAMERS \ / 1 > `` From owner-freebsd-current Wed Nov 29 14:12:14 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA25167 for current-outgoing; Wed, 29 Nov 1995 14:12:14 -0800 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA25057 for ; Wed, 29 Nov 1995 14:12:03 -0800 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id PAA28759; Wed, 29 Nov 1995 15:07:01 -0700 From: Terry Lambert Message-Id: <199511292207.PAA28759@phaeton.artisoft.com> Subject: Re: schg flag on make world in -CURRENT To: nate@rocky.sri.MT.net (Nate Williams) Date: Wed, 29 Nov 1995 15:07:00 -0700 (MST) Cc: terry@lambert.org, nate@rocky.sri.MT.net, freebsd-current@FreeBSD.org In-Reply-To: <199511290517.WAA19065@rocky.sri.MT.net> from "Nate Williams" at Nov 28, 95 10:17:45 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 748 Sender: owner-current@FreeBSD.org Precedence: bulk > > Only if they need to su to root after they come in. What normal user > > comes in from outside the firewall and su's anyway? > > All of the folks who do root work on freefall, and David's work on > wcarchive. Hopefully, these folks use encrypted telnet/rlogin. > > Setting pty's secure is a silly thing to do in any situation unless, as > > is allowing user's to su from unsecure lines. > > You can 'su' on insecure lines. You can't directly login as root on > insecure lines. Paraphrased: "You can use a root password on insecure lines. You can't directly use a root password on insecure lines." Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-current Wed Nov 29 14:13:45 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA25233 for current-outgoing; Wed, 29 Nov 1995 14:13:45 -0800 Received: from rocky.sri.MT.net (rocky.sri.MT.net [204.182.243.10]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA25221 for ; Wed, 29 Nov 1995 14:13:35 -0800 Received: (from nate@localhost) by rocky.sri.MT.net (8.6.12/8.6.12) id PAA21562; Wed, 29 Nov 1995 15:15:18 -0700 Date: Wed, 29 Nov 1995 15:15:18 -0700 From: Nate Williams Message-Id: <199511292215.PAA21562@rocky.sri.MT.net> To: Terry Lambert Cc: nate@rocky.sri.MT.net (Nate Williams), freebsd-current@FreeBSD.org Subject: Re: schg flag on make world in -CURRENT In-Reply-To: <199511292207.PAA28759@phaeton.artisoft.com> References: <199511290517.WAA19065@rocky.sri.MT.net> <199511292207.PAA28759@phaeton.artisoft.com> Sender: owner-current@FreeBSD.org Precedence: bulk > > You can 'su' on insecure lines. You can't directly login as root on > > insecure lines. > > Paraphrased: "You can use a root password on insecure lines. You can't > directly use a root password on insecure lines." Close. You can't use the root password on insecure lines w/out at least some initial form of authentication. Nate From owner-freebsd-current Wed Nov 29 14:19:12 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA25619 for current-outgoing; Wed, 29 Nov 1995 14:19:12 -0800 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA25613 for ; Wed, 29 Nov 1995 14:19:06 -0800 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id PAA28746; Wed, 29 Nov 1995 15:04:02 -0700 From: Terry Lambert Message-Id: <199511292204.PAA28746@phaeton.artisoft.com> Subject: Re: schg flag on make world in -CURRENT To: jgreco@brasil.moneng.mei.com (Joe Greco) Date: Wed, 29 Nov 1995 15:04:01 -0700 (MST) Cc: jkh@time.cdrom.com, terry@lambert.org, joerg_wunsch@uriah.heep.sax.de, freebsd-current@FreeBSD.ORG In-Reply-To: <199511290247.UAA13600@brasil.moneng.mei.com> from "Joe Greco" at Nov 28, 95 08:47:56 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1562 Sender: owner-current@FreeBSD.ORG Precedence: bulk > Terry, I don't think su is broken. Think about su in an environment where > you: (1) are in an xterm (2) telnetted in via encrypted telnet (3) etc. I buy the encrypted telnet. I don't buy the xterm, unless it's local. What you want is a flag on the pty (settable only by root) to tell it the client is from a local or secure connection. An encrypted telnetd would set it. A regular telnetd would not. A local xterm or screen, etc., would set it. A remotely displayed xterm would not. The "secure" really wants to be an attribute of the tty or slave pty (as set by an suid program on the master), etc. > Wheel users should be intelligent enough to decide on their own if their > channel is sufficiently secure. Forcing people to mark their pty's as > "secure" would be making the system less secure. The marking is really a useless activity. They should never be marked secure -- su and login need to decide whether or not to relax security based on administrative fiat. Having a "secure" marking in the /etc/ttys is a kludge dating back to the serial console. It really has nothing to do with networking connections, except that pty's are used for network based logins. And that's just coincidental -- it based on how the network access happens to be implemented in this particular case. Most modern systems push an ldterm on the stream head and directly hook the slave instead of using a pty at all. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-current Wed Nov 29 14:21:22 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA25910 for current-outgoing; Wed, 29 Nov 1995 14:21:22 -0800 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA25902 for ; Wed, 29 Nov 1995 14:21:17 -0800 Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.12/jtpda-5.0) with ESMTP id XAA05118 ; Wed, 29 Nov 1995 23:21:09 +0100 Received: from (uucp@localhost) by blaise.ibp.fr (8.6.12/jtpda-5.0) with UUCP id XAA17138 ; Wed, 29 Nov 1995 23:21:08 +0100 Received: (from roberto@localhost) by keltia.freenix.fr (8.7.1/keltia-uucp-2.6) id WAA03797; Wed, 29 Nov 1995 22:47:24 +0100 (MET) From: Ollivier Robert Message-Id: <199511292147.WAA03797@keltia.freenix.fr> Subject: Re: schg flag on make world in -CURRENT To: terry@lambert.org (Terry Lambert) Date: Wed, 29 Nov 1995 22:47:24 +0100 (MET) Cc: jkh@time.cdrom.com, terry@lambert.org, joerg_wunsch@uriah.heep.sax.de, freebsd-current@freebsd.org In-Reply-To: <199511290220.TAA26615@phaeton.artisoft.com> from "Terry Lambert" at Nov 28, 95 07:20:50 pm X-Operating-System: FreeBSD 2.2-CURRENT ctm#1378 X-Mailer: ELM [version 2.4 PL24 ME8b] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org Precedence: bulk It seems that Terry Lambert said: > The reason that the lines aren't secure by default is that you don't > want to have the root password working while a line snooper is catching > the packets with it in it. There is a sentence everyone should use nowadays: "Thou shalt not type a password in the clear across [almost] any network" If you're concerned about security, you use either Kerberos/S-Key (but I think this is not enough) or you use an encrypting program like the great SSH. Even using S/Key for both login and su is now silly. You should protect your whole session if you're an administrator. Clear-text asswords should be dead. Period. Arguing about "secure" on pty is not enough. Logging as "root" is a mistake, especially across a network. -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.frmug.fr.net FreeBSD keltia.freenix.fr 2.2-CURRENT #7: Mon Nov 6 21:08:06 MET 1995 From owner-freebsd-current Wed Nov 29 14:22:05 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA25976 for current-outgoing; Wed, 29 Nov 1995 14:22:05 -0800 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA25967 for ; Wed, 29 Nov 1995 14:21:58 -0800 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id PAA28788; Wed, 29 Nov 1995 15:12:08 -0700 From: Terry Lambert Message-Id: <199511292212.PAA28788@phaeton.artisoft.com> Subject: Re: schg flag on make world in -CURRENT To: p.richards@elsevier.co.uk (Paul Richards) Date: Wed, 29 Nov 1995 15:12:08 -0700 (MST) Cc: terry@lambert.org, jkh@time.cdrom.com, joerg_wunsch@uriah.heep.sax.de, freebsd-current@FreeBSD.ORG In-Reply-To: <199511290956.JAA13824@isis> from "Paul Richards" at Nov 29, 95 09:56:41 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1477 Sender: owner-current@FreeBSD.ORG Precedence: bulk > > The reason that the lines aren't secure by default is that you don't > > want to have the root password working while a line snooper is catching > > the packets with it in it. > > I'm not sure that was ever the reason for secure pty's. I think the > intention was to prevent brute force attacks on root, which is a known > account. A packet sniffer can just as easily pick up non-root accounts > and then have a much better foot in the door for cracking root once on > the machine. Brute force attacks were more of a problem without a delay in the login retry. Now that there is a delay, the attack frequency is several orders of magnitude lower, and the danger of a brute for attack is reduced by the same scale. > > If the only protection is against brute-forcing root over the net, then > > it's no protection at all. This attack is already guarded against by > > the login attempt timer, attempt count disconnect, and probability > > function based on the password domain. > > > > I see some merit though in preventing root access period from insecure > pty's. If it was an added security level I'd be in favour of it. There > are machines where I'd like to disable remote root access completely. Good idea. If you bump the secure level, you have to use a secure line to enter the root password. This satisfy everyone? Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-current Wed Nov 29 14:24:28 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA26254 for current-outgoing; Wed, 29 Nov 1995 14:24:28 -0800 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA26241 for ; Wed, 29 Nov 1995 14:24:11 -0800 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id PAA28811; Wed, 29 Nov 1995 15:19:07 -0700 From: Terry Lambert Message-Id: <199511292219.PAA28811@phaeton.artisoft.com> Subject: Re: schg flag on make world in -CURRENT To: nate@rocky.sri.MT.net (Nate Williams) Date: Wed, 29 Nov 1995 15:19:07 -0700 (MST) Cc: terry@lambert.org, nate@rocky.sri.MT.net, freebsd-current@FreeBSD.org In-Reply-To: <199511292215.PAA21562@rocky.sri.MT.net> from "Nate Williams" at Nov 29, 95 03:15:18 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 840 Sender: owner-current@FreeBSD.org Precedence: bulk > > > You can 'su' on insecure lines. You can't directly login as root on > > > insecure lines. > > > > Paraphrased: "You can use a root password on insecure lines. You can't > > directly use a root password on insecure lines." > > Close. > > You can't use the root password on insecure lines w/out at least some > initial form of authentication. Closer. You can't make the root password succeptible to snooping on insecure lines w/out at least some initial form of authentication equally succeptible to snooping (ie: "secure" is a NO-OP if it doesn't prevent root logins). I like the security level bump compromise soloution. It lets people who want the current, useless behaviour have it. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-current Wed Nov 29 14:29:24 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA26553 for current-outgoing; Wed, 29 Nov 1995 14:29:24 -0800 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA26547 for ; Wed, 29 Nov 1995 14:29:18 -0800 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id PAA28853; Wed, 29 Nov 1995 15:21:53 -0700 From: Terry Lambert Message-Id: <199511292221.PAA28853@phaeton.artisoft.com> Subject: Re: schg flag on make world in -CURRENT To: roberto@keltia.freenix.fr (Ollivier Robert) Date: Wed, 29 Nov 1995 15:21:53 -0700 (MST) Cc: terry@lambert.org, jkh@time.cdrom.com, joerg_wunsch@uriah.heep.sax.de, freebsd-current@freebsd.org In-Reply-To: <199511292147.WAA03797@keltia.freenix.fr> from "Ollivier Robert" at Nov 29, 95 10:47:24 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 367 Sender: owner-current@freebsd.org Precedence: bulk > Clear-text asswords should be dead. Period. ^^^^^^^^ > > Arguing about "secure" on pty is not enough. Logging as "root" is a > mistake, especially across a network. Your Freudian slip is showing. 8-). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-current Wed Nov 29 15:07:40 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA29882 for current-outgoing; Wed, 29 Nov 1995 15:07:40 -0800 Received: from hub.org (hub.org [199.166.238.138]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id PAA29824 ; Wed, 29 Nov 1995 15:06:56 -0800 Received: (from scrappy@localhost) by hub.org (8.7.1/8.7.1) id SAA08683; Wed, 29 Nov 1995 18:04:49 -0500 (EST) Date: Wed, 29 Nov 1995 18:04:44 -0500 (EST) From: "Marc G. Fournier" To: current@freebsd.org cc: hackers@freebsd.org Subject: Concatenated Drives ... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk Hi... I've seen some discussions go by dealing with the ability to make multiple drives look like one big drive, and I'm curious as to what is involved in doing so? Mainly, isn't that what the swap devices are doing already? Or is there something extra that needs to be added when combining several drives into one virtual drive? This is purely out of curiosity... Marc G. Fournier | POP Mail Telnet Acct DNS Hosting scrappy@hub.org | WWW Services Database Services | Knowledge, soon to be: | | Information and scrappy@ki.net | WWW: http://hub.org | Communications, Inc From owner-freebsd-current Wed Nov 29 16:40:58 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA07650 for current-outgoing; Wed, 29 Nov 1995 16:40:58 -0800 Received: from rocky.sri.MT.net (rocky.sri.MT.net [204.182.243.10]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id QAA07644 for ; Wed, 29 Nov 1995 16:40:53 -0800 Received: (from nate@localhost) by rocky.sri.MT.net (8.6.12/8.6.12) id RAA22160; Wed, 29 Nov 1995 17:43:07 -0700 Date: Wed, 29 Nov 1995 17:43:07 -0700 From: Nate Williams Message-Id: <199511300043.RAA22160@rocky.sri.MT.net> To: Terry Lambert Cc: p.richards@elsevier.co.uk (Paul Richards), freebsd-current@freebsd.org Subject: Re: schg flag on make world in -CURRENT In-Reply-To: <199511292212.PAA28788@phaeton.artisoft.com> References: <199511290956.JAA13824@isis> <199511292212.PAA28788@phaeton.artisoft.com> Sender: owner-current@freebsd.org Precedence: bulk > > I see some merit though in preventing root access period from insecure > > pty's. If it was an added security level I'd be in favour of it. There > > are machines where I'd like to disable remote root access completely. > > Good idea. If you bump the secure level, you have to use a secure line > to enter the root password. This satisfy everyone? I think that's fair enough. If I hear you correctly, you'd have to modify 'su' to only run on secure terminals if you are the non-default secure level? Nate From owner-freebsd-current Wed Nov 29 16:52:47 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA08503 for current-outgoing; Wed, 29 Nov 1995 16:52:47 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id QAA08491 for ; Wed, 29 Nov 1995 16:52:39 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id BAA16861 for ; Thu, 30 Nov 1995 01:52:15 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id BAA11937 for freebsd-current@FreeBSD.org; Thu, 30 Nov 1995 01:52:14 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id BAA17271 for freebsd-current@FreeBSD.org; Thu, 30 Nov 1995 01:51:00 +0100 From: J Wunsch Message-Id: <199511300051.BAA17271@uriah.heep.sax.de> Subject: Re: select() and setrlimit() broken (fwd) To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Thu, 30 Nov 1995 01:51:00 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "-Vince-" at Nov 29, 95 11:52:41 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 485 Sender: owner-current@FreeBSD.org Precedence: bulk As -Vince- wrote: > > > Again: i cannot see anything changed between 2.0.5 and 2.1 here. > > Hmmm, could it be that it's just a change between 2.0.5 and -current? No, i've also verified this. Btw., by re-posting the message of your friend (that we've seen all ourselves) three times, you don't make it more important. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-current Wed Nov 29 16:53:51 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA08553 for current-outgoing; Wed, 29 Nov 1995 16:53:51 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id QAA08526 for ; Wed, 29 Nov 1995 16:53:11 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id BAA16869; Thu, 30 Nov 1995 01:52:24 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id BAA11940; Thu, 30 Nov 1995 01:52:23 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id BAA17196; Thu, 30 Nov 1995 01:47:30 +0100 From: J Wunsch Message-Id: <199511300047.BAA17196@uriah.heep.sax.de> Subject: Re: Recent changes to `dump' To: wollman@lcs.mit.edu (Garrett A. Wollman) Date: Thu, 30 Nov 1995 01:47:29 +0100 (MET) Cc: freebsd-current@FreeBSD.org (FreeBSD-current users) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <9511291600.AA06049@halloran-eldar.lcs.mit.edu> from "Garrett A. Wollman" at Nov 29, 95 11:00:42 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 784 Sender: owner-current@FreeBSD.org Precedence: bulk As Garrett A. Wollman wrote: > > > What does amanda say to the new dump? > > Well, let's put it this way. I jumped a little to a conclusion. > > Amanda hates the new format. I looked at the part of the code that > parses the dump output, found a reasonable-looking format line, and > compared it to dump's output. I then deleted the word `tape' and all > of my backups worked. Well, yes -- but the "tape" used to be there _before_ the recent changes! The only thing that has been changed in this line is that the obsolete second "DUMP:" is now missing. > ``You be the judge.'' What now? Re-include the "DUMP:"? -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-current Wed Nov 29 17:11:05 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA09668 for current-outgoing; Wed, 29 Nov 1995 17:11:05 -0800 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id RAA09607 ; Wed, 29 Nov 1995 17:10:47 -0800 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id SAA29251; Wed, 29 Nov 1995 18:04:53 -0700 From: Terry Lambert Message-Id: <199511300104.SAA29251@phaeton.artisoft.com> Subject: Re: Concatenated Drives ... To: scrappy@hub.org (Marc G. Fournier) Date: Wed, 29 Nov 1995 18:04:52 -0700 (MST) Cc: current@FreeBSD.org, hackers@FreeBSD.org In-Reply-To: from "Marc G. Fournier" at Nov 29, 95 06:04:44 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 4300 Sender: owner-current@FreeBSD.org Precedence: bulk > I've seen some discussions go by dealing with the > ability to make multiple drives look like one big drive, and I'm > curious as to what is involved in doing so? > > Mainly, isn't that what the swap devices are doing already? > Or is there something extra that needs to be added when combining > several drives into one virtual drive? Ideally (not-so-ideally follows), using devfs: 1) Allow a block device driver to specify offset + size relative to another driver. 2) Allow drivers to be stacked so that one logical drive can be a fragment of another. 3) Support creation of logical devices exported to the user via the devfs /dev name space. 4) Create a driver that exports a device given a tag mechanism on a drive for recognition. So you have: PHY: wdc0 target 0 start = 0 | size = | pdev = /dev/dsk/wdc0 | name = /dev/dsk/wdc0/d0 v LOG: OnTrack 6.x start =64 | size = - 64 | pdev = /dev/dsk/wdc0/d0 | name = /dev/dsk/wdc0/d0 v LOG: DOS partitioning start = 64 + | size = | pdev = /dev/dsk/wdc0/d0 | name = /dev/dsk/wdc0/d0/p1 | start = 64 + | size = | pdev = /dev/dsk/wdc0/d0 | name = /dev/dsk/wdc0/d0/p2 | start = 64 + | size = | pdev = /dev/dsk/wdc0/d0 | name = /dev/dsk/wdc0/d0/p3 | start = 64 + | size = | pdev = /dev/dsk/wdc0/d0 | name = /dev/dsk/wdc0/d0/p4 V LOG: Extended partitoning, if any | V LOG: Concatentation driver start = 0 size = pdev = /dev/dsk/ccd name = /dev/dsk/ccd/d0 Concatenation driver, operation: = - = - = + if > [fail operation] if < = + 64 + else = + 64 + :== Obviously, you can stick in media perfection at any layer, just like you put in OnTrack management. Also Obviously, DOS partitioning, OpenFirmware partitioning, DOS extended partitioning, BSD disk slices, OSF disk slices, and Sun disk slices, etc., are all memebrs of the same class of driver and can be layered freely. A device that overlays a device that does not change sector ordering (ie: does not do bad sector replacement, etc.) can be collapsed to a single start/offset reference, making the code no more overhead than the current partition handling, and less overhead than the disk-slice-on-DOS-partition handling. Graphs containing removable media are not collapsed down, only up. The full theory of operation is: You register all physical devices. For each unclaimed logical or physical device in the system, you ask each logical driver to claim the device. A CCD (really, a "volume spanning driver") will only claim logical devices when the full set is present. You repeat this until no more logical devices are added, and no more are claimed (this last is because you might have a volume spanning driver layered on another, such as two or more stripe sets, which would delay the claiming of the final device by N+1 for each logical device that consisted of multiple logical or phsical devices). For each file system is asked to claim each logical device. Claimed devices are considered "mounted". Not-so-ideally: For the current code set, which can't support this, you can write a CCD driver (or port NetBSD's) with little effort. It operates by making a block major/minor dev that refers to multiple physical volume vnodes, and referencing the device vnodes (which it vn_open's internally). It does not protect against access to the underlying file systems. Regards, Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-current Wed Nov 29 17:13:27 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA09961 for current-outgoing; Wed, 29 Nov 1995 17:13:27 -0800 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id RAA09949 for ; Wed, 29 Nov 1995 17:13:06 -0800 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id SAA29264; Wed, 29 Nov 1995 18:06:13 -0700 From: Terry Lambert Message-Id: <199511300106.SAA29264@phaeton.artisoft.com> Subject: Re: schg flag on make world in -CURRENT To: nate@rocky.sri.MT.net (Nate Williams) Date: Wed, 29 Nov 1995 18:06:13 -0700 (MST) Cc: terry@lambert.org, p.richards@elsevier.co.uk, freebsd-current@FreeBSD.ORG In-Reply-To: <199511300043.RAA22160@rocky.sri.MT.net> from "Nate Williams" at Nov 29, 95 05:43:07 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 770 Sender: owner-current@FreeBSD.ORG Precedence: bulk > > > I see some merit though in preventing root access period from insecure > > > pty's. If it was an added security level I'd be in favour of it. There > > > are machines where I'd like to disable remote root access completely. > > > > Good idea. If you bump the secure level, you have to use a secure line > > to enter the root password. This satisfy everyone? > > I think that's fair enough. If I hear you correctly, you'd have to > modify 'su' to only run on secure terminals if you are the non-default > secure level? Yes. A sysctl could return the information. You fail the check at the "wheel" group check in "su". Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-current Wed Nov 29 22:04:27 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA27671 for current-outgoing; Wed, 29 Nov 1995 22:04:27 -0800 Received: (from julian@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA27657 for current; Wed, 29 Nov 1995 22:04:21 -0800 Date: Wed, 29 Nov 1995 22:04:21 -0800 From: Julian Elischer Message-Id: <199511300604.WAA27657@freefall.freebsd.org> To: current Subject: changes in -current..TEST please Sender: owner-current@FreeBSD.ORG Precedence: bulk If you sup a copy of -current from now on, I'd like to ask you to include the option JREMOD. options JREMOD in your next kernel compile.. I have it running here but it need more beating on.. it should run IDENTICALLY to before if you have DDB, I'd like any reports of strange crashes have a look at what JREMOD does in /sys/i386/i386/conf.c to see tha scope of the change. julian From owner-freebsd-current Thu Nov 30 00:23:22 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA07220 for current-outgoing; Thu, 30 Nov 1995 00:23:22 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id AAA07136 for ; Thu, 30 Nov 1995 00:21:47 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id JAA28508; Thu, 30 Nov 1995 09:21:08 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id JAA14404; Thu, 30 Nov 1995 09:20:52 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id IAA18766; Thu, 30 Nov 1995 08:58:00 +0100 From: J Wunsch Message-Id: <199511300758.IAA18766@uriah.heep.sax.de> Subject: Re: new calendar(1), please test To: wollman@lcs.mit.edu (Garrett A. Wollman) Date: Thu, 30 Nov 1995 08:57:59 +0100 (MET) Cc: wosch@cs.tu-berlin.de, current@FreeBSD.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <9511281526.AA03545@halloran-eldar.lcs.mit.edu> from "Garrett A. Wollman" at Nov 28, 95 10:26:04 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 229 Sender: owner-current@FreeBSD.org Precedence: bulk As Garrett A. Wollman wrote: > > `calendar -a' needs to die. Why? -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-current Thu Nov 30 03:58:35 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id DAA20446 for current-outgoing; Thu, 30 Nov 1995 03:58:35 -0800 Received: from mail.barrnet.net (mail.barrnet.net [131.119.246.7]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id DAA20441 for ; Thu, 30 Nov 1995 03:58:33 -0800 From: sycheng@cis.ufl.edu Received: from sloop.cis.ufl.edu (sloop.cis.ufl.edu [128.227.176.62]) by mail.barrnet.net (8.7.1/MAIL-RELAY-LEN) with SMTP id DAA28762 for ; Thu, 30 Nov 1995 03:58:25 -0800 (PST) Received: by sloop.cis.ufl.edu (8.6.12/cis.ufl.edu) id GAA08561; Thu, 30 Nov 1995 06:55:26 -0500 Date: Thu, 30 Nov 1995 06:55:26 -0500 Message-Id: <199511301155.GAA08561@sloop.cis.ufl.edu> To: freebsd-current@freebsd.org Subject: xconsole: Couldn't open console Sender: owner-current@freebsd.org Precedence: bulk Hi : Please forgive me if this is a stupid question. the "xconsole" on my machine always generate "Couldn't open console" message. I do include the "UCONSOLE" and "XSERVER" options but still got no luck. Could anyone tell me why ? I am using the lastest current codes. Thanks. -- SY From owner-freebsd-current Thu Nov 30 06:14:32 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA02805 for current-outgoing; Thu, 30 Nov 1995 06:14:32 -0800 Received: from id.slip.bcm.tmc.edu (root@[128.249.250.138]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id GAA02792 for ; Thu, 30 Nov 1995 06:14:27 -0800 Received: (from rich@localhost) by id.slip.bcm.tmc.edu (8.6.12/8.6.9) id IAA10596; Thu, 30 Nov 1995 08:12:33 -0600 Date: Thu, 30 Nov 1995 08:12:33 -0600 From: Rich Murphey Message-Id: <199511301412.IAA10596@id.slip.bcm.tmc.edu> To: sycheng@cis.ufl.edu CC: freebsd-current@freebsd.org In-reply-to: <199511301155.GAA08561@sloop.cis.ufl.edu> (sycheng@cis.ufl.edu) Subject: Re: xconsole: Couldn't open console Reply-to: rich@lamprey.utmb.edu Sender: owner-current@freebsd.org Precedence: bulk |From: sycheng@cis.ufl.edu | | | Hi : | | Please forgive me if this is a stupid question. the "xconsole" on my | machine always generate "Couldn't open console" message. I do include the | "UCONSOLE" and "XSERVER" options but still got no luck. Could anyone tell | me why ? I am using the lastest current codes. When you log in to the first console (ttyv0) the ownership of /dev/console should change to your login id. This is configured by an entry in /etc/fbtab: /dev/ttyv0 0600 /dev/ttyv0:/dev/console Make sure that /dev/console is owned by you when you start xconsole. Rich From owner-freebsd-current Thu Nov 30 07:57:11 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA24572 for current-outgoing; Thu, 30 Nov 1995 07:57:11 -0800 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id HAA24558 for ; Thu, 30 Nov 1995 07:57:06 -0800 Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA08552; Thu, 30 Nov 1995 10:50:48 -0500 Date: Thu, 30 Nov 1995 10:50:48 -0500 From: "Garrett A. Wollman" Message-Id: <9511301550.AA08552@halloran-eldar.lcs.mit.edu> To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Cc: wollman@lcs.mit.edu (Garrett A. Wollman), wosch@cs.tu-berlin.de, current@FreeBSD.org Subject: Re: new calendar(1), please test In-Reply-To: <199511300758.IAA18766@uriah.heep.sax.de> References: <9511281526.AA03545@halloran-eldar.lcs.mit.edu> <199511300758.IAA18766@uriah.heep.sax.de> Sender: owner-current@FreeBSD.org Precedence: bulk < said: > As Garrett A. Wollman wrote: >> >> `calendar -a' needs to die. > Why? Because it's a bad idea, particular with networked home directories, but also in general. (If I want the output of `calendar' mailed to me, I'll set up a cron job to do it myself, or run it from my .profile.) -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant From owner-freebsd-current Thu Nov 30 10:32:46 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA09198 for current-outgoing; Thu, 30 Nov 1995 10:32:46 -0800 Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.20.4]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id KAA09191 for ; Thu, 30 Nov 1995 10:32:43 -0800 Received: (from jgreco@localhost) by brasil.moneng.mei.com (8.7.Beta.1/8.7.Beta.1) id MAA01422; Thu, 30 Nov 1995 12:25:45 -0600 From: Joe Greco Message-Id: <199511301825.MAA01422@brasil.moneng.mei.com> Subject: Re: schg flag on make world in -CURRENT To: terry@lambert.org (Terry Lambert) Date: Thu, 30 Nov 1995 12:25:45 -0600 (CST) Cc: jkh@time.cdrom.com, terry@lambert.org, joerg_wunsch@uriah.heep.sax.de, freebsd-current@freebsd.org In-Reply-To: <199511292204.PAA28746@phaeton.artisoft.com> from "Terry Lambert" at Nov 29, 95 03:04:01 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-current@freebsd.org Precedence: bulk > > Terry, I don't think su is broken. Think about su in an environment where > > you: (1) are in an xterm (2) telnetted in via encrypted telnet (3) etc. > > I buy the encrypted telnet. > > I don't buy the xterm, unless it's local. > > What you want is a flag on the pty (settable only by root) to tell it > the client is from a local or secure connection. An encrypted telnetd > would set it. A regular telnetd would not. A local xterm or screen, > etc., would set it. A remotely displayed xterm would not. > > The "secure" really wants to be an attribute of the tty or slave pty > (as set by an suid program on the master), etc. So I have several networks that I would consider to be secure because there is minimal (or no) connectivity to the outside world. Maybe I don't necessarily care if I can log in as root, but would at least like to be able to su, knowing full well that the likelihood of my passwords being intercepted was minimal at best... :-) How does this deal with that? As I said originally, sometimes perhaps you just have to trust that root knows what the deal is... and have good root passwords ;-) ... JG From owner-freebsd-current Thu Nov 30 10:47:52 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA10336 for current-outgoing; Thu, 30 Nov 1995 10:47:52 -0800 Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.20.4]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id KAA10310 ; Thu, 30 Nov 1995 10:47:47 -0800 Received: (from jgreco@localhost) by brasil.moneng.mei.com (8.7.Beta.1/8.7.Beta.1) id MAA02173; Thu, 30 Nov 1995 12:46:37 -0600 From: Joe Greco Message-Id: <199511301846.MAA02173@brasil.moneng.mei.com> Subject: Re: Concatenated Drives ... To: scrappy@hub.org (Marc G. Fournier) Date: Thu, 30 Nov 1995 12:46:36 -0600 (CST) Cc: current@FreeBSD.ORG, hackers@FreeBSD.ORG In-Reply-To: from "Marc G. Fournier" at Nov 29, 95 06:04:44 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-current@FreeBSD.ORG Precedence: bulk > Hi... > > I've seen some discussions go by dealing with the > ability to make multiple drives look like one big drive, and I'm > curious as to what is involved in doing so? > > Mainly, isn't that what the swap devices are doing already? > Or is there something extra that needs to be added when combining > several drives into one virtual drive? > > This is purely out of curiosity... An issue at which I am once again looking... I have several "perfect applications" for this but I really don't know a lot about kernel device drivers, so anyone else interested and willing to help - please do! ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/342-4847 From owner-freebsd-current Thu Nov 30 11:24:01 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA13603 for current-outgoing; Thu, 30 Nov 1995 11:24:01 -0800 Received: from lightlink.satcom.net (iidpwr@lightlink.satcom.net [204.33.174.10]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA13573 for ; Thu, 30 Nov 1995 11:23:59 -0800 Received: (from iidpwr@localhost) by lightlink.satcom.net (8.6.12/8.6.9) id LAA27418; Thu, 30 Nov 1995 11:30:39 -0800 Date: Thu, 30 Nov 1995 11:30:39 -0800 From: Imperial Irrigation District Message-Id: <199511301930.LAA27418@lightlink.satcom.net> To: freebsd-current@freebsd.org, sycheng@cis.ufl.edu Subject: Re: xconsole: Couldn't open console Sender: owner-current@freebsd.org Precedence: bulk You are not alone. I have the same problem too. From owner-freebsd-current Thu Nov 30 11:49:35 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA16137 for current-outgoing; Thu, 30 Nov 1995 11:49:35 -0800 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA16123 ; Thu, 30 Nov 1995 11:49:30 -0800 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id MAA01283; Thu, 30 Nov 1995 12:44:22 -0700 From: Terry Lambert Message-Id: <199511301944.MAA01283@phaeton.artisoft.com> Subject: Re: changes in -current..TEST please To: julian@freefall.freebsd.org (Julian Elischer) Date: Thu, 30 Nov 1995 12:44:22 -0700 (MST) Cc: current@freefall.freebsd.org In-Reply-To: <199511300604.WAA27657@freefall.freebsd.org> from "Julian Elischer" at Nov 29, 95 10:04:21 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 555 Sender: owner-current@FreeBSD.ORG Precedence: bulk > If you sup a copy of -current from now on, > I'd like to ask you to include the option JREMOD. > > options JREMOD > > in your next kernel compile.. > I have it running here but it need more beating on.. > > it should run IDENTICALLY to before > if you have DDB, I'd like any reports of strange > crashes > > have a look at what JREMOD does in /sys/i386/i386/conf.c > to see tha scope of the change. Woo! Woo! Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-current Thu Nov 30 11:59:33 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA17422 for current-outgoing; Thu, 30 Nov 1995 11:59:33 -0800 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA17399 for ; Thu, 30 Nov 1995 11:59:16 -0800 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id MAA01295; Thu, 30 Nov 1995 12:46:35 -0700 From: Terry Lambert Message-Id: <199511301946.MAA01295@phaeton.artisoft.com> Subject: Re: schg flag on make world in -CURRENT To: jgreco@brasil.moneng.mei.com (Joe Greco) Date: Thu, 30 Nov 1995 12:46:35 -0700 (MST) Cc: terry@lambert.org, jkh@time.cdrom.com, joerg_wunsch@uriah.heep.sax.de, freebsd-current@freebsd.org In-Reply-To: <199511301825.MAA01422@brasil.moneng.mei.com> from "Joe Greco" at Nov 30, 95 12:25:45 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 943 Sender: owner-current@freebsd.org Precedence: bulk > So I have several networks that I would consider to be secure because there > is minimal (or no) connectivity to the outside world. Maybe I don't > necessarily care if I can log in as root, but would at least like to be able > to su, knowing full well that the likelihood of my passwords being > intercepted was minimal at best... :-) > > How does this deal with that? As I said originally, sometimes perhaps you > just have to trust that root knows what the deal is... and have good root > passwords ;-) I should think that would be obvious; Drop the system secure level. How far you drop it depends on whether you think you should have to shut down to single user mode to modify "system critical" files if you are already in a secure environment. Personally, in that sitaution, I'd pick -1. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-current Thu Nov 30 12:55:46 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA23043 for current-outgoing; Thu, 30 Nov 1995 12:55:46 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id MAA22988 for ; Thu, 30 Nov 1995 12:53:54 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id VAA05448; Thu, 30 Nov 1995 21:52:30 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id VAA18851; Thu, 30 Nov 1995 21:52:30 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id VAA20238; Thu, 30 Nov 1995 21:42:08 +0100 From: J Wunsch Message-Id: <199511302042.VAA20238@uriah.heep.sax.de> Subject: Re: new calendar(1), please test To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Thu, 30 Nov 1995 21:42:08 +0100 (MET) Cc: joerg_wunsch@uriah.heep.sax.de, wollman@lcs.mit.edu, wosch@cs.tu-berlin.de Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <9511301550.AA08552@halloran-eldar.lcs.mit.edu> from "Garrett A. Wollman" at Nov 30, 95 10:50:48 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 708 Sender: owner-current@FreeBSD.org Precedence: bulk As Garrett A. Wollman wrote: > > >> `calendar -a' needs to die. > > > Why? > > Because it's a bad idea, particular with networked home directories, > but also in general. (If I want the output of `calendar' mailed to > me, I'll set up a cron job to do it myself, or run it from my > .profile.) So we should convert the -a option into another option that would process the calendar file, match the entries for today and tomorrow, and finally print them on stdout. This way, the user is free to use _this_ option in order to mail the output. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-current Thu Nov 30 13:00:27 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA23440 for current-outgoing; Thu, 30 Nov 1995 13:00:27 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id MAA22930 for ; Thu, 30 Nov 1995 12:52:43 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id VAA05444; Thu, 30 Nov 1995 21:52:26 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id VAA18850; Thu, 30 Nov 1995 21:52:26 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id VAA20203; Thu, 30 Nov 1995 21:38:06 +0100 From: J Wunsch Message-Id: <199511302038.VAA20203@uriah.heep.sax.de> Subject: Re: xconsole: Couldn't open console To: sycheng@cis.ufl.edu Date: Thu, 30 Nov 1995 21:38:06 +0100 (MET) Cc: freebsd-current@freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199511301155.GAA08561@sloop.cis.ufl.edu> from "sycheng@cis.ufl.edu" at Nov 30, 95 06:55:26 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 859 Sender: owner-current@freebsd.org Precedence: bulk As sycheng@cis.ufl.edu wrote: > > > Please forgive me if this is a stupid question. the "xconsole" on my > machine always generate "Couldn't open console" message. I do include the > "UCONSOLE" and "XSERVER" options but still got no luck. Could anyone tell > me why ? I am using the lastest current codes. Who's the owner of your /dev/console? If you're not running xdm (and use the GiveConsole/TakeConsole scripts for chown'ing /dev/console), it's likely that your console device ain't owned by yourself. Option "XSERVER" is only still needed with pcvt, and option "UCONSOLE" just means that non-root users are allowed to redirect the console, provided they can open /dev/console. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-current Thu Nov 30 13:10:26 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA23930 for current-outgoing; Thu, 30 Nov 1995 13:10:26 -0800 Received: from jhome.DIALix.COM (root@jhome.DIALix.COM [192.203.228.69]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id NAA23922 for ; Thu, 30 Nov 1995 13:10:18 -0800 Received: (from peter@localhost) by jhome.DIALix.COM (8.7.2/8.7.2) id FAA22277; Fri, 1 Dec 1995 05:10:09 +0800 (WST) Date: Fri, 1 Dec 1995 05:10:09 +0800 (WST) From: Peter Wemm To: current@freebsd.org Subject: Sendmail-8.7.2 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk I guess this is kind of a 24 hour warning... I was just about to import sendmail-8.7.2 after having threatened and promised to do so for quite some time.. Anyway, I'm running out of energy (it's 5AM) so now might not be a really good time.. :-) I'll leave it for about 24 hours... (and do the known bugfix for 8.7.2 as well for those on the sendmail-beta list...) The main reason for doing this now, is that freefall could _really_ use an additional hand on it's queues with the current state of disaster in internet connectivity in general. The number of unreachable hosts and unreachable name servers is causing pretty horrible congestion on freefall. The code has had 4 to 6 months of public scrutiny now, depending on how early you count the public betas. It fixes a massive number of bugs (including a security problem) from 8.6.12. One thing I've not decided on is what to do with the new mail.local, rmail and smrsh programs which are supplied. The mail.local and rmail releases included basically have more seatbelts and bugfixes, and are the official post-4.4Lite2 sources. I'm tempted to import them in the native distribution layout and use .PATH based stub Makefiles in bin/rmail and libexec/mail.local. Anybody have comments on what to do with these three auxillary programs that are now part of sendmail? Yes, it will happily run with the older (level 5) sendmail.cf files, although you can only activate some of the new features with the new (level 6) format sendmail.cf. -Peter From owner-freebsd-current Thu Nov 30 14:04:26 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA26824 for current-outgoing; Thu, 30 Nov 1995 14:04:26 -0800 Received: from hub.org (hub.org [199.166.238.138]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA26816 ; Thu, 30 Nov 1995 14:04:16 -0800 Received: (from scrappy@localhost) by hub.org (8.7.1/8.7.1) id QAA05704; Thu, 30 Nov 1995 16:56:02 -0500 (EST) Date: Thu, 30 Nov 1995 16:55:05 -0500 (EST) From: "Marc G. Fournier" To: Julian Elischer cc: current@freefall.freebsd.org Subject: Re: changes in -current..TEST please In-Reply-To: <199511300604.WAA27657@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.ORG Precedence: bulk On Wed, 29 Nov 1995, Julian Elischer wrote: > > If you sup a copy of -current from now on, > I'd like to ask you to include the option JREMOD. > > options JREMOD > > in your next kernel compile.. > I have it running here but it need more beating on.. > > it should run IDENTICALLY to before > if you have DDB, I'd like any reports of strange > crashes > > have a look at what JREMOD does in /sys/i386/i386/conf.c > to see tha scope of the change. > > Hi Julian... Just sup'd in the newest /usr/src/sys, and added options JREMOD to my config file, re'config'd and tried to recompile and got the following error: loading kernel kern_xxx.o: Undefined symbol `_dummy_cleanup' referenced *** Error code 1 Was there anything added to GENERIC that I might need to incorporate into my existing config file, other then JREMOD? Marc G. Fournier | POP Mail Telnet Acct DNS Hosting scrappy@hub.org | WWW Services Database Services | Knowledge, soon to be: | | Information and scrappy@ki.net | WWW: http://hub.org | Communications, Inc From owner-freebsd-current Thu Nov 30 16:30:37 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA08027 for current-outgoing; Thu, 30 Nov 1995 16:30:37 -0800 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id QAA08022 ; Thu, 30 Nov 1995 16:30:34 -0800 Received: (from julian@localhost) by ref.tfs.com (8.6.12/8.6.9) id QAA13067; Thu, 30 Nov 1995 16:29:40 -0800 From: Julian Elischer Message-Id: <199512010029.QAA13067@ref.tfs.com> Subject: Re: changes in -current..TEST please To: scrappy@hub.org (Marc G. Fournier) Date: Thu, 30 Nov 1995 16:29:40 -3200 (PST) Cc: julian@freefall.freebsd.org, current@freefall.freebsd.org In-Reply-To: from "Marc G. Fournier" at Nov 30, 95 04:55:05 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1349 Sender: owner-current@FreeBSD.ORG Precedence: bulk > > On Wed, 29 Nov 1995, Julian Elischer wrote: > > > > > If you sup a copy of -current from now on, > > I'd like to ask you to include the option JREMOD. > > > > options JREMOD > > > > in your next kernel compile.. > > I have it running here but it need more beating on.. > > > > it should run IDENTICALLY to before > > if you have DDB, I'd like any reports of strange > > crashes > > > > have a look at what JREMOD does in /sys/i386/i386/conf.c > > to see tha scope of the change. > > > > > > Hi Julian... > > Just sup'd in the newest /usr/src/sys, and added options JREMOD > to my config file, re'config'd and tried to recompile and got the following > error: > > loading kernel > kern_xxx.o: Undefined symbol `_dummy_cleanup' referenced > *** Error code 1 > > Was there anything added to GENERIC that I might need to > incorporate into my existing config file, other then JREMOD? no I have a running kernel here... I just took my usual config file and added JREMOD can you send me your config file? (have you updated config recently) > > > > Marc G. Fournier | POP Mail Telnet Acct DNS Hosting > scrappy@hub.org | WWW Services Database Services | Knowledge, > soon to be: | | Information and > scrappy@ki.net | WWW: http://hub.org | Communications, Inc > > From owner-freebsd-current Thu Nov 30 16:34:16 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA08304 for current-outgoing; Thu, 30 Nov 1995 16:34:16 -0800 Received: from hub.org (hub.org [199.166.238.138]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id QAA08286 ; Thu, 30 Nov 1995 16:34:04 -0800 Received: (from scrappy@localhost) by hub.org (8.7.1/8.7.1) id TAA07424; Thu, 30 Nov 1995 19:33:07 -0500 (EST) Date: Thu, 30 Nov 1995 19:33:03 -0500 (EST) From: "Marc G. Fournier" To: Julian Elischer cc: julian@freefall.freebsd.org, current@freefall.freebsd.org Subject: Re: changes in -current..TEST please In-Reply-To: <199512010029.QAA13067@ref.tfs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.ORG Precedence: bulk On Thu, 30 Nov 1995, Julian Elischer wrote: > > > > On Wed, 29 Nov 1995, Julian Elischer wrote: > > > > > > > > If you sup a copy of -current from now on, > > > I'd like to ask you to include the option JREMOD. > > > > > > options JREMOD > > > > > > in your next kernel compile.. > > > I have it running here but it need more beating on.. > > > > > > it should run IDENTICALLY to before > > > if you have DDB, I'd like any reports of strange > > > crashes > > > > > > have a look at what JREMOD does in /sys/i386/i386/conf.c > > > to see tha scope of the change. > > > > > > > > > > Hi Julian... > > > > Just sup'd in the newest /usr/src/sys, and added options JREMOD > > to my config file, re'config'd and tried to recompile and got the following > > error: > > > > loading kernel > > kern_xxx.o: Undefined symbol `_dummy_cleanup' referenced > > *** Error code 1 > > > > Was there anything added to GENERIC that I might need to > > incorporate into my existing config file, other then JREMOD? > > no I have a running kernel here... > I just took my usual config file and added JREMOD > > can you send me your config file? > (have you updated config recently) I'm using the config that was 'sup'd in as most recent...the old one that is installed doesn't config properly There ya go...same 'hub' config file I've been using, with nothing removed or added except for JREMOD... # # GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks # # GENERIC,v 1.45.2.3 1995/06/05 21:50:41 jkh Exp # machine "i386" cpu "I386_CPU" ident hub maxusers 10 options JREMOD options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking options FFS #Berkeley Fast Filesystem options MSDOSFS #MSDOS Filesystem options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 options "SCSI_DELAY=15" #Be pessimistic about Joe SCSI device options BOUNCE_BUFFERS #include support for DMA bounce buffers options UCONSOLE #Allow users to grab the console config kernel root on wd0 options SYSVSHM options SYSVSEM options SYSVMSG controller isa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 disk fd1 at fdc0 drive 1 controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr disk wd0 at wdc0 drive 0 disk wd1 at wdc0 drive 1 controller ncr0 controller ahc0 controller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr controller scbus0 device sd0 device st0 device cd0 #Only need one of these, the code dynamically grows # syscons is the default console driver, resembling an SCO console #device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint options "PCVT_FREEBSD=210" # pcvt running on FreeBSD 2.1 #options "PCVT_NSCREENS=7" #options XSERVER # include code for XFree86 device npx0 at isa? port "IO_NPX" irq 13 vector npxintr device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr device lpt0 at isa? port? tty irq 7 vector lptintr # Order is important here due to intrusive probes, do *not* alphabetize # this list of network interfaces until the probes have been fixed. # Right now it appears that the ie0 must be probed before ep0. See # revision 1.20 of this file. device de0 pseudo-device loop pseudo-device ether pseudo-device log pseudo-device sl 1 # ijppp uses tun instead of ppp device #pseudo-device ppp 1 pseudo-device tun 1 pseudo-device pty 16 Marc G. Fournier | POP Mail Telnet Acct DNS Hosting scrappy@hub.org | WWW Services Database Services | Knowledge, soon to be: | | Information and scrappy@ki.net | WWW: http://hub.org | Communications, Inc From owner-freebsd-current Thu Nov 30 18:07:12 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA13071 for current-outgoing; Thu, 30 Nov 1995 18:07:12 -0800 Received: from hub.org (hub.org [199.166.238.138]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id SAA13066 for ; Thu, 30 Nov 1995 18:07:05 -0800 Received: (from scrappy@localhost) by hub.org (8.7.1/8.7.1) id VAA08153; Thu, 30 Nov 1995 21:06:49 -0500 (EST) Date: Thu, 30 Nov 1995 21:06:44 -0500 (EST) From: "Marc G. Fournier" To: current@freebsd.org Subject: compiling PPP...anyone notice this error? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk Hi... Just tried to compile *-current's ppp, in /usr/src/usr.sbin/ppp, and it failed with this error... Has anyone seen/fixed this, as of yet? cc -O6 -c route.c route.c: In function `DeleteIfRoutes': route.c:342: conversion to non-scalar type requested *** Error code 1 Stop. hub# grep DeleteIfRoutes *.c command.c: DeleteIfRoutes(0); main.c: DeleteIfRoutes(1); os.c: DeleteIfRoutes(0); route.c:DeleteIfRoutes(all) route.c: logprintf("DeleteIfRoutes (%d)\n", IfIndex); hub# grep DeleteIfRoutes *.h os.h:void DeleteIfRoutes __P((int)); hub# Marc G. Fournier | POP Mail Telnet Acct DNS Hosting scrappy@hub.org | WWW Services Database Services | Knowledge, soon to be: | | Information and scrappy@ki.net | WWW: http://hub.org | Communications, Inc From owner-freebsd-current Thu Nov 30 22:14:54 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA15394 for current-outgoing; Thu, 30 Nov 1995 22:14:54 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.222.226]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id WAA15385 for ; Thu, 30 Nov 1995 22:14:51 -0800 Received: (from jkh@localhost) by time.cdrom.com (8.6.12/8.6.9) id WAA10151 for current@freebsd.org; Thu, 30 Nov 1995 22:14:09 -0800 Date: Thu, 30 Nov 1995 22:14:09 -0800 From: "Jordan K. Hubbard" Message-Id: <199512010614.WAA10151@time.cdrom.com> To: current@freebsd.org Subject: Life in -current today. Sender: owner-current@freebsd.org Precedence: bulk ===> usr.sbin/pcvt/loadfont cc -O2 -m486 -pipe -o loadfont loadfont.o loadfont.o: Undefined symbol `___cmpdi2' referenced from text segment loadfont.o: Undefined symbol `___cmpdi2' referenced from text segment loadfont.o: Undefined symbol `___cmpdi2' referenced from text segment loadfont.o: Undefined symbol `___cmpdi2' referenced from text segment loadfont.o: Undefined symbol `___cmpdi2' referenced from text segment *** Error code 1 Stop. Feh? Didn't somebody just *remove* this one? :-( Jordan From owner-freebsd-current Thu Nov 30 22:31:28 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA18251 for current-outgoing; Thu, 30 Nov 1995 22:31:28 -0800 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id WAA18239 for ; Thu, 30 Nov 1995 22:31:24 -0800 Received: (from julian@localhost) by ref.tfs.com (8.6.12/8.6.9) id WAA15110; Thu, 30 Nov 1995 22:31:01 -0800 From: Julian Elischer Message-Id: <199512010631.WAA15110@ref.tfs.com> Subject: Re: changes in -current..TEST please To: julian@ref.tfs.com (Julian Elischer) Date: Thu, 30 Nov 1995 22:31:01 -3200 (PST) Cc: current@freebsd.org In-Reply-To: <199512010029.QAA13067@ref.tfs.com> from "Julian Elischer" at Nov 30, 95 04:29:40 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 882 Sender: owner-current@freebsd.org Precedence: bulk > > > > > > > Just sup'd in the newest /usr/src/sys, and added options JREMOD > > to my config file, re'config'd and tried to recompile and got the following > > error: > > > > loading kernel > > kern_xxx.o: Undefined symbol `_dummy_cleanup' referenced > > *** Error code 1 > > can you send me your config file? > (have you updated config recently) ok I just compiled your kernel... cc -O -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -nostdinc -I. -I../.. -I../../sys -I/usr/include -DI386_CPU -DPCVT_FREEBSD=210 -DSYSVMSG -DSYSVSEM -DSYSVSHM -DUCONSOLE -DBOUNCE_BUFFERS -DSCSI_DELAY=15 -DCOMPAT_43 -DPROCFS -DMSDOSFS -DFFS -DINET -DMATH_EMULATE -DJREMOD -DKERNEL -c vers.c loading kernel rearranging symbols text data bss dec hex 647168 53248 65684 766100 bb094 no problems.. you have something else broken.... julian From owner-freebsd-current Thu Nov 30 23:06:19 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA23113 for current-outgoing; Thu, 30 Nov 1995 23:06:19 -0800 Received: from mail.netvision.net.il (mail.NetVision.net.il [194.90.1.6]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id XAA23105 for ; Thu, 30 Nov 1995 23:06:15 -0800 Received: from gena@NetVision.net.il (gena@burka.NetVision.net.il [194.90.6.15]) by mail.netvision.net.il (8.6.12/8.6.10) with SMTP id JAA01174; Fri, 1 Dec 1995 09:06:18 +0200 Content-Length: 1275 Message-ID: X-Mailer: XFMail 0.4-alpha [p0] on FreeBSD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 In-Reply-To: <199512010631.WAA15110@ref.tfs.com> Reply-To: gena@NetVision.net.il X-Face: #v>4HN>#D_"[olq9y`HqTYkLVB89Xy|3')Vs9v58JQ*u-xEJVKY`xa.}E?z0RkLI/P&;BJmi0#u=W0).-Y'J4(dw{"54NhSG|YYZG@[)(`e! >jN#L!~qI5fE-JHS+< Organization: NetVision Ltd. Date: Fri, 01 Dec 1995 09:06:47 IST From: Gennady Sorokopud To: Julian Elischer Subject: Re: changes in -current..TEST please Cc: current@FreeBSD.org Sender: owner-current@FreeBSD.org Precedence: bulk Hello! I compiled my kernel with JREMOD and it's running just fine already 1.5 day= s. On 01-Dec-95 Julian Elischer wrote: >>>=20 >> >=20 >> >=20 >> > Just sup'd in the newest /usr/src/sys, and added options JREMOD >> > to my config file, re'config'd and tried to recompile and got the foll= owing >> > error: >> >=20 >> > loading kernel >> > kern_xxx.o: Undefined symbol `_dummy_cleanup' referenced >> > *** Error code 1 >>=20 >> can you send me your config file? >> (have you updated config recently) > >ok I just compiled your kernel... > >cc -O -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-ex= terns -nostdinc -I. -I../.. -I../../sys -I/usr/include -DI386_CPU -DPCVT_F= REEBSD!0 -DSYSVMSG -DSYSVSEM -DSYSVSHM -DUCONSOLE -DBOUNCE_BUFFERS -DSCSI_D= ELAY=15 -DCOMPAT_43 -DPROCFS> -DMSDOSFS -DFFS -DINET -DMATH_EMULATE -DJREMO= D -DKERNEL -c vers.c >loading kernel >rearranging symbols >text data bss dec hex >647168 53248 65684 766100 bb094 > >no problems.. >you have something else broken.... > >julian -------- Gennady B. Sorokopud - System programmer at NetVision Israel. E-Mail: Gennady Sorokopud Homepage: http://www.netvision.net.il/~gena This message was sent at 12/01/95 09:06:47 by XF-Mail From owner-freebsd-current Thu Nov 30 23:34:06 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA26388 for current-outgoing; Thu, 30 Nov 1995 23:34:06 -0800 Received: from sloop.cis.ufl.edu (sycheng@sloop.cis.ufl.edu [128.227.176.62]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id XAA26359 for ; Thu, 30 Nov 1995 23:33:59 -0800 Received: by sloop.cis.ufl.edu (8.6.12/cis.ufl.edu) id CAA14139; Fri, 1 Dec 1995 02:33:53 -0500 Date: Fri, 1 Dec 1995 02:33:53 -0500 Message-Id: <199512010733.CAA14139@sloop.cis.ufl.edu> From: sycheng@cis.ufl.edu (Hsiao-Yang Cheng) To: freebsd-current@freebsd.org Subject: (fwd) [Wanted] Tools to disable SEGATE HD power saving mode Newsgroups: comp.unix.bsd.freebsd.misc Organization: Dep. Computer & Info Science, U of Florida Sender: owner-current@freebsd.org Precedence: bulk Path: usenet.cis.ufl.edu!not-for-mail From: sycheng@cis.ufl.edu (Hsiao-Yang Cheng) Newsgroups: comp.unix.bsd.freebsd.misc Subject: [Wanted] Tools to disable SEGATE HD power saving mode Date: 30 Nov 1995 19:34:05 GMT Organization: Dep. Computer & Info Science, U of Florida Lines: 12 Message-ID: <49l0vd$4r5@sand.cis.ufl.edu> NNTP-Posting-Host: coconut.cis.ufl.edu X-Newsreader: TIN [UNIX 1.3 950824BETA PL0] Hi : Is there any tool which I can use like Linux's "hdparm" to disable the power saving feature of SEGATE hard drive ? Thanks. -- Cheng, Hsiao-Yang Graduate Student http://www.cis.ufl.edu/~sycheng Department of Computer Information Science \ E-mail: sycheng@cis.ufl.edu / University of Florida, Gainesville L______________________________| <> WE GROW GREAT BY DREAMS. ALL BIG ARE DREAMERS. <> -- Cheng, Hsiao-Yang Graduate Student http://www.cis.ufl.edu/~sycheng Department of Computer Information Science \ E-mail: sycheng@cis.ufl.edu / University of Florida, Gainesville L______________________________| <> WE GROW GREAT BY DREAMS. ALL BIG ARE DREAMERS. <> From owner-freebsd-current Fri Dec 1 00:20:13 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA08501 for current-outgoing; Fri, 1 Dec 1995 00:20:13 -0800 Received: from hub.org (hub.org [199.166.238.138]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id AAA08436 for ; Fri, 1 Dec 1995 00:20:06 -0800 Received: (from scrappy@localhost) by hub.org (8.7.1/8.7.1) id DAA12039; Fri, 1 Dec 1995 03:19:47 -0500 (EST) Date: Fri, 1 Dec 1995 03:19:41 -0500 (EST) From: "Marc G. Fournier" To: Julian Elischer cc: Julian Elischer , current@FreeBSD.org Subject: Re: changes in -current..TEST please In-Reply-To: <199512010631.WAA15110@ref.tfs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.org Precedence: bulk On Thu, 30 Nov 1995, Julian Elischer wrote: > > > > > > > > > > > Just sup'd in the newest /usr/src/sys, and added options JREMOD > > > to my config file, re'config'd and tried to recompile and got the following > > > error: > > > > > > loading kernel > > > kern_xxx.o: Undefined symbol `_dummy_cleanup' referenced > > > *** Error code 1 > > > > can you send me your config file? > > (have you updated config recently) > > ok I just compiled your kernel... > > cc -O -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -nostdinc -I. -I../.. -I../../sys -I/usr/include -DI386_CPU -DPCVT_FREEBSD=210 -DSYSVMSG -DSYSVSEM -DSYSVSHM -DUCONSOLE -DBOUNCE_BUFFERS -DSCSI_DELAY=15 -DCOMPAT_43 -DPROCF S -DMSDOSFS -DFFS -DINET -DMATH_EMULATE -DJREMOD -DKERNEL -c vers.c > loading kernel > rearranging symbols > text data bss dec hex > 647168 53248 65684 766100 bb094 > > no problems.. > you have something else broken.... > Okay, will clear it all out and try again. The only thing that I have new on the system is gcc 2.7.1, which I'm using to compile the kernel, but I've already compiled 2 using it, with no problems. the other thing I'm trying differently is using -O6 instead of -O, but ... that shouldn't hurt anything, should it? Marc G. Fournier | POP Mail Telnet Acct DNS Hosting scrappy@hub.org | WWW Services Database Services | Knowledge, soon to be: | | Information and scrappy@ki.net | WWW: http://hub.org | Communications, Inc From owner-freebsd-current Fri Dec 1 01:37:02 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA29226 for current-outgoing; Fri, 1 Dec 1995 01:37:02 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id BAA29199 for ; Fri, 1 Dec 1995 01:36:52 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id UAA08657; Fri, 1 Dec 1995 20:33:29 +1100 Date: Fri, 1 Dec 1995 20:33:29 +1100 From: Bruce Evans Message-Id: <199512010933.UAA08657@godzilla.zeta.org.au> To: current@freebsd.org, jkh@time.cdrom.com Subject: Re: Life in -current today. Sender: owner-current@freebsd.org Precedence: bulk >cc -O2 -m486 -pipe -o loadfont loadfont.o >loadfont.o: Undefined symbol `___cmpdi2' referenced from text segment >Feh? Didn't somebody just *remove* this one? :-( Somebody just found that ___cmpdi2 is used for switches on long long values. Switching on unsigned long long values was broken a month ago by removing ___ucmpdi2. Bruce From owner-freebsd-current Fri Dec 1 01:46:07 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA01810 for current-outgoing; Fri, 1 Dec 1995 01:46:07 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.222.226]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id BAA01772 ; Fri, 1 Dec 1995 01:45:58 -0800 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id BAA15659; Fri, 1 Dec 1995 01:45:57 -0800 To: joerg@freebsd.org cc: current@freebsd.org Subject: /sys/scsi/st.c and NEW_SCSICONF? Date: Fri, 01 Dec 1995 01:45:57 -0800 Message-ID: <15657.817811157@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-current@freebsd.org Precedence: bulk If you have NEW_SCSICONF defined in -current, it disables a block of defines in /sys/scsi/scsi_tape.h. All well and good, but one of those defines is "QIC_3080" which gets referenced in st.c regardless. I've conditionalized the QIC_3080 references in st.c on !NEW_SCSICONF as well and gotten past the problem for now, but I'm not sure if that's what the author(s) intended. Jordan From owner-freebsd-current Fri Dec 1 02:22:52 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA09172 for current-outgoing; Fri, 1 Dec 1995 02:22:52 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.222.226]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id CAA09159 for ; Fri, 1 Dec 1995 02:22:46 -0800 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id CAA15983; Fri, 1 Dec 1995 02:22:36 -0800 To: Bruce Evans cc: current@freebsd.org Subject: Re: Life in -current today. In-reply-to: Your message of "Fri, 01 Dec 1995 20:33:29 +1100." <199512010933.UAA08657@godzilla.zeta.org.au> Date: Fri, 01 Dec 1995 02:22:35 -0800 Message-ID: <15981.817813355@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-current@freebsd.org Precedence: bulk So, are we going to add them back? :-) Do you want me to go ahead and do so for both? Jordan > >cc -O2 -m486 -pipe -o loadfont loadfont.o > >loadfont.o: Undefined symbol `___cmpdi2' referenced from text segment > > >Feh? Didn't somebody just *remove* this one? :-( > > Somebody just found that ___cmpdi2 is used for switches on long long > values. Switching on unsigned long long values was broken a month ago > by removing ___ucmpdi2. > > Bruce From owner-freebsd-current Fri Dec 1 02:30:39 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA09939 for current-outgoing; Fri, 1 Dec 1995 02:30:39 -0800 Received: from mail.cs.tu-berlin.de (mail.cs.tu-berlin.de [130.149.17.13]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id CAA09892 for ; Fri, 1 Dec 1995 02:30:24 -0800 Received: from caramba.cs.tu-berlin.de (wosch@caramba.cs.tu-berlin.de [130.149.17.12]) by mail.cs.tu-berlin.de (8.6.12/8.6.12) with ESMTP id LAA16161; Fri, 1 Dec 1995 11:06:19 +0100 From: Wolfram Schneider Received: (wosch@localhost) by caramba.cs.tu-berlin.de (8.6.12/8.6.9) id LAA17570; Fri, 1 Dec 1995 11:06:13 +0100 Date: Fri, 1 Dec 1995 11:06:13 +0100 Message-Id: <199512011006.LAA17570@caramba.cs.tu-berlin.de> To: "Garrett A. Wollman" Cc: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch), current@FreeBSD.org Subject: Re: new calendar(1), please test In-Reply-To: <9511301550.AA08552@halloran-eldar.lcs.mit.edu> References: <9511281526.AA03545@halloran-eldar.lcs.mit.edu> <199511300758.IAA18766@uriah.heep.sax.de> <9511301550.AA08552@halloran-eldar.lcs.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-current@FreeBSD.org Precedence: bulk Garrett A. Wollman writes: >< said: >Because it's a bad idea, particular with networked home directories, >but also in general. (If I want the output of `calendar' mailed to >me, I'll set up a cron job to do it myself, or run it from my >.profile.) Agreed. I add the options -A and -B . Instead reading 20 calendar mails back from holiday just type: $ calendar -B 20 Wolfram From owner-freebsd-current Fri Dec 1 02:47:12 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA11388 for current-outgoing; Fri, 1 Dec 1995 02:47:12 -0800 Received: from critter.tfs.com ([140.145.230.252]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id CAA11383 for ; Fri, 1 Dec 1995 02:47:06 -0800 Received: from localhost.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.6.12/8.6.12) with SMTP id KAA00676; Fri, 1 Dec 1995 10:46:00 GMT X-Authentication-Warning: critter.tfs.com: Host localhost.tfs.com didn't use HELO protocol To: Julian Elischer cc: current@freebsd.org Subject: Re: changes in -current..TEST please In-reply-to: Your message of "Thu, 30 Nov 1995 22:31:01." <199512010631.WAA15110@ref.tfs.com> Date: Fri, 01 Dec 1995 10:45:58 +0000 Message-ID: <674.817814758@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-current@freebsd.org Precedence: bulk On a purely IDE system I get "panic: cannot mount root" :-( I love this change btw. Have you considered changing the type of cdevsw to be "array of pointer to..." -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so. From owner-freebsd-current Fri Dec 1 02:51:20 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA11770 for current-outgoing; Fri, 1 Dec 1995 02:51:20 -0800 Received: from critter.tfs.com ([140.145.230.252]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id CAA11765 for ; Fri, 1 Dec 1995 02:51:15 -0800 Received: from localhost.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.6.12/8.6.12) with SMTP id KAA00763; Fri, 1 Dec 1995 10:50:16 GMT X-Authentication-Warning: critter.tfs.com: Host localhost.tfs.com didn't use HELO protocol To: Bruce Evans cc: current@freebsd.org, jkh@time.cdrom.com Subject: Re: Life in -current today. In-reply-to: Your message of "Fri, 01 Dec 1995 20:33:29 +1100." <199512010933.UAA08657@godzilla.zeta.org.au> Date: Fri, 01 Dec 1995 10:50:15 +0000 Message-ID: <761.817815015@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-current@freebsd.org Precedence: bulk > >cc -O2 -m486 -pipe -o loadfont loadfont.o > >loadfont.o: Undefined symbol `___cmpdi2' referenced from text segment > > >Feh? Didn't somebody just *remove* this one? :-( > > Somebody just found that ___cmpdi2 is used for switches on long long > values. Switching on unsigned long long values was broken a month ago > by removing ___ucmpdi2. Well, we don't do that anywhere anyway :-) -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so. From owner-freebsd-current Fri Dec 1 02:53:28 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA12051 for current-outgoing; Fri, 1 Dec 1995 02:53:28 -0800 Received: from mail.cs.tu-berlin.de (mail.cs.tu-berlin.de [130.149.17.13]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id CAA11629 for ; Fri, 1 Dec 1995 02:48:55 -0800 Received: from caramba.cs.tu-berlin.de (wosch@caramba.cs.tu-berlin.de [130.149.17.12]) by mail.cs.tu-berlin.de (8.6.12/8.6.12) with ESMTP id LAA17677; Fri, 1 Dec 1995 11:36:46 +0100 From: Wolfram Schneider Received: (wosch@localhost) by caramba.cs.tu-berlin.de (8.6.12/8.6.9) id LAA18817; Fri, 1 Dec 1995 11:36:42 +0100 Date: Fri, 1 Dec 1995 11:36:42 +0100 Message-Id: <199512011036.LAA18817@caramba.cs.tu-berlin.de> To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) CC: current@freebsd.org Subject: Re: new calendar(1), please test In-Reply-To: <199511272202.XAA06878@uriah.heep.sax.de> References: <199511241704.SAA24107@caramba.cs.tu-berlin.de> <199511272202.XAA06878@uriah.heep.sax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-current@freebsd.org Precedence: bulk J. Wunsch writes: >As Wolfram Schneider wrote: >> >> calendar(1) try first 'calendar' in current directory and if >> not exist '~/.calendar/calendar'. > >I'd rather like to have it read ~/.calendar as a file, not a >directory. (~/calendar is the only file that usually shows up for an >``ls ~'' for me.) ~/.calendar/calendar is invisible like ~/.calendar for ``ls ~'' (non root user). A directory gives you much more flexibility. Wolfram -- Das Wichtigste im Leben eines Menschen ist der Paß (Bert Brecht) From owner-freebsd-current Fri Dec 1 04:12:11 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id EAA18935 for current-outgoing; Fri, 1 Dec 1995 04:12:11 -0800 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id EAA18928 for ; Fri, 1 Dec 1995 04:12:08 -0800 Received: (from julian@localhost) by ref.tfs.com (8.6.12/8.6.9) id EAA16013; Fri, 1 Dec 1995 04:10:30 -0800 From: Julian Elischer Message-Id: <199512011210.EAA16013@ref.tfs.com> Subject: Re: changes in -current..TEST please To: phk@critter.tfs.com (Poul-Henning Kamp) Date: Fri, 1 Dec 1995 04:10:29 -0800 (PST) Cc: current@freebsd.org In-Reply-To: <674.817814758@critter.tfs.com> from "Poul-Henning Kamp" at Dec 1, 95 10:45:58 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 902 Sender: owner-current@freebsd.org Precedence: bulk > > > On a purely IDE system I get "panic: cannot mount root" :-( > > I love this change btw. :) odd I had that problem here and fixed it.. (with scsi) can you add a printf in wd.c right at the point that it does bdevsw_add (line 2149) and check that 1/ it's called 2/ dev returns with the correct value (probably 0) I wonder if there is something requiring the values in earlier than that? > > Have you considered changing the type of cdevsw to be "array of pointer to.." yes that will happen but it takes quite a while to track down all the places it's accessed, and think about the consequences > > -- > Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. > http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. > whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. > Future will arrive by its own means, progress not so. > From owner-freebsd-current Fri Dec 1 04:53:13 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id EAA22038 for current-outgoing; Fri, 1 Dec 1995 04:53:13 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id EAA22026 for ; Fri, 1 Dec 1995 04:53:06 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id XAA17281; Fri, 1 Dec 1995 23:48:23 +1100 Date: Fri, 1 Dec 1995 23:48:23 +1100 From: Bruce Evans Message-Id: <199512011248.XAA17281@godzilla.zeta.org.au> To: freebsd-current@freebsd.org, sycheng@cis.ufl.edu Subject: Re: (fwd) [Wanted] Tools to disable SEGATE HD power saving mode Sender: owner-current@freebsd.org Precedence: bulk > Is there any tool which I can use like Linux's "hdparm" to disable > the power saving feature of SEGATE hard drive ? No but, cron activity might be enough to keep the drive awake, or you could try something like: #!/bin/sh while :; do sleep 60; echo -n 1; done >/var/run/nodoz Some Linuxer's used the program in the enclosed news to do the reverse before hdparm was in common use. Bruce Article 31724 of comp.os.linux.misc: Path: godzilla.zeta.org.au!warrane.connect.com.au!yarrina.connect.com.au!harbinger.cc.monash.edu.au!msunews!agate!ames!newsfeed.gsfc.nasa.gov!beowulf.gsfc.nasa.gov!not-for-mail From: becker@cesdis.gsfc.nasa.gov (Donald Becker) Newsgroups: comp.os.linux.misc,comp.os.linux.help,comp.os.linux.admin Subject: Re: Green-PC disk doesn't powerdown with Linux: why? Date: 24 Dec 1994 12:44:30 -0500 Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA Lines: 121 Message-ID: <3dhmlu$fqn@beowulf.gsfc.nasa.gov> References: NNTP-Posting-Host: beowulf.gsfc.nasa.gov Xref: godzilla.zeta.org.au comp.os.linux.misc:31724 comp.os.linux.help:71299 comp.os.linux.admin:20667 In article , Jeff Arnholt wrote: >I purchased a green motherboard and processor with the ambition of both >reducing my electric bills and being environmentally conscious. Under >DOS, the hard drive spins down after 30 minutes of non-use (having >set the BIOS to do this). Linux kept the drive spinning all night. >Other than an aberrant 'cron', what could be causing this activity? There has been some misinformation in answer to this thread. o The mechanism to spin down the disk when idle resides in the disk drive itself. Most modern (post-1991) IDE drives support this feature. Unlike most other "Green" features which require runtime OS support or additional motherboard chipset hardware, the BIOS merely sends the StandByTimer command to the drive. When the drive hasn't been accessed in 5*n seconds it spins itself down. o I've been using a trivial user-level program to do the same thing for two years. Mark Lord has an improved version included with his IDE package. o The dirty pages in the buffer cache of a traditional UNIX are flushed to disk every 30 seconds by the 'update' program doing a 'sync()' function call. Linux 1.0 followed this model, but Linux 1.1.* uses the modern 'bdflush' method of continuously dribbling dirty pages to disk. This shrinks the time window when file data may be lost if the machine is shut off and avoids losing interactive response every 30 seconds when doing large writes. o *Never* kill the update/bdflush process. Instead remove the source of the writes. Typical hidden writes are: - 'cron' in Slackware is configured to write a file in /tmp every minute. You should disable 'cron' completely unless you are using it. - Emacs auto-saves modified buffers. Check the variables auto-save-*. - Some kernel/drive combinations generate a warning message about the interrupt when the drive spins down. If you log that message with syslog, the disk immediately spins back up :^<. I'm typing this in bed with a laptop that spins down the disk down soon after I get my usual set of program started. /* diskdown.c: Shut down a IDE disk if there is no activity. Written by Donald Becker (becker@cesdis.gsfc.nasa.gov) for Linux. The version released under the Gnu Public License, incorportated herein by reference. This program must be run as 'root' or SUID 'root'. It takes a single optional parameter, the number of seconds to wait before going into standby mode. This program enables the spin-down feature which is standard in all modern IDE disks. A user-level program is a poor way to do this, but I got tired of patching it into my own kernels and I didn't feel I could maintain an Official Kernel Feature. This program, when combined with disks that are slow to spin up, may cause Linux kernels before 1.1.53 to log an error when the disk doesn't respond immediately. The kernel then resets the controller, and by that time the disk has spun up. One other annoying misfeature with older kernels is that the disk drive posts an interrupt when it goes into spin-down mode, the kernel doesn't know what the interrupt is from, and 'syslog' immediately spins the disk back up. The quick, sleazy solution is to configure 'syslog' to ignore those messages. The long-term solution is to upgrade to a kernel later then 1.1.53. */ #include #include #include #define IDE_BASE 0x1f0 #define IDE_SECTOR_CNT 0x1f2 #define IDE_CMD 0x1f7 #define PORTIO_ON 1 enum ide_cmd {StandbyImmediate=0xe0, IdleImmediate=0xe1, StandbyTimer=0xe2, IdleTimer=0xe3,}; main(int argc, char *argv[]) { int timeout; if (ioperm(IDE_BASE, 8, PORTIO_ON)) { perror("diskdown:ioperm()"); fprintf(stderr, "diskdown: You must run this program as root.\n"); return 1; } if (argc > 1) { timeout = atoi(argv[1]); if (timeout < 10) timeout = 60; } { int old_cnt = inb(IDE_SECTOR_CNT); /*printf("Old sector count: %d.\n", old_cnt);*/ /* The timeout period is in units of 5 seconds, up to an index of 240. Values over 240 (20 minutes) set vendor-specific timeouts. */ outb((timeout + 4)/5,IDE_SECTOR_CNT); outb(StandbyTimer, IDE_CMD); outb(old_cnt,IDE_SECTOR_CNT); } return 0; } /* * Local variables: * compile-command: "gcc -O6 -o diskdown diskdown.c" * comment-column: 32 * End: */ -- Donald Becker becker@cesdis.gsfc.nasa.gov USRA-CESDIS, Center of Excellence in Space Data and Information Sciences. Code 930.5, Goddard Space Flight Center, Greenbelt, MD. 20771 301-286-0882 http://cesdis.gsfc.nasa.gov/pub/people/becker/whoiam.html From owner-freebsd-current Fri Dec 1 04:57:02 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id EAA22318 for current-outgoing; Fri, 1 Dec 1995 04:57:02 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id EAA22309 for ; Fri, 1 Dec 1995 04:56:56 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id XAA17404; Fri, 1 Dec 1995 23:52:33 +1100 Date: Fri, 1 Dec 1995 23:52:33 +1100 From: Bruce Evans Message-Id: <199512011252.XAA17404@godzilla.zeta.org.au> To: julian@ref.tfs.com, scrappy@hub.org Subject: Re: changes in -current..TEST please Cc: current@freebsd.org Sender: owner-current@freebsd.org Precedence: bulk > the other thing I'm trying differently is using -O6 instead of >-O, but ... that shouldn't hurt anything, should it? Yes, -O2 gives -fstrength-reduce which is broken at least in gcc-2.6.3 through gcc-2.7.1. Bruce From owner-freebsd-current Fri Dec 1 06:45:22 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA29042 for current-outgoing; Fri, 1 Dec 1995 06:45:22 -0800 Received: from critter.tfs.com ([140.145.230.252]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id GAA29037 for ; Fri, 1 Dec 1995 06:45:19 -0800 Received: from localhost.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.6.12/8.6.12) with SMTP id OAA09569; Fri, 1 Dec 1995 14:44:16 GMT X-Authentication-Warning: critter.tfs.com: Host localhost.tfs.com didn't use HELO protocol To: Julian Elischer cc: current@freebsd.org Subject: Re: changes in -current..TEST please In-reply-to: Your message of "Fri, 01 Dec 1995 04:10:29 PST." <199512011210.EAA16013@ref.tfs.com> Date: Fri, 01 Dec 1995 14:44:16 +0000 Message-ID: <9567.817829056@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-current@freebsd.org Precedence: bulk > > Have you considered changing the type of cdevsw to be "array of pointer to. ." > > yes that will happen but it takes quite a while to track down all the places > it's accessed, and think about the consequences Just change the name to pcdevsw and see where it complains :-) -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so. From owner-freebsd-current Fri Dec 1 10:17:26 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA15168 for current-outgoing; Fri, 1 Dec 1995 10:17:26 -0800 Received: from hauki.clinet.fi (root@hauki.clinet.fi [194.100.0.1]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id KAA15162 for ; Fri, 1 Dec 1995 10:17:18 -0800 Received: from katiska.clinet.fi (root@katiska.clinet.fi [194.100.0.4]) by hauki.clinet.fi (8.6.12/8.6.4) with ESMTP id UAA25602 for ; Fri, 1 Dec 1995 20:17:11 +0200 Received: (hsu@localhost) by katiska.clinet.fi (8.6.12/8.6.4) id UAA21645; Fri, 1 Dec 1995 20:17:13 +0200 Date: Fri, 1 Dec 1995 20:17:13 +0200 Message-Id: <199512011817.UAA21645@katiska.clinet.fi> From: Heikki Suonsivu To: freebsd-current@freefall.FreeBSD.org Subject: Backup In-Reply-To: <199512010355.FAA06435@katiska.clinet.fi> References: <199512010355.FAA06435@katiska.clinet.fi> Organization: Clinet Ltd, Espoo, Finland Sender: owner-current@FreeBSD.ORG Precedence: bulk Charlie Root writes: > 1995.12.01 01:02:05 katiska.clinet.fi /dev/sd0a /sbin/dump / > DUMP: please choose a blocksize <= 32 > 0 bytes transferred in 1 secs (0 bytes/sec) > 1995.12.01 01:02:06 katiska.clinet.fi /dev/sd0s1e /sbin/dump /usr > DUMP: please choose a blocksize <= 32 > 0 bytes transferred in 1 secs (0 bytes/sec) Uh, what was this about? I remember that there was discussion that on something one could not restore backups with larger block sizes, but think I would have yelled loud last week if it really was like that (we had a barra... uh, a disk crash)? I noticed that restore went dead before it set the permissions on restore, but it did read the files back correctly. Is it this one? -- Heikki Suonsivu, T{ysikuu 10 C 83/02210 Espoo/FINLAND, hsu@clinet.fi work +358-0-4375209 fax -4555276 home -8031121 From owner-freebsd-current Fri Dec 1 11:21:37 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA18572 for current-outgoing; Fri, 1 Dec 1995 11:21:37 -0800 Received: from hub.org (hub.org [199.166.238.138]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA18565 for ; Fri, 1 Dec 1995 11:21:27 -0800 Received: (from scrappy@localhost) by hub.org (8.7.1/8.7.1) id OAA18918; Fri, 1 Dec 1995 14:20:45 -0500 (EST) Date: Fri, 1 Dec 1995 14:20:39 -0500 (EST) From: "Marc G. Fournier" To: Bruce Evans cc: julian@ref.tfs.com, current@freebsd.org Subject: -O6/-fstrength-reduce for kernel (Was: Re: changes in -current...) In-Reply-To: <199512011252.XAA17404@godzilla.zeta.org.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk On Fri, 1 Dec 1995, Bruce Evans wrote: > > the other thing I'm trying differently is using -O6 instead of > >-O, but ... that shouldn't hurt anything, should it? > > Yes, -O2 gives -fstrength-reduce which is broken at least in gcc-2.6.3 > through gcc-2.7.1. > Okay, so *that* is where that -f<> option comes in. I've been wondering about that. Now the question becomes why is it that I can compile other software using -O6, and not the kernel? I would have assumed that that bug would be inherent in any software I compiled using it, but I guess not..but why not? Also, someone mentioned using -fno-strength-reduce? If I used that, with -O6, would I notice any benefits, or does using -fno-strength-reduce just about take out any benefits to -O6? Thanks... Marc G. Fournier | POP Mail Telnet Acct DNS Hosting scrappy@hub.org | WWW Services Database Services | Knowledge, soon to be: | | Information and scrappy@ki.net | WWW: http://hub.org | Communications, Inc From owner-freebsd-current Fri Dec 1 11:56:45 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA20798 for current-outgoing; Fri, 1 Dec 1995 11:56:45 -0800 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA20791 for ; Fri, 1 Dec 1995 11:56:38 -0800 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id MAA02218; Fri, 1 Dec 1995 12:54:38 -0700 From: Terry Lambert Message-Id: <199512011954.MAA02218@phaeton.artisoft.com> Subject: Re: changes in -current..TEST please To: phk@critter.tfs.com (Poul-Henning Kamp) Date: Fri, 1 Dec 1995 12:54:38 -0700 (MST) Cc: julian@ref.tfs.com, current@FreeBSD.org In-Reply-To: <9567.817829056@critter.tfs.com> from "Poul-Henning Kamp" at Dec 1, 95 02:44:16 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 515 Sender: owner-current@FreeBSD.org Precedence: bulk > > > Have you considered changing the type of cdevsw to be "array of pointer to. > ." > > > > yes that will happen but it takes quite a while to track down all the places > > it's accessed, and think about the consequences > > Just change the name to pcdevsw and see where it complains :-) Then macro the references at the same time so that SMP will be easier later. 8-). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-current Fri Dec 1 13:35:05 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA26077 for current-outgoing; Fri, 1 Dec 1995 13:35:05 -0800 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id NAA26054 for ; Fri, 1 Dec 1995 13:34:51 -0800 Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA13642; Fri, 1 Dec 1995 16:21:39 -0500 Date: Fri, 1 Dec 1995 16:21:39 -0500 From: "Garrett A. Wollman" Message-Id: <9512012121.AA13642@halloran-eldar.lcs.mit.edu> To: "Marc G. Fournier" Cc: current@freebsd.org Subject: -O6/-fstrength-reduce for kernel (Was: Re: changes in -current...) In-Reply-To: References: <199512011252.XAA17404@godzilla.zeta.org.au> Sender: owner-current@freebsd.org Precedence: bulk < said: > Also, someone mentioned using -fno-strength-reduce? If I > used that, with -O6, would I notice any benefits, or does using > -fno-strength-reduce just about take out any benefits to -O6? Your Mileage May Vary. In the testing I was doing last month on packet send and forwarding rates, I found that using any sort of optimization beyond the default `-O' resulted in a repeatable 1-3% /decrease/ in maximum packet rate. The same was true of `-m486'. I'll be interested to see the results if the Pentium enhancements are ever integrated into the main gcc line. I suspect there may be some funny cache effects going on, but it's next to impossible to tell. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant From owner-freebsd-current Fri Dec 1 14:37:23 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA29964 for current-outgoing; Fri, 1 Dec 1995 14:37:23 -0800 Received: from fw.ast.com ([165.164.6.26]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA29956 for ; Fri, 1 Dec 1995 14:37:03 -0800 Received: from nemesis.UUCP (uucp@localhost) by fw.ast.com (8.6.12/8.6.12) with UUCP id QAA03655; Fri, 1 Dec 1995 16:36:38 -0600 Received: by nemesis.lonestar.org (Smail3.1.27.1 #20) id m0tLYre-000CB4C; Fri, 1 Dec 95 11:03 WET Message-Id: Date: Fri, 1 Dec 95 11:03 WET To: phk@critter.tfs.com, current@freebsd.org From: uhclem@nemesis.lonestar.org (Frank Durda IV) Sent: Fri Dec 1 1995, 11:03:09 CST Subject: Re: changes in -current..TEST please Sender: owner-current@freebsd.org Precedence: bulk [0]On a purely IDE system I get "panic: cannot mount root" :-( I used to run into this message on 1.1.5.1 systems all the time and once in a while on 2.0.5. Turned out that it was caused by the root filesystem being dirty in some slight way and the root mount/fsck can't cope for some reason. Simply boot -s or boot from a floppy, fsck, reboot and the drive would always reappear. It may not be the same problem you are seeing, but give it a try. Frank Durda IV |"The Knights who say "LETNi" or uhclem%nemesis@fw.ast.com (Fastest Route)| demand... A SEGMENT REGISTER!!!" ...letni!rwsys!nemesis!uhclem |"A what?" ...decvax!fw.ast.com!nemesis!uhclem |"LETNi! LETNi! LETNi!" - 1983 From owner-freebsd-current Fri Dec 1 17:20:47 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA10542 for current-outgoing; Fri, 1 Dec 1995 17:20:47 -0800 Received: from hub.org (hub.org [199.166.238.138]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id RAA10533 for ; Fri, 1 Dec 1995 17:20:36 -0800 Received: (from scrappy@localhost) by hub.org (8.7.1/8.7.1) id UAA00425; Fri, 1 Dec 1995 20:20:05 -0500 (EST) Date: Fri, 1 Dec 1995 20:20:03 -0500 (EST) From: "Marc G. Fournier" To: current@freebsd.org Subject: Spontaneous Reboots... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk Hi... This afternoon, I plugged in a /kernel that had all the fixes that go with 'options JREMOD', and rebooted the machine. After returning to the machine after a period of time, I found the machine had rebooted itself, which I took to be a random thing, not really worried about it, considering that I am playing with a "non-stable" kernel, but for some reason, i couldn't get my ppp connection back up after it had rebooted. I mv'd back in the old kernel, that I had been running and rebooted the machine, after which I could get ppp back up, no problem. Again, after returning to the machine on a commercial, I found the machine once more rebooted, but, this time, I could get the ppp connection back up and running. Now, I've been running this machine for a few weeks now, with the only downtime being when I get a keybrd lockup, with about the only exception to that being getting a "panic: m_copydata" error and attempt to reboot, again, today. Right now, I'm not using a debuggable kernel (no core dumps or anything), mainly because I don't think I have enough room to store a core dump after a reboot on this machine, but I'm willing to try it out, if it will help. Oh, as well, my last looks like this for the machine, right now: hub# last scrappy ttyv1 Fri Dec 1 19:59 still logged in reboot ~ Fri Dec 1 19:56 scrappy ttyv1 Fri Dec 1 18:53 - crash (01:02) reboot ~ Fri Dec 1 18:53 shutdown ~ Fri Dec 1 18:50 scrappy ttyv1 Fri Dec 1 18:48 - shutdown (00:02) reboot ~ Fri Dec 1 18:19 scrappy ttyv1 Fri Dec 1 17:57 - crash (00:21) scrappy ttyv0 Fri Dec 1 17:56 - crash (00:22) reboot ~ Fri Dec 1 17:56 shutdown ~ Fri Dec 1 17:54 scrappy ttyv0 Fri Dec 1 17:53 - shutdown (00:00) reboot ~ Fri Dec 1 17:53 graham ttyp3 nudge.io.org Fri Dec 1 10:02 - 10:03 (00:00) wtmp begins Fri Dec 1 10:02 If this means anything...I find the entries of 'reboot' a litle disconcerting, since it was a crash, not a reboot, but I take it that that is normal? Marc G. Fournier | POP Mail Telnet Acct DNS Hosting scrappy@hub.org | WWW Services Database Services | Knowledge, soon to be: | | Information and scrappy@ki.net | WWW: http://hub.org | Communications, Inc From owner-freebsd-current Fri Dec 1 17:59:32 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA11984 for current-outgoing; Fri, 1 Dec 1995 17:59:32 -0800 Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id RAA11978 for ; Fri, 1 Dec 1995 17:59:24 -0800 Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id MAA20648; Sat, 2 Dec 1995 12:30:43 GMT From: Michael Smith Message-Id: <199512021230.MAA20648@genesis.atrad.adelaide.edu.au> Subject: Re: changes in -current..TEST please To: scrappy@hub.org (Marc G. Fournier) Date: Sat, 2 Dec 1995 12:30:43 +0000 () Cc: julian@ref.tfs.com, current@freebsd.org In-Reply-To: from "Marc G. Fournier" at Dec 1, 95 03:19:41 am MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 965 Sender: owner-current@freebsd.org Precedence: bulk Marc G. Fournier stands accused of saying: > Okay, will clear it all out and try again. The only thing that > I have new on the system is gcc 2.7.1, which I'm using to compile the > kernel, but I've already compiled 2 using it, with no problems. > > the other thing I'm trying differently is using -O6 instead of > -O, but ... that shouldn't hurt anything, should it? Yes. Anything above -O is broken, and will generate bogus kernels and bad applications in my experience. I'm told the problem is _not_ fixed in 2.7.1. > Marc G. Fournier | POP Mail Telnet Acct DNS Hosting -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 041-122-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] "Who does BSD?" "We do Chucky, we do." [[ From owner-freebsd-current Fri Dec 1 19:30:07 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id TAA15705 for current-outgoing; Fri, 1 Dec 1995 19:30:07 -0800 Received: from hub.org (hub.org [199.166.238.138]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id TAA15665 for ; Fri, 1 Dec 1995 19:29:38 -0800 Received: (from scrappy@localhost) by hub.org (8.7.1/8.7.1) id WAA00268; Fri, 1 Dec 1995 22:28:03 -0500 (EST) Date: Fri, 1 Dec 1995 22:27:59 -0500 (EST) From: "Marc G. Fournier" To: current@freebsd.org Subject: *groan* debuggable kernel breaks pstat? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk Hi... Well, I just compiled and installed a debuggable kernel, in case it decides to reboot again...now pstat doesn't work: scrappy> pstat -s pstat: undefined symbol: _swdevt pstat: undefined symbol: _nswdev It created a nice 7Meg kernel, which I copied to kernel.debug, and then I did a 'strip -x kernel' before installing it. It created an approx. 600k smaller kernel? Nope, just tried to recompile pstat, and the same error comes up... Help? I've taken *something* out by using 'strip -x', but it looks like I took out too much... Marc G. Fournier | POP Mail Telnet Acct DNS Hosting scrappy@hub.org | WWW Services Database Services | Knowledge, soon to be: | | Information and scrappy@ki.net | WWW: http://hub.org | Communications, Inc From owner-freebsd-current Sat Dec 2 00:28:08 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA04994 for current-outgoing; Sat, 2 Dec 1995 00:28:08 -0800 Received: from irbs.irbs.com (irbs.com [199.182.75.129]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id AAA04961 for ; Sat, 2 Dec 1995 00:27:56 -0800 Received: (from jc@localhost) by irbs.irbs.com (8.6.12/8.6.6) id DAA22647; Sat, 2 Dec 1995 03:26:04 -0500 From: John Capo Message-Id: <199512020826.DAA22647@irbs.irbs.com> Subject: Re: *groan* debuggable kernel breaks pstat? To: scrappy@hub.org (Marc G. Fournier) Date: Sat, 2 Dec 1995 03:26:03 -0500 (EST) Cc: current@freebsd.org In-Reply-To: from "Marc G. Fournier" at Dec 1, 95 10:27:59 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 861 Sender: owner-current@freebsd.org Precedence: bulk Marc G. Fournier writes: > > > Hi... > > Well, I just compiled and installed a debuggable kernel, > in case it decides to reboot again...now pstat doesn't work: > > scrappy> pstat -s > pstat: undefined symbol: _swdevt > > pstat: undefined symbol: _nswdev > > It created a nice 7Meg kernel, which I copied to kernel.debug, > and then I did a 'strip -x kernel' before installing it. > > It created an approx. 600k smaller kernel? > > Nope, just tried to recompile pstat, and the same error > comes up... > > Help? I've taken *something* out by using 'strip -x', but it > looks like I took out too much... > > strip -d will work. John Capo jc@irbs.com IRBS Engineering High performance FreeBSD systems (305) 792-9551 Unix/Internet Consulting - ISP Solutions From owner-freebsd-current Sat Dec 2 03:57:32 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id DAA07665 for current-outgoing; Sat, 2 Dec 1995 03:57:32 -0800 Received: (from julian@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id DAA07652 ; Sat, 2 Dec 1995 03:57:23 -0800 Date: Sat, 2 Dec 1995 03:57:23 -0800 From: Julian Elischer Message-Id: <199512021157.DAA07652@freefall.freebsd.org> To: hackers Subject: OK EVERYONE, LISTEN UP.. Cc: current Sender: owner-current@FreeBSD.ORG Precedence: bulk I've been testing my cdevsw and bdevsw changes and I have two machines here that have been doing heavy work with them and nothing's broken.. I'm going to make the changes to make it THE DEFAULT within 48 hours so if you are a -current user, and haven't tried to see what happens when you add options JREMOD to your kernel, then you'd better check it now while it's still just an option.. and yes, poul, with sources from this-evenning, I was unable to duplicate your problem so I think it's something else.. :) It's running reliably here and elsewhere so it shouldn't be too much of a risk.. If you have problems and want this to not go ahead, then get back to me in the next day or so.. because I'll be committing the next round, sunday night.. BTW if JREMOD fails. DO check if a kernel compiled out of the same tree withut it also fails? I've chased 3 of those so far.. julian From owner-freebsd-current Sat Dec 2 13:58:48 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA28442 for current-outgoing; Sat, 2 Dec 1995 13:58:48 -0800 Received: from hub.org (hub.org [199.166.238.138]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id NAA28416 for ; Sat, 2 Dec 1995 13:58:30 -0800 Received: (from scrappy@localhost) by hub.org (8.7.1/8.7.1) id QAA00316; Sat, 2 Dec 1995 16:58:06 -0500 (EST) Date: Sat, 2 Dec 1995 16:58:04 -0500 (EST) From: "Marc G. Fournier" To: Julian Elischer cc: current@freebsd.org Subject: Re: Spontaneous Reboots... In-Reply-To: <199512020815.AAA01193@ref.tfs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk On Sat, 2 Dec 1995, Julian Elischer wrote: > > I've found those symbols.. > they aren't anything to do with me.. > they are in swapgeneric.c > someone has commented them out with > #ifdef notused > > as your kernel compiled I'd have to agree with them.. > the change went in between 1.11 and 1.12 of that file.. > looks like wpaul was the culprit.. > > as that isn't used I'd suggest that maybe pstat > might be fixed.. > what does IT want them for? > > (I shall leave the rest as an exercise for you :) > > Well, considering that kernel hacking isn't something I'm very good at (okay, its one area I fear to tread...*sigh*)... I've got it narrowed down that the problem seems to be somewhere in the debug kernel that I'm trying to use. I've removed 'options DODUMP' from my config, and the kernel compiles fine, and pstat works. Now, as Julian points out, the symbols that pstat is looking for (swdevt and nswdev) are commented out by an '#ifdef notused' clause in swapgeneric.c, but...if I put a non-debugging kernel up, pstat works fine, therefore leading one to assume that those symbols do exist, somewhere. Further to that, I've tried installing two different debug kernels, one using 'strip -x' (as per the FAQ) and one using 'strip -d' (as per recommendation) and both result in those symbols going missing. Now, looking at the man page for strip, the two options I used were: The options are as follows: -d Delete only debugging and empty symbols. -x Delete only debugging, compiler identification, and local sym- bols. The only common element between the two is the debugging information (unless the man page is missing information, of course), so are 'swev and nswdev' considered "debugging" information? I wouldn't think so, since I don't believe that "debugging information" is part of the code, only something that the compiler throws in. But then... how do those symbols disappear using either/or option? Well, that's about it before I hit a brick wall...anybody else notice this problem? Can recreate it? Marc G. Fournier | POP Mail Telnet Acct DNS Hosting scrappy@hub.org | WWW Services Database Services | Knowledge, soon to be: | | Information and scrappy@ki.net | WWW: http://hub.org | Communications, Inc From owner-freebsd-current Sat Dec 2 15:45:05 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA16290 for current-outgoing; Sat, 2 Dec 1995 15:45:05 -0800 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id PAA16237 ; Sat, 2 Dec 1995 15:44:40 -0800 Received: (from julian@localhost) by ref.tfs.com (8.6.12/8.6.9) id PAA07627; Sat, 2 Dec 1995 15:44:30 -0800 Date: Sat, 2 Dec 1995 15:44:30 -0800 From: Julian Elischer Message-Id: <199512022344.PAA07627@ref.tfs.com> To: current@freebsd.org, hackers@freebsd.org Subject: Nothing heard about JREMOD.. Sender: owner-current@freebsd.org Precedence: bulk I assume this means no-one's having any problems? julian s From owner-freebsd-current Sat Dec 2 20:09:00 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id UAA16294 for current-outgoing; Sat, 2 Dec 1995 20:09:00 -0800 Received: from asstdc.scgt.oz.au (root@asstdc.scgt.oz.au [202.14.234.65]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id UAA16261 for ; Sat, 2 Dec 1995 20:08:38 -0800 Received: (from imb@localhost) by asstdc.scgt.oz.au (8.6.12/BSD-4.4) id PAA20533; Sun, 3 Dec 1995 15:03:17 +1100 From: michael butler Message-Id: <199512030403.PAA20533@asstdc.scgt.oz.au> Subject: Re: changes in -current..TEST please To: julian@ref.tfs.com (Julian Elischer) Date: Sun, 3 Dec 1995 15:03:16 +1100 (EST) Cc: current@freebsd.org In-Reply-To: <199512010631.WAA15110@ref.tfs.com> from "Julian Elischer" at Nov 30, 95 10:31:01 pm X-Mailer: ELM [version 2.4 PL24beta] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1103 Sender: owner-current@freebsd.org Precedence: bulk Julian Elischer writes: > > > loading kernel > > > kern_xxx.o: Undefined symbol `_dummy_cleanup' referenced > > > *** Error code 1 [ .. ] > ok I just compiled your kernel... > > cc -O -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -nostdinc -I. -I../.. -I../../sys -I/usr/include -DI386_CPU -DPCVT_FREEBSD=210 -DSYSVMSG -DSYSVSEM -DSYSVSHM -DUCONSOLE -DBOUNCE_BUFFERS -DSCSI_DELAY=15 -DCOMPAT_43 -DPROCFS -DMSDOSFS -DFFS -DINET -DMATH_EMULATE -DJREMOD -DKERNEL -c vers.c > loading kernel > rearranging symbols > text data bss dec hex > 647168 53248 65684 766100 bb094 GCC, at optimisation levels > 1, will remove data (and code) which it considers to be unreferenced. _dummy_cleanup is declared 'static' yet is unreferenced in the file in which it appears. Given that 'static' implies 'local to this file', this is valid behaviour. However, since the variable in question really is intended to be used by things external to kern_xxx.c, perhaps it should not be declared 'static' and GCC will leave it alone at all optimisation settings .. michael From owner-freebsd-current Sat Dec 2 21:06:43 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA19728 for current-outgoing; Sat, 2 Dec 1995 21:06:43 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id VAA19715 for ; Sat, 2 Dec 1995 21:06:25 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id QAA09482; Sun, 3 Dec 1995 16:05:43 +1100 Date: Sun, 3 Dec 1995 16:05:43 +1100 From: Bruce Evans Message-Id: <199512030505.QAA09482@godzilla.zeta.org.au> To: scrappy@hub.org, wollman@lcs.mit.edu Subject: Re: -O6/-fstrength-reduce for kernel (Was: Re: changes in -current...) Cc: current@FreeBSD.ORG Sender: owner-current@FreeBSD.ORG Precedence: bulk >> Also, someone mentioned using -fno-strength-reduce? If I >> used that, with -O6, would I notice any benefits, or does using >> -fno-strength-reduce just about take out any benefits to -O6? >Your Mileage May Vary. >In the testing I was doing last month on packet send and forwarding >rates, I found that using any sort of optimization beyond the default >`-O' resulted in a repeatable 1-3% /decrease/ in maximum packet rate. >The same was true of `-m486'. I'll be interested to see the results >if the Pentium enhancements are ever integrated into the main gcc >line. >I suspect there may be some funny cache effects going on, but it's >next to impossible to tell. The 1%-3% decrease for -O2 is quite likely to be due to bogus strength reductions. Strength reduction usually requires more pseudo-registers. Sometimes (more often on i*86's because there aren't enough real registers to begin with) the register allocator can't cope. And because the i*86 has a fancy scaled index address mode, one common strength reduction (for array indices) would at best decrease the speed by a tiny amount. The decrease for -m486 is probably due to cache effects. About half of the "optimizations" for -m486 are for alignment in the text section. Such alignment mainly wastes the cache for Pentiums. (In the worst case (usually not in loops) it can introduce up to 15 nop's that get executed.) gcc-2.7 has -malign-* options that allow you to control the alignment. I would be interested in seeing the results if i*86 enhancements are ever written for the main gcc line :-). Bruce From owner-freebsd-current Sat Dec 2 22:32:47 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA25297 for current-outgoing; Sat, 2 Dec 1995 22:32:47 -0800 Received: from rocky.sri.MT.net (rocky.sri.MT.net [204.182.243.10]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id WAA25278 for ; Sat, 2 Dec 1995 22:32:30 -0800 Received: (from nate@localhost) by rocky.sri.MT.net (8.6.12/8.6.12) id XAA00233; Sat, 2 Dec 1995 23:33:42 -0700 Date: Sat, 2 Dec 1995 23:33:42 -0700 From: Nate Williams Message-Id: <199512030633.XAA00233@rocky.sri.MT.net> To: Julian Elischer Cc: current@freebsd.org Subject: Re: Nothing heard about JREMOD.. In-Reply-To: <199512022344.PAA07627@ref.tfs.com> References: <199512022344.PAA07627@ref.tfs.com> Sender: owner-current@freebsd.org Precedence: bulk [ I removed hackers from the list since we only need one mailing list, and -current is the most relevant. ] Julian Elischer writes: > I assume this means no-one's having any problems? I think it means no one has time yet to test the changes. They have been in the tree 4 days now and every day I've seen more commit related to them go in, so I've been waiting for the commits to stabilize before I upgrade my 'experimental in-use' systems to the new code. I haven't had time to try it out on my 'who cares if it crashes' system yet. I think the code needs more time to get shaken out before you make it the default. Nate From owner-freebsd-current Sat Dec 2 23:51:17 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA29941 for current-outgoing; Sat, 2 Dec 1995 23:51:17 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id XAA29933 for ; Sat, 2 Dec 1995 23:51:11 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id SAA15385; Sun, 3 Dec 1995 18:47:38 +1100 Date: Sun, 3 Dec 1995 18:47:38 +1100 From: Bruce Evans Message-Id: <199512030747.SAA15385@godzilla.zeta.org.au> To: imb@scgt.oz.au, julian@ref.tfs.com Subject: Re: changes in -current..TEST please Cc: current@freebsd.org Sender: owner-current@freebsd.org Precedence: bulk >> > > loading kernel >> > > kern_xxx.o: Undefined symbol `_dummy_cleanup' referenced >> > > *** Error code 1 >GCC, at optimisation levels > 1, will remove data (and code) which it >considers to be unreferenced. _dummy_cleanup is declared 'static' yet is >unreferenced in the file in which it appears. Given that 'static' implies Actually, gcc, at optimization levels > 2 or if -finline-functions is used, turns static functions into static inline functions. In all cases except when -fkeep-inline-functions is used, if a static inline function is simple enough to be integrated into its callers, the code for the function is not output separately. dummy_cleanup() is simple enough to integrate into anything so it gets deleted. >'local to this file', this is valid behaviour. However, since the variable >in question really is intended to be used by things external to kern_xxx.c, >perhaps it should not be declared 'static' and GCC will leave it alone at >all optimisation settings .. Perhaps the unsupported -O3 shouldn't be used. Many things that can reasonably be inlined already are. Excessive inlining can slow things down (even for functions that are only referenced once, inlining sometimes makes their callers too hard to optimize). How much slower was -O3? :-) Bruce