From owner-freebsd-current Sun Nov 14 1:45: 5 1999 Delivered-To: freebsd-current@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id 80E7614F99 for ; Sun, 14 Nov 1999 01:45:02 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (root@d60-025.leach.ucdavis.edu [169.237.60.25]) by relay.nuxi.com (8.9.3/8.9.3) with ESMTP id BAA79637; Sun, 14 Nov 1999 01:44:59 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.9.3/8.9.1) id BAA75705; Sun, 14 Nov 1999 01:44:59 -0800 (PST) (envelope-from obrien) Date: Sun, 14 Nov 1999 01:44:59 -0800 From: "David O'Brien" To: Thomas Dean Cc: current@FreeBSD.ORG Subject: Re: **HEADS UP** probable switch to Gcc 2.95.2 THIS weekend Message-ID: <19991114014458.A75684@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <19991113194631.A68677@dragon.nuxi.com> <199911140449.UAA21037@ix.netcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <199911140449.UAA21037@ix.netcom.com>; from tomdean@ix.netcom.com on Sat, Nov 13, 1999 at 08:49:46PM -0800 X-Operating-System: FreeBSD 4.0-CURRENT Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > # gcc --version > egcs-2.91.66 > > What is the relationship? That is EGCS 1.1.2. see http://egcs.cygnus.com/timeline.html -- -- David (obrien@NUXI.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 14 3:13:14 1999 Delivered-To: freebsd-current@freebsd.org Received: from arc.hq.cti.ru (arc.hq.cti.ru [195.34.40.3]) by hub.freebsd.org (Postfix) with ESMTP id 27030150D8; Sun, 14 Nov 1999 03:13:00 -0800 (PST) (envelope-from dima@tejblum.pp.ru) Received: (from uucp@localhost) by arc.hq.cti.ru (8.9.3/8.9.3) with UUCP id OAA37614; Sun, 14 Nov 1999 14:12:59 +0300 (MSK) (envelope-from dima@tejblum.pp.ru) Received: from tejblum.pp.ru (localhost [127.0.0.1]) by tejblum.pp.ru (8.9.3/8.9.3) with ESMTP id OAA01671; Sun, 14 Nov 1999 14:20:23 +0300 (MSK) (envelope-from dima@tejblum.pp.ru) Message-Id: <199911141120.OAA01671@tejblum.pp.ru> X-Mailer: exmh version 2.0gamma 1/27/96 To: obrien@FreeBSD.ORG Cc: current@FreeBSD.ORG From: Dmitrij Tejblum Subject: Re: A call to squease more bytes from `boot2' In-reply-to: Your message of "Sat, 13 Nov 1999 15:28:38 PST." <19991113152838.A16659@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 14 Nov 1999 14:20:23 +0300 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Try "-mpreferred-stack-boundary=2". Dima To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 14 4:12:20 1999 Delivered-To: freebsd-current@freebsd.org Received: from mail.rp-plus.de (clubserv.rp-online.de [149.221.232.11]) by hub.freebsd.org (Postfix) with ESMTP id 9597614D52 for ; Sun, 14 Nov 1999 04:12:14 -0800 (PST) (envelope-from alex@cichlids.com) Received: from neutron.cichlids.com (as7-017.rp-plus.de [149.221.239.17]) by mail.rp-plus.de (8.9.1a/8.9.1) with ESMTP id NAA05761 for ; Sun, 14 Nov 1999 13:12:12 +0100 (MET) Received: from cichlids.cichlids.com (root@cichlids.cichlids.com [192.168.0.10]) by neutron.cichlids.com (8.9.3/8.9.1) with ESMTP id NAA61248 for ; Sun, 14 Nov 1999 13:12:31 +0100 (CET) Received: (from alex@localhost) by cichlids.cichlids.com (8.9.3/8.9.3) id NAA15421 for current@freebsd.org; Sun, 14 Nov 1999 13:12:34 +0100 (CET) (envelope-from alex) From: Alexander Langer Date: Sun, 14 Nov 1999 13:12:34 +0100 To: current@freebsd.org Subject: -current and grabbing audio: .wav's too slow Message-ID: <19991114131234.A15395@cichlids.cichlids.com> Mail-Followup-To: current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello! I use dagrab from the ports to grab audio CD's. On -stable this is no problem, but last week I switched back to -current, and there is something wrong. The "speed" of the grabbed .wav-files is approx. twice too slow. Ok, it sound's nice (slow voices have this very deep sound :), but it's not what I want. As i said, it works on -stable. Does one have the same problems? I have a: wdc1 at port 0x170-0x177 irq 15 flags 0xb0ffb0ff on isa0 [..] wdc1: unit 1 (atapi): , removable, intr, dma, iordis wcd1: drive speed 5511KB/sec, 120KB cache wcd1: supported read types: CD-DA wcd1: Audio: play, 255 volume levels wcd1: Mechanism: ejectable tray wcd1: Medium: no/blank disc inside, unlocked Strange. Alex -- I doubt, therefore I might be. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 14 6: 9:53 1999 Delivered-To: freebsd-current@freebsd.org Received: from rodia.zighelboim.com (rodia.zighelboim.com [204.27.67.11]) by hub.freebsd.org (Postfix) with ESMTP id 92CA114BE4; Sun, 14 Nov 1999 06:09:48 -0800 (PST) (envelope-from mango@rodia.zighelboim.com) Received: (from mango@localhost) by rodia.zighelboim.com (8.9.3/8.9.2) id IAA08878; Sun, 14 Nov 1999 08:08:22 -0600 (CST) (envelope-from mango) Message-ID: X-Mailer: XFMail 1.3.1 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Sun, 14 Nov 1999 08:08:21 -0600 (CST) From: Raul Zighelboim To: freebsd-questions@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: disk error 0x1 ... No /boot/loader Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hello there; lately, whenever I reboot my system, I get a disk error 0x1 No /boot/loader error. the files are there, and I have reinstalled a couple of times with (make buildworld/make installworld ... disklabel -B). How can I fix the loader otherwise ? Running the latest -current... Sytem was create with 4.0-CURRENT long time ago. thanks. - ---------------------------------- E-Mail: Raul Zighelboim Date: 14-Nov-99 Time: 08:04:05 - ---------------------------------- -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use Charset: noconv iQCVAwUBOC60RQQV/aCRCYxlAQFi4QP/TYaaVK1FFuDbpcWUr1CO3vPvrKvm4Sh9 pZPZS2HNV6s1gR4zUxN2QDqDfUGrPKaeM7PX2Un1l9BUZ1wSG52Vp/OSm21fPAH4 8UvuazCrWGDk/GWHfQG0CzTgJXdFZswzQ0gdDmGXPA9um5P/xgrhK24GNZOA5RIw JSWTf5JQqCg= =SSct -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 14 6:26:49 1999 Delivered-To: freebsd-current@freebsd.org Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 6855014CFB; Sun, 14 Nov 1999 06:26:33 -0800 (PST) (envelope-from mb@imp.ch) Received: from mephisto.imp.ch (mb@mephisto.imp.ch [157.161.1.22]) by mail.imp.ch (8.9.3/8.9.3) with ESMTP id PAA01575; Sun, 14 Nov 1999 15:26:24 +0100 (MET) Received: from localhost (mb@localhost) by mephisto.imp.ch (8.9.3/8.9.3) with ESMTP id PAA18125; Sun, 14 Nov 1999 15:26:17 +0100 (MEZ) Date: Sun, 14 Nov 1999 15:26:16 +0100 From: Martin Blapp To: current@freebsd.org Cc: hackers@freebsd.org Subject: Call for objections Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi everbody, I had a concept to solve some bad implemented NFS part: The client unmount notification of the NFS server. There seems to be different understanding if the programm rpc.umntall should be started at shutdown, startup or both. Can you please vote for or against these three possibilitys ? Someone also had the idea to use a counter 'n' for trying only 'n' times to send a unmount request to the server and then to delete the entry. If we start rpc.umntall at startup-time as the RFC 1813 proposes, we have to save/store all nfs mounts in a list. This may also be some point to discuss. To get an idea you'll have to read the following URL's. my announcement: ---------------- http://docs.FreeBSD.org/cgi/getmsg.cgi?fetch=243597+0+archive/1999/freebsd-hackers/19991114.freebsd-hackers the patches/programm itself: ---------------------------- http://www.attic.ch/patches/rpc.umntall/ this PR: -------- http://www.freebsd.org/cgi/query-pr.cgi?pr=14709 Thank you very much Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 14 11:32: 4 1999 Delivered-To: freebsd-current@freebsd.org Received: from sstar.com (sstar.com [209.102.160.1]) by hub.freebsd.org (Postfix) with ESMTP id 2774C15124 for ; Sun, 14 Nov 1999 11:31:53 -0800 (PST) (envelope-from king@sstar.com) Received: from MAROON ([134.132.228.8]) by sstar.com with ESMTP (IPAD 2.5s/64) id 5665300; Sun, 14 Nov 1999 13:31:40 -0600 Message-Id: <4.2.0.58.19991114132902.015f92e8@mail.sstar.com> X-Sender: king@mail.sstar.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Sun, 14 Nov 1999 13:31:41 -0600 To: freebsd-current@freebsd.org From: Jim King Subject: Re: pnp and AWE64 In-Reply-To: <4.2.0.58.19991113231829.01620f30@mail.sstar.com> References: <19991113222304.A22008@cs.mcgill.ca> <4.2.0.58.19991112191106.0161a680@mail.sstar.com> <4.2.0.58.19991113155109.01622610@mail.sstar.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 11:20 PM 11/13/1999 -0600, Jim King wrote: >At 10:23 PM 11/13/1999 -0500, Mathew Kanner wrote: >>On Nov 13, Jim King wrote: >> > At 01:05 PM 11/13/1999 -0800, Alex Zepeda wrote: >> > >What does pnpinfo show? >> > >> > pnpinfo shows a bunch of information about my USR PnP modem, but >> nothing at >> > all about the AWE64 (or anything else). >> > >> >> Sorry to jump in. I once difficulties with PnP that felt >>similiar. I had a working sound card and when I stuck in an ISA PnP >>ethernet card, the sound card disapeared. >> I fixed it by hacking the for loop in pnp_identify in >>isa/pnp.c. When the loop went backwards, I could detect both devices. > >That does it. When running the loop forward only the ISA PnP modem is >found; after hacking it to run the loop backwards the AWE64 *and* the >modem are both found. Thanks! fwiw, the same thing applies to FreeBSD 3.3 - an out-of-the-box kernel will only find the ISA PnP modem (a USR3090); reversing the loop in pnp_configure() in sys/i386/isa/pnp.c makes both the modem and the AWE64 get detected. Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 14 17: 4:42 1999 Delivered-To: freebsd-current@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id 9FDED14C99 for ; Sun, 14 Nov 1999 17:04:40 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (root@d60-025.leach.ucdavis.edu [169.237.60.25]) by relay.nuxi.com (8.9.3/8.9.3) with ESMTP id RAA82454 for ; Sun, 14 Nov 1999 17:04:40 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.9.3/8.9.1) id RAA30344 for current@freebsd.org; Sun, 14 Nov 1999 17:04:40 -0800 (PST) (envelope-from obrien) Date: Sun, 14 Nov 1999 17:04:40 -0800 From: "David O'Brien" To: current@freebsd.org Subject: ** HEADS UP ** Switching to GCC 2.95.2 as base compiler Message-ID: <19991114170440.A30334@dragon.nuxi.com> Reply-To: obrien@NUXI.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i X-Operating-System: FreeBSD 4.0-CURRENT Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'll be pulling the switch to use GCC 2.95.2 as the base compiler in -CURRENT on Sunday evening (Freefall time). Those not-quite-so daring might want to hold off on your next make world. *** NOTE *** that I have NOT changed the shared lib version for libstc++.so (the rules disallow it). With the number of chagnes between EGCS 1.1.2 and GCC 2.95.2 in the C++ arena using a 2.95.2 libstdc++ with binaries linked against a 1.1.2 libstdc++ will probably cause you problems. I would not be surprised if you needed to replace ever port you've installed that was compiled by c++. -- -- David (obrien@NUXI.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 14 18:15:21 1999 Delivered-To: freebsd-current@freebsd.org Received: from tinker.exit.com (exit-gw.power.net [207.151.46.196]) by hub.freebsd.org (Postfix) with ESMTP id 7F32414BDC for ; Sun, 14 Nov 1999 18:15:11 -0800 (PST) (envelope-from frank@exit.com) Received: from realtime.exit.com (realtime.exit.com [206.223.0.5]) by tinker.exit.com (8.9.3/8.9.3) with ESMTP id SAA02201 for ; Sun, 14 Nov 1999 18:15:10 -0800 (PST) (envelope-from frank@exit.com) Received: (from frank@localhost) by realtime.exit.com (8.9.3/8.9.1) id SAA04923 for current@freebsd.org; Sun, 14 Nov 1999 18:15:09 -0800 (PST) (envelope-from frank) From: Frank Mayhar Message-Id: <199911150215.SAA04923@realtime.exit.com> Subject: Problems with 3Com 547BT card versus -current. To: current@freebsd.org Date: Sun, 14 Nov 1999 18:15:09 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=ELM942632109-4902-0_ Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --ELM942632109-4902-0_ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit I'm trying to use the 11/13 snap of -current on my laptop to get my 574BT PCMCIA ethernet card going. It _almost_ works. Pccardd detects the card, and configures it, but when I do an "ifconfig -a" the system crashes in ifmedia_ioctl() (called by ep_if_ioctl()), line 280. The *ifm->ifm_status field is NULL, and we crash with a null pointer deference. It looks, to my admittedly naive viewpoint, like the media information isn't getting set up properly. I'm using the following lines in /etc/pccard.conf: # 3Com Megahertz 3C574B (3CCFE574BT) card "3Com" "Megahertz 574B" config 0x1 "ep0" 10 0x1 insert /etc/pccard_ether ep0 insert 3Com Megahertz 574B card inserted remove /sbin/ifconfig delete ep0 remove 3Com Megahertz 574B card removed And it detects the card and notes its MAC address properly, but it's still unusable. When I try to set the IP address on that interface, it gripes about an unknown interface type, and settles on AUI, which is obviously incorrect. I have a debug kernel and a corefile (taken with DDB right before the call to NULL). If someone wants to look at it, they're welcome to, just contact me. For reference, I've attached my dmesg output. -- Frank Mayhar frank@exit.com --ELM942632109-4902-0_ Content-Type: text/plain; charset=US-ASCII Content-Disposition: attachment; filename=dmesg.out Content-Description: cores/dmesg.out Content-Transfer-Encoding: 7bit in 15 seconds - press a key on the console to abort Rebooting... Copyright (c) 1992-1999 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-19991113-CURRENT #3: Sun Nov 14 14:20:33 PST 1999 root@auton:/usr/src/sys/compile/AUTON Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Celeron (397.05-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x66a Stepping = 10 Features=0x183f9ff real memory = 134152192 (131008K bytes) avail memory = 126894080 (123920K bytes) Preloaded elf kernel "kernel" at 0xc02f7000. Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vga-pci0: at device 0.0 on pci1 pci1: unknown card (vendor=0x10c8, dev=0x8005) at 0.1 irq 11 pcic-pci0: at device 4.0 on pci0 pcic-pci1: at device 4.1 on pci0 isab0: at device 7.0 on pci0 isa0: on isab0 ata-pci0: at device 7.1 on pci0 ata-pci0: Busmastering DMA supported ata0 at 0x01f0 irq 14 on ata-pci0 ata1 at 0x0170 irq 15 on ata-pci0 uhci0: irq 11 at device 7.2 on pci0 usb0: on uhci0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered intpm0: at device 7.3 on pci0 intpm0: I/O mapped 2180 intpm0: intr IRQ 9 enabled revision 0 smbus0: on intsmb0 smb0: on smbus0 intpm0: PM I/O mapped 8000 fdc0: at port 0x3f0-0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60-0x6f on isa0 atkbd0: irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <4 virtual consoles, flags=0x200> pcic: polling, can't alloc 0 pcic: polling, can't alloc 0 pcic0: on isa0 pccard0: on pcic0 pccard1: on pcic0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 ppc0 at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/7 bytes threshold lpt0: on ppbus 0 lpt0: Interrupt-driven port ad0: ATA-4 disk at ata0 as master ad0: 4645MB (9514260 sectors), 10068 cyls, 15 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 0 depth queue, UDMA33 Creating DISK ad0 Creating DISK wd0 acd0: CDROM drive at ata1 as master acd0: read 4134KB/s (4134KB/s), 128KB buffer, DMA acd0: supported read types: CD-R, CD-RW, CD-DA acd0: Audio: play, 16 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc inside, unlocked Mounting root from ufs:/dev/wd0s2a pccard: card inserted, slot 0 WARNING: / was not properly dismounted ep0: <3Com 3C574B, Megahertz 3CCFE574BT or Fast Etherlink 3C574-TX> at port 0x240-0x25f irq 10 slot 0 on pccard0 ep0: Ethernet address 4b:57:4b:57:4b:57 panic: from debugger panic: from debugger dumping to dev #wd/0x30001, offset 262272 dump 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 succeeded Automatic reboot in 15 seconds - press a key on the console to abort --> Press a key on the console to reboot <-- Rebooting... Copyright (c) 1992-1999 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-19991113-CURRENT #3: Sun Nov 14 14:20:33 PST 1999 root@auton:/usr/src/sys/compile/AUTON Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Celeron (397.05-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x66a Stepping = 10 Features=0x183f9ff real memory = 134152192 (131008K bytes) avail memory = 126894080 (123920K bytes) Preloaded elf kernel "kernel" at 0xc02f7000. Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vga-pci0: at device 0.0 on pci1 pci1: unknown card (vendor=0x10c8, dev=0x8005) at 0.1 irq 11 pcic-pci0: at device 4.0 on pci0 pcic-pci1: at device 4.1 on pci0 isab0: at device 7.0 on pci0 isa0: on isab0 ata-pci0: at device 7.1 on pci0 ata-pci0: Busmastering DMA supported ata0 at 0x01f0 irq 14 on ata-pci0 ata1 at 0x0170 irq 15 on ata-pci0 uhci0: irq 11 at device 7.2 on pci0 usb0: on uhci0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered intpm0: at device 7.3 on pci0 intpm0: I/O mapped 2180 intpm0: intr IRQ 9 enabled revision 0 smbus0: on intsmb0 smb0: on smbus0 intpm0: PM I/O mapped 8000 fdc0: at port 0x3f0-0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60-0x6f on isa0 atkbd0: irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <4 virtual consoles, flags=0x200> pcic: polling, can't alloc 0 pcic: polling, can't alloc 0 pcic0: on isa0 pccard0: on pcic0 pccard1: on pcic0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 ppc0 at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/7 bytes threshold lpt0: on ppbus 0 lpt0: Interrupt-driven port ad0: ATA-4 disk at ata0 as master ad0: 4645MB (9514260 sectors), 10068 cyls, 15 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 0 depth queue, UDMA33 Creating DISK ad0 Creating DISK wd0 acd0: CDROM drive at ata1 as master acd0: read 4134KB/s (4134KB/s), 128KB buffer, DMA acd0: supported read types: CD-R, CD-RW, CD-DA acd0: Audio: play, 16 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc inside, unlocked Mounting root from ufs:/dev/wd0s2a pccard: card inserted, slot 0 WARNING: / was not properly dismounted ep0: <3Com 3C574B, Megahertz 3CCFE574BT or Fast Etherlink 3C574-TX> at port 0x240-0x25f irq 10 slot 0 on pccard0 ep0: Ethernet address 4b:57:4b:57:4b:57 --ELM942632109-4902-0_-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 14 18:31: 3 1999 Delivered-To: freebsd-current@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id 075FC14CF9 for ; Sun, 14 Nov 1999 18:31:01 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (root@d60-025.leach.ucdavis.edu [169.237.60.25]) by relay.nuxi.com (8.9.3/8.9.3) with ESMTP id SAA87978; Sun, 14 Nov 1999 18:31:01 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.9.3/8.9.1) id SAA30837; Sun, 14 Nov 1999 18:31:01 -0800 (PST) (envelope-from obrien) Date: Sun, 14 Nov 1999 18:31:01 -0800 From: "David O'Brien" To: Frank Mayhar Cc: current@freebsd.org Subject: Re: Problems with 3Com 547BT card versus -current. Message-ID: <19991114183100.A30816@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <199911150215.SAA04923@realtime.exit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <199911150215.SAA04923@realtime.exit.com>; from frank@exit.com on Sun, Nov 14, 1999 at 06:15:09PM -0800 X-Operating-System: FreeBSD 4.0-CURRENT Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Nov 14, 1999 at 06:15:09PM -0800, Frank Mayhar wrote: > I'm trying to use the 11/13 snap of -current on my laptop to get my 574BT > PCMCIA ethernet card going. It _almost_ works. Pccardd detects the card, This is a known problem. Kernels panic with either a 3c574tx or 574BT. -- -- David (obrien@NUXI.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 14 21: 8: 5 1999 Delivered-To: freebsd-current@freebsd.org Received: from silcon.silcon.com (SilCon.SilCon.com [206.99.109.10]) by hub.freebsd.org (Postfix) with ESMTP id 1F4C814BE1 for ; Sun, 14 Nov 1999 21:08:03 -0800 (PST) (envelope-from sbfriday@silcon.com) Received: from default (ts4-222.silcon.com [207.0.105.222]) by silcon.silcon.com (8.9.1/8.6.9) with SMTP id VAA01553 for ; Sun, 14 Nov 1999 21:08:14 -0800 Message-ID: <000801bf2f26$9ad0c860$de6900cf@default> From: "Gfriday" To: Subject: Date: Sun, 14 Nov 1999 21:02:22 -0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01BF2EE3.8B7F68A0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0005_01BF2EE3.8B7F68A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable ------=_NextPart_000_0005_01BF2EE3.8B7F68A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 
------=_NextPart_000_0005_01BF2EE3.8B7F68A0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 14 21:17:31 1999 Delivered-To: freebsd-current@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [63.67.141.99]) by hub.freebsd.org (Postfix) with ESMTP id AE70514C14 for ; Sun, 14 Nov 1999 21:17:23 -0800 (PST) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with ESMTP id AAA09123; Mon, 15 Nov 1999 00:17:20 -0500 (EST) Date: Mon, 15 Nov 1999 00:17:20 -0500 (EST) From: "Matthew N. Dodd" To: Frank Mayhar Cc: current@FreeBSD.ORG Subject: Re: Problems with 3Com 547BT card versus -current. In-Reply-To: <199911150215.SAA04923@realtime.exit.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 14 Nov 1999, Frank Mayhar wrote: > And it detects the card and notes its MAC address properly, but it's > still unusable. The MAC address isn't correct in either of the 2 boot logs attached. > When I try to set the IP address on that interface, it gripes about an > unknown interface type, and settles on AUI, which is obviously > incorrect. Boot verbose and show me exactly what the output is which 'gripes' etc. My PCCARD hardware still isn't here, but I'm going to get to the bottom of this one way or another. -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | This Space For Rent | ISO8802.5 4ever | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 14 22:16:13 1999 Delivered-To: freebsd-current@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id C136014CAD; Sun, 14 Nov 1999 22:16:05 -0800 (PST) (envelope-from julian@whistle.com) Received: from current1.whiste.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id WAA75436; Sun, 14 Nov 1999 22:16:05 -0800 (PST) Date: Sun, 14 Nov 1999 22:16:04 -0800 (PST) From: Julian Elischer To: current@freebsd.org Cc: luoqi@freebsd.org Subject: Wine under -current. patches.. comments? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The latest port of wine references PR 14652 for patches to make -current work. some of these ptches are however in areas I don't understand. In particular signals, register contexts, etc. There is reference to a patch of luoqi's as well as other comments. Some of the patches are simply to newer code back to 3.3 but there are obviously problems with -current as well. Is there anyone with their fingers in that stuff that has a patchset for -current? Julian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 14 23: 2:22 1999 Delivered-To: freebsd-current@freebsd.org Received: from sorrow.havoc.vtic.net (sorrow.havoc.vtic.net [216.38.135.21]) by hub.freebsd.org (Postfix) with ESMTP id E0BC714C15 for ; Sun, 14 Nov 1999 23:02:19 -0800 (PST) (envelope-from igo@vtic.net) Received: from loathing.vtic.net (loathing.havoc.vtic.net [216.38.135.22]) by sorrow.havoc.vtic.net (8.9.1b+Sun/8.9.1) with ESMTP id XAA10009 for ; Sun, 14 Nov 1999 23:02:19 -0800 (PST) Received: from localhost (igo@localhost) by loathing.vtic.net (8.9.1b+Sun/8.9.1) with ESMTP id XAA03148 for ; Sun, 14 Nov 1999 23:02:18 -0800 (PST) X-Authentication-Warning: loathing.vtic.net: igo owned process doing -bs Date: Sun, 14 Nov 1999 23:02:18 -0800 (PST) From: Lester Igo X-Sender: igo@loathing To: freebsd-current@freebsd.org Subject: -current Make World Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have been trying to get world to compile on my system and had a "signal 12" failure at the same location every time. I started with FreeBSD-3.3-Release last Friday, tried current and it failed so I moved on to stable, it worked, I installed it and built a new kernel, and then using the fresh compile I tried to go to -current and it still fails at the same location with the same signal 12... This computer in it's same hardware config compiled many -current versions prior to 3.0 (it is an SMP system 2xP166MMX), so I am fairly sure of the hardware. (not to mention it compiled -stable without a hitch) I haven't followed the FreeBSD current mailing lists for about a year, so if instructions have been sent to get around this problem, I missed them. Note: yes I joined the mailing lists now that I am trying to get back on that track... Speaking of which, is their an archive (web based?) of the FreeBSD-current mailing list (how about others?)? I didn't see one linked in my searches around the web pages. All that said, it bails on a "signal 12" as follows (any suggestions of things to try please let me know): ----------------------------- ===> f77doc ===> cc_tools /usr/obj/usr/src/gnu/usr.bin/cc/cc_tools created for /usr/src/gnu/usr.bin/cc/cc_tools ===> cc_int /usr/obj/usr/src/gnu/usr.bin/cc/cc_int created for /usr/src/gnu/usr.bin/cc/cc_int ===> cc_drv /usr/obj/usr/src/gnu/usr.bin/cc/cc_drv created for /usr/src/gnu/usr.bin/cc/cc_drv ===> cpp /usr/obj/usr/src/gnu/usr.bin/cc/cpp created for /usr/src/gnu/usr.bin/cc/cpp ===> cc1 /usr/obj/usr/src/gnu/usr.bin/cc/cc1 created for /usr/src/gnu/usr.bin/cc/cc1 ===> cc /usr/obj/usr/src/gnu/usr.bin/cc/cc created for /usr/src/gnu/usr.bin/cc/cc ===> cc1obj /usr/obj/usr/src/gnu/usr.bin/cc/cc1obj created for /usr/src/gnu/usr.bin/cc/cc1obj ===> cc1plus /usr/obj/usr/src/gnu/usr.bin/cc/cc1plus created for /usr/src/gnu/usr.bin/cc/cc1plus ===> c++ /usr/obj/usr/src/gnu/usr.bin/cc/c++ created for /usr/src/gnu/usr.bin/cc/c++ ===> c++filt /usr/obj/usr/src/gnu/usr.bin/cc/c++filt created for /usr/src/gnu/usr.bin/cc/c++filt ===> doc /usr/obj/usr/src/gnu/usr.bin/cc/doc created for /usr/src/gnu/usr.bin/cc/doc ===> f77 /usr/obj/usr/src/gnu/usr.bin/cc/f77 created for /usr/src/gnu/usr.bin/cc/f77 ===> f771 /usr/obj/usr/src/gnu/usr.bin/cc/f771 created for /usr/src/gnu/usr.bin/cc/f771 ===> f77doc /usr/obj/usr/src/gnu/usr.bin/cc/f77doc created for /usr/src/gnu/usr.bin/cc/f77doc cd /usr/src/gnu/lib/libgcc; /usr/obj/usr/src/tmp/usr/bin/make -DWORLD -DNOINFO -DNOMAN -DNOPIC -DNOPROFILE -DNOSHARED cleandepend; /usr/obj/usr/src/tmp/usr/bin/make -DWORLD -DNOINFO -DNOMAN -DNOPIC -DNOPROFILE -DNOSHARED all; /usr/obj/usr/src/tmp/usr/bin/make -DWORLD -DNOINFO -DNOMAN -DNOPIC -DNOPROFILE -DNOSHARED -B install; /usr/obj/usr/src/tmp/usr/bin/make -DWORLD -DNOINFO -DNOMAN -DNOPROFILE -DNOSHARED -B cleandir obj rm -f .depend /usr/obj/usr/src/gnu/lib/libgcc/GPATH /usr/obj/usr/src/gnu/lib/libgcc/GRTAGS /usr/obj/usr/src/gnu/lib/libgcc/GSYMS /usr/obj/usr/src/gnu/lib/libgcc/GTAGS echo '#include ' > config.h echo '#include ' >> config.h echo '#include "i386/xm-i386.h"' > tconfig.h echo '#include "i386/i386.h"' > tm.h echo '#include "i386/att.h"' >> tm.h echo '#include "i386/freebsd.h"' >> tm.h echo '#include "i386/perform.h"' >> tm.h cc -c -O -pipe -I/usr/src/gnu/lib/libgcc/../../../contrib/egcs/gcc/config -I/usr/src/gnu/lib/libgcc/../../../contrib/egcs/gcc -I. -fexceptions -DIN_GCC -I/usr/obj/usr/src/tmp/usr/include -DL_mulsi3 -o _mulsi3.o /usr/src/gnu/lib/libgcc/../../../contrib/egcs/gcc/libgcc1.c *** Signal 12 Stop in /usr/src/gnu/lib/libgcc. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. ----------------------------------------------------- Thanks, and I look forward to being back on the -current track again! -- Lester Igo igo@vtic.net http://www.vtic.net/~igo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 14 23:34: 4 1999 Delivered-To: freebsd-current@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id 1BE2914BE4 for ; Sun, 14 Nov 1999 23:33:51 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (root@d60-025.leach.ucdavis.edu [169.237.60.25]) by relay.nuxi.com (8.9.3/8.9.3) with ESMTP id XAA88879; Sun, 14 Nov 1999 23:33:50 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.9.3/8.9.1) id XAA51652; Sun, 14 Nov 1999 23:33:50 -0800 (PST) (envelope-from obrien) Date: Sun, 14 Nov 1999 23:33:50 -0800 From: "David O'Brien" To: Lester Igo Cc: freebsd-current@freebsd.org Subject: Re: -current Make World Message-ID: <19991114233350.A51632@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from igo@vtic.net on Sun, Nov 14, 1999 at 11:02:18PM -0800 X-Operating-System: FreeBSD 4.0-CURRENT Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Nov 14, 1999 at 11:02:18PM -0800, Lester Igo wrote: > I started with FreeBSD-3.3-Release last Friday, tried current and it > failed so I moved on to stable, it worked, I installed it and built a new > kernel, and then using the fresh compile I tried to go to -current and it > still fails at the same location with the same signal 12... Did you build a -CURRENT kernel before trying to build a -CURRENT world? See also /usr/src/UPDATING. -- -- David (obrien@NUXI.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Nov 14 23:45:34 1999 Delivered-To: freebsd-current@freebsd.org Received: from lor.watermarkgroup.com (lor.watermarkgroup.com [207.202.73.33]) by hub.freebsd.org (Postfix) with ESMTP id CFA7D14C97 for ; Sun, 14 Nov 1999 23:45:31 -0800 (PST) (envelope-from luoqi@watermarkgroup.com) Received: (from luoqi@localhost) by lor.watermarkgroup.com (8.8.8/8.8.8) id CAA27884; Mon, 15 Nov 1999 02:45:30 -0500 (EST) (envelope-from luoqi) Date: Mon, 15 Nov 1999 02:45:30 -0500 (EST) From: Luoqi Chen Message-Id: <199911150745.CAA27884@lor.watermarkgroup.com> To: current@freebsd.org, julian@whistle.com Subject: Re: Wine under -current. patches.. comments? Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > The latest port of wine references PR 14652 > for patches to make -current work. > some of these ptches are however in areas I don't understand. > In particular signals, register contexts, etc. This refers to validity of segment registers fs/gs in sigcontext. Under -stable both of them are unused and signal handlers have to read the registers directly. Under -current fs was valid and gs still unused until I changed it recently, now they are both valid. This was done a couple weeks before 3.3-RELEASE, so I didn't have time to change -stable as well. I planned to do it immediately afterwards, but Marcel's 128-signal change came in, and I decided to wait for -current to stablize first. I guess it's time for me to make the changes. A word of warning, after the changes wine should be source compatible between -stable and -current, binary compiled on -stable should still work on -current, but not vice versa. There's another patch regarding SIGTRAP in the PR. I recall there were some discussions about it, but I don't know what's the final resolution (if there was one). Maybe Marcel and Bruce know better. > There is reference to a patch of luoqi's as well as other comments. This is the ldt sharing patch I had a while ago. It's still in my local tree, but I haven't updated the patch on my web page for a long time. I wanted to commit this patch, but I haven't found any one with enough time and interest to review it. Julian, would you? I can send you the latest diff. > Some of the patches are simply to newer code back to 3.3 but there are > obviously problems with -current as well. > > Is there anyone with their fingers in that stuff that has a patchset for > -current? > If I could get the ldt sharing stuff committed, the patchset would be a lot more manageable :-) > Julian > -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 0:19:50 1999 Delivered-To: freebsd-current@freebsd.org Received: from nowcool.dhs.org (FX3-1-031.mgfairfax.rr.com [24.28.200.31]) by hub.freebsd.org (Postfix) with ESMTP id BA04314F13 for ; Mon, 15 Nov 1999 00:19:42 -0800 (PST) (envelope-from freebsd@nowcool.dhs.org) Received: from localhost (freebsd@localhost) by nowcool.dhs.org (8.9.3/8.9.3) with ESMTP id DAA00865 for ; Mon, 15 Nov 1999 03:19:32 GMT (envelope-from freebsd@nowcool.dhs.org) Date: Mon, 15 Nov 1999 03:19:32 +0000 (GMT) From: Byung Yang To: current@freeBSD.org Subject: snd0 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG When I play mp3's or mpg files on my computer, it plays fine during first three minutes or so and then I start hearing a lot of statics. If I pause the player and play again right after that, it comes to normal. Does anybody experience this? I am using snd0 with crystal semiconductor 4232 chipset(css0) oh I supped and made world on Sun Nov 14 06:01:02 Thanks for your comments. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 2:13:47 1999 Delivered-To: freebsd-current@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 5783014C15; Mon, 15 Nov 1999 02:13:45 -0800 (PST) (envelope-from bright@wintelcom.net) Received: from localhost (bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) with ESMTP id CAA11163; Mon, 15 Nov 1999 02:39:26 -0800 (PST) Date: Mon, 15 Nov 1999 02:39:26 -0800 (PST) From: Alfred Perlstein To: current@freebsd.org Cc: msmith@freebsd.org Subject: installing onto ami mega raid. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I spent about 2 to 3 hours last night futzing with sysinstall and getting the amr.ko file onto the 4.0 install disk (using the 4.0-19991114 SNAP) I tried adding the amr disks to devices.c in sysinstall but had no luck. After booting the install disks and loading the amr kld (the probe messages showed that it was detected) I escaped to the prompt (alt+f4). I saw that the amrd0 /dev/ entries had been created, but attempts to access them gave "unit 0 not available" (as far as i remeber) What exactly needs to be done to get 4.0 installed with a amr disk as root? this is what I tried: Index: devices.c =================================================================== RCS file: /home/ncvs/src/release/sysinstall/devices.c,v retrieving revision 1.106 diff -u -r1.106 devices.c --- devices.c 1999/11/09 19:10:15 1.106 +++ devices.c 1999/11/15 14:07:33 @@ -74,6 +74,8 @@ { DEVICE_TYPE_TAPE, "rwt%d", "Wangtek tape drive", 10, 0, 1, 4, 'c' }, { DEVICE_TYPE_DISK, "da%d", "SCSI disk device", 4, 65538, 8, 16, 'b' }, { DEVICE_TYPE_DISK, "rda%d", "SCSI disk device", 13, 65538, 8, 16, 'c' }, + { DEVICE_TYPE_DISK, "amrd%d", "AMI-MEGARAID disk", 35, 65538, 8, 16, 'b' }, + { DEVICE_TYPE_DISK, "ramrd%d", "AMI-MEGARAID disk", 133, 65538, 8, 16, 'c' }, { DEVICE_TYPE_DISK, "wd%d", "IDE/ESDI/MFM/ST506 disk device", 0, 65538, 8, 16, 'b' }, { DEVICE_TYPE_DISK, "rwd%d", "IDE/ESDI/MFM/ST506 disk device", 3, 65538, 8, 16, 'c' }, { DEVICE_TYPE_DISK, "ad%d", "ATA/IDE disk device", 30, 65538, 8, 16, 'b' }, Any ideas? We're really depending on getting these things going RSN. thanks, -Alfred Perlstein - [bright@rush.net|alfred@freebsd.org] Wintelcom systems administrator and programmer - http://www.wintelcom.net/ [bright@wintelcom.net] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 2:37:17 1999 Delivered-To: freebsd-current@freebsd.org Received: from ipt2.iptelecom.net.ua (ipt2.iptelecom.net.ua [212.9.224.2]) by hub.freebsd.org (Postfix) with ESMTP id 873BB15000 for ; Mon, 15 Nov 1999 02:37:10 -0800 (PST) (envelope-from sobomax@altavista.net) Received: from vega.vega.com (dialup1-53.iptelecom.net.ua [212.9.226.53]) by ipt2.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id MAA09642; Mon, 15 Nov 1999 12:41:01 +0200 (EET) Received: from altavista.net (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.9.3/8.9.3) with ESMTP id MAA73446; Mon, 15 Nov 1999 12:36:34 +0200 (EET) (envelope-from sobomax@altavista.net) Message-ID: <382FE231.932A840F@altavista.net> Date: Mon, 15 Nov 1999 12:36:33 +0200 From: Maxim Sobolev Reply-To: sobomax@altavista.net Organization: Vega International Capital X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: obrien@NUXI.com Cc: current@FreeBSD.ORG Subject: Re: ** HEADS UP ** Switching to GCC 2.95.2 as base compiler References: <19991114170440.A30334@dragon.nuxi.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David O'Brien wrote: > I'll be pulling the switch to use GCC 2.95.2 as the base compiler in > -CURRENT on Sunday evening (Freefall time). > > Those not-quite-so daring might want to hold off on your next make world. > > *** NOTE *** that I have NOT changed the shared lib version for > libstc++.so (the rules disallow it). With the number of chagnes between > EGCS 1.1.2 and GCC 2.95.2 in the C++ arena using a 2.95.2 libstdc++ with > binaries linked against a 1.1.2 libstdc++ will probably cause you > problems. I would not be surprised if you needed to replace ever port > you've installed that was compiled by c++. It seems that currently after introduction of 2.95.2 world could not be compiled with -jN option (complains about not being able to locate genrtl.h). -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 3:18:42 1999 Delivered-To: freebsd-current@freebsd.org Received: from nets5.rz.rwth-aachen.de (nets5.rz.RWTH-Aachen.DE [137.226.144.13]) by hub.freebsd.org (Postfix) with ESMTP id CDB5114BD0; Mon, 15 Nov 1999 03:18:37 -0800 (PST) (envelope-from stolz@Pool.Informatik.RWTH-Aachen.DE) Received: from campino.informatik.rwth-aachen.de (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by nets5.rz.rwth-aachen.de (8.9.1a/8.9.1/8) with ESMTP id MAA29071; Mon, 15 Nov 1999 12:18:29 +0100 (MET) Received: from solo.informatik.rwth-aachen.de (stolz@solo.Informatik.RWTH-Aachen.DE [137.226.116.103]) by campino.informatik.rwth-aachen.de (8.9.1a/8.9.1/3) with ESMTP id MAA12625; Mon, 15 Nov 1999 12:18:28 +0100 (MET) Received: (from stolz@localhost) by solo.informatik.rwth-aachen.de (8.9.1a/8.9.1/1) id MAA26375; Mon, 15 Nov 1999 12:18:27 +0100 (MET) Date: Mon, 15 Nov 1999 12:18:27 +0100 From: Volker Stolz To: Hellmuth Michaelis Cc: Alexander Leidinger , freebsd-current@FreeBSD.ORG, isdn@FreeBSD.ORG Subject: Re: i4b & security (Re: "man" reads /etc/rc.conf?) Message-ID: <19991115121827.A26343@solo.informatik.rwth-aachen.de> References: <199911131029.LAA00904@work.net.local> <19991113172409.E919738E2@hcswork.hcs.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <19991113172409.E919738E2@hcswork.hcs.de>; from Hellmuth Michaelis on Sat, Nov 13, 1999 at 06:24:09PM +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Nov 13, 1999 at 06:24:09PM +0100, Hellmuth Michaelis wrote: > I'm not at all satisfied with the way password arguments to spppcontrol > work currently. How about some /etc/sppp/{pap,chap}-secrets with restrictive permissions? So you could specify everything except the secrets with spppcontrol. -- Volker Stolz * stolz@pool.informatik.rwth-aachen.de * PGP To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 3:37:28 1999 Delivered-To: freebsd-current@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id BE2E914F26 for ; Mon, 15 Nov 1999 03:37:25 -0800 (PST) (envelope-from mjacob@feral.com) Received: from beppo.feral.com (beppo [192.67.166.79]) by feral.com (8.8.7/8.8.7) with ESMTP id DAA02002 for ; Mon, 15 Nov 1999 03:37:54 -0800 Date: Mon, 15 Nov 1999 03:37:54 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: current@freebsd.org Subject: FreeBSD 4.0 SCSI Tape Driver Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The design phase for FreeBSD 4.0 is coming to a close. There are a couple of things I'm planning on (belatedly) for the SCSI tape driver. I'd like feedback and suggestions about these and other things, so pass 'em my way. One change I'm thinking about is probably controversial, so I'd like to get some feedback on it now. Since this is a major release step, this would be the time to make such changes if at all. I'd like to make the *default* tape EOT handling behaviour such that all tapes use only *one* filemark at EOT rather than the current *two* filemarks at EOT (except for QIC). Probably one of the highest breakage items for this driver is someone adding yet another unknown QIC-like tape device which behaves unhappily when the driver tries to write two filemarks at the end of tape. Insofar as I know, the convention for two filemarks at the end of tape is useful only for devices that cannot determine physical eot (1/2" Reel tapes)- and I haven't seen those around for quite some time. There already is an ioctl (and control via mt(1)) to change the default eot model. There could very well also be a config option too. I'd like to make the 1 Filemark at EOT the default though. I'll have to fix tcopy, and I want to give some thought so that there are no compatibility and interchange problems, but if those concerns are adequately covered I think this is the right thing to do. So- let me know, either via this list or privately. Thanks in advance... -matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 3:37:34 1999 Delivered-To: freebsd-current@freebsd.org Received: from frosty.purefusion.com (core.fedz.org [216.94.188.115]) by hub.freebsd.org (Postfix) with ESMTP id CE7FD15050 for ; Mon, 15 Nov 1999 03:37:24 -0800 (PST) (envelope-from relapz@purefusion.com) Received: from localhost (relapz@localhost) by frosty.purefusion.com (8.9.3/8.9.3) with ESMTP id GAA01423; Mon, 15 Nov 1999 06:37:17 -0500 (EST) Date: Mon, 15 Nov 1999 06:37:16 -0500 (EST) From: relapz To: Byung Yang Cc: current@FreeBSD.ORG Subject: Re: snd0 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG have you tried using the pcm0 sound drivers instead? I used them for the crystal -based on-board sound that comes with Dell Optiplex machines... Have a look at LINT for the setup instructions. DJM:> On Mon, 15 Nov 1999, Byung Yang wrote: > > When I play mp3's or mpg files on my computer, it plays fine during first > three minutes or so and then I start hearing a lot of statics. If I pause > the player and play again right after that, it comes to normal. > Does anybody experience this? > > I am using snd0 with crystal semiconductor 4232 chipset(css0) > oh I supped and made world on Sun Nov 14 06:01:02 > > Thanks for your comments. > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 3:49:17 1999 Delivered-To: freebsd-current@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 6458D14F7C for ; Mon, 15 Nov 1999 03:49:08 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.040 #1) id 11nKck-000AeE-00; Mon, 15 Nov 1999 13:48:42 +0200 From: Sheldon Hearn To: relapz Cc: Byung Yang , current@FreeBSD.ORG Subject: Re: snd0 In-reply-to: Your message of "Mon, 15 Nov 1999 06:37:16 EST." Date: Mon, 15 Nov 1999 13:48:42 +0200 Message-ID: <40933.942666522@axl.noc.iafrica.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 15 Nov 1999 06:37:16 EST, relapz wrote: > have you tried using the pcm0 sound drivers instead? I used them for the > crystal -based on-board sound that comes with Dell Optiplex > machines... Have a look at LINT for the setup instructions. I get the same behaviour with pcm0 using a Creative Labs Vibra16 PnP; I get static at arbitrary moments (although most commonly at the beginning of a new mp3), which can usually be made to go away by backgrounding the mpg123 process for a few seconds and then bringing it back to foreground. Terribly imprecise How-To-Repeat, which is why I haven't bothered to report it. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 5:52: 2 1999 Delivered-To: freebsd-current@freebsd.org Received: from mrynet.com (mrynet.com [24.234.53.177]) by hub.freebsd.org (Postfix) with ESMTP id 598C014CB9 for ; Mon, 15 Nov 1999 05:51:59 -0800 (PST) (envelope-from freebsd@mrynet.com) Received: (from freebsd@localhost) by mrynet.com (8.9.3/8.9.3) id FAA26329 for freebsd-current@freebsd.org; Mon, 15 Nov 1999 05:51:58 -0800 (PST) (envelope-from freebsd) Posted-Date: Mon, 15 Nov 1999 05:51:58 -0800 (PST) Message-Id: <199911151351.FAA26329@mrynet.com> From: freebsd@mrynet.com (FreeBSD mailing list) Date: Mon, 15 Nov 1999 05:51:58 +0000 X-Mailer: Mail User's Shell (7.2.6 beta(3) 11/17/96) To: freebsd-current@freebsd.org Subject: kernel compile failure w/gcc2.95.2 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The following is AFTER cvsup, world build, config, make clean, and make depend: cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h -elf ../../i386/isa/pcaudio.c ../../i386/isa/pcaudio.c: In function `pcawrite': ../../i386/isa/pcaudio.c:196: Invalid `asm' statement: ../../i386/isa/pcaudio.c:196: fixed or forbidden register 0 (ax) was spilled for class AREG. ../../i386/isa/pcaudio.c:196: Invalid `asm' statement: ../../i386/isa/pcaudio.c:196: fixed or forbidden register 0 (ax) was spilled for class AREG. *** Error code 1 Stop in /usr/src/sys/compile/MRYMACH. mrynet# gcc -v Using builtin specs. gcc version 2.95.2 19991024 (release) Last cvsup was completed at 05:51 +0800 on 19991115. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 6: 4:23 1999 Delivered-To: freebsd-current@freebsd.org Received: from ikhala.tcimet.net (ikhala.tcimet.net [198.109.166.215]) by hub.freebsd.org (Postfix) with ESMTP id C74CF14BD4 for ; Mon, 15 Nov 1999 06:04:14 -0800 (PST) (envelope-from dervish@ikhala.tcimet.net) Received: (from dervish@localhost) by ikhala.tcimet.net (8.9.3/8.9.3) id JAA98272; Mon, 15 Nov 1999 09:33:39 -0500 (EST) (envelope-from dervish) Date: Mon, 15 Nov 1999 09:33:38 -0500 From: Bush Doctor To: Jim King Cc: freebsd-current@FreeBSD.ORG Subject: Re: pnp and AWE64 Message-ID: <19991115093338.C27688@ikhala.tcimet.net> References: <4.2.0.58.19991111224704.015fe070@mail.sstar.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <4.2.0.58.19991111224704.015fe070@mail.sstar.com>; from king@sstar.com on Thu, Nov 11, 1999 at 10:50:37PM -0600 X-Operating-System: FreeBSD 4.0-CURRENT i386 X-PGP-Fingerprint: 2C CE A5 D7 FA 4D D5 FD 9A CC 2B 23 04 46 48 F8 X-PGP-Keyid: 09E39259 WWW-Home-Page: http://ikhala.tcimet.net/dervish Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Out of da blue Jim King aka (king@sstar.com) said: > I just picked up an AWE64 to use until the Vortex2 driver is working. Is someone actively working on the Vortex2 driver for FreeBSD or are you referring to the work that's being done by the opensound group? > The card is detected in Win98, but unfortunately the new PnP code in -current > (cvsup'ed this evening) doesn't seem to find this card at all. Nothing > shows up about it in dmesg; pnpinfo shows my ISA PnP modem, but nothing at > all about the AWE64. > > #:^) -- bush doctor harder than the rest ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 6:39:21 1999 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 46E8514C83 for ; Mon, 15 Nov 1999 06:39:04 -0800 (PST) (envelope-from des@flood.ping.uio.no) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id PAA40981; Mon, 15 Nov 1999 15:38:44 +0100 (CET) (envelope-from des) To: Nicolai Petri Secure Cc: current@FreeBSD.ORG Subject: Re: Stats in kernelmode (Screensaver) References: From: Dag-Erling Smorgrav Date: 15 Nov 1999 15:38:43 +0100 In-Reply-To: Nicolai Petri Secure's message of "Tue, 9 Nov 1999 02:00:25 +0100 (CET)" Message-ID: Lines: 17 User-Agent: Gnus/5.070097 (Pterodactyl Gnus v0.97) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Nicolai Petri Secure writes: > I'm currently programming a screensaver the shows statistics (cpu load and > stuff) but the interface for doing it in kernel mode sucks.. What is the > right way to do it ? Check out the sysctl(8) source to see how it special-cases vm.loadavg; find out where the data comes from (search the kernel source for the string 'loadavg') and figure out a way to do the math without using floating-point (which doesn't work in the kernel). > And would the screensaver be subject for entering the main source tree ? Yes. DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 6:52:45 1999 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 71A8514DEF for ; Mon, 15 Nov 1999 06:52:31 -0800 (PST) (envelope-from des@flood.ping.uio.no) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id PAA41000; Mon, 15 Nov 1999 15:52:26 +0100 (CET) (envelope-from des) To: Jim King Cc: freebsd-current@FreeBSD.ORG Subject: Re: pnp and AWE64 References: <19991113222304.A22008@cs.mcgill.ca> <4.2.0.58.19991112191106.0161a680@mail.sstar.com> <4.2.0.58.19991113155109.01622610@mail.sstar.com> <4.2.0.58.19991114132902.015f92e8@mail.sstar.com> From: Dag-Erling Smorgrav Date: 15 Nov 1999 15:52:25 +0100 In-Reply-To: Jim King's message of "Sun, 14 Nov 1999 13:31:41 -0600" Message-ID: Lines: 15 User-Agent: Gnus/5.070097 (Pterodactyl Gnus v0.97) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jim King writes: > At 11:20 PM 11/13/1999 -0600, Jim King wrote: > > That does it. When running the loop forward only the ISA PnP modem is > > found; after hacking it to run the loop backwards the AWE64 *and* the > > modem are both found. Thanks! > fwiw, the same thing applies to FreeBSD 3.3 - an out-of-the-box kernel will > only find the ISA PnP modem (a USR3090); reversing the loop in > pnp_configure() in sys/i386/isa/pnp.c makes both the modem and the AWE64 > get detected. Please submit a PR with all the relevant information. DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 7: 3: 0 1999 Delivered-To: freebsd-current@freebsd.org Received: from matrix.eurocontrol.fr (matrix.uneec.eurocontrol.fr [147.196.254.254]) by hub.freebsd.org (Postfix) with ESMTP id CCEC914C58 for ; Mon, 15 Nov 1999 07:02:38 -0800 (PST) (envelope-from roberto@eurocontrol.fr) Received: from caerdonn.eurocontrol.fr (caerdonn.eurocontrol.fr [147.196.43.2]) by matrix.eurocontrol.fr (Postfix) with ESMTP id F123E37BD for ; Mon, 15 Nov 1999 16:02:35 +0100 (CET) (envelope-from roberto@caerdonn.eurocontrol.fr) Received: by caerdonn.eurocontrol.fr (Postfix, from userid 1193) id 326683AED; Mon, 15 Nov 1999 16:04:33 +0100 (CET) Date: Mon, 15 Nov 1999 16:04:33 +0100 From: Ollivier Robert To: FreeBSD Current Users' list Subject: Panic when playing sound [LONG] Message-ID: <19991115160433.F53356@caerdonn.eurocontrol.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0pre2i X-Operating-System: FreeBSD 4.0-CURRENT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I just got a new machine, an HP Kayak/XA with a PIII/500, 256 MB of RAM and 2x 9 GB of disk. It has a builtin sound card on the motherboard, apparently a soundblaster clone of some sort on the ISA bus. FreeBSD Audio Driver (newpcm) Nov 15 1999 14:52:14 Installed devices: pcm0: at io 0x220 irq 5 drq 0:1 (1/1 channels duplex) ^^^^ (do I have to worry here ?) I have current sources from a few days ago and configured newpcm as follow. The card is recognised at boot time w/o problem. Everytime I try to use mpg123 to play some music, the machine panic with "unaligned write 1522, 4". Note that using device pcm0 at isa0 port 0x220 irq 5 drq 1 flags 0x10 OR device pcm0 at isa? port ? irq 5 drq 1 flags 0x10 doesn't make any difference. Here are the registers: cs 0x8 ds 0xc0f10010 es 0x10 fs 0xc0e80010 ss 0x10 eax 0x12 ecx 0x780 ebx 0xc022cb8f (db_lengths+0x1d7) edx 0xc0227278 (ac97recdevs+0x654) esp 0xcccddd8c ebp 0xcccddd94 esi 0x100 edi 0xc0cfea00 efl 0x246 panic: unaligned write 1522, 4 panic: from debugger dumping to dev #da/0x20001, offset 524288 dump 256 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 9 7 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 1 7 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 --- #0 boot (howto=260) at ../../kern/kern_shutdown.c:273 273 dumppcb.pcb_cr3 = rcr3(); (kgdb) (kgdb) where #0 boot (howto=260) at ../../kern/kern_shutdown.c:273 #1 0xc0145605 in panic (fmt=0xc0212a54 "from debugger") at ../../kern/kern_shutdown.c:523 #2 0xc012dd49 in db_panic (addr=-1071747841, have_addr=0, count=-1, modif=0xcccddc44 "") at ../../ddb/db_command.c:433 #3 0xc012dce9 in db_command (last_cmdp=0xc0239c5c, cmd_table=0xc0239abc, aux_cmd_tablep=0xc0251e40) at ../../ddb/db_command.c:333 #4 0xc012ddae in db_command_loop () at ../../ddb/db_command.c:455 #5 0xc012fe33 in db_trap (type=3, code=0) at ../../ddb/db_trap.c:71 #6 0xc01e6abc in kdb_trap (type=3, code=0, regs=0xcccddd4c) at ../../i386/i386/db_interface.c:157 #7 0xc01f276c in trap (frame={tf_fs = -1058537456, tf_es = 16, tf_ds = -1057947632, tf_edi = -1060115968, tf_esi = 256, tf_ebp = -858923628, tf_isp = -858923656, tf_ebx = -1071484296, tf_edx = -1071461489, tf_ecx = 1920, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1071747841, tf_cs = 8, tf_eflags = 582, tf_esp = -1071461505, tf_ss = -1071555773}) at ../../i386/i386/trap.c:533 #8 0xc01e6cff in Debugger (msg=0xc0215b43 "panic") at machine/cpufunc.h:64 #9 0xc01455fc in panic (fmt=0xc0227278 "unaligned write %d, %d") at ../../kern/kern_shutdown.c:521 #10 0xc01cddba in chn_write (c=0xc0cfea00, buf=0xcccddee8) at ../../dev/pcm/channel.c:286 #11 0xc01cce8b in dsp_write (d=0xc0ce8600, chan=0, buf=0xcccddee8, flag=1) at ../../dev/pcm/dsp.c:201 #12 0xc01cc311 in sndwrite (i_dev=0xc0cff600, buf=0xcccddee8, flag=1) at ../../dev/pcm/sound.c:320 #13 0xc01786ad in spec_write (ap=0xcccdde98) at ../../miscfs/specfs/spec_vnops.c:284 #14 0xc01aefe8 in ufsspec_write (ap=0xcccdde98) at ../../ufs/ufs/ufs_vnops.c:1863 #15 0xc01af4dd in ufs_vnoperatespec (ap=0xcccdde98) at ../../ufs/ufs/ufs_vnops.c:2318 #16 0xc0174c79 in vn_write (fp=0xc0e65f00, uio=0xcccddee8, cred=0xc0f03400, flags=0, p=0xcb8e0880) at vnode_if.h:359 #17 0xc0152a95 in dofilewrite (p=0xcb8e0880, fp=0xc0e65f00, fd=4, buf=0x8085000, nbyte=16384, offset=-1, flags=0) at ../../sys/file.h:156 #18 0xc015299b in write (p=0xcb8e0880, uap=0xcccddf80) at ../../kern/sys_generic.c:297 #19 0xc01f3075 in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 134660960, tf_esi = 134732384, tf_ebp = 13, tf_isp = -858923052, tf_ebx = -1077953876, tf_edx = 134732548, tf_ecx = 0, tf_eax = 4, tf_trapno = 0, tf_err = 2, tf_eip = 671916088, tf_cs = 31, tf_eflags = 659, tf_esp = -1077955668, tf_ss = 47}) at ../../i386/i386/trap.c:1057 #20 0xc01e73b6 in Xint0x80_syscall () Cannot access memory at address 0xd. (kgdb) up #10 0xc01cddba in chn_write (c=0xc0cfea00, buf=0xcccddee8) at ../../dev/pcm/channel.c:286 286 if (l & a) panic("unaligned write %d, %d", l, a + 1); (kgdb) list 281 ret = 0; 282 continue; 283 } 284 /* ensure we always have a whole number of samples */ 285 l = min(b->fl, b->bufsize - b->fp); 286 if (l & a) panic("unaligned write %d, %d", l, a + 1); 287 l &= ~a; 288 w = c->feeder->feed(c->feeder, b->buf + b->fp, l, buf); 289 if (w == 0) panic("no feed"); 290 s = spltty(); (kgdb) print l $1 = 0 (kgdb) print a $2 = 3 (kgdb) I put my kernel config file and boot messages below. -=-=- # # nCAERDONN - mode modular CAERDONN # # $Id: //depot/caerdonn/kernel/CAERDONN#3 $ machine i386 cpu I686_CPU ident CAERDONN maxusers 32 options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #Berkeley Fast Filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options UCONSOLE #Allow users to grab the console options IPX options USER_LDT #allow user-level control of i386 ldt options CLK_USE_TSC_CALIBRATION options SYSVSHM options SYSVSEM options SYSVMSG options SHMMAXPGS=1024 options SOFTUPDATES options P1003_1B options _KPOSIX_PRIORITY_SCHEDULING options _KPOSIX_VERSION=199309L options DDB controller isa0 controller pci0 #device fxp0 device lnc0 controller fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 #controller wdc0 at isa? port IO_WD1 irq 14 #disk wd0 at wdc0 drive 0 #disk wd1 at wdc0 drive 1 controller wdc1 at isa? port IO_WD2 irq 15 #disk wd2 at wdc1 drive 0 #disk wd3 at wdc1 drive 1 device wcd0 #IDE CD-ROM # A single entry for any of these controllers (ncr, ahb, ahc) is sufficient # for any number of installed devices. controller sym0 controller scbus0 at sym0 device da0 at scbus0 target 0 device da1 at scbus0 target 1 device da2 at scbus0 target 2 device da3 at scbus0 target 3 device sa0 at scbus0 target 5 device cd0 device pass0 #CAM passthrough driver controller atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 device psm0 at atkbdc? irq 12 device vga0 at isa? port ? conflicts device sc0 at isa? pseudo-device splash device npx0 at nexus? port IO_NPX irq 13 device sio0 at isa? port IO_COM1 irq 4 device sio1 at isa? port IO_COM2 irq 3 controller ppbus0 controller ppc0 at isa? port ? irq 7 device lpt0 at ppbus? device plip0 at ppbus? device ppi0 at ppbus? controller pnp0 device pcm0 at isa? port ? irq 5 drq 1 flags 0x10 pseudo-device loop pseudo-device ether pseudo-device tun 2 pseudo-device pty 64 pseudo-device gzip # Exec gzipped a.out's pseudo-device bpf 4 pseudo-device snp 4 options KTRACE #kernel tracing controller uhci0 controller ohci0 controller usb0 device ugen0 device uhid0 -=-=- -=-=- Copyright (c) 1992-1999 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #1: Mon Nov 15 15:03:46 CET 1999 roberto@thendara.eurocontrol.fr:/src/src/sys/compile/CAERDONN Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 498747334 Hz CPU: Pentium III/Xeon (498.75-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x673 Stepping = 3 Features=0x383fbff real memory = 268435456 (262144K bytes) avail memory = 257675264 (251636K bytes) Preloaded elf kernel "kernel" at 0xc02b3000. Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vga-pci0: irq 9 at device 0.0 on pci1 isab0: at device 7.0 on pci0 isa0: on isab0 chip1: at device 7.1 on pci0 uhci0: irq 11 at device 7.2 on pci0 usb0: on uhci0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered chip2: at device 7.3 on pci0 pcib2: at device 19.0 on pci0 pci2: on pcib2 sym0: <875> irq 9 at device 4.0 on pci2 sym0: Symbios NVRAM, ID 7, Fast-20, parity checking sym0: open drain IRQ line driver, using on-chip SRAM lnc0: irq 9 at device 5.0 on pci2 lnc0: PCnet-FAST+ address 00:10:83:35:20:9d fdc0: at port 0x3f0-0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 wdc1 at port 0x170-0x177 irq 15 on isa0 wdc1: unit 0 (atapi): , removable, accel, dma, iordis wcd0: drive speed 5512KB/sec, 128KB cache wcd0: supported read types: CD-R, CD-RW, CD-DA, packet track wcd0: Audio: play, 255 volume levels wcd0: Mechanism: ejectable tray wcd0: Medium: no/blank disc inside, unlocked atkbdc0: at port 0x60-0x6f on isa0 atkbd0: irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 vga0: at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sio0 at port 0x3f8-0x3ff irq 4 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0 at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold plip0: on ppbus 0 lpt0: on ppbus 0 lpt0: Interrupt-driven port ppi0: on ppbus 0 pcm0: at irq 5 drq 1 flags 0x10 on isa0 Waiting 2 seconds for SCSI devices to settle sym0: Downloading SCSI SCRIPTS. (noperiph:sym0:0:-1:-1): SCSI bus reset delivered. Creating DISK da0 Creating DISK da1 Mounting root from ufs:/dev/da0s1a da0 at sym0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 40.000MB/s transfers (20.000MHz, offset 16, 16bit), Tagged Queueing Enabled da0: 8683MB (17783240 512 byte sectors: 255H 63S/T 1106C) da1 at sym0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da1: 8683MB (17783240 512 byte sectors: 255H 63S/T 1106C) WARNING: / was not properly dismounted vinum: loaded vinum: reading configuration from /dev/da0s1g vinum: updating configuration from /dev/da1s1h lnc0: Device timeout -- Resetting -=-=- -- Ollivier ROBERT -=- Eurocontrol EEC/TEC -=- Ollivier.Robert@eurocontrol.fr The Postman hits! The Postman hits! You have new mail. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 7:23:31 1999 Delivered-To: freebsd-current@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id 018CD1505F for ; Mon, 15 Nov 1999 07:23:20 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id CFBBD1CA0; Mon, 15 Nov 1999 23:23:17 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.0.2 2/24/98 To: Ollivier Robert Cc: FreeBSD Current Users' list Subject: Re: Panic when playing sound [LONG] In-reply-to: Your message of "Mon, 15 Nov 1999 16:04:33 +0100." <19991115160433.F53356@caerdonn.eurocontrol.fr> Date: Mon, 15 Nov 1999 23:23:17 +0800 From: Peter Wemm Message-Id: <19991115152317.CFBBD1CA0@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ollivier Robert wrote: > I just got a new machine, an HP Kayak/XA with a PIII/500, 256 MB of RAM and > 2x 9 GB of disk. It has a builtin sound card on the motherboard, > apparently a soundblaster clone of some sort on the ISA bus. > > FreeBSD Audio Driver (newpcm) Nov 15 1999 14:52:14 > Installed devices: > pcm0: at io 0x220 irq 5 drq 0:1 (1/1 channels duplex) > ^^^^ > (do I have to worry here ?) > > I have current sources from a few days ago and configured newpcm as > follow. The card is recognised at boot time w/o problem. > > Everytime I try to use mpg123 to play some music, the machine panic with > "unaligned write 1522, 4". Note that using > > device pcm0 at isa0 port 0x220 irq 5 drq 1 flags 0x10 > > OR > > device pcm0 at isa? port ? irq 5 drq 1 flags 0x10 > > doesn't make any difference. Have you tried plain "device pcm0"? (and if it's not detected (ie: it's a motherboard resources rather than a pnp isa device), try adding "options PNPBIOS" to your kernel.) Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 7:24:57 1999 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id AD753150CF for ; Mon, 15 Nov 1999 07:24:45 -0800 (PST) (envelope-from des@flood.ping.uio.no) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id QAA41094; Mon, 15 Nov 1999 16:24:33 +0100 (CET) (envelope-from des) To: "Peter Edwards" Cc: current@FreeBSD.ORG, peter.edwards@openet-telecom.com Subject: Re: fstat(1) breakage + fix References: <1829F7D8FD893D1178D000807CFB3258@peter.edwards.ireland.com> From: Dag-Erling Smorgrav Date: 15 Nov 1999 16:24:33 +0100 In-Reply-To: "Peter Edwards"'s message of "Sun, 14 Nov 1999 00:07:52 +2400" Message-ID: Lines: 9 User-Agent: Gnus/5.070097 (Pterodactyl Gnus v0.97) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Peter Edwards" writes: > I've attached a patch that appears reliable. Can someone review it > (and possibly commit??) Send in a PR with the patch. DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 7:25:34 1999 Delivered-To: freebsd-current@freebsd.org Received: from matrix.eurocontrol.fr (matrix.uneec.eurocontrol.fr [147.196.254.254]) by hub.freebsd.org (Postfix) with ESMTP id 77A8D1504D for ; Mon, 15 Nov 1999 07:25:23 -0800 (PST) (envelope-from roberto@eurocontrol.fr) Received: from caerdonn.eurocontrol.fr (caerdonn.eurocontrol.fr [147.196.43.2]) by matrix.eurocontrol.fr (Postfix) with ESMTP id D53E53E4A; Mon, 15 Nov 1999 16:25:21 +0100 (CET) (envelope-from roberto@caerdonn.eurocontrol.fr) Received: by caerdonn.eurocontrol.fr (Postfix, from userid 1193) id B8C763AED; Mon, 15 Nov 1999 16:27:19 +0100 (CET) Date: Mon, 15 Nov 1999 16:27:19 +0100 From: Ollivier Robert To: Peter Wemm Cc: FreeBSD Current Users' list Subject: Re: Panic when playing sound [LONG] Message-ID: <19991115162719.G53356@caerdonn.eurocontrol.fr> References: <19991115160433.F53356@caerdonn.eurocontrol.fr> <19991115152317.CFBBD1CA0@overcee.netplex.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0pre2i In-Reply-To: <19991115152317.CFBBD1CA0@overcee.netplex.com.au> X-Operating-System: FreeBSD 4.0-CURRENT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG According to Peter Wemm: > Have you tried plain "device pcm0"? Yes, nothing was found. > (and if it's not detected (ie: it's a > motherboard resources rather than a pnp isa device), try adding "options > PNPBIOS" to your kernel.) Here are the results of dmesg with PNPBIOS: Copyright (c) 1992-1999 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #2: Mon Nov 15 16:10:06 CET 1999 roberto@thendara.eurocontrol.fr:/src/src/sys/compile/CAERDONN [...] pcm0: at irq 5 drq 1 flags 0x15 on isa0 [...] unknown0: at port 0x2e-0x2f,0xe0-0xe7,0xe8-0xe9,0x8400-0x8403,0x8404-0x8407,0x8408-0x8409,0x8410-0x841f,0x80 iomem 0xfffe0000-0xffffffff on isa0 unknown1: at iomem 0-0x9ffff,0xea000-0xfffff,0x100000-0xfffffff on isa0 unknown2: at port 0-0xf,0x81-0x8f,0xc0-0xdf drq 4 on isa0 unknown: can't assign resources unknown3: at port 0x40-0x43 irq 0 on isa0 unknown4: at port 0x70-0x71 irq 8 on isa0 unknown: can't assign resources unknown5: at port 0xf0-0xff irq 13 on isa0 unknown: can't assign resources unknown6: at port 0xcf8-0xcff on isa0 unknown7: at port 0x4d0-0x4d1,0x8000-0x803f,0x2180-0x218f on isa0 unknown8: at iomem 0xfec00000-0xfec0ffff,0xfee00000-0xfee00fff on isa0 unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources unknown9: at port 0x200-0x207 on isa0 -- Ollivier ROBERT -=- Eurocontrol EEC/TEC -=- Ollivier.Robert@eurocontrol.fr The Postman hits! The Postman hits! You have new mail. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 7:41:44 1999 Delivered-To: freebsd-current@freebsd.org Received: from matrix.eurocontrol.fr (matrix.uneec.eurocontrol.fr [147.196.254.254]) by hub.freebsd.org (Postfix) with ESMTP id 11F6E14C58 for ; Mon, 15 Nov 1999 07:41:36 -0800 (PST) (envelope-from roberto@eurocontrol.fr) Received: from caerdonn.eurocontrol.fr (caerdonn.eurocontrol.fr [147.196.43.2]) by matrix.eurocontrol.fr (Postfix) with ESMTP id 8E59337CA; Mon, 15 Nov 1999 16:41:34 +0100 (CET) (envelope-from roberto@caerdonn.eurocontrol.fr) Received: by caerdonn.eurocontrol.fr (Postfix, from userid 1193) id 6CDFC3AF0; Mon, 15 Nov 1999 16:43:32 +0100 (CET) Date: Mon, 15 Nov 1999 16:43:32 +0100 From: Ollivier Robert To: Peter Wemm Cc: FreeBSD Current Users' list Subject: Re: Panic when playing sound [LONG] Message-ID: <19991115164332.H53356@caerdonn.eurocontrol.fr> References: <19991115160433.F53356@caerdonn.eurocontrol.fr> <19991115152317.CFBBD1CA0@overcee.netplex.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0pre2i In-Reply-To: <19991115152317.CFBBD1CA0@overcee.netplex.com.au> X-Operating-System: FreeBSD 4.0-CURRENT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG According to Peter Wemm: > Have you tried plain "device pcm0"? (and if it's not detected (ie: it's a > motherboard resources rather than a pnp isa device), try adding "options > PNPBIOS" to your kernel.) With the following options, the machine doesn't crash but mpg123 doesn't seem to be able to write anything to the card and just sits. No output. options PNPBIOS controller pnp0 device pcm0 at isa0 port 0x220 irq 5 drq 1 flags 0x13 (after changing DMA 0 to DMA 3 in the BIOS of course). -- Ollivier ROBERT -=- Eurocontrol EEC/TEC -=- Ollivier.Robert@eurocontrol.fr The Postman hits! The Postman hits! You have new mail. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 7:41:46 1999 Delivered-To: freebsd-current@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id A74D4150A0 for ; Mon, 15 Nov 1999 07:41:29 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id AECD91CC7; Mon, 15 Nov 1999 23:41:26 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.0.2 2/24/98 To: Ollivier Robert Cc: FreeBSD Current Users' list Subject: Re: Panic when playing sound [LONG] In-reply-to: Your message of "Mon, 15 Nov 1999 16:27:19 +0100." <19991115162719.G53356@caerdonn.eurocontrol.fr> Date: Mon, 15 Nov 1999 23:41:26 +0800 From: Peter Wemm Message-Id: <19991115154126.AECD91CC7@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ollivier Robert wrote: > According to Peter Wemm: > > Have you tried plain "device pcm0"? > > Yes, nothing was found. > > > (and if it's not detected (ie: it's a > > motherboard resources rather than a pnp isa device), try adding "options > > PNPBIOS" to your kernel.) > > Here are the results of dmesg with PNPBIOS: Err.. *both* PNPBIOS and 'device pcm0' - the dmesg you showed below is with a static ISA sb card configured. I'm particularly interested in ADS7180, but it's conflicting with something, possibly the ISA pcm0. case 0x80719304: /* ADS7180 */ s = "Terratec Soundsystem BASE 1"; break; > roberto@thendara.eurocontrol.fr:/src/src/sys/compile/CAERDONN > [...] > pcm0: at irq 5 drq 1 flags 0x15 on isa0 > [...] > unknown0: at port 0x2e-0x2f,0xe0-0xe7,0xe8-0xe9,0x8400-0x8403,0x840 4-0x8407,0x8408-0x8409,0x8410-0x841f,0x80 iomem 0xfffe0000-0xffffffff on is a0 > unknown1: at iomem 0-0x9ffff,0xea000-0xfffff,0x100000-0xfffffff on isa0 > unknown2: at port 0-0xf,0x81-0x8f,0xc0-0xdf drq 4 on isa0 > unknown: can't assign resources > unknown3: at port 0x40-0x43 irq 0 on isa0 > unknown4: at port 0x70-0x71 irq 8 on isa0 > unknown: can't assign resources > unknown5: at port 0xf0-0xff irq 13 on isa0 > unknown: can't assign resources > unknown6: at port 0xcf8-0xcff on isa0 > unknown7: at port 0x4d0-0x4d1,0x8000-0x803f,0x2180-0x218f on isa0 > unknown8: at iomem 0xfec00000-0xfec0ffff,0xfee00000-0xfee00fff on i sa0 > unknown: can't assign resources > unknown: can't assign resources > unknown: can't assign resources > unknown: can't assign resources > unknown: can't assign resources > unknown: can't assign resources > unknown9: at port 0x200-0x207 on isa0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ These two look like SB + Game port. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 7:45:49 1999 Delivered-To: freebsd-current@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id C5AD814FD0 for ; Mon, 15 Nov 1999 07:45:44 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 06F241CA0; Mon, 15 Nov 1999 23:45:42 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.0.2 2/24/98 To: Ollivier Robert Cc: FreeBSD Current Users' list Subject: Re: Panic when playing sound [LONG] In-reply-to: Your message of "Mon, 15 Nov 1999 16:27:19 +0100." <19991115162719.G53356@caerdonn.eurocontrol.fr> Date: Mon, 15 Nov 1999 23:45:42 +0800 From: Peter Wemm Message-Id: <19991115154542.06F241CA0@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ollivier Robert wrote: Oh, also, there's a bug: peter@overcee[11:42pm]~src/sys/dev/pcm/isa-185> grep ADS * ad1816.c: case 0x80719304: /* ADS7180 */ mss.c: case 0x80719304: /* ADS7180 */ And yet: date: 1999/09/28 20:00:05; author: cg; state: Exp; lines: +15 -347 seperate the ad1816 driver from the mss driver since it shares no code Please try commenting out the ADS7180 from mss.c since it appears to have been intended to be moved. Please try: options PNPBIOS controller pnp0 device pcm0 Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 7:47: 6 1999 Delivered-To: freebsd-current@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id 751F314F59 for ; Mon, 15 Nov 1999 07:46:57 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 31F7B1CA0; Mon, 15 Nov 1999 23:46:55 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.0.2 2/24/98 To: Ollivier Robert Cc: FreeBSD Current Users' list Subject: Re: Panic when playing sound [LONG] In-reply-to: Your message of "Mon, 15 Nov 1999 16:43:32 +0100." <19991115164332.H53356@caerdonn.eurocontrol.fr> Date: Mon, 15 Nov 1999 23:46:55 +0800 From: Peter Wemm Message-Id: <19991115154655.31F7B1CA0@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ollivier Robert wrote: > According to Peter Wemm: > > Have you tried plain "device pcm0"? (and if it's not detected (ie: it's a > > motherboard resources rather than a pnp isa device), try adding "options > > PNPBIOS" to your kernel.) > > With the following options, the machine doesn't crash but mpg123 doesn't > seem to be able to write anything to the card and just sits. No output. > > options PNPBIOS > controller pnp0 > device pcm0 at isa0 port 0x220 irq 5 drq 1 flags 0x13 Err, no, just 'device pcm0'... > (after changing DMA 0 to DMA 3 in the BIOS of course). PNPBIOS should pick this up automatically, that's why you need to remove the 'at isa' stuff and stop overriding the pnp code from using what it discovers from the bios. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 8: 3:40 1999 Delivered-To: freebsd-current@freebsd.org Received: from matrix.eurocontrol.fr (matrix.uneec.eurocontrol.fr [147.196.254.254]) by hub.freebsd.org (Postfix) with ESMTP id B3B7A14FD0 for ; Mon, 15 Nov 1999 08:03:30 -0800 (PST) (envelope-from roberto@eurocontrol.fr) Received: from caerdonn.eurocontrol.fr (caerdonn.eurocontrol.fr [147.196.43.2]) by matrix.eurocontrol.fr (Postfix) with ESMTP id D50E037CA; Mon, 15 Nov 1999 17:03:28 +0100 (CET) (envelope-from roberto@caerdonn.eurocontrol.fr) Received: by caerdonn.eurocontrol.fr (Postfix, from userid 1193) id D058E3AED; Mon, 15 Nov 1999 17:05:25 +0100 (CET) Date: Mon, 15 Nov 1999 17:05:25 +0100 From: Ollivier Robert To: Peter Wemm Cc: FreeBSD Current Users' list Subject: Re: Panic when playing sound [LONG] Message-ID: <19991115170525.I53356@caerdonn.eurocontrol.fr> References: <19991115162719.G53356@caerdonn.eurocontrol.fr> <19991115154126.AECD91CC7@overcee.netplex.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0pre2i In-Reply-To: <19991115154126.AECD91CC7@overcee.netplex.com.au> X-Operating-System: FreeBSD 4.0-CURRENT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG According to Peter Wemm: > Err.. *both* PNPBIOS and 'device pcm0' - the dmesg you showed below is > with a static ISA sb card configured. I'm particularly interested in > ADS7180, but it's conflicting with something, possibly the ISA pcm0. Hmm, sorry. With PNPBIOS and "device pcm0" it seems to be much better: unknown0: at port 0x2e-0x2f,0xe0-0xe7,0xe8-0xe9,0x8400-0x8403,0x8404-0x8407,0x8408-0x8409,0x8410-0x841f,0x80 iomem 0xfffe0000-0xffffffff on isa0 unknown1: at iomem 0-0x9ffff,0xea000-0xfffff,0x100000-0xfffffff on isa0 unknown2: at port 0-0xf,0x81-0x8f,0xc0-0xdf drq 4 on isa0 unknown: can't assign resources unknown3: at port 0x40-0x43 irq 0 on isa0 unknown4: at port 0x70-0x71 irq 8 on isa0 unknown: can't assign resources unknown5: at port 0xf0-0xff irq 13 on isa0 unknown: can't assign resources unknown6: at port 0xcf8-0xcff on isa0 unknown7: at port 0x4d0-0x4d1,0x8000-0x803f,0x2180-0x218f on isa0 unknown8: at iomem 0xfec00000-0xfec0ffff,0xfee00000-0xfee00fff on isa0 unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources pcm0: at port 0x220-0x22f,0x388-0x38b,0x500-0x50f irq 5 drq 0,3 on isa0 unknown9: at port 0x200-0x207 on isa0 Executing ssh-askpass to query the password... FreeBSD Audio Driver (newpcm) Nov 15 1999 15:46:16 Installed devices: pcm0: at io 0x220 irq 5 drq 0:3 (1/1 channels duplex) > > unknown9: at port 0x200-0x207 on isa0 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ These two look like SB + Game port. Yes. But it doesn't seem to output anything. I get this on the console as soon as I press ^C. start dma, failed to set bit 0xfe 0xff and nothing is written to the sound device. MPEG 1.0 layer III, 112 kbit/s, 44100 Hz joint-stereo load: 0.19 cmd: mpg123 222 [pcmwr] 0.03u 4.13s 15% 808k load: 0.18 cmd: mpg123 222 [pcmwr] 0.03u 4.13s 13% 808k ^C [0:00] Decoding of 01-Hunter.mp3 finished. -- Ollivier ROBERT -=- Eurocontrol EEC/TEC -=- Ollivier.Robert@eurocontrol.fr The Postman hits! The Postman hits! You have new mail. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 8: 3:58 1999 Delivered-To: freebsd-current@freebsd.org Received: from kronos.alcnet.com (kronos.alcnet.com [63.69.28.22]) by hub.freebsd.org (Postfix) with ESMTP id EC8691511C for ; Mon, 15 Nov 1999 08:03:49 -0800 (PST) (envelope-from kbyanc@posi.net) X-Provider: ALC Communications, Inc. http://www.alcnet.com/ Received: from localhost (kbyanc@localhost) by kronos.alcnet.com (8.9.3/8.9.3/antispam) with ESMTP id LAA61318; Mon, 15 Nov 1999 11:01:33 -0500 (EST) Date: Mon, 15 Nov 1999 11:01:32 -0500 (EST) From: Kelly Yancey X-Sender: kbyanc@kronos.alcnet.com To: Vladimir Kushnir Cc: Alex Zepeda , Doug Rabson , current@FreeBSD.ORG Subject: Re: cvs commit: src/sys/isa isa_common.c In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 13 Nov 1999, Vladimir Kushnir wrote: > > > I've been working on a driver which would support the 'legacy' (i.e. > > > soundblaster compatible) section of the chip. This would support playback > > > but not record but its better than nothing. At this stage, I have it > > > mostly working but no sound yet (probably a mixer problem). > > > > Really? Cool! > > > > I've tried the same thing, and through a series of ugly hacks, got the SB > > Pro bits to probe and attach correctly (and if you set the SBPro version > > to 3.x or whatever the latest version is, you get a mixer device). Sadly > > I couldn't get any sound out of it (mpg123 set to 8bit mode..). > > Although, I'm not too sure how useful 8bit sound would really be. > > > > - alex > > > > Better than nothing, wouldn't it? > Could I help with it somehow? (With my, unfortunately, practically > nonexistent programmer's skill but with a huuuuge willingness to test > anything to make my card sound :-) > As drivers start shaping up, take a second and mention them on the BSD Driver Database (http://www.posi.net/freebsd/drivers/) so others who are interested can track your progress (and maybe help out). Thanks, Kelly -- Kelly Yancey - kbyanc@posi.net - Richmond, VA Director of Technical Services, ALC Communications http://www.alcnet.com/ Maintainer, BSD Driver Database http://www.posi.net/freebsd/drivers/ Coordinator, Team FreeBSD http://www.posi.net/freebsd/Team-FreeBSD/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 8:13:17 1999 Delivered-To: freebsd-current@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id 701CB14EB8 for ; Mon, 15 Nov 1999 08:13:01 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 1E9C51CA0; Tue, 16 Nov 1999 00:13:00 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.0.2 2/24/98 To: Ollivier Robert Cc: FreeBSD Current Users' list Subject: Re: Panic when playing sound [LONG] In-reply-to: Your message of "Mon, 15 Nov 1999 17:05:25 +0100." <19991115170525.I53356@caerdonn.eurocontrol.fr> Date: Tue, 16 Nov 1999 00:13:00 +0800 From: Peter Wemm Message-Id: <19991115161300.1E9C51CA0@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ollivier Robert wrote: [..] > But it doesn't seem to output anything. > > I get this on the console as soon as I press ^C. > > start dma, failed to set bit 0xfe 0xff [..] This will be the mss vs ad1816 problem. I've just been told that the mss.c driver should not be attaching to this card, ad1816 should. mss.c: if (retry == 0) printf("start dma, failed to set bit 0x%02x 0x%02x\n", ... so mss.c is grabbing it when it shouldn't. Please try: Index: mss.c =================================================================== RCS file: /home/ncvs/src/sys/dev/pcm/isa/mss.c,v retrieving revision 1.31 diff -u -r1.31 mss.c --- mss.c 1999/10/12 21:35:45 1.31 +++ mss.c 1999/11/15 16:11:20 @@ -1280,10 +1280,6 @@ s = "ENSONIQ SoundscapeVIVO"; break; - case 0x80719304: /* ADS7180 */ - s = "Terratec Soundsystem BASE 1"; - break; - case 0x1093143e: /* OPT9310 */ s = "OPTi931"; break; Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 8:14: 8 1999 Delivered-To: freebsd-current@freebsd.org Received: from matrix.eurocontrol.fr (matrix.uneec.eurocontrol.fr [147.196.254.254]) by hub.freebsd.org (Postfix) with ESMTP id 6004515143 for ; Mon, 15 Nov 1999 08:13:51 -0800 (PST) (envelope-from roberto@eurocontrol.fr) Received: from caerdonn.eurocontrol.fr (caerdonn.eurocontrol.fr [147.196.43.2]) by matrix.eurocontrol.fr (Postfix) with ESMTP id 6248937BD; Mon, 15 Nov 1999 17:13:50 +0100 (CET) (envelope-from roberto@caerdonn.eurocontrol.fr) Received: by caerdonn.eurocontrol.fr (Postfix, from userid 1193) id 643133AED; Mon, 15 Nov 1999 17:15:48 +0100 (CET) Date: Mon, 15 Nov 1999 17:15:48 +0100 From: Ollivier Robert To: Peter Wemm Cc: FreeBSD Current Users' list Subject: Re: Panic when playing sound [LONG] Message-ID: <19991115171548.J53356@caerdonn.eurocontrol.fr> References: <19991115162719.G53356@caerdonn.eurocontrol.fr> <19991115154542.06F241CA0@overcee.netplex.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0pre2i In-Reply-To: <19991115154542.06F241CA0@overcee.netplex.com.au> X-Operating-System: FreeBSD 4.0-CURRENT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG According to Peter Wemm: > Please try: > options PNPBIOS > controller pnp0 > device pcm0 No pcm device attached when I remove the code from mss.c: cat: /dev/sndstat: Device not configured unknown0: at port 0x2e-0x2f,0xe0-0xe7,0xe8-0xe9,0x8400-0x8403,0x8404-0x8407,0x8408-0x8409,0x8410-0x841f,0x80 iomem 0xfffe0000-0xffffffff on isa0 unknown1: at iomem 0-0x9ffff,0xea000-0xfffff,0x100000-0xfffffff on isa0 unknown2: at port 0-0xf,0x81-0x8f,0xc0-0xdf drq 4 on isa0 unknown: can't assign resources unknown3: at port 0x40-0x43 irq 0 on isa0 unknown4: at port 0x70-0x71 irq 8 on isa0 unknown: can't assign resources unknown5: at port 0xf0-0xff irq 13 on isa0 unknown: can't assign resources unknown6: at port 0xcf8-0xcff on isa0 unknown7: at port 0x4d0-0x4d1,0x8000-0x803f,0x2180-0x218f on isa0 unknown8: at iomem 0xfec00000-0xfec0ffff,0xfee00000-0xfee00fff on isa0 unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources unknown9: at port 0x220-0x22f,0x388-0x38b,0x530-0x53f irq 5 drq 1,3 on isa0 unknown10: at port 0x200-0x207 on isa0 pcm didn't attach to the ADS7180 device... -- Ollivier ROBERT -=- Eurocontrol EEC/TEC -=- Ollivier.Robert@eurocontrol.fr The Postman hits! The Postman hits! You have new mail. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 8:21:12 1999 Delivered-To: freebsd-current@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id B005114C13 for ; Mon, 15 Nov 1999 08:21:04 -0800 (PST) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by relay.nuxi.com (8.9.3/8.9.3) id IAA90712; Mon, 15 Nov 1999 08:20:58 -0800 (PST) (envelope-from obrien) Date: Mon, 15 Nov 1999 08:20:58 -0800 From: "David O'Brien" To: FreeBSD mailing list Cc: freebsd-current@FreeBSD.ORG Subject: Re: kernel compile failure w/gcc2.95.2 Message-ID: <19991115082058.A90647@relay.nuxi.com> Reply-To: obrien@NUXI.com References: <199911151351.FAA26329@mrynet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre1i In-Reply-To: <199911151351.FAA26329@mrynet.com> X-Operating-System: FreeBSD 3.3-STABLE Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Nov 15, 1999 at 05:51:58AM +0000, FreeBSD mailing list wrote: > The following is AFTER cvsup, world build, config, make clean, and make depend: ... > ../../i386/isa/pcaudio.c:196: Invalid `asm' statement: > ../../i386/isa/pcaudio.c:196: fixed or forbidden register 0 (ax) was spilled for class AREG. > *** Error code 1 Please send me your kernel configuration file. -- -- David (obrien@NUXI.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 8:48:45 1999 Delivered-To: freebsd-current@freebsd.org Received: from enst.enst.fr (enst.enst.fr [137.194.2.16]) by hub.freebsd.org (Postfix) with ESMTP id 77B7014BDD for ; Mon, 15 Nov 1999 08:48:33 -0800 (PST) (envelope-from beyssac@enst.fr) Received: from bofh.enst.fr (bofh-2.enst.fr [137.194.2.37]) by enst.enst.fr (8.9.1a/8.9.1) with ESMTP id RAA29706 for ; Mon, 15 Nov 1999 17:48:32 +0100 (MET) Received: by bofh.enst.fr (Postfix, from userid 12426) id 39997D226; Mon, 15 Nov 1999 17:48:31 +0100 (CET) Message-ID: <19991115174831.B30139@enst.fr> Date: Mon, 15 Nov 1999 17:48:31 +0100 From: Pierre Beyssac To: freebsd-current@freebsd.org Subject: egcs -O breaks ping.c:in_cksum() Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=azLHFNyN32YCQGCU X-Mailer: Mutt 0.93.2i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii I've discovered the following problem, either due to egcs or the source code for in_cksum in ping, I'm not sure. The symptom is that in_cksum() returns an invalid result on an odd-size buffer, when compile optimization is on. You can check this by trying "ping -s 65 localhost" and seeing that no reply is ever received. The kernel ICMP bad checksum count just increases. The problem is apparently due to the following code fragment: register u_short answer = 0; [...] /* mop up an odd byte, if necessary */ if (nleft == 1) { *(u_char *)(&answer) = *(u_char *)w ; sum += answer; } Removing the "register" declaration for 'answer' doesn't help. OTOH, adding "volatile" does help and seems to fix the problem. Only I'm not sure that's the correct fix because I'm unsure about the exact semantics of "volatile"; it might well be an egcs bug. Attached is a test program if anyone wishes to experiment. Try to compile with and without -O and see the difference. The correct output is "cksum=f9f6", the wrong output is "cksum=f5f6". -- Pierre Beyssac pb@enst.fr --azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ck.c" #include #include /* * in_cksum -- * Checksum routine for Internet Protocol family headers (C Version) */ u_short in_cksum(addr, len) u_short *addr; int len; { register int nleft = len; register u_short *w = addr; int sum = 0; volatile u_short answer = 0; /* * Our algorithm is simple, using a 32 bit accumulator (sum), we add * sequential 16 bit words to it, and at the end, fold back all the * carry bits from the top 16 bits into the lower 16 bits. */ while (nleft > 1) { sum += *w++; nleft -= 2; } /* mop up an odd byte, if necessary */ if (nleft == 1) { *(u_char *)(&answer) = *(u_char *)w ; sum += answer; } /* add back carry outs from top 16 bits to low 16 bits */ sum = (sum >> 16) + (sum & 0xffff); /* add hi 16 to low 16 */ sum += (sum >> 16); /* add carry */ answer = ~sum; /* truncate to 16 bits */ return(answer); } int main() { unsigned char tb[] = { 1, 2, 3, 4, 5 }; printf("cksum=%04x\n", in_cksum(tb, sizeof tb)); } --azLHFNyN32YCQGCU-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 8:53:12 1999 Delivered-To: freebsd-current@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 8010F14F74 for ; Mon, 15 Nov 1999 08:52:39 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.040 #1) id 11nPMd-000O8s-00; Mon, 15 Nov 1999 18:52:23 +0200 From: Sheldon Hearn To: Pierre Beyssac Cc: freebsd-current@FreeBSD.ORG Subject: Re: egcs -O breaks ping.c:in_cksum() In-reply-to: Your message of "Mon, 15 Nov 1999 17:48:31 +0100." <19991115174831.B30139@enst.fr> Date: Mon, 15 Nov 1999 18:52:23 +0200 Message-ID: <92805.942684743@axl.noc.iafrica.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 15 Nov 1999 17:48:31 +0100, Pierre Beyssac wrote: > I've discovered the following problem, either due to egcs or the > source code for in_cksum in ping, I'm not sure. Alas, you're not in virgin territory, Columbus. :-) See PR 13292. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 9: 1:41 1999 Delivered-To: freebsd-current@freebsd.org Received: from yana.lemis.com (yana.lemis.com [192.109.197.140]) by hub.freebsd.org (Postfix) with ESMTP id 4747314BF1; Mon, 15 Nov 1999 09:01:34 -0800 (PST) (envelope-from grog@mojave.sitaranetworks.com) Received: from mojave.sitaranetworks.com (mojave.sitaranetworks.com [199.103.141.157]) by yana.lemis.com (8.8.8/8.8.8) with ESMTP id DAA21175; Tue, 16 Nov 1999 03:31:29 +1030 (CST) (envelope-from grog@mojave.sitaranetworks.com) Message-ID: <19991115120055.29373@mojave.sitaranetworks.com> Date: Mon, 15 Nov 1999 12:00:55 -0500 From: Greg Lehey To: obrien@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: A call to squease more bytes from `boot2' Reply-To: Greg Lehey References: <19991113152838.A16659@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <19991113152838.A16659@dragon.nuxi.com>; from David O'Brien on Sat, Nov 13, 1999 at 03:28:38PM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Saturday, 13 November 1999 at 15:28:38 -0800, David O'Brien wrote: > Hi folks, > > Once again, `boot2' is the only thing holding us back from upgrading our > base compiler. The commit below plus -fdata-sections gets us to needing > to reduce another 100 bytes from `boot2'. > > This is an appeal to hackers to squeeze another 100 bytes out. It would > be preferable to use the ``egcs'' port as the compiler, but I presume > using the current system compiler would be OK too. I've just been doing some work in this area. I'll take a look. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 9: 2:10 1999 Delivered-To: freebsd-current@freebsd.org Received: from enst.enst.fr (enst.enst.fr [137.194.2.16]) by hub.freebsd.org (Postfix) with ESMTP id 74136150D0 for ; Mon, 15 Nov 1999 09:01:47 -0800 (PST) (envelope-from beyssac@enst.fr) Received: from bofh.enst.fr (bofh-2.enst.fr [137.194.2.37]) by enst.enst.fr (8.9.1a/8.9.1) with ESMTP id SAA00349; Mon, 15 Nov 1999 18:01:45 +0100 (MET) Received: by bofh.enst.fr (Postfix, from userid 12426) id 8DC94D226; Mon, 15 Nov 1999 18:01:45 +0100 (CET) Message-ID: <19991115180145.A31542@enst.fr> Date: Mon, 15 Nov 1999 18:01:45 +0100 From: Pierre Beyssac To: Sheldon Hearn Cc: freebsd-current@FreeBSD.ORG Subject: Re: egcs -O breaks ping.c:in_cksum() References: <19991115174831.B30139@enst.fr> <92805.942684743@axl.noc.iafrica.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <92805.942684743@axl.noc.iafrica.com>; from Sheldon Hearn on Mon, Nov 15, 1999 at 06:52:23PM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Nov 15, 1999 at 06:52:23PM +0200, Sheldon Hearn wrote: > On Mon, 15 Nov 1999 17:48:31 +0100, Pierre Beyssac wrote: > > I've discovered the following problem, either due to egcs or the > > source code for in_cksum in ping, I'm not sure. > See PR 13292. Wow, Thanks! August 21th, it's not really new... Maybe I can at least commit the addition of "volatile" to the source code. That will work around that particular bug until egcs is fixed... That doesn't say how many occurences of similar code there are in the rest of the system, of course. -- Pierre Beyssac pb@enst.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 9: 9:28 1999 Delivered-To: freebsd-current@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 39D031509C for ; Mon, 15 Nov 1999 09:09:20 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.040 #1) id 11nPct-000PE9-00; Mon, 15 Nov 1999 19:09:11 +0200 From: Sheldon Hearn To: Pierre Beyssac Cc: freebsd-current@FreeBSD.ORG Subject: Re: egcs -O breaks ping.c:in_cksum() In-reply-to: Your message of "Mon, 15 Nov 1999 18:01:45 +0100." <19991115180145.A31542@enst.fr> Date: Mon, 15 Nov 1999 19:09:11 +0200 Message-ID: <96976.942685751@axl.noc.iafrica.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 15 Nov 1999 18:01:45 +0100, Pierre Beyssac wrote: > Maybe I can at least commit the addition of "volatile" to the source > code. That will work around that particular bug until egcs is > fixed... FWIW, the newly committed gcc-2.95.2 doesn't "fix" the problem. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 9:15:51 1999 Delivered-To: freebsd-current@freebsd.org Received: from gndrsh.dnsmgr.net (GndRsh.dnsmgr.net [198.145.92.4]) by hub.freebsd.org (Postfix) with ESMTP id 5735514E9A for ; Mon, 15 Nov 1999 09:15:42 -0800 (PST) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: (from freebsd@localhost) by gndrsh.dnsmgr.net (8.9.3/8.9.3) id JAA15320; Mon, 15 Nov 1999 09:15:22 -0800 (PST) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <199911151715.JAA15320@gndrsh.dnsmgr.net> Subject: Re: FreeBSD 4.0 SCSI Tape Driver In-Reply-To: from Matthew Jacob at "Nov 15, 1999 03:37:54 am" To: mjacob@feral.com Date: Mon, 15 Nov 1999 09:15:21 -0800 (PST) Cc: current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > The design phase for FreeBSD 4.0 is coming to a close. There are a couple > of things I'm planning on (belatedly) for the SCSI tape driver. I'd like > feedback and suggestions about these and other things, so pass 'em my way. > > One change I'm thinking about is probably controversial, so I'd like to > get some feedback on it now. Since this is a major release step, this > would be the time to make such changes if at all. > > I'd like to make the *default* tape EOT handling behaviour such that all > tapes use only *one* filemark at EOT rather than the current *two* > filemarks at EOT (except for QIC). Probably one of the highest breakage > items for this driver is someone adding yet another unknown QIC-like tape > device which behaves unhappily when the driver tries to write two > filemarks at the end of tape. Insofar as I know, the convention for two > filemarks at the end of tape is useful only for devices that cannot > determine physical eot (1/2" Reel tapes)- and I haven't seen those around > for quite some time. There seems to be a great amount of confusion about the 2 EOF marks on tapes. It has nothing to do with physical EOT, even the 556BPI 1/2" tape drives on an IBM 1401 can detect physical EOT. The problem is with LOGICAL EOT, most tape drives do not have a logical EOT write command, even modern drives. So when you overwrite a tape how do you tell that you have gotten to the logical end of data, well, you write 2 EOF marks. The other thing that causes lots of folks confusion here is that some tape drives backspace over an EOF mark that is written, thus it gets real fun to put 2 EOF marks on the tape. You have to mt eof, mt fsf, mt eof. Since you do not point out how we are suppose to detect logical EOT on a tape I object to any elimination of dual EOF to indicate logical EOT. > > There already is an ioctl (and control via mt(1)) to change the default > eot model. There could very well also be a config option too. I'd like to > make the 1 Filemark at EOT the default though. I'll have to fix tcopy, > and I want to give some thought so that there are no compatibility > and interchange problems, but if those concerns are adequately covered I > think this is the right thing to do. 1 filemark can not be used for EOT, it is EOF, you can't tell if what you read next is another file or not that may have been left by a previosly longer usage on the tape. > > So- let me know, either via this list or privately. > Thanks in advance... Won't work, or would you care to explain how we are now suppose to detect logical EOT? -- Rod Grimes - KD7CAX @ CN85sl - (RWG25) rgrimes@gndrsh.dnsmgr.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 9:24:40 1999 Delivered-To: freebsd-current@freebsd.org Received: from arc.hq.cti.ru (arc.hq.cti.ru [195.34.40.3]) by hub.freebsd.org (Postfix) with ESMTP id 7EC1214E9A for ; Mon, 15 Nov 1999 09:24:28 -0800 (PST) (envelope-from tejblum@arc.hq.cti.ru) Received: from arc.hq.cti.ru (localhost [127.0.0.1]) by arc.hq.cti.ru (8.9.3/8.9.3) with ESMTP id UAA61798; Mon, 15 Nov 1999 20:23:00 +0300 (MSK) (envelope-from tejblum@arc.hq.cti.ru) Message-Id: <199911151723.UAA61798@arc.hq.cti.ru> X-Mailer: exmh version 2.0zeta 7/24/97 To: Sheldon Hearn Cc: Pierre Beyssac , freebsd-current@FreeBSD.ORG Subject: Re: egcs -O breaks ping.c:in_cksum() In-reply-to: Your message of "Mon, 15 Nov 1999 19:09:11 +0200." <96976.942685751@axl.noc.iafrica.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 15 Nov 1999 20:22:59 +0300 From: Dmitrij Tejblum Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > Maybe I can at least commit the addition of "volatile" to the source > > code. That will work around that particular bug until egcs is > > fixed... > > FWIW, the newly committed gcc-2.95.2 doesn't "fix" the problem. Are you sure? GCC-2.95.2 seems OK here. Dima To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 9:35:57 1999 Delivered-To: freebsd-current@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id C23AB15012 for ; Mon, 15 Nov 1999 09:35:52 -0800 (PST) (envelope-from mjacob@feral.com) Received: from semuta.feral.com (semuta [192.67.166.70]) by feral.com (8.8.7/8.8.7) with ESMTP id JAA03111; Mon, 15 Nov 1999 09:36:16 -0800 Date: Mon, 15 Nov 1999 09:36:16 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: "Rodney W. Grimes" Cc: current@FreeBSD.ORG Subject: Re: FreeBSD 4.0 SCSI Tape Driver In-Reply-To: <199911151715.JAA15320@gndrsh.dnsmgr.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > There seems to be a great amount of confusion about the 2 EOF marks on > tapes. It has nothing to do with physical EOT, even the 556BPI 1/2" > tape drives on an IBM 1401 can detect physical EOT. The problem is > with LOGICAL EOT, most tape drives do not have a logical EOT write > command, even modern drives. So when you overwrite a tape how do you > tell that you have gotten to the logical end of data, well, you write > 2 EOF marks. > > The other thing that causes lots of folks confusion here is that some > tape drives backspace over an EOF mark that is written, thus it gets > real fun to put 2 EOF marks on the tape. You have to mt eof, mt fsf, > mt eof. Yes, that *may* be a problem. Also, when you write two filemarks, as best as I can tell for some hardware, this is never able to be read back as two filemarks. > > Since you do not point out how we are suppose to detect logical EOT > on a tape I object to any elimination of dual EOF to indicate logical > EOT. > > > > There already is an ioctl (and control via mt(1)) to change the default > > eot model. There could very well also be a config option too. I'd like to > > make the 1 Filemark at EOT the default though. I'll have to fix tcopy, > > and I want to give some thought so that there are no compatibility > > and interchange problems, but if those concerns are adequately covered I > > think this is the right thing to do. > > 1 filemark can not be used for EOT, it is EOF, you can't tell if what you > read next is another file or not that may have been left by a previosly > longer usage on the tape. > > > > > So- let me know, either via this list or privately. > > Thanks in advance... > > Won't work, or would you care to explain how we are now suppose to detect > logical EOT? The driver detects EOT during reads. Subsequent reads from the user application return no data. A user application that detects a residual twice in a row knows it is at EOT. Nearly all other Unix systems work fine with this mechanism. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 9:43:21 1999 Delivered-To: freebsd-current@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 4578014A11 for ; Mon, 15 Nov 1999 09:43:18 -0800 (PST) (envelope-from mjacob@feral.com) Received: from semuta.feral.com (semuta [192.67.166.70]) by feral.com (8.8.7/8.8.7) with ESMTP id JAA03141; Mon, 15 Nov 1999 09:43:38 -0800 Date: Mon, 15 Nov 1999 09:43:38 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: "Rodney W. Grimes" Cc: current@FreeBSD.ORG Subject: Re: FreeBSD 4.0 SCSI Tape Driver In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Reread/reresponse, sorry- ENOCOFFEE: > > > > 1 filemark can not be used for EOT, it is EOF, you can't tell if what you > > read next is another file or not that may have been left by a previosly > > longer usage on the tape. > > Well, read until *BLANK CHECK* seems to be what the driver can and should do. Let me ponder this some- I believe what I propose actually works fine for all the devices we currently support (hell, I use it all the time myself). If you can provide an actual example of a SCSI tape device that if you take FreeBSD-current or FreeBSD-3.3 and do a 'mt seteotmodel 1' on and *not* be able to detect EOT, let me know! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 10:35:25 1999 Delivered-To: freebsd-current@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 89A5914A01 for ; Mon, 15 Nov 1999 10:35:22 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id NAA07676; Mon, 15 Nov 1999 13:35:15 -0500 (EST) (envelope-from wollman) Date: Mon, 15 Nov 1999 13:35:15 -0500 (EST) From: Garrett Wollman Message-Id: <199911151835.NAA07676@khavrinen.lcs.mit.edu> To: Pierre Beyssac Cc: Sheldon Hearn , freebsd-current@FreeBSD.ORG Subject: Re: egcs -O breaks ping.c:in_cksum() In-Reply-To: <19991115180145.A31542@enst.fr> References: <19991115174831.B30139@enst.fr> <92805.942684743@axl.noc.iafrica.com> <19991115180145.A31542@enst.fr> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG < said: > Maybe I can at least commit the addition of "volatile" to the source > code. That will work around that particular bug until egcs is > fixed... It's not a compiler bug, it's a source code bug. The C Language specifies that pointers to distinct types can be assumed, under certain conditions, never to alias one another. (This might actually be a C99 feature as opposed to C89.) Recent values of GCC make use of this obscure language feature to improve optimization. Essentially, the optimizer can assume that stores through a pointer of type `foo *' will never modify any local variable which is not of type `foo' (and thus those values can remain cached in registers). If, rather than casting pointers, the code used a union (containing one u_int16_t and one array[2] of u_int8_t), the compiler would have enough information to know about the aliases. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 10:44: 7 1999 Delivered-To: freebsd-current@freebsd.org Received: from enst.enst.fr (enst.enst.fr [137.194.2.16]) by hub.freebsd.org (Postfix) with ESMTP id 8590414A26 for ; Mon, 15 Nov 1999 10:43:59 -0800 (PST) (envelope-from beyssac@enst.fr) Received: from bofh.enst.fr (bofh-2.enst.fr [137.194.2.37]) by enst.enst.fr (8.9.1a/8.9.1) with ESMTP id TAA05310; Mon, 15 Nov 1999 19:43:58 +0100 (MET) Received: by bofh.enst.fr (Postfix, from userid 12426) id A91B2D226; Mon, 15 Nov 1999 19:43:57 +0100 (CET) Message-ID: <19991115194357.T28348@enst.fr> Date: Mon, 15 Nov 1999 19:43:57 +0100 From: Pierre Beyssac To: Garrett Wollman Cc: Sheldon Hearn , freebsd-current@FreeBSD.ORG Subject: Re: egcs -O breaks ping.c:in_cksum() References: <19991115174831.B30139@enst.fr> <92805.942684743@axl.noc.iafrica.com> <19991115180145.A31542@enst.fr> <199911151835.NAA07676@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199911151835.NAA07676@khavrinen.lcs.mit.edu>; from Garrett Wollman on Mon, Nov 15, 1999 at 01:35:15PM -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Nov 15, 1999 at 01:35:15PM -0500, Garrett Wollman wrote: > If, rather than casting pointers, the code used a union (containing > one u_int16_t and one array[2] of u_int8_t), the compiler would have > enough information to know about the aliases. You're right, this seems to work even with optimization turned on. If nobody objects, I'll commit it. --- ck.c.old Mon Nov 15 19:41:35 1999 +++ ck.c Mon Nov 15 19:39:43 1999 @@ -13,7 +13,10 @@ register int nleft = len; register u_short *w = addr; int sum = 0; - volatile u_short answer = 0; + union { + u_int16_t us; + u_int8_t uc[2]; + } answer; /* * Our algorithm is simple, using a 32 bit accumulator (sum), we add @@ -27,15 +30,16 @@ /* mop up an odd byte, if necessary */ if (nleft == 1) { - *(u_char *)(&answer) = *(u_char *)w ; - sum += answer; + answer.uc[0] = *(u_char *)w ; + answer.uc[1] = 0; + sum += answer.us; } /* add back carry outs from top 16 bits to low 16 bits */ sum = (sum >> 16) + (sum & 0xffff); /* add hi 16 to low 16 */ sum += (sum >> 16); /* add carry */ - answer = ~sum; /* truncate to 16 bits */ - return(answer); + answer.us = ~sum; /* truncate to 16 bits */ + return(answer.us); } int main() -- Pierre Beyssac pb@enst.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 10:58: 0 1999 Delivered-To: freebsd-current@freebsd.org Received: from gndrsh.dnsmgr.net (GndRsh.dnsmgr.net [198.145.92.4]) by hub.freebsd.org (Postfix) with ESMTP id B923414D21 for ; Mon, 15 Nov 1999 10:57:56 -0800 (PST) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: (from freebsd@localhost) by gndrsh.dnsmgr.net (8.9.3/8.9.3) id KAA15544; Mon, 15 Nov 1999 10:57:51 -0800 (PST) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <199911151857.KAA15544@gndrsh.dnsmgr.net> Subject: Re: FreeBSD 4.0 SCSI Tape Driver In-Reply-To: from Matthew Jacob at "Nov 15, 1999 09:43:38 am" To: mjacob@feral.com Date: Mon, 15 Nov 1999 10:57:51 -0800 (PST) Cc: current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Reread/reresponse, sorry- ENOCOFFEE: > > > > > > > > 1 filemark can not be used for EOT, it is EOF, you can't tell if what you > > > read next is another file or not that may have been left by a previosly > > > longer usage on the tape. > > > > > > Well, read until *BLANK CHECK* seems to be what the driver can and should > do. Let me ponder this some- I believe what I propose actually works fine > for all the devices we currently support (hell, I use it all the time > myself). If you can provide an actual example of a SCSI tape device that > if you take FreeBSD-current or FreeBSD-3.3 and do a 'mt seteotmodel 1' on > and *not* be able to detect EOT, let me know! You won't get ``blank check'' if the tape has previosly been written past where you just finished writing. Instead you often get trash. In your other message you talk about the driver getting 2 residuals in a row, well, unless you write the 2 EOF's you won't always get that... depends on if the tape drive does it automagically (which many newer drives do, they write 2 eof's and backspace over 1 of them for you when ever you tell them to write EOF, the drive itself uses 2 EOF's to determine logical EOT :-)). -- Rod Grimes - KD7CAX @ CN85sl - (RWG25) rgrimes@gndrsh.dnsmgr.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 11: 0: 9 1999 Delivered-To: freebsd-current@freebsd.org Received: from super-g.com (super-g.com [207.240.140.161]) by hub.freebsd.org (Postfix) with ESMTP id CFD1B14D21; Mon, 15 Nov 1999 10:59:56 -0800 (PST) (envelope-from spork@super-g.com) Received: by super-g.com (Postfix, from userid 1000) id 64FA4BA67; Mon, 15 Nov 1999 13:59:55 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by super-g.com (Postfix) with SMTP id 4A5B0BA66; Mon, 15 Nov 1999 13:59:55 -0500 (EST) Date: Mon, 15 Nov 1999 13:59:55 -0500 (EST) From: spork To: Darren Reed Cc: Thomas Stromberg , freebsd-current@FreeBSD.ORG, freebsd-security@FreeBSD.ORG, peter@FreeBSD.ORG Subject: Re: ipfilter no longer in -CURRENT, whats the direction? (off to ipfw?) In-Reply-To: <199910131302.XAA05892@cheops.anu.edu.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I noticed that ipfilter is still gone... Was there any resolution here, or is ipfilter gone for good? All other concerns/features aside, I find the stateful inspection stuff much easier to setup than the ipfw filtering... I only touch my firewall once in a blue moon, and just about everything except for streaming quicktime "just works". It would be a shame to see such a useful piece of software go away. My $0.02, Charles On Wed, 13 Oct 1999, Darren Reed wrote: > Well, if someone had of answered my question (to cvs-committers) > about getting an account fixed up on freefall(?) so I could use > cvs again, it might not have been forgotten about for quite so > long. Maybe I sent the question to the "wrong place", but I > received no answer to even indicate that! hmpf! > > On a conspirital note, I think there are numerous ipfw advocates > within freebsd who hate that ipfilter is better >;-) Both NetBSD and > OpenBSD ship with it, and if you're serious about security, maybe > you should be using OpenBSD anyway, rather than FreeBSD. > > Darren > > In some mail from Thomas Stromberg, sie said: > > > > http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/ipnat/Attic/Makefile > > ------------------------------------------------------------------------ > > 1.2 Sun Oct 10 15:08:35 1999 UTC by peter > > CVS Tags: HEAD > > Diffs to 1.1 > > FILE REMOVED > > > > Nuke the old antique copy of ipfilter from the tree. This is old enough > > to be dangerous. It will better serve us as a port building a KLD, > > ala SKIP. > > ------------------------------------------------------------------------ > > > > Although a heads up in -CURRENT or -security about this would of been > > nice, ye old ipfilter is gone. I definitely cannot disagree with the > > fact that it is an antique copy, and it's a shame that no one seems to > > be taking care of it in the tree. At least in the past, ipfilter was for > > many a much better option then ipfw. Has ipfw improved to the point > > where it functions better as a company firewall then ipfilter? (Okay, so > > the group & user firewalling is neat, but not really applicable for a > > corporate border firewall) > > > > ipfilters website: http://coombs.anu.edu.au/~avalon/ip-filter.html > > > > For why I feel ipfilter is better then ipfw (this post was written back > > in December '98, ipfw may have changed greatly since): > > > > http://www.freebsd.org/cgi/getmsg.cgi?fetch=117538+122112+/usr/local/www/db/text/1998/freebsd-current/19981227.freebsd-current > > (the big 'wanton atticizing discussion') > > > > A summary of it being: > > > > - Multiplatform. Runs on IRIX, Solaris, Linux. Comes shipped with > > FreeBSD, OpenBSD, and NetBSD. Keeps us in sync with the other BSD's. > > - Better logging then ipfw (has ipfw improved? Thats why I switched to > > ipfilter in the first place) > > > > It's a shame that no one seems to want to maintain ipfilter in our tree. > > As far as a 'port building kld', I think this may not be the 'smartest' > > way, seeing as anyone who is running a serious firewall would disable > > kld's immediately anyhow. > > > > So my question is, what's the direction we're taking here? > > > > -- > > ======================================================================= > > Thomas Stromberg, Assistant IS Manager / Systems Guru > > smtp://tstromberg@rtci.com Research Triangle Commerce, Inc. > > pots://919.380.9771 x3210 > > ======================================================================= > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-security" in the body of the message > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-security" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 11: 0:49 1999 Delivered-To: freebsd-current@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id F2E9514E48 for ; Mon, 15 Nov 1999 11:00:45 -0800 (PST) (envelope-from mjacob@feral.com) Received: from semuta.feral.com (semuta [192.67.166.70]) by feral.com (8.8.7/8.8.7) with ESMTP id LAA03528; Mon, 15 Nov 1999 11:01:05 -0800 Date: Mon, 15 Nov 1999 11:01:05 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: "Rodney W. Grimes" Cc: current@FreeBSD.ORG Subject: Re: FreeBSD 4.0 SCSI Tape Driver In-Reply-To: <199911151857.KAA15544@gndrsh.dnsmgr.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 15 Nov 1999, Rodney W. Grimes wrote: > > > > Reread/reresponse, sorry- ENOCOFFEE: > > > > > > > > > > > > 1 filemark can not be used for EOT, it is EOF, you can't tell if what you > > > > read next is another file or not that may have been left by a previosly > > > > longer usage on the tape. > > > > > > > > > > Well, read until *BLANK CHECK* seems to be what the driver can and should > > do. Let me ponder this some- I believe what I propose actually works fine > > for all the devices we currently support (hell, I use it all the time > > myself). If you can provide an actual example of a SCSI tape device that > > if you take FreeBSD-current or FreeBSD-3.3 and do a 'mt seteotmodel 1' on > > and *not* be able to detect EOT, let me know! > > You won't get ``blank check'' if the tape has previosly been written > past where you just finished writing. Instead you often get trash. Sorry, no. When you write a tape with these devices there's always a leading erased area. That's why if you overwrite the front a tape you can't skip past this area to recover data you really need. A misfeature of modern technology. > > In your other message you talk about the driver getting 2 residuals > in a row, well, unless you write the 2 EOF's you won't always get that... > depends on if the tape drive does it automagically (which many newer > drives do, they write 2 eof's and backspace over 1 of them for you when > ever you tell them to write EOF, the drive itself uses 2 EOF's to > determine logical EOT :-)). I repeat what I said in other mail- can you actually show me a tape drive where what I propose really doesn't work? -matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 11:28: 5 1999 Delivered-To: freebsd-current@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 25CBA150A7 for ; Mon, 15 Nov 1999 11:28:02 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id LAA44755; Mon, 15 Nov 1999 11:27:57 -0800 (PST) (envelope-from dillon) Date: Mon, 15 Nov 1999 11:27:57 -0800 (PST) From: Matthew Dillon Message-Id: <199911151927.LAA44755@apollo.backplane.com> To: Garrett Wollman Cc: Pierre Beyssac , Sheldon Hearn , freebsd-current@FreeBSD.ORG Subject: Re: egcs -O breaks ping.c:in_cksum() References: <19991115174831.B30139@enst.fr> <92805.942684743@axl.noc.iafrica.com> <19991115180145.A31542@enst.fr> <199911151835.NAA07676@khavrinen.lcs.mit.edu> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :It's not a compiler bug, it's a source code bug. : :The C Language specifies that pointers to distinct types can be :assumed, under certain conditions, never to alias one another. (This :... :Recent values of GCC make use of this obscure language feature to :improve optimization. Essentially, the optimizer can assume that :... :-GAWollman : :-- :Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same Someone try the patch below and tell me if it fixes the problem. If it does then I'll commit it. If someone else wants to commit a 'better' fix, be my guest! (but inform the list that you've done so). Otherwise this is the one that will go in. -Matt Index: ping.c =================================================================== RCS file: /home/ncvs/src/sbin/ping/ping.c,v retrieving revision 1.45 diff -u -r1.45 ping.c --- ping.c 1999/08/28 00:13:59 1.45 +++ ping.c 1999/11/15 19:26:23 @@ -920,6 +920,9 @@ /* * in_cksum -- * Checksum routine for Internet Protocol family headers (C Version) + * + * note: volatilization of 'answer' is a bad hack to work around an + * aliasing problem. */ u_short in_cksum(addr, len) @@ -929,7 +932,7 @@ register int nleft = len; register u_short *w = addr; register int sum = 0; - u_short answer = 0; + volatile u_short answer = 0; /* * Our algorithm is simple, using a 32 bit accumulator (sum), we add To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 11:30:21 1999 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 758) id 8501A150F9; Mon, 15 Nov 1999 11:30:20 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 734F01CD42A; Mon, 15 Nov 1999 11:30:20 -0800 (PST) (envelope-from kris@hub.freebsd.org) Date: Mon, 15 Nov 1999 11:30:20 -0800 (PST) From: Kris Kennaway To: Lester Igo Cc: freebsd-current@freebsd.org Subject: Re: -current Make World In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 14 Nov 1999, Lester Igo wrote: > Speaking of which, is their an archive (web based?) of the FreeBSD-current > mailing list (how about others?)? I didn't see one linked in my searches > around the web pages. http://www.freebsd.org/mail/ kind of obviously pointed to by http://www.freebsd.org/search/#mailinglists ;-) Kris ---- Cthulhu for President! For when you're tired of choosing the _lesser_ of two evils.. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 12:11:31 1999 Delivered-To: freebsd-current@freebsd.org Received: from enst.enst.fr (enst.enst.fr [137.194.2.16]) by hub.freebsd.org (Postfix) with ESMTP id B08F81510D for ; Mon, 15 Nov 1999 12:11:27 -0800 (PST) (envelope-from beyssac@enst.fr) Received: from bofh.enst.fr (bofh-2.enst.fr [137.194.2.37]) by enst.enst.fr (8.9.1a/8.9.1) with ESMTP id VAA07878; Mon, 15 Nov 1999 21:11:19 +0100 (MET) Received: by bofh.enst.fr (Postfix, from userid 12426) id 437F1D226; Mon, 15 Nov 1999 21:11:19 +0100 (CET) Message-ID: <19991115211119.A34706@enst.fr> Date: Mon, 15 Nov 1999 21:11:19 +0100 From: Pierre Beyssac To: Garrett Wollman , Sheldon Hearn , dillon@apollo.backplane.com Cc: freebsd-current@freebsd.org Subject: Re: egcs -O breaks ping.c:in_cksum() References: <19991115174831.B30139@enst.fr> <92805.942684743@axl.noc.iafrica.com> <19991115180145.A31542@enst.fr> <199911151835.NAA07676@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199911151835.NAA07676@khavrinen.lcs.mit.edu>; from Garrett Wollman on Mon, Nov 15, 1999 at 01:35:15PM -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [in_cksum bugs] Fix committed for ping. There's another bug in sbin/routed/rdisc.c:in_cksum() on odd packet sizes, albeit I'm not sure it's ever triggered (does routed ever generate odd-size packets?). It's a portability bug (works only on little-endian machines). I'll commit the same fix if there's no objection. -- Pierre Beyssac pb@enst.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 12:32:14 1999 Delivered-To: freebsd-current@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 6C99D14C04; Mon, 15 Nov 1999 12:32:12 -0800 (PST) (envelope-from bright@wintelcom.net) Received: from localhost (bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) with ESMTP id MAA25329; Mon, 15 Nov 1999 12:57:57 -0800 (PST) Date: Mon, 15 Nov 1999 12:57:57 -0800 (PST) From: Alfred Perlstein To: current@FreeBSD.ORG Cc: msmith@FreeBSD.ORG Subject: Re: installing onto ami mega raid. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 15 Nov 1999, Alfred Perlstein wrote: > > I spent about 2 to 3 hours last night futzing with sysinstall and > getting the amr.ko file onto the 4.0 install disk (using the > 4.0-19991114 SNAP) I tried adding the amr disks to devices.c in > sysinstall but had no luck. ... replying to my own message, I seem to have compiled the install stuff from Oct25th or so, Bill F told me about libdisk needing an update to install on new media, however I just assumed it wasn't done, but it was! :) (I was compiling sysinstall with an outdated libdisk) However, sysinstall's devices.c file still lacks entries for it, right now I can't test but will be able to tonight, any ideas on whether it'll just work? (has anyone tested installs on the AMI mega-raid?) Or perhaps we need this patch in sysinstall? thanks, -Alfred > > After booting the install disks and loading the amr kld (the probe > messages showed that it was detected) I escaped to the prompt > (alt+f4). I saw that the amrd0 /dev/ entries had been created, > but attempts to access them gave "unit 0 not available" (as far as > i remeber) > > What exactly needs to be done to get 4.0 installed with a amr disk > as root? > > this is what I tried: > > Index: devices.c > =================================================================== > RCS file: /home/ncvs/src/release/sysinstall/devices.c,v > retrieving revision 1.106 > diff -u -r1.106 devices.c > --- devices.c 1999/11/09 19:10:15 1.106 > +++ devices.c 1999/11/15 14:07:33 > @@ -74,6 +74,8 @@ > { DEVICE_TYPE_TAPE, "rwt%d", "Wangtek tape drive", 10, 0, 1, 4, 'c' }, > { DEVICE_TYPE_DISK, "da%d", "SCSI disk device", 4, 65538, 8, 16, 'b' }, > { DEVICE_TYPE_DISK, "rda%d", "SCSI disk device", 13, 65538, 8, 16, 'c' }, > + { DEVICE_TYPE_DISK, "amrd%d", "AMI-MEGARAID disk", 35, 65538, 8, 16, 'b' }, > + { DEVICE_TYPE_DISK, "ramrd%d", "AMI-MEGARAID disk", 133, 65538, 8, 16, 'c' }, > { DEVICE_TYPE_DISK, "wd%d", "IDE/ESDI/MFM/ST506 disk device", 0, 65538, 8, 16, 'b' }, > { DEVICE_TYPE_DISK, "rwd%d", "IDE/ESDI/MFM/ST506 disk device", 3, 65538, 8, 16, 'c' }, > { DEVICE_TYPE_DISK, "ad%d", "ATA/IDE disk device", 30, 65538, 8, 16, 'b' }, > > > Any ideas? We're really depending on getting these things going RSN. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 12:36:36 1999 Delivered-To: freebsd-current@freebsd.org Received: from majordomo2.umd.edu (majordomo2.umd.edu [128.8.10.7]) by hub.freebsd.org (Postfix) with ESMTP id CE60315100 for ; Mon, 15 Nov 1999 12:36:28 -0800 (PST) (envelope-from culverk@wam.umd.edu) Received: from rac8.wam.umd.edu (root@rac8.wam.umd.edu [128.8.10.148]) by majordomo2.umd.edu (8.9.3/8.9.3) with ESMTP id PAA05838 for ; Mon, 15 Nov 1999 15:36:14 -0500 (EST) Received: from rac8.wam.umd.edu (sendmail@localhost [127.0.0.1]) by rac8.wam.umd.edu (8.9.3/8.9.3) with SMTP id PAA03896 for ; Mon, 15 Nov 1999 15:36:18 -0500 (EST) Received: from localhost (culverk@localhost) by rac8.wam.umd.edu (8.9.3/8.9.3) with ESMTP id PAA03891 for ; Mon, 15 Nov 1999 15:36:15 -0500 (EST) X-Authentication-Warning: rac8.wam.umd.edu: culverk owned process doing -bs Date: Mon, 15 Nov 1999 15:36:14 -0500 (EST) From: Kenneth Wayne Culver To: freebsd-current@freebsd.org Subject: gcc 2.95.2 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I just successfully compiled the world and the kernel (defaut optimizations on everything) with gcc 2.95.2, and so far all is well :-) ================================================================= | Kenneth Culver | FreeBSD: The best OS around. | | Unix Systems Administrator | ICQ #: 24767726 | | and student at The | AIM: AgRSkaterq | | The University of Maryland, | Website: (Under Construction) | | College Park. | http://www.wam.umd.edu/~culverk/| ================================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 13:10:36 1999 Delivered-To: freebsd-current@freebsd.org Received: from forrie.net (forrie.net [216.67.12.69]) by hub.freebsd.org (Postfix) with ESMTP id 33FEC14D4B for ; Mon, 15 Nov 1999 13:10:30 -0800 (PST) (envelope-from forrie@navinet.net) Received: from boomer (boomer.navinet.net [216.67.12.90]) by forrie.net (8.9.3/8.9.3) with ESMTP id QAA10857 for ; Mon, 15 Nov 1999 16:10:24 -0500 (EST) Message-Id: <4.2.1.19991115161025.01a285c0@216.67.14.8> X-Sender: forrie@216.67.14.8 X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.1 Date: Mon, 15 Nov 1999 16:10:43 -0500 To: freebsd-current@FreeBSD.ORG From: Forrest Aldrich Subject: Re: gcc 2.95.2 In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Same here, no problems. _F At 03:36 PM 11/15/99 -0500, Kenneth Wayne Culver wrote: >I just successfully compiled the world and the kernel (defaut >optimizations on everything) with gcc 2.95.2, and so far all is well :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 13:22:35 1999 Delivered-To: freebsd-current@freebsd.org Received: from pozo.com (pozo.com [216.101.162.50]) by hub.freebsd.org (Postfix) with ESMTP id B2D59150EC for ; Mon, 15 Nov 1999 13:22:33 -0800 (PST) (envelope-from mantar@pacbell.net) Received: from dual (dual.pozo.com [216.101.162.51]) by pozo.com (8.9.3/8.9.3) with ESMTP id NAA05944; Mon, 15 Nov 1999 13:22:23 -0800 (PST) (envelope-from mantar@pacbell.net) Message-Id: <4.2.2.19991115132024.00a92260@pozo.com> X-Sender: null@pozo.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2 Date: Mon, 15 Nov 1999 13:22:23 -0800 To: Forrest Aldrich , freebsd-current@FreeBSD.ORG From: Manfred Antar Subject: Re: gcc 2.95.2 In-Reply-To: <4.2.1.19991115161025.01a285c0@216.67.14.8> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 04:10 PM 11/15/99 -0500, Forrest Aldrich wrote: >Same here, no problems. > > >_F > > >At 03:36 PM 11/15/99 -0500, Kenneth Wayne Culver wrote: > >I just successfully compiled the world and the kernel (defaut > >optimizations on everything) with gcc 2.95.2, and so far all is well :-) I did the same and everything works. But XFree86 from the ports collection will not build. Manfred ===================== || mantar@pacbell.net || || Ph. (415) 681-6235 || ===================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 13:23: 3 1999 Delivered-To: freebsd-current@freebsd.org Received: from nowcool.dhs.org (FX3-1-031.mgfairfax.rr.com [24.28.200.31]) by hub.freebsd.org (Postfix) with ESMTP id 792FC15189 for ; Mon, 15 Nov 1999 13:22:53 -0800 (PST) (envelope-from freebsd@nowcool.dhs.org) Received: from localhost (freebsd@localhost) by nowcool.dhs.org (8.9.3/8.9.3) with ESMTP id LAA01650; Mon, 15 Nov 1999 11:56:48 GMT (envelope-from freebsd@nowcool.dhs.org) Date: Mon, 15 Nov 1999 11:56:48 +0000 (GMT) From: Byung Yang To: relapz Cc: current@FreeBSD.ORG Subject: Re: snd0 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Yes, I've tried the "newpcm" sound driver. Before ppl started modifying pcm drivers, pcm0 was the best driver for my sound card, but then after this newpcm came out, it started crashing all over the place. That means when I play mp3 or sound files, the player program freezes(not freebsd itself) and i had to kill it using -9 signal. The audio gets messed up after that. (I have to reboot to bring it back to normal) One question for you guys. When esd is in the memory, isn't it supposed to hog up /dev/dsp ?? The thing is, even if esd is in the memory(it loads automatically when gnome enabled programs run) I am still able to play mp3(using xmms) and other sound files(including realplayer). Has anyone experienced this? Byung On Mon, 15 Nov 1999, relapz wrote: > have you tried using the pcm0 sound drivers instead? I used them for the > crystal -based on-board sound that comes with Dell Optiplex > machines... Have a look at LINT for the setup instructions. > > DJM:> > > On Mon, 15 Nov 1999, Byung Yang wrote: > > > > > When I play mp3's or mpg files on my computer, it plays fine during first > > three minutes or so and then I start hearing a lot of statics. If I pause > > the player and play again right after that, it comes to normal. > > Does anybody experience this? > > > > I am using snd0 with crystal semiconductor 4232 chipset(css0) > > oh I supped and made world on Sun Nov 14 06:01:02 > > > > Thanks for your comments. > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-current" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 13:30:55 1999 Delivered-To: freebsd-current@freebsd.org Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by hub.freebsd.org (Postfix) with ESMTP id 728D714BD5 for ; Mon, 15 Nov 1999 13:30:44 -0800 (PST) (envelope-from roberto@keltia.freenix.fr) Received: (from uucp@localhost) by frmug.org (8.9.3/frmug-2.5/nospam) with UUCP id WAA16640 for freebsd-current@FreeBSD.ORG; Mon, 15 Nov 1999 22:30:42 +0100 (CET) (envelope-from roberto@keltia.freenix.fr) Received: by keltia.freenix.fr (Postfix, from userid 101) id 3F96E8855; Mon, 15 Nov 1999 21:00:45 +0100 (CET) Date: Mon, 15 Nov 1999 21:00:45 +0100 From: Ollivier Robert To: "FreeBSD Current Users' list" Subject: Re: Panic when playing sound [LONG] Message-ID: <19991115210045.A13699@keltia.freenix.fr> Mail-Followup-To: FreeBSD Current Users' list References: <19991115164332.H53356@caerdonn.eurocontrol.fr> <19991115154655.31F7B1CA0@overcee.netplex.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0pre2i In-Reply-To: <19991115154655.31F7B1CA0@overcee.netplex.com.au> X-Operating-System: FreeBSD 4.0-CURRENT/ELF AMD-K6/200 & 2x PPro/200 SMP Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG According to Peter Wemm: > PNPBIOS should pick this up automatically, that's why you need to remove the > 'at isa' stuff and stop overriding the pnp code from using what it discovers > from the bios. See Peter's commits in ad1816.c to see the fix. Thanks Peter. -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 4.0-CURRENT #75: Tue Nov 2 21:03:12 CET 1999 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 14: 3:55 1999 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id E17DD14DB6 for ; Mon, 15 Nov 1999 14:03:47 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.2) with ESMTP id XAA22211 for ; Mon, 15 Nov 1999 23:03:41 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: current@freebsd.org Subject: PATCH for testing From: Poul-Henning Kamp Date: Mon, 15 Nov 1999 23:03:41 +0100 Message-ID: <22209.942703421@critter.freebsd.dk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG http://phk.freebsd.dk/misc/p_args.patch The p_args.patch patch implements a cache of the commandline arguments in the process structure and makes ps(1) pick it up from there with sysctl rather than by groping around in the target process memory. This patch: Speeds up ps(1). Reduces the risk of some hairy races in procfs/proc_mem.c when multiple ps(1) processes are running on a SMP system Moves us closer to makeing procfs optional again (this is a nice thing for chroot and jails). There is a new sysctl: kern.ps_arg_cache_limit which defaults to (PAGE_SIZE / 8). This is the max amount of RAM we will use *PER PROCESS* to cache commandlines in. If the commandline is longer *OR* of the process calls setproctitle(3) then nothing will be cached and ps(1) will have to take the long way though the process memory to find the command line for it. Things which need more work: Examine if locking will be needed for p->p_args, in particular for the refcount element. Decide how setproctitle(3) should work. Do we want to keep the "real" commandline around in addition to the proctitle or do we just overwrite it as we do now. I'd like to hear input from people on this one. One option is "as today", the other would allow us to see the actual commandline in addition to any proctitle the process have set. The down side is that the process nolonger can erase a password or similar sensitive arguments. Test, test, test... Poul-Henning /19991115 -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 14:13:50 1999 Delivered-To: freebsd-current@freebsd.org Received: from kithrup.com (kithrup.com [205.179.156.40]) by hub.freebsd.org (Postfix) with ESMTP id 718CE14D4E for ; Mon, 15 Nov 1999 14:13:47 -0800 (PST) (envelope-from sef@kithrup.com) Received: (from sef@localhost) by kithrup.com (8.8.8/8.8.8) id OAA20176; Mon, 15 Nov 1999 14:13:46 -0800 (PST) (envelope-from sef) Date: Mon, 15 Nov 1999 14:13:46 -0800 (PST) From: Sean Eric Fagan Message-Id: <199911152213.OAA20176@kithrup.com> To: current@freebsd.org Reply-To: current@freebsd.org Subject: Re: PATCH for testing In-Reply-To: <22209.942703421.kithrup.freebsd.current@critter.freebsd.dk> Organization: Kithrup Enterprises, Ltd. Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <22209.942703421.kithrup.freebsd.current@critter.freebsd.dk> you write: >The p_args.patch patch implements a cache of the commandline arguments >in the process structure and makes ps(1) pick it up from there with >sysctl rather than by groping around in the target process memory. I don't think this should go in at all. It increases the size of the proc structure (thereby affecting _all_ processes) gratuitously. While I'm generally in favour of having the process arguments kept around, the "BSD way" has been to only examine them in user memory, despite that being unreliable and just annoying. The benefits are fairly minimal, and I don't believe justify the cost incurred. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 14:18:25 1999 Delivered-To: freebsd-current@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 6E5EF14BCA; Mon, 15 Nov 1999 14:18:24 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id OAA45512; Mon, 15 Nov 1999 14:18:24 -0800 (PST) (envelope-from dillon) Date: Mon, 15 Nov 1999 14:18:24 -0800 (PST) From: Matthew Dillon Message-Id: <199911152218.OAA45512@apollo.backplane.com> To: Poul-Henning Kamp Cc: current@FreeBSD.ORG Subject: Re: PATCH for testing References: <22209.942703421@critter.freebsd.dk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :http://phk.freebsd.dk/misc/p_args.patch : :The p_args.patch patch implements a cache of the commandline arguments :in the process structure and makes ps(1) pick it up from there with :sysctl rather than by groping around in the target process memory. : :This patch: : Speeds up ps(1). Why don't we get rid of the 'e' option to ps while we are at it considering how much of a security hole it is. I've never liked the 'e' option. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 14:27:14 1999 Delivered-To: freebsd-current@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id F18D614E92 for ; Mon, 15 Nov 1999 14:27:12 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id OAA45627; Mon, 15 Nov 1999 14:27:10 -0800 (PST) (envelope-from dillon) Date: Mon, 15 Nov 1999 14:27:10 -0800 (PST) From: Matthew Dillon Message-Id: <199911152227.OAA45627@apollo.backplane.com> To: Sean Eric Fagan Cc: current@FreeBSD.ORG Subject: Re: PATCH for testing References: <199911152213.OAA20176@kithrup.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :I don't think this should go in at all. : :It increases the size of the proc structure (thereby affecting _all_ :processes) gratuitously. While I'm generally in favour of having the process :arguments kept around, the "BSD way" has been to only examine them in user :memory, despite that being unreliable and just annoying. : :The benefits are fairly minimal, and I don't believe justify the cost :incurred. If it weren't for 'setproctitle()' I would agree with you. But since setproctitle() exists we have a serious mess on our hands. Personally I would prefer to see it cleaned up as follows: * place a copy of the initial arguments in the struct proc as well as the uarea. * have the sysctl that limits the buffer size within the struct proc to something reasonable (e.g. 1K) but don't bother making 'ps' fall back to the uarea. Allow a value of '0' indicating 'unlimited' (i.e. really means ARGS_MAX). * setproctitle() messes with the struct proc only * ps, top, et all use the struct proc only And, also, we need to get rid of the 'e' option to ps entirely. It's a major security hole. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 14:49:35 1999 Delivered-To: freebsd-current@freebsd.org Received: from orthanc.ab.ca (orthanc.ab.ca [207.167.3.130]) by hub.freebsd.org (Postfix) with ESMTP id 219E11517A for ; Mon, 15 Nov 1999 14:49:29 -0800 (PST) (envelope-from lyndon@orthanc.ab.ca) Received: from orthanc.ab.ca (localhost.orthanc.ab.ca [127.0.0.1]) by orthanc.ab.ca (8.10.0.Beta6/8.10.0.Beta6) with ESMTP id dAFMmaQ18726 for ; Mon, 15 Nov 1999 15:48:36 -0700 (MST) Message-Id: <199911152248.dAFMmaQ18726@orthanc.ab.ca> To: current@FreeBSD.ORG Subject: ps -e In-reply-to: Your message of "Mon, 15 Nov 1999 14:18:24 PST." <199911152218.OAA45512@apollo.backplane.com> Date: Mon, 15 Nov 1999 15:48:32 -0700 From: Lyndon Nerenberg Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "Matthew" == Matthew Dillon writes: Matthew> Why don't we get rid of the 'e' option to ps while we Matthew> are at it considering how much of a security hole it is. I wouldn't nuke it completely. Make -e a noop unless the real uid ps is running with matches the effective uid of the process being reported. And if ps is invoked with a real uid of 0, -e works as it does now. --lyndon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 15:11:35 1999 Delivered-To: freebsd-current@freebsd.org Received: from fasterix.frmug.org (s192.paris-90.cybercable.fr [212.198.90.192]) by hub.freebsd.org (Postfix) with ESMTP id 347FB14A01 for ; Mon, 15 Nov 1999 15:11:32 -0800 (PST) (envelope-from pb@fasterix.frmug.org) Received: (from pb@localhost) by fasterix.frmug.org (8.9.3/8.9.3/pb-19990315) id AAA29465; Tue, 16 Nov 1999 00:11:06 +0100 (CET) Message-ID: <19991116001106.A6107@fasterix.frmug.org> Date: Tue, 16 Nov 1999 00:11:06 +0100 From: Pierre Beyssac To: Matthew Dillon , Sean Eric Fagan Cc: current@FreeBSD.ORG Subject: Re: PATCH for testing References: <199911152213.OAA20176@kithrup.com> <199911152227.OAA45627@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.92.8i In-Reply-To: <199911152227.OAA45627@apollo.backplane.com>; from Matthew Dillon on Mon, Nov 15, 1999 at 02:27:10PM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Nov 15, 1999 at 02:27:10PM -0800, Matthew Dillon wrote: > And, also, we need to get rid of the 'e' option to ps entirely. It's a > major security hole. Not more so than option 'u', or even 'a', if you ask me. It's common knowledge under Unix that you shouldn't put anything sensitive in the command line or the environment. When there's any risk, the best option is to remove 'ps' alltogether, IMHO. -- Pierre Beyssac pb@fasterix.frmug.org pb@fasterix.freenix.org BSD : il y a moins bien, mais c'est coté en bourse Free domains: http://www.eu.org/ or mail dns-manager@EU.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 15:29:46 1999 Delivered-To: freebsd-current@freebsd.org Received: from fasterix.frmug.org (s192.paris-90.cybercable.fr [212.198.90.192]) by hub.freebsd.org (Postfix) with ESMTP id B3C59151AA for ; Mon, 15 Nov 1999 15:29:38 -0800 (PST) (envelope-from pb@fasterix.frmug.org) Received: (from pb@localhost) by fasterix.frmug.org (8.9.3/8.9.3/pb-19990315) id AAA40406; Tue, 16 Nov 1999 00:29:22 +0100 (CET) Message-ID: <19991116002921.A39215@fasterix.frmug.org> Date: Tue, 16 Nov 1999 00:29:21 +0100 From: Pierre Beyssac To: Pierre Beyssac , Garrett Wollman , Sheldon Hearn , dillon@apollo.backplane.com Cc: freebsd-current@FreeBSD.ORG Subject: Re: egcs -O breaks ping.c:in_cksum() References: <19991115174831.B30139@enst.fr> <92805.942684743@axl.noc.iafrica.com> <19991115180145.A31542@enst.fr> <199911151835.NAA07676@khavrinen.lcs.mit.edu> <19991115211119.A34706@enst.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.92.8i In-Reply-To: <19991115211119.A34706@enst.fr>; from Pierre Beyssac on Mon, Nov 15, 1999 at 09:11:19PM +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > [in_cksum bugs] > There's another bug in sbin/routed/rdisc.c:in_cksum() on odd packet > sizes, albeit I'm not sure it's ever triggered (does routed ever > generate odd-size packets?). I've checked, the answer is no: apparently, in_cksum() in routed/rdisc.c is only called in two places, both with an even size. -- Pierre Beyssac pb@fasterix.frmug.org pb@fasterix.freenix.org BSD : il y a moins bien, mais c'est coté en bourse Free domains: http://www.eu.org/ or mail dns-manager@EU.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 15:37:27 1999 Delivered-To: freebsd-current@freebsd.org Received: from isbalham.ist.co.uk (isbalham.ist.co.uk [192.31.26.1]) by hub.freebsd.org (Postfix) with ESMTP id 4197B14A1A for ; Mon, 15 Nov 1999 15:37:16 -0800 (PST) (envelope-from rb@gid.co.uk) Received: from gid.co.uk (uucp@localhost) by isbalham.ist.co.uk (8.9.2/8.8.7) with UUCP id XAA35233; Mon, 15 Nov 1999 23:37:14 GMT (envelope-from rb@gid.co.uk) Received: from [194.32.164.2] by seagoon.gid.co.uk; Mon, 15 Nov 1999 23:20:23 GMT X-Sender: rb@194.32.164.1 Message-Id: In-Reply-To: References: <199911151857.KAA15544@gndrsh.dnsmgr.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 15 Nov 1999 23:20:19 +0000 To: mjacob@feral.com From: Bob Bishop Subject: Re: FreeBSD 4.0 SCSI Tape Driver Cc: "Rodney W. Grimes" , current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, At 11:01 am -0800 15/11/99, Matthew Jacob wrote: >I repeat what I said in other mail- can you actually show me a tape drive >where what I propose really doesn't work? I have access to a few assorted drives and I'll do the experiments but don't hold your breath. BUT I have to say that on principle I'm with Rod on this one: EOF != EOT and mixing them up is a recipe for (inter alia) finding you can't read back dumps when you need them. -- Bob Bishop (0118) 977 4017 international code +44 118 rb@gid.co.uk fax (0118) 989 4254 between 0800 and 1800 UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 15:46:31 1999 Delivered-To: freebsd-current@freebsd.org Received: from dorifer.heim3.tu-clausthal.de (dorifer.heim3.tu-clausthal.de [139.174.243.252]) by hub.freebsd.org (Postfix) with ESMTP id 021D414D8D for ; Mon, 15 Nov 1999 15:46:28 -0800 (PST) (envelope-from olli@dorifer.heim3.tu-clausthal.de) Received: (from olli@localhost) by dorifer.heim3.tu-clausthal.de (8.8.8/8.8.8) id AAA05743 for freebsd-current@FreeBSD.ORG; Tue, 16 Nov 1999 00:46:27 +0100 (CET) (envelope-from olli) Date: Tue, 16 Nov 1999 00:46:27 +0100 (CET) From: Oliver Fromme Message-Id: <199911152346.AAA05743@dorifer.heim3.tu-clausthal.de> To: freebsd-current@FreeBSD.ORG Subject: Re: PATCH for testing Organization: Administration Heim 3 Reply-To: freebsd-current@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: TIN [version 1.2 RZTUC(3) PL2] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Pierre Beyssac wrote in list.freebsd-current: > On Mon, Nov 15, 1999 at 02:27:10PM -0800, Matthew Dillon wrote: > > And, also, we need to get rid of the 'e' option to ps entirely. It's a > > major security hole. > > Not more so than option 'u', or even 'a', if you ask me. > > It's common knowledge under Unix that you shouldn't put anything > sensitive in the command line or the environment. When there's any > risk, the best option is to remove 'ps' alltogether, IMHO. Sorry for jumping in here... When looking for "old" processes on shell boxes, I often find myself using ps -e and grepping for the DISPLAY variable, in order to find out if it's an abandoned local process, or if it was redirected to some remote host. That's what I'd need ps -e for. or is there another, possibly easier way to accomplish that? Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" (Terry Pratchett) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 15:56:35 1999 Delivered-To: freebsd-current@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.100.7]) by hub.freebsd.org (Postfix) with ESMTP id AEC2114E44 for ; Mon, 15 Nov 1999 15:56:31 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.9.3/8.9.3) with ESMTP id SAA53544; Mon, 15 Nov 1999 18:56:20 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <199911152248.dAFMmaQ18726@orthanc.ab.ca> References: <199911152248.dAFMmaQ18726@orthanc.ab.ca> Date: Mon, 15 Nov 1999 18:57:49 -0500 To: Lyndon Nerenberg , current@FreeBSD.ORG From: Garance A Drosihn Subject: Re: ps -e Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 3:48 PM -0700 11/15/99, Lyndon Nerenberg wrote: > >>>>> "Matthew" == Matthew Dillon writes: > > Matthew> Why don't we get rid of the 'e' option to ps while we > Matthew> are at it considering how much of a security hole it is. > >I wouldn't nuke it completely. Make -e a noop unless the real uid ps >is running with matches the effective uid of the process being reported. >And if ps is invoked with a real uid of 0, -e works as it does now. I'd favor something like this. The unixes I am most used to did not have '-e' as an option, and I had two immediate reactions when I found freebsd's did: 1) wow, this is great for debugging a problem I'm having 2) yikes, what a security exposure! (I have some scripts where a password is passed from one script to another one via an environment variable...) So, I'd like to have it for debugging my own processes, but reduce the security implications of letting everyone else also do it on my own processes... I realize this doesn't eliminate the security exposure, but at least it reduces it some. --- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or drosih@rpi.edu Rensselaer Polytechnic Institute To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 15:57:32 1999 Delivered-To: freebsd-current@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id A80D514E6C for ; Mon, 15 Nov 1999 15:57:29 -0800 (PST) (envelope-from mjacob@feral.com) Received: from semuta.feral.com (semuta [192.67.166.70]) by feral.com (8.8.7/8.8.7) with ESMTP id PAA04608; Mon, 15 Nov 1999 15:57:50 -0800 Date: Mon, 15 Nov 1999 15:57:49 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: Bob Bishop Cc: "Rodney W. Grimes" , current@FreeBSD.ORG Subject: Re: FreeBSD 4.0 SCSI Tape Driver In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Okay- I hear you both. What do you do with QIC drives which cannnot write 2FM then? On Mon, 15 Nov 1999, Bob Bishop wrote: > Hi, > > At 11:01 am -0800 15/11/99, Matthew Jacob wrote: > >I repeat what I said in other mail- can you actually show me a tape drive > >where what I propose really doesn't work? > > I have access to a few assorted drives and I'll do the experiments but > don't hold your breath. > > BUT I have to say that on principle I'm with Rod on this one: EOF != EOT > and mixing them up is a recipe for (inter alia) finding you can't read back > dumps when you need them. > > > -- > Bob Bishop (0118) 977 4017 international code +44 118 > rb@gid.co.uk fax (0118) 989 4254 between 0800 and 1800 UK > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 16:12:26 1999 Delivered-To: freebsd-current@freebsd.org Received: from gndrsh.dnsmgr.net (GndRsh.dnsmgr.net [198.145.92.4]) by hub.freebsd.org (Postfix) with ESMTP id 181D814ECC for ; Mon, 15 Nov 1999 16:12:21 -0800 (PST) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: (from freebsd@localhost) by gndrsh.dnsmgr.net (8.9.3/8.9.3) id QAA16389; Mon, 15 Nov 1999 16:12:08 -0800 (PST) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <199911160012.QAA16389@gndrsh.dnsmgr.net> Subject: Re: FreeBSD 4.0 SCSI Tape Driver In-Reply-To: from Matthew Jacob at "Nov 15, 1999 03:57:49 pm" To: mjacob@feral.com Date: Mon, 15 Nov 1999 16:12:08 -0800 (PST) Cc: rb@gid.co.uk (Bob Bishop), current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Okay- I hear you both. > > What do you do with QIC drives which cannnot write 2FM then? Can you give me a model of a QIC drive that has the ``can't write 2 FM's'' and I'll see if I can find one so that I can see this problem first hand and propose a solution to it. I find it extreamly hard to beleive that you can't write 2 FM's, since that has been the standard logical EOT marker on mag tape as far back as I go, and thats to the late 60's and things like 200BPI 1/2 tape drives. It may be a mixing of the other problem, in that the drive already does write 2 FM and backspaces over one of them, if the drive does that and you try to write another one it creates 3 fm's in a row, and that may be a problem. For Bob, I'll note that leaving only a single FM at logical EOT on a tape will never causes data loss, you would just be able to read some trashed data on certain tape drives (namily drives that do not have an offset erase head) after the real data. In no way is anyones data at risk by not doing the double FM for logical EOT. The tcopy command may end up copying a whole pile of useless data is a concern though... For Matthew, the blank check area that you say will always be there is not correct, it depends on the tape transport design. Only tape drives with offset or seperate erase heads will have this condition. This it would be there for all forms of DAT, or for that matter helican scan tape drives in general, and missing for most forms of QIC, or Serpintine tape drives. > > > On Mon, 15 Nov 1999, Bob Bishop wrote: > > > Hi, > > > > At 11:01 am -0800 15/11/99, Matthew Jacob wrote: > > >I repeat what I said in other mail- can you actually show me a tape drive > > >where what I propose really doesn't work? > > > > I have access to a few assorted drives and I'll do the experiments but > > don't hold your breath. > > > > BUT I have to say that on principle I'm with Rod on this one: EOF != EOT > > and mixing them up is a recipe for (inter alia) finding you can't read back > > dumps when you need them. > > > > > > -- > > Bob Bishop (0118) 977 4017 international code +44 118 > > rb@gid.co.uk fax (0118) 989 4254 between 0800 and 1800 UK > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-current" in the body of the message > > > > -- Rod Grimes - KD7CAX @ CN85sl - (RWG25) rgrimes@gndrsh.dnsmgr.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 16:13: 4 1999 Delivered-To: freebsd-current@freebsd.org Received: from blaubaer.kn-bremen.de (blaubaer.kn-bremen.de [195.37.179.254]) by hub.freebsd.org (Postfix) with ESMTP id 81959151CC for ; Mon, 15 Nov 1999 16:13:00 -0800 (PST) (envelope-from nox@saturn.kn-bremen.de) Received: from saturn.kn-bremen.de (uucp@localhost) by blaubaer.kn-bremen.de (8.9.1/8.9.1) with UUCP id BAA25288; Tue, 16 Nov 1999 01:11:20 +0100 Received: (from nox@localhost) by saturn.kn-bremen.de (8.9.3/8.8.5) id AAA08986; Tue, 16 Nov 1999 00:52:01 +0100 (MET) Date: Tue, 16 Nov 1999 00:52:01 +0100 (MET) From: Juergen Lock Message-Id: <199911152352.AAA08986@saturn.kn-bremen.de> To: luoqi@watermarkgroup.com Subject: Re: Wine under -current. patches.. comments? X-Newsgroups: local.list.freebsd.current In-Reply-To: <199911150745.CAA27884@lor.watermarkgroup.com> Organization: home Cc: freebsd-current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <199911150745.CAA27884@lor.watermarkgroup.com> you write: >> The latest port of wine references PR 14652 >> for patches to make -current work. >> some of these ptches are however in areas I don't understand. >> In particular signals, register contexts, etc. > >This refers to validity of segment registers fs/gs in sigcontext. >Under -stable both of them are unused and signal handlers have to >read the registers directly. Under -current fs was valid and gs >still unused until I changed it recently, now they are both valid. >This was done a couple weeks before 3.3-RELEASE, so I didn't have >time to change -stable as well. I planned to do it immediately >afterwards, but Marcel's 128-signal change came in, and I decided >to wait for -current to stablize first. I guess it's time for me to >make the changes. A word of warning, after the changes wine should >be source compatible between -stable and -current, binary compiled >on -stable should still work on -current, This is good news... > but not vice versa. And thats to be expected of course. > >There's another patch regarding SIGTRAP in the PR. I recall there >were some discussions about it, but I don't know what's the final >resolution (if there was one). Maybe Marcel and Bruce know better. > The last mail i received on the subject if i remember right was Bruce's with the suggestion to use the state of the trace bit on entry to syscall() (not on exit as my first version did), which i then tested and which worked, and this is the version now in the port (files/patch-3.3-sys-sigtrap). Regards, -- Juergen Lock (remove dot foo from address to reply) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 16:14:17 1999 Delivered-To: freebsd-current@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 18F7814ECC for ; Mon, 15 Nov 1999 16:14:15 -0800 (PST) (envelope-from mjacob@feral.com) Received: from semuta.feral.com (semuta [192.67.166.70]) by feral.com (8.8.7/8.8.7) with ESMTP id QAA04699; Mon, 15 Nov 1999 16:14:32 -0800 Date: Mon, 15 Nov 1999 16:14:32 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: "Rodney W. Grimes" Cc: Bob Bishop , current@FreeBSD.ORG Subject: Re: FreeBSD 4.0 SCSI Tape Driver In-Reply-To: <199911160012.QAA16389@gndrsh.dnsmgr.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 15 Nov 1999, Rodney W. Grimes wrote: > > > > Okay- I hear you both. > > > > What do you do with QIC drives which cannnot write 2FM then? > > Can you give me a model of a QIC drive that has the ``can't write 2 FM's'' Just about all. For that matter, it isn't just QIC drives- see all the quirk entries in scsi_sa for 1FM and you'll see the scope of the problem. Nearly all of the problem reports in the last year had to do with a new drive that cannot do 2 FMs in a row. They're very commmon. -matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 16:27:18 1999 Delivered-To: freebsd-current@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 8099E14F20 for ; Mon, 15 Nov 1999 16:27:16 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id QAA46037; Mon, 15 Nov 1999 16:27:12 -0800 (PST) (envelope-from dillon) Date: Mon, 15 Nov 1999 16:27:12 -0800 (PST) From: Matthew Dillon Message-Id: <199911160027.QAA46037@apollo.backplane.com> To: Garance A Drosihn Cc: Lyndon Nerenberg , current@FreeBSD.ORG Subject: Re: ps -e References: <199911152248.dAFMmaQ18726@orthanc.ab.ca> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :> Matthew> Why don't we get rid of the 'e' option to ps while we :> Matthew> are at it considering how much of a security hole it is. :> :>I wouldn't nuke it completely. Make -e a noop unless the real uid ps :>is running with matches the effective uid of the process being reported. :>And if ps is invoked with a real uid of 0, -e works as it does now. : :I'd favor something like this. The unixes I am most used to did not :have '-e' as an option, and I had two immediate reactions when I found :freebsd's did: : 1) wow, this is great for debugging a problem I'm having : 2) yikes, what a security exposure! (I have some scripts : where a password is passed from one script to another : one via an environment variable...) Yes, or by 'root'. Personally, I would like to see the option removed entirely. I don't think a half-measure would improve the security problem much. :So, I'd like to have it for debugging my own processes, but :... :Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu gdb. I shudder to think that people might actually start depending on this non-feature. Better for it to just go away. -Matt -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 17:50:45 1999 Delivered-To: freebsd-current@freebsd.org Received: from implode.root.com (root.com [209.102.106.178]) by hub.freebsd.org (Postfix) with ESMTP id 0B57F14DF9 for ; Mon, 15 Nov 1999 17:50:40 -0800 (PST) (envelope-from dg@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.8/8.8.5) with ESMTP id RAA08909; Mon, 15 Nov 1999 17:44:12 -0800 (PST) Message-Id: <199911160144.RAA08909@implode.root.com> To: Matthew Dillon Cc: Sean Eric Fagan , current@FreeBSD.ORG Subject: Re: PATCH for testing In-reply-to: Your message of "Mon, 15 Nov 1999 14:27:10 PST." <199911152227.OAA45627@apollo.backplane.com> From: David Greenman Reply-To: dg@root.com Date: Mon, 15 Nov 1999 17:44:12 -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >:I don't think this should go in at all. >: >:It increases the size of the proc structure (thereby affecting _all_ >:processes) gratuitously. While I'm generally in favour of having the process >:arguments kept around, the "BSD way" has been to only examine them in user >:memory, despite that being unreliable and just annoying. >: >:The benefits are fairly minimal, and I don't believe justify the cost >:incurred. > > If it weren't for 'setproctitle()' I would agree with you. But since > setproctitle() exists we have a serious mess on our hands. Personally I > would prefer to see it cleaned up as follows: > > * place a copy of the initial arguments in the struct proc as well > as the uarea. > * have the sysctl that limits the buffer size within the struct proc > to something reasonable (e.g. 1K) but don't bother making 'ps' > fall back to the uarea. Allow a value of '0' indicating 'unlimited' > (i.e. really means ARGS_MAX). > * setproctitle() messes with the struct proc only > * ps, top, et all use the struct proc only > > And, also, we need to get rid of the 'e' option to ps entirely. It's a > major security hole. I agree that we need to get rid of 'e' and any other options that allow reading another process's environment. I don't agree with putting the command args in the proc struct, however, for the reason that Sean mentioned above. In my opinion, doing so majorly bloats the proc struct for no good reason and also introduces gratuitous incompatibilities for utilities that want to modify their argv[*] and expect the modifications to show up in ps(1). -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project - http://www.freebsd.org Creator of high-performance Internet servers - http://www.terasolutions.com Pave the road of life with opportunities. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 17:59:24 1999 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 758) id 9C1A014DF9; Mon, 15 Nov 1999 17:59:23 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 8A3581CD43A; Mon, 15 Nov 1999 17:59:23 -0800 (PST) (envelope-from kris@hub.freebsd.org) Date: Mon, 15 Nov 1999 17:59:23 -0800 (PST) From: Kris Kennaway To: Pierre Beyssac Cc: freebsd-current@FreeBSD.ORG Subject: Re: egcs -O breaks ping.c:in_cksum() In-Reply-To: <19991116002921.A39215@fasterix.frmug.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 16 Nov 1999, Pierre Beyssac wrote: > > [in_cksum bugs] > > There's another bug in sbin/routed/rdisc.c:in_cksum() on odd packet > > sizes, albeit I'm not sure it's ever triggered (does routed ever > > generate odd-size packets?). > > I've checked, the answer is no: apparently, in_cksum() in routed/rdisc.c > is only called in two places, both with an even size. Can it hurt to pre-emptively fix it anyway in case some future change pulls the rug out from underneath? Kris ---- Cthulhu for President! For when you're tired of choosing the _lesser_ of two evils.. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 18:12:26 1999 Delivered-To: freebsd-current@freebsd.org Received: from majordomo2.umd.edu (majordomo2.umd.edu [128.8.10.7]) by hub.freebsd.org (Postfix) with ESMTP id 1F79B14C43 for ; Mon, 15 Nov 1999 18:12:20 -0800 (PST) (envelope-from culverk@wam.umd.edu) Received: from rac7.wam.umd.edu (root@rac7.wam.umd.edu [128.8.10.147]) by majordomo2.umd.edu (8.9.3/8.9.3) with ESMTP id VAA09964 for ; Mon, 15 Nov 1999 21:12:03 -0500 (EST) Received: from rac7.wam.umd.edu (sendmail@localhost [127.0.0.1]) by rac7.wam.umd.edu (8.9.3/8.9.3) with SMTP id VAA09001 for ; Mon, 15 Nov 1999 21:12:12 -0500 (EST) Received: from localhost (culverk@localhost) by rac7.wam.umd.edu (8.9.3/8.9.3) with ESMTP id VAA08997 for ; Mon, 15 Nov 1999 21:12:12 -0500 (EST) X-Authentication-Warning: rac7.wam.umd.edu: culverk owned process doing -bs Date: Mon, 15 Nov 1999 21:12:12 -0500 (EST) From: Kenneth Wayne Culver To: freebsd-current@freebsd.org Subject: bktr driver and gcc 2.95.2 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alright, it seems I have my first problem with gcc 2.95.2, (well, I'm not really sure that it's a gcc problem). The problem is that now, after having upgraded the compiler, fxtv will only display every other scanline instead of all of them. ================================================================= | Kenneth Culver | FreeBSD: The best OS around. | | Unix Systems Administrator | ICQ #: 24767726 | | and student at The | AIM: AgRSkaterq | | The University of Maryland, | Website: (Under Construction) | | College Park. | http://www.wam.umd.edu/~culverk/| ================================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 18:22:35 1999 Delivered-To: freebsd-current@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id E8D7D14E1E for ; Mon, 15 Nov 1999 18:22:33 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id SAA46666; Mon, 15 Nov 1999 18:22:30 -0800 (PST) (envelope-from dillon) Date: Mon, 15 Nov 1999 18:22:30 -0800 (PST) From: Matthew Dillon Message-Id: <199911160222.SAA46666@apollo.backplane.com> To: David Greenman Cc: Sean Eric Fagan , current@FreeBSD.ORG Subject: Re: PATCH for testing References: <199911160144.RAA08909@implode.root.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :In my opinion, doing so majorly bloats the proc struct for no good reason and :also introduces gratuitous incompatibilities for utilities that want to modify :their argv[*] and expect the modifications to show up in ps(1). : :-DG : :David Greenman Well, I think there is an issue in the proc struct bloat but I disagree strongly about modifying argv - any worthwhile code uses setproctitle() now simply because the argv space is highly dependant on the number of arguments passed to the program, and thus non deterministic. Since we have setproctitle(), we can depreciate the argv junk. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 18:23:56 1999 Delivered-To: freebsd-current@freebsd.org Received: from m4.c2.telstra-mm.net.au (m4.c2.telstra-mm.net.au [24.192.3.19]) by hub.freebsd.org (Postfix) with ESMTP id 0637E14BC2 for ; Mon, 15 Nov 1999 18:23:51 -0800 (PST) (envelope-from areilly@nsw.bigpond.net.au) Received: from m5.c2.telstra-mm.net.au (m5.c2.telstra-mm.net.au [24.192.3.20]) by m4.c2.telstra-mm.net.au (8.8.6 (PHNE_14041)/8.8.6) with ESMTP id NAA12919 for ; Tue, 16 Nov 1999 13:23:50 +1100 (EDT) X-BPC-Relay-Envelope-From: areilly@nsw.bigpond.net.au X-BPC-Relay-Envelope-To: X-BPC-Relay-Sender-Host: m5.c2.telstra-mm.net.au [24.192.3.20] X-BPC-Relay-Info: Message delivered directly. Received: from areilly.bpc-users.org (CPE-24-192-49-170.nsw.bigpond.net.au [24.192.49.170]) by m5.c2.telstra-mm.net.au (8.8.6 (PHNE_14041)/8.8.6) with SMTP id NAA08915 for ; Tue, 16 Nov 1999 13:23:49 +1100 (EDT) Received: (qmail 42704 invoked by uid 1000); 16 Nov 1999 02:23:49 -0000 From: "Andrew Reilly" Date: Tue, 16 Nov 1999 13:23:49 +1100 To: Pierre Beyssac Cc: freebsd-current@FreeBSD.ORG Subject: Re: egcs -O breaks ping.c:in_cksum() Message-ID: <19991116132349.B40907@gurney.reilly.home> References: <19991115174831.B30139@enst.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <19991115174831.B30139@enst.fr> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Nov 15, 1999 at 05:48:31PM +0100, Pierre Beyssac wrote: > The problem is apparently due to the following code fragment: > > register u_short answer = 0; > [...] > /* mop up an odd byte, if necessary */ > if (nleft == 1) { > *(u_char *)(&answer) = *(u_char *)w ; > sum += answer; > } > > Removing the "register" declaration for 'answer' doesn't help. That code should not even compile, since standard C says that you _can't_ derefrence a register variable. That's about the only genuine semantic content of the register keyword now. The fix with a union (in another message) is the right way to do it, and doesn't even require that "answer" be in addressable storage. (I.e., it can now be optimised into a register). -- Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 18:33:18 1999 Delivered-To: freebsd-current@freebsd.org Received: from tinker.exit.com (exit-gw.power.net [207.151.46.196]) by hub.freebsd.org (Postfix) with ESMTP id 9F32314BC2 for ; Mon, 15 Nov 1999 18:33:16 -0800 (PST) (envelope-from frank@exit.com) Received: from realtime.exit.com (realtime.exit.com [206.223.0.5]) by tinker.exit.com (8.9.3/8.9.3) with ESMTP id SAA15106; Mon, 15 Nov 1999 18:33:15 -0800 (PST) (envelope-from frank@exit.com) Received: (from frank@localhost) by realtime.exit.com (8.9.3/8.9.1) id SAA47939; Mon, 15 Nov 1999 18:33:14 -0800 (PST) (envelope-from frank) From: Frank Mayhar Message-Id: <199911160233.SAA47939@realtime.exit.com> Subject: Re: FreeBSD 4.0 SCSI Tape Driver In-Reply-To: from Bob Bishop at "Nov 15, 1999 11:20:19 pm" To: rb@gid.co.uk (Bob Bishop) Date: Mon, 15 Nov 1999 18:33:14 -0800 (PST) Cc: mjacob@feral.com, freebsd@gndrsh.dnsmgr.net (Rodney W. Grimes), current@FreeBSD.ORG Reply-To: frank@exit.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bob Bishop wrote: > At 11:01 am -0800 15/11/99, Matthew Jacob wrote: > >I repeat what I said in other mail- can you actually show me a tape drive > >where what I propose really doesn't work? > BUT I have to say that on principle I'm with Rod on this one: EOF != EOT > and mixing them up is a recipe for (inter alia) finding you can't read back > dumps when you need them. Not to mention the fact that the old ANSI standard for nine-track tapes included a double EOF to indicate EOT/EOD (and the more modern tapes _did_ have an EOT marker). Consider me another person with extensive tape experience chiming in _against_ this idea. And, yes, "blank check" means something entirely different from EOT. Conflating the two opens up a real can of worms. -- Frank Mayhar frank@exit.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 18:42: 9 1999 Delivered-To: freebsd-current@freebsd.org Received: from forrie.net (forrie.net [216.67.12.69]) by hub.freebsd.org (Postfix) with ESMTP id ED0DA14C23 for ; Mon, 15 Nov 1999 18:42:05 -0800 (PST) (envelope-from forrie@forrie.com) Received: from Forrest (getbent@forrie.ne.mediaone.net [24.128.72.15]) by forrie.net (8.9.3/8.9.3) with ESMTP id VAA13267 for ; Mon, 15 Nov 1999 21:42:05 -0500 (EST) Message-Id: <4.2.1.19991115213753.00a91580@216.67.12.69> X-Sender: forrie@216.67.12.69 X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.1 Date: Mon, 15 Nov 1999 21:38:17 -0500 To: freebsd-current@freebsd.org From: Forrest Aldrich Subject: BIND update Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Will we be updating 4.0-current to the latest BIND-8.22-P5? _F To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 19: 5:12 1999 Delivered-To: freebsd-current@freebsd.org Received: from penelope.skunk.org (penelope.skunk.org [208.133.204.51]) by hub.freebsd.org (Postfix) with ESMTP id 1679214D6D for ; Mon, 15 Nov 1999 19:05:10 -0800 (PST) (envelope-from ben@penelope.skunk.org) Received: from localhost (ben@localhost) by penelope.skunk.org (8.9.3/8.9.3) with ESMTP id WAA37080; Mon, 15 Nov 1999 22:12:28 -0500 (EST) Date: Mon, 15 Nov 1999 22:12:28 -0500 (EST) From: Ben Rosengart To: Forrest Aldrich Cc: freebsd-current@FreeBSD.ORG Subject: Re: BIND update In-Reply-To: <4.2.1.19991115213753.00a91580@216.67.12.69> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 15 Nov 1999, Forrest Aldrich wrote: > Will we be updating 4.0-current to the latest BIND-8.22-P5? Or -stable for that matter? I believe these changes are eminently qualified, being bugfixes. -- Ben Rosengart UNIX Systems Engineer, Skunk Group StarMedia Network, Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 20:18:30 1999 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 174FC14EC0 for ; Mon, 15 Nov 1999 20:18:23 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from p123-ts5.syd2.zeta.org.au (beefcake.zeta.org.au [203.26.10.12]) by mailman.zeta.org.au (8.8.7/8.8.7) with ESMTP id PAA02289; Tue, 16 Nov 1999 15:24:29 +1100 Date: Tue, 16 Nov 1999 15:17:43 +1100 (EST) From: Bruce Evans X-Sender: bde@alphplex.bde.org To: Pierre Beyssac Cc: Garrett Wollman , Sheldon Hearn , freebsd-current@FreeBSD.ORG Subject: Re: egcs -O breaks ping.c:in_cksum() In-Reply-To: <19991115194357.T28348@enst.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 15 Nov 1999, Pierre Beyssac wrote: > On Mon, Nov 15, 1999 at 01:35:15PM -0500, Garrett Wollman wrote: > > If, rather than casting pointers, the code used a union (containing > > one u_int16_t and one array[2] of u_int8_t), the compiler would have > > enough information to know about the aliases. > > You're right, this seems to work even with optimization turned on. > If nobody objects, I'll commit it. > > --- ck.c.old Mon Nov 15 19:41:35 1999 > +++ ck.c Mon Nov 15 19:39:43 1999 > @@ -13,7 +13,10 @@ > register int nleft = len; > register u_short *w = addr; > int sum = 0; > - volatile u_short answer = 0; > + union { > + u_int16_t us; > + u_int8_t uc[2]; > + } answer; This has indentation bugs. ping.c still assumes that u_short is u_int16_t everywhere else. > > /* > * Our algorithm is simple, using a 32 bit accumulator (sum), we add > @@ -27,15 +30,16 @@ > > /* mop up an odd byte, if necessary */ > if (nleft == 1) { > - *(u_char *)(&answer) = *(u_char *)w ; > - sum += answer; > + answer.uc[0] = *(u_char *)w ; > + answer.uc[1] = 0; > + sum += answer.us; This `answer' variable has nothing to do with the final `answer' variable. The latter should not be a union. The original code apparently reuses `answer' to do manual register allocation for ancient compilers. Perhaps the above should be written as: sum += ntohs(*(u_char *)w << 8); to avoid the undefined union access (answer.us). I think this works on all systems, but it is a pessimisation on some little-endian systems including i386's (on i386's, ntohs() is inline, but it is inline asm so the compiler can't see that it just reverses the shift). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 20:44:18 1999 Delivered-To: freebsd-current@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.100.7]) by hub.freebsd.org (Postfix) with ESMTP id 4E2BA14CF3 for ; Mon, 15 Nov 1999 20:44:11 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.9.3/8.9.3) with ESMTP id XAA123688; Mon, 15 Nov 1999 23:44:00 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <199911160222.SAA46666@apollo.backplane.com> References: <199911160144.RAA08909@implode.root.com> <199911160222.SAA46666@apollo.backplane.com> Date: Mon, 15 Nov 1999 23:45:28 -0500 To: Matthew Dillon , David Greenman From: Garance A Drosihn Subject: Re: PATCH for testing Cc: current@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 6:22 PM -0800 11/15/99, Matthew Dillon wrote: > Well, I think there is an issue in the proc struct bloat but I disagree > strongly about modifying argv - any worthwhile code uses setproctitle() > now simply because the argv space is highly dependant on the number of > arguments passed to the program, and thus non deterministic. Since we > have setproctitle(), we can depreciate the argv junk. I'm not running current at the moment so the following may be a dumb question. Did something happen such that argv wouldn't work anymore? I use a program which sets arguments via argv, and it seems to be working fine under 3.2-release. And going for dumb question #2, how does ps find the argv now? One of the earlier messages in this thread said something about it "rummaging around" on the other processes' space. Could the proc struc contain a pointer to the exact location in the other processes' space, thus making it quicker for ps to find it? --- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or drosih@rpi.edu Rensselaer Polytechnic Institute To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 22:19:37 1999 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id D273A14D83 for ; Mon, 15 Nov 1999 22:19:33 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.2) with ESMTP id HAA23505 for ; Tue, 16 Nov 1999 07:19:27 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: current@FreeBSD.ORG Subject: Re: PATCH for testing In-reply-to: Your message of "Mon, 15 Nov 1999 14:13:46 PST." <199911152213.OAA20176@kithrup.com> Date: Tue, 16 Nov 1999 07:19:27 +0100 Message-ID: <23503.942733167@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199911152213.OAA20176@kithrup.com>, Sean Eric Fagan writes: >In article <22209.942703421.kithrup.freebsd.current@critter.freebsd.dk> you write: >>The p_args.patch patch implements a cache of the commandline arguments >>in the process structure and makes ps(1) pick it up from there with >>sysctl rather than by groping around in the target process memory. > >I don't think this should go in at all. > >It increases the size of the proc structure (thereby affecting _all_ >processes) gratuitously. While I'm generally in favour of having the process >arguments kept around, the "BSD way" has been to only examine them in user >memory, despite that being unreliable and just annoying. > >The benefits are fairly minimal, and I don't believe justify the cost >incurred. That's fine, you can disable it by setting the sysctl. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 22:20:40 1999 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id CFCA3151E9 for ; Mon, 15 Nov 1999 22:20:35 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.2) with ESMTP id HAA23516; Tue, 16 Nov 1999 07:19:52 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Matthew Dillon Cc: current@FreeBSD.ORG Subject: Re: PATCH for testing In-reply-to: Your message of "Mon, 15 Nov 1999 14:18:24 PST." <199911152218.OAA45512@apollo.backplane.com> Date: Tue, 16 Nov 1999 07:19:52 +0100 Message-ID: <23514.942733192@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199911152218.OAA45512@apollo.backplane.com>, Matthew Dillon writes: >:http://phk.freebsd.dk/misc/p_args.patch >: >:The p_args.patch patch implements a cache of the commandline arguments >:in the process structure and makes ps(1) pick it up from there with >:sysctl rather than by groping around in the target process memory. >: >:This patch: >: Speeds up ps(1). > > Why don't we get rid of the 'e' option to ps while we are at it > considering how much of a security hole it is. I've never liked the > 'e' option. Hmm, well, I like to have it around for root at least... -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 22:35: 8 1999 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id DD64714C46 for ; Mon, 15 Nov 1999 22:34:58 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.2) with ESMTP id HAA23735; Tue, 16 Nov 1999 07:32:58 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: dg@root.com Cc: Matthew Dillon , Sean Eric Fagan , current@FreeBSD.ORG Subject: Re: PATCH for testing In-reply-to: Your message of "Mon, 15 Nov 1999 17:44:12 PST." <199911160144.RAA08909@implode.root.com> Date: Tue, 16 Nov 1999 07:32:58 +0100 Message-ID: <23733.942733978@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199911160144.RAA08909@implode.root.com>, David Greenman writes: > I agree that we need to get rid of 'e' and any other options that allow >reading another process's environment. I don't agree with putting the command >args in the proc struct, however, for the reason that Sean mentioned above. >In my opinion, doing so majorly bloats the proc struct for no good reason and >also introduces gratuitous incompatibilities for utilities that want to modify >their argv[*] and expect the modifications to show up in ps(1). Let me clarify some details about my patch: The args are not in struct proc, they hung in a separate data structure off struct proc, so the size increase of struct proc is one pointer. It can be disabled completely (apart from the pointer) with the provided sysctl. The data structure is shared across fork, until exec. Caching the argument list saves us a vnode and a procfs inode per running process (/proc/*/mem). So far I have not been able to see a net increase in memory usage. Please look at kvm_getargv(), procfs_mem.c and consider carefully the case where two processes on a SMP system, both "ps -ax", are at the same time examining one of these two processes memory to get the argv. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Nov 15 22:46:53 1999 Delivered-To: freebsd-current@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id D42E1151B0 for ; Mon, 15 Nov 1999 22:46:47 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 58E361CA0; Tue, 16 Nov 1999 14:46:46 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.0.2 2/24/98 To: Ben Rosengart Cc: Forrest Aldrich , freebsd-current@FreeBSD.ORG Subject: Re: BIND update In-reply-to: Your message of "Mon, 15 Nov 1999 22:12:28 EST." Date: Tue, 16 Nov 1999 14:46:46 +0800 From: Peter Wemm Message-Id: <19991116064646.58E361CA0@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ben Rosengart wrote: > On Mon, 15 Nov 1999, Forrest Aldrich wrote: > > > Will we be updating 4.0-current to the latest BIND-8.22-P5? > > Or -stable for that matter? I believe these changes are eminently > qualified, being bugfixes. The changes are most definately not "just" bugfixes. The impact is rather large. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 0:45:54 1999 Delivered-To: freebsd-current@freebsd.org Received: from enst.enst.fr (enst.enst.fr [137.194.2.16]) by hub.freebsd.org (Postfix) with ESMTP id 88B4A14EC6 for ; Tue, 16 Nov 1999 00:45:48 -0800 (PST) (envelope-from beyssac@enst.fr) Received: from bofh.enst.fr (bofh-2.enst.fr [137.194.2.37]) by enst.enst.fr (8.9.1a/8.9.1) with ESMTP id JAA11136; Tue, 16 Nov 1999 09:45:36 +0100 (MET) Received: by bofh.enst.fr (Postfix, from userid 12426) id 61BB9D226; Tue, 16 Nov 1999 09:45:36 +0100 (CET) Message-ID: <19991116094536.A44999@enst.fr> Date: Tue, 16 Nov 1999 09:45:36 +0100 From: Pierre Beyssac To: Bruce Evans Cc: Garrett Wollman , Sheldon Hearn , freebsd-current@FreeBSD.ORG Subject: Re: egcs -O breaks ping.c:in_cksum() References: <19991115194357.T28348@enst.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Bruce Evans on Tue, Nov 16, 1999 at 03:17:43PM +1100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Nov 16, 1999 at 03:17:43PM +1100, Bruce Evans wrote: > On Mon, 15 Nov 1999, Pierre Beyssac wrote: > > - volatile u_short answer = 0; > > + union { > > + u_int16_t us; > > + u_int8_t uc[2]; > > + } answer; > > This has indentation bugs. Uh, which one(s) do you mean exactly? The 4-space indented union (I just followed style(9)) or the double space before uc[2] (it was just to align us and uc vertically)? > ping.c still assumes that u_short is u_int16_t everywhere else. But in_cksum() is more or less self-contained. Probably it's more consistent (even withing in_cksum which uses u_short elsewhere) to change back the union to u_short and u_char, though. > This `answer' variable has nothing to do with the final `answer' variable. > The latter should not be a union. The original code apparently reuses > `answer' to do manual register allocation for ancient compilers. Agreed. > Perhaps the above should be written as: > > sum += ntohs(*(u_char *)w << 8); > > to avoid the undefined union access (answer.us). Uh... I'm not sure I don't prefer the union, actually :-) -- Pierre Beyssac pb@enst.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 0:58:43 1999 Delivered-To: freebsd-current@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 2AEE4151C5 for ; Tue, 16 Nov 1999 00:58:38 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.040 #1) id 11neRC-000BhE-00; Tue, 16 Nov 1999 10:58:06 +0200 From: Sheldon Hearn To: Pierre Beyssac Cc: Bruce Evans , Garrett Wollman , freebsd-current@FreeBSD.ORG Subject: Re: egcs -O breaks ping.c:in_cksum() In-reply-to: Your message of "Tue, 16 Nov 1999 09:45:36 +0100." <19991116094536.A44999@enst.fr> Date: Tue, 16 Nov 1999 10:58:06 +0200 Message-ID: <44963.942742686@axl.noc.iafrica.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 16 Nov 1999 09:45:36 +0100, Pierre Beyssac wrote: > > - volatile u_short answer = 0; > > + union { > > + u_int16_t us; > > + u_int8_t uc[2]; > > + } answer; > Uh, which one(s) do you mean exactly? The 4-space indented union > (I just followed style(9)) The word ``union'' doesn't appear in style(9) and a 1 tab indent is used consistently in the examples of structs. Use 1 tab. > or the double space before uc[2] (it was just to align us and uc > vertically)? Use tabs for that as well. Look at the rest of ping.c, and you'll see that 4-space indents aren't used except to prevent line-wrap in one weird case of a switch block and for run-over lines. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 1:13:26 1999 Delivered-To: freebsd-current@freebsd.org Received: from nhj.nlc.net.au (nhj.nlc.net.au [203.24.133.1]) by hub.freebsd.org (Postfix) with SMTP id 1A1E3151DD for ; Tue, 16 Nov 1999 01:13:13 -0800 (PST) (envelope-from john@nlc.net.au) Received: (qmail 16384 invoked from network); 16 Nov 1999 20:13:11 +1100 Received: from pacer.nlc.net.au (203.24.133.16) by nhj.nlc.net.au with SMTP; 16 Nov 1999 20:13:11 +1100 Received: (qmail 56087 invoked from network); 16 Nov 1999 20:13:09 +1100 Received: from localhost (HELO nlc.net.au) (john@127.0.0.1) by localhost.nlc.net.au with SMTP; 16 Nov 1999 20:13:09 +1100 Message-ID: <3831201F.7F7ED519@nlc.net.au> Date: Tue, 16 Nov 1999 20:13:03 +1100 From: John Saunders Organization: NORTHLINK COMMUNICATIONS PTY LTD X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: PATCH for testing References: <199911160144.RAA08909@implode.root.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > And, also, we need to get rid of the 'e' option to ps entirely. It's a > > major security hole. > > I agree that we need to get rid of 'e' and any other options that allow > reading another process's environment. How about protecting the -e option by a test for setuid() == 0 instead of removing it entirely. That would remove the security concern, but still retain the function for root. Removing the function for root is useless from a security point of view, as anybody with root access can simply compile an alternative version of ps(1) with -e back in it. Cheers. -- +------------------------------------------------------------+ . | John Saunders - mailto:john@nlc.net.au (EMail) | ,--_|\ | - http://www.nlc.net.au/ (WWW) | / Oz \ | - 02-9489-4932 or 04-1822-3814 (Phone) | \_,--\_/ | NORTHLINK COMMUNICATIONS P/L - Supplying a professional, | v | and above all friendly, internet connection service. | +------------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 1:14:17 1999 Delivered-To: freebsd-current@freebsd.org Received: from enst.enst.fr (enst.enst.fr [137.194.2.16]) by hub.freebsd.org (Postfix) with ESMTP id F1D1A151D5 for ; Tue, 16 Nov 1999 01:14:02 -0800 (PST) (envelope-from beyssac@enst.fr) Received: from bofh.enst.fr (bofh-2.enst.fr [137.194.2.37]) by enst.enst.fr (8.9.1a/8.9.1) with ESMTP id KAA12543; Tue, 16 Nov 1999 10:13:53 +0100 (MET) Received: by bofh.enst.fr (Postfix, from userid 12426) id 0FEC8D226; Tue, 16 Nov 1999 10:13:53 +0100 (CET) Message-ID: <19991116101352.W28348@enst.fr> Date: Tue, 16 Nov 1999 10:13:52 +0100 From: Pierre Beyssac To: Sheldon Hearn Cc: Bruce Evans , Garrett Wollman , freebsd-current@FreeBSD.ORG Subject: Re: egcs -O breaks ping.c:in_cksum() References: <19991116094536.A44999@enst.fr> <44963.942742686@axl.noc.iafrica.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <44963.942742686@axl.noc.iafrica.com>; from Sheldon Hearn on Tue, Nov 16, 1999 at 10:58:06AM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Nov 16, 1999 at 10:58:06AM +0200, Sheldon Hearn wrote: > The word ``union'' doesn't appear in style(9) and a 1 tab indent is used > consistently in the examples of structs. Use 1 tab. Right, I reread style(9) and I apparently misunderstood the following part which only applies to code (mainly inside a statement): > Indentation is an 8 character tab. Second level indents are four spaces. -- Pierre Beyssac pb@enst.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 1:14:29 1999 Delivered-To: freebsd-current@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 8A98715204 for ; Tue, 16 Nov 1999 01:14:23 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.040 #1) id 11negc-000Brm-00; Tue, 16 Nov 1999 11:14:02 +0200 From: Sheldon Hearn To: Poul-Henning Kamp Cc: Matthew Dillon , current@FreeBSD.ORG Subject: Re: PATCH for testing In-reply-to: Your message of "Tue, 16 Nov 1999 07:19:52 +0100." <23514.942733192@critter.freebsd.dk> Date: Tue, 16 Nov 1999 11:14:02 +0200 Message-ID: <45617.942743642@axl.noc.iafrica.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 16 Nov 1999 07:19:52 +0100, Poul-Henning Kamp wrote: > > Why don't we get rid of the 'e' option to ps while we are at it > > considering how much of a security hole it is. > > Hmm, well, I like to have it around for root at least... Exactly. In a perfect world, the -e option will only allow inspection of the environment of processes for which the owner of the ps process has sufficient priveledge. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 1:15:56 1999 Delivered-To: freebsd-current@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 89070151D0 for ; Tue, 16 Nov 1999 01:15:50 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.040 #1) id 11nehn-000Bt1-00; Tue, 16 Nov 1999 11:15:15 +0200 From: Sheldon Hearn To: Matthew Dillon Cc: Garance A Drosihn , Lyndon Nerenberg , current@FreeBSD.ORG Subject: Re: ps -e In-reply-to: Your message of "Mon, 15 Nov 1999 16:27:12 PST." <199911160027.QAA46037@apollo.backplane.com> Date: Tue, 16 Nov 1999 11:15:15 +0200 Message-ID: <45694.942743715@axl.noc.iafrica.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 15 Nov 1999 16:27:12 PST, Matthew Dillon wrote: > I shudder to think that people might actually start depending on this > non-feature. Your shuddering comes too late. :-) Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 1:19:18 1999 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id 343C4151D0 for ; Tue, 16 Nov 1999 01:19:14 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.2) with ESMTP id KAA24361; Tue, 16 Nov 1999 10:17:44 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Sheldon Hearn Cc: Matthew Dillon , current@FreeBSD.ORG Subject: Re: PATCH for testing In-reply-to: Your message of "Tue, 16 Nov 1999 11:14:02 +0200." <45617.942743642@axl.noc.iafrica.com> Date: Tue, 16 Nov 1999 10:17:44 +0100 Message-ID: <24359.942743864@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <45617.942743642@axl.noc.iafrica.com>, Sheldon Hearn writes: > > >On Tue, 16 Nov 1999 07:19:52 +0100, Poul-Henning Kamp wrote: > >> > Why don't we get rid of the 'e' option to ps while we are at it >> > considering how much of a security hole it is. >> >> Hmm, well, I like to have it around for root at least... > >Exactly. > >In a perfect world, the -e option will only allow inspection of the >environment of processes for which the owner of the ps process has >sufficient priveledge. Yes that makes sense, because if all comes to all they could attach a debugger and find it that way anyway. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 1:21: 5 1999 Delivered-To: freebsd-current@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 4335914DDC for ; Tue, 16 Nov 1999 01:20:54 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.040 #1) id 11nemu-000CzK-00; Tue, 16 Nov 1999 11:20:32 +0200 From: Sheldon Hearn To: Manfred Antar Cc: Forrest Aldrich , freebsd-current@FreeBSD.ORG Subject: Re: gcc 2.95.2 In-reply-to: Your message of "Mon, 15 Nov 1999 13:22:23 PST." <4.2.2.19991115132024.00a92260@pozo.com> Date: Tue, 16 Nov 1999 11:20:32 +0200 Message-ID: <49928.942744032@axl.noc.iafrica.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 15 Nov 1999 13:22:23 PST, Manfred Antar wrote: > I did the same and everything works. > But XFree86 from the ports collection will not build. That's not a very useful description of the problem. :-) Did you answer "YES" or "NO" to the following question? Do you want to compile with threads support? (experimental) The default is "YES" if you just press enter, and the commit message for the addition of threads support was ominous: | revision 1.47 | date: 1999/11/13 01:28:19; author: jmz; state: Exp; lines: +11 -0 | Add support for threads (use at your own risk) | | Submitted by: Carlos A M dos Santos If this isn't your problem and you actually wanted help, you'll need to describe more accurately what goes wrong such that XFree86 "will not build". Here read "cut'n'paste build errors". :-) Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 1:43:32 1999 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 00C0814CC5 for ; Tue, 16 Nov 1999 01:43:27 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from p123-ts5.syd2.zeta.org.au (beefcake.zeta.org.au [203.26.10.12]) by mailman.zeta.org.au (8.8.7/8.8.7) with ESMTP id UAA24382; Tue, 16 Nov 1999 20:49:39 +1100 Date: Tue, 16 Nov 1999 20:42:52 +1100 (EST) From: Bruce Evans X-Sender: bde@alphplex.bde.org To: Pierre Beyssac Cc: Garrett Wollman , Sheldon Hearn , freebsd-current@FreeBSD.ORG Subject: Re: egcs -O breaks ping.c:in_cksum() In-Reply-To: <19991116094536.A44999@enst.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 16 Nov 1999, Pierre Beyssac wrote: > On Tue, Nov 16, 1999 at 03:17:43PM +1100, Bruce Evans wrote: > > On Mon, 15 Nov 1999, Pierre Beyssac wrote: > > > - volatile u_short answer = 0; > > > + union { > > > + u_int16_t us; > > > + u_int8_t uc[2]; > > > + } answer; > > > > This has indentation bugs. > > Uh, which one(s) do you mean exactly? The 4-space indented union > (I just followed style(9)) or the double space before uc[2] (it > was just to align us and uc vertically)? See Sheldon's reply. u_int16_t and u_int8_t are too wide for the normal indentation rules to apply. Various inconsistent formattings are used for them. E.g., in Lite2, uses an extra space in one struct and an extra tab in the others. This is another reason to use u_short :-). > > ping.c still assumes that u_short is u_int16_t everywhere else. > > But in_cksum() is more or less self-contained. Probably it's more > consistent (even withing in_cksum which uses u_short elsewhere) to > change back the union to u_short and u_char, though. There are better examples to copy in the kernel. They still use too many shorts, ints and union hacks, however. The alpha version is most interesting. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 2:26:32 1999 Delivered-To: freebsd-current@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 680B714CAC; Tue, 16 Nov 1999 02:26:27 -0800 (PST) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 16 Nov 1999 10:26:27 +0000 (GMT) Date: Tue, 16 Nov 1999 10:26:27 +0000 From: David Malone To: Matthew Dillon Cc: Poul-Henning Kamp , current@FreeBSD.ORG Subject: Re: PATCH for testing Message-ID: <19991116102627.A96298@walton.maths.tcd.ie> References: <22209.942703421@critter.freebsd.dk> <199911152218.OAA45512@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: <199911152218.OAA45512@apollo.backplane.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Nov 15, 1999 at 02:18:24PM -0800, Matthew Dillon wrote: > Why don't we get rid of the 'e' option to ps while we are at it > considering how much of a security hole it is. I've never liked the > 'e' option. If we get rid of the 'e' option we should also get rid of showing the command line args - both might leak private data. Anyone writing programs which don't want to leak data should know not to put it on the command line or in the environment. If the 'e' option is removed from FreeBSD it doesn't make the life of anyone writing programs any easier 'cos other versions of Unix will continue to expose the environment variables. Also, setting environment variables is a simple way of exporting data from a program. For example you can set variables in hosts.allow saying where the connection the created the process came from and then examine this with ps -e later. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 2:37: 6 1999 Delivered-To: freebsd-current@freebsd.org Received: from mail.ftf.dk (mail.ftf.net [129.142.64.2]) by hub.freebsd.org (Postfix) with ESMTP id E45D314A05 for ; Tue, 16 Nov 1999 02:37:00 -0800 (PST) (envelope-from regnauld@ftf.net) Received: from ns.int.ftf.net (fw2.ftf.dk [192.168.1.2] (may be forged)) by mail.ftf.dk (8.9.3/8.9.3/gw-ftf-1.2) with ESMTP id LAA15873 for ; Tue, 16 Nov 1999 11:36:54 +0100 (CET) X-Authentication-Warning: mail.ftf.dk: Host fw2.ftf.dk [192.168.1.2] (may be forged) claimed to be ns.int.ftf.net Received: (from regnauld@localhost) by ns.int.ftf.net (8.9.2/8.9.3) id LAA11098; Tue, 16 Nov 1999 11:50:06 +0100 (CET) Message-ID: <19991116115005.46632@ns.int.ftf.net> Date: Tue, 16 Nov 1999 11:50:05 +0100 From: Phil Regnauld To: freebsd-current@freebsd.org Subject: pcm0 is not found: "unknown0:" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88e X-Operating-System: FreeBSD 3.1-RELEASE i386 Organization: FTFnet Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I was running a kernel from end of august, and everything worked fine (IBM PC 300 PL, PII-350, 128 MB RAM, built-in audio): Oct 5 13:28:29 aylee /kernel: pcm1 (CS423x/Yamaha/AD1816 sn 0xffffffff) at 0x530-0x537 irq 5 drq 1 flags 0x13 on isa Since make world last week: unknown0: at port 0x534-0x537,0x388-0x38b,0x220-0x22f irq 5 drq 1,0 on isa0 unknown1: on isa0 unknown2: at port 0x120-0x127 on isa0 I looked in the archives, and could see some people had a related problems -- but it's not a missing chip ID in this case... Here's DMESG output: Copyright (c) 1992-1999 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #0: Mon Nov 15 14:03:48 CET 1999 regnauld@aylee.t-d.rh.dk:/usr/src/sys/compile/AYLEE Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 348486590 Hz CPU: Pentium II/Xeon/Celeron (348.49-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183f9ff real memory = 134213632 (131068K bytes) config> pnp 1 0 os enable port0 0x534 port2 0x220 irq0 5 drq0 1 drq1 3 Invalid command or syntax. Type `?' for help. config> flags wdc0 0xa0ffa0ff No such device: wdc0 Invalid command or syntax. Type `?' for help. config> flags wdc1 0xa0ffa0ff No such device: wdc1 Invalid command or syntax. Type `?' for help. config> q avail memory = 127262720 (124280K bytes) Preloaded elf kernel "kernel" at 0xc02bf000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc02bf09c. VESA: v2.0, 4096k memory, flags:0x1, mode table:0xc0275442 (1000022) VESA: Matrox Graphics Inc. Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 oltr: oltr_pci_probe pcib1: at device 1.0 on pci0 pci1: on pcib1 oltr: oltr_pci_probe vga-pci0: irq 0 at device 1.0 on pci1 isab0: at device 2.0 on pci0 isa0: on isab0 ata-pci0: at device 2.1 on pci0 ata-pci0: Busmastering DMA supported ata0 at 0x01f0 irq 14 on ata-pci0 ata1 at 0x0170 irq 15 on ata-pci0 oltr: oltr_pci_probe chip1: at device 2.2 on pci0 oltr: oltr_pci_probe chip2: at device 2.3 on pci0 fxp0: irq 11 at device 3.0 on pci0 fxp0: Ethernet address 00:04:ac:d9:40:0e xl0: <3Com 3c905B-TX Fast Etherlink XL> irq 9 at device 16.0 on pci0 xl0: Ethernet address: 00:10:5a:c0:08:11 miibus0: on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto oltr: oltr_pci_probe vga-pci1: at device 18.0 on pci0 fdc0: at port 0x3f0-0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60-0x6f on isa0 atkbd0: irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0 at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode plip0: on ppbus 0 lpt0: on ppbus 0 lpt0: Interrupt-driven port ppi0: on ppbus 0 oltr0: oltr_probe oltr0: auto assigning card. oltr0: [00:00:83:79:d5:c4] oltr0 at port 0xa20 irq 10 drq 7 on isa0 oltr0: Adapter modes - TRLLD_MODE_16M TRLLD_MODE_PHYSICAL unknown0: at port 0x534-0x537,0x388-0x38b,0x220-0x22f irq 5 drq 1,0 on isa0 unknown1: on isa0 unknown2: at port 0x120-0x127 on isa0 IP packet filtering initialized, divert enabled, rule-based forwarding disabled, logging disabled oltr0 XXX: driver didn't set ifq_maxlen ad0: ATA-4 disk at ata0 as master ad0: 4028MB (8249472 sectors), 8184 cyls, 16 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 0 depth queue, UDMA33 Creating DISK ad0 Creating DISK wd0 ad1: ATA-4 disk at ata1 as master ad1: 4028MB (8249472 sectors), 8184 cyls, 16 heads, 63 S/T, 512 B/S ad1: 16 secs/int, 0 depth queue, UDMA33 Creating DISK ad1 Creating DISK wd1 acd0: CDROM drive at ata1 as slave acd0: read 5500KB/s (5500KB/s), 128KB buffer, DMA acd0: supported read types: CD-R, CD-RW, CD-DA, packet acd0: Audio: play, 255 volume levels acd0: Mechanism: ejectable tray acd0: Medium: CD-RW 120mm audio disc loaded, unlocked, lock protected Mounting root from ufs:/dev/ad0s1a oltr0: adapter status good. (close completed/self-test) fxp0: promiscuous mode enabled -- It is hoped the US DoJ will not coerce Microsoft Corporation into releasing its source code to the competition: - the national security of several large states would be at risk - paramedics aren't ready to deal with hysterical giggling on a planetary scale To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 2:39:12 1999 Delivered-To: freebsd-current@freebsd.org Received: from blue.bad.bris.ac.uk (blue.bad.bris.ac.uk [137.222.132.60]) by hub.freebsd.org (Postfix) with SMTP id 5651714A05 for ; Tue, 16 Nov 1999 02:39:05 -0800 (PST) (envelope-from matt@blue.bad.bris.ac.uk) Received: (qmail 9961 invoked by uid 58871); 16 Nov 1999 10:39:03 -0000 Date: Tue, 16 Nov 1999 10:39:03 +0000 (GMT) From: Matt Hamilton Reply-To: Matt Hamilton To: Lester Igo Cc: freebsd-current@FreeBSD.ORG Subject: Re: -current Make World In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Speaking of which, is their an archive (web based?) of the FreeBSD-current > mailing list (how about others?)? I didn't see one linked in my searches > around the web pages. I am currently working on a full-text search/archive of Open Source mailing lists, which should be up at http://www.osdigger.com for testing before the end of the year. The site will have searchable archives of over 300 lists including *BSD, Linux, Perl, Apache, KDE, Gnome, and lots lots more :) Watch this space. -Matt -------------------------------------------------------------------------------- Matt Hamilton matt.hamilton@acm.org Hamilton Computing +44 (0)797 707 2482 -------------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 3: 7: 7 1999 Delivered-To: freebsd-current@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 0F534151ED for ; Tue, 16 Nov 1999 03:07:01 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.040 #1) id 11ngRi-000IAg-00; Tue, 16 Nov 1999 13:06:46 +0200 From: Sheldon Hearn To: Manfred Antar Cc: Forrest Aldrich , freebsd-current@FreeBSD.ORG Subject: Re: gcc 2.95.2 In-reply-to: Your message of "Mon, 15 Nov 1999 13:22:23 PST." <4.2.2.19991115132024.00a92260@pozo.com> Date: Tue, 16 Nov 1999 13:06:46 +0200 Message-ID: <69853.942750406@axl.noc.iafrica.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 15 Nov 1999 13:22:23 PST, Manfred Antar wrote: > I did the same and everything works. > But XFree86 from the ports collection will not build. By the way, I just tested the build using gcc-2.95.2 both with and without the threads support. So you really are going to need to provide more information. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 4:58:44 1999 Delivered-To: freebsd-current@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id A9B2114D83 for ; Tue, 16 Nov 1999 04:58:32 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 9ED091CA0; Tue, 16 Nov 1999 20:58:29 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.0.2 2/24/98 To: Poul-Henning Kamp Cc: Sheldon Hearn , Matthew Dillon , current@FreeBSD.ORG Subject: Re: PATCH for testing In-reply-to: Your message of "Tue, 16 Nov 1999 10:17:44 +0100." <24359.942743864@critter.freebsd.dk> Date: Tue, 16 Nov 1999 20:58:29 +0800 From: Peter Wemm Message-Id: <19991116125829.9ED091CA0@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Poul-Henning Kamp wrote: > In message <45617.942743642@axl.noc.iafrica.com>, Sheldon Hearn writes: > > > > > >On Tue, 16 Nov 1999 07:19:52 +0100, Poul-Henning Kamp wrote: > > > >> > Why don't we get rid of the 'e' option to ps while we are at it > >> > considering how much of a security hole it is. > >> > >> Hmm, well, I like to have it around for root at least... > > > >Exactly. > > > >In a perfect world, the -e option will only allow inspection of the > >environment of processes for which the owner of the ps process has > >sufficient priveledge. > > Yes that makes sense, because if all comes to all they could attach > a debugger and find it that way anyway. If the command line is obtained other ways, then the easiest way to implement this should be to delay opening the mem file until it's required and turn off the setgid bit for the open. Or better yet, turn off setgid entirely and use sysctl and eproc for everything, but allow -e to work if the user could open /proc/*/mem.. Or something like that. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 6:22:42 1999 Delivered-To: freebsd-current@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id F3BB714BCE for ; Tue, 16 Nov 1999 06:22:34 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id JAA10973; Tue, 16 Nov 1999 09:22:28 -0500 (EST) (envelope-from wollman) Date: Tue, 16 Nov 1999 09:22:28 -0500 (EST) From: Garrett Wollman Message-Id: <199911161422.JAA10973@khavrinen.lcs.mit.edu> To: Bruce Evans Cc: Pierre Beyssac , Garrett Wollman , Sheldon Hearn , freebsd-current@FreeBSD.ORG Subject: Re: egcs -O breaks ping.c:in_cksum() In-Reply-To: References: <19991115194357.T28348@enst.fr> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG < said: > Perhaps the above should be written as: > sum += ntohs(*(u_char *)w << 8); > to avoid the undefined union access (answer.us). No. The IP checksum is defined in a manner which is endian-independent. Adding calls to ntohs() would only confuse matters further. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 6:46:38 1999 Delivered-To: freebsd-current@freebsd.org Received: from pozo.com (pozo.com [216.101.162.50]) by hub.freebsd.org (Postfix) with ESMTP id 3D3E514D8B for ; Tue, 16 Nov 1999 06:46:25 -0800 (PST) (envelope-from mantar@pacbell.net) Received: from dual (dual.pozo.com [216.101.162.51]) by pozo.com (8.9.3/8.9.3) with ESMTP id GAA02250; Tue, 16 Nov 1999 06:46:12 -0800 (PST) (envelope-from mantar@pacbell.net) Message-Id: <4.2.2.19991116064207.00a92160@pozo.com> X-Sender: null@pozo.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2 Date: Tue, 16 Nov 1999 06:46:12 -0800 To: Sheldon Hearn From: Manfred Antar Subject: Re: gcc 2.95.2 Cc: Forrest Aldrich , freebsd-current@FreeBSD.ORG In-Reply-To: <69853.942750406@axl.noc.iafrica.com> References: <"Your message of Mon, 15 Nov 1999 13:22:23 PST." <4.2.2.19991115132024.00a92260@pozo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 01:06 PM 11/16/99 +0200, Sheldon Hearn wrote: >On Mon, 15 Nov 1999 13:22:23 PST, Manfred Antar wrote: > > > I did the same and everything works. > > But XFree86 from the ports collection will not build. > >By the way, I just tested the build using gcc-2.95.2 both with and >without the threads support. So you really are going to need to provide >more information. > >Ciao, >Sheldon. Did it build for you ? I get Full build of XFree86 done or something like that at the end of the build but it only took 20 minutes. It usually takes about 1 hour. I have to go to work but I'll start another build and see if I can get some of the errors listed Thanks Manfred ===================== || mantar@pacbell.net || || Ph. (415) 681-6235 || ===================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 6:50:57 1999 Delivered-To: freebsd-current@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id A431514D37 for ; Tue, 16 Nov 1999 06:50:51 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.040 #1) id 11njwL-000L7b-00; Tue, 16 Nov 1999 16:50:37 +0200 From: Sheldon Hearn To: Manfred Antar Cc: Forrest Aldrich , freebsd-current@FreeBSD.ORG Subject: Re: gcc 2.95.2 In-reply-to: Your message of "Tue, 16 Nov 1999 06:46:12 PST." <4.2.2.19991116064207.00a92160@pozo.com> Date: Tue, 16 Nov 1999 16:50:37 +0200 Message-ID: <81194.942763837@axl.noc.iafrica.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 16 Nov 1999 06:46:12 PST, Manfred Antar wrote: > Did it build for you ? Yes. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 7:15: 6 1999 Delivered-To: freebsd-current@freebsd.org Received: from yana.lemis.com (yana.lemis.com [192.109.197.140]) by hub.freebsd.org (Postfix) with ESMTP id 697C914CC4 for ; Tue, 16 Nov 1999 07:14:52 -0800 (PST) (envelope-from grog@mojave.sitaranetworks.com) Received: from mojave.sitaranetworks.com (mojave.sitaranetworks.com [199.103.141.157]) by yana.lemis.com (8.8.8/8.8.8) with ESMTP id BAA22288; Wed, 17 Nov 1999 01:44:36 +1030 (CST) (envelope-from grog@mojave.sitaranetworks.com) Message-ID: <19991115233605.10530@mojave.sitaranetworks.com> Date: Mon, 15 Nov 1999 23:36:05 -0500 From: Greg Lehey To: mjacob@feral.com, "Rodney W. Grimes" Cc: current@FreeBSD.ORG Subject: Re: FreeBSD 4.0 SCSI Tape Driver Reply-To: Greg Lehey References: <199911151857.KAA15544@gndrsh.dnsmgr.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: ; from Matthew Jacob on Mon, Nov 15, 1999 at 11:01:05AM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, 15 November 1999 at 11:01:05 -0800, Matthew Jacob wrote: > > > On Mon, 15 Nov 1999, Rodney W. Grimes wrote: > >>> >>> Reread/reresponse, sorry- ENOCOFFEE: >>> >>> >>>>> >>>>> 1 filemark can not be used for EOT, it is EOF, you can't tell if what you >>>>> read next is another file or not that may have been left by a previosly >>>>> longer usage on the tape. >>>>> >>> >>> >>> Well, read until *BLANK CHECK* seems to be what the driver can and should >>> do. Let me ponder this some- I believe what I propose actually works fine >>> for all the devices we currently support (hell, I use it all the time >>> myself). If you can provide an actual example of a SCSI tape device that >>> if you take FreeBSD-current or FreeBSD-3.3 and do a 'mt seteotmodel 1' on >>> and *not* be able to detect EOT, let me know! >> >> You won't get ``blank check'' if the tape has previosly been written >> past where you just finished writing. Instead you often get trash. > > Sorry, no. When you write a tape with these devices there's always a > leading erased area. That's why if you overwrite the front a tape you > can't skip past this area to recover data you really need. A misfeature of > modern technology. Is this anchored in the standards? What about DLT? What about future drives? I certainly wouldn't rely on anything that isn't guaranteed to stay that way. What happens if I write a tape on FreeBSD and read it in on System V? >> In your other message you talk about the driver getting 2 residuals >> in a row, well, unless you write the 2 EOF's you won't always get that... >> depends on if the tape drive does it automagically (which many newer >> drives do, they write 2 eof's and backspace over 1 of them for you when >> ever you tell them to write EOF, the drive itself uses 2 EOF's to >> determine logical EOT :-)). > > I repeat what I said in other mail- can you actually show me a tape drive > where what I propose really doesn't work? I think this question is the wrong way round. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 7:16:10 1999 Delivered-To: freebsd-current@freebsd.org Received: from yana.lemis.com (yana.lemis.com [192.109.197.140]) by hub.freebsd.org (Postfix) with ESMTP id 4A90A15210 for ; Tue, 16 Nov 1999 07:16:03 -0800 (PST) (envelope-from grog@mojave.sitaranetworks.com) Received: from mojave.sitaranetworks.com (mojave.sitaranetworks.com [199.103.141.157]) by yana.lemis.com (8.8.8/8.8.8) with ESMTP id BAA22316; Wed, 17 Nov 1999 01:45:55 +1030 (CST) (envelope-from grog@mojave.sitaranetworks.com) Message-ID: <19991115204113.33800@mojave.sitaranetworks.com> Date: Mon, 15 Nov 1999 20:41:13 -0500 From: Greg Lehey To: mjacob@feral.com, "Rodney W. Grimes" Cc: current@FreeBSD.ORG Subject: Re: FreeBSD 4.0 SCSI Tape Driver Reply-To: Greg Lehey References: <199911151715.JAA15320@gndrsh.dnsmgr.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: ; from Matthew Jacob on Mon, Nov 15, 1999 at 09:36:16AM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, 15 November 1999 at 9:36:16 -0800, Matthew Jacob wrote: >> >> There seems to be a great amount of confusion about the 2 EOF marks on >> tapes. It has nothing to do with physical EOT, even the 556BPI 1/2" >> tape drives on an IBM 1401 can detect physical EOT. The problem is >> with LOGICAL EOT, most tape drives do not have a logical EOT write >> command, even modern drives. So when you overwrite a tape how do you >> tell that you have gotten to the logical end of data, well, you write >> 2 EOF marks. >> >> The other thing that causes lots of folks confusion here is that some >> tape drives backspace over an EOF mark that is written, thus it gets >> real fun to put 2 EOF marks on the tape. You have to mt eof, mt fsf, >> mt eof. > > Yes, that *may* be a problem. Also, when you write two filemarks, as best > as I can tell for some hardware, this is never able to be read back as two > filemarks. > >> >> Since you do not point out how we are suppose to detect logical EOT >> on a tape I object to any elimination of dual EOF to indicate logical >> EOT. >>> >>> There already is an ioctl (and control via mt(1)) to change the default >>> eot model. There could very well also be a config option too. I'd like to >>> make the 1 Filemark at EOT the default though. I'll have to fix tcopy, >>> and I want to give some thought so that there are no compatibility >>> and interchange problems, but if those concerns are adequately covered I >>> think this is the right thing to do. >> >> 1 filemark can not be used for EOT, it is EOF, you can't tell if what you >> read next is another file or not that may have been left by a previosly >> longer usage on the tape. >> >>> >>> So- let me know, either via this list or privately. >>> Thanks in advance... >> >> Won't work, or would you care to explain how we are now suppose to detect >> logical EOT? > > The driver detects EOT during reads. Subsequent reads from the user > application return no data. A user application that detects a residual > twice in a row knows it is at EOT. Nearly all other Unix systems work fine > with this mechanism. Convince me. Every night, I do a partial backup, one file on tape for each file system, about 12 in all. Subsequently I read the tape and list contents until I hit EOT. OK, the first time I use a tape, there will be nothing behind it. But the next time, the total length of tape written may be shorter, so there will be data after logical EOT. How is the program going to know where to stop? Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 7:32: 0 1999 Delivered-To: freebsd-current@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 858B414DBD for ; Tue, 16 Nov 1999 07:31:36 -0800 (PST) (envelope-from mjacob@feral.com) Received: from beppo.feral.com (beppo [192.67.166.79]) by feral.com (8.8.7/8.8.7) with ESMTP id HAA06929; Tue, 16 Nov 1999 07:31:52 -0800 Date: Tue, 16 Nov 1999 07:31:52 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: Greg Lehey Cc: "Rodney W. Grimes" , current@FreeBSD.ORG Subject: Re: FreeBSD 4.0 SCSI Tape Driver In-Reply-To: <19991115204113.33800@mojave.sitaranetworks.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Every night, I do a partial backup, one file on tape for each file > system, about 12 in all. Subsequently I read the tape and list > contents until I hit EOT. OK, the first time I use a tape, there will > be nothing behind it. But the next time, the total length of tape > written may be shorter, so there will be data after logical EOT. How > is the program going to know where to stop? Every time you stop writing, that's EOT. You can't read past it with SCSI drives- really, no, you can't. You can seek to end of recorded data and start writing, but you can't read past where you've written to. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 7:36:22 1999 Delivered-To: freebsd-current@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 91D66150E8 for ; Tue, 16 Nov 1999 07:36:09 -0800 (PST) (envelope-from mjacob@feral.com) Received: from beppo.feral.com (beppo [192.67.166.79]) by feral.com (8.8.7/8.8.7) with ESMTP id HAA06967; Tue, 16 Nov 1999 07:36:29 -0800 Date: Tue, 16 Nov 1999 07:36:29 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: Greg Lehey Cc: "Rodney W. Grimes" , current@FreeBSD.ORG Subject: Re: FreeBSD 4.0 SCSI Tape Driver In-Reply-To: <19991115233605.10530@mojave.sitaranetworks.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > > Sorry, no. When you write a tape with these devices there's always a > > leading erased area. That's why if you overwrite the front a tape you > > can't skip past this area to recover data you really need. A misfeature of > > modern technology. > > Is this anchored in the standards? What about DLT? What about future > drives? I certainly wouldn't rely on anything that isn't guaranteed > to stay that way. What happens if I write a tape on FreeBSD and read > it in on System V? The whole point of what I'm trying to is to conform to other systems. I wouldn't do it if it added to interoperability problems. > > >> In your other message you talk about the driver getting 2 residuals > >> in a row, well, unless you write the 2 EOF's you won't always get that... > >> depends on if the tape drive does it automagically (which many newer > >> drives do, they write 2 eof's and backspace over 1 of them for you when > >> ever you tell them to write EOF, the drive itself uses 2 EOF's to > >> determine logical EOT :-)). > > > > I repeat what I said in other mail- can you actually show me a tape drive > > where what I propose really doesn't work? > > I think this question is the wrong way round. Apparently. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 7:37:15 1999 Delivered-To: freebsd-current@freebsd.org Received: from majordomo2.umd.edu (majordomo2.umd.edu [128.8.10.7]) by hub.freebsd.org (Postfix) with ESMTP id 52E5814DC9 for ; Tue, 16 Nov 1999 07:36:57 -0800 (PST) (envelope-from culverk@wam.umd.edu) Received: from rac6.wam.umd.edu (root@rac6.wam.umd.edu [128.8.10.146]) by majordomo2.umd.edu (8.9.3/8.9.3) with ESMTP id KAA24995 for ; Tue, 16 Nov 1999 10:36:44 -0500 (EST) Received: from rac6.wam.umd.edu (sendmail@localhost [127.0.0.1]) by rac6.wam.umd.edu (8.9.3/8.9.3) with SMTP id KAA19231 for ; Tue, 16 Nov 1999 10:36:54 -0500 (EST) Received: from localhost (culverk@localhost) by rac6.wam.umd.edu (8.9.3/8.9.3) with ESMTP id KAA19227 for ; Tue, 16 Nov 1999 10:36:54 -0500 (EST) X-Authentication-Warning: rac6.wam.umd.edu: culverk owned process doing -bs Date: Tue, 16 Nov 1999 10:36:54 -0500 (EST) From: Kenneth Wayne Culver To: freebsd-current@freebsd.org Subject: rtc0 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG For some reason, after recompiling the kernel over the last few days, systat -vm no longer even shows an rtc0 device. It only shows the clk device. I know this is not supposed to happen, so can anyone give me any ideas on how to fix the problem??? ================================================================= | Kenneth Culver | FreeBSD: The best OS around. | | Unix Systems Administrator | ICQ #: 24767726 | | and student at The | AIM: AgRSkaterq | | The University of Maryland, | Website: (Under Construction) | | College Park. | http://www.wam.umd.edu/~culverk/| ================================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 7:37:54 1999 Delivered-To: freebsd-current@freebsd.org Received: from dsl.MexComUSA.net (adsl-63-194-214-46.dsl.snfc21.pacbell.net [63.194.214.46]) by hub.freebsd.org (Postfix) with ESMTP id 11BAF15207 for ; Tue, 16 Nov 1999 07:37:43 -0800 (PST) (envelope-from eculp@MexComUSA.Net) Received: from MexComUSA.Net (local-27.local.net [192.168.1.27]) by dsl.MexComUSA.net (8.9.3/8.9.3) with ESMTP id HAA28479 for ; Tue, 16 Nov 1999 07:37:29 -0800 (PST) (envelope-from eculp@MexComUSA.Net) Message-ID: <38317A8A.5FA9FFF2@MexComUSA.Net> Date: Tue, 16 Nov 1999 07:38:50 -0800 From: Edwin Culp Organization: Mexico Communicates, S.C. X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.5 i386) X-Accept-Language: en MIME-Version: 1.0 To: "current@FreeBSD.ORG" Subject: Make world this morning. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Just looking at the results of a make world from a cvsup at about 4:40 PST. ed /usr/obj/usr/src/tmp/usr/include/sys/ttydev.h:60: warning: `B115200' redefined /usr/obj/usr/src/tmp/usr/include/termios.h:227: warning: this is the location of the previous definition cc -nostdinc -O -pipe -DBSD -DVER=12 -DSUBVER=0 -DNONAP -DUIDSCORE -fwritable-strings -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/games/larn/monster.c /usr/src/games/larn/monster.c: In function `hitm': /usr/src/games/larn/monster.c:856: syntax error before `amt' *** Error code 1 Stop in /usr/src/games/larn. *** Error code 1 Stop in /usr/src/games. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 7:46:55 1999 Delivered-To: freebsd-current@freebsd.org Received: from ns.cvzoom.net (ns.cvzoom.net [208.226.154.2]) by hub.freebsd.org (Postfix) with ESMTP id D594214C48 for ; Tue, 16 Nov 1999 07:46:41 -0800 (PST) (envelope-from dmmiller@cvzoom.net) Received: from lcm202.cvzoom.net (lcm202.cvzoom.net [208.230.69.202]) by ns.cvzoom.net (8.9.3/8.9.3) with ESMTP id KAA13592; Tue, 16 Nov 1999 10:27:34 -0500 (EST) Date: Tue, 16 Nov 1999 10:45:54 -0500 (EST) From: Donn Miller To: Edwin Culp Cc: current@freebsd.org Subject: Re: Make world this morning. In-Reply-To: <38317A8A.5FA9FFF2@MexComUSA.Net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 16 Nov 1999, Edwin Culp wrote: > Just looking at the results of a make world from a cvsup at about 4:40 > PST. > > ed > > /usr/obj/usr/src/tmp/usr/include/sys/ttydev.h:60: warning: `B115200' > redefined > /usr/obj/usr/src/tmp/usr/include/termios.h:227: warning: this is the > location of the previous definition > cc -nostdinc -O -pipe -DBSD -DVER=12 -DSUBVER=0 -DNONAP -DUIDSCORE > -fwritable-strings -I/usr/obj/usr/src/tmp/usr/include -c > /usr/src/games/larn/monster.c > /usr/src/games/larn/monster.c: In function `hitm': > /usr/src/games/larn/monster.c:856: syntax error before `amt' > *** Error code 1 > > Stop in /usr/src/games/larn. > *** Error code 1 Yep - same here. One other problem I had is that make world failed when I used: make -j 3 -DNOPROFILE world It bombed out somewhere near the beginning of make world when gcc was being built. When I eliminated the parallel build (make -DNOPROFILE world), it got further into the build, but bombed out at the point you describe. I was able to continue on by doing make -j 3 -DNOCLEAN -DNOGAMES -DNOPROFILE world - Donn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 8: 0:50 1999 Delivered-To: freebsd-current@freebsd.org Received: from jade.chc-chimes.com (jade.chc-chimes.com [216.28.46.6]) by hub.freebsd.org (Postfix) with ESMTP id 198EB14A15 for ; Tue, 16 Nov 1999 08:00:36 -0800 (PST) (envelope-from billf@chc-chimes.com) Received: by jade.chc-chimes.com (Postfix, from userid 1001) id 047921C5F; Tue, 16 Nov 1999 10:02:12 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by jade.chc-chimes.com (Postfix) with ESMTP id F3CB73836; Tue, 16 Nov 1999 10:02:12 -0500 (EST) Date: Tue, 16 Nov 1999 10:02:12 -0500 (EST) From: Bill Fumerola To: Edwin Culp Cc: "current@FreeBSD.ORG" Subject: Re: Make world this morning. In-Reply-To: <38317A8A.5FA9FFF2@MexComUSA.Net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 16 Nov 1999, Edwin Culp wrote: > /usr/src/games/larn/monster.c: In function `hitm': > /usr/src/games/larn/monster.c:856: syntax error before `amt' My first breakage of world, how neat. Thanks to Marcel for fixing what was the result of me having too many local copies of src/games on my laptop and checking one and committing another. Sorry -CURRENT folks.. -- - bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp - - ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@FreeBSD.org - PS. Sorry wpaul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 8: 3:45 1999 Delivered-To: freebsd-current@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id CE6D215135 for ; Tue, 16 Nov 1999 08:03:35 -0800 (PST) (envelope-from mjacob@feral.com) Received: from beppo.feral.com (beppo [192.67.166.79]) by feral.com (8.8.7/8.8.7) with ESMTP id IAA07105 for ; Tue, 16 Nov 1999 08:04:05 -0800 Date: Tue, 16 Nov 1999 08:04:05 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: current@FreeBSD.ORG Subject: Re: FreeBSD 4.0 SCSI Tape Driver- Okay, Okay, you win.... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Too many people have objected. I didn't make my case clearly enough, but because enough people of have raised issues, the default won't be changed. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 8: 6:21 1999 Delivered-To: freebsd-current@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id 74F53151FC for ; Tue, 16 Nov 1999 08:06:13 -0800 (PST) (envelope-from ambrisko@whistle.com) Received: from whistle.com (crab.whistle.com [207.76.205.112]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id IAA44004; Tue, 16 Nov 1999 08:06:11 -0800 (PST) Received: (from ambrisko@localhost) by whistle.com (8.9.1/8.9.1) id IAA48680; Tue, 16 Nov 1999 08:05:13 -0800 (PST) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <199911161605.IAA48680@whistle.com> Subject: Re: pcm0 is not found: "unknown0:" In-Reply-To: <19991116115005.46632@ns.int.ftf.net> from Phil Regnauld at "Nov 16, 99 11:50:05 am" To: regnauld@ftf.net (Phil Regnauld) Date: Tue, 16 Nov 1999 08:05:12 -0800 (PST) Cc: freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL29 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Phil Regnauld writes: | I was running a kernel from end of august, and everything worked | fine (IBM PC 300 PL, PII-350, 128 MB RAM, built-in audio): | | Oct 5 13:28:29 aylee /kernel: pcm1 (CS423x/Yamaha/AD1816 sn 0xffffffff) at 0x530-0x537 irq 5 drq 1 flags 0x13 on isa | | Since make world last week: | | unknown0: at port 0x534-0x537,0x388-0x38b,0x220-0x22f irq 5 drq 1,0 on isa0 | unknown1: on isa0 | unknown2: at port 0x120-0x127 on isa0 Apply this patch in /sys/dev/pcm/isa Don't know why it is reporting 0x0001630e instead of 0x0000630e I'm using pcm with pnp. Doug A. Index: mss.c =================================================================== RCS file: /cvs/freebsd/src/sys/dev/pcm/isa/mss.c,v retrieving revision 1.31 diff -c -r1.31 mss.c *** mss.c 1999/10/12 21:35:45 1.31 --- mss.c 1999/11/15 19:50:09 *************** *** 1268,1274 **** else if (id == 0x3200630e) s = "CS4232"; else s = "Unknown CS"; break; ! case 0x2100a865: /* YMH0021 */ if (id == 0x2000a865) s = "Yamaha SA2"; else if (id == 0x3000a865) s = "Yamaha SA3"; --- 1268,1277 ---- else if (id == 0x3200630e) s = "CS4232"; else s = "Unknown CS"; break; ! case 0x0001630e: /* CSC0100 */ ! if (id == 0x2500630e) s = "CS4235"; ! else s = "Unknown CS"; ! break; case 0x2100a865: /* YMH0021 */ if (id == 0x2000a865) s = "Yamaha SA2"; else if (id == 0x3000a865) s = "Yamaha SA3"; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 8:17:22 1999 Delivered-To: freebsd-current@freebsd.org Received: from forrie.net (forrie.net [216.67.12.69]) by hub.freebsd.org (Postfix) with ESMTP id 39846152E6 for ; Tue, 16 Nov 1999 08:17:07 -0800 (PST) (envelope-from forrie@forrie.com) Received: from Forrest (getbent@forrie.ne.mediaone.net [24.128.72.15]) by forrie.net (8.9.3/8.9.3) with ESMTP id LAA18861; Tue, 16 Nov 1999 11:16:40 -0500 (EST) Message-Id: <4.2.1.19991116111228.00a96790@216.67.12.69> X-Sender: forrie@216.67.12.69 X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.1 Date: Tue, 16 Nov 1999 11:12:51 -0500 To: Peter Wemm , Ben Rosengart From: Forrest Aldrich Subject: Re: BIND update Cc: freebsd-current@FreeBSD.ORG In-Reply-To: <19991116064646.58E361CA0@overcee.netplex.com.au> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG So wouldn't be the impact if a server was compromized in the absence of an available fix :) At 02:46 PM 11/16/99 +0800, Peter Wemm wrote: >Ben Rosengart wrote: > > On Mon, 15 Nov 1999, Forrest Aldrich wrote: > > > > > Will we be updating 4.0-current to the latest BIND-8.22-P5? > > > > Or -stable for that matter? I believe these changes are eminently > > qualified, being bugfixes. > >The changes are most definately not "just" bugfixes. The impact is rather >large. > >Cheers, >-Peter >-- >Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 9:26:21 1999 Delivered-To: freebsd-current@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id 4D9C015223 for ; Tue, 16 Nov 1999 09:26:04 -0800 (PST) (envelope-from dcs@newsguy.com) Received: from newsguy.com ([210.163.200.124]) by peach.ocn.ne.jp (8.9.1a/OCN) with ESMTP id CAA19218 for ; Wed, 17 Nov 1999 02:25:58 +0900 (JST) Message-ID: <38319302.BCB574D8@newsguy.com> Date: Wed, 17 Nov 1999 02:23:14 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR,ja MIME-Version: 1.0 To: current@freebsd.org Subject: Adding soundcards to newpcm Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Well, I finally decided to try to get my sound card working again. It is not detected as a PNP device, but rather as a motherboard resource using PNPBIOS. It is supposed to be an ESS1869 and, indeed, I use ESS drivers on Windows. But Compaq obviously decided to lay it's fingerprints on the poor thing. Here is the (relavant parts of) dmesg: unknown0: at port 0xcf8-0xcff on isa0 unknown1: at port 0x80,0x22-0x24,0x92,0x370-0x371,0xec-0xef,0x40b,0x4d6,0x480-0x48f iomem 0xfffc0000-0xffffffff on isa0 unknown2: at iomem 0-0x9ffff,0xe0000-0xfffff,0x100000-0x5ffffff on isa0 unknown3: at port 0-0xf,0x81-0x8f,0xc0-0xdf drq 4 on isa0 unknown: can't assign resources unknown4: at port 0x41-0x44 irq 0 on isa0 unknown5: at port 0x70-0x71 irq 8 on isa0 unknown: can't assign resources unknown6: at port 0xf0-0xff irq 13 on isa0 unknown: can't assign resources unknown7: at port 0x220-0x22f,0x388-0x38b,0x300-0x301 irq 5 drq 0,1 on isa0 ^^^^^^^ obviously... unknown: can't assign resources unknown8: at port 0x800-0x807 on isa0 ^^^^^^^ unknown9: at port 0x201 on isa0 ^^^^^^^ though it seems they did not care about other capabilities of the chipset... unknown: can't assign resources unknown10: at port 0x378-0x37f irq 7 on isa0 unknown: can't assign resources unknown: can't assign resources unknown11: at port 0x3e0-0x3e1 on isa0 So, the question is... how do I get the logical identifier for it? pnpinfo doesn't show anything. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org "Then again maybe not going to heaven would be a blessing. Relkin liked a certain amount of peace and harmony, since there'd been a pronounced shortage of them in his own life; however, nothing but peace and harmony, forever and forever? He wasn't sure about that. And no beer? Very dubious proposition." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 9:26:35 1999 Delivered-To: freebsd-current@freebsd.org Received: from yana.lemis.com (yana.lemis.com [192.109.197.140]) by hub.freebsd.org (Postfix) with ESMTP id 91A8F15263 for ; Tue, 16 Nov 1999 09:26:22 -0800 (PST) (envelope-from grog@mojave.sitaranetworks.com) Received: from mojave.sitaranetworks.com (mojave.sitaranetworks.com [199.103.141.157]) by yana.lemis.com (8.8.8/8.8.8) with ESMTP id DAA22549; Wed, 17 Nov 1999 03:56:06 +1030 (CST) (envelope-from grog@mojave.sitaranetworks.com) Message-ID: <19991116122529.27283@mojave.sitaranetworks.com> Date: Tue, 16 Nov 1999 12:25:29 -0500 From: Greg Lehey To: Matthew Dillon , Garance A Drosihn Cc: Lyndon Nerenberg , current@FreeBSD.ORG Subject: Re: ps -e Reply-To: Greg Lehey References: <199911152248.dAFMmaQ18726@orthanc.ab.ca> <199911160027.QAA46037@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <199911160027.QAA46037@apollo.backplane.com>; from Matthew Dillon on Mon, Nov 15, 1999 at 04:27:12PM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, 15 November 1999 at 16:27:12 -0800, Matthew Dillon wrote: > :> Matthew> Why don't we get rid of the 'e' option to ps while we > :> Matthew> are at it considering how much of a security hole it is. > :> > :>I wouldn't nuke it completely. Make -e a noop unless the real uid ps > :>is running with matches the effective uid of the process being reported. > :>And if ps is invoked with a real uid of 0, -e works as it does now. > : > :I'd favor something like this. The unixes I am most used to did not > :have '-e' as an option, and I had two immediate reactions when I found > :freebsd's did: > : 1) wow, this is great for debugging a problem I'm having > : 2) yikes, what a security exposure! (I have some scripts > : where a password is passed from one script to another > : one via an environment variable...) > > Yes, or by 'root'. Personally, I would like to see the option removed > entirely. I don't think a half-measure would improve the security > problem much. > > :So, I'd like to have it for debugging my own processes, but > :... > :Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu > > gdb. > > I shudder to think that people might actually start depending on this > non-feature. Better for it to just go away. Looks like another case for a config knob. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 10:26:53 1999 Delivered-To: freebsd-current@freebsd.org Received: from enst.enst.fr (enst.enst.fr [137.194.2.16]) by hub.freebsd.org (Postfix) with ESMTP id 2C64E151F5; Tue, 16 Nov 1999 10:26:33 -0800 (PST) (envelope-from beyssac@enst.fr) Received: from bofh.enst.fr (bofh-2.enst.fr [137.194.2.37]) by enst.enst.fr (8.9.1a/8.9.1) with ESMTP id TAA08775; Tue, 16 Nov 1999 19:26:31 +0100 (MET) Received: by bofh.enst.fr (Postfix, from userid 12426) id 9854BD226; Tue, 16 Nov 1999 19:26:30 +0100 (CET) Message-ID: <19991116192628.A83154@enst.fr> Date: Tue, 16 Nov 1999 19:26:28 +0100 From: Pierre Beyssac To: Kris Kennaway Cc: freebsd-current@FreeBSD.ORG Subject: Re: egcs -O breaks ping.c:in_cksum() References: <19991116002921.A39215@fasterix.frmug.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Kris Kennaway on Mon, Nov 15, 1999 at 05:59:23PM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Nov 15, 1999 at 05:59:23PM -0800, Kris Kennaway wrote: > On Tue, 16 Nov 1999, Pierre Beyssac wrote: > > I've checked, the answer is no: apparently, in_cksum() in routed/rdisc.c > > is only called in two places, both with an even size. > > Can it hurt to pre-emptively fix it anyway in case some future change > pulls the rug out from underneath? We could, but since the danger is purely theoretical for now (and probably will stay that way forever), I don't see any advantage in cluttering up the code. Since routed is sometimes sync'ed from external sources, it would only make life harder for the people doing the merges. Plus, everyone steals in_cksum from ping, not from routed (at least, that's what I do :-) Since in_cksum is used in several places (there's another optimized copy in libstand), a cleaner solution would be to put it in some library. -- Pierre Beyssac pb@enst.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 10:30: 7 1999 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id 61E011526F; Tue, 16 Nov 1999 10:30:02 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.2) with ESMTP id TAA26578; Tue, 16 Nov 1999 19:29:36 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Pierre Beyssac Cc: Kris Kennaway , freebsd-current@FreeBSD.ORG Subject: Re: egcs -O breaks ping.c:in_cksum() In-reply-to: Your message of "Tue, 16 Nov 1999 19:26:28 +0100." <19991116192628.A83154@enst.fr> Date: Tue, 16 Nov 1999 19:29:35 +0100 Message-ID: <26576.942776975@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <19991116192628.A83154@enst.fr>, Pierre Beyssac writes: >Since in_cksum is used in several places (there's another optimized >copy in libstand), a cleaner solution would be to put it in some >library. Isn't there one in libalias already ? -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 10:44:33 1999 Delivered-To: freebsd-current@freebsd.org Received: from enst.enst.fr (enst.enst.fr [137.194.2.16]) by hub.freebsd.org (Postfix) with ESMTP id C86D015202; Tue, 16 Nov 1999 10:44:30 -0800 (PST) (envelope-from beyssac@enst.fr) Received: from bofh.enst.fr (bofh-2.enst.fr [137.194.2.37]) by enst.enst.fr (8.9.1a/8.9.1) with ESMTP id TAA09454; Tue, 16 Nov 1999 19:44:23 +0100 (MET) Received: by bofh.enst.fr (Postfix, from userid 12426) id 3389ED226; Tue, 16 Nov 1999 19:44:23 +0100 (CET) Message-ID: <19991116194423.A69655@enst.fr> Date: Tue, 16 Nov 1999 19:44:23 +0100 From: Pierre Beyssac To: Poul-Henning Kamp Cc: Kris Kennaway , freebsd-current@FreeBSD.ORG Subject: Re: egcs -O breaks ping.c:in_cksum() References: <19991116192628.A83154@enst.fr> <26576.942776975@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <26576.942776975@critter.freebsd.dk>; from Poul-Henning Kamp on Tue, Nov 16, 1999 at 07:29:35PM +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Nov 16, 1999 at 07:29:35PM +0100, Poul-Henning Kamp wrote: > In message <19991116192628.A83154@enst.fr>, Pierre Beyssac writes: > >Since in_cksum is used in several places (there's another optimized > Isn't there one in libalias already ? Right. I missed it because it's called PacketAliasInternetChecksum()... -- Pierre Beyssac pb@enst.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 11:31:23 1999 Delivered-To: freebsd-current@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id D5B8E14A2D for ; Tue, 16 Nov 1999 11:30:57 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from salmon.nlsystems.com (salmon.nlsystems.com [10.0.0.3]) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id TAA12366; Tue, 16 Nov 1999 19:34:04 GMT (envelope-from dfr@nlsystems.com) Date: Tue, 16 Nov 1999 19:34:04 +0000 (GMT) From: Doug Rabson To: "Daniel C. Sobral" Cc: current@freebsd.org Subject: Re: Adding soundcards to newpcm In-Reply-To: <38319302.BCB574D8@newsguy.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 17 Nov 1999, Daniel C. Sobral wrote: > Well, I finally decided to try to get my sound card working again. > It is not detected as a PNP device, but rather as a motherboard > resource using PNPBIOS. It is supposed to be an ESS1869 and, indeed, > I use ESS drivers on Windows. But Compaq obviously decided to lay > it's fingerprints on the poor thing. Here is the (relavant parts of) > dmesg: > > So, the question is... how do I get the logical identifier for it? > pnpinfo doesn't show anything. Use this program. It translates to/from EISAIDs. #include #include int main(int argc, char** argv) { u_int32_t id; if (argc != 2) exit(1); if (!strncmp(argv[1], "0x", 2)) { id = strtol(argv[1] + 2, NULL, 16); #define B0(n) (((n) >> 0) & 0xff) #define B1(n) (((n) >> 8) & 0xff) #define B2(n) (((n) >> 16) & 0xff) #define B3(n) (((n) >> 24) & 0xff) printf("%c%c%c%02x%02x\n", ((B0(id) & 0x7c) >> 2) + 64, (((B0(id) & 0x03) << 3) | ((B1(id) & 0xe0) >> 5)) + 64, (B1(id) & 0x1f) + 64, B2(id), B3(id)); } else { #define PNP_HEXTONUM(c) ((c) >= 'a' \ ? (c) - 'a' + 10 \ : ((c) >= 'A' \ ? (c) - 'A' + 10 \ : (c) - '0')) #define PNP_EISAID(s) \ ((((s[0] - '@') & 0x1f) << 2) \ | (((s[1] - '@') & 0x18) >> 3) \ | (((s[1] - '@') & 0x07) << 13) \ | (((s[2] - '@') & 0x1f) << 8) \ | (PNP_HEXTONUM(s[4]) << 16) \ | (PNP_HEXTONUM(s[3]) << 20) \ | (PNP_HEXTONUM(s[6]) << 24) \ | (PNP_HEXTONUM(s[5]) << 28)) printf("0x%08x\n", PNP_EISAID(argv[1])); } return 0; } -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 11:38:15 1999 Delivered-To: freebsd-current@freebsd.org Received: from yana.lemis.com (yana.lemis.com [192.109.197.140]) by hub.freebsd.org (Postfix) with ESMTP id 527BC151F8 for ; Tue, 16 Nov 1999 11:38:09 -0800 (PST) (envelope-from grog@mojave.sitaranetworks.com) Received: from mojave.sitaranetworks.com (mojave.sitaranetworks.com [199.103.141.157]) by yana.lemis.com (8.8.8/8.8.8) with ESMTP id GAA22686; Wed, 17 Nov 1999 06:07:47 +1030 (CST) (envelope-from grog@mojave.sitaranetworks.com) Message-ID: <19991116143713.13254@mojave.sitaranetworks.com> Date: Tue, 16 Nov 1999 14:37:13 -0500 From: Greg Lehey To: mjacob@feral.com, current@FreeBSD.ORG Subject: Re: FreeBSD 4.0 SCSI Tape Driver- Okay, Okay, you win.... Reply-To: Greg Lehey References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: ; from Matthew Jacob on Tue, Nov 16, 1999 at 08:04:05AM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tuesday, 16 November 1999 at 8:04:05 -0800, Matthew Jacob wrote: > > Too many people have objected. I didn't make my case clearly enough, > but because enough people of have raised issues, the default won't > be changed. I think this is the correct decision in the short term. In the longer term, we should continue to discuss the matter. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 11:41:44 1999 Delivered-To: freebsd-current@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id C7ED514D9C for ; Tue, 16 Nov 1999 11:41:30 -0800 (PST) (envelope-from mjacob@feral.com) Received: from semuta.feral.com (semuta [192.67.166.70]) by feral.com (8.8.7/8.8.7) with ESMTP id LAA08045; Tue, 16 Nov 1999 11:41:14 -0800 Date: Tue, 16 Nov 1999 11:41:13 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: Greg Lehey Cc: current@FreeBSD.ORG Subject: Re: FreeBSD 4.0 SCSI Tape Driver- Okay, Okay, you win.... In-Reply-To: <19991116143713.13254@mojave.sitaranetworks.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 16 Nov 1999, Greg Lehey wrote: > On Tuesday, 16 November 1999 at 8:04:05 -0800, Matthew Jacob wrote: > > > > Too many people have objected. I didn't make my case clearly enough, > > but because enough people of have raised issues, the default won't > > be changed. > > I think this is the correct decision in the short term. In the longer > term, we should continue to discuss the matter. Yes, well, I was driven by the coming of 4.0.... My *original* plans for 4.0 was to do a complete rewrite of the tape driver using the HP sponsored TAPEALERT initiative, but I've had only a fraction of the time available. So, what with fixing some bugs, trying to make sure that subdevices come back with latchable settings, that'll probably be it for tape in 4.0. -matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 12: 6:57 1999 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id A50DE15281; Tue, 16 Nov 1999 12:06:49 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.2) with ESMTP id VAA26898; Tue, 16 Nov 1999 21:06:43 +0100 (CET) (envelope-from phk@critter.freebsd.dk) Date: Tue, 16 Nov 1999 21:06:42 +0100 Message-ID: <26892.942782802.1@critter.freebsd.dk> From: Poul-Henning Kamp Subject: Re: the ps/cmdline caching MIME-Version: 1.0 Content-Type: multipart/digest; boundary="----- =_aaaaaaaaaa" Content-Description: Blind Carbon Copy Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ------- =_aaaaaaaaaa Content-Type: message/rfc822 Content-Description: Original Message To: core@freebsd.org Subject: Re: the ps/cmdline caching In-reply-to: Your message of "Tue, 16 Nov 1999 11:37:40 MST." <199911161837.LAA00345@caspian.plutotech.com> Date: Tue, 16 Nov 1999 21:06:42 +0100 Message-ID: <26892.942782802@critter.freebsd.dk> From: Poul-Henning Kamp MIME-Version: 1.0 In message <199911161837.LAA00345@caspian.plutotech.com>, "Justin T. Gibbs" wri tes: >I must have missed a thread somewhere. Can I get a reference to what >this problem is? Run this on a SMP box and it will die in seconds: i=0 while [ $i -lt 200 ] do i=`expr $i + 1` ( while true ; do ps xao pid,command > /dev/null 2>&1 ; done ) & done The problem is where ps using /proc/%pid/mem grovels around in the other process address room to get hold of argv. This gets particular nasty when we have multiple copies of ps(1) running on a SMP box: First CPU: running process 100 which is a "ps -ax" currently trying to get the argument list from process 101 Second CPU: running process 101 which is a "ps -ax" currently trying to get the argument list from process 101 (or 100 for that matter). The code in procfs_mem.c has significant problems in this scenario, and rather than try to hunt them down, something we should eventually do my solution is to hang a copy of of the arg list from struct proc and use a sysctl in the kern.proc family to access it. My implementation has a sysctl variable which sets an upper limit on how many bytes we use per process for this. If this limit is exceeded, we default to the current reality, obviously the limit can be set to zero as well. For anyone wanting to work on procfs_mem, setting the sysctl to zero will revert to current behaviour so that bug is not obscured. The arguments are stored in a separate structure which is shared across fork and replaced in exec, so the overhead in struct proc itself is only a pointer, and for daemons which fork a lot of children only one copy of the arguments are stored, until they set their own with setproctitle() that is. The side effects of this change are many and varied: Plus side: 1. ps(1) runs much faster and uses far fewer resources. 2. ps(1) don't need a /proc anymore. Particular nice for chroot and jail. 3. We get access to the full command line in kernel debuggers. 4. (untested/unimplemented) /bin/ps doesn't need to be setgid kmem anymore. 5. On the long run we use less memory because we don't need to i allocate a vnode and inode for /proc/%pid/mem. (This is not implemented yet, we need to figure out how much ps(1) should use libkvm and fix it accordingly). On the minus side: 1. Memory usage, if all your process have very long commandlines. (You can limit this with the sysctl.) 2. A process which writes to argv[0] rather than use setproctitle() doesn't have the desired effect. (Setting the sysctl to zero solves this problem as well.) 3. If you never run ps(1) there is a epsilon sized overhead in exec(2). (You can make that a epsilon-squared sized overhead by setting the sysctl to zero.) So expect to hear a happy Paul Saab sing our praise once again and expect to see my commit to -current in a few moments. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! ------- =_aaaaaaaaaa-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 14:43:34 1999 Delivered-To: freebsd-current@freebsd.org Received: from post.mail.nl.demon.net (post-10.mail.nl.demon.net [194.159.73.20]) by hub.freebsd.org (Postfix) with ESMTP id A282F14EFA for ; Tue, 16 Nov 1999 14:43:31 -0800 (PST) (envelope-from marc@oldserver.demon.nl) Received: from [212.238.105.241] (helo=propro) by post.mail.nl.demon.net with esmtp (Exim 2.02 #1) id 11nrJy-0007eY-00 for freebsd-current@freebsd.org; Tue, 16 Nov 1999 22:43:31 +0000 Date: Tue, 16 Nov 1999 23:43:30 +0100 (CET) From: Marc Schneiders To: freebsd-current@freebsd.org Subject: what's changed? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Make release was working fine a week ago. The past four days I get the following error every time I try: (cd /usr/src/etc/..; install -c -o root -g wheel -m 444 COPYRIGHT /reserve/) (cd /usr/src/etc/../share/man; make makedb; ) makewhatis /reserve/usr/share/man makewhatis /reserve/usr/share/perl/man if [ -f /etc/resolv.conf ]; then cp -p /etc/resolv.conf /reserve/etc; fi cd /usr/src/release/.. && make installworld DESTDIR=/reserve NOMAN=1 cd /usr/src; PATH=/usr/obj/usr/src/tmp/sbin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/bin:/usr/obj/usr/src/tmp/usr/bin BISON_SIMPLE=/usr/obj/usr/src/tmp/usr/share/misc/bison.simple COMPILER_PATH=/usr/obj/usr/src/tmp/usr/libexec:/usr/obj/usr/src/tmp/usr/bin GCC_EXEC_PREFIX=/usr/obj/usr/src/tmp/usr/lib:/usr/obj/usr/src/tmp/usr/lib/ LD_LIBRARY_PATH=/usr/obj/usr/src/tmp/usr/lib LIBRARY_PATH=/usr/obj/usr/src/tmp/usr/lib:/usr/obj/usr/src/tmp/usr/lib PERL5LIB=/reserve/usr/libdata/perl/5.00503 OBJFORMAT_PATH=/usr/obj/usr/src/tmp/usr/libexec CFLAGS="-nostdinc -O -pipe" /usr/obj/usr/src/tmp/usr/bin/make -f Makefile.inc1 reinstall objformat: not found "/usr/src/Makefile.inc1", line 961: warning: "objformat" returned non-zero status echo:No such file or directory *** Error code 1 Stop in /usr/src. *** Error code 1 What do I do wrong? I've no special settings in the Makefile that can cause this. I cvsupped and rebuilt (cvs -d co src) my own source tree from scratch. Didn't help. TIA! Marc Schneiders marc@venster.nl marc@oldserver.demon.nl propro 11:38pm up 5 days, 11:24, load average: 2.18 2.10 2.09 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 17:14:31 1999 Delivered-To: freebsd-current@freebsd.org Received: from pozo.com (pozo.com [216.101.162.50]) by hub.freebsd.org (Postfix) with ESMTP id DFB2414A2E for ; Tue, 16 Nov 1999 17:14:24 -0800 (PST) (envelope-from mantar@pacbell.net) Received: from dual (dual.pozo.com [216.101.162.51]) by pozo.com (8.9.3/8.9.3) with ESMTP id RAA16837; Tue, 16 Nov 1999 17:14:08 -0800 (PST) (envelope-from mantar@pacbell.net) Message-Id: <4.2.2.19991116165816.00a875b0@pozo.com> X-Sender: null@pozo.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2 Date: Tue, 16 Nov 1999 17:14:07 -0800 To: Sheldon Hearn From: Manfred Antar Subject: Re: gcc 2.95.2 Cc: Forrest Aldrich , freebsd-current@FreeBSD.ORG In-Reply-To: <81194.942763837@axl.noc.iafrica.com> References: <"Your message of Tue, 16 Nov 1999 06:46:12 PST." <4.2.2.19991116064207.00a92160@pozo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 04:50 PM 11/16/99 +0200, Sheldon Hearn wrote: >On Tue, 16 Nov 1999 06:46:12 PST, Manfred Antar wrote: > > > Did it build for you ? > >Yes. > >Ciao, >Sheldon. Ok Sheldon here are some of the Errors I get when building XFee86 with the new compiler A few of these : cc -c -O -I../.. -I../../exports/include -DSERVERNAME=\"rstartd\" -DDEFAULT_CONFIG=\"/usr/ X11R6/lib/X11/rstart/config\" -DNOPUTENV server.c server.c: In function `putenv': server.c:790: argument `s' doesn't match prototype /usr/include/stdlib.h:117: prototype declaration *** Error code 1 (continuing) cc -c -O -I../.. -I../../exports/include -DNOPUTENV util.c util.c: In function `putenv': util.c:673: argument `s' doesn't match prototype /usr/include/stdlib.h:117: prototype declaration *** Error code 1 (continuing) Many of these errors about /lib/cpp: /lib/cpp -DCONFIGDIRSPEC='"'"-I/usr/X11R6/lib/X11/config"'"' xmkmf /lib/cpp: not found And at the end I get this : Full build of Release 6.3 of the X Window System complete. Now when I try to Install the "Full Build" I get install -c proxymngr /usr/X11R6/bin/proxymngr install -c -m 0444 pmconfig /usr/X11R6/lib/X11/proxymngr/pmconfig install in programs/proxymngr done installing in programs/rstart... rm -f server.o cc -c -O -I../.. -I../../exports/include -DSERVERNAME=\"rstartd\" -DDEFAULT_CONFIG=\"/usr/ X11R6/lib/X11/rstart/config\" -DNOPUTENV server.c server.c: In function `putenv': server.c:790: argument `s' doesn't match prototype /usr/include/stdlib.h:117: prototype declaration *** Error code 1 Stop in /usr/ports/x11/XFree86/work/xc/programs/rstart. *** Error code 1 Stop in /usr/ports/x11/XFree86/work/xc/programs. *** Error code 1 Stop in /usr/ports/x11/XFree86/work/xc. *** Error code 1 Stop in /usr/ports/x11/XFree86/work/xc. *** Error code 1 Stop in /usr/ports/x11/XFree86. *** Error code 1 Stop in /usr/ports/x11/XFree86. *** Error code 1 Stop in /usr/ports/x11/XFree86. This is a build with Just the XF86SVGAServer and XF86VGA16Server plus all the security stuff xdm, Wraphelp.c, no Kerberos or Thread Thanks Manfred ===================== || mantar@pacbell.net || || Ph. (415) 681-6235 || ===================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 17:30:24 1999 Delivered-To: freebsd-current@freebsd.org Received: from pozo.com (pozo.com [216.101.162.50]) by hub.freebsd.org (Postfix) with ESMTP id 7556D14E2D for ; Tue, 16 Nov 1999 17:30:21 -0800 (PST) (envelope-from mantar@pacbell.net) Received: from dual (dual.pozo.com [216.101.162.51]) by pozo.com (8.9.3/8.9.3) with ESMTP id RAA16949; Tue, 16 Nov 1999 17:30:11 -0800 (PST) (envelope-from mantar@pacbell.net) Message-Id: <4.2.2.19991116172825.00a9a100@pozo.com> X-Sender: null@pozo.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2 Date: Tue, 16 Nov 1999 17:30:11 -0800 To: Sheldon Hearn From: Manfred Antar Subject: Re: gcc 2.95.2 Cc: Forrest Aldrich , freebsd-current@FreeBSD.ORG In-Reply-To: <4.2.2.19991116165816.00a875b0@pozo.com> References: <81194.942763837@axl.noc.iafrica.com> <"Your message of Tue, 16 Nov 1999 06:46:12 PST." <4.2.2.19991116064207.00a92160@pozo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 05:14 PM 11/16/99 -0800, Manfred Antar wrote: >At 04:50 PM 11/16/99 +0200, Sheldon Hearn wrote: > > >>On Tue, 16 Nov 1999 06:46:12 PST, Manfred Antar wrote: >> >> > Did it build for you ? >> >>Yes. >> >>Ciao, >>Sheldon. > >Ok Sheldon here are some of the Errors I get when building XFee86 with the >new compiler >A few of these : > >cc -c -O -I../.. >-I../../exports/include -DSERVERNAME=\"rstartd\" -DDEFAULT_CONFIG=\"/usr/ >X11R6/lib/X11/rstart/config\" -DNOPUTENV server.c >server.c: In function `putenv': >server.c:790: argument `s' doesn't match prototype >/usr/include/stdlib.h:117: prototype declaration >*** Error code 1 (continuing) Someone Just put a broken tag in the makefile. ===================== || mantar@pacbell.net || || Ph. (415) 681-6235 || ===================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 19:34: 7 1999 Delivered-To: freebsd-current@freebsd.org Received: from jade.chc-chimes.com (jade.chc-chimes.com [216.28.46.6]) by hub.freebsd.org (Postfix) with ESMTP id 8B68014A16 for ; Tue, 16 Nov 1999 19:34:05 -0800 (PST) (envelope-from billf@chc-chimes.com) Received: by jade.chc-chimes.com (Postfix, from userid 1001) id 3F5A31C41; Tue, 16 Nov 1999 21:35:42 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by jade.chc-chimes.com (Postfix) with ESMTP id 3B7C3381B; Tue, 16 Nov 1999 21:35:42 -0500 (EST) Date: Tue, 16 Nov 1999 21:35:42 -0500 (EST) From: Bill Fumerola To: Manfred Antar Cc: Sheldon Hearn , Forrest Aldrich , freebsd-current@FreeBSD.ORG Subject: Re: gcc 2.95.2 In-Reply-To: <4.2.2.19991116165816.00a875b0@pozo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 16 Nov 1999, Manfred Antar wrote: > -DDEFAULT_CONFIG=\"/usr/ > X11R6/lib/X11/rstart/config\" -DNOPUTENV server.c > server.c: In function `putenv': > server.c:790: argument `s' doesn't match prototype > /usr/include/stdlib.h:117: prototype declaration > *** Error code 1 (continuing) There are a _lot_ of things broken with this port. I've already marked it broken for the above reason. There is the /lib/cpp problem, the -lcrypto problem, it doesn't build the servers you tell it to. Ugh. -- - bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp - - ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@FreeBSD.org - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 19:46:55 1999 Delivered-To: freebsd-current@freebsd.org Received: from gndrsh.dnsmgr.net (GndRsh.dnsmgr.net [198.145.92.4]) by hub.freebsd.org (Postfix) with ESMTP id 04A751501A for ; Tue, 16 Nov 1999 19:46:48 -0800 (PST) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: (from freebsd@localhost) by gndrsh.dnsmgr.net (8.9.3/8.9.3) id TAA20032; Tue, 16 Nov 1999 19:46:33 -0800 (PST) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <199911170346.TAA20032@gndrsh.dnsmgr.net> Subject: Re: FreeBSD 4.0 SCSI Tape Driver- Okay, Okay, you win.... In-Reply-To: <19991116143713.13254@mojave.sitaranetworks.com> from Greg Lehey at "Nov 16, 1999 02:37:13 pm" To: grog@lemis.com (Greg Lehey) Date: Tue, 16 Nov 1999 19:46:33 -0800 (PST) Cc: mjacob@feral.com, current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Tuesday, 16 November 1999 at 8:04:05 -0800, Matthew Jacob wrote: > > > > Too many people have objected. I didn't make my case clearly enough, > > but because enough people of have raised issues, the default won't > > be changed. > > I think this is the correct decision in the short term. In the longer > term, we should continue to discuss the matter. Absolutely, and I'll do some spec digging and hunting in the archives for my old notes about this particular problem. I'd been hunting SCSI specs when someone else on here mentioned ANSI and that jogged my memory as to where I need to go looking... -- Rod Grimes - KD7CAX @ CN85sl - (RWG25) rgrimes@gndrsh.dnsmgr.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 19:47:46 1999 Delivered-To: freebsd-current@freebsd.org Received: from pozo.com (pozo.com [216.101.162.50]) by hub.freebsd.org (Postfix) with ESMTP id A638C15250 for ; Tue, 16 Nov 1999 19:47:36 -0800 (PST) (envelope-from mantar@pacbell.net) Received: from dual (dual.pozo.com [216.101.162.51]) by pozo.com (8.9.3/8.9.3) with ESMTP id TAA05449; Tue, 16 Nov 1999 19:47:04 -0800 (PST) (envelope-from mantar@pacbell.net) Message-Id: <4.2.2.19991116194459.00a9a810@pozo.com> X-Sender: null@pozo.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2 Date: Tue, 16 Nov 1999 19:47:04 -0800 To: Bill Fumerola From: Manfred Antar Subject: Re: gcc 2.95.2 Cc: Sheldon Hearn , Forrest Aldrich , freebsd-current@FreeBSD.ORG In-Reply-To: References: <4.2.2.19991116165816.00a875b0@pozo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 09:35 PM 11/16/99 -0500, Bill Fumerola wrote: >On Tue, 16 Nov 1999, Manfred Antar wrote: > > > -DDEFAULT_CONFIG=\"/usr/ > > X11R6/lib/X11/rstart/config\" -DNOPUTENV server.c > > server.c: In function `putenv': > > server.c:790: argument `s' doesn't match prototype > > /usr/include/stdlib.h:117: prototype declaration > > *** Error code 1 (continuing) > >There are a _lot_ of things broken with this port. I've already >marked it broken for the above reason. There is the /lib/cpp problem, >the -lcrypto problem, it doesn't build the servers you tell it to. > >Ugh. > >-- >- bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp - >- ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@FreeBSD.org - I think this is all related to the compiler update as I did a good build Friday or Saturday before the change. Thanks Manfred ===================== || mantar@pacbell.net || || Ph. (415) 681-6235 || ===================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 19:49:10 1999 Delivered-To: freebsd-current@freebsd.org Received: from jade.chc-chimes.com (jade.chc-chimes.com [216.28.46.6]) by hub.freebsd.org (Postfix) with ESMTP id 76A7E14E20 for ; Tue, 16 Nov 1999 19:49:04 -0800 (PST) (envelope-from billf@chc-chimes.com) Received: by jade.chc-chimes.com (Postfix, from userid 1001) id D55F11C41; Tue, 16 Nov 1999 21:50:40 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by jade.chc-chimes.com (Postfix) with ESMTP id D024B381B; Tue, 16 Nov 1999 21:50:40 -0500 (EST) Date: Tue, 16 Nov 1999 21:50:40 -0500 (EST) From: Bill Fumerola To: Manfred Antar Cc: Sheldon Hearn , Forrest Aldrich , freebsd-current@FreeBSD.ORG Subject: Re: gcc 2.95.2 In-Reply-To: <4.2.2.19991116194459.00a9a810@pozo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 16 Nov 1999, Manfred Antar wrote: > I think this is all related to the compiler update as I did a good > build Friday or > Saturday before the change. If it is, then some thing wierd is going on. -- - bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp - - ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@FreeBSD.org - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 19:57:42 1999 Delivered-To: freebsd-current@freebsd.org Received: from pozo.com (pozo.com [216.101.162.50]) by hub.freebsd.org (Postfix) with ESMTP id 3B90514FBF for ; Tue, 16 Nov 1999 19:57:39 -0800 (PST) (envelope-from mantar@pacbell.net) Received: from dual (dual.pozo.com [216.101.162.51]) by pozo.com (8.9.3/8.9.3) with ESMTP id TAA07863; Tue, 16 Nov 1999 19:57:28 -0800 (PST) (envelope-from mantar@pacbell.net) Message-Id: <4.2.2.19991116195058.00a94a20@pozo.com> X-Sender: null@pozo.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2 Date: Tue, 16 Nov 1999 19:57:27 -0800 To: Bill Fumerola From: Manfred Antar Subject: Re: gcc 2.95.2 Cc: Sheldon Hearn , Forrest Aldrich , freebsd-current@FreeBSD.ORG In-Reply-To: References: <4.2.2.19991116194459.00a9a810@pozo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 09:50 PM 11/16/99 -0500, Bill Fumerola wrote: >On Tue, 16 Nov 1999, Manfred Antar wrote: > > > I think this is all related to the compiler update as I did a good > > build Friday or > > Saturday before the change. > >If it is, then some thing wierd is going on. Maybe it's something else, there might of been some other changes to the src tree that I didn't notice.My date for the last clean build of XFree86 is Saturday at midnight (with threads) The build machine was current at that point with a make world done some time Sat morning. Thanks Manfred ===================== || mantar@pacbell.net || || Ph. (415) 681-6235 || ===================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 20:15:50 1999 Delivered-To: freebsd-current@freebsd.org Received: from gndrsh.dnsmgr.net (GndRsh.dnsmgr.net [198.145.92.4]) by hub.freebsd.org (Postfix) with ESMTP id C317614DD7 for ; Tue, 16 Nov 1999 20:15:46 -0800 (PST) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: (from freebsd@localhost) by gndrsh.dnsmgr.net (8.9.3/8.9.3) id UAA20119; Tue, 16 Nov 1999 20:15:17 -0800 (PST) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <199911170415.UAA20119@gndrsh.dnsmgr.net> Subject: Re: gcc 2.95.2 In-Reply-To: from Bill Fumerola at "Nov 16, 1999 09:50:40 pm" To: billf@chc-chimes.com (Bill Fumerola) Date: Tue, 16 Nov 1999 20:15:17 -0800 (PST) Cc: mantar@pacbell.net (Manfred Antar), sheldonh@uunet.co.za (Sheldon Hearn), forrie@navinet.net (Forrest Aldrich), freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Tue, 16 Nov 1999, Manfred Antar wrote: > > > I think this is all related to the compiler update as I did a good > > build Friday or > > Saturday before the change. > > If it is, then some thing wierd is going on. Something weird is going on... I can confirm Manfred's claim, I also just build XFree86 just before the compiler change. I'm certainly not going to cvs update right now... :-) -- Rod Grimes - KD7CAX @ CN85sl - (RWG25) rgrimes@gndrsh.dnsmgr.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Nov 16 23:42: 0 1999 Delivered-To: freebsd-current@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 395D014F90 for ; Tue, 16 Nov 1999 23:41:51 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.040 #1) id 11nziN-000PHi-00; Wed, 17 Nov 1999 09:41:15 +0200 From: Sheldon Hearn To: "Rodney W. Grimes" Cc: billf@chc-chimes.com (Bill Fumerola), mantar@pacbell.net (Manfred Antar), forrie@navinet.net (Forrest Aldrich), freebsd-current@FreeBSD.ORG Subject: Re: gcc 2.95.2 In-reply-to: Your message of "Tue, 16 Nov 1999 20:15:17 PST." <199911170415.UAA20119@gndrsh.dnsmgr.net> Date: Wed, 17 Nov 1999 09:41:15 +0200 Message-ID: <97197.942824475@axl.noc.iafrica.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 16 Nov 1999 20:15:17 PST, "Rodney W. Grimes" wrote: > Something weird is going on... I can confirm Manfred's claim, I also > just build XFree86 just before the compiler change. I'm certainly not > going to cvs update right now... :-) Gentlemen, would you please use the right terminology so that we don't get confused? :-) XFree86 makes it through the ports ``build'' target just fine. It breaks in ``install''. That's why I told Manfred I wasn't seeing the problem. :-) Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 0:27:47 1999 Delivered-To: freebsd-current@freebsd.org Received: from gvr.gvr.org (gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (Postfix) with ESMTP id 13C7A14A0B; Wed, 17 Nov 1999 00:27:41 -0800 (PST) (envelope-from guido@gvr.org) Received: by gvr.gvr.org (Postfix, from userid 657) id D4C91A84A; Wed, 17 Nov 1999 09:27:40 +0100 (CET) Date: Wed, 17 Nov 1999 09:27:40 +0100 From: Guido van Rooij To: spork Cc: Darren Reed , Thomas Stromberg , freebsd-current@FreeBSD.ORG, freebsd-security@FreeBSD.ORG, peter@FreeBSD.ORG Subject: Re: ipfilter no longer in -CURRENT, whats the direction? (off to ipfw?) Message-ID: <19991117092740.A19785@gvr.gvr.org> References: <199910131302.XAA05892@cheops.anu.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: ; from spork on Mon, Nov 15, 1999 at 01:59:55PM -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Nov 15, 1999 at 01:59:55PM -0500, spork wrote: > I noticed that ipfilter is still gone... Was there any resolution here, > or is ipfilter gone for good? > > All other concerns/features aside, I find the stateful inspection stuff > much easier to setup than the ipfw filtering... I only touch my firewall > once in a blue moon, and just about everything except for streaming > quicktime "just works". It would be a shame to see such a useful piece of > software go away. I am in the process of getting it in again. Due to the CVS meister being swamped at this moment things are a bit delayd. Plan is to revive it in the same way it wa sbefore with the addition of a KLD. -Guido To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 3:50: 3 1999 Delivered-To: freebsd-current@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id 8B38414DE4 for ; Wed, 17 Nov 1999 03:49:52 -0800 (PST) (envelope-from dcs@newsguy.com) Received: from newsguy.com (p22-dn03kiryunisiki.gunma.ocn.ne.jp [210.232.224.151]) by peach.ocn.ne.jp (8.9.1a/OCN) with ESMTP id UAA05867; Wed, 17 Nov 1999 20:44:59 +0900 (JST) Message-ID: <383294AD.58339056@newsguy.com> Date: Wed, 17 Nov 1999 20:42:37 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR,ja MIME-Version: 1.0 To: Doug Rabson Cc: current@freebsd.org Subject: Re: Adding soundcards to newpcm References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug Rabson wrote: > > > Well, I finally decided to try to get my sound card working again. > > It is not detected as a PNP device, but rather as a motherboard > > resource using PNPBIOS. It is supposed to be an ESS1869 and, indeed, > > I use ESS drivers on Windows. But Compaq obviously decided to lay > > it's fingerprints on the poor thing. Here is the (relavant parts of) > > dmesg: > > Use this program. It translates to/from EISAIDs. Well, I got farther, but no luck yet. The device is identified, but incorrectly: pcm0: at port 0x220-0x22f irq 5 drq 1 on isa0 it still shows up in the PNPBIOS information, though: unknown: can't assign resources Finally, cat sndstat shows yet another thing: FreeBSD Audio Driver (newpcm) Nov 17 1999 19:30:14 Installed devices: pcm0: at io 0x220 irq 5 drq 1 (1/1 channels) Also, I have a warning showing up: WARNING: "pca" is usurping "pca"'s cdevsw[] (yes, I have pca in my kernel) When I try to output something to dsp or audio, it just blocks without doing anything. Mixer *apparently* works. I can't hear anything, but at least it sets and retrieves values. Anyone seen such behavior? -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org "Then again maybe not going to heaven would be a blessing. Relkin liked a certain amount of peace and harmony, since there'd been a pronounced shortage of them in his own life; however, nothing but peace and harmony, forever and forever? He wasn't sure about that. And no beer? Very dubious proposition." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 5: 9:23 1999 Delivered-To: freebsd-current@freebsd.org Received: from zibbi.mikom.csir.co.za (zibbi.mikom.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id AD44214A06 for ; Wed, 17 Nov 1999 05:08:55 -0800 (PST) (envelope-from jhay@zibbi.mikom.csir.co.za) Received: (from jhay@localhost) by zibbi.mikom.csir.co.za (8.9.3/8.9.3) id PAA60200; Wed, 17 Nov 1999 15:07:40 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <199911171307.PAA60200@zibbi.mikom.csir.co.za> Subject: Re: ** HEADS UP ** Switching to GCC 2.95.2 as base compiler In-Reply-To: <382FE231.932A840F@altavista.net> from Maxim Sobolev at "Nov 15, 1999 12:36:33 pm" To: sobomax@altavista.net Date: Wed, 17 Nov 1999 15:07:40 +0200 (SAT) Cc: obrien@NUXI.com, current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > I'll be pulling the switch to use GCC 2.95.2 as the base compiler in > > -CURRENT on Sunday evening (Freefall time). > > It seems that currently after introduction of 2.95.2 world could not be > compiled with -jN option (complains about not being able to locate genrtl.h). This patch make "make -j13 world" work for me again. I don't know if it is the right/best way though. John -- John Hay -- John.Hay@mikom.csir.co.za Index: gnu/usr.bin/cc/cc_tools/Makefile =================================================================== RCS file: /home/ncvs/src/gnu/usr.bin/cc/cc_tools/Makefile,v retrieving revision 1.44 diff -u -r1.44 Makefile --- Makefile 1999/11/15 04:16:14 1.44 +++ Makefile 1999/11/16 10:23:16 @@ -37,6 +37,7 @@ .for i in attr codes config emit extract flags opinit output peep recog build-tools: gen$i +.ORDER: genrtl.h print-rtl.o gen$i: gen$i.o rtl.o obstack.o print-rtl.o bitmap.o ${CC} -static ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC} To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 5: 9:42 1999 Delivered-To: freebsd-current@freebsd.org Received: from FreeBSD.ORG (ppp4-besancon.isdnet.net [195.154.11.211]) by hub.freebsd.org (Postfix) with ESMTP id 44CC514C36 for ; Wed, 17 Nov 1999 05:09:37 -0800 (PST) (envelope-from jmz@FreeBSD.ORG) Received: (from jmz@localhost) by qix.jmz.org (8.9.3/8.9.3) id OAA19461; Wed, 17 Nov 1999 14:10:51 +0100 (MET) (envelope-from jmz@FreeBSD.ORG) Date: Wed, 17 Nov 1999 14:10:51 +0100 (MET) Message-Id: <199911171310.OAA19461@qix.jmz.org> From: Jean-Marc Zucconi To: sprice@hiwaay.net Cc: current@FreeBSD.ORG In-reply-to: (message from Steve Price on Mon, 8 Nov 1999 08:34:24 -0600 (CST)) Subject: Re: sh bug X-Mailer: Emacs References: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> Steve Price writes: > On Mon, 8 Nov 1999, Jean-Marc Zucconi wrote: > # >>>>> Jean-Marc Zucconi writes: > # > # > Try this in -current > # > $ cat some_file | head > # > # > I have to use ^C to regain control. > # > # ... and reverting to rev. 1.22 of eval.c fixes the problem. > Does revision 1.24 work? I told you that it worked, but in fact it does not :-) Today I encountered again the problem when doing `man MIME::*' (you have to install /usr/ports/mail/p5-MIME-Tools). Curiously, I have no problem with `man \*' Again reverting to eval.c r1.22 solve the problem. Jean-Marc -- Jean-Marc Zucconi PGP Key: finger jmz@FreeBSD.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 6:11:59 1999 Delivered-To: freebsd-current@freebsd.org Received: from gilgamesch.bik-gmbh.de (gilgamesch.bik-gmbh.de [194.233.237.194]) by hub.freebsd.org (Postfix) with ESMTP id 2A76214C0F; Wed, 17 Nov 1999 06:11:52 -0800 (PST) (envelope-from cracauer@gilgamesch.bik-gmbh.de) Received: (from cracauer@localhost) by gilgamesch.bik-gmbh.de (8.9.3/8.7.3) id PAA09902; Wed, 17 Nov 1999 15:11:20 +0100 (MET) Date: Wed, 17 Nov 1999 15:11:20 +0100 From: Martin Cracauer To: Jean-Marc Zucconi Cc: sprice@hiwaay.net, current@FreeBSD.ORG, bde@FreeBSD.ORG Subject: Re: sh bug Message-ID: <19991117151120.A9616@cons.org> References: <199911171310.OAA19461@qix.jmz.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=bg08WKrSYDhXBjb5 X-Mailer: Mutt 0.95.4i In-Reply-To: <199911171310.OAA19461@qix.jmz.org>; from Jean-Marc Zucconi on Wed, Nov 17, 1999 at 02:10:51PM +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii In <199911171310.OAA19461@qix.jmz.org>, Jean-Marc Zucconi wrote: > >>>>> Steve Price writes: > > > On Mon, 8 Nov 1999, Jean-Marc Zucconi wrote: > > # >>>>> Jean-Marc Zucconi writes: > > # > > # > Try this in -current > > # > $ cat some_file | head > > # > > # > I have to use ^C to regain control. > > # > > # ... and reverting to rev. 1.22 of eval.c fixes the problem. > > > Does revision 1.24 work? > > I told you that it worked, but in fact it does not :-) Please watch your 'To: ', you didn't address me. > Today I encountered again the problem when doing `man MIME::*' (you > have to install /usr/ports/mail/p5-MIME-Tools). Curiously, I have no > problem with `man \*' > Again reverting to eval.c r1.22 solve the problem. I can now reproduce the problem. Please test the appended diff which should fix this problem while still working for the here-backquote-three-stage-pipeline case. My apology especially to Bruce, I managed to pass your test case by not copy/pasting it, but typing it in with "bits" missing :-( Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://www.cons.org/cracauer/ BSD User Group Hamburg, Germany http://www.bsdhh.org/ --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=diff ? l ? builtins.c ? builtins.h ? mknodes ? nodes.h ? nodes.c ? mksyntax ? syntax.c ? syntax.h ? token.h ? y.tab.h ? y.tab.c ? arith.c ? arith_lex.c ? sh ? mkinit ? init.c ? sh.1.gz Index: eval.c =================================================================== RCS file: /home/CVS-FreeBSD/src/bin/sh/eval.c,v retrieving revision 1.24 diff -c -r1.24 eval.c *** eval.c 1999/11/07 17:07:05 1.24 --- eval.c 1999/11/17 14:07:13 *************** *** 499,505 **** close(prevfd); } if (pip[1] >= 0) { ! if (prevfd < 0) close(pip[0]); if (pip[1] != 1) { close(1); --- 499,505 ---- close(prevfd); } if (pip[1] >= 0) { ! if (!(prevfd >= 0 && pip[0] == 0)) close(pip[0]); if (pip[1] != 1) { close(1); --bg08WKrSYDhXBjb5-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 7:11:21 1999 Delivered-To: freebsd-current@freebsd.org Received: from FreeBSD.ORG (hibou.obs-besancon.fr [193.52.184.7]) by hub.freebsd.org (Postfix) with ESMTP id 84C7B14E49; Wed, 17 Nov 1999 07:11:10 -0800 (PST) (envelope-from jmz@FreeBSD.ORG) Received: (from jmz@localhost) by qix.jmz.org (8.9.3/8.9.3) id QAA21979; Wed, 17 Nov 1999 16:11:41 +0100 (MET) (envelope-from jmz@FreeBSD.ORG) Date: Wed, 17 Nov 1999 16:11:41 +0100 (MET) Message-Id: <199911171511.QAA21979@qix.jmz.org> From: Jean-Marc Zucconi To: cracauer@cons.org Cc: sprice@hiwaay.net, current@FreeBSD.ORG, bde@FreeBSD.ORG In-reply-to: <19991117151120.A9616@cons.org> (message from Martin Cracauer on Wed, 17 Nov 1999 15:11:20 +0100) Subject: Re: sh bug X-Mailer: Emacs References: <199911171310.OAA19461@qix.jmz.org> <19991117151120.A9616@cons.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> Martin Cracauer writes: >> Today I encountered again the problem when doing `man MIME::*' (you >> have to install /usr/ports/mail/p5-MIME-Tools). Curiously, I have no >> problem with `man \*' >> Again reverting to eval.c r1.22 solve the problem. > I can now reproduce the problem. Please test the appended diff which > should fix this problem while still working for the > here-backquote-three-stage-pipeline case. Thanks for the patch. It fixes the problem (definitively I hope :-)) here. Jean-Marc -- Jean-Marc Zucconi PGP Key: finger jmz@FreeBSD.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 7:57:13 1999 Delivered-To: freebsd-current@freebsd.org Received: from yana.lemis.com (yana.lemis.com [192.109.197.140]) by hub.freebsd.org (Postfix) with ESMTP id 604FD15346; Wed, 17 Nov 1999 07:57:04 -0800 (PST) (envelope-from grog@mojave.sitaranetworks.com) Received: from mojave.sitaranetworks.com (mojave.sitaranetworks.com [199.103.141.157]) by yana.lemis.com (8.8.8/8.8.8) with ESMTP id CAA23775; Thu, 18 Nov 1999 02:26:59 +1030 (CST) (envelope-from grog@mojave.sitaranetworks.com) Message-ID: <19991117105626.30085@mojave.sitaranetworks.com> Date: Wed, 17 Nov 1999 10:56:26 -0500 From: Greg Lehey To: Christopher Stein , FreeBSD current users Subject: Re: bdevsw ?? Reply-To: Greg Lehey References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: ; from Christopher Stein on Wed, Nov 17, 1999 at 09:53:19AM -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [redirected to -CURRENT] Repeat after me: If I am running -CURRENT, I should be subscribed to -CURRENT, and that's where I should send my messages about -CURRENT. On Wednesday, 17 November 1999 at 9:53:19 -0500, Christopher Stein wrote: > > Could someone please tell me why bdevsw has disappeared > from FreeBSD-current Block devices are going away. > and what I should use for the block device switch. Probably nothing. It depends on what you want a block device switch for. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 8:24:33 1999 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id C8E05152C6; Wed, 17 Nov 1999 08:24:19 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from p145-ts5.syd2.zeta.org.au (beefcake.zeta.org.au [203.26.10.12]) by mailman.zeta.org.au (8.8.7/8.8.7) with ESMTP id DAA28117; Thu, 18 Nov 1999 03:29:47 +1100 Date: Thu, 18 Nov 1999 03:22:50 +1100 (EST) From: Bruce Evans X-Sender: bde@alphplex.bde.org To: Martin Cracauer Cc: Jean-Marc Zucconi , sprice@hiwaay.net, current@FreeBSD.ORG, bde@FreeBSD.ORG Subject: Re: sh bug In-Reply-To: <19991117151120.A9616@cons.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 17 Nov 1999, Martin Cracauer wrote: > I can now reproduce the problem. Please test the appended diff which > should fix this problem while still working for the > here-backquote-three-stage-pipeline case. > > My apology especially to Bruce, I managed to pass your test case by > not copy/pasting it, but typing it in with "bits" missing :-( This fixes my test case and also early exits from "man ls". I suppose I noticed this more than most people because I don't use cat pages, so the man pipeline is always long. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 8:43:20 1999 Delivered-To: freebsd-current@freebsd.org Received: from pau-amma.whistle.com (pau-amma.whistle.com [207.76.205.64]) by hub.freebsd.org (Postfix) with ESMTP id 1184614DFC for ; Wed, 17 Nov 1999 08:43:10 -0800 (PST) (envelope-from dhw@whistle.com) Received: (from dhw@localhost) by pau-amma.whistle.com (8.9.2/8.9.2) id IAA79811 for freebsd-current@FreeBSD.ORG; Wed, 17 Nov 1999 08:43:07 -0800 (PST) Date: Wed, 17 Nov 1999 08:43:07 -0800 (PST) From: David Wolfskill Message-Id: <199911171643.IAA79811@pau-amma.whistle.com> To: freebsd-current@FreeBSD.ORG Subject: Re: "man" reads /etc/rc.conf? In-Reply-To: <199911101357.OAA24746@dorifer.heim3.tu-clausthal.de> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Other folks may also have expressed similar sentiments, but I'll quote a couple that I noted as I was blitzing through my >1900-message backlog (after being in class all last week): >Date: Wed, 10 Nov 1999 14:57:15 +0100 (CET) >From: Oliver Fromme >Using command substitution in /etc/rc.conf{,.local} is NOT >officially supported. I think it should have always been >clear that there should _only_ be plain variable assignments. >That's probably just because you never know which programs >try to read them. >Date: Thu, 11 Nov 1999 00:34:36 +0900 >From: "Daniel C. Sobral" >Calling programs from any of the rc.conf files is considered evil >and it's looked down on. Hmmm.... Reason this is of concern to me isn't apropos or dialup passwords, but because of something I put together last year, a version of which was committed, that affected rc.network (1.23 & 1.32) and rc.conf (1.46 -- later, rc.conf was moved to defaults/rc.conf) (PRs conf/6387 & misc/7435; date on the latter was late July, 1998). I did the original work in a FreeBSD 2.2.5+ environment; little has changed in that area since. Here's the relevant code as of 3.3-R: geddy[2] grep amd_map defaults/rc.conf amd_map_program="NO" # Can be set to "ypcat -k amd.master" geddy[3] grep -1 amd rc.network if [ "X${amd_enable}" = X"YES" ]; then echo -n ' amd' if [ "X${amd_map_program}" != X"NO" ]; then amd_flags="${amd_flags} `eval ${amd_map_program}`" fi if [ -n "$amd_flags" ] then amd -p ${amd_flags} > /var/run/amd.pid 2> /dev/null else amd 2> /dev/null fi In particular, please note the `eval ${amd_map_program}` construct in the above, and that I do set amd_map_program="ypcat -k amd.master" in /etc/rc.conf.local around here. Now, as the original PR (conf/6387) indicates, the intent was to allow amd initialization in a FreeBSD environment where NIS is used to be able to make use of the technique in Jan-Simon Pendry's paper. More specifically, use of the technique permits the amd "master map" -- the construct that specifies which mount points will be managed by amd -- to be specified via NIS. (I'm not a big fan of NIS, but it has its uses.) Now, unless I'm misunderstanding what folks are saying, this change (which has been in 3.x since Septmeber, 1998) is considered -- by some, at least -- to be A Bad Thing. So I ask: if this is so, how would you accomplish the desired result? As noted in that original PR, /etc/{defaults/,}rc.conf{,.local} is sourced (by /etc/rc) well before rc.network is fired up, so there's no way to get the result of "ypcat -k amd.master" until after rc.network has at least got some minimal network functionality up and running. And as I was typing this, a perverse abuse of the FreeBSD NIS implementation just came to mind (for dealing with the dialup password issue): Shove that plain-text password in the master.password file for some (otherwise bogus) login entry. Distribute this via NIS. The password will then be available to clients that are able to ask for the master.password.byname map -- in the FreeBSD implementation, that's euid 0 processes. I don't claim that this is elegant.... :-} Cheers, david -- David Wolfskill dhw@whistle.com UNIX System Administrator voice: (650) 577-7158 pager: (888) 347-0197 FAX: (650) 372-5915 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 8:46:39 1999 Delivered-To: freebsd-current@freebsd.org Received: from ns.sysr.com (ns.sysr.com [208.178.138.1]) by hub.freebsd.org (Postfix) with ESMTP id 3F49514A21 for ; Wed, 17 Nov 1999 08:46:27 -0800 (PST) (envelope-from cblevins@ns.sysr.com) Received: from localhost (cblevins@localhost) by ns.sysr.com (8.9.2/8.9.2) with ESMTP id LAA58460 for ; Wed, 17 Nov 1999 11:45:29 -0500 (EST) (envelope-from cblevins@ns.sysr.com) Date: Wed, 17 Nov 1999 11:45:29 -0500 (EST) From: Carol Blevins To: freebsd-current@FreeBSD.org Subject: subscribe Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG subscribe freebsd-current To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 10:15:37 1999 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 9653A14F4A; Wed, 17 Nov 1999 10:15:25 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id LAA07606; Wed, 17 Nov 1999 11:15:24 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id LAA17818; Wed, 17 Nov 1999 11:15:39 -0700 (MST) Message-Id: <199911171815.LAA17818@harmony.village.org> To: Matthew Dillon Subject: Re: PATCH for testing Cc: Poul-Henning Kamp , current@FreeBSD.ORG In-reply-to: Your message of "Mon, 15 Nov 1999 14:18:24 PST." <199911152218.OAA45512@apollo.backplane.com> References: <199911152218.OAA45512@apollo.backplane.com> <22209.942703421@critter.freebsd.dk> Date: Wed, 17 Nov 1999 11:15:39 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199911152218.OAA45512@apollo.backplane.com> Matthew Dillon writes: : Why don't we get rid of the 'e' option to ps while we are at it : considering how much of a security hole it is. I've never liked the : 'e' option. I like the -e option when I'm root and trying to debug things. I think that peter's fix seems to be ideal. You can find out about your own uid, but no one else's unless you are root. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 10:23: 7 1999 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id AACA814F4A for ; Wed, 17 Nov 1999 10:22:55 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id LAA07643; Wed, 17 Nov 1999 11:22:54 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id LAA17884; Wed, 17 Nov 1999 11:23:03 -0700 (MST) Message-Id: <199911171823.LAA17884@harmony.village.org> To: Forrest Aldrich Subject: Re: BIND update Cc: Peter Wemm , Ben Rosengart , freebsd-current@FreeBSD.ORG In-reply-to: Your message of "Tue, 16 Nov 1999 11:12:51 EST." <4.2.1.19991116111228.00a96790@216.67.12.69> References: <4.2.1.19991116111228.00a96790@216.67.12.69> Date: Wed, 17 Nov 1999 11:23:03 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <4.2.1.19991116111228.00a96790@216.67.12.69> Forrest Aldrich writes: : So wouldn't be the impact if a server was compromized in the absence : of an available fix :) A message to the security officer indicated that we don't have the root hole in -current or -stable, but are vulnerable to the DoS attacks. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 10:25:59 1999 Delivered-To: freebsd-current@freebsd.org Received: from penelope.skunk.org (penelope.skunk.org [208.133.204.51]) by hub.freebsd.org (Postfix) with ESMTP id E7ECF14F4A for ; Wed, 17 Nov 1999 10:25:47 -0800 (PST) (envelope-from ben@penelope.skunk.org) Received: from localhost (ben@localhost) by penelope.skunk.org (8.9.3/8.9.3) with ESMTP id NAA50117; Wed, 17 Nov 1999 13:32:54 -0500 (EST) Date: Wed, 17 Nov 1999 13:32:54 -0500 (EST) From: Ben Rosengart To: Warner Losh Cc: Forrest Aldrich , Peter Wemm , freebsd-current@FreeBSD.ORG, Adam Firester Subject: Re: BIND update In-Reply-To: <199911171823.LAA17884@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 17 Nov 1999, Warner Losh wrote: > In message <4.2.1.19991116111228.00a96790@216.67.12.69> Forrest Aldrich writes: > : So wouldn't be the impact if a server was compromized in the absence > : of an available fix :) > > A message to the security officer indicated that we don't have the > root hole in -current or -stable, but are vulnerable to the DoS > attacks. I'd be happier if you said the message was *from* the security officer. :-) -- Ben Rosengart UNIX Systems Engineer, Skunk Group StarMedia Network, Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 10:47:23 1999 Delivered-To: freebsd-current@freebsd.org Received: from tulum.brsys.com (tulum.brsys.com [216.15.105.2]) by hub.freebsd.org (Postfix) with ESMTP id 61DB714EB3 for ; Wed, 17 Nov 1999 10:47:20 -0800 (PST) (envelope-from adamw@holonet.net) Received: from luchar.first.world (ifmxoak.informix.com [192.147.88.2]) by tulum.brsys.com (8.8.8/8.6.12) with SMTP id KAA11726; Wed, 17 Nov 1999 10:54:20 -0800 (PST) From: Adam Wight Reply-To: adamw@holonet.net To: Warner Losh , current@FreeBSD.ORG Subject: Re: PATCH for testing Date: Tue, 16 Nov 1999 22:41:55 -0800 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain References: <199911152218.OAA45512@apollo.backplane.com> <22209.942703421@critter.freebsd.dk> <199911171815.LAA17818@harmony.village.org> In-Reply-To: <199911171815.LAA17818@harmony.village.org> MIME-Version: 1.0 Message-Id: <99111622455004.20427@luchar.first.world> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG x I like the -e option when I'm root and trying to debug things. I x think that peter's fix seems to be ideal. You can find out about your x own uid, but no one else's unless you are root. I agree, but anything that runs suid has to be excluded as well. -Adam Wight To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 10:50:35 1999 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 1071414BD8 for ; Wed, 17 Nov 1999 10:50:32 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id LAA07722; Wed, 17 Nov 1999 11:50:21 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id LAA18026; Wed, 17 Nov 1999 11:50:37 -0700 (MST) Message-Id: <199911171850.LAA18026@harmony.village.org> To: Ben Rosengart Subject: Re: BIND update Cc: Forrest Aldrich , Peter Wemm , freebsd-current@FreeBSD.ORG, Adam Firester In-reply-to: Your message of "Wed, 17 Nov 1999 13:32:54 EST." References: Date: Wed, 17 Nov 1999 11:50:37 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- In message Ben Rosengart writes: : I'd be happier if you said the message was *from* the security officer. :-) I am the security officer. :-) That's why I get the secuirty-officer's mail :-). I've not verified the information by inspection yet, which was why I hedged. Warner -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: noconv Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface iQCVAwUBODL48FUuHi5z0oilAQG83QP/dh/Rwdg+KycLtziuvmJIkQzjzzI53zE4 9a85xsvHvfmhnRZQmIBoEqS5OvTh7qhZ2auvNNQrisXsbBfoBNINdjjRTISloCtE V/IwFL12qjNvrKugT19kAAx9PZh9Fiuwl5u8CibvXsa8yUduFiAbStIQLVjHAnvn WDJda+bnRTQ= =15L2 -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 11: 1:26 1999 Delivered-To: freebsd-current@freebsd.org Received: from jade.chc-chimes.com (jade.chc-chimes.com [216.28.46.6]) by hub.freebsd.org (Postfix) with ESMTP id C41CE14BD8 for ; Wed, 17 Nov 1999 11:01:25 -0800 (PST) (envelope-from billf@chc-chimes.com) Received: by jade.chc-chimes.com (Postfix, from userid 1001) id EC5461C57; Wed, 17 Nov 1999 13:02:56 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by jade.chc-chimes.com (Postfix) with ESMTP id E7BA0381B; Wed, 17 Nov 1999 13:02:56 -0500 (EST) Date: Wed, 17 Nov 1999 13:02:56 -0500 (EST) From: Bill Fumerola To: Sheldon Hearn Cc: "Rodney W. Grimes" , Manfred Antar , Forrest Aldrich , freebsd-current@FreeBSD.ORG Subject: Re: gcc 2.95.2 In-Reply-To: <97197.942824475@axl.noc.iafrica.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 17 Nov 1999, Sheldon Hearn wrote: > XFree86 makes it through the ports ``build'' target just fine. It > breaks in ``install''. That's why I told Manfred I wasn't seeing the > problem. I'd imagine the confusion is caused by the install target (improperly) building things. Yet another problem. -- - bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp - - ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@FreeBSD.org - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 11:10:31 1999 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id C7B3414C31 for ; Wed, 17 Nov 1999 11:10:27 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id MAA07871; Wed, 17 Nov 1999 12:10:26 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id MAA18303; Wed, 17 Nov 1999 12:10:42 -0700 (MST) Message-Id: <199911171910.MAA18303@harmony.village.org> To: trouble@netquick.net Cc: current@freebsd.org Subject: Re: BIND update In-reply-to: Your message of "Wed, 17 Nov 1999 14:15:05 EST." <3832FEB9.4B9B9F52@netquick.net> References: <3832FEB9.4B9B9F52@netquick.net> <199911171850.LAA18026@harmony.village.org> Date: Wed, 17 Nov 1999 12:10:42 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- In message <3832FEB9.4B9B9F52@netquick.net> TrouBle writes: : just a quick note, where do i find the information needed about the bind : problem i face in 3.3-RELEASE if any ?? You can find it at the BIND web site. FreeBSD has Bind 8.1.2. - From the chart at http://www.isc.org/products/BIND/bind-security-19991108.html we see solinger DoS maxfd DoS w/ workaround naptr possible problem when users can modify zone files maxdname sprintf overflow that is unlikely to trigger elevated privs, but may be used to crash servers. The NXT exploit is not present in 8.1.x, so that remote exploit is not present. More complete information and fixes will be forthcoming. Warner -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: noconv Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface iQCVAwUBODL9l1UuHi5z0oilAQGNWwQAo/BE8oSXvz7IhGBuLYz4i+7BxOXnM6cG zVESLfsv9WapRn8PXu1+suppa2RHcyu0ynGeWPjoN0SAX3IElTI2vPrwCT9UG8j0 526wcOm+VCvJjxMah+0ix50oUkMRRvdnV5Kae4Q4ZQCQiUOwyHWQTxV5tlljii+y 4x9y/UiCS5g= =X4s/ -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 11:18:50 1999 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id CE7CF14EB7; Wed, 17 Nov 1999 11:18:42 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.2) with ESMTP id UAA02423; Wed, 17 Nov 1999 20:18:42 +0100 (CET) (envelope-from phk@critter.freebsd.dk) Date: Wed, 17 Nov 1999 20:18:41 +0100 Message-ID: <2417.942866321.1@critter.freebsd.dk> From: Poul-Henning Kamp Subject: Bumping libstdc++ version number MIME-Version: 1.0 Content-Type: multipart/digest; boundary="----- =_aaaaaaaaaa" Content-Description: Blind Carbon Copy Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ------- =_aaaaaaaaaa Content-Type: message/rfc822 Content-Description: Original Message To: committer@freebsd.org Subject: Bumping libstdc++ version number From: Poul-Henning Kamp Date: Wed, 17 Nov 1999 20:18:41 +0100 Message-ID: <2417.942866321@critter.freebsd.dk> Sender: phk@critter.freebsd.dk MIME-Version: 1.0 The core team has discussed the issue of bumping the libstdc++ version numer because of the compiler upgrade: Yes, we do have a rule saying ``only one bump per release'', and that rules still stands. But no rule without exception: Clearly what we're looking at here deserves a version number bump, and therefore -core hereby gives David O'Brien permission to do so. for -core, Poul-Henning Kamp -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! ------- =_aaaaaaaaaa-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 11:32:28 1999 Delivered-To: freebsd-current@freebsd.org Received: from minubian.houabg.com (minubian.houabg.com [206.109.247.11]) by hub.freebsd.org (Postfix) with ESMTP id A8FBF14A24 for ; Wed, 17 Nov 1999 11:32:25 -0800 (PST) (envelope-from dchapman@houabg.com) Received: from houcbs2.houabg.com (HOUABG.COM [206.109.247.20]) by minubian.houabg.com (8.8.8/8.8.8) with ESMTP id OAA28642 for ; Wed, 17 Nov 1999 14:05:15 -0600 (CST) (envelope-from dchapman@houabg.com) Received: from 216-118-18-135.pdq.net by houcbs2.houabg.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.0.1457.7) id SG16T66K; Wed, 17 Nov 1999 13:33:14 -0600 Message-ID: <02d801bf3132$71f6f8c0$0300a8c0@poseiden.org> From: "David W. Chapman Jr." To: References: <3832FEB9.4B9B9F52@netquick.net> <199911171850.LAA18026@harmony.village.org> <199911171910.MAA18303@harmony.village.org> Subject: RELEASE Date: Wed, 17 Nov 1999 13:32:11 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Any idea of when 4.0-RELEASE will be out, in terms of months or years? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 11:42:28 1999 Delivered-To: freebsd-current@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id 607D514D81 for ; Wed, 17 Nov 1999 11:42:19 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from salmon.nlsystems.com (salmon.nlsystems.com [10.0.0.3]) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id TAA00769; Wed, 17 Nov 1999 19:45:18 GMT (envelope-from dfr@nlsystems.com) Date: Wed, 17 Nov 1999 19:45:18 +0000 (GMT) From: Doug Rabson To: "Daniel C. Sobral" Cc: current@freebsd.org Subject: Re: Adding soundcards to newpcm In-Reply-To: <383294AD.58339056@newsguy.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 17 Nov 1999, Daniel C. Sobral wrote: > Doug Rabson wrote: > > > > > Well, I finally decided to try to get my sound card working again. > > > It is not detected as a PNP device, but rather as a motherboard > > > resource using PNPBIOS. It is supposed to be an ESS1869 and, indeed, > > > I use ESS drivers on Windows. But Compaq obviously decided to lay > > > it's fingerprints on the poor thing. Here is the (relavant parts of) > > > dmesg: > > > > Use this program. It translates to/from EISAIDs. > > Well, I got farther, but no luck yet. The device is identified, but > incorrectly: > > pcm0: at port 0x220-0x22f irq 5 drq 1 on isa0 That is from a driver which I added mainly for alphas. I might disable this for x86 or modify it to coexist with PNPBIOS. Stick a 'return' in es1888_identify in sys/dev/pcm/isa/es1888.c. > > it still shows up in the PNPBIOS information, though: > > unknown: can't assign resources This is because the ES1888 device is holding the resources. Also the driver needs CPQb0ac adding to its list of IDs. > > Finally, cat sndstat shows yet another thing: > > FreeBSD Audio Driver (newpcm) Nov 17 1999 19:30:14 > Installed devices: > pcm0: at io 0x220 irq 5 drq 1 (1/1 channels) This I also know about. I might add a workaround for this. Basically the description is changed after the device was printed. > > Also, I have a warning showing up: > > WARNING: "pca" is usurping "pca"'s cdevsw[] > > (yes, I have pca in my kernel) Nothing to do with me :-) > > When I try to output something to dsp or audio, it just blocks > without doing anything. Mixer *apparently* works. I can't hear > anything, but at least it sets and retrieves values. Hmm. The ess driver works nicely with the ESS1888 in my alpha box. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 11:43:29 1999 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id 4273214A14 for ; Wed, 17 Nov 1999 11:41:53 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.2) with ESMTP id UAA02594; Wed, 17 Nov 1999 20:41:36 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: "David W. Chapman Jr." Cc: current@FreeBSD.ORG Subject: Re: RELEASE In-reply-to: Your message of "Wed, 17 Nov 1999 13:32:11 CST." <02d801bf3132$71f6f8c0$0300a8c0@poseiden.org> Date: Wed, 17 Nov 1999 20:41:36 +0100 Message-ID: <2592.942867696@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <02d801bf3132$71f6f8c0$0300a8c0@poseiden.org>, "David W. Chapman Jr. " writes: >Any idea of when 4.0-RELEASE will be out, in terms of months or years? Feature freeze in this year. Release in Q1/2000. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 12:34:24 1999 Delivered-To: freebsd-current@freebsd.org Received: from dorifer.heim3.tu-clausthal.de (dorifer.heim3.tu-clausthal.de [139.174.243.252]) by hub.freebsd.org (Postfix) with ESMTP id 8480B14CCB for ; Wed, 17 Nov 1999 12:34:18 -0800 (PST) (envelope-from olli@dorifer.heim3.tu-clausthal.de) Received: (from olli@localhost) by dorifer.heim3.tu-clausthal.de (8.8.8/8.8.8) id VAA04150 for freebsd-current@freebsd.org; Wed, 17 Nov 1999 21:34:18 +0100 (CET) (envelope-from olli) Date: Wed, 17 Nov 1999 21:34:18 +0100 (CET) From: Oliver Fromme Message-Id: <199911172034.VAA04150@dorifer.heim3.tu-clausthal.de> To: freebsd-current@freebsd.org Subject: Re: PATCH for testing Organization: Administration Heim 3 Reply-To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: TIN [version 1.2 RZTUC(3) PL2] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Adam Wight wrote in list.freebsd-current: > x I like the -e option when I'm root and trying to debug things. I > x think that peter's fix seems to be ideal. You can find out about your > x own uid, but no one else's unless you are root. > > I agree, but anything that runs suid has to be excluded as well. FWIW, I'd be against removing or restricting -e at all. Programs that put sensitive data into environment variables (or expect the user to do that) are just _broken_. Removing or restricting the -e option encourages such brokenness. Just my 0.02 Euro. Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" (Terry Pratchett) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 12:37:33 1999 Delivered-To: freebsd-current@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id B154E14CCB for ; Wed, 17 Nov 1999 12:37:31 -0800 (PST) (envelope-from julian@whistle.com) Received: from current1.whiste.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id MAA90542 for ; Wed, 17 Nov 1999 12:37:27 -0800 (PST) Date: Wed, 17 Nov 1999 12:37:26 -0800 (PST) From: Julian Elischer To: freebsd-current@FreeBSD.ORG Subject: Re: PATCH for testing In-Reply-To: <199911172034.VAA04150@dorifer.heim3.tu-clausthal.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG since the environment is supposed to be part of the address space it is ssupposed to be private.. On Wed, 17 Nov 1999, Oliver Fromme wrote: > Adam Wight wrote in list.freebsd-current: > > x I like the -e option when I'm root and trying to debug things. I > > x think that peter's fix seems to be ideal. You can find out about your > > x own uid, but no one else's unless you are root. > > > > I agree, but anything that runs suid has to be excluded as well. > > FWIW, I'd be against removing or restricting -e at all. > > Programs that put sensitive data into environment variables > (or expect the user to do that) are just _broken_. Removing > or restricting the -e option encourages such brokenness. > > Just my 0.02 Euro. > > Regards > Oliver > > -- > Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany > (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) > > "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" > (Terry Pratchett) > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 12:57:23 1999 Delivered-To: freebsd-current@freebsd.org Received: from dorifer.heim3.tu-clausthal.de (dorifer.heim3.tu-clausthal.de [139.174.243.252]) by hub.freebsd.org (Postfix) with ESMTP id 0E78E14D8A for ; Wed, 17 Nov 1999 12:57:11 -0800 (PST) (envelope-from olli@dorifer.heim3.tu-clausthal.de) Received: (from olli@localhost) by dorifer.heim3.tu-clausthal.de (8.8.8/8.8.8) id VAA06032 for freebsd-current@FreeBSD.ORG; Wed, 17 Nov 1999 21:57:10 +0100 (CET) (envelope-from olli) Date: Wed, 17 Nov 1999 21:57:10 +0100 (CET) From: Oliver Fromme Message-Id: <199911172057.VAA06032@dorifer.heim3.tu-clausthal.de> To: freebsd-current@FreeBSD.ORG Subject: Re: PATCH for testing Organization: Administration Heim 3 Reply-To: freebsd-current@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: TIN [version 1.2 RZTUC(3) PL2] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Julian Elischer wrote in list.freebsd-current: > On Wed, 17 Nov 1999, Oliver Fromme wrote: > > Adam Wight wrote in list.freebsd-current: > > > x I like the -e option when I'm root and trying to debug things. I > > > x think that peter's fix seems to be ideal. You can find out about your > > > x own uid, but no one else's unless you are root. > > > > > > I agree, but anything that runs suid has to be excluded as well. > > > > FWIW, I'd be against removing or restricting -e at all. > > > > Programs that put sensitive data into environment variables > > (or expect the user to do that) are just _broken_. Removing > > or restricting the -e option encourages such brokenness. > > > > Just my 0.02 Euro. > > since the environment is supposed to be part of the address space > it is ssupposed to be private.. But it is not, and programmers should be aware of it. On all platforms on which I regularly work (*BSD, Solaris, DEC UNIX a.k.a Tru64) the environments of all processes are public. Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" (Terry Pratchett) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 13:54:48 1999 Delivered-To: freebsd-current@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 91F921533B for ; Wed, 17 Nov 1999 13:54:42 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.3) with ESMTP id NAA19160; Wed, 17 Nov 1999 13:54:38 -0800 (PST) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id NAA00858; Wed, 17 Nov 1999 13:54:32 -0800 (PST) (envelope-from jdp@polstra.com) Date: Wed, 17 Nov 1999 13:54:32 -0800 (PST) Message-Id: <199911172154.NAA00858@vashon.polstra.com> To: frank@exit.com Subject: Re: FreeBSD 4.0 SCSI Tape Driver In-Reply-To: <199911160233.SAA47939@realtime.exit.com> References: <199911160233.SAA47939@realtime.exit.com> Organization: Polstra & Co., Seattle, WA Cc: current@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <199911160233.SAA47939@realtime.exit.com>, Frank Mayhar wrote: > Bob Bishop wrote: > > > BUT I have to say that on principle I'm with Rod on this one: EOF > > != EOT and mixing them up is a recipe for (inter alia) finding you > > can't read back dumps when you need them. > > Not to mention the fact that the old ANSI standard for nine-track > tapes included a double EOF to indicate EOT/EOD (and the more modern > tapes _did_ have an EOT marker). Consider me another person with > extensive tape experience chiming in _against_ this idea. You can add my voice to the chorus too. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "No matter how cynical I get, I just can't keep up." -- Nora Ephron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 14:39:38 1999 Delivered-To: freebsd-current@freebsd.org Received: from ns.skylink.it (ns.skylink.it [194.177.113.1]) by hub.freebsd.org (Postfix) with ESMTP id AA65314C2B; Wed, 17 Nov 1999 14:39:27 -0800 (PST) (envelope-from hibma@skylink.it) Received: from skylink.it (va-185.skylink.it [194.185.55.185]) by ns.skylink.it (8.9.1/8.8.8) with ESMTP id XAA01987; Wed, 17 Nov 1999 23:40:06 +0100 Received: from localhost (localhost [127.0.0.1]) by skylink.it (8.9.3/8.9.3) with SMTP id XAA00929; Wed, 17 Nov 1999 23:38:24 +0100 (CET) (envelope-from hibma@skylink.it) Date: Wed, 17 Nov 1999 23:38:24 +0100 (CET) From: Nick Hibma X-Sender: n_hibma@henny.jrc.it Reply-To: Nick Hibma To: "David O'Brien" Cc: FreeBSD CURRENT Mailing List Subject: Re: cvs commit: src/sys/boot/forth loader.conf In-Reply-To: <19991117125029.C52362@dragon.nuxi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Yes. Boot system, kldload ums_mod, kldload umass_mod, plug in mouse and > > Zip drive and off you go. > > I assume "_mod" stands for module. Would you consider dropping that from > the name? Very view things in /modules have "_mod" in their names. That was done because of some problem in constructing the Makefile. It seems gone now. I'll change the name of the module files. > IMHO, usm_mod and umass_mod aren't clear from the names what they are. > Are you open to usb_ms and usb_modem, usb_kbd, etc, or what not? You mean along the lines of if_xx.ko? That might be an idea, apart from the fact that then the module name does not correspond in any way to the name used in the manpage. Nick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 15:48:42 1999 Delivered-To: freebsd-current@freebsd.org Received: from ns.skylink.it (ns.skylink.it [194.177.113.1]) by hub.freebsd.org (Postfix) with ESMTP id 83C1314E99 for ; Wed, 17 Nov 1999 15:48:38 -0800 (PST) (envelope-from hibma@skylink.it) Received: from skylink.it (va-185.skylink.it [194.185.55.185]) by ns.skylink.it (8.9.1/8.8.8) with ESMTP id AAA19604; Thu, 18 Nov 1999 00:49:09 +0100 Received: from localhost (localhost [127.0.0.1]) by skylink.it (8.9.3/8.9.3) with SMTP id AAA01048; Thu, 18 Nov 1999 00:13:00 +0100 (CET) (envelope-from hibma@skylink.it) Date: Thu, 18 Nov 1999 00:13:00 +0100 (CET) From: Nick Hibma X-Sender: n_hibma@henny.jrc.it Reply-To: Nick Hibma To: "Jeroen C. van Gelderen" Cc: FreeBSD CURRENT Mailing List Subject: Re: cvs commit: src/sys/boot/forth loader.conf In-Reply-To: <383331EA.581A4907@vangelderen.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > You mean along the lines of if_xx.ko? That might be an idea, apart > > from the fact that then the module name does not correspond in any > > way to the name used in the manpage. > > I'd love to see the various modules grouped logically. I'd vote in > favor of usb_* in case it counts... It'd be nice, but only if this does not obfuscate the reference to other locations were it can be found. I am for example not in favour of the atapi0 entry in the kernel config file as it is nowhere to be found in the man pages. It's _only_ in the kernel config file and the name of the module. Doing a man -k usb or man -k mouse should give good results. Nick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 16:14:46 1999 Delivered-To: freebsd-current@freebsd.org Received: from po3.wam.umd.edu (po3.wam.umd.edu [128.8.10.165]) by hub.freebsd.org (Postfix) with ESMTP id 61EF914D97 for ; Wed, 17 Nov 1999 16:14:38 -0800 (PST) (envelope-from culverk@wam.umd.edu) Received: from rac8.wam.umd.edu (root@rac8.wam.umd.edu [128.8.10.148]) by po3.wam.umd.edu (8.9.3/8.9.3) with ESMTP id TAA29022 for ; Wed, 17 Nov 1999 19:14:36 -0500 (EST) Received: from rac8.wam.umd.edu (sendmail@localhost [127.0.0.1]) by rac8.wam.umd.edu (8.9.3/8.9.3) with SMTP id TAA27443 for ; Wed, 17 Nov 1999 19:14:36 -0500 (EST) Received: from localhost (culverk@localhost) by rac8.wam.umd.edu (8.9.3/8.9.3) with ESMTP id TAA27439 for ; Wed, 17 Nov 1999 19:14:36 -0500 (EST) X-Authentication-Warning: rac8.wam.umd.edu: culverk owned process doing -bs Date: Wed, 17 Nov 1999 19:14:35 -0500 (EST) From: Kenneth Wayne Culver To: freebsd-current@freebsd.org Subject: rtc0 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is the output of my systat -vm 1 after the upgrade to gcc 2.95.2: 2 users Load 0.13 0.58 0.63 Wed Nov 17 19:11 Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER Tot Share Tot Share Free in out in out Act 22268 1596 39792 2528 40120 count All 90388 2968 2449940 4508 pages 4 zfod Interrupts Proc:r p d s w Csw Trp Sys Int Sof Flt 3 cow 121 total 16 479 33 1444 122 258 67 22532 wire ata-pci0 i 36188 act ata-pci0 i 0.3%Sys 0.1%Intr 0.2%User 0.0%Nice 99.4%Idl 28232 inact bktr0 irq9 | | | | | | | | | | 3436 cache 12 de0 irq10 36684 free fdc0 irq6 daefr 9 atkbd0 irq Namei Name-cache Dir-cache 6 prcfr psm0 irq12 Calls hits % hits % react sb0 irq5 500 491 98 1 0 pdwak 100 clk irq0 pdpgs Disks ad0 ad1 ad2 acd0 da0 fd0 intrn KB/t 0.00 5.38 0.00 0.00 0.00 0.00 11263 buf tps 0 0 0 0 0 0 23 dirtybuf MB/s 0.00 0.00 0.00 0.00 0.00 0.00 8986 desiredvnodes % busy 0 0 0 0 0 0 826 numvnodes 371 freevnodes I know the lines wrapped, but that doesn't matter, the reason I put this here is because rtc0 seems to be missing. I don't know why, but when I recompiled the kernel with gcc 2.95.2, this device just suddenly dissappeared. Any suggestions? ================================================================= | Kenneth Culver | FreeBSD: The best OS around. | | Unix Systems Administrator | ICQ #: 24767726 | | and student at The | AIM: AgRSkaterq | | The University of Maryland, | Website: (Under Construction) | | College Park. | http://www.wam.umd.edu/~culverk/| ================================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 17:17:25 1999 Delivered-To: freebsd-current@freebsd.org Received: from zippy.cdrom.com (zippy.cdrom.com [204.216.27.228]) by hub.freebsd.org (Postfix) with ESMTP id 8055914EC5 for ; Wed, 17 Nov 1999 17:17:24 -0800 (PST) (envelope-from jkh@zippy.cdrom.com) Received: from localhost (localhost [127.0.0.1]) by zippy.cdrom.com (8.9.3/8.9.3) with ESMTP id RAA16495; Wed, 17 Nov 1999 17:17:12 -0800 (PST) (envelope-from jkh@zippy.cdrom.com) To: "David W. Chapman Jr." Cc: current@FreeBSD.ORG Subject: Re: RELEASE In-reply-to: Your message of "Wed, 17 Nov 1999 13:32:11 CST." <02d801bf3132$71f6f8c0$0300a8c0@poseiden.org> Date: Wed, 17 Nov 1999 17:17:12 -0800 Message-ID: <16491.942887832@localhost> From: "Jordan K. Hubbard" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Months. :) > Any idea of when 4.0-RELEASE will be out, in terms of months or years? > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 17:46:30 1999 Delivered-To: freebsd-current@freebsd.org Received: from silcon.silcon.com (SilCon.SilCon.com [206.99.109.10]) by hub.freebsd.org (Postfix) with ESMTP id 82B2814BEA for ; Wed, 17 Nov 1999 17:46:28 -0800 (PST) (envelope-from sbfriday@silcon.com) Received: from default (ts3-166.silcon.com [207.0.105.166]) by silcon.silcon.com (8.9.1/8.6.9) with SMTP id RAA18376 for ; Wed, 17 Nov 1999 17:46:44 -0800 Message-ID: <000a01bf3165$f08e9fc0$a66900cf@default> From: "Gfriday" To: Subject: ppp problems Date: Wed, 17 Nov 1999 17:40:47 -0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01BF3122.E1D44FE0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0007_01BF3122.E1D44FE0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable everything is working fine as it used to after installing current but i = get this error message when ppp tries to connect "ppp[52]: tun0: Warning: deflink: /dev/cuaa1: Bad file descriptor" i'm = not sure how to fix this any ideas ? ------=_NextPart_000_0007_01BF3122.E1D44FE0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
everything is working fine as it used to after = installing=20 current but i get this error message when ppp tries to = connect
 
"ppp[52]: tun0: Warning: deflink: /dev/cuaa1: Bad = file=20 descriptor"   i'm not sure how to fix this any ideas=20 ?
------=_NextPart_000_0007_01BF3122.E1D44FE0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 19:57: 9 1999 Delivered-To: freebsd-current@freebsd.org Received: from lor.watermarkgroup.com (lor.watermarkgroup.com [207.202.73.33]) by hub.freebsd.org (Postfix) with ESMTP id 7DE3B14D69 for ; Wed, 17 Nov 1999 19:57:04 -0800 (PST) (envelope-from luoqi@watermarkgroup.com) Received: (from luoqi@localhost) by lor.watermarkgroup.com (8.8.8/8.8.8) id WAA18909 for current@freebsd.org; Wed, 17 Nov 1999 22:57:02 -0500 (EST) (envelope-from luoqi) Date: Wed, 17 Nov 1999 22:57:02 -0500 (EST) From: Luoqi Chen Message-Id: <199911180357.WAA18909@lor.watermarkgroup.com> To: current@freebsd.org Subject: init runs with console as control terminal? Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Since sometime last month, rc5des failed to start from my rc.local. I did a little investigation and it turned out that rc5des was started but later terminated by a SIGHUP. During its brief lifetime, /dev/console was its control terminal. Does anyone know what was going on? -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 21:43:54 1999 Delivered-To: freebsd-current@freebsd.org Received: from awfulhak.org (dynamic-52.max4-du-ws.dialnetwork.pavilion.co.uk [212.74.9.180]) by hub.freebsd.org (Postfix) with ESMTP id C1A8514FC7 for ; Wed, 17 Nov 1999 21:43:33 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id FAA01392; Thu, 18 Nov 1999 05:43:14 GMT (envelope-from brian@lan.awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id FAA36377; Thu, 18 Nov 1999 05:47:39 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <199911180547.FAA36377@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.0 09/18/1999 To: "Gfriday" Cc: freebsd-current@FreeBSD.ORG, brian@hak.lan.Awfulhak.org Subject: Re: ppp problems In-Reply-To: Message from "Gfriday" of "Wed, 17 Nov 1999 17:40:47 PST." <000a01bf3165$f08e9fc0$a66900cf@default> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 18 Nov 1999 05:47:39 +0000 From: Brian Somers Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > everything is working fine as it used to after installing current but i get this error message when ppp tries to connect > > "ppp[52]: tun0: Warning: deflink: /dev/cuaa1: Bad file descriptor" i'm not sure how to fix this any ideas ? [.....] You'll need to explain a bit more, and maybe share your config file and logs ? -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 22:20:59 1999 Delivered-To: freebsd-current@freebsd.org Received: from picalon.gun.de (picalon.gun.de [192.109.159.1]) by hub.freebsd.org (Postfix) with ESMTP id B1FF714A01 for ; Wed, 17 Nov 1999 22:20:40 -0800 (PST) (envelope-from andreas@klemm.gtn.com) Received: from klemm.gtn.com (pppak04.gtn.com [194.231.123.169]) by picalon.gun.de (8.9.3/8.9.3) with ESMTP id HAA22133; Thu, 18 Nov 1999 07:20:29 +0100 (MET) Received: (from andreas@localhost) by klemm.gtn.com (8.9.3/8.9.3) id HAA21827; Thu, 18 Nov 1999 07:16:03 +0100 (CET) (envelope-from andreas) Date: Thu, 18 Nov 1999 07:16:02 +0100 From: Andreas Klemm To: David Greenman Cc: Matthew Dillon , Sean Eric Fagan , current@FreeBSD.ORG Subject: Re: PATCH for testing Message-ID: <19991118071602.A24640@titan.klemm.gtn.com> References: <199911152227.OAA45627@apollo.backplane.com> <199911160144.RAA08909@implode.root.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre1i In-Reply-To: <199911160144.RAA08909@implode.root.com> X-Operating-System: FreeBSD 3.3-STABLE SMP X-Disclaimer: A free society is one where it is safe to be unpopular Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Nov 15, 1999 at 05:44:12PM -0800, David Greenman wrote: > I agree that we need to get rid of 'e' and any other options that allow > reading another process's environment. I think it would be sufficient, to allow only root to use the 'e' option. There is no need to get rid of it entirely. Then other utility would have to go as well (tcpdump, ...). -- Andreas Klemm http://www.FreeBSD.ORG/~andreas http://www.freebsd.org/~fsmp/SMP/SMP.html powered by Symmetric MultiProcessor FreeBSD Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Nov 17 23:43:23 1999 Delivered-To: freebsd-current@freebsd.org Received: from mta4.snfc21.pbi.net (mta4.snfc21.pbi.net [206.13.28.142]) by hub.freebsd.org (Postfix) with ESMTP id BCF24151C4 for ; Wed, 17 Nov 1999 23:43:20 -0800 (PST) (envelope-from jazepeda@pacbell.net) Received: from zippy.dyn.ml.org ([207.214.149.247]) by mta4.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.1999.09.16.21.57.p8) with ESMTP id <0FLD00KKOUPSLZ@mta4.snfc21.pbi.net> for current@FreeBSD.ORG; Wed, 17 Nov 1999 23:41:59 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zippy.dyn.ml.org (Postfix) with ESMTP id 8FC6D9154C; Wed, 17 Nov 1999 23:41:52 -0800 (PST) Date: Wed, 17 Nov 1999 23:41:52 -0800 (PST) From: Alex Zepeda Subject: Re: PATCH for testing In-reply-to: <19991118071602.A24640@titan.klemm.gtn.com> To: Andreas Klemm Cc: David Greenman , Matthew Dillon , Sean Eric Fagan , current@FreeBSD.ORG Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 18 Nov 1999, Andreas Klemm wrote: > On Mon, Nov 15, 1999 at 05:44:12PM -0800, David Greenman wrote: > > I agree that we need to get rid of 'e' and any other options that allow > > reading another process's environment. > > I think it would be sufficient, to allow only root to use the 'e' option. > There is no need to get rid of it entirely. Then other utility would have > to go as well (tcpdump, ...). Or perhaps restricting -U to root only? Since -e w/out -U isn't harmful, no? - alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 2:59:37 1999 Delivered-To: freebsd-current@freebsd.org Received: from knight.cons.org (knight.cons.org [194.233.237.195]) by hub.freebsd.org (Postfix) with ESMTP id 93C7315374 for ; Thu, 18 Nov 1999 02:59:33 -0800 (PST) (envelope-from cracauer@knight.cons.org) Received: (from cracauer@localhost) by knight.cons.org (8.9.3/8.9.3) id LAA17255 for current@freebsd.org; Thu, 18 Nov 1999 11:59:28 +0100 (CET) Date: Thu, 18 Nov 1999 11:59:27 +0100 From: Martin Cracauer To: current@freebsd.org Subject: Please test latest /bin/sh Message-ID: <19991118115927.A17240@cons.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG There had been some trouble with fixing a pipeline bug in /bin/sh. The last version appears to work, although it was developed on observation, not understanding, if you know what I mean ;-) If you have complicated shell scripts, would you please test -current's /bin/sh (with eval.c v. 1.25) on it? Critical are long pipelines, especially in backquote or here-documents and when receivers (not senders) terminate the run. Thanks Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://www.cons.org/cracauer/ Tel.: (private) +4940 5221829 Fax.: (private) +4940 5228536 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 3:34: 9 1999 Delivered-To: freebsd-current@freebsd.org Received: from cr31617-a.lndn1.on.wave.home.com (cr31617-a.lndn1.on.wave.home.com [24.112.227.163]) by hub.freebsd.org (Postfix) with ESMTP id 729C415105 for ; Thu, 18 Nov 1999 03:34:03 -0800 (PST) (envelope-from jbailie@cr31617-a.lndn1.on.wave.home.com) Received: (from jbailie@localhost) by cr31617-a.lndn1.on.wave.home.com (8.9.3/8.9.3) id GAA01658 for freebsd-current@freebsd.org; Thu, 18 Nov 1999 06:44:18 -0500 (EST) (envelope-from jbailie) Date: Thu, 18 Nov 1999 06:44:18 -0500 (EST) From: James Bailie Message-Id: <199911181144.GAA01658@cr31617-a.lndn1.on.wave.home.com> To: freebsd-current@freebsd.org Subject: subscribe Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG subscribe freebsd-current jazzturk@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 7: 1:20 1999 Delivered-To: freebsd-current@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id 55549153FE for ; Thu, 18 Nov 1999 07:01:12 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id D2A7B1CA0; Thu, 18 Nov 1999 23:01:10 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.0.2 2/24/98 To: Luoqi Chen Cc: current@freebsd.org Subject: Re: init runs with console as control terminal? In-reply-to: Your message of "Wed, 17 Nov 1999 22:57:02 EST." <199911180357.WAA18909@lor.watermarkgroup.com> Date: Thu, 18 Nov 1999 23:01:10 +0800 From: Peter Wemm Message-Id: <19991118150110.D2A7B1CA0@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Luoqi Chen wrote: > Since sometime last month, rc5des failed to start from my rc.local. I did > a little investigation and it turned out that rc5des was started but later > terminated by a SIGHUP. During its brief lifetime, /dev/console was its > control terminal. Does anyone know what was going on? Something is revoking /dev/console, most of the time, but it varies. Other times, you get garbage when /etc/rc exits (when using a serial console). For example, run from rc.d: 336 con- I+ 0:00.01 /bin/sh /usr/local/bin/safe_mysqld --user=mysql 355 con- S+ 0:00.04 /usr/local/libexec/mysqld --basedir=/usr/local --data ^^^^ revoke(2)ed. This is a plain syscons boot, nothing special, didn't go into single user. syslog(3) also suffers as a result of this - it closes and reopens /dev/ console to get around it when asked to do LOG_CONS. fstat(2) on the fd to /dev/console returns EBADF. This broke postfix too. Each time I raised the issue, bde told me it wasn't happening. But *something* is revoking /dev/console, either directly or via a revoke on /dev/ttyv0: pwroot@overcee[10:50pm]~-104# fstat | grep none root sh 336 2 - - none - root cron 218 0 - - none - root cron 218 1 - - none - root cron 218 2 - - none - root syslogd 145 8 - - none - root adjkerntz 40 0 - - none - root adjkerntz 40 1 - - none - root adjkerntz 40 2 - - none - pwroot@overcee[10:59pm]~ports/sysutils/lsof-111# lsof | grep revoke adjkerntz 40 root 0u VBAD (revoked) adjkerntz 40 root 1u VBAD (revoked) adjkerntz 40 root 2u VBAD (revoked) syslogd 145 root 8w VBAD (revoked) cron 218 root 0u VBAD (revoked) cron 218 root 1u VBAD (revoked) cron 218 root 2u VBAD (revoked) sh 336 root 2u VBAD (revoked) init(8) does a revoke on /dev/ttyv0 after /etc/rc finishes and before the ttyv0 getty fires up, so I suspect an aliasing problem, but I can't see what's doing it. (I haven't been annoyed enough to find out what's really happening) Oh, also, the rc5des client has changed over the last few months. I found I had to change it's startup method a few times. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 8: 0: 0 1999 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 012411542D for ; Thu, 18 Nov 1999 07:59:55 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from p80-ts5.syd2.zeta.org.au (beefcake.zeta.org.au [203.26.10.12]) by mailman.zeta.org.au (8.8.7/8.8.7) with ESMTP id DAA12701; Fri, 19 Nov 1999 03:06:25 +1100 Date: Fri, 19 Nov 1999 02:59:21 +1100 (EST) From: Bruce Evans X-Sender: bde@alphplex.bde.org To: Peter Wemm Cc: Luoqi Chen , current@FreeBSD.ORG Subject: Re: init runs with console as control terminal? In-Reply-To: <19991118150110.D2A7B1CA0@overcee.netplex.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 18 Nov 1999, Peter Wemm wrote: > Luoqi Chen wrote: > > Since sometime last month, rc5des failed to start from my rc.local. I did > > a little investigation and it turned out that rc5des was started but later > > terminated by a SIGHUP. During its brief lifetime, /dev/console was its > > control terminal. Does anyone know what was going on? > > Something is revoking /dev/console, most of the time, but it varies. > Other times, you get garbage when /etc/rc exits (when using a serial > console). /etc/rc's shell is a controlling process with control terminal /etc/console, so /dev/console is supposed to be revoked when /etc/rc's shell exits. > syslog(3) also suffers as a result of this - it closes and reopens /dev/ > console to get around it when asked to do LOG_CONS. fstat(2) on the fd to > /dev/console returns EBADF. This broke postfix too. I think you mean syslogd(8). syslog(3) writes directly to the console, so it has to open it. > Each time I raised the issue, bde told me it wasn't happening. But *something* I don't remember it. There were different problems with /dev/console being aliased with user ttys. > is revoking /dev/console, either directly or via a revoke on /dev/ttyv0: > pwroot@overcee[10:50pm]~-104# fstat | grep none > root sh 336 2 - - none - > root cron 218 0 - - none - > root cron 218 1 - - none - > root cron 218 2 - - none - > root syslogd 145 8 - - none - > root adjkerntz 40 0 - - none - > root adjkerntz 40 1 - - none - > root adjkerntz 40 2 - - none - This is almost what I'd expect. adjkerntz calls daemon() with the noclose flag set so it soon ends up with dead file descriptors instead of closed ones. Most other daemons started by /etc/rc are apparently more careful. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 8:41:48 1999 Delivered-To: freebsd-current@freebsd.org Received: from extra.gc.lviv.ua (extra.gc.lviv.ua [212.109.34.132]) by hub.freebsd.org (Postfix) with ESMTP id 983C114DE9 for ; Thu, 18 Nov 1999 08:41:41 -0800 (PST) (envelope-from vadim@gc.lviv.ua) Received: from gate.gc.lviv.ua (gate.gc.lviv.ua [192.168.168.18]) by extra.gc.lviv.ua (8.9.3/8.9.3) with ESMTP id SAA08886 for ; Thu, 18 Nov 1999 18:41:39 +0200 (EET) Received: from gc.lviv.ua (begemot.lviv.gc.com.ua [192.168.1.216]) by gate.gc.lviv.ua (8.9.3/8.9.3) with ESMTP id SAA79637 for ; Thu, 18 Nov 1999 18:41:38 +0200 (EET) Message-ID: <38342ACA.BD107EB2@gc.lviv.ua> Date: Thu, 18 Nov 1999 18:35:23 +0200 From: Vadim Chekan Organization: Galitian Contracts X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: How to upgrade from 3.3 to 4 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello everyone! I'm trying to update from 3.3-R to 4.0-current but without success. cc every time died on the same place. I upgraded via sources to 3.3-stable without any problem. When I try again cc died with message "Bad system call" I wrote in /etc/makefile.conf CC=/usr/local/bin/gcc295 CXX=/usr/local/bin/g++295 NOTOOLS= and now it can't locale libc.so.4 :( I took a look at maillist and found the same problem 2.2.x->3.0 upgrade. If I understood right it was because of a function moved from kernel to library. Is my problem known or I should post more logs? Vadim Chekan. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 8:52:43 1999 Delivered-To: freebsd-current@freebsd.org Received: from cichlids.com (as15-226.rp-plus.de [149.221.237.226]) by hub.freebsd.org (Postfix) with ESMTP id 5CC2215167 for ; Thu, 18 Nov 1999 08:52:31 -0800 (PST) (envelope-from alex@cichlids.com) Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by cichlids.com (Postfix) with ESMTP id 46886AB7F; Thu, 18 Nov 1999 17:53:07 +0100 (CET) Received: (from alex@localhost) by cichlids.cichlids.com (8.9.3/8.9.3) id RAA02051; Thu, 18 Nov 1999 17:53:00 +0100 (CET) (envelope-from alex) From: Alexander Langer Date: Thu, 18 Nov 1999 17:53:00 +0100 To: Vadim Chekan Cc: freebsd-current@FreeBSD.ORG Subject: Re: How to upgrade from 3.3 to 4 Message-ID: <19991118175300.A2032@cichlids.cichlids.com> Mail-Followup-To: Vadim Chekan , freebsd-current@FreeBSD.ORG References: <38342ACA.BD107EB2@gc.lviv.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <38342ACA.BD107EB2@gc.lviv.ua>; from vadim@gc.lviv.ua on Thu, Nov 18, 1999 at 06:35:23PM +0200 X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thus spake Vadim Chekan (vadim@gc.lviv.ua): > Is my problem known or I should post more logs? Yes. Probably you've not built/booted a -current kernel before you build world. Alex -- I doubt, therefore I might be. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 9: 7:51 1999 Delivered-To: freebsd-current@freebsd.org Received: from skynet.ctr.columbia.edu (skynet.ctr.columbia.edu [128.59.64.70]) by hub.freebsd.org (Postfix) with SMTP id 1C8731512A for ; Thu, 18 Nov 1999 09:07:41 -0800 (PST) (envelope-from wpaul@skynet.ctr.columbia.edu) Received: (from wpaul@localhost) by skynet.ctr.columbia.edu (8.6.12/8.6.9) id MAA00637 for current@freebsd.org; Thu, 18 Nov 1999 12:11:52 -0500 From: Bill Paul Message-Id: <199911181711.MAA00637@skynet.ctr.columbia.edu> Subject: gdb slain in drive-by commit, film at 11 To: current@freebsd.org Date: Thu, 18 Nov 1999 12:11:50 -0500 (EST) X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1321 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Gdb has stopped working recently in -current. In a snapshot from October 24th, it's fine. In a snapshot from November 15th (before the great gcc switchover), it's hosed. I've been told it's hosed in today's -current as well. Here are the symptoms: tuba# uname -sr FreeBSD 4.0-19991115-CURRENT tuba# cat f.c #include main() { printf("hello world\n"); } tuba# cc -g f.c tuba# gdb -q a.out (gdb) run Starting program: /tmp/a.out warning: find_solib: Can't read pathname for load map: Bad address Segmentation fault (core dumped) tuba# A statically compiled executable works though: tuba# cc -static -g f.c tuba# gdb -q a.out (gdb) run Starting program: /tmp/a.out hello world Program exited with code 014. (gdb) Okay, 'fess up: who's the wise guy. -Bill -- ============================================================================= -Bill Paul (212) 854-6020 | System Manager, Master of Unix-Fu Work: wpaul@ctr.columbia.edu | Center for Telecommunications Research Home: wpaul@skynet.ctr.columbia.edu | Columbia University, New York City ============================================================================= "It is not I who am crazy; it is I who am mad!" - Ren Hoek, "Space Madness" ============================================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 9:16:13 1999 Delivered-To: freebsd-current@freebsd.org Received: from titan.lndn.tensor.pgs.com (titan.lndn.tensor.pgs.com [157.147.162.51]) by hub.freebsd.org (Postfix) with ESMTP id B97C01545E; Thu, 18 Nov 1999 09:16:02 -0800 (PST) (envelope-from shocking@dhcp160-32.lndn.tensor.pgs.com) Received: from dhcp160-32.lndn.tensor.pgs.com (dhcp160-50 [157.147.160.50]) by titan.lndn.tensor.pgs.com (8.9.1a/8.9.1) with ESMTP id RAA02048; Thu, 18 Nov 1999 17:15:38 GMT Received: from dhcp160-32.lndn.tensor.pgs.com (localhost [127.0.0.1]) by dhcp160-32.lndn.tensor.pgs.com (8.9.3/8.9.3) with ESMTP id RAA24009; Thu, 18 Nov 1999 17:16:56 GMT Message-Id: <199911181716.RAA24009@dhcp160-32.lndn.tensor.pgs.com> X-Mailer: exmh version 2.0.2 To: current@freebsd.org, multimedia@freebsd.org Cc: devel@xfree86.org Subject: FreeBSD version of DRM? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 18 Nov 1999 17:16:55 +0000 From: Stephen Hocking Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Now that a working version of the Direct Rendering Manager (along with an open source version of glide 3) has been released for Linux on a decent consumer level card, is anyone interested in porting it over to FreeBSD? It could well displace my TNT2U. Stephen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 9:16:24 1999 Delivered-To: freebsd-current@freebsd.org Received: from ipt2.iptelecom.net.ua (ipt2.iptelecom.net.ua [212.9.224.2]) by hub.freebsd.org (Postfix) with ESMTP id BB7D115448 for ; Thu, 18 Nov 1999 09:15:56 -0800 (PST) (envelope-from sobomax@altavista.net) Received: from vega.vega.com (dialup1-25.iptelecom.net.ua [212.9.226.25]) by ipt2.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id TAA22112; Thu, 18 Nov 1999 19:20:09 +0200 (EET) Received: from altavista.net (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.9.3/8.9.3) with ESMTP id TAA98404; Thu, 18 Nov 1999 19:15:17 +0200 (EET) (envelope-from sobomax@altavista.net) Message-ID: <38343420.DE3CB74E@altavista.net> Date: Thu, 18 Nov 1999 19:15:12 +0200 From: Maxim Sobolev Reply-To: sobomax@altavista.net Organization: Vega International Capital X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: Vadim Chekan Cc: freebsd-current@FreeBSD.ORG Subject: Re: How to upgrade from 3.3 to 4 References: <38342ACA.BD107EB2@gc.lviv.ua> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Vadim Chekan wrote: > Hello everyone! > > I'm trying to update from 3.3-R to 4.0-current but without success. > cc every time died on the same place. > I upgraded via sources to 3.3-stable without any problem. > When I try again cc died with message "Bad system call" > I wrote in /etc/makefile.conf > CC=/usr/local/bin/gcc295 > CXX=/usr/local/bin/g++295 > NOTOOLS= Remove that, it would not work anyway! > and now it can't locale libc.so.4 :( > > I took a look at maillist and found the same problem 2.2.x->3.0 upgrade. > If I understood right it was because of a function moved from kernel to > library. > > Is my problem known or I should post more logs? As I'm understanding, currently upgrading process should be as following: 1) Build 4.0 /usr/sbin/config using installed 3.3 tools 2) Using this config configure and build 4.0 kernel using standard 3.3 tools 3) Reboot using 4.0 kernel (preferably to the single-user mode to avoid possible ponflicts between 3.3 userland and 4.0 kernel). 4) Build and install everything (world) 5) Using mergemaster (which is in the 4.0 base tree now) update your configuration files in /etc -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 9:24:13 1999 Delivered-To: freebsd-current@freebsd.org Received: from harlot.rb.ca.us (216-59-71-20.usa2.flashcom.net [216.59.71.20]) by hub.freebsd.org (Postfix) with ESMTP id 494181512A; Thu, 18 Nov 1999 09:24:10 -0800 (PST) (envelope-from daryll@harlot.rb.ca.us) Received: (from daryll@localhost) by harlot.rb.ca.us (8.8.7/8.8.7) id JAA19676; Thu, 18 Nov 1999 09:24:02 -0800 Date: Thu, 18 Nov 1999 09:24:02 -0800 From: Daryll Strauss To: devel@XFree86.Org Cc: current@freebsd.org, multimedia@freebsd.org Subject: Re: FreeBSD version of DRM? Message-ID: <19991118092402.B19643@harlot.rb.ca.us> References: <199911181716.RAA24009@dhcp160-32.lndn.tensor.pgs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4us In-Reply-To: <199911181716.RAA24009@dhcp160-32.lndn.tensor.pgs.com>; from Stephen Hocking on Thu, Nov 18, 1999 at 05:16:55PM +0000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Nov 18, 1999 at 05:16:55PM +0000, Stephen Hocking wrote: > Now that a working version of the Direct Rendering Manager (along with an open > source version of glide 3) has been released for Linux on a decent consumer > level card, is anyone interested in porting it over to FreeBSD? It could well > displace my TNT2U. If you do get a group together, please keep me in the loop. I've love to have more people involved with the project now that it is open. We're working on getting a public repository in place, and it would be good to have all this code in one place. - |Daryll To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 10: 2:50 1999 Delivered-To: freebsd-current@freebsd.org Received: from mail-2.viaduk.net (mail-2.viaduk.net [195.5.4.28]) by hub.freebsd.org (Postfix) with ESMTP id AA881150DB for ; Thu, 18 Nov 1999 10:02:40 -0800 (PST) (envelope-from maxkol@viaduk.net) Received: from resolver.viaduk.net (maxkol@ns.viaduk.net [195.5.4.1]) by mail-2.viaduk.net (8.9.1/8.9.1) with ESMTP id UAA29475 for ; Thu, 18 Nov 1999 20:02:38 +0200 (EET) Received: from localhost (maxkol@localhost) by resolver.viaduk.net (8.9.3/8.9.1) with ESMTP id UAA15287 for ; Thu, 18 Nov 1999 20:02:38 +0200 (EET) (envelope-from maxkol@viaduk.net) Date: Thu, 18 Nov 1999 20:02:38 +0200 (EET) From: Maxim Kolinko X-Sender: maxkol@res To: freebsd-current@freebsd.org Subject: make world fails Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG cc -O -pipe -DFREEBSD_NATIVE -DIN_GCC -DHAVE_CONFIG_H -DDEFAULT_TARGET_VERSION=\"2.95.2\" -DDEFAULT_TARGET_MACHINE=\"i386-unknown-freebsd\" -I/usr/obj/usr/src/gnu/usr.bin/cc/cc1plus/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc1plus/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/config -I/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp -I. -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/init.c cc -O -pipe -DFREEBSD_NATIVE -DIN_GCC -DHAVE_CONFIG_H -DDEFAULT_TARGET_VERSION=\"2.95.2\" -DDEFAULT_TARGET_MACHINE=\"i386-unknown-freebsd\" -I/usr/obj/usr/src/gnu/usr.bin/cc/cc1plus/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc1plus/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/config -I/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp -I. -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/lex.c *** Error code 1 Stop in /usr/src/gnu/usr.bin/cc/cc1plus. *** Error code 1 Stop in /usr/src/gnu/usr.bin/cc. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Any ideas ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 10:51: 7 1999 Delivered-To: freebsd-current@freebsd.org Received: from mail-2.viaduk.net (mail-2.viaduk.net [195.5.4.28]) by hub.freebsd.org (Postfix) with ESMTP id AC348154B5 for ; Thu, 18 Nov 1999 10:50:54 -0800 (PST) (envelope-from maxkol@viaduk.net) Received: from resolver.viaduk.net (maxkol@ns.viaduk.net [195.5.4.1]) by mail-2.viaduk.net (8.9.1/8.9.1) with ESMTP id UAA29871 for ; Thu, 18 Nov 1999 20:50:51 +0200 (EET) Received: from localhost (maxkol@localhost) by resolver.viaduk.net (8.9.3/8.9.1) with ESMTP id UAA16850 for ; Thu, 18 Nov 1999 20:50:50 +0200 (EET) (envelope-from maxkol@viaduk.net) Date: Thu, 18 Nov 1999 20:50:50 +0200 (EET) From: Maxim Kolinko X-Sender: maxkol@res To: freebsd-current@FreeBSD.ORG Subject: Re: make world fails In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG sorry i'm don't put error message i'm build and install -CURRENT kernel , and trying make world cc -O -pipe -DFREEBSD_NATIVE -DIN_GCC -DHAVE_CONFIG_H -DDEFAULT_TARGET_VERSION=\"2.95.2\" -DDEFAULT_TARGET_MACHINE=\"i386-unknown-freebsd\" -I/usr/obj/usr/src/gnu/usr.bin/cc/cc1plus/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc1plus/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/config -I/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp -I. -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/lex.c /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/lex.c: In function `reinit_parse_for_block':/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/lex.c:1502: `RETURN_KEYWORD' undeclared (first use in this function) /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/lex.c:1502: (Each undeclared identifier is reported only once /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/lex.c:1502: for eachfunction it appears in.) *** Error code 1 Stop in /usr/src/gnu/usr.bin/cc/cc1plus. *** Error code 1 Stop in /usr/src/gnu/usr.bin/cc. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 10:53:37 1999 Delivered-To: freebsd-current@freebsd.org Received: from fleming.cs.strath.ac.uk (fleming.cs.strath.ac.uk [130.159.196.126]) by hub.freebsd.org (Postfix) with ESMTP id 13CC3156AD; Thu, 18 Nov 1999 10:53:08 -0800 (PST) (envelope-from roger@cs.strath.ac.uk) Received: from muir-10 (roger@muir-10.cs.strath.ac.uk [130.159.148.10]) by fleming.cs.strath.ac.uk (8.8.8/8.8.8) with SMTP id SAA12234 Thu, 18 Nov 1999 18:52:54 GMT Message-ID: <38344B05.41C6@cs.strath.ac.uk> Date: Thu, 18 Nov 1999 18:52:53 +0000 From: Roger Hardiman Organization: University of Strathclyde X-Mailer: Mozilla 3.04Gold (X11; I; OSF1 V4.0 alpha) MIME-Version: 1.0 To: devel@XFree86.Org Cc: current@freebsd.org, multimedia@freebsd.org Subject: Re: FreeBSD version of DRM? References: <199911181716.RAA24009@dhcp160-32.lndn.tensor.pgs.com> <19991118092402.B19643@harlot.rb.ca.us> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Daryll, > is anyone interested in porting it over to FreeBSD? I'm interested in porting Glide to FreeBSD. I've got a Voodoo 3 2000. Roger -- Roger Hardiman | Telepresence Research Group roger@cs.strath.ac.uk | DMEM, University of Strathclyde tel: 0141 548 2897 | Glasgow, Scotland, G1 1XJ, UK fax: 0141 552 0557 | http://www.telepresence.strath.ac.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 11: 3:28 1999 Delivered-To: freebsd-current@freebsd.org Received: from minubian.houabg.com (minubian.houabg.com [206.109.247.11]) by hub.freebsd.org (Postfix) with ESMTP id E24CB15494; Thu, 18 Nov 1999 11:03:12 -0800 (PST) (envelope-from dchapman@houabg.com) Received: from houcbs2.houabg.com (HOUABG.COM [206.109.247.20]) by minubian.houabg.com (8.8.8/8.8.8) with ESMTP id NAA00787; Thu, 18 Nov 1999 13:36:06 -0600 (CST) (envelope-from dchapman@houabg.com) Received: from 216-118-18-135.pdq.net by houcbs2.houabg.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.0.1457.7) id SG16T7K8; Thu, 18 Nov 1999 13:04:07 -0600 Message-ID: <005501bf31f7$493d4ae0$0300a8c0@poseiden.org> From: "David W. Chapman Jr." To: Cc: , References: <199911181716.RAA24009@dhcp160-32.lndn.tensor.pgs.com> <19991118092402.B19643@harlot.rb.ca.us> <38344B05.41C6@cs.strath.ac.uk> Subject: Re: FreeBSD version of DRM? Date: Thu, 18 Nov 1999 13:01:13 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have no programming skills, but I will test it when testers are needed. ----- Original Message ----- From: Roger Hardiman To: Cc: ; Sent: Thursday, November 18, 1999 12:52 PM Subject: Re: FreeBSD version of DRM? > Hi Daryll, > > > is anyone interested in porting it over to FreeBSD? > > I'm interested in porting Glide to FreeBSD. I've got a Voodoo 3 2000. > > Roger > -- > Roger Hardiman | Telepresence Research Group > roger@cs.strath.ac.uk | DMEM, University of Strathclyde > tel: 0141 548 2897 | Glasgow, Scotland, G1 1XJ, UK > fax: 0141 552 0557 | http://www.telepresence.strath.ac.uk > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 11:24:25 1999 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 5382915770 for ; Thu, 18 Nov 1999 11:24:15 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id MAA12075; Thu, 18 Nov 1999 12:24:12 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id MAA27434; Thu, 18 Nov 1999 12:24:40 -0700 (MST) Message-Id: <199911181924.MAA27434@harmony.village.org> To: Alex Zepeda Subject: Re: PATCH for testing Cc: Andreas Klemm , David Greenman , Matthew Dillon , Sean Eric Fagan , current@FreeBSD.ORG In-reply-to: Your message of "Wed, 17 Nov 1999 23:41:52 PST." References: Date: Thu, 18 Nov 1999 12:24:40 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Alex Zepeda writes: : Or perhaps restricting -U to root only? Since -e w/out -U isn't harmful, : no? -e w/o -U is still harmful. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 11:29:21 1999 Delivered-To: freebsd-current@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id B4B4A1518D for ; Thu, 18 Nov 1999 11:29:11 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id OAA40475; Thu, 18 Nov 1999 14:28:55 -0500 (EST) (envelope-from wollman) Date: Thu, 18 Nov 1999 14:28:55 -0500 (EST) From: Garrett Wollman Message-Id: <199911181928.OAA40475@khavrinen.lcs.mit.edu> To: Peter Wemm Cc: current@FreeBSD.ORG Subject: Re: init runs with console as control terminal? In-Reply-To: <19991118150110.D2A7B1CA0@overcee.netplex.com.au> References: <199911180357.WAA18909@lor.watermarkgroup.com> <19991118150110.D2A7B1CA0@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG < said: > root cron 218 0 - - none - > root cron 218 1 - - none - > root cron 218 2 - - none - > root adjkerntz 40 0 - - none - > root adjkerntz 40 1 - - none - > root adjkerntz 40 2 - - none - Buggy daemons that don't close their standard file descriptors. (On my machine I also have radiusd and amd.) > init(8) does a revoke on /dev/ttyv0 after /etc/rc finishes and before the > ttyv0 getty fires up, so I suspect an aliasing problem, but I can't see > what's doing it. (I haven't been annoyed enough to find out what's really > happening) As Bruce explained, the revocation happens automatically when the session leader of the /etc/rc process exits. (It happens automatically when any session leader exits, in point of fact.) Beyond the issue of buggy daemons, this all looks peachy to me. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 12: 1:45 1999 Delivered-To: freebsd-current@freebsd.org Received: from mb07.swip.net (mb07.swip.net [193.12.122.211]) by hub.freebsd.org (Postfix) with ESMTP id E30A4154C2 for ; Thu, 18 Nov 1999 12:01:17 -0800 (PST) (envelope-from watchman@ludd.luth.se) Received: from ludd.luth.se (d212-151-102-133.swipnet.se [212.151.102.133]) by mb07.swip.net (8.8.8/8.8.8) with ESMTP id VAA01723; Thu, 18 Nov 1999 21:00:56 +0100 (MET) Message-ID: <38345B82.206B7286@ludd.luth.se> Date: Thu, 18 Nov 1999 21:03:14 +0100 From: Jag Organization: Acne X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.3-STABLE i386) X-Accept-Language: en-US MIME-Version: 1.0 To: Alexander Langer , freebsd-current@freebsd.org Subject: Re: How to upgrade from 3.3 to 4 - Clarification please! References: <38342ACA.BD107EB2@gc.lviv.ua> <19991118175300.A2032@cichlids.cichlids.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! I'm in almost the same situation as mr Chekan. I have a 3.3-STABLE (SMP) system and I want to move to CURRENT. I have modified my cvs-scripts and updated the sources a few times the last couple of weeks. The problem is when I try to do buildworld. It crashes with things like: cc -static -O -pipe -I. -DFREEBSD_NATIVE -DIN_GCC -DHAVE_CONFIG_H -DDEFAULT_TARGET_VERSION=\"2.95.2\" -DDEFAULT_TARGET_MACHINE=\"i386-unknown-freebsd\" -I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/objc -I/usr/obj/usr/src/tmp/usr/include -static -o gencheck gencheck.o ./gencheck > tree-check.h *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error Alexander Langer wrote: > Yes. Probably you've not built/booted a -current kernel before you build world. Do you mean that I should build a new kernel *before* I do buildworld? Is that possible? Some clarification would be great. I've looked at the FreeBSD Diary about staying current and the checking the handbook, but can't get this to work... help? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 12:38: 4 1999 Delivered-To: freebsd-current@freebsd.org Received: from cichlids.com (as3-012.rp-plus.de [149.221.238.204]) by hub.freebsd.org (Postfix) with ESMTP id 7609C154B6 for ; Thu, 18 Nov 1999 12:37:48 -0800 (PST) (envelope-from alex@cichlids.com) Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by cichlids.com (Postfix) with ESMTP id 13FB0AB7F; Thu, 18 Nov 1999 21:38:22 +0100 (CET) Received: (from alex@localhost) by cichlids.cichlids.com (8.9.3/8.9.3) id VAA03024; Thu, 18 Nov 1999 21:38:15 +0100 (CET) (envelope-from alex) Date: Thu, 18 Nov 1999 21:38:15 +0100 From: Alexander Langer To: Jag Cc: freebsd-current@freebsd.org Subject: Re: How to upgrade from 3.3 to 4 - Clarification please! Message-ID: <19991118213815.B2977@cichlids.cichlids.com> Mail-Followup-To: Jag , freebsd-current@freebsd.org References: <38342ACA.BD107EB2@gc.lviv.ua> <19991118175300.A2032@cichlids.cichlids.com> <38345B82.206B7286@ludd.luth.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <38345B82.206B7286@ludd.luth.se>; from watchman@ludd.luth.se on Thu, Nov 18, 1999 at 09:03:14PM +0100 X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thus spake Jag (watchman@ludd.luth.se): > I'm in almost the same situation as mr Chekan. I have a 3.3-STABLE (SMP) > system and I want to move to CURRENT. I have modified my cvs-scripts and > updated the sources a few times the last couple of weeks. The problem is > when I try to do buildworld. It crashes with things like: Hmm. in some of these days the cc should change (to egcs or such, don't know exaclty). See the last HEADS-UP mail to -current. > Alexander Langer wrote: > > Yes. Probably you've not built/booted a -current kernel before you build world. > > Do you mean that I should build a new kernel *before* I do buildworld? > Is that possible? Yes. It will boot with some warnings but you can build everything. Only xdm didn't work for me, I had to startx manually. BTW: Thas has been on -current a while ago, see the archives for the reasons why you need this. Search for some "HEADS UP" mails. Alex -- I doubt, therefore I might be. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 12:41:55 1999 Delivered-To: freebsd-current@freebsd.org Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202]) by hub.freebsd.org (Postfix) with ESMTP id 0EDEA154D0 for ; Thu, 18 Nov 1999 12:41:27 -0800 (PST) (envelope-from darrylo@sr.hp.com) Received: from postal.sr.hp.com (root@postal.sr.hp.com [15.4.46.173]) by atlrel2.hp.com (8.8.6 (PHNE_17135)/8.8.5tis) with ESMTP id PAA15548; Thu, 18 Nov 1999 15:40:12 -0500 (EST) Received: from mina.sr.hp.com (root@mina.sr.hp.com [15.4.42.247]) by postal.sr.hp.com with ESMTP (8.8.6 (PHNE_17190)/8.7.3 TIS 5.0) id MAA23996; Thu, 18 Nov 1999 12:41:16 -0800 (PST) Received: from localhost (darrylo@mina.sr.hp.com [15.4.42.247]) by mina.sr.hp.com with ESMTP (8.8.6 (PHNE_17135)/8.7.3 TIS 5.0) id MAA15801; Thu, 18 Nov 1999 12:41:03 -0800 (PST) Message-Id: <199911182041.MAA15801@mina.sr.hp.com> To: Jag Cc: Alexander Langer , freebsd-current@FreeBSD.ORG Subject: Re: How to upgrade from 3.3 to 4 - Clarification please! Reply-To: Darryl Okahata In-reply-to: Your message of "Thu, 18 Nov 1999 21:03:14 +0100." <38345B82.206B7286@ludd.luth.se> Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII Date: Thu, 18 Nov 1999 12:41:02 -0800 From: Darryl Okahata Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jag wrote: > Alexander Langer wrote: > > Yes. Probably you've not built/booted a -current kernel before you build wo > rld. > > Do you mean that I should build a new kernel *before* I do buildworld? > Is that possible? Yes and yes. > Some clarification would be great. I've looked at the FreeBSD Diary > about staying current and the checking the handbook, but can't get this > to work... help? If you try to use -current, the handbook (unfortunately) and any web site (such as FreeBSD diary) are likely to be of little help (and, in this case, are misleading), due the constantly-changing nature of -current. As others have said, in numerous postings since seemingly time immemorial, anyone who wants to use -current must also follow the -current mailing list (and preferably others). At the very least (if you've just joined -current), one should scan through the old -current archives for at least a month or two back. *THOROUGHLY reading /usr/src/UPDATING is also a must. Yes, this does appear to be a lot of work, but, if you do this, you get to find out about problems like "you must first build a kernel" (and also the method for doing so). Also, you may run into other problems. You'll find out about any if you read -current. Also note that -current is not guaranteed to work. As -current is used for developing new features and additions, it can be buggy, and may completely crash and burn at times. Use it at your own risk. -- Darryl Okahata darrylo@sr.hp.com DISCLAIMER: this message is the author's personal opinion and does not constitute the support, opinion, or policy of Agilent Technologies, or of the little green men that have been following him all day. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 12:50:46 1999 Delivered-To: freebsd-current@freebsd.org Received: from lor.watermarkgroup.com (lor.watermarkgroup.com [207.202.73.33]) by hub.freebsd.org (Postfix) with ESMTP id DDB4014C82 for ; Thu, 18 Nov 1999 12:50:37 -0800 (PST) (envelope-from luoqi@watermarkgroup.com) Received: (from luoqi@localhost) by lor.watermarkgroup.com (8.8.8/8.8.8) id PAA01532; Thu, 18 Nov 1999 15:50:25 -0500 (EST) (envelope-from luoqi) Date: Thu, 18 Nov 1999 15:50:25 -0500 (EST) From: Luoqi Chen Message-Id: <199911182050.PAA01532@lor.watermarkgroup.com> To: bde@zeta.org.au, peter@netplex.com.au Subject: Re: init runs with console as control terminal? Cc: current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > /etc/rc's shell is a controlling process with control terminal /etc/console, > so /dev/console is supposed to be revoked when /etc/rc's shell exits. > Control terminal is for job control, and we don't need job control during /etc/rc's execution, so why don't we change init not to acquire a control terminal when executing /etc/rc. Then there's no need for the revoke, syslogd/postfix would be happy, and anything that doesn't daemonize could also be safely started as a background process. For now, I'll be using nohup to start rc5des. -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 13:37: 9 1999 Delivered-To: freebsd-current@freebsd.org Received: from minubian.houabg.com (minubian.houabg.com [206.109.247.11]) by hub.freebsd.org (Postfix) with ESMTP id 913361555E for ; Thu, 18 Nov 1999 13:37:04 -0800 (PST) (envelope-from dchapman@houabg.com) Received: from houcbs2.houabg.com (HOUABG.COM [206.109.247.20]) by minubian.houabg.com (8.8.8/8.8.8) with ESMTP id QAA01081 for ; Thu, 18 Nov 1999 16:10:01 -0600 (CST) (envelope-from dchapman@houabg.com) Received: from 216-118-18-135.pdq.net by houcbs2.houabg.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.0.1457.7) id SG16T733; Thu, 18 Nov 1999 15:38:01 -0600 Message-ID: <00a601bf320c$bf73d8e0$0300a8c0@poseiden.org> From: "David W. Chapman Jr." To: Subject: Make world Date: Thu, 18 Nov 1999 15:34:45 -0600 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00A3_01BF31DA.70A8B780" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_00A3_01BF31DA.70A8B780 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I just upgraded the kernel to 4.0 rebooted and did a make world and get this error Any suggestions? trib/gcc/config -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I. = -fexceptions -DIN_GCC -I/usr/obj/usr/src/tmp/usr/include -DL_divsi3 -o _divsi3.o = /usr/src/gnu /lib/libgcc/../../../contrib/gcc/libgcc1.c cc1: Invalid option `-fexceptions' cc1: Invalid option `-fexceptions' cc1: Invalid option `-fexceptions' *** Error code 1 *** Error code 1 *** Error code 1 =20 ------=_NextPart_000_00A3_01BF31DA.70A8B780 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I just upgraded the kernel to = 4.0
rebooted and did a make world and get = this=20 error
 
Any suggestions?
 
trib/gcc/config=20 -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I. = -fexceptions
-DIN_GCC=20 -I/usr/obj/usr/src/tmp/usr/include -DL_divsi3 -o _divsi3.o=20 /usr/src/gnu
/lib/libgcc/../../../contrib/gcc/libgcc1.c
cc1: = Invalid=20 option `-fexceptions'
cc1: Invalid option `-fexceptions'
cc1: = Invalid=20 option `-fexceptions'
*** Error code 1
*** Error code 1
*** = Error code=20 1            =        =20
------=_NextPart_000_00A3_01BF31DA.70A8B780-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 14: 9:18 1999 Delivered-To: freebsd-current@freebsd.org Received: from smtp5.mindspring.com (smtp5.mindspring.com [207.69.200.82]) by hub.freebsd.org (Postfix) with ESMTP id B4546154F7 for ; Thu, 18 Nov 1999 14:09:13 -0800 (PST) (envelope-from mremski@ix.netcom.com) Received: from bsg-ma1c-72.ix.netcom.com (bsg-ma1c-72.ix.netcom.com [209.110.250.72]) by smtp5.mindspring.com (8.8.5/8.8.5) with ESMTP id RAA05992; Thu, 18 Nov 1999 17:08:55 -0500 (EST) Date: Thu, 18 Nov 1999 17:11:21 -0500 (EST) From: X-Sender: mremski@photog.home.net To: Jag Cc: Alexander Langer , freebsd-current@FreeBSD.ORG Subject: Re: How to upgrade from 3.3 to 4 - Clarification please! In-Reply-To: <38345B82.206B7286@ludd.luth.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Yes, there was a change in the signal handling that requires the kernel for 4.0 to be built and booted prior to building userland for 4.0. (This is not from experience, this is from watching the current mailing list for the past year). I believe the -current mailing list had lots of traffic on this starting sometime in October. m "To keep in silence our designs, my friends would think I was a nut" Peter Gabriel, Solsbury Hill On Thu, 18 Nov 1999, Jag wrote: > Hi! > > I'm in almost the same situation as mr Chekan. I have a 3.3-STABLE (SMP) > system and I want to move to CURRENT. I have modified my cvs-scripts and > updated the sources a few times the last couple of weeks. The problem is > when I try to do buildworld. It crashes with things like: > > cc -static -O -pipe -I. -DFREEBSD_NATIVE -DIN_GCC -DHAVE_CONFIG_H > -DDEFAULT_TARGET_VERSION=\"2.95.2\" > -DDEFAULT_TARGET_MACHINE=\"i386-unknown-freebsd\" > -I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools > -I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools > -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc > -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config > -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/objc > -I/usr/obj/usr/src/tmp/usr/include -static -o gencheck gencheck.o > ./gencheck > tree-check.h > *** Error code 1 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > > Alexander Langer wrote: > > Yes. Probably you've not built/booted a -current kernel before you build world. > > Do you mean that I should build a new kernel *before* I do buildworld? > Is that possible? > > Some clarification would be great. I've looked at the FreeBSD Diary > about staying current and the checking the handbook, but can't get this > to work... help? > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 15:17:49 1999 Delivered-To: freebsd-current@freebsd.org Received: from ipt2.iptelecom.net.ua (ipt2.iptelecom.net.ua [212.9.224.2]) by hub.freebsd.org (Postfix) with ESMTP id CFF2F1508E; Thu, 18 Nov 1999 15:17:43 -0800 (PST) (envelope-from sobomax@altavista.net) Received: from altavista.net (dialup6-48.iptelecom.net.ua [212.9.227.112]) by ipt2.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id BAA22515; Fri, 19 Nov 1999 01:22:02 +0200 (EET) Message-ID: <383488E7.54C0025C@altavista.net> Date: Fri, 19 Nov 1999 01:16:55 +0200 From: Maxim Sobolev Organization: Home, sweet home X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: current@freebsd.org, sos@freebsd.org Subject: NewATA on ISA and PCI Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Does anybody can explain why kernel with NewATA driver booted on machine with ISA based IDE adapter trying to mount wd* as root f/s, while exactly *the same* kernel booted on PCI based mobo mounts ad* as root? IMHO as long as the same driver (ata, not wd) used there shouldn't be a difference no matter whether it is ISA-based or PCI-based. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 15:33:19 1999 Delivered-To: freebsd-current@freebsd.org Received: from drawbridge.ctc.com (drawbridge.ctc.com [147.160.99.35]) by hub.freebsd.org (Postfix) with ESMTP id 47FCF15538 for ; Thu, 18 Nov 1999 15:33:17 -0800 (PST) (envelope-from cameron@ctc.com) Received: from server2.ctc.com (server2.ctc.com [147.160.1.4]) by drawbridge.ctc.com (8.9.3/8.9.3) with ESMTP id SAA10979 for ; Thu, 18 Nov 1999 18:33:16 -0500 (EST) Received: from ctcjst-mail1.ctc.com (ctcjst-mail1.ctc.com [147.160.34.4]) by server2.ctc.com (8.9.3/8.9.3) with ESMTP id SAA12854 for ; Thu, 18 Nov 1999 18:32:43 -0500 (EST) Received: by ctcjst-mail1.ctc.com with Internet Mail Service (5.5.2448.0) id ; Thu, 18 Nov 1999 18:28:44 -0500 Message-ID: <604CC98C4E6BD311AEF900A0C9EA54E1878B15@ctcjst-mail1.ctc.com> From: "Cameron, Frank" To: "'current@freebsd.org'" Subject: Install Glitch Date: Thu, 18 Nov 1999 18:28:43 -0500 X-Mailer: Internet Mail Service (5.5.2448.0) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I just installed my first current box (19991115) and ran into a couple of glitches with libraries and X. I installed the X-Kern-Developer and then added some extras from custom. The errors I encountered (paraphrased) were: missing libc.so.3 and libtermcap.so.2. # XF86Setup unable to find /usr/local/lib/aout libc.so.3 not found # xf86config unable to find /usr/local/lib/aout libc.so.3 not found # ln -s /usr/lib/compat/aout /usr/local/lib/aout # XF86Setup libc.so.3 not found # ln -s /usr/lib/libc.so.4 /usr/lib/libc.so.3 # XF86Setup # startx <. . .> xinit exits on signal 11, core dump # rm /usr/lib/libc.so.3 # startx libc.so.3 not found # ftp ftp> cd /usr/lib ftp> get remote file> libc.so.3 local file> /usr/lib/libc.so.3 ftp> bye # startx then, within X; xterm and emacs didn't run in Gnome Terminal: # xterm & libtermcap.so.2 not found # ftp <. get /usr/lib/libtermcap.so.2 .> # xterm & The machine is a PII 300 w/ 1.5GB BSD partition (DOS/WFW and NT are also on drive); it had been running an older 3.x, but I remade the slices during the install. # uname -a FreeBSD *** 4.0-19991115-CURRENT #0: Mon Nov 15 14:22:07 GMT 1999 root@usw2.freebsd.org:/usr/src/sys/compile/GENERIC i386 -Frank To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 16:51:47 1999 Delivered-To: freebsd-current@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 8019F1562B for ; Thu, 18 Nov 1999 16:51:39 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id QAA88470; Thu, 18 Nov 1999 16:51:36 -0800 (PST) (envelope-from dillon) Date: Thu, 18 Nov 1999 16:51:36 -0800 (PST) From: Matthew Dillon Message-Id: <199911190051.QAA88470@apollo.backplane.com> To: Luoqi Chen Cc: bde@zeta.org.au, peter@netplex.com.au, current@FreeBSD.ORG Subject: Re: init runs with console as control terminal? References: <199911182050.PAA01532@lor.watermarkgroup.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG : :> /etc/rc's shell is a controlling process with control terminal /etc/console, :> so /dev/console is supposed to be revoked when /etc/rc's shell exits. :> :Control terminal is for job control, and we don't need job control during :/etc/rc's execution, so why don't we change init not to acquire a control :terminal when executing /etc/rc. Then there's no need for the revoke, :syslogd/postfix would be happy, and anything that doesn't daemonize could :also be safely started as a background process. For now, I'll be using :nohup to start rc5des. : :-lq no control terminal == no signals == no ^C'ing hung programs during startup (for example, when you need to boot a machine without a working network and sendmail and other programs stop the boot sequence in its tracks trying to do DNS lookups). -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 17: 0:48 1999 Delivered-To: freebsd-current@freebsd.org Received: from lor.watermarkgroup.com (lor.watermarkgroup.com [207.202.73.33]) by hub.freebsd.org (Postfix) with ESMTP id 02AD01556D for ; Thu, 18 Nov 1999 17:00:45 -0800 (PST) (envelope-from luoqi@watermarkgroup.com) Received: (from luoqi@localhost) by lor.watermarkgroup.com (8.8.8/8.8.8) id UAA04747 for current@freebsd.org; Thu, 18 Nov 1999 20:00:44 -0500 (EST) (envelope-from luoqi) Date: Thu, 18 Nov 1999 20:00:44 -0500 (EST) From: Luoqi Chen Message-Id: <199911190100.UAA04747@lor.watermarkgroup.com> To: current@freebsd.org Subject: arplookup 127.0.0.1 failed: could not allocate llinfo Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG With the latest current, whenever I start amd, I would see a lot of log messages repeating: arplookup 127.0.0.1 failed: could not allocate llinfo arpresolve: can't allocate llinfo for 127.0.0.1rt If I ifconfig my ether interface down, as expected, the messages would stop. It's puzzling that a packet destined for 127.0.0.1 could end up on the output queue of an ethernet card. It happens only if I run amd, I could telnet to localhost without any problem. Any idea? -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 17: 4:29 1999 Delivered-To: freebsd-current@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 88F52155D4 for ; Thu, 18 Nov 1999 17:04:24 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id RAA88682; Thu, 18 Nov 1999 17:04:20 -0800 (PST) (envelope-from dillon) Date: Thu, 18 Nov 1999 17:04:20 -0800 (PST) From: Matthew Dillon Message-Id: <199911190104.RAA88682@apollo.backplane.com> To: Warner Losh Cc: Alex Zepeda , Andreas Klemm , David Greenman , Sean Eric Fagan , current@FreeBSD.ORG Subject: Re: PATCH for testing References: <199911181924.MAA27434@harmony.village.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG : :In message Alex Zepeda writes: :: Or perhaps restricting -U to root only? Since -e w/out -U isn't harmful, :: no? : :-e w/o -U is still harmful. : :Warner I am all for removing -e, but I don't really like the idea of making it optional nor do I like the idea of trying to maintain the capability for the user's own processes - that simply makes the code even more complex then it already is. The danger is that the option exists in the first place. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 17:20: 5 1999 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 9ABCC1551F for ; Thu, 18 Nov 1999 17:19:58 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id SAA13146; Thu, 18 Nov 1999 18:19:55 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id SAA29399; Thu, 18 Nov 1999 18:20:25 -0700 (MST) Message-Id: <199911190120.SAA29399@harmony.village.org> To: Matthew Dillon Subject: Re: PATCH for testing Cc: Alex Zepeda , Andreas Klemm , David Greenman , Sean Eric Fagan , current@FreeBSD.ORG In-reply-to: Your message of "Thu, 18 Nov 1999 17:04:20 PST." <199911190104.RAA88682@apollo.backplane.com> References: <199911190104.RAA88682@apollo.backplane.com> <199911181924.MAA27434@harmony.village.org> Date: Thu, 18 Nov 1999 18:20:25 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199911190104.RAA88682@apollo.backplane.com> Matthew Dillon writes: : I am all for removing -e, but I don't really like the idea of making : it optional nor do I like the idea of trying to maintain the capability : for the user's own processes - that simply makes the code even more : complex then it already is. The danger is that the option exists in : the first place. I'm not for removing -e. It is useful to root for debugging. If ps can get this info from procfs, procfs could effectively enforce this restriction. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 17:24: 0 1999 Delivered-To: freebsd-current@freebsd.org Received: from kithrup.com (kithrup.com [205.179.156.40]) by hub.freebsd.org (Postfix) with ESMTP id 06BE415554 for ; Thu, 18 Nov 1999 17:23:58 -0800 (PST) (envelope-from sef@kithrup.com) Received: (from sef@localhost) by kithrup.com (8.8.8/8.8.8) id RAA20184; Thu, 18 Nov 1999 17:23:58 -0800 (PST) (envelope-from sef) Date: Thu, 18 Nov 1999 17:23:58 -0800 (PST) From: Sean Eric Fagan Message-Id: <199911190123.RAA20184@kithrup.com> To: current@freebsd.org Reply-To: current@freebsd.org Subject: Re: PATCH for testing In-Reply-To: <199911190104.RAA88682.kithrup.freebsd.current@apollo.backplane.com> References: <199911181924.MAA27434@harmony.village.org> Organization: Kithrup Enterprises, Ltd. Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <199911190104.RAA88682.kithrup.freebsd.current@apollo.backplane.com> you write: > I am all for removing -e, but I don't really like the idea of making > it optional nor do I like the idea of trying to maintain the capability > for the user's own processes - that simply makes the code even more > complex then it already is. The danger is that the option exists in > the first place. I both do and do not want it to be removed. The code _does not_ need to be more complex, as procfs already implements the correct restrictions. (Simply dropping the SGID bit off of ps(1), and teaching it to use procfs only, will do it; dropping the SGID bit, and having it use /proc//mem instead of /dev/kmem, will do the same thing. I believe; I don't know ps well enough to figure this all out yet, but that was certainly one of my goals when I wrote the bloody thing.) P.S. You see that Reply-To: line in the header? It's there for a reason. If you must override it, don't send it to both me and the list. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 18:49: 9 1999 Delivered-To: freebsd-current@freebsd.org Received: from nowcool.dhs.org (fx3-1-031.mgfairfax.rr.com [24.28.200.31]) by hub.freebsd.org (Postfix) with ESMTP id 5D413151D2 for ; Thu, 18 Nov 1999 18:49:01 -0800 (PST) (envelope-from freebsd@nowcool.dhs.org) Received: from localhost (freebsd@localhost) by nowcool.dhs.org (8.9.3/8.9.3) with ESMTP id VAA00448 for ; Thu, 18 Nov 1999 21:49:00 -0500 (EST) (envelope-from freebsd@nowcool.dhs.org) Date: Thu, 18 Nov 1999 21:49:00 -0500 (EST) From: Byung Yang To: freebsd-current@freebsd.org Subject: cpu name Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG supped && made world a min ago: check out the CPU: name I am using AMD K6-2 333Mhz Byung ----------------------------------------------------------- Copyright (c) 1992-1999 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #0: Thu Nov 18 21:23:27 EST 1999 byung@nowcool.dhs.org:/usr/src/sys/compile/NOWCOOL Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 334400765 Hz CPU: \^E (334.40-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x580 Stepping = 0 Features=0x8001bf AMD Features=0x80000800 real memory = 67100672 (65528K bytes) avail memory = 62357504 (60896K bytes) Preloaded elf kernel "kernel" at 0xc029f000. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 19:59:45 1999 Delivered-To: freebsd-current@freebsd.org Received: from lor.watermarkgroup.com (lor.watermarkgroup.com [207.202.73.33]) by hub.freebsd.org (Postfix) with ESMTP id D3C0B15282 for ; Thu, 18 Nov 1999 19:59:43 -0800 (PST) (envelope-from luoqi@watermarkgroup.com) Received: (from luoqi@localhost) by lor.watermarkgroup.com (8.8.8/8.8.8) id WAA06557; Thu, 18 Nov 1999 22:59:28 -0500 (EST) (envelope-from luoqi) Date: Thu, 18 Nov 1999 22:59:28 -0500 (EST) From: Luoqi Chen Message-Id: <199911190359.WAA06557@lor.watermarkgroup.com> To: dillon@apollo.backplane.com Subject: Re: init runs with console as control terminal? Cc: bde@zeta.org.au, current@FreeBSD.ORG, peter@netplex.com.au Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > no control terminal == no signals == no ^C'ing hung programs during > startup (for example, when you need to boot a machine without a working > network and sendmail and other programs stop the boot sequence in its > tracks trying to do DNS lookups). > > -Matt > Matthew Dillon > > Hmm, good point. So I still need to find a way to start up rc5des, it seems that rc5des installs a SIGHUP handler and therefore nohup is useless. I wish there were a noctty... -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 20: 2:20 1999 Delivered-To: freebsd-current@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 6AB6F15282 for ; Thu, 18 Nov 1999 20:02:18 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id UAA90075; Thu, 18 Nov 1999 20:02:01 -0800 (PST) (envelope-from dillon) Date: Thu, 18 Nov 1999 20:02:01 -0800 (PST) From: Matthew Dillon Message-Id: <199911190402.UAA90075@apollo.backplane.com> To: Luoqi Chen Cc: bde@zeta.org.au, current@FreeBSD.ORG, peter@netplex.com.au Subject: Re: init runs with console as control terminal? References: <199911190359.WAA06557@lor.watermarkgroup.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG : :> no control terminal == no signals == no ^C'ing hung programs during :> startup (for example, when you need to boot a machine without a working :> network and sendmail and other programs stop the boot sequence in its :> tracks trying to do DNS lookups). :> :> -Matt :> Matthew Dillon :> :> :Hmm, good point. So I still need to find a way to start up rc5des, it seems :that rc5des installs a SIGHUP handler and therefore nohup is useless. I wish :there were a noctty... : :-lq Your wish is my command ... I needed the same thing for BEST for many things. I call the program 'notty'. Included below. -Matt Matthew Dillon /* * NOTTY.C * * NOTTY [-012] */ #include #include #include #include #include #include #include #include #include main(ac, av) char *av[]; { char *opts = ""; int ttyfd; if (av[1]) { if (av[1][0] == '-') { opts = av[1]; ++av; } } ttyfd = open("/dev/null", O_RDWR); if (strchr(opts, '0') == NULL && ttyfd != 0) dup2(ttyfd, 0); if (strchr(opts, '1') == NULL && ttyfd != 1) dup2(ttyfd, 1); if (strchr(opts, '2') == NULL && ttyfd != 2) dup2(ttyfd, 2); if (ttyfd > 2) close(ttyfd); { int fd = open("/dev/tty", O_RDWR); if (fd >= 0) { ioctl(fd, TIOCNOTTY, 0); close(fd); } } /* signal(SIGCHLD, SIG_IGN); */ if (fork() == 0) { setpgrp(); exit(execvp(av[1], av + 1)); } exit(0); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 20:55:41 1999 Delivered-To: freebsd-current@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id 13F0E155E8 for ; Thu, 18 Nov 1999 20:55:31 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 332DD1CA0 for ; Fri, 19 Nov 1999 12:55:29 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.0.2 2/24/98 To: current@freebsd.org Subject: Re: PATCH for testing In-reply-to: Your message of "Thu, 18 Nov 1999 17:23:58 PST." <199911190123.RAA20184@kithrup.com> Date: Fri, 19 Nov 1999 12:55:29 +0800 From: Peter Wemm Message-Id: <19991119045529.332DD1CA0@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sean Eric Fagan wrote: > In article <199911190104.RAA88682.kithrup.freebsd.current@apollo.backplane.co m> you write: > > I am all for removing -e, but I don't really like the idea of making > > it optional nor do I like the idea of trying to maintain the capability > > for the user's own processes - that simply makes the code even more > > complex then it already is. The danger is that the option exists in > > the first place. > > I both do and do not want it to be removed. > > The code _does not_ need to be more complex, as procfs already implements the > correct restrictions. (Simply dropping the SGID bit off of ps(1), and > teaching it to use procfs only, will do it; dropping the SGID bit, and having > it use /proc//mem instead of /dev/kmem, will do the same thing. I > believe; I don't know ps well enough to figure this all out yet, but that was > certainly one of my goals when I wrote the bloody thing.) Well, it's already done. It (ps) hasn't used /dev/kmem for a Very Long Time. The only thing it used procfs for was the argv, envp and getting p_stats from the user struct. The code to get p_stats via procfs has been directly implicated in causing panics and crashes, so it (ps) gets it with the sysctl it uses to get the rest of the information. The sole user of / proc in ps now is to get the envp, and ps is no longer setgid. ps now depends on /proc's permissions enforcement to allow access to /proc/*/mem for getting envp for processes that the user owns. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 21: 8:30 1999 Delivered-To: freebsd-current@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id A2B7D15260 for ; Thu, 18 Nov 1999 21:08:28 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id AAA43114; Fri, 19 Nov 1999 00:08:25 -0500 (EST) (envelope-from wollman) Date: Fri, 19 Nov 1999 00:08:25 -0500 (EST) From: Garrett Wollman Message-Id: <199911190508.AAA43114@khavrinen.lcs.mit.edu> To: Luoqi Chen Cc: current@FreeBSD.ORG Subject: Re: init runs with console as control terminal? In-Reply-To: <199911190359.WAA06557@lor.watermarkgroup.com> References: <199911190359.WAA06557@lor.watermarkgroup.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG < said: > Hmm, good point. So I still need to find a way to start up rc5des, it seems > that rc5des installs a SIGHUP handler and therefore nohup is > useless. Bug the authors to fix it? daemon(3) is provided for a reason! Here's my version of a simple daemonizing program.... Neither TIOCNOTTY nor setpgid() is sufficient to detach from a terminal session in a POSIX environment; setsid() is required. daemon(3) does a nice job of encapsulating this along with the other more obvious prerequisites. ------------------------------------ #include #include #include int main(int argv, char *argv) { static char *shargs[4] = { "sh", "-c" }; if (argv[1] == 0 || argv[2] != 0) errx(1, "must specify exactly one argument"); if (daemon(1, 0) < 0) err(1, "daemon"); shargs[2] = argv[1]; execv("/bin/sh", shargs); /* * Not much point in printing an error message since the tty * is already gone. It doesn't really matter what we return * here, either, since the only one waiting is init. */ return 1; } ------------------------------------ -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 21:29:33 1999 Delivered-To: freebsd-current@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id 5B0C815072 for ; Thu, 18 Nov 1999 21:29:28 -0800 (PST) (envelope-from dcs@newsguy.com) Received: from newsguy.com (p22-dn01kiryunisiki.gunma.ocn.ne.jp [210.132.6.151]) by peach.ocn.ne.jp (8.9.1a/OCN) with ESMTP id OAA07883; Fri, 19 Nov 1999 14:28:22 +0900 (JST) Message-ID: <3834DF68.7F44C97A@newsguy.com> Date: Fri, 19 Nov 1999 14:26:00 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR,ja MIME-Version: 1.0 To: Jag Cc: Alexander Langer , freebsd-current@FreeBSD.ORG Subject: Re: How to upgrade from 3.3 to 4 - Clarification please! References: <38342ACA.BD107EB2@gc.lviv.ua> <19991118175300.A2032@cichlids.cichlids.com> <38345B82.206B7286@ludd.luth.se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG People, 1) Search -current archives if you are new to the list. 2) See that /usr/src/UPDATING file? READ IT! Handbook&FreeBSD diary are *NOT* the kind of resource you resort to if you want to run -current. Things in -current have not been documented because they are happening here and now. And if you are not subscribed to cvs-all and _reading it_, back off from -current. Simply put, -current is not for users, and users are not supported. Heck, nobody is supported, people are expected to bring their own support with them. :-) -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org "Then again maybe not going to heaven would be a blessing. Relkin liked a certain amount of peace and harmony, since there'd been a pronounced shortage of them in his own life; however, nothing but peace and harmony, forever and forever? He wasn't sure about that. And no beer? Very dubious proposition." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 21:50:21 1999 Delivered-To: freebsd-current@freebsd.org Received: from smtp04.nwnexus.com (smtp04.nwnexus.com [206.63.63.52]) by hub.freebsd.org (Postfix) with ESMTP id 942151563F for ; Thu, 18 Nov 1999 21:50:04 -0800 (PST) (envelope-from wrsomsky@halcyon.com) Received: from gramarye (evt-lx100-ip27.nwnexus.net [204.57.235.27]) by smtp04.nwnexus.com (8.8.8/8.8.8) with ESMTP id VAA00279; Thu, 18 Nov 1999 21:50:01 -0800 (PST) Received: (from wrsomsky@localhost) by gramarye (8.9.3/8.9.3) id VAA67877; Thu, 18 Nov 1999 21:47:45 -0800 (PST) (envelope-from wrsomsky) Date: Thu, 18 Nov 1999 21:47:39 -0800 From: "William R. Somsky" To: A.Leidinger@WJPServer.CS.Uni-SB.de Cc: archie@whistle.com, current@FreeBSD.ORG Subject: Re: "man" reads /etc/rc.conf? Message-ID: <19991118214739.A67672@gramarye.halcyon.com> References: <199911092127.NAA35683@bubba.whistle.com> <199911101247.NAA01228@work.net.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <199911101247.NAA01228@work.net.local>; from A.Leidinger@WJPServer.CS.Uni-SB.de on Wed, Nov 10, 1999 at 01:47:46PM +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Nov 10, 1999 at 01:47:46PM +0100, A.Leidinger@WJPServer.CS.Uni-SB.de wrote: > > /usr/bin/apropos contains: > ---snip--- > # If possible check global system configuration file for additional > # man locales installed > if [ -r /etc/defaults/rc.conf ] ; then > . /etc/defaults/rc.conf > elif [ -r /etc/rc.conf ] ; then > . /etc/rc.conf > fi > ---snip--- > Hmm... aside from whether or not apropos should be reading in rc.conf, isn't this code fragment doing the wrong thing in regards to the way we have /etc/defaults/rc.conf and /etc/rc.conf setup nowadays? Shouldn't it read _both_ if present? Ie: if [ -r /etc/defaults/rc.conf ] ; then . /etc/defaults/rc.conf fi if [ -r /etc/rc.conf ] ; then . /etc/rc.conf fi ________________________________________________________________________ William R. Somsky wrsomsky@halcyon.com Physicist, Baritone, Guitarist http://www.halcyon.com/wrsomsky To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 23:16: 5 1999 Delivered-To: freebsd-current@freebsd.org Received: from mta3.snfc21.pbi.net (mta3.snfc21.pbi.net [206.13.28.141]) by hub.freebsd.org (Postfix) with ESMTP id 221661508E for ; Thu, 18 Nov 1999 23:16:01 -0800 (PST) (envelope-from jazepeda@pacbell.net) Received: from zippy.dyn.ml.org ([207.214.149.154]) by mta3.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.1999.09.16.21.57.p8) with ESMTP id <0FLF002XMO1GS9@mta3.snfc21.pbi.net> for current@FreeBSD.ORG; Thu, 18 Nov 1999 23:13:02 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zippy.dyn.ml.org (Postfix) with ESMTP id 1FACB91561; Thu, 18 Nov 1999 23:12:53 -0800 (PST) Date: Thu, 18 Nov 1999 23:12:53 -0800 (PST) From: Alex Zepeda Subject: Re: PATCH for testing In-reply-to: <199911181924.MAA27434@harmony.village.org> To: Warner Losh Cc: Andreas Klemm , David Greenman , Matthew Dillon , Sean Eric Fagan , current@FreeBSD.ORG Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 18 Nov 1999, Warner Losh wrote: > In message Alex Zepeda writes: > : Or perhaps restricting -U to root only? Since -e w/out -U isn't harmful, > : no? > > -e w/o -U is still harmful. ps -e w/out -U only shows variables for processes owned by that user, no? - alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 23:21:27 1999 Delivered-To: freebsd-current@freebsd.org Received: from picalon.gun.de (picalon.gun.de [192.109.159.1]) by hub.freebsd.org (Postfix) with ESMTP id 0F62415592 for ; Thu, 18 Nov 1999 23:21:18 -0800 (PST) (envelope-from andreas@klemm.gtn.com) Received: from klemm.gtn.com (pppak04.gtn.com [194.231.123.169]) by picalon.gun.de (8.9.3/8.9.3) with ESMTP id IAA14670; Fri, 19 Nov 1999 08:21:09 +0100 (MET) Received: (from andreas@localhost) by klemm.gtn.com (8.9.3/8.9.3) id IAA02250; Fri, 19 Nov 1999 08:20:54 +0100 (CET) (envelope-from andreas) Date: Fri, 19 Nov 1999 08:20:54 +0100 From: Andreas Klemm To: Matthew Dillon Cc: Warner Losh , Alex Zepeda , Andreas Klemm , David Greenman , Sean Eric Fagan , current@FreeBSD.ORG Subject: Re: PATCH for testing Message-ID: <19991119082054.A840@titan.klemm.gtn.com> References: <199911181924.MAA27434@harmony.village.org> <199911190104.RAA88682@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre1i In-Reply-To: <199911190104.RAA88682@apollo.backplane.com> X-Operating-System: FreeBSD 3.3-STABLE SMP X-Disclaimer: A free society is one where it is safe to be unpopular Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Nov 18, 1999 at 05:04:20PM -0800, Matthew Dillon wrote: > I am all for removing -e, but I don't really like the idea of making > it optional nor do I like the idea of trying to maintain the capability > for the user's own processes - that simply makes the code even more > complex then it already is. The danger is that the option exists in > the first place. Though I respect your statement about code complexity I'm not for removing the option, which has been available to the ps command for such a long time and definitively is a useful debugging tool (for root !). This would create a major difference to the other BSD's which is not easily understandable. "ps -e" and "ps -e -U" is useful for debugging purposes, so it should simply be restricted to root as it has been done for putting a network device into promiscous mode or other things. By simply removing it (without thinking about alternatives) I think FreeBSD looses some points ... I thought we were the team that doesn't do radical changes without a good reason ;-) Security is a good reason. But simply removing it without restricting it is in my opineon not a good style. Another alternative to restricting it to root would be, to combine it with the security level, that we can configure in rc.conf. But that's only an idea, I personally don't like magic things to happen, only because I raised a security level by one. Andreas /// -- Andreas Klemm http://www.FreeBSD.ORG/~andreas http://www.freebsd.org/~fsmp/SMP/SMP.html powered by Symmetric MultiProcessor FreeBSD Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 23:25:39 1999 Delivered-To: freebsd-current@freebsd.org Received: from smtp03.wxs.nl (smtp03.wxs.nl [195.121.6.37]) by hub.freebsd.org (Postfix) with ESMTP id 3BD7715592 for ; Thu, 18 Nov 1999 23:25:34 -0800 (PST) (envelope-from asmodai@wxs.nl) Received: from daemon.ninth-circle.org ([195.121.196.97]) by smtp03.wxs.nl (Netscape Messaging Server 3.61) with ESMTP id AAA4642; Fri, 19 Nov 1999 08:25:33 +0100 Received: (from asmodai@localhost) by daemon.ninth-circle.org (8.9.3/8.9.3) id HAA37638; Fri, 19 Nov 1999 07:32:56 +0100 (CET) (envelope-from asmodai) Date: Fri, 19 Nov 1999 07:32:55 +0100 From: Jeroen Ruigrok/Asmodai To: Byung Yang Cc: freebsd-current@freebsd.org Subject: Re: cpu name Message-ID: <19991119073255.A37588@daemon.ninth-circle.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: Organisation: Ninth-Circle Enterprises Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -On [19991119 04:02], Byung Yang (freebsd@nowcool.dhs.org) wrote: >supped && made world a min ago: >check out the CPU: name >I am using AMD K6-2 333Mhz >----------------------------------------------------------- >CPU: \^E (334.40-MHz 586-class CPU) > Origin = "AuthenticAMD" Id = 0x580 Stepping = 0 > Features=0x8001bf > AMD Features=0x80000800 I made world yesterday morning on two boxes, both are GenuineIntel and have no problems whatsoever. Looking at /usr/src/sys/i386/i386/identcpu.c I see that the 0x580 is: case 0x580: strcat(cpu_model, "K6-2"); break; Which gets copied into: printf("CPU: "); strncpy(cpu_model, i386_cpus[cpu].cpu_name, sizeof cpu_model); But I can't find anything remotely related that would corrupt the strncpy to print \^E. -- Jeroen Ruigrok van der Werven/Asmodai asmodai(at)wxs.nl The BSD Programmer's Documentation Project Network/Security Specialist BSD: Technical excellence at its best I succeed him; no one could replace him. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 23:28:49 1999 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 2D69E15201 for ; Thu, 18 Nov 1999 23:28:45 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id AAA14272; Fri, 19 Nov 1999 00:28:43 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id AAA31229; Fri, 19 Nov 1999 00:29:17 -0700 (MST) Message-Id: <199911190729.AAA31229@harmony.village.org> To: Alex Zepeda Subject: Re: PATCH for testing Cc: Andreas Klemm , David Greenman , Matthew Dillon , Sean Eric Fagan , current@FreeBSD.ORG In-reply-to: Your message of "Thu, 18 Nov 1999 23:12:53 PST." References: Date: Fri, 19 Nov 1999 00:29:16 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Alex Zepeda writes: : ps -e w/out -U only shows variables for processes owned by that user, no? ps -ea. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 23:30:50 1999 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id F017915731 for ; Thu, 18 Nov 1999 23:30:27 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id AAA14288; Fri, 19 Nov 1999 00:30:26 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id AAA31261; Fri, 19 Nov 1999 00:31:00 -0700 (MST) Message-Id: <199911190731.AAA31261@harmony.village.org> To: Andreas Klemm Subject: Re: PATCH for testing Cc: current@FreeBSD.ORG In-reply-to: Your message of "Fri, 19 Nov 1999 08:20:54 +0100." <19991119082054.A840@titan.klemm.gtn.com> References: <19991119082054.A840@titan.klemm.gtn.com> <199911181924.MAA27434@harmony.village.org> <199911190104.RAA88682@apollo.backplane.com> Date: Fri, 19 Nov 1999 00:31:00 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <19991119082054.A840@titan.klemm.gtn.com> Andreas Klemm writes: : By simply removing it (without thinking about alternatives) I : think FreeBSD looses some points ... I thought we were the team : that doesn't do radical changes without a good reason ;-) That's why I'm not in favor of removing it. That's far too radical. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 23:32:53 1999 Delivered-To: freebsd-current@freebsd.org Received: from ns.uninet.ee (ns.uninet.ee [194.204.0.1]) by hub.freebsd.org (Postfix) with ESMTP id B3C3015201 for ; Thu, 18 Nov 1999 23:32:46 -0800 (PST) (envelope-from taavi@uninet.ee) Received: by ns.uninet.ee (Postfix, from userid 1001) id 4B77025817; Fri, 19 Nov 1999 09:32:45 +0200 (EET) Received: from localhost (localhost [127.0.0.1]) by ns.uninet.ee (Postfix) with SMTP id 4675414A10 for ; Fri, 19 Nov 1999 09:32:45 +0200 (EET) Date: Fri, 19 Nov 1999 09:32:45 +0200 (EET) From: Taavi Talvik To: current@freebsd.org Subject: Current hangs when dump is run? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Current seems to hangs, when amanda tries to run dump. This appeared approximately 2 weeks ago, and is present in yesterdays current also. #0 0xc013daa4 in boot () (kgdb) bt #0 0xc013daa4 in boot () #1 0xc013de41 in panic () #2 0xc011d739 in db_panic () #3 0xc011d6d9 in db_command () #4 0xc011d79e in db_command_loop () #5 0xc011f82f in db_trap () #6 0xc02011fb in kdb_trap () #7 0xc020f444 in trap () #8 0xc0201457 in Debugger () #9 0xc01fcb12 in scgetc () #10 0xc01f827d in sckbdevent () #11 0xc01f1a9b in atkbd_intr () #12 0xc021cd84 in atkbd_isa_intr () #13 0xc0202fe2 in vec1 () #14 0xc0140a55 in tsleep () #15 0xc0146889 in diskopen () #16 0xc0170251 in spec_open () #17 0xc017014d in spec_vnoperate () #18 0xc01bb579 in ufs_vnoperatespec () #19 0xc016a57c in vn_open () #20 0xc01669dd in open () #21 0xc020fd12 in syscall () #22 0xc0201b06 in Xint0x80_syscall () #23 0x804b91a in ?? () #24 0x804b6b3 in ?? () #25 0x80491c0 in ?? () and ps shows [127:0] taavi@tt:/var/crash #ps -raxwu -M vmcore.4 -N kernel.4 USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND amanda 380 99.0 0.0 628 0 ?? R 1Jan70 0:00.00 (dump) root 1 0.0 0.0 516 0 ?? ILs 1Jan70 0:00.02 /sbin/init -- root 2 0.0 0.0 0 0 ?? RL 1Jan70 0:00.01 (pagedaemon) root 3 0.0 0.0 0 0 ?? DL 1Jan70 0:00.00 (vmdaemon) root 4 0.0 0.0 0 0 ?? RL 1Jan70 0:00.01 (bufdaemon) root 5 0.0 0.0 0 0 ?? RL 1Jan70 0:00.28 (syncer) ..... I have kernel and core saved, if someone needs them. best regards, taavi ----------------------------------------------------------- Taavi Talvik | Internet: taavi@uninet.ee Unineti Andmeside AS | phone: +372 6405150 Ravala pst. 10 | fax: +372 6405151 Tallinn 10143, Estonia | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 23:34:48 1999 Delivered-To: freebsd-current@freebsd.org Received: from mta4.snfc21.pbi.net (mta4.snfc21.pbi.net [206.13.28.142]) by hub.freebsd.org (Postfix) with ESMTP id F13E214DCB for ; Thu, 18 Nov 1999 23:34:44 -0800 (PST) (envelope-from jazepeda@pacbell.net) Received: from zippy.dyn.ml.org ([207.214.149.154]) by mta4.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.1999.09.16.21.57.p8) with ESMTP id <0FLF00DKLOX9LC@mta4.snfc21.pbi.net> for current@FreeBSD.ORG; Thu, 18 Nov 1999 23:32:00 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zippy.dyn.ml.org (Postfix) with ESMTP id DF2F29154E; Thu, 18 Nov 1999 23:31:58 -0800 (PST) Date: Thu, 18 Nov 1999 23:31:58 -0800 (PST) From: Alex Zepeda Subject: Re: PATCH for testing In-reply-to: <199911190729.AAA31229@harmony.village.org> To: Warner Losh Cc: Andreas Klemm , David Greenman , Matthew Dillon , Sean Eric Fagan , current@FreeBSD.ORG Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 19 Nov 1999, Warner Losh wrote: > In message Alex Zepeda writes: > : ps -e w/out -U only shows variables for processes owned by that user, no? > > ps -ea. Then perhaps -a and -U should be disabled? *grin* - alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 23:37:58 1999 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id C293F155F9 for ; Thu, 18 Nov 1999 23:37:54 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id AAA14324; Fri, 19 Nov 1999 00:37:53 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id AAA31331; Fri, 19 Nov 1999 00:38:27 -0700 (MST) Message-Id: <199911190738.AAA31331@harmony.village.org> To: Alex Zepeda Subject: Re: PATCH for testing Cc: current@FreeBSD.ORG In-reply-to: Your message of "Thu, 18 Nov 1999 23:31:58 PST." References: Date: Fri, 19 Nov 1999 00:38:26 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Alex Zepeda writes: : Then perhaps -a and -U should be disabled? *grin* No. -e, -a, -U are all use for the sysadmin. They can provide sensitive information, so should have sensible access policies placed upon their use. While the current set of access policies may be less than idea, it doesn't militate for their complete removal. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 23:40:30 1999 Delivered-To: freebsd-current@freebsd.org Received: from mta3.snfc21.pbi.net (mta3.snfc21.pbi.net [206.13.28.141]) by hub.freebsd.org (Postfix) with ESMTP id B71D414DCB for ; Thu, 18 Nov 1999 23:40:28 -0800 (PST) (envelope-from jazepeda@pacbell.net) Received: from zippy.dyn.ml.org ([207.214.149.154]) by mta3.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.1999.09.16.21.57.p8) with ESMTP id <0FLF0026ZP9PS1@mta3.snfc21.pbi.net> for current@FreeBSD.ORG; Thu, 18 Nov 1999 23:39:28 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zippy.dyn.ml.org (Postfix) with ESMTP id 611899154E; Thu, 18 Nov 1999 23:39:25 -0800 (PST) Date: Thu, 18 Nov 1999 23:39:25 -0800 (PST) From: Alex Zepeda Subject: Re: PATCH for testing In-reply-to: <199911190738.AAA31331@harmony.village.org> To: Warner Losh Cc: current@FreeBSD.ORG Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 19 Nov 1999, Warner Losh wrote: > In message Alex Zepeda writes: > : Then perhaps -a and -U should be disabled? *grin* > > No. -e, -a, -U are all use for the sysadmin. They can provide > sensitive information, so should have sensible access policies placed > upon their use. While the current set of access policies may be less > than idea, it doesn't militate for their complete removal. Erk. That came out wrong. I meant removal for non root or perhaps non gid wheel? or somesuch. - alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 23:42: 0 1999 Delivered-To: freebsd-current@freebsd.org Received: from uni-sb.de (uni-sb.de [134.96.252.33]) by hub.freebsd.org (Postfix) with ESMTP id 8239F14DCB for ; Thu, 18 Nov 1999 23:41:54 -0800 (PST) (envelope-from netchild@wurzelausix.CS.Uni-SB.DE) Received: from cs.uni-sb.de (cs.uni-sb.de [134.96.252.31]) by uni-sb.de (8.9.3/1999070600) with ESMTP id IAA27447; Fri, 19 Nov 1999 08:41:41 +0100 (CET) Received: from wurzelausix.cs.uni-sb.de (wurzelausix.cs.uni-sb.de [134.96.247.1]) by cs.uni-sb.de (8.9.3/1999031900) with ESMTP id IAA28576; Fri, 19 Nov 1999 08:41:41 +0100 (CET) Received: from wurzelausix.cs.uni-sb.de (IDENT:BfSRcLwTju+9HOv/PlLNly5KBdr68rcO@localhost [127.0.0.1]) by wurzelausix.cs.uni-sb.de (8.9.1/8.9.1/wjp-SVR4/1998063000) with ESMTP id IAA28703; Fri, 19 Nov 1999 08:41:35 +0100 (CET) Message-Id: <199911190741.IAA28703@wurzelausix.cs.uni-sb.de> Date: Fri, 19 Nov 1999 08:41:30 +0100 (CET) From: Alexander Leidinger Subject: Re: "man" reads /etc/rc.conf? To: wrsomsky@halcyon.com Cc: A.Leidinger@wurzelausix.CS.Uni-SB.DE, archie@whistle.com, current@FreeBSD.ORG In-Reply-To: <19991118214739.A67672@gramarye.halcyon.com> MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 18 Nov, William R. Somsky wrote: > Hmm... aside from whether or not apropos should be reading in rc.conf, > isn't this code fragment doing the wrong thing in regards to the way > we have /etc/defaults/rc.conf and /etc/rc.conf setup nowadays? No, look at the last lines of /etc/defaults/rc.conf and also search for rc_conf_files in it. Bye, Alexander. -- Actually, a more important date is January 1, 2000, when many computer programs across the world could break. Richard W. Stevens, Advanced Programming in the UNIX Environment, _1993_ http://netchild.home.pages.de A.Leidinger @ WJPServer.CS.Uni-SB.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 23:46:45 1999 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 1F5EC150F5 for ; Thu, 18 Nov 1999 23:46:42 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id AAA14371; Fri, 19 Nov 1999 00:46:41 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id AAA31423; Fri, 19 Nov 1999 00:47:15 -0700 (MST) Message-Id: <199911190747.AAA31423@harmony.village.org> To: Alex Zepeda Subject: Re: PATCH for testing Cc: current@FreeBSD.ORG In-reply-to: Your message of "Thu, 18 Nov 1999 23:39:25 PST." References: Date: Fri, 19 Nov 1999 00:47:15 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Alex Zepeda writes: : Erk. That came out wrong. I meant removal for non root or : perhaps non gid wheel? or somesuch. Actually, you wanna do access control like procfs does (will do?) for its cmdline file. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Nov 18 23:56:26 1999 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id 5931B14E54 for ; Thu, 18 Nov 1999 23:56:18 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.2) with ESMTP id IAA03179; Fri, 19 Nov 1999 08:56:04 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Taavi Talvik Cc: current@FreeBSD.ORG Subject: Re: Current hangs when dump is run? In-reply-to: Your message of "Fri, 19 Nov 1999 09:32:45 +0200." Date: Fri, 19 Nov 1999 08:56:03 +0100 Message-ID: <3177.942998163@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If you're using the ata driver, please remove the ad_sleep() call at the bottom of the adopen() in ata-disk.c and see if that helps you. Poul-Henning In message , Taavi Talvi k writes: > >Current seems to hangs, when amanda tries to run dump. >This appeared approximately 2 weeks ago, and is present in >yesterdays current also. > >#0 0xc013daa4 in boot () >(kgdb) bt >#0 0xc013daa4 in boot () >#1 0xc013de41 in panic () >#2 0xc011d739 in db_panic () >#3 0xc011d6d9 in db_command () >#4 0xc011d79e in db_command_loop () >#5 0xc011f82f in db_trap () >#6 0xc02011fb in kdb_trap () >#7 0xc020f444 in trap () >#8 0xc0201457 in Debugger () >#9 0xc01fcb12 in scgetc () >#10 0xc01f827d in sckbdevent () >#11 0xc01f1a9b in atkbd_intr () >#12 0xc021cd84 in atkbd_isa_intr () >#13 0xc0202fe2 in vec1 () >#14 0xc0140a55 in tsleep () >#15 0xc0146889 in diskopen () >#16 0xc0170251 in spec_open () >#17 0xc017014d in spec_vnoperate () >#18 0xc01bb579 in ufs_vnoperatespec () >#19 0xc016a57c in vn_open () >#20 0xc01669dd in open () >#21 0xc020fd12 in syscall () >#22 0xc0201b06 in Xint0x80_syscall () >#23 0x804b91a in ?? () >#24 0x804b6b3 in ?? () >#25 0x80491c0 in ?? () > >and ps shows >[127:0] taavi@tt:/var/crash #ps -raxwu -M vmcore.4 -N kernel.4 >USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND >amanda 380 99.0 0.0 628 0 ?? R 1Jan70 0:00.00 (dump) >root 1 0.0 0.0 516 0 ?? ILs 1Jan70 0:00.02 /sbin/init >-- >root 2 0.0 0.0 0 0 ?? RL 1Jan70 0:00.01 >(pagedaemon) >root 3 0.0 0.0 0 0 ?? DL 1Jan70 0:00.00 (vmdaemon) >root 4 0.0 0.0 0 0 ?? RL 1Jan70 0:00.01 (bufdaemon) >root 5 0.0 0.0 0 0 ?? RL 1Jan70 0:00.28 (syncer) >..... > >I have kernel and core saved, if someone needs them. > >best regards, >taavi >----------------------------------------------------------- >Taavi Talvik | Internet: taavi@uninet.ee >Unineti Andmeside AS | phone: +372 6405150 >Ravala pst. 10 | fax: +372 6405151 >Tallinn 10143, Estonia | > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-current" in the body of the message > -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 0:30:47 1999 Delivered-To: freebsd-current@freebsd.org Received: from smtp04.nwnexus.com (smtp04.nwnexus.com [206.63.63.52]) by hub.freebsd.org (Postfix) with ESMTP id 23070155B1 for ; Fri, 19 Nov 1999 00:30:44 -0800 (PST) (envelope-from wrsomsky@halcyon.com) Received: from gramarye (evt-lx100-ip43.nwnexus.net [204.57.235.43]) by smtp04.nwnexus.com (8.8.8/8.8.8) with ESMTP id AAA03319; Fri, 19 Nov 1999 00:30:35 -0800 (PST) Received: (from wrsomsky@localhost) by gramarye (8.9.3/8.9.3) id AAA57328; Fri, 19 Nov 1999 00:26:34 -0800 (PST) (envelope-from wrsomsky) Date: Fri, 19 Nov 1999 00:26:27 -0800 From: "William R. Somsky" To: Alexander Leidinger Cc: wrsomsky@halcyon.com, A.Leidinger@wurzelausix.CS.Uni-SB.DE, archie@whistle.com, current@FreeBSD.ORG Subject: Re: "man" reads /etc/rc.conf? Message-ID: <19991119002627.A57310@gramarye.halcyon.com> References: <19991118214739.A67672@gramarye.halcyon.com> <199911190741.IAA28703@wurzelausix.cs.uni-sb.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <199911190741.IAA28703@wurzelausix.cs.uni-sb.de>; from netchild@wurzelausix.CS.Uni-SB.DE on Fri, Nov 19, 1999 at 08:41:30AM +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Nov 19, 1999 at 08:41:30AM +0100, Alexander Leidinger wrote: > On 18 Nov, William R. Somsky wrote: > > > Hmm... aside from whether or not apropos should be reading in rc.conf, > > isn't this code fragment doing the wrong thing in regards to the way > > we have /etc/defaults/rc.conf and /etc/rc.conf setup nowadays? > > No, look at the last lines of /etc/defaults/rc.conf and also search for > rc_conf_files in it. Um... yeah... I knew that... at one time anyway... nevermind... ________________________________________________________________________ William R. Somsky wrsomsky@halcyon.com Physicist, Baritone, Guitarist http://www.halcyon.com/wrsomsky To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 0:40:52 1999 Delivered-To: freebsd-current@freebsd.org Received: from extra.gc.lviv.ua (extra.gc.lviv.ua [212.109.34.132]) by hub.freebsd.org (Postfix) with ESMTP id 0EED614E54 for ; Fri, 19 Nov 1999 00:40:34 -0800 (PST) (envelope-from vadim@gc.lviv.ua) Received: from gate.gc.lviv.ua (gate.gc.lviv.ua [192.168.168.18]) by extra.gc.lviv.ua (8.9.3/8.9.3) with ESMTP id KAA11762 for ; Fri, 19 Nov 1999 10:40:32 +0200 (EET) Received: from gc.lviv.ua (begemot.lviv.gc.com.ua [192.168.1.216]) by gate.gc.lviv.ua (8.9.3/8.9.3) with ESMTP id KAA27496 for ; Fri, 19 Nov 1999 10:40:31 +0200 (EET) Message-ID: <38350B87.E9DEE82@gc.lviv.ua> Date: Fri, 19 Nov 1999 10:34:15 +0200 From: Vadim Chekan Organization: Galitian Contracts X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-current@FreeBSD.ORG Subject: Re: How to upgrade from 3.3 to 4 References: <38342ACA.BD107EB2@gc.lviv.ua> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Vadim Chekan wrote: > > Hello everyone! > > I'm trying to update from 3.3-R to 4.0-current but without success. Thanks to all! Now I know what to do. 4.0 kernel is installed and is bootable. I need to chouse few hours to build world. Vadim Chekan. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 1: 0:56 1999 Delivered-To: freebsd-current@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id A180815171; Fri, 19 Nov 1999 01:00:49 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from salmon.nlsystems.com (salmon.nlsystems.com [10.0.0.3]) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id JAA16564; Fri, 19 Nov 1999 09:04:14 GMT (envelope-from dfr@nlsystems.com) Date: Fri, 19 Nov 1999 09:04:14 +0000 (GMT) From: Doug Rabson To: Roger Hardiman Cc: devel@XFree86.Org, current@freebsd.org, multimedia@freebsd.org Subject: Re: FreeBSD version of DRM? In-Reply-To: <38344B05.41C6@cs.strath.ac.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 18 Nov 1999, Roger Hardiman wrote: > Hi Daryll, > > > is anyone interested in porting it over to FreeBSD? > > I'm interested in porting Glide to FreeBSD. I've got a Voodoo 3 2000. I have a Voodoo 3 at work and I'm interested in porting the DRM (I can even justify doing it in work time). It probably won't be for a week or two since I have other stuff happening right now. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 1:13:59 1999 Delivered-To: freebsd-current@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id EBC8514CE3 for ; Fri, 19 Nov 1999 01:13:56 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (root@d60-025.leach.ucdavis.edu [169.237.60.25]) by relay.nuxi.com (8.9.3/8.9.3) with ESMTP id BAA12497; Fri, 19 Nov 1999 01:13:56 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.9.3/8.9.1) id BAA81443; Fri, 19 Nov 1999 01:13:54 -0800 (PST) (envelope-from obrien) Date: Fri, 19 Nov 1999 01:13:54 -0800 From: "David O'Brien" To: "David W. Chapman Jr." Cc: current@freebsd.org Subject: Re: Make world Message-ID: <19991119011354.A81410@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <00a601bf320c$bf73d8e0$0300a8c0@poseiden.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <00a601bf320c$bf73d8e0$0300a8c0@poseiden.org>; from dchapman@houabg.com on Thu, Nov 18, 1999 at 03:34:45PM -0600 X-Operating-System: FreeBSD 4.0-CURRENT Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > trib/gcc/config -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I. -fexceptions > -DIN_GCC -I/usr/obj/usr/src/tmp/usr/include -DL_divsi3 -o _divsi3.o /usr/src/gnu > /lib/libgcc/../../../contrib/gcc/libgcc1.c > cc1: Invalid option `-fexceptions' please add "-v" to your CFLAGS in /etc/make.conf and send the extra details. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 1:15:26 1999 Delivered-To: freebsd-current@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id 7C6A314CE3 for ; Fri, 19 Nov 1999 01:15:23 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (root@d60-025.leach.ucdavis.edu [169.237.60.25]) by relay.nuxi.com (8.9.3/8.9.3) with ESMTP id BAA12511; Fri, 19 Nov 1999 01:15:23 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.9.3/8.9.1) id BAA81457; Fri, 19 Nov 1999 01:15:22 -0800 (PST) (envelope-from obrien) Date: Fri, 19 Nov 1999 01:15:22 -0800 From: "David O'Brien" To: "Cameron, Frank" Cc: "'current@freebsd.org'" Subject: Re: Install Glitch Message-ID: <19991119011522.B81410@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <604CC98C4E6BD311AEF900A0C9EA54E1878B15@ctcjst-mail1.ctc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <604CC98C4E6BD311AEF900A0C9EA54E1878B15@ctcjst-mail1.ctc.com>; from cameron@ctc.com on Thu, Nov 18, 1999 at 06:28:43PM -0500 X-Operating-System: FreeBSD 4.0-CURRENT Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I just installed my first current box (19991115) and ran into a couple of > glitches with libraries and X. I installed the X-Kern-Developer and then > added some extras from custom. The errors I encountered (paraphrased) were: > > missing libc.so.3 and libtermcap.so.2. This is now a known problem. Please either grab the libs from a 3-STABLE snapshot, or email me and I'll email the ones I use. I am waiting a little bit longer before adding these libs to the compat3x collection. -- -- David (obrien@NUXI.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 1:19: 0 1999 Delivered-To: freebsd-current@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id 0B5AF14CE3 for ; Fri, 19 Nov 1999 01:18:57 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (root@d60-025.leach.ucdavis.edu [169.237.60.25]) by relay.nuxi.com (8.9.3/8.9.3) with ESMTP id BAA12533; Fri, 19 Nov 1999 01:18:57 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.9.3/8.9.1) id BAA81480; Fri, 19 Nov 1999 01:18:50 -0800 (PST) (envelope-from obrien) Date: Fri, 19 Nov 1999 01:18:50 -0800 From: "David O'Brien" To: Jag Cc: Alexander Langer , freebsd-current@freebsd.org Subject: Re: How to upgrade from 3.3 to 4 - Clarification please! Message-ID: <19991119011849.D81410@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <38342ACA.BD107EB2@gc.lviv.ua> <19991118175300.A2032@cichlids.cichlids.com> <38345B82.206B7286@ludd.luth.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <38345B82.206B7286@ludd.luth.se>; from watchman@ludd.luth.se on Thu, Nov 18, 1999 at 09:03:14PM +0100 X-Operating-System: FreeBSD 4.0-CURRENT Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Nov 18, 1999 at 09:03:14PM +0100, Jag wrote: > I have a 3.3-STABLE (SMP) system and I want to move to CURRENT. Please don't do that. > Do you mean that I should build a new kernel *before* I do buildworld? > Is that possible? You OBVIOUSLY have not read /usr/src/UPDATING nor this mailing list. Are you SURE you are prepaired to run -CURRENT? -- -- David (obrien@NUXI.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 1:20:59 1999 Delivered-To: freebsd-current@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id 4783F14CE3 for ; Fri, 19 Nov 1999 01:20:56 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (root@d60-025.leach.ucdavis.edu [169.237.60.25]) by relay.nuxi.com (8.9.3/8.9.3) with ESMTP id BAA12549; Fri, 19 Nov 1999 01:20:56 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.9.3/8.9.1) id BAA81494; Fri, 19 Nov 1999 01:20:55 -0800 (PST) (envelope-from obrien) Date: Fri, 19 Nov 1999 01:20:55 -0800 From: "David O'Brien" To: Vadim Chekan Cc: freebsd-current@freebsd.org Subject: Re: How to upgrade from 3.3 to 4 Message-ID: <19991119012055.E81410@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <38342ACA.BD107EB2@gc.lviv.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <38342ACA.BD107EB2@gc.lviv.ua>; from vadim@gc.lviv.ua on Thu, Nov 18, 1999 at 06:35:23PM +0200 X-Operating-System: FreeBSD 4.0-CURRENT Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I'm trying to update from 3.3-R to 4.0-current but without success. > cc every time died on the same place. Where are your D-E-T-A-I-L-S ??? Where did it die? Compiling /bin/false ? > When I try again cc died with message "Bad system call" Did you read /usr/src/UPDATING? Have you been reading this mailing list? Are you SURE you're prepaired to run -CURRENT? -- -- David (obrien@NUXI.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 2: 5:43 1999 Delivered-To: freebsd-current@freebsd.org Received: from extra.gc.lviv.ua (extra.gc.lviv.ua [212.109.34.132]) by hub.freebsd.org (Postfix) with ESMTP id 9D1BE155A0; Fri, 19 Nov 1999 02:05:10 -0800 (PST) (envelope-from vadim@gc.lviv.ua) Received: from gate.gc.lviv.ua (gate.gc.lviv.ua [192.168.168.18]) by extra.gc.lviv.ua (8.9.3/8.9.3) with ESMTP id MAA12096; Fri, 19 Nov 1999 12:04:55 +0200 (EET) Received: from gc.lviv.ua (begemot.lviv.gc.com.ua [192.168.1.216]) by gate.gc.lviv.ua (8.9.3/8.9.3) with ESMTP id MAA31498; Fri, 19 Nov 1999 12:04:43 +0200 (EET) Message-ID: <38351F42.7FCF4EF7@gc.lviv.ua> Date: Fri, 19 Nov 1999 11:58:26 +0200 From: Vadim Chekan Organization: Galitian Contracts X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: obrien@freebsd.org Cc: freebsd-current@freebsd.org Subject: Re: How to upgrade from 3.3 to 4 References: <38342ACA.BD107EB2@gc.lviv.ua> <19991119012055.E81410@dragon.nuxi.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David O'Brien wrote: > > > I'm trying to update from 3.3-R to 4.0-current but without success. > > cc every time died on the same place. > > Where are your D-E-T-A-I-L-S ??? Details which I describe was enough to get 4 replies. I supposed and I was right that where it die has nothing to deal with this problem. My mistake was in trying ususal way to upgrade. > Where did it die? Compiling /bin/false ? > > > When I try again cc died with message "Bad system call" > > Did you read /usr/src/UPDATING? Have you been reading this mailing list? > Are you SURE you're prepaired to run -CURRENT? Yes, Im shure. Yes, I know what for is 4 and what for it isn't. I tryed to find solution searching maillist, but found nothing. Maybe I miss somesing, but I didn't found any hint "how to jump from 3 to 4" in /usr/src/UPDATING Vadim Chekan. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 2:12:10 1999 Delivered-To: freebsd-current@freebsd.org Received: from ipt2.iptelecom.net.ua (ipt2.iptelecom.net.ua [212.9.224.2]) by hub.freebsd.org (Postfix) with ESMTP id 690BB155A0 for ; Fri, 19 Nov 1999 02:12:03 -0800 (PST) (envelope-from sobomax@altavista.net) Received: from vega.vega.com (dialup1-3.iptelecom.net.ua [212.9.226.3]) by ipt2.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id MAA23366; Fri, 19 Nov 1999 12:16:26 +0200 (EET) Received: from altavista.net (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.9.3/8.9.3) with ESMTP id MAA01096; Fri, 19 Nov 1999 12:11:28 +0200 (EET) (envelope-from sobomax@altavista.net) Message-ID: <3835224E.5E968B8D@altavista.net> Date: Fri, 19 Nov 1999 12:11:26 +0200 From: Maxim Sobolev Reply-To: sobomax@altavista.net Organization: Vega International Capital X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: Sheldon Hearn , current@freebsd.org Subject: Re: NewATA on ISA and PCI References: <30779.943000804@axl.noc.iafrica.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sheldon Hearn wrote: > On Fri, 19 Nov 1999 01:16:55 +0200, Maxim Sobolev wrote: > > > Does anybody can explain why kernel with NewATA driver booted on machine > > with ISA based IDE adapter trying to mount wd* as root f/s, while > > exactly *the same* kernel booted on PCI based mobo mounts ad* as root? > > /etc/fstab ? No, I do not talking about /etc/fstab, I'm talking about what device kernel is using to mount root *before* starting /sbin/init (e.g. "changing root device to ..." in dmesg). -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 2:26: 6 1999 Delivered-To: freebsd-current@freebsd.org Received: from cichlids.com (as4-005.rp-plus.de [149.221.238.69]) by hub.freebsd.org (Postfix) with ESMTP id 67EBA14F5A; Fri, 19 Nov 1999 02:26:02 -0800 (PST) (envelope-from alex@cichlids.com) Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by cichlids.com (Postfix) with ESMTP id 543B1AB7F; Fri, 19 Nov 1999 11:26:41 +0100 (CET) Received: (from alex@localhost) by cichlids.cichlids.com (8.9.3/8.9.3) id LAA02025; Fri, 19 Nov 1999 11:26:32 +0100 (CET) (envelope-from alex) From: Alexander Langer Date: Fri, 19 Nov 1999 11:26:32 +0100 To: Vadim Chekan Cc: obrien@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: How to upgrade from 3.3 to 4 Message-ID: <19991119112632.A1970@cichlids.cichlids.com> Mail-Followup-To: Vadim Chekan , obrien@FreeBSD.ORG, freebsd-current@FreeBSD.ORG References: <38342ACA.BD107EB2@gc.lviv.ua> <19991119012055.E81410@dragon.nuxi.com> <38351F42.7FCF4EF7@gc.lviv.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <38351F42.7FCF4EF7@gc.lviv.ua>; from vadim@gc.lviv.ua on Fri, Nov 19, 1999 at 11:58:26AM +0200 X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thus spake Vadim Chekan (vadim@gc.lviv.ua): > > Are you SURE you're prepaired to run -CURRENT? > Yes, Im shure. No, you are _not_. > Maybe I miss somesing, but I didn't found any hint "how to jump from 3 > to 4" in /usr/src/UPDATING The second one: 19990929: The sigset_t datatype has been changed from an integral type to a compound type and can hold 128 signals. Syscalls directly or indirectly using the new sigset_t have been added as to maintain compatibility with existing binaries. A new kernel must be made and installed and booted with before a make world can be done. Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 2:38:13 1999 Delivered-To: freebsd-current@freebsd.org Received: from extra.gc.lviv.ua (extra.gc.lviv.ua [212.109.34.132]) by hub.freebsd.org (Postfix) with ESMTP id CD0F41560B; Fri, 19 Nov 1999 02:35:21 -0800 (PST) (envelope-from vadim@gc.lviv.ua) Received: from gate.gc.lviv.ua (gate.gc.lviv.ua [192.168.168.18]) by extra.gc.lviv.ua (8.9.3/8.9.3) with ESMTP id MAA12327; Fri, 19 Nov 1999 12:35:08 +0200 (EET) Received: from gc.lviv.ua (begemot.lviv.gc.com.ua [192.168.1.216]) by gate.gc.lviv.ua (8.9.3/8.9.3) with ESMTP id MAA32956; Fri, 19 Nov 1999 12:35:08 +0200 (EET) Message-ID: <38352663.91C3597@gc.lviv.ua> Date: Fri, 19 Nov 1999 12:28:51 +0200 From: Vadim Chekan Organization: Galitian Contracts X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: Alexander Langer Cc: obrien@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: How to upgrade from 3.3 to 4 References: <38342ACA.BD107EB2@gc.lviv.ua> <19991119012055.E81410@dragon.nuxi.com> <38351F42.7FCF4EF7@gc.lviv.ua> <19991119112632.A1970@cichlids.cichlids.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alexander Langer wrote: > maintain compatibility with existing binaries. A new kernel must > be made and installed and booted with before a make world can > be done. > > Alex Sorry. I really miss this. :( Vadim. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 2:52:41 1999 Delivered-To: freebsd-current@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id 552FE152CC for ; Fri, 19 Nov 1999 02:52:36 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id EE9301C6D; Fri, 19 Nov 1999 18:52:34 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.0.2 2/24/98 To: Alex Zepeda Cc: Warner Losh , Andreas Klemm , David Greenman , Matthew Dillon , Sean Eric Fagan , current@FreeBSD.ORG Subject: Re: PATCH for testing In-reply-to: Your message of "Thu, 18 Nov 1999 23:31:58 PST." Date: Fri, 19 Nov 1999 18:52:34 +0800 From: Peter Wemm Message-Id: <19991119105234.EE9301C6D@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alex Zepeda wrote: > On Fri, 19 Nov 1999, Warner Losh wrote: > > > In message Alex Zepeda w rites: > > : ps -e w/out -U only shows variables for processes owned by that user, no? > > > > ps -ea. > > Then perhaps -a and -U should be disabled? *grin* I can't believe this is still being discussed! This was "fixed" two days ago so that 'ps -e' by a normal user can only see the environment of processes that they own.. No matter whether they use -a, -U, etc. Root can (of course) still see the environment of all processes. -stable is a different matter. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 3:14:26 1999 Delivered-To: freebsd-current@freebsd.org Received: from not.demophon.com (vpn.iscape.fi [195.170.146.67]) by hub.freebsd.org (Postfix) with ESMTP id D1C3D152CC for ; Fri, 19 Nov 1999 03:14:19 -0800 (PST) (envelope-from will@not.demophon.com) Received: (from will@localhost) by not.demophon.com (8.9.3/8.8.7) id NAA10582; Fri, 19 Nov 1999 13:12:31 +0200 (EET) (envelope-from will) To: Jeroen Ruigrok/Asmodai Cc: freebsd@nowcool.dhs.org, freebsd-current@freebsd.org Subject: Re: cpu name References: <19991119073255.A37588@daemon.ninth-circle.org.newsgate.clinet.fi> From: Ville-Pertti Keinonen Date: 19 Nov 1999 13:12:30 +0200 In-Reply-To: Jeroen Ruigrok/Asmodai's message of "19 Nov 1999 09:25:57 +0200" Message-ID: <867ljelopt.fsf@not.demophon.com> Lines: 25 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jeroen Ruigrok/Asmodai writes: > Looking at /usr/src/sys/i386/i386/identcpu.c I see that the 0x580 is: > > case 0x580: > strcat(cpu_model, "K6-2"); > break; > > Which gets copied into: > > printf("CPU: "); > strncpy(cpu_model, i386_cpus[cpu].cpu_name, sizeof cpu_model); > > But I can't find anything remotely related that would corrupt the > strncpy to print \^E. Look again, the AMD identification can fill cpu_model using cpuid. The code doesn't appear to have changed lately, so if there is a problem it's probably a matter of some processor being incorrectly identified as supporting the feature. Or the processor is broken. Does anyone know whether the processor in question should report its name? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 3:25:19 1999 Delivered-To: freebsd-current@freebsd.org Received: from ipt2.iptelecom.net.ua (ipt2.iptelecom.net.ua [212.9.224.2]) by hub.freebsd.org (Postfix) with ESMTP id 3DD4615609 for ; Fri, 19 Nov 1999 03:25:10 -0800 (PST) (envelope-from sobomax@altavista.net) Received: from vega.vega.com (dialup1-5.iptelecom.net.ua [212.9.226.5]) by ipt2.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id NAA03537; Fri, 19 Nov 1999 13:29:29 +0200 (EET) Received: from altavista.net (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.9.3/8.9.3) with ESMTP id NAA01313; Fri, 19 Nov 1999 13:24:26 +0200 (EET) (envelope-from sobomax@altavista.net) Message-ID: <38353369.FDC0F0EC@altavista.net> Date: Fri, 19 Nov 1999 13:24:25 +0200 From: Maxim Sobolev Reply-To: sobomax@altavista.net Organization: Vega International Capital X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: Byung Yang Cc: freebsd-current@FreeBSD.ORG Subject: Re: cpu name References: Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Byung Yang wrote: > supped && made world a min ago: > check out the CPU: name > I am using AMD K6-2 333Mhz > > CPU: \^E (334.40-MHz 586-class CPU) Hmm, let me guess... probably you are compiling your kernel with -O3 (or higher)? If so, try to remove /sys/compile/MYKERNEL and compile with -O or with -O2. Some time ago I've also stuck to this optimizer bug and we have long discussion with core members about it until I've occasionally rebuild kernel with -O and found that my K6-2 identified perfectly. BTW it should be a rule of thumb to lower optimisation level before reporting any bug. -O is considered relatively safe, while higher levels are unsupported and you should use it at your own risk. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 3:31:18 1999 Delivered-To: freebsd-current@freebsd.org Received: from news-ma.rhein-neckar.de (news-ma.rhein-neckar.de [193.197.90.3]) by hub.freebsd.org (Postfix) with ESMTP id 1D225155A0 for ; Fri, 19 Nov 1999 03:31:06 -0800 (PST) (envelope-from daemon@bigeye.rhein-neckar.de) Received: from bigeye.rhein-neckar.de (uucp@localhost) by news-ma.rhein-neckar.de (8.8.8/8.8.8) with bsmtp id MAA12340 for freebsd-current@freebsd.org; Fri, 19 Nov 1999 12:31:05 +0100 (CET) (envelope-from daemon@bigeye.rhein-neckar.de) Received: (from daemon@localhost) by bigeye.rhein-neckar.de (8.9.3/8.9.3) id MAA26960 for freebsd-current@freebsd.org; Fri, 19 Nov 1999 12:15:57 +0100 (CET) (envelope-from daemon) From: naddy@mips.rhein-neckar.de (Christian Weisgerber) Subject: Re: Current hangs when dump is run? Date: 19 Nov 1999 12:15:57 +0100 Message-ID: <813bhd$qa3$1@bigeye.rhein-neckar.de> References: To: freebsd-current@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Taavi Talvik wrote: > Current seems to hangs, when amanda tries to run dump. > This appeared approximately 2 weeks ago, and is present in > yesterdays current also. Not for me. I made the world yesterday, and this morning's backup (with dump) ran fine. -- Christian "naddy" Weisgerber naddy@mips.rhein-neckar.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 3:40:23 1999 Delivered-To: freebsd-current@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id 0E21814D50 for ; Fri, 19 Nov 1999 03:40:18 -0800 (PST) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.9.3/8.9.1) id MAA01765; Fri, 19 Nov 1999 12:40:05 +0100 (CET) (envelope-from sos) From: Søren Schmidt Message-Id: <199911191140.MAA01765@freebsd.dk> Subject: Re: NewATA on ISA and PCI In-Reply-To: <3835224E.5E968B8D@altavista.net> from Maxim Sobolev at "Nov 19, 1999 12:11:26 pm" To: sobomax@altavista.net Date: Fri, 19 Nov 1999 12:40:05 +0100 (CET) Cc: sheldonh@uunet.co.za (Sheldon Hearn), current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It seems Maxim Sobolev wrote: > Sheldon Hearn wrote: > > > On Fri, 19 Nov 1999 01:16:55 +0200, Maxim Sobolev wrote: > > > > > Does anybody can explain why kernel with NewATA driver booted on machine > > > with ISA based IDE adapter trying to mount wd* as root f/s, while > > > exactly *the same* kernel booted on PCI based mobo mounts ad* as root? > > > > /etc/fstab ? > > No, I do not talking about /etc/fstab, I'm talking about what device kernel is > using to mount root *before* starting /sbin/init (e.g. "changing root device to > ..." in dmesg). Hmm, the bootblock or the loader might be responsible.... -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 6:22:46 1999 Delivered-To: freebsd-current@freebsd.org Received: from ipt2.iptelecom.net.ua (ipt2.iptelecom.net.ua [212.9.224.2]) by hub.freebsd.org (Postfix) with ESMTP id E8649150FC for ; Fri, 19 Nov 1999 06:22:35 -0800 (PST) (envelope-from sobomax@altavista.net) Received: from vega.vega.com (dialup3-50.iptelecom.net.ua [212.9.226.178]) by ipt2.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id QAA28907; Fri, 19 Nov 1999 16:26:54 +0200 (EET) Received: from altavista.net (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.9.3/8.9.3) with ESMTP id QAA01789; Fri, 19 Nov 1999 16:21:52 +0200 (EET) (envelope-from sobomax@altavista.net) Message-ID: <38355CFD.6E7DFF78@altavista.net> Date: Fri, 19 Nov 1999 16:21:49 +0200 From: Maxim Sobolev Reply-To: sobomax@altavista.net Organization: Vega International Capital X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: =?koi8-r?Q?S=F8ren?= Schmidt Cc: Sheldon Hearn , current@FreeBSD.ORG Subject: Re: NewATA on ISA and PCI References: <199911191140.MAA01765@freebsd.dk> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "SÜren Schmidt" wrote: > It seems Maxim Sobolev wrote: > > Sheldon Hearn wrote: > > > > > On Fri, 19 Nov 1999 01:16:55 +0200, Maxim Sobolev wrote: > > > > > > > Does anybody can explain why kernel with NewATA driver booted on machine > > > > with ISA based IDE adapter trying to mount wd* as root f/s, while > > > > exactly *the same* kernel booted on PCI based mobo mounts ad* as root? > > > > > > /etc/fstab ? > > > > No, I do not talking about /etc/fstab, I'm talking about what device kernel is > > using to mount root *before* starting /sbin/init (e.g. "changing root device to > > ..." in dmesg). > > Hmm, the bootblock or the loader might be responsible.... I don't think so, because actually I've made boot floppy with loader and kernel and then did the following: 1) booted loader from floppy 2) changed currdev in loader to point to my HDD (set currdev=disk1...) 3) boot-off kernel from floppy (boot disk0s4a:kernel) This sequence I've repeated on ISA based computer (my Toshiba laptop) and on PCI based desktop using *the same* diskette. In the first case kernel was trying to mount wd0... but in the second - ad0... To ensure that it is not bootblock problem I've just reinstalled both boot0 and boot1 on my laptop but it still trying to mount wd0. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 6:41:33 1999 Delivered-To: freebsd-current@freebsd.org Received: from [132.197.97.45] (h132-197-97-45.gte.com [132.197.97.45]) by hub.freebsd.org (Postfix) with ESMTP id 8FD7315171 for ; Fri, 19 Nov 1999 06:41:27 -0800 (PST) (envelope-from ak03@gte.com) Received: (from ak03@localhost) by [132.197.97.45] (8.9.3/8.9.3) id JAA56672 for current@FreeBSD.ORG; Fri, 19 Nov 1999 09:41:21 -0500 (EST) (envelope-from ak03) Message-ID: X-Mailer: XFMail 1.3.1 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199911190100.UAA04747@lor.watermarkgroup.com> Date: Fri, 19 Nov 1999 09:41:21 -0500 (EST) Organization: GTE Laboratories Inc. From: "Alexander N. Kabaev" To: current@FreeBSD.ORG Subject: RE: arplookup 127.0.0.1 failed: could not allocate llinfo Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am having similar problem after installing recent binary snapshot from current.freebsd.org. I do not run amd, but every time when I am trying to ping or telnet to my $HOSTNAME (not localhost!!), I am starting to get these messages. On 19-Nov-99 Luoqi Chen wrote: > With the latest current, whenever I start amd, I would see a lot of log > messages repeating: > arplookup 127.0.0.1 failed: could not allocate llinfo > arpresolve: can't allocate llinfo for 127.0.0.1rt > If I ifconfig my ether interface down, as expected, the messages would stop. > It's puzzling that a packet destined for 127.0.0.1 could end up on the output > queue of an ethernet card. It happens only if I run amd, I could telnet > to localhost without any problem. Any idea? > > -lq > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message ---------------------------------- E-Mail: Alexander N. Kabaev Date: 19-Nov-99 Time: 09:37:48 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 7:22:36 1999 Delivered-To: freebsd-current@freebsd.org Received: from mail-out.visi.com (kauket.visi.com [209.98.98.22]) by hub.freebsd.org (Postfix) with ESMTP id 182BB1564B; Fri, 19 Nov 1999 07:22:33 -0800 (PST) (envelope-from veldy@visi.com) Received: from isis.visi.com (isis.visi.com [209.98.98.8]) by mail-out.visi.com (Postfix) with ESMTP id 2DA78386E; Fri, 19 Nov 1999 09:22:14 -0600 (CST) Received: from localhost (veldy@localhost) by isis.visi.com (8.8.8/8.8.8) with ESMTP id JAA13164; Fri, 19 Nov 1999 09:22:14 -0600 (CST) X-Authentication-Warning: isis.visi.com: veldy owned process doing -bs Date: Fri, 19 Nov 1999 09:22:13 -0600 (CST) From: Thomas Veldhouse To: freebsd-stable@freebsd.org, freebsd-current@freebsd.org Subject: de0 won't come up Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I just did the unthinkable and purchased a Compaq 5868 :-) I was using an older (~10-30-99) snapshot of stable. That snaptshot worked fine on my older PII-333. The problem I am having is that the de0 interface will not come up. I have manually tried to bring it up with ifconfig de0 192.168.0.1 netmask 255.255.255.0 up, but the network is still unresponsive. Samething happens with the most recent current snapshot. To elaborate, I simply installed the OS and chose the options to use de0 from sysinstall. The proper entries were placed in /etc/rc.conf. For some reason, it works fine on my old hardware, but the identical options chosen on my new hardware (same NIC from the old box) and it doesn't work. I have a feeling it has to do with the way the hardware is probed and the device is taken down (although it still shows with the proper config under ifconfig -l or -A). So ... my current hardware configuration is ... AMD Athlon (K7) 600MHz Motherboard uses AMD751 chipset (compaq or AMD board?) with 200MHz FSB 128MB SDRAM100 Asante 10baseT PCI card (sorry, I don't have specs handy - but it works with de0 when placed in my old PC - and it works with both tulip and another modules under linux) FWIW - the card works just fine on this computer using Linux and Win98, so I am sure that this is FreeBSD related and not hardware related (directly anyway) problem. I can get more particulars on the NIC later if necessary. Tom Veldhouse veldy@visi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 7:53:23 1999 Delivered-To: freebsd-current@freebsd.org Received: from [132.197.97.45] (h132-197-97-45.gte.com [132.197.97.45]) by hub.freebsd.org (Postfix) with ESMTP id A253315153 for ; Fri, 19 Nov 1999 07:53:18 -0800 (PST) (envelope-from ak03@gte.com) Received: (from ak03@localhost) by [132.197.97.45] (8.9.3/8.9.3) id KAA56836; Fri, 19 Nov 1999 10:52:46 -0500 (EST) (envelope-from ak03) Message-ID: X-Mailer: XFMail 1.3.1 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199911190100.UAA04747@lor.watermarkgroup.com> Date: Fri, 19 Nov 1999 10:46:05 -0500 (EST) Organization: GTE Laboratories Inc. From: "Alexander N. Kabaev" To: Luoqi Chen Subject: RE: arplookup 127.0.0.1 failed: could not allocate llinfo Cc: current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Well, I REALLY should search mailing lists before sending useless messages... There is PR conf/14913 which describes what is going wrong. Will somebody commit the fix? On 19-Nov-99 Luoqi Chen wrote: > With the latest current, whenever I start amd, I would see a lot of log > messages repeating: > arplookup 127.0.0.1 failed: could not allocate llinfo > arpresolve: can't allocate llinfo for 127.0.0.1rt > If I ifconfig my ether interface down, as expected, the messages would stop. > It's puzzling that a packet destined for 127.0.0.1 could end up on the output > queue of an ethernet card. It happens only if I run amd, I could telnet > to localhost without any problem. Any idea? > > -lq > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message ---------------------------------- E-Mail: Alexander N. Kabaev Date: 19-Nov-99 Time: 10:39:27 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 7:59: 8 1999 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (deep-thought.demos.su [195.133.1.74]) by hub.freebsd.org (Postfix) with ESMTP id A43B215635 for ; Fri, 19 Nov 1999 07:58:52 -0800 (PST) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.9.3/8.9.3) id SAA01101 for current@freebsd.org; Fri, 19 Nov 1999 18:58:51 +0300 (MSK) (envelope-from ache) Date: Fri, 19 Nov 1999 18:58:50 +0300 From: "Andrey A. Chernov" To: current@freebsd.org Subject: Root mount failed:22 ??? Message-ID: <19991119185850.A1077@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i Organization: Biomechanoid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG What this means? What actions required? It was a problem recently which cause my kernel paniced after boot, but now I got this diagnostic instead of panic: /kernel: Waiting 2 seconds for SCSI devices to settle /kernel: Creating DISK da0 /kernel: Creating DISK da1 /kernel: Root mount failed: 22 /kernel: Mounting root from ufs:da0s4a -- Andrey A. Chernov http://nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC>+ D A a++ C G>+ QH+(++) 666+>++ Y To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 8: 2: 6 1999 Delivered-To: freebsd-current@freebsd.org Received: from mgate08.so-net.ne.jp (mgate08.so-net.ne.jp [210.139.254.155]) by hub.freebsd.org (Postfix) with ESMTP id A017615062 for ; Fri, 19 Nov 1999 08:02:02 -0800 (PST) (envelope-from sanewo@ba2.so-net.ne.jp) Received: from mail.ba2.so-net.ne.jp (mail.ba2.so-net.ne.jp [210.139.254.21]) by mgate08.so-net.ne.jp (8.8.8+3.0Wbeta9/3.6W99111911) with ESMTP id BAA06881; Sat, 20 Nov 1999 01:01:57 +0900 (JST) Received: from ba2.so-net.ne.jp (p84b534.sng2.ap.so-net.ne.jp [210.132.181.52]) by mail.ba2.so-net.ne.jp (8.8.8+3.0Wbeta9/3.7W99081617) with ESMTP id BAA26542; Sat, 20 Nov 1999 01:01:56 +0900 (JST) Message-Id: <199911191601.BAA26542@mail.ba2.so-net.ne.jp> To: "Rodney W. Grimes" Cc: freebsd-current@FreeBSD.ORG Subject: Re: gcc 2.95.2 In-reply-to: freebsd@gndrsh.dnsmgr.net's message of Tue, 16 Nov 1999 20:15:17 -0800. <199911170415.UAA20119@gndrsh.dnsmgr.net> User-Agent: EMH/1.10.0 SEMI/1.13.7 (Awazu) PGPGPG FLIM/1.13.2 (Kasanui) Emacs/20.4.91 (i686-pc-freebsd4.0) MULE/4.0 (HANANOEN) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=ISO-2022-JP Date: Sat, 20 Nov 1999 01:01:50 +0900 From: SANETO Takanori Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <199911170415.UAA20119@gndrsh.dnsmgr.net> "Rodney W. Grimes" said: >Something weird is going on... I can confirm Manfred's claim, I also just >build XFree86 just before the compiler change. I'm certainly not going to >cvs update right now... :-) After some investigation, I found that following reasons (both cpp related) caused the failure of build/installing XFree86: 1. /usr/libexec/cpp now has no predefined symbols like __FreeBSD__, which makes imake unable to detect OS type automatically. Following patch may fix it. Index: config/imake/imakemdep.h =================================================================== --- imakemdep.h 1999/09/05 14:53:23 1.1.1.5 +++ imakemdep.h 1999/11/16 15:17:39 @@ -330,6 +330,12 @@ # ifdef __GNUC__ "-traditional", # endif +# if defined(__GNUC__) && (__GNUC__ > 2 || __GNUC__ == 2 && __GNUC_MINOR__ >= 90) +/* this version of cpp doesn't predefine any specific symbols. driver (gcc) does. */ +# if defined(__FreeBSD__) + "-D__FreeBSD__", +# endif +# endif #endif #ifdef M4330 "-DM4330", /* Tektronix */ 2. /usr/libexec/cpp does not accept "-undef" option any more. Index: config/cf/host.def =================================================================== --- host.def 1999/09/23 23:00:33 1.7 +++ host.def 1999/11/18 13:42:23 @@ -4,6 +4,10 @@ #define DefaultGcc2i386Opt -Os -pipe -march=pentiumpro +#if OSMajorVersion >= 4 +#define RawCppCmd /usr/libexec/cpp /* -undef */ +#endif + #define HasTk YES #define XF86SetupUsesStaticTk NO With these two patches, I can successfully build/install XFree86 with gcc-2.95.2. Hope it helps, -- $B$5$M$r(B To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 8: 4:27 1999 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (deep-thought.demos.su [195.133.1.74]) by hub.freebsd.org (Postfix) with ESMTP id 3773215062; Fri, 19 Nov 1999 08:04:20 -0800 (PST) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.9.3/8.9.3) id TAA01153; Fri, 19 Nov 1999 19:03:54 +0300 (MSK) (envelope-from ache) Date: Fri, 19 Nov 1999 19:03:53 +0300 From: "Andrey A. Chernov" To: Warner Losh Cc: scsi@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: -current panic on AHA Message-ID: <19991119190353.A1104@nagual.pp.ru> References: <19991104110359.A2933@nagual.pp.ru> <199911061731.KAA22229@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: <199911061731.KAA22229@harmony.village.org> Organization: Biomechanoid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Nov 06, 1999 at 10:31:12AM -0700, Warner Losh wrote: > In message <19991104110359.A2933@nagual.pp.ru> "Andrey A. Chernov" writes: > : Very fresh -current always paniced after detecting SCSI devices on > : aha0: AHA-1542CF FW Rev. B.0 (ID=45) SCSI Host Adapter, SCSI ID 7, 16 CCBs > : page fault: supervisor, read page not present > : Old kernel from Oct 8 works nicely > : Sorry can't provide more info about panic, it is remote computer. > > That's very odd. Any chance that you can provide more info on the > panic? I'd like to look into this. This panic not AHA but mount root related - see my recent message with this subj. in -current. -- Andrey A. Chernov http://nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC>+ D A a++ C G>+ QH+(++) 666+>++ Y To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 8:27:34 1999 Delivered-To: freebsd-current@freebsd.org Received: from matrix.eurocontrol.fr (matrix.uneec.eurocontrol.fr [147.196.254.254]) by hub.freebsd.org (Postfix) with ESMTP id 4DF1415666 for ; Fri, 19 Nov 1999 08:27:25 -0800 (PST) (envelope-from roberto@eurocontrol.fr) Received: from caerdonn.eurocontrol.fr (caerdonn.eurocontrol.fr [147.196.43.2]) by matrix.eurocontrol.fr (Postfix) with ESMTP id E57F74DF3 for ; Fri, 19 Nov 1999 17:27:24 +0100 (CET) (envelope-from roberto@caerdonn.eurocontrol.fr) Received: by caerdonn.eurocontrol.fr (Postfix, from userid 1193) id 229D73AED; Fri, 19 Nov 1999 17:29:32 +0100 (CET) Date: Fri, 19 Nov 1999 17:29:31 +0100 From: Ollivier Robert To: FreeBSD Current Users' list Subject: XFree86 3.3.5 [LONG] Message-ID: <19991119172931.G93702@caerdonn.eurocontrol.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0pre2i X-Operating-System: FreeBSD 4.0-CURRENT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Is anyone able to build or even link a single program with XFree86 3.3.5 building system ? The damn things defines CppCmd to /lib/cpp and the Makefiles generated are completely fscked up. This is under CURRENT. I tried the 3.x binaries but xinit is dumping core (!!). 401 [15:56] root@thendara:lib/Server# ./mkmf + rm -f Makefile.bak + mv Makefile Makefile.bak + ./config/imake/imake -I. -I./config/cf -DXF86LinkKit=1 -DTOPDIR=. -DCURDIR=. + make Makefiles "Makefile", line 677: Missing dependency operator "Makefile", line 721: Missing dependency operator "Makefile", line 753: Missing dependency operator "Makefile", line 797: Missing dependency operator "Makefile", line 822: Missing dependency operator "Makefile", line 835: Missing dependency operator "Makefile", line 869: Missing dependency operator make: fatal errors encountered -- cannot continue I tried rebuilding just xinit but the build fails for startx... 416 [16:54] root@thendara:programs/xinit# xmkmf -a mv -f Makefile Makefile.bak imake -DUseInstalled -I/usr/X11R6/lib/X11/config make Makefiles make includes make depend makedepend -- -I/usr/X11R6/include -DTCPCONN -DUNIXCONN -DHAS_STICKY_DIR_BIT -DHAS_VFORK -DBINDIR=\"/usr/X11R6/bin\" -- xinit.c 417 [16:54] root@thendara:programs/xinit# make cc -O -I/usr/X11R6/include -DTCPCONN -DUNIXCONN -DHAS_STICKY_DIR_BIT -DHAS_VFORK -DBINDIR=\"/usr/X11R6/bin\" -c xinit.c xinit.c: In function `processTimeout': xinit.c:512: warning: passing arg 1 of `wait3' from incompatible pointer type rm -f xinit cc -o xinit -O -L/usr/X11R6/lib xinit.o -lXmu -lXext -lX11 rm -f startx /lib/cpp -DXINITDIR=/usr/X11R6/lib/X11/xinit -DBINDIR=/usr/X11R6/bin startx /lib/cpp: not found chmod a+x startx Even with this xinit binary, the X server can't run... XFree86 Version 3.3.5 / X Window System (protocol Version 11, revision 0, vendor release 6300) Release Date: August 23 1999 If the server is older than 6-12 months, or if your card is newer than the above date, look for a newer version before reporting problems. (see http://www.XFree86.Org/FAQ) Operating System: FreeBSD 3.1-STABLE i386 [ELF] Configured drivers: GLINT: accelerated server for 3DLabs GLINT graphics adapters (Patchlevel 0) Using syscons driver with X support (version 2.0) (using VT number 9) XF86Config: /etc/XF86Config (**) stands for supplied, (--) stands for probed/default values (**) XKB: disabled (**) XKB: keymap: "xfree86(us)" (overrides other XKB settings) (**) Mouse: type: PS/2, device: /dev/sysmouse, buttons: 3 (**) GLINT: Graphics device ID: "ELSA GLoria Synergy" (**) GLINT: Monitor ID: "NEC P1250+" (--) GLINT: Mode "1600x1200" needs hsync freq of 87.50 kHz. Deleted. (--) GLINT: Mode "1152x864" needs hsync freq of 89.62 kHz. Deleted. (--) GLINT: Mode "1280x1024" needs hsync freq of 91.15 kHz. Deleted. (--) GLINT: Mode "1600x1200" needs hsync freq of 93.75 kHz. Deleted. (--) GLINT: Mode "1600x1200" needs hsync freq of 105.77 kHz. Deleted. (--) GLINT: Mode "1280x1024" needs hsync freq of 107.16 kHz. Deleted. (--) GLINT: Mode "1800X1440" needs hsync freq of 96.15 kHz. Deleted. (--) GLINT: Mode "1800X1440" needs hsync freq of 104.52 kHz. Deleted. (**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/" PCI: Probing config type using method 1 PCI: Config type is 1 PCI: Bus 0x0 Card 0x00 Func 0x0 ID 0x8086,0x7190 Rev 0x03 Class 0x06,0x00 PCI: Bus 0x0 Card 0x01 Func 0x0 ID 0x8086,0x7191 Rev 0x03 Class 0x06,0x04 PCI: Bus 0x0 Card 0x07 Func 0x0 ID 0x8086,0x7110 Rev 0x02 Class 0x06,0x01 PCI: Bus 0x0 Card 0x07 Func 0x1 ID 0x8086,0x7111 Rev 0x01 Class 0x01,0x01 PCI: Bus 0x0 Card 0x07 Func 0x2 ID 0x8086,0x7112 Rev 0x01 Class 0x0c,0x03 PCI: Bus 0x0 Card 0x07 Func 0x3 ID 0x8086,0x7113 Rev 0x02 Class 0x06,0x80 PCI: Bus 0x0 Card 0x13 Func 0x0 ID 0x1011,0x0024 Rev 0x03 Class 0x06,0x04 PCI: Bus 0x1 Card 0x00 Func 0x0 ID 0x104c,0x3d07 Rev 0x11 Class 0x03,0x00 PCI: Bus 0x1 Card 0x00 Func 0x1 ID 0x0000,0x0000 Rev 0x00 Class 0x00,0x00 PCI: Bus 0x1 Card 0x00 Func 0x2 ID 0x0000,0x0000 Rev 0x00 Class 0x00,0x00 PCI: Bus 0x1 Card 0x00 Func 0x3 ID 0x0000,0x0000 Rev 0x00 Class 0x00,0x00 PCI: Bus 0x1 Card 0x00 Func 0x4 ID 0x0000,0x0000 Rev 0x00 Class 0x00,0x00 PCI: Bus 0x1 Card 0x00 Func 0x5 ID 0x0000,0x0000 Rev 0x00 Class 0x00,0x00 PCI: Bus 0x1 Card 0x00 Func 0x6 ID 0x0000,0x0000 Rev 0x00 Class 0x00,0x00 PCI: Bus 0x1 Card 0x00 Func 0x7 ID 0x0000,0x0000 Rev 0x00 Class 0x00,0x00 PCI: Bus 0x2 Card 0x04 Func 0x0 ID 0x1000,0x000f Rev 0x26 Class 0x01,0x00 PCI: Bus 0x2 Card 0x05 Func 0x0 ID 0x1022,0x2000 Rev 0x36 Class 0x02,0x00 (--) GLINT: found TI chip GLINT Permedia 2 at card #0 func #0 with base 0xfebc0000 (--) GLINT: Framebuffer address at 0xfe000000 (--) GLINT: videoram : 8192k (--) GLINT: Using builtin RAMDAC of Permedia 2 chip (--) GLINT: Fitted Memory type is : SGRAM (--) GLINT: VGA core is : Enabled (--) GLINT: Maximum allowed dot-clock: 230.000 MHz (**) GLINT: Cannot support interlaced modes, deleting. (**) GLINT: Cannot support interlaced modes, deleting. (**) GLINT: Cannot support interlaced modes, deleting. (**) GLINT: Mode "1600x1200": mode clock = 162.000 (**) GLINT: Mode "1152x864": mode clock = 135.000 (**) GLINT: Mode "1280x1024": mode clock = 135.000 (**) GLINT: Mode "1024x768": mode clock = 115.500 (--) GLINT: Using XAA (XFree86 Acceleration Architecture) (--) GLINT: XAA: Solid filled rectangles (--) GLINT: XAA: Screen-to-screen copy (--) GLINT: XAA: Using 12 128x128 areas for pixmap caching (--) GLINT: XAA: Caching tiles and non-transparent stipples (--) GLINT: XAA: Horizontal and vertical lines and segments mesg: ttyname: Inappropriate ioctl for device gbuffy: not found xemacs: not found xearth 1.0: warning - unable to open marker info file xterm: no available ptys Console: no available ptys xterm: no available ptys waiting for X server to shut down XFree86 Version 3.3.5 / X Window System (protocol Version 11, revision 0, vendor release 6300) Release Date: August 23 1999 If the server is older than 6-12 months, or if your card is newer than the above date, look for a newer version before reporting problems. (see http://www.XFree86.Org/FAQ) Operating System: FreeBSD 3.1-STABLE i386 [ELF] Configured drivers: GLINT: accelerated server for 3DLabs GLINT graphics adapters (Patchlevel 0) Using syscons driver with X support (version 2.0) (using VT number 9) XF86Config: /etc/XF86Config (**) stands for supplied, (--) stands for probed/default values (**) XKB: disabled (**) XKB: keymap: "xfree86(us)" (overrides other XKB settings) (**) Mouse: type: PS/2, device: /dev/sysmouse, buttons: 3 (**) GLINT: Graphics device ID: "ELSA GLoria Synergy" (**) GLINT: Monitor ID: "NEC P1250+" (--) GLINT: Mode "1600x1200" needs hsync freq of 87.50 kHz. Deleted. (--) GLINT: Mode "1152x864" needs hsync freq of 89.62 kHz. Deleted. (--) GLINT: Mode "1280x1024" needs hsync freq of 91.15 kHz. Deleted. (--) GLINT: Mode "1600x1200" needs hsync freq of 93.75 kHz. Deleted. (--) GLINT: Mode "1600x1200" needs hsync freq of 105.77 kHz. Deleted. (--) GLINT: Mode "1280x1024" needs hsync freq of 107.16 kHz. Deleted. (--) GLINT: Mode "1800X1440" needs hsync freq of 96.15 kHz. Deleted. (--) GLINT: Mode "1800X1440" needs hsync freq of 104.52 kHz. Deleted. (**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/" PCI: Probing config type using method 1 PCI: Config type is 1 PCI: Bus 0x0 Card 0x00 Func 0x0 ID 0x8086,0x7190 Rev 0x03 Class 0x06,0x00 PCI: Bus 0x0 Card 0x01 Func 0x0 ID 0x8086,0x7191 Rev 0x03 Class 0x06,0x04 PCI: Bus 0x0 Card 0x07 Func 0x0 ID 0x8086,0x7110 Rev 0x02 Class 0x06,0x01 PCI: Bus 0x0 Card 0x07 Func 0x1 ID 0x8086,0x7111 Rev 0x01 Class 0x01,0x01 PCI: Bus 0x0 Card 0x07 Func 0x2 ID 0x8086,0x7112 Rev 0x01 Class 0x0c,0x03 PCI: Bus 0x0 Card 0x07 Func 0x3 ID 0x8086,0x7113 Rev 0x02 Class 0x06,0x80 PCI: Bus 0x0 Card 0x13 Func 0x0 ID 0x1011,0x0024 Rev 0x03 Class 0x06,0x04 PCI: Bus 0x1 Card 0x00 Func 0x0 ID 0x104c,0x3d07 Rev 0x11 Class 0x03,0x00 PCI: Bus 0x1 Card 0x00 Func 0x1 ID 0x0000,0x0000 Rev 0x00 Class 0x00,0x00 PCI: Bus 0x1 Card 0x00 Func 0x2 ID 0x0000,0x0000 Rev 0x00 Class 0x00,0x00 PCI: Bus 0x1 Card 0x00 Func 0x3 ID 0x0000,0x0000 Rev 0x00 Class 0x00,0x00 PCI: Bus 0x1 Card 0x00 Func 0x4 ID 0x0000,0x0000 Rev 0x00 Class 0x00,0x00 PCI: Bus 0x1 Card 0x00 Func 0x5 ID 0x0000,0x0000 Rev 0x00 Class 0x00,0x00 PCI: Bus 0x1 Card 0x00 Func 0x6 ID 0x0000,0x0000 Rev 0x00 Class 0x00,0x00 PCI: Bus 0x1 Card 0x00 Func 0x7 ID 0x0000,0x0000 Rev 0x00 Class 0x00,0x00 PCI: Bus 0x2 Card 0x04 Func 0x0 ID 0x1000,0x000f Rev 0x26 Class 0x01,0x00 PCI: Bus 0x2 Card 0x05 Func 0x0 ID 0x1022,0x2000 Rev 0x36 Class 0x02,0x00 (--) GLINT: found TI chip GLINT Permedia 2 at card #0 func #0 with base 0xfebc0000 (--) GLINT: Framebuffer address at 0xfe000000 (--) GLINT: videoram : 8192k (--) GLINT: Using builtin RAMDAC of Permedia 2 chip (--) GLINT: Fitted Memory type is : SGRAM (--) GLINT: VGA core is : Enabled (--) GLINT: Maximum allowed dot-clock: 230.000 MHz (**) GLINT: Cannot support interlaced modes, deleting. (**) GLINT: Cannot support interlaced modes, deleting. (**) GLINT: Cannot support interlaced modes, deleting. (**) GLINT: Mode "1600x1200": mode clock = 162.000 (**) GLINT: Mode "1152x864": mode clock = 135.000 (**) GLINT: Mode "1280x1024": mode clock = 135.000 (**) GLINT: Mode "1024x768": mode clock = 115.500 (--) GLINT: Using XAA (XFree86 Acceleration Architecture) (--) GLINT: XAA: Solid filled rectangles (--) GLINT: XAA: Screen-to-screen copy (--) GLINT: XAA: Using 12 128x128 areas for pixmap caching (--) GLINT: XAA: Caching tiles and non-transparent stipples (--) GLINT: XAA: Horizontal and vertical lines and segments mesg: ttyname: Inappropriate ioctl for device gbuffy: not found xemacs: not found xearth 1.0: warning - unable to open marker info file Console: no available ptys ^^^^^^^^^^^^^^^^^ -- Ollivier ROBERT -=- Eurocontrol EEC/TEC -=- Ollivier.Robert@eurocontrol.fr The Postman hits! The Postman hits! You have new mail. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 9:23: 9 1999 Delivered-To: freebsd-current@freebsd.org Received: from lor.watermarkgroup.com (lor.watermarkgroup.com [207.202.73.33]) by hub.freebsd.org (Postfix) with ESMTP id 1DD1E151C0 for ; Fri, 19 Nov 1999 09:23:05 -0800 (PST) (envelope-from luoqi@watermarkgroup.com) Received: (from luoqi@localhost) by lor.watermarkgroup.com (8.8.8/8.8.8) id MAA15487; Fri, 19 Nov 1999 12:23:03 -0500 (EST) (envelope-from luoqi) Date: Fri, 19 Nov 1999 12:23:03 -0500 (EST) From: Luoqi Chen Message-Id: <199911191723.MAA15487@lor.watermarkgroup.com> To: ak03@gte.com Subject: RE: arplookup 127.0.0.1 failed: could not allocate llinfo Cc: current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Well, > > I REALLY should search mailing lists before sending useless messages... > > There is PR conf/14913 which describes what is going wrong. Will somebody > commit the fix? > I was REALLY surprised that people are so ready to accept this as a configuration bug. By all means, it is NOT, it is a kernel bug, and has to be fixed inside the kernel. Users ought to be able to config interfaces in whatever order they choose. -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 9:28:46 1999 Delivered-To: freebsd-current@freebsd.org Received: from intrepid.leaky.com (cx74391-a.fed1.sdca.home.com [24.0.162.8]) by hub.freebsd.org (Postfix) with ESMTP id 288A3156BC for ; Fri, 19 Nov 1999 09:28:42 -0800 (PST) (envelope-from gshaffer@leaky.com) Received: (from admin@localhost) by intrepid.leaky.com (8.9.3/8.9.3) id JAA02978; Fri, 19 Nov 1999 09:28:25 -0800 (PST) (envelope-from gshaffer@leaky.com) X-Authentication-Warning: intrepid.leaky.com: admin set sender to using -f Received: from cx74391-a.fed1.sdca.home.com(24.0.162.8) by intrepid.leaky.com via smap (V2.1) id xma002976; Fri, 19 Nov 99 09:28:20 -0800 Message-ID: <383588B3.7D7CF862@leaky.com> Date: Fri, 19 Nov 1999 09:28:19 -0800 From: Greg Shaffer X-Mailer: Mozilla 4.61 [en] (X11; U; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: current@freebsd.org Cc: gshaffer@leaky.com Subject: Lockmgr Panic Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I rebuild my system two days ago with the latest current. When I tried to print (using lpr) a conf file, the system crashed with a panic in lockmgr. I will crash every time I try to print. For the most part the system is stable, except for lpr. Here is the dump from the panic and a kernel trace. panic: lockmgr: pid 439, not exlusive lock holder 322 unlocking mp_lock = 00000001; cpuid = 0 lapic.id = 00000000 Debugger(...) at Debugger+037 panic(...) at panic+0xa8 lockmgr(...) at lockmgr+0x2bc brelse(...) at brelse+0x636 lptclose(...) at lptclose+0xaa spec_close(...) at spec_close+0x90 ufsspec_close(...) at ufsspec_close+0x3e ufs_vnoperatespec(...) at ufs_vnoperatespec+0x15 vn_close(...) at vn_close+0x40 vn_closefile(...) at vn_closefile+0x20 fdrop(...) at fdrop+0xb9 closef(...) at closef+0x9b fdfree(...) at fdfree+0x30 exit1(...) at exit1+0x175 exit1(... at exit1 syscall(...) at syscall+0x149 Xint0x80_syscall(...) at Xint0x80_syscall+0x31 By the way, this is a SMP box with dual PII-400 running on a SuperMicro P6DBE MB with SCSI disks. Any suggestions? Greg Shaffer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 9:40:54 1999 Delivered-To: freebsd-current@freebsd.org Received: from mailgw1a.lmco.com (mailgw1a.lmco.com [192.31.106.7]) by hub.freebsd.org (Postfix) with ESMTP id DB2C014CE0 for ; Fri, 19 Nov 1999 09:40:49 -0800 (PST) (envelope-from george.w.dinolt@lmco.com) Received: from emss02g01.ems.lmco.com (emss02g01.ems.lmco.com [198.7.15.39]) by mailgw1a.lmco.com (8.8.8/8.8.8) with ESMTP id KAA02579; Fri, 19 Nov 1999 10:40:40 -0700 (MST) Received: from CONVERSION-DAEMON by lmco.com (PMDF V5.2-32 #38887) id <0FLG00E01H3MF7@lmco.com>; Fri, 19 Nov 1999 10:40:38 -0700 (MST) Received: from wdl1.wdl.lmco.com ([137.249.32.1]) by lmco.com (PMDF V5.2-32 #38887) with ESMTP id <0FLG000NRH3LGO@lmco.com>; Fri, 19 Nov 1999 10:40:33 -0700 (MST) Received: from lmco.com (ird45 [137.249.32.45]) by wdl1.wdl.lmco.com (8.8.8+Sun/8.8.8) with ESMTP id JAA18575; Fri, 19 Nov 1999 09:40:29 -0800 (PST) Date: Fri, 19 Nov 1999 09:40:29 -0800 From: "George W. Dinolt" Subject: RE: XFree86 3.3.5 [LONG] To: freebsd-current@freebsd.org, roberto@eurocontrol.fr Message-id: <38358B8D.C8E43B4F@lmco.com> MIME-version: 1.0 X-Mailer: Mozilla 4.7 [en] (X11; U; SunOS 5.7 sun4u) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT X-Accept-Language: en Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have been able to get XFree86 to build and install (except for the aout libraries) under -current with the 2.95.2 gcc compilers. It turns out that under the new gcc in -current (2.95.2), the cpp built only defines GNUC (touch /tmp/foo.h;cpp -dM /tmp/foo.h). If one looks at the variables defined by cpp in FreeBSd-3.x one sees that __FreeBSD__ and i386 are defined. These are used by the Imake.cf file in XFree86/work/xc/config/cf to determine which "operating system" to configure with. (imake uses cpp to most of its dirty work.) Once I had worked that out, I developed a "cheat", I added #define __FreeBSD__ 4 #define i386 1 to the Imake.cf file just before the usage of __FreeBSD__ in the file. Once I did this, the build worked as expected. The output is usable, i.e. I built fvwm2 and was able to use my X system. Of course, your mileage may vary. Note that I just built the SVGA server, but I assume that the others would also work, since as part of my playing around, I did compile them. This approach is clearly not the "right" one. It may be that one should have cpp, by default, define operating system and processor type variables as is done on FreeBSD 3.x and the 2.95.2 version of cpp on sparc (solaris). This is what the XFree86 system expects. I haven't had time to figure out how to get cpp to do this. Maybe someone with more knowledge can work this out. -- Regards, George W. Dinolt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 9:53:10 1999 Delivered-To: freebsd-current@freebsd.org Received: from [132.197.97.45] (h132-197-97-45.gte.com [132.197.97.45]) by hub.freebsd.org (Postfix) with ESMTP id CBC7B14D0A for ; Fri, 19 Nov 1999 09:53:01 -0800 (PST) (envelope-from ak03@gte.com) Received: (from ak03@localhost) by [132.197.97.45] (8.9.3/8.9.3) id MAA57167; Fri, 19 Nov 1999 12:52:28 -0500 (EST) (envelope-from ak03) Message-ID: X-Mailer: XFMail 1.3.1 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199911191723.MAA15487@lor.watermarkgroup.com> Date: Fri, 19 Nov 1999 12:52:28 -0500 (EST) Organization: GTE Laboratories Inc. From: "Alexander N. Kabaev" To: Luoqi Chen Subject: RE: arplookup 127.0.0.1 failed: could not allocate llinfo Cc: current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG There is no need to fix kernel if the same result could be achieved by simple rc.network file modification. Yes, solution proposed in conf/14913 is not complete and only works in network_interfaces="auto" case, but the modification to make it work in 100% cases is pretty trivial. On 19-Nov-99 Luoqi Chen wrote: >> Well, >> >> I REALLY should search mailing lists before sending useless messages... >> >> There is PR conf/14913 which describes what is going wrong. Will somebody >> commit the fix? >> > I was REALLY surprised that people are so ready to accept this as a > configuration bug. By all means, it is NOT, it is a kernel bug, and > has to be fixed inside the kernel. Users ought to be able to config > interfaces in whatever order they choose. > > -lq > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 9:54:33 1999 Delivered-To: freebsd-current@freebsd.org Received: from lor.watermarkgroup.com (lor.watermarkgroup.com [207.202.73.33]) by hub.freebsd.org (Postfix) with ESMTP id 1671E14D0A for ; Fri, 19 Nov 1999 09:54:25 -0800 (PST) (envelope-from luoqi@watermarkgroup.com) Received: (from luoqi@localhost) by lor.watermarkgroup.com (8.8.8/8.8.8) id MAA16006; Fri, 19 Nov 1999 12:54:25 -0500 (EST) (envelope-from luoqi) Date: Fri, 19 Nov 1999 12:54:25 -0500 (EST) From: Luoqi Chen Message-Id: <199911191754.MAA16006@lor.watermarkgroup.com> To: wollman@khavrinen.lcs.mit.edu Subject: Re: init runs with console as control terminal? Cc: current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Bug the authors to fix it? daemon(3) is provided for a reason! > > Here's my version of a simple daemonizing program.... Neither > TIOCNOTTY nor setpgid() is sufficient to detach from a terminal > session in a POSIX environment; setsid() is required. daemon(3) does > a nice job of encapsulating this along with the other more obvious > prerequisites. > Time for a daemon(1)? I'd like to have a more flexible approach towards closing of stdin/out/err, maybe something similar to what Matt did, or similar to nohup: close it iff it's a tty. -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 10:10: 5 1999 Delivered-To: freebsd-current@freebsd.org Received: from uni4nn.gn.iaf.nl (osmium.gn.iaf.nl [193.67.144.12]) by hub.freebsd.org (Postfix) with ESMTP id 0E0711569A for ; Fri, 19 Nov 1999 10:10:01 -0800 (PST) (envelope-from wilko@yedi.iaf.nl) Received: from yedi.iaf.nl (uucp@localhost) by uni4nn.gn.iaf.nl (8.9.2/8.9.2) with UUCP id SAA32122; Fri, 19 Nov 1999 18:55:37 +0100 (MET) Received: (from wilko@localhost) by yedi.iaf.nl (8.9.3/8.9.3) id SAA54700; Fri, 19 Nov 1999 18:53:50 +0100 (CET) (envelope-from wilko) From: Wilko Bulte Message-Id: <199911191753.SAA54700@yedi.iaf.nl> Subject: Re: Root mount failed:22 ??? In-Reply-To: <19991119185850.A1077@nagual.pp.ru> from "Andrey A. Chernov" at "Nov 19, 1999 6:58:50 pm" To: ache@nagual.pp.ru (Andrey A. Chernov) Date: Fri, 19 Nov 1999 18:53:50 +0100 (CET) Cc: current@FreeBSD.ORG X-Organisation: Private FreeBSD site - Arnhem, The Netherlands X-pgp-info: PGP public key at 'finger wilko@freefall.freebsd.org' X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG As Andrey A. Chernov wrote ... > What this means? What actions required? > It was a problem recently which cause my kernel paniced > after boot, but now I got this diagnostic instead of panic: > > /kernel: Waiting 2 seconds for SCSI devices to settle > /kernel: Creating DISK da0 > /kernel: Creating DISK da1 > /kernel: Root mount failed: 22 > /kernel: Mounting root from ufs:da0s4a You did not recently add a disk drive to the SCSI chain by any chance? Especially not one that made the order of the da devices change? Just guessing of course, Wilko -- | / o / / _ Arnhem, The Netherlands - Powered by FreeBSD - |/|/ / / /( (_) Bulte WWW : http://www.tcja.nl http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 11:13:42 1999 Delivered-To: freebsd-current@freebsd.org Received: from minubian.houabg.com (minubian.houabg.com [206.109.247.11]) by hub.freebsd.org (Postfix) with ESMTP id 72A4614CE0 for ; Fri, 19 Nov 1999 11:13:26 -0800 (PST) (envelope-from dchapman@houabg.com) Received: from houcbs2.houabg.com (HOUABG.COM [206.109.247.20]) by minubian.houabg.com (8.8.8/8.8.8) with ESMTP id NAA02866 for ; Fri, 19 Nov 1999 13:46:30 -0600 (CST) (envelope-from dchapman@houabg.com) Received: from 216-118-18-135.pdq.net by houcbs2.houabg.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.0.1457.7) id SG16T7Z5; Fri, 19 Nov 1999 13:14:34 -0600 Message-ID: <00f001bf32c2$2e77a360$0300a8c0@poseiden.org> From: "David W. Chapman Jr." To: Subject: Promise ULTRA/66 Controler Date: Fri, 19 Nov 1999 13:13:36 -0600 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00ED_01BF328F.E33E8260" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_00ED_01BF328F.E33E8260 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Anybody have any luck with Promise ULTRA/66 controllers until -current? = here's what it detects mine as pci0: unknown card (vendor=3D0x105a, dev=3D0x4d38) at 8.0 irq 15 Any ideas on what I can do would be appreciated. ------=_NextPart_000_00ED_01BF328F.E33E8260 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Anybody have any luck with Promise = ULTRA/66=20 controllers until -current?  here's what it detects mine = as
 
pci0: unknown card (vendor=3D0x105a, = dev=3D0x4d38) at=20 8.0 irq 15
 
Any ideas on what I can do would be=20 appreciated.
------=_NextPart_000_00ED_01BF328F.E33E8260-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 11:40:40 1999 Delivered-To: freebsd-current@freebsd.org Received: from mojave.sitaranetworks.com (mojave.sitaranetworks.com [199.103.141.157]) by hub.freebsd.org (Postfix) with ESMTP id 2B07715598 for ; Fri, 19 Nov 1999 11:40:36 -0800 (PST) (envelope-from grog@mojave.sitaranetworks.com) Message-ID: <19991119144034.48321@mojave.sitaranetworks.com> Date: Fri, 19 Nov 1999 14:40:34 -0500 From: Greg Lehey To: FreeBSD current users Subject: Make world breakage in netgraph Reply-To: Greg Lehey Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ===> libnetgraph cc -nostdinc -O -pipe -g -Wall -O2 -Werror -I/usr/src.freefall/sys -I/usr/obj/usr/SRC/4.0-CURRENT/src/tmp/usr/include -c /usr/SRC/4.0-CURRENT/src/lib/libnetgraph/sock.c -o sock.o cc -nostdinc -O -pipe -g -Wall -O2 -Werror -I/usr/src.freefall/sys -I/usr/obj/usr/SRC/4.0-CURRENT/src/tmp/usr/include -c /usr/SRC/4.0-CURRENT/src/lib/libnetgraph/msg.c -o msg.o cc -nostdinc -O -pipe -g -Wall -O2 -Werror -I/usr/src.freefall/sys -I/usr/obj/usr/SRC/4.0-CURRENT/src/tmp/usr/include -c /usr/SRC/4.0-CURRENT/src/lib/libnetgraph/debug.c -o debug.o /usr/SRC/4.0-CURRENT/src/lib/libnetgraph/debug.c: In function `NgArgs': /usr/SRC/4.0-CURRENT/src/lib/libnetgraph/debug.c:340: structure has no member named `acfcomp' *** Error code 1 Stop in /usr/SRC/4.0-CURRENT/src/lib/libnetgraph. -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 12:24:18 1999 Delivered-To: freebsd-current@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id 97924156CE for ; Fri, 19 Nov 1999 12:24:13 -0800 (PST) (envelope-from julian@whistle.com) Received: from current1.whiste.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id MAA70765; Fri, 19 Nov 1999 12:24:00 -0800 (PST) Date: Fri, 19 Nov 1999 12:24:00 -0800 (PST) From: Julian Elischer To: Greg Lehey Cc: FreeBSD current users Subject: Re: Make world breakage in netgraph In-Reply-To: <19991119144034.48321@mojave.sitaranetworks.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hmm archie seems to have missed something. I'll look and see wht he's left out he just got called away while committing. On Fri, 19 Nov 1999, Greg Lehey wrote: > ===> libnetgraph > cc -nostdinc -O -pipe -g -Wall -O2 -Werror -I/usr/src.freefall/sys -I/usr/obj/usr/SRC/4.0-CURRENT/src/tmp/usr/include -c /usr/SRC/4.0-CURRENT/src/lib/libnetgraph/sock.c -o sock.o > cc -nostdinc -O -pipe -g -Wall -O2 -Werror -I/usr/src.freefall/sys -I/usr/obj/usr/SRC/4.0-CURRENT/src/tmp/usr/include -c /usr/SRC/4.0-CURRENT/src/lib/libnetgraph/msg.c -o msg.o > cc -nostdinc -O -pipe -g -Wall -O2 -Werror -I/usr/src.freefall/sys -I/usr/obj/usr/SRC/4.0-CURRENT/src/tmp/usr/include -c /usr/SRC/4.0-CURRENT/src/lib/libnetgraph/debug.c -o debug.o > /usr/SRC/4.0-CURRENT/src/lib/libnetgraph/debug.c: In function `NgArgs': > /usr/SRC/4.0-CURRENT/src/lib/libnetgraph/debug.c:340: structure has no member named `acfcomp' > *** Error code 1 > > Stop in /usr/SRC/4.0-CURRENT/src/lib/libnetgraph. > -- > Finger grog@lemis.com for PGP public key > See complete headers for address and phone numbers > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 12:25: 9 1999 Delivered-To: freebsd-current@freebsd.org Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.54]) by hub.freebsd.org (Postfix) with ESMTP id 30FD8156AC for ; Fri, 19 Nov 1999 12:24:45 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.9.3/8.9.1) id MAA07473 for freebsd-current@freebsd.org; Fri, 19 Nov 1999 12:24:12 -0800 (PST) (envelope-from sgk) From: Steve Kargl Message-Id: <199911192024.MAA07473@troutmask.apl.washington.edu> Subject: kernel breakage on SMP To: freebsd-current@freebsd.org (FreeBSD Current) Date: Fri, 19 Nov 1999 12:24:12 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h -elf vers.c linking kernel exception.o: In function `vm86_biosret': exception.o(.text+0x582): undefined reference to `MPrellock' exception.o: In function `Xintr0': exception.o(.text+0x11b4): undefined reference to `MPrellock' exception.o: In function `Xintr1': exception.o(.text+0x143c): undefined reference to `MPrellock' exception.o: In function `Xintr2': exception.o(.text+0x16bc): undefined reference to `MPrellock' exception.o: In function `Xintr3': exception.o(.text+0x193c): undefined reference to `MPrellock' exception.o(.text+0x1bbc): more undefined references to `MPrellock' follow *** Error code 1 Stop in /usr/src/sys/compile/TROUTMASK. troutmask:kargl[352] find /sys/i386 -name \*.\[sch\] | xargs grep MPrellock /sys/i386/include/asnames.h:#define _MPrellock MPrellock /sys/i386/include/asnames.h:#define _MPrellock_edx MPrellock_edx /sys/i386/include/lock.h: call _MPrellock ; \ /sys/i386/isa/apic_vector.s: call _MPrellock_edx /sys/i386/isa/ipl.s: call _MPrellock_edx /sys/i386/i386/mplock.s: * void MPrellock_edx(unsigned int *lock : %edx) /sys/i386/i386/mplock.s:NON_GPROF_ENTRY(MPrellock_edx) /sys/i386/i386/mplock.s: call _MPrellock_edx /sys/i386/i386/mplock.s: jmp _MPrellock_edx /sys/i386/i386/mplock.s: jmp _MPrellock_edx /sys/i386/i386/mplock.s: jmp _MPrellock_edx /sys/i386/i386/mplock.s: jmp _MPrellock_edx /sys/i386/i386/mplock.s: jmp _MPrellock_edx /sys/i386/i386/mplock.s: call _MPrellock_edx Are asnames.h and lock.h correct? -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 12:35:17 1999 Delivered-To: freebsd-current@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id 0D42A156EF for ; Fri, 19 Nov 1999 12:34:38 -0800 (PST) (envelope-from julian@whistle.com) Received: from current1.whiste.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id MAA71741; Fri, 19 Nov 1999 12:34:27 -0800 (PST) Date: Fri, 19 Nov 1999 12:34:27 -0800 (PST) From: Julian Elischer To: Greg Lehey Cc: FreeBSD current users Subject: Re: Make world breakage in netgraph In-Reply-To: <19991119144034.48321@mojave.sitaranetworks.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG try add this to ng_async.h I just committed this. It's in archie's tree but not the checked in version. /* Configuration for this node */ struct ng_async_cfg { u_char enabled; /* Turn encoding on/off */ --> u_char acfcomp; /* Address/control field compression */ u_int16_t amru; /* Max receive async frame length */ u_int16_t smru; /* Max receive sync frame length */ u_int32_t accm; /* ACCM encoding */ }; On Fri, 19 Nov 1999, Greg Lehey wrote: > ===> libnetgraph > cc -nostdinc -O -pipe -g -Wall -O2 -Werror -I/usr/src.freefall/sys -I/usr/obj/usr/SRC/4.0-CURRENT/src/tmp/usr/include -c /usr/SRC/4.0-CURRENT/src/lib/libnetgraph/sock.c -o sock.o > cc -nostdinc -O -pipe -g -Wall -O2 -Werror -I/usr/src.freefall/sys -I/usr/obj/usr/SRC/4.0-CURRENT/src/tmp/usr/include -c /usr/SRC/4.0-CURRENT/src/lib/libnetgraph/msg.c -o msg.o > cc -nostdinc -O -pipe -g -Wall -O2 -Werror -I/usr/src.freefall/sys -I/usr/obj/usr/SRC/4.0-CURRENT/src/tmp/usr/include -c /usr/SRC/4.0-CURRENT/src/lib/libnetgraph/debug.c -o debug.o > /usr/SRC/4.0-CURRENT/src/lib/libnetgraph/debug.c: In function `NgArgs': > /usr/SRC/4.0-CURRENT/src/lib/libnetgraph/debug.c:340: structure has no member named `acfcomp' > *** Error code 1 > > Stop in /usr/SRC/4.0-CURRENT/src/lib/libnetgraph. > -- > Finger grog@lemis.com for PGP public key > See complete headers for address and phone numbers > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 13:33:37 1999 Delivered-To: freebsd-current@freebsd.org Received: from mail2.netcologne.de (mail2.netcologne.de [194.8.194.103]) by hub.freebsd.org (Postfix) with ESMTP id 522AE156C4; Fri, 19 Nov 1999 13:33:22 -0800 (PST) (envelope-from van.woerkom@netcologne.de) Received: from oranje.my.domain (dial1-25.netcologne.de [194.8.196.25]) by mail2.netcologne.de (8.9.3/8.9.3) with ESMTP id WAA14647; Fri, 19 Nov 1999 22:33:06 +0100 (MET) Received: (from marc@localhost) by oranje.my.domain (8.9.3/8.9.3) id WAA13640; Fri, 19 Nov 1999 22:32:18 +0100 (CET) (envelope-from van.woerkom@netcologne.de) Date: Fri, 19 Nov 1999 22:32:18 +0100 (CET) Message-Id: <199911192132.WAA13640@oranje.my.domain> X-Authentication-Warning: oranje.my.domain: marc set sender to van.woerkom@netcologne.de using -f From: Marc van Woerkom To: dfr@nlsystems.com Cc: roger@cs.strath.ac.uk, devel@XFree86.Org, current@FreeBSD.ORG, multimedia@FreeBSD.ORG In-reply-to: (message from Doug Rabson on Fri, 19 Nov 1999 09:04:14 +0000 (GMT)) Subject: Re: FreeBSD version of DRM? Reply-To: van.woerkom@netcologne.de References: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I have a Voodoo 3 at work and I'm interested in porting the DRM (I can > even justify doing it in work time). It probably won't be for a week or > two since I have other stuff happening right now. Very good. I am aiming for DRI working with nvidia from December on, this will make it a lot easier. Regards, Marc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 13:36:41 1999 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (deep-thought.demos.su [195.133.1.74]) by hub.freebsd.org (Postfix) with ESMTP id 791C3156E1 for ; Fri, 19 Nov 1999 13:36:11 -0800 (PST) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.9.3/8.9.3) id AAA04667; Sat, 20 Nov 1999 00:35:53 +0300 (MSK) (envelope-from ache) Date: Sat, 20 Nov 1999 00:35:52 +0300 From: "Andrey A. Chernov" To: Mike Smith Cc: Wilko Bulte , current@FreeBSD.ORG Subject: Re: Root mount failed:22 ??? Message-ID: <19991120003552.A4648@nagual.pp.ru> References: <199911191753.SAA54700@yedi.iaf.nl> <199911192058.MAA01262@dingo.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: <199911192058.MAA01262@dingo.cdrom.com> Organization: Biomechanoid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Nov 19, 1999 at 12:58:58PM -0800, Mike Smith wrote: > > > /kernel: Root mount failed: 22 > > > /kernel: Mounting root from ufs:da0s4a > > > > You did not recently add a disk drive to the SCSI chain by any chance? > > Especially not one that made the order of the da devices change? No. > The diagnostic is relatively harmless, but it suggests that /etc/fstab > is wrong. Here is fstab line, please point what is wrong? /dev/da0s4a / ufs rw,userquota 1 1 -- Andrey A. Chernov http://nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC>+ D A a++ C G>+ QH+(++) 666+>++ Y To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 13:56:41 1999 Delivered-To: freebsd-current@freebsd.org Received: from lor.watermarkgroup.com (lor.watermarkgroup.com [207.202.73.33]) by hub.freebsd.org (Postfix) with ESMTP id EC65014DE9 for ; Fri, 19 Nov 1999 13:56:29 -0800 (PST) (envelope-from luoqi@watermarkgroup.com) Received: (from luoqi@localhost) by lor.watermarkgroup.com (8.8.8/8.8.8) id QAA02988; Fri, 19 Nov 1999 16:56:26 -0500 (EST) (envelope-from luoqi) Date: Fri, 19 Nov 1999 16:56:26 -0500 (EST) From: Luoqi Chen Message-Id: <199911192156.QAA02988@lor.watermarkgroup.com> To: ak03@gte.com Subject: RE: arplookup 127.0.0.1 failed: could not allocate llinfo Cc: current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > There is no need to fix kernel if the same result could be achieved by simple > rc.network file modification. Yes, solution proposed in conf/14913 is > not complete and only works in network_interfaces="auto" case, but the > modification to make it work in 100% cases is pretty trivial. > I finally found the problem, it was not a kernel bug, it was dhcp client. In /sbin/dhclient-script, it tried to install a route from localhost to the ether interface, which was bogus if the loop-back interface was not configured. Under BSD4.4, there's no need to add such a route, it will be automatically generated by the kernel. So the simplest solution to this problem is to delete all `route add xxx 127.0.0.1' statements from the script. -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 14: 0:28 1999 Delivered-To: freebsd-current@freebsd.org Received: from skynet.ctr.columbia.edu (skynet.ctr.columbia.edu [128.59.64.70]) by hub.freebsd.org (Postfix) with SMTP id 8E34415715 for ; Fri, 19 Nov 1999 14:00:01 -0800 (PST) (envelope-from wpaul@skynet.ctr.columbia.edu) Received: (from wpaul@localhost) by skynet.ctr.columbia.edu (8.6.12/8.6.9) id RAA02751 for current@freebsd.org; Fri, 19 Nov 1999 17:04:10 -0500 From: Bill Paul Message-Id: <199911192204.RAA02751@skynet.ctr.columbia.edu> Subject: Looking for testers... To: current@freebsd.org Date: Fri, 19 Nov 1999 17:04:09 -0500 (EST) X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 5767 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG For those who may not know, I've been tinkering with a new 'tulip clone' driver for various PCI ethernet cards. I'm attempting to combine support for several tulip like chipsets into a single driver in an attempt to reduce code bloat. I've gotten things to where I think they work okay, but I'm looking for testers who have FreeBSD-current running with the following PCI chipsets: - Macronix 98713, 98713A, 98715A or 98725 (NDC sohoware, CNet) - Davicom DM9102 (Jaton XpressNet) - ASIX AX88140A or AX88141 (CNet) - ADMtek AL981 Comet or AN985 Centaur - Lite-On 82c168 or 82c169 PNIC (LinkSys LNE100TX, Matrox 10/100 NIC, Netgear FA310-TX rev D1, D2 or D3, Kingston KNE110TX) - Lite-On/Macronix LC82c115 PNIC II (LinkSys LNE100TX v2.0) - Intel 21143 (Kingston KNE100TX, D-Link DFE-570TX, any other board with an Intel 21143 and MII-based transceiver) If you have a card with one of these chips, download the driver from http://www.freebsd.org/~wpaul/dc.tar.gz. This includes the source for the dc (DEC Clone) driver plus the dcphy and pnphy drivers, as well as pre-compiled KLD modules. The simplest way to test the driver is: - Compile a kernel *without* the ax, al, pn, mx, dm or de drivers. - Boot it. - kldload /path/to/dcphy.ko - kldload /path/to/if_dc.ko If you have "controller miibus0" in your kernel config, then you should be fine, otherwise you will also need to do "kldload miibus" before loading dcphy.ko and if_dc.ko. These modules are for the x86 platform: if you want to compile them for the alpha, you should be able to just by using the included Makefiles. Note the following: - The NWAY autonegotiation support on the early rev PNIC chips (82c168) was horribly broken and I haven't been able to make it work reliably, so it's not currently supported. If you have one of these older cards (LinkSys or Matrox), then you will have to select the media mode manually. It should default to 10baseT/UTP. If you want anything else, you need to select it manually with ifconfig. You must also have the dcphy.ko module loaded for this chip since it includes the pnphy pseudo driver. - Both the 82c168 and 82c169 are set to default to store and forward mode for transmissions. This limits performance somewhat, however I've seen cases where setting a lower transmit threshold leads to corrupt packets being transmitted at 100Mbps on some systems. - The Macronix and PNIC II chips require the dcphy.ko module, since it contains the pseudo driver that makes the built-in NWAY support on these chipsets work. - The 21143 cards I have use MII transceivers: there exist 21143-based NICs that use the 21143's internal NWAY support for autonegotiation and a symbol mode transceiver for 100Mbps, but I haven't bloody got one, so I can't be sure that they will work right. The dcphy.ko pseudo driver should work with the built-in 21143 NWAY, but I can't be sure it really works correctly without a NIC to test. - Occasionally, you may see the driver print a warning message saying there was a transmit underrun and that it's increasing the TX threshold. This is normal: if you see this message, the driver should recover and the interface will continue working without any user intervention. You may see this two or three times after the interface is brought up: after that, you shouldn't see it anymore. If you see this message a lot and the interface stops working after you see it, then I want to know about it. If you only see it once or twice and the interface recovers and keeps going, then don't be concerned; just ignore the message and keep testing. Odds are you will only see this with the Macronix, PNIC II and Davicom chips. You may see it with others under certain conditions. - You may also see a debug error message of the form: txstat: 0x???????? where ???????? is some hexadecimal value. You shouldn't see this under normal cicrumstances, but if you do I'd like to know about it. I'm mainly interested in knowing how this driver code performs and how reliable it is. I'm much more interested in reliability than peformance. I'm also interested to see if the driver autoselects the correct speed and duplex mode, particularly with the Macronix and PNIC II cards that don't use MII-based PHYs. Good tools for testing include ttcp and netperf. Testing with things like ftp, NFS and tcpdump is also recommended. If you encounter a condition where the interface stops receiving or sending traffic, then I'd like to know the following: - What if anything did you do to induce this behavior? - Exactly what kind of NIC do you have? - What kind of machine (CPU and PCI chipset) do you have. - What do the following commands say when the interface stops working: o netstat -m o netstat -in o ifconfig -a - Are there any strange error message in the kernel message buffer? (I.e. does /sbin/dmesg show anything weird.) If the interface operates normally and there are no errors, then I'd like to know that as well. :) Note: please don't ask me for a -stable version of this driver. I'm posting this to -current for a reason. If you're not running -current, then either set up a -current box or just sit back and enjoy the show. -Bill -- ============================================================================= -Bill Paul (212) 854-6020 | System Manager, Master of Unix-Fu Work: wpaul@ctr.columbia.edu | Center for Telecommunications Research Home: wpaul@skynet.ctr.columbia.edu | Columbia University, New York City ============================================================================= "It is not I who am crazy; it is I who am mad!" - Ren Hoek, "Space Madness" ============================================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 14: 4:15 1999 Delivered-To: freebsd-current@freebsd.org Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by hub.freebsd.org (Postfix) with ESMTP id 5D046156FD for ; Fri, 19 Nov 1999 14:03:42 -0800 (PST) (envelope-from roberto@keltia.freenix.fr) Received: (from uucp@localhost) by frmug.org (8.9.3/frmug-2.5/nospam) with UUCP id XAA03271 for FreeBSD-current@FreeBSD.ORG; Fri, 19 Nov 1999 23:03:30 +0100 (CET) (envelope-from roberto@keltia.freenix.fr) Received: by keltia.freenix.fr (Postfix, from userid 101) id 081488864; Fri, 19 Nov 1999 23:00:35 +0100 (CET) Date: Fri, 19 Nov 1999 23:00:35 +0100 From: Ollivier Robert To: FreeBSD current users Subject: Re: Make world breakage in netgraph Message-ID: <19991119230035.A55495@keltia.freenix.fr> Mail-Followup-To: FreeBSD current users References: <19991119144034.48321@mojave.sitaranetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0pre2i In-Reply-To: <19991119144034.48321@mojave.sitaranetworks.com> X-Operating-System: FreeBSD 4.0-CURRENT/ELF AMD-K6/200 & 2x PPro/200 SMP Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG According to Greg Lehey: > Stop in /usr/SRC/4.0-CURRENT/src/lib/libnetgraph. Re-sup. I fixed this already and added a few missing modules while I was here. 55mn for buildworld on my PIII/500 makes testing easy :-) -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 4.0-CURRENT #75: Tue Nov 2 21:03:12 CET 1999 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 14: 5:13 1999 Delivered-To: freebsd-current@freebsd.org Received: from Mercury.unixrules.net (Mercury.UNIXRules.NET [216.65.46.2]) by hub.freebsd.org (Postfix) with SMTP id 12102157E6 for ; Fri, 19 Nov 1999 14:04:59 -0800 (PST) (envelope-from geniusj@Mercury.unixrules.net) Received: (qmail 27669 invoked by uid 1046); 19 Nov 1999 22:04:39 -0000 Date: Fri, 19 Nov 1999 14:04:39 -0800 (PST) From: geniusj To: current@freebsd.org Subject: sscape_mss0 borked? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This has been a problem that has been around ever since I began using the -CURRENT tree.. actually, shortly after on a cvsup.. Anyhoo, I have had the problem throughout multiple installworlds/kernel builds, etc.. The problem is mainly that sscape_mss on my Ensoniq Soundscape (original) skips when playing mp3s and other things.. I get a lot of static,a nd the longer it plays, the more it happens.. This does not happen in any other OS and it did not happen in 3.x either.. .. I'm thinking that maybe there is a memory leak in the driver or something.. because it takes time to take effect, it is not immediate, but definitely a bug.. If anyone has this problem or would like to help me with it.. please do :).. I am pretty sure this is a bug, but if it isn't, i'll do whatever I have to do to fix it, it's quite annoying :-).. If this is a bug, please fix it soon, no matter how trivial sound might seem to some of the people on this list.. Thanks in advance :) Below is dmesg output.. Cheers, Jason DiCioccio ------- dmesg output ------- sscape0 at port 0x330 irq 9 on isa0 snd0: snd0: sscape_mss0 at port 0x534 irq 5 drq 1 on isa0 snd0: WARNING: "snd" is usurping "snd"'s cdevsw[] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 14:36: 3 1999 Delivered-To: freebsd-current@freebsd.org Received: from mojave.sitaranetworks.com (mojave.sitaranetworks.com [199.103.141.157]) by hub.freebsd.org (Postfix) with ESMTP id 1177614E53 for ; Fri, 19 Nov 1999 14:35:53 -0800 (PST) (envelope-from grog@mojave.sitaranetworks.com) Message-ID: <19991119173541.46195@mojave.sitaranetworks.com> Date: Fri, 19 Nov 1999 17:35:41 -0500 From: Greg Lehey To: Julian Elischer Cc: FreeBSD current users Subject: Re: Make world breakage in netgraph Reply-To: Greg Lehey References: <19991119144034.48321@mojave.sitaranetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: ; from Julian Elischer on Fri, Nov 19, 1999 at 12:34:27PM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Friday, 19 November 1999 at 12:34:27 -0800, Julian Elischer wrote: > On Fri, 19 Nov 1999, Greg Lehey wrote: > >> ===> libnetgraph >> cc -nostdinc -O -pipe -g -Wall -O2 -Werror -I/usr/src.freefall/sys -I/usr/obj/usr/SRC/4.0-CURRENT/src/tmp/usr/include -c /usr/SRC/4.0-CURRENT/src/lib/libnetgraph/sock.c -o sock.o >> cc -nostdinc -O -pipe -g -Wall -O2 -Werror -I/usr/src.freefall/sys -I/usr/obj/usr/SRC/4.0-CURRENT/src/tmp/usr/include -c /usr/SRC/4.0-CURRENT/src/lib/libnetgraph/msg.c -o msg.o >> cc -nostdinc -O -pipe -g -Wall -O2 -Werror -I/usr/src.freefall/sys -I/usr/obj/usr/SRC/4.0-CURRENT/src/tmp/usr/include -c /usr/SRC/4.0-CURRENT/src/lib/libnetgraph/debug.c -o debug.o >> /usr/SRC/4.0-CURRENT/src/lib/libnetgraph/debug.c: In function `NgArgs': >> /usr/SRC/4.0-CURRENT/src/lib/libnetgraph/debug.c:340: structure has no member named `acfcomp' >> *** Error code 1 >> >> Stop in /usr/SRC/4.0-CURRENT/src/lib/libnetgraph. > > try add this to ng_async.h > I just committed this. It's in archie's tree but not the checked in > version. > > /* Configuration for this node */ > struct ng_async_cfg { > u_char enabled; /* Turn encoding on/off */ > --> u_char acfcomp; /* Address/control field compression */ > u_int16_t amru; /* Max receive async frame length */ > u_int16_t smru; /* Max receive sync frame length */ > u_int32_t accm; /* ACCM encoding */ > }; Well, it looks like it compiles OK now with Ollivier's patches. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 14:47:26 1999 Delivered-To: freebsd-current@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 1F26214DFB for ; Fri, 19 Nov 1999 14:47:22 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id OAA06479; Fri, 19 Nov 1999 14:47:21 -0800 (PST) (envelope-from dillon) Date: Fri, 19 Nov 1999 14:47:21 -0800 (PST) From: Matthew Dillon Message-Id: <199911192247.OAA06479@apollo.backplane.com> To: Steve Kargl Cc: freebsd-current@FreeBSD.ORG (FreeBSD Current) Subject: Re: kernel breakage on SMP References: <199911192024.MAA07473@troutmask.apl.washington.edu> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h -elf vers.c :linking kernel :exception.o: In function `vm86_biosret': :exception.o(.text+0x582): undefined reference to `MPrellock' Gulp! I forgot to commit a file... done. -Matt Matthew Dillon :/sys/i386/include/asnames.h:#define _MPrellock_edx MPrellock_edx :/sys/i386/include/lock.h: call _MPrellock ; \ :/sys/i386/isa/apic_vector.s: call _MPrellock_edx :/sys/i386/isa/ipl.s: call _MPrellock_edx :/sys/i386/i386/mplock.s: * void MPrellock_edx(unsigned int *lock : %edx) :/sys/i386/i386/mplock.s:NON_GPROF_ENTRY(MPrellock_edx) :/sys/i386/i386/mplock.s: call _MPrellock_edx :/sys/i386/i386/mplock.s: jmp _MPrellock_edx :/sys/i386/i386/mplock.s: jmp _MPrellock_edx :/sys/i386/i386/mplock.s: jmp _MPrellock_edx :/sys/i386/i386/mplock.s: jmp _MPrellock_edx :/sys/i386/i386/mplock.s: jmp _MPrellock_edx :/sys/i386/i386/mplock.s: call _MPrellock_edx : : :Are asnames.h and lock.h correct? : :-- :Steve : : :To Unsubscribe: send mail to majordomo@FreeBSD.org :with "unsubscribe freebsd-current" in the body of the message : To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 15: 4:16 1999 Delivered-To: freebsd-current@freebsd.org Received: from mojave.sitaranetworks.com (mojave.sitaranetworks.com [199.103.141.157]) by hub.freebsd.org (Postfix) with ESMTP id 59F1614F3E; Fri, 19 Nov 1999 15:04:08 -0800 (PST) (envelope-from grog@mojave.sitaranetworks.com) Message-ID: <19991119180320.65386@mojave.sitaranetworks.com> Date: Fri, 19 Nov 1999 18:03:20 -0500 From: Greg Lehey To: Jason Craig , Jason Craig , Jason Cc: FreeBSD current users Subject: Re: Compile new kernel with MCA support Reply-To: Greg Lehey References: <001701bf32dd$4f76a500$d3b17018@wlfdle1.on.wave.home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <001701bf32dd$4f76a500$d3b17018@wlfdle1.on.wave.home.com>; from Jason Craig on Fri, Nov 19, 1999 at 05:27:15PM -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [moved to -current] On Friday, 19 November 1999 at 17:27:15 -0500, Jason Craig wrote: On Friday, 19 November 1999 at 17:32:20 -0500, Jason Craig wrote: On Friday, 19 November 1999 at 17:38:07 -0500, Jason wrote: > Hello all, > > I have a few FreeBSD machines that I am playing around with now, and have > come across a nice old IBM PC Server 320 with dual P90 processors and 64MB > of RAM i would also like to utilize. > > I am currently using 4.0-19991113-CURRENT generic kernel, and things are > working great. > > However, I tried to compile a custom kernel to weed out any unwanted > devices, and to enable SMP and have have run into a problem. After > compiling the kernel using the standard procedure, I rebooted it, and it > panic'd after doing the kernel config. > > I tried removing most of the entries from /boot/kernel.conf, only to find it > still panics saying something about the MCA bus. > > Am I missing something? Yes, probably http://www.lemis.com/questions.html. To quote: Should I ask -questions or -hackers? Two mailing lists handle general questions about FreeBSD, FreeBSD-questions and FreeBSD-hackers. In some cases, it's not really clear which group you should ask. The following criteria should help for 99% of all questions, however: If the question is of a general nature, ask FreeBSD-questions. Examples might be questions about intstalling FreeBSD or the use of a particular UNIX utility. If you think the question relates to a bug, but you're not sure, or you don't know how to look for it, send the message to FreeBSD-questions. 6. Specify as much information as possible. This is a difficult area, and we need to expand on what information you need to submit, but here's a start: In nearly every case, it's important to know the version of FreeBSD you're running. This is particularly the case for FreeBSD-CURRENT, where you should also specify the date of the sources, though of course you shouldn't be sending questions about -CURRENT to FreeBSD-questions (...) If your system panics, don't say ``My system panicked'', say (for example) ``my system panicked with the message 'free vnode isn't'''. 7. If you do all this, and you still don't get an answer, there could be other reasons. For example, the problem is so complicated that nobody knows the answer, or the person who does know the answer was offline. If you don't get an answer after, say, a week, it might help to re-send the message. If you don't get an answer to your second message, though, you're probably not going to get one from this forum. Resending the same message again and again will only make you unpopular. One that's not in there: if you're running -CURRENT, come with some *clever* questions. -CURRENT isn't for beginners. In your case, you sent three messages in 11 minues. That's a good way to make yourself unpopular, especially when you're running exotic hardware which not many people know. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 15:16:35 1999 Delivered-To: freebsd-current@freebsd.org Received: from zippy.cdrom.com (zippy.cdrom.com [204.216.27.228]) by hub.freebsd.org (Postfix) with ESMTP id D2BE414E3E for ; Fri, 19 Nov 1999 15:16:33 -0800 (PST) (envelope-from jkh@zippy.cdrom.com) Received: from localhost (localhost [127.0.0.1]) by zippy.cdrom.com (8.9.3/8.9.3) with ESMTP id PAA18050 for ; Fri, 19 Nov 1999 15:16:13 -0800 (PST) (envelope-from jkh@zippy.cdrom.com) To: current@freebsd.org Subject: Kernel build breakage Date: Fri, 19 Nov 1999 15:16:13 -0800 Message-ID: <18047.943053373@localhost> From: "Jordan K. Hubbard" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG sh ../../conf/newvers.sh ZIPPY cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 vers.c linking kernel exception.o: In function `vm86_biosret': exception.o(.text+0x582): undefined reference to `MPrellock' exception.o: In function `Xintr0': exception.o(.text+0x11b4): undefined reference to `MPrellock' exception.o: In function `Xintr1': ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 15:27:14 1999 Delivered-To: freebsd-current@freebsd.org Received: from peedub.muc.de (peedub.muc.de [193.149.49.109]) by hub.freebsd.org (Postfix) with ESMTP id 8221E14E3E for ; Fri, 19 Nov 1999 15:27:10 -0800 (PST) (envelope-from garyj@peedub.muc.de) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.9.3/8.6.9) with ESMTP id AAA27959; Sat, 20 Nov 1999 00:04:37 +0100 (CET) Message-Id: <199911192304.AAA27959@peedub.muc.de> X-Mailer: exmh version 2.1.0 09/18/1999 To: "Andrey A. Chernov" Cc: Mike Smith , Wilko Bulte , current@FreeBSD.ORG Subject: Re: Root mount failed:22 ??? Reply-To: Gary Jennejohn In-reply-to: Your message of "Sat, 20 Nov 1999 00:35:52 +0300." <19991120003552.A4648@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 20 Nov 1999 00:04:37 +0100 From: Gary Jennejohn Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Andrey A. Chernov" writes: >On Fri, Nov 19, 1999 at 12:58:58PM -0800, Mike Smith wrote: >> > > /kernel: Root mount failed: 22 >> > > /kernel: Mounting root from ufs:da0s4a >> > >> > You did not recently add a disk drive to the SCSI chain by any chance? >> > Especially not one that made the order of the da devices change? > >No. > >> The diagnostic is relatively harmless, but it suggests that /etc/fstab >> is wrong. > >Here is fstab line, please point what is wrong? >/dev/da0s4a / ufs rw,userquota 1 1 > I see this: Root mount failed: 22 Mounting root from ufs:da0s4a [snip] Root mount failed: 6 Mounting root from ufs:da0a <-- this is defined in my config file It's normal. Some change which phk introduced into /sys/kern/vfs_conf.c, I think. --- Gary Jennejohn / garyj@muc.de garyj@fkr.cpqcorp.net gj@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 15:31:11 1999 Delivered-To: freebsd-current@freebsd.org Received: from vip.consys.com (VIP.ConSys.COM [209.141.107.6]) by hub.freebsd.org (Postfix) with ESMTP id 88C2F1508F for ; Fri, 19 Nov 1999 15:31:07 -0800 (PST) (envelope-from rcarter@pinyon.org) Received: (from pinyon@localhost) by vip.consys.com (8.9.3/8.9.1) id QAA63190; Fri, 19 Nov 1999 16:31:06 -0700 (MST) Date: Fri, 19 Nov 1999 16:31:06 -0700 (MST) From: "Russell L. Carter" Message-Id: <199911192331.QAA63190@vip.consys.com> To: freebsd-current@freebsd.org Subject: threads, exceptions, and current Cc: rcarter@vip.consys.com Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I'm trying to track down a problem with threads, C++ exceptions and ACE on -current. Is the appended little program supposed to work? If not, why not? It SIGABRTs immediately after the last throw with egcs-2.95.2, and also with a month old or so egcs-2.91.66, stock cc. Also with LinuxThreads, so it's not libc_r specific. I am told but cannot verify at the minute that this works on other platforms. Thanks, Russell $ c++ -pthread -D_THREAD_SAFE ex_test.cpp $ ./a.out Throwing Ex: Caught Ex, now rethrowing it... Caught Ex thrown from main thread. Throwing Ex: Caught Ex, now rethrowing it... Abort trap (core dumped) $ ex_test.cpp: #include #include class Ex {}; class testEx { public: void throwEx () { fprintf(stderr, "Throwing Ex:\n"); throw Ex (); } }; void * f(void *) { testEx thetest; thetest.throwEx (); } void * g(void *arg) { try { f(arg); } catch (Ex &ex) { fprintf(stderr, "Caught Ex, now rethrowing it...\n"); throw; } } int main (void) { int *arg = 0; try { g((void *) arg); } catch (Ex &ex) { fprintf(stderr, "Caught Ex thrown from main thread.\n"); } pthread_t ex_thread; pthread_attr_t *attr = 0; try { pthread_create(&ex_thread, attr, g, (void *) arg); } catch (Ex &ex) { fprintf(stderr, "Caught Ex thrown from child thread.\n"); } pthread_join(ex_thread, (void **) &arg); return 0; } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 15:46:23 1999 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (deep-thought.demos.su [195.133.1.74]) by hub.freebsd.org (Postfix) with ESMTP id 0AD1115532; Fri, 19 Nov 1999 15:46:08 -0800 (PST) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.9.3/8.9.3) id CAA05164; Sat, 20 Nov 1999 02:45:55 +0300 (MSK) (envelope-from ache) Date: Sat, 20 Nov 1999 02:45:55 +0300 From: "Andrey A. Chernov" To: Mike Smith Cc: Wilko Bulte , current@FreeBSD.ORG, scsi@FreeBSD.ORG Subject: Mount before SCSI comes up ? (was Re: Root mount failed:22 ???) Message-ID: <19991120024554.B5091@nagual.pp.ru> References: <19991120003552.A4648@nagual.pp.ru> <199911192252.OAA01896@dingo.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: <199911192252.OAA01896@dingo.cdrom.com> Organization: Biomechanoid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Nov 19, 1999 at 02:52:13PM -0800, Mike Smith wrote: > > > The diagnostic is relatively harmless, but it suggests that /etc/fstab > > > is wrong. > > > > Here is fstab line, please point what is wrong? > > /dev/da0s4a / ufs rw,userquota 1 1 > > I have no idea; it'd be handy to know what it's trying to mount that's > failing, but I don't recall that in your output. It is NOT say, what it tries to mount that failing :-( Here is quote in more wide scope. Is it tries to mount root before SCSI devices come up? Waiting 2 seconds for SCSI devices to settle Creating DISK da0 Creating DISK da1 Root mount failed: 22 Mounting root from ufs:da0s4a da0 at aha0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 3.300MB/s transfers da0: 516MB (1057616 512 byte sectors: 64H 32S/T 516C) da1 at aha0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 3.300MB/s transfers da1: 1051MB (2154176 512 byte sectors: 64H 32S/T 1051C) -- Andrey A. Chernov http://nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC>+ D A a++ C G>+ QH+(++) 666+>++ Y To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 16:18:50 1999 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (hermes.dialup.ru [194.87.16.230]) by hub.freebsd.org (Postfix) with ESMTP id E0BA314D7B for ; Fri, 19 Nov 1999 16:18:37 -0800 (PST) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.9.3/8.9.1) id DAA00263 for current@freebsd.org; Sat, 20 Nov 1999 03:18:34 +0300 (MSK) (envelope-from ache) Date: Sat, 20 Nov 1999 03:18:27 +0300 From: "Andrey A. Chernov" To: current@freebsd.org Subject: ps ax: kernel command line caching bug with "-"? Message-ID: <19991120031827.A242@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i Organization: Biomechanoid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG With recent -current I got _su (tcsh) \___ in "ps ax" instead of -su (tcsh) as before. From su.c: /* csh strips the first character... */ *np = asthem ? "-su" : iscsh == YES ? "_su" : "su"; It seems that it NOT strip the first character now :-( -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC>+ D A a++ C G>+ QH+(++) 666+>++ Y To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 16:45:16 1999 Delivered-To: freebsd-current@freebsd.org Received: from nowcool.dhs.org (fx3-1-031.mgfairfax.rr.com [24.28.200.31]) by hub.freebsd.org (Postfix) with ESMTP id B00861514B for ; Fri, 19 Nov 1999 16:45:06 -0800 (PST) (envelope-from freebsd@nowcool.dhs.org) Received: from localhost (freebsd@localhost) by nowcool.dhs.org (8.9.3/8.9.3) with ESMTP id TAA03813; Fri, 19 Nov 1999 19:45:04 -0500 (EST) (envelope-from freebsd@nowcool.dhs.org) Date: Fri, 19 Nov 1999 19:45:03 -0500 (EST) From: Byung Yang To: Jeroen Ruigrok/Asmodai Cc: freebsd-current@FreeBSD.ORG Subject: Re: cpu name In-Reply-To: <19991119073255.A37588@daemon.ninth-circle.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG as I see the source code, it is not doing what it is supposed to do.. any suggestions? (it's not a big deal but still it's a bug) I did not modify any of the source codes. Byung On Fri, 19 Nov 1999, Jeroen Ruigrok/Asmodai wrote: > -On [19991119 04:02], Byung Yang (freebsd@nowcool.dhs.org) wrote: > >supped && made world a min ago: > >check out the CPU: name > >I am using AMD K6-2 333Mhz > > >----------------------------------------------------------- > >CPU: \^E (334.40-MHz 586-class CPU) > > Origin = "AuthenticAMD" Id = 0x580 Stepping = 0 > > Features=0x8001bf > > AMD Features=0x80000800 > > I made world yesterday morning on two boxes, both are GenuineIntel and > have no problems whatsoever. > > Looking at /usr/src/sys/i386/i386/identcpu.c I see that the 0x580 is: > > case 0x580: > strcat(cpu_model, "K6-2"); > break; > > Which gets copied into: > > printf("CPU: "); > strncpy(cpu_model, i386_cpus[cpu].cpu_name, sizeof cpu_model); > > But I can't find anything remotely related that would corrupt the > strncpy to print \^E. > > -- > Jeroen Ruigrok van der Werven/Asmodai asmodai(at)wxs.nl > The BSD Programmer's Documentation Project > Network/Security Specialist BSD: Technical excellence at its best > I succeed him; no one could replace him. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 17:59:54 1999 Delivered-To: freebsd-current@freebsd.org Received: from midget.dons.net.au (daniel.lnk.telstra.net [139.130.137.70]) by hub.freebsd.org (Postfix) with ESMTP id 4939A152C8 for ; Fri, 19 Nov 1999 17:59:49 -0800 (PST) (envelope-from darius@dons.net.au) Received: from guppy.dons.net.au (guppy.dons.net.au [203.31.81.9]) by midget.dons.net.au (8.9.3/8.9.1) with ESMTP id MAA05464; Sat, 20 Nov 1999 12:29:40 +1030 (CST) (envelope-from darius@dons.net.au) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199911192156.QAA02988@lor.watermarkgroup.com> Date: Sat, 20 Nov 1999 12:28:26 +1030 (CST) From: "Daniel J. O'Connor" To: Luoqi Chen Subject: RE: arplookup 127.0.0.1 failed: could not allocate llinfo Cc: current@FreeBSD.ORG, ak03@gte.com Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 19-Nov-99 Luoqi Chen wrote: > configured. Under BSD4.4, there's no need to add such a route, it will be > automatically generated by the kernel. So the simplest solution to this > problem is to delete all `route add xxx 127.0.0.1' statements from the > script. Any chance of getting that committed? :) --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 18: 0:56 1999 Delivered-To: freebsd-current@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 241A9152C8 for ; Fri, 19 Nov 1999 18:00:52 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.1/8.9.1) with ESMTP id VAA26455; Fri, 19 Nov 1999 21:00:51 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.9.3/8.9.1) id VAA27552; Fri, 19 Nov 1999 21:00:20 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 19 Nov 1999 21:00:20 -0500 (EST) To: Bill Paul Cc: current@freebsd.org Subject: Re: Looking for testers... In-Reply-To: <199911192204.RAA02751@skynet.ctr.columbia.edu> References: <199911192204.RAA02751@skynet.ctr.columbia.edu> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14389.64991.509189.203958@grasshopper.cs.duke.edu> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bill Paul writes: > For those who may not know, I've been tinkering with a new 'tulip clone' > driver for various PCI ethernet cards. I'm attempting to combine support > for several tulip like chipsets into a single driver in an attempt to > reduce code bloat. I've gotten things to where I think they work okay, > but I'm looking for testers who have FreeBSD-current running with the > following PCI chipsets: YES! Hurray!!!!! You are my hero! I have been suffering under the if_de driver which utterly fails to grok 100Mb full duplex on all my 21143 equipped alphas. This news has made my week, my month! Positive test results will follow via private email. THANK YOU! Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 18:29:45 1999 Delivered-To: freebsd-current@freebsd.org Received: from skynet.ctr.columbia.edu (skynet.ctr.columbia.edu [128.59.64.70]) by hub.freebsd.org (Postfix) with SMTP id 55708152C8 for ; Fri, 19 Nov 1999 18:29:28 -0800 (PST) (envelope-from wpaul@skynet.ctr.columbia.edu) Received: (from wpaul@localhost) by skynet.ctr.columbia.edu (8.6.12/8.6.9) id VAA03173; Fri, 19 Nov 1999 21:33:33 -0500 From: Bill Paul Message-Id: <199911200233.VAA03173@skynet.ctr.columbia.edu> Subject: Re: Looking for testers... To: gallatin@cs.duke.edu (Andrew Gallatin) Date: Fri, 19 Nov 1999 21:33:32 -0500 (EST) Cc: current@freebsd.org In-Reply-To: <14389.64991.509189.203958@grasshopper.cs.duke.edu> from "Andrew Gallatin" at Nov 19, 99 09:00:20 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1816 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Of all the gin joints in all the towns in all the world, Andrew Gallatin had to walk into mine and say: > Bill Paul writes: > > For those who may not know, I've been tinkering with a new 'tulip clone' > > driver for various PCI ethernet cards. I'm attempting to combine support > > for several tulip like chipsets into a single driver in an attempt to > > reduce code bloat. I've gotten things to where I think they work okay, > > but I'm looking for testers who have FreeBSD-current running with the > > following PCI chipsets: > > YES! Hurray!!!!! You are my hero! I have been suffering under the > if_de driver which utterly fails to grok 100Mb full duplex on all my > 21143 equipped alphas. This news has made my week, my month! Careful. I said that the only 21143 cards I have use MII transceivers. I don't have any cards that use symbol mode and built-in NWAY. The Macronix chips copy the 21143's built-in NWAY pretty closely and they work pretty well, but I don't know how well it works with an actual 21143. I don't know how DEC set up the ethernet in the alphas: if they used an MII transceiver, then it should work okay, but if not you could be in for trouble. I wish I didn't have to say that, but I just don't have the hardware to test with. -Bill -- ============================================================================= -Bill Paul (212) 854-6020 | System Manager, Master of Unix-Fu Work: wpaul@ctr.columbia.edu | Center for Telecommunications Research Home: wpaul@skynet.ctr.columbia.edu | Columbia University, New York City ============================================================================= "It is not I who am crazy; it is I who am mad!" - Ren Hoek, "Space Madness" ============================================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 19:30:19 1999 Delivered-To: freebsd-current@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id 4C97814F60 for ; Fri, 19 Nov 1999 19:30:12 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (root@d60-025.leach.ucdavis.edu [169.237.60.25]) by relay.nuxi.com (8.9.3/8.9.3) with ESMTP id TAA17823; Fri, 19 Nov 1999 19:30:10 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.9.3/8.9.1) id TAA67556; Fri, 19 Nov 1999 19:30:09 -0800 (PST) (envelope-from obrien) Date: Fri, 19 Nov 1999 19:30:09 -0800 From: "David O'Brien" To: "Daniel J. O'Connor" Cc: Luoqi Chen , current@FreeBSD.ORG, ak03@gte.com Subject: Re: arplookup 127.0.0.1 failed: could not allocate llinfo Message-ID: <19991119193009.A67535@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <199911192156.QAA02988@lor.watermarkgroup.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from darius@dons.net.au on Sat, Nov 20, 1999 at 12:28:26PM +1030 X-Operating-System: FreeBSD 4.0-CURRENT Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Nov 20, 1999 at 12:28:26PM +1030, Daniel J. O'Connor wrote: > Any chance of getting that committed? :) On my list of things to look at for the weekend. -- -- David (obrien@NUXI.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 19:35:34 1999 Delivered-To: freebsd-current@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id 6254814F60 for ; Fri, 19 Nov 1999 19:35:31 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (root@d60-025.leach.ucdavis.edu [169.237.60.25]) by relay.nuxi.com (8.9.3/8.9.3) with ESMTP id TAA17836; Fri, 19 Nov 1999 19:35:31 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.9.3/8.9.1) id TAA67574; Fri, 19 Nov 1999 19:35:30 -0800 (PST) (envelope-from obrien) Date: Fri, 19 Nov 1999 19:35:30 -0800 From: "David O'Brien" To: Maxim Kolinko Cc: freebsd-current@FreeBSD.ORG Subject: Re: make world fails Message-ID: <19991119193530.B67535@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from maxkol@viaduk.net on Thu, Nov 18, 1999 at 08:50:50PM +0200 X-Operating-System: FreeBSD 4.0-CURRENT Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > sorry i'm don't put error message > i'm build and install -CURRENT kernel , and trying make world Do you have any local hacks in /usr/src/contrib/gcc/ ?? It seems you may have corrupted sources. Can you remove /usr/src/contrib/gcc and ``cvs up'' or ``cvsup'' again? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 20:28:29 1999 Delivered-To: freebsd-current@freebsd.org Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id E6B5314DFF for ; Fri, 19 Nov 1999 20:28:23 -0800 (PST) (envelope-from green@FreeBSD.org) Received: from localhost (green@localhost [127.0.0.1]) by hub.freebsd.org (8.9.3/8.9.3) with ESMTP id XAA94363; Fri, 19 Nov 1999 23:24:18 -0500 (EST) (envelope-from green@FreeBSD.org) Date: Fri, 19 Nov 1999 23:24:17 -0500 (EST) From: Brian Fundakowski Feldman X-Sender: green@green.myip.org To: SANETO Takanori Cc: "Rodney W. Grimes" , freebsd-current@FreeBSD.org Subject: Re: gcc 2.95.2 In-Reply-To: <199911191601.BAA26542@mail.ba2.so-net.ne.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 20 Nov 1999, SANETO Takanori wrote: > After some investigation, I found that following reasons (both cpp > related) caused the failure of build/installing XFree86: > > 1. /usr/libexec/cpp now has no predefined symbols like __FreeBSD__, > which makes imake unable to detect OS type automatically. I'm certain XFree86 should build using gcc -E and not the C preprocessor itself. > > Hope it helps, > -- > $B$5$M$r(B > -- Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! / green@FreeBSD.org `------------------------------' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 23: 2: 8 1999 Delivered-To: freebsd-current@freebsd.org Received: from ns.cvzoom.net (ns.cvzoom.net [208.226.154.2]) by hub.freebsd.org (Postfix) with ESMTP id 63DE014C81 for ; Fri, 19 Nov 1999 23:02:05 -0800 (PST) (envelope-from dmmiller@cvzoom.net) Received: from cvzoom.net (lc186.cvzoom.net [208.226.154.186]) by ns.cvzoom.net (8.9.3/8.9.3) with ESMTP id BAA23705 for ; Sat, 20 Nov 1999 01:43:05 -0500 (EST) Message-ID: <38364741.6443C59F@cvzoom.net> Date: Sat, 20 Nov 1999 02:01:21 -0500 From: Donn Miller X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: current@freebsd.org Subject: dd and gzip'd files Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I recently tried using dd to transfer a binary image to floppy. It was the Linux root disk image, color.gz. Basically, dd works ok with non-gzipped files, but with files in gzip format, it chokes: root@lc186 floppies# dd if=color.gz of=/dev/rfd0 dd: /dev/rfd0: Invalid argument 2453+1 records in 2453+0 records out 1255936 bytes transferred in 42.665771 secs (29437 bytes/sec) Notice the line that says: 2453+1 records in ^^^^^^ For some reason, it is offsetting to 1 before writing to disk. Rawrite.exe does this correctly. I tried with net.i, and it gave me no problems: root@lc186 floppies# dd if=net.i of=/dev/rfd0 2156+0 records in 2156+0 records out 1103872 bytes transferred in 39.172698 secs (28180 bytes/sec) I tried skip=0, but that didn't work. Apparently, dd has some limitations with what kinds of files you can transfer to floppies. I downloaded the files in binary format, so there's no problems there. -- - Donn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 23:16:19 1999 Delivered-To: freebsd-current@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 1C00314C81 for ; Fri, 19 Nov 1999 23:16:13 -0800 (PST) (envelope-from bright@wintelcom.net) Received: from localhost (bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) with ESMTP id XAA13863; Fri, 19 Nov 1999 23:42:42 -0800 (PST) Date: Fri, 19 Nov 1999 23:42:41 -0800 (PST) From: Alfred Perlstein To: Donn Miller Cc: current@FreeBSD.ORG Subject: Re: dd and gzip'd files In-Reply-To: <38364741.6443C59F@cvzoom.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 20 Nov 1999, Donn Miller wrote: > I recently tried using dd to transfer a binary image to floppy. > It was the Linux root disk image, color.gz. Basically, dd works > ok with non-gzipped files, but with files in gzip format, it > chokes: > > root@lc186 floppies# dd if=color.gz of=/dev/rfd0 > dd: /dev/rfd0: Invalid argument > 2453+1 records in > 2453+0 records out > 1255936 bytes transferred in 42.665771 secs (29437 bytes/sec) > > Notice the line that says: > > 2453+1 records in > ^^^^^^ > > For some reason, it is offsetting to 1 before writing to disk. > Rawrite.exe does this correctly. I tried with net.i, and it gave > me no problems: > > root@lc186 floppies# dd if=net.i of=/dev/rfd0 > 2156+0 records in > 2156+0 records out > 1103872 bytes transferred in 39.172698 secs (28180 bytes/sec) > > I tried skip=0, but that didn't work. Apparently, dd has some > limitations with what kinds of files you can transfer to > floppies. I downloaded the files in binary format, so there's no > problems there. no, you must write in block sized chunks when writing to raw devices or it'll get mad at you, try figuring a way to use a blocksize of 16k and padding it to a 16k boundry. if that doesn't work, then please tell us what you tried. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Nov 19 23:27:29 1999 Delivered-To: freebsd-current@freebsd.org Received: from ns.cvzoom.net (ns.cvzoom.net [208.226.154.2]) by hub.freebsd.org (Postfix) with ESMTP id 5601514D40 for ; Fri, 19 Nov 1999 23:27:25 -0800 (PST) (envelope-from dmmiller@cvzoom.net) Received: from cvzoom.net (lc186.cvzoom.net [208.226.154.186]) by ns.cvzoom.net (8.9.3/8.9.3) with ESMTP id CAA24739; Sat, 20 Nov 1999 02:08:24 -0500 (EST) Message-ID: <38364D31.F1AD476E@cvzoom.net> Date: Sat, 20 Nov 1999 02:26:41 -0500 From: Donn Miller X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Alfred Perlstein Cc: current@FreeBSD.ORG Subject: Re: dd and gzip'd files References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alfred Perlstein wrote: > > On Sat, 20 Nov 1999, Donn Miller wrote: > > > I recently tried using dd to transfer a binary image to floppy. > > It was the Linux root disk image, color.gz. Basically, dd works > > ok with non-gzipped files, but with files in gzip format, it > > chokes: > > > > root@lc186 floppies# dd if=color.gz of=/dev/rfd0 > > dd: /dev/rfd0: Invalid argument > > 2453+1 records in > > 2453+0 records out > > 1255936 bytes transferred in 42.665771 secs (29437 bytes/sec) > > > > Notice the line that says: > > > > 2453+1 records in > > ^^^^^^ > > > > For some reason, it is offsetting to 1 before writing to disk. > > Rawrite.exe does this correctly. I tried with net.i, and it gave > > me no problems: > > > > root@lc186 floppies# dd if=net.i of=/dev/rfd0 > > 2156+0 records in > > 2156+0 records out > > 1103872 bytes transferred in 39.172698 secs (28180 bytes/sec) > > > > I tried skip=0, but that didn't work. Apparently, dd has some > > limitations with what kinds of files you can transfer to > > floppies. I downloaded the files in binary format, so there's no > > problems there. > > no, you must write in block sized chunks when writing to raw > devices or it'll get mad at you, try figuring a way > to use a blocksize of 16k and padding it to a 16k boundry. > > if that doesn't work, then please tell us what you tried. Thanks. Here is what I tried: root@lc186 floppies# dd obs=16k conv=osync if=color.gz of=/dev/rfd0 2453+1 records in 77+0 records out 1261568 bytes transferred in 50.994527 secs (24739 bytes/sec) It appears to have worked. I guess the output block size of 16k is key for floppies, then. The conv=osync does the padding. -- - Donn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 0:28:46 1999 Delivered-To: freebsd-current@freebsd.org Received: from ipt2.iptelecom.net.ua (ipt2.iptelecom.net.ua [212.9.224.2]) by hub.freebsd.org (Postfix) with ESMTP id BB64214DF5 for ; Sat, 20 Nov 1999 00:28:22 -0800 (PST) (envelope-from sobomax@altavista.net) Received: from altavista.net (dialup5-52.iptelecom.net.ua [212.9.227.52]) by ipt2.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id KAA05077; Sat, 20 Nov 1999 10:32:18 +0200 (EET) Message-ID: <38365B59.3D5B2725@altavista.net> Date: Sat, 20 Nov 1999 10:27:05 +0200 From: Maxim Sobolev Organization: Home, sweet home X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: Mike Smith Cc: S ren Schmidt , Sheldon Hearn , current@FreeBSD.ORG Subject: Re: NewATA on ISA and PCI References: <199911191842.KAA00694@dingo.cdrom.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Smith wrote: > > > > > Does anybody can explain why kernel with NewATA driver booted on machine > > > > > with ISA based IDE adapter trying to mount wd* as root f/s, while > > > > > exactly *the same* kernel booted on PCI based mobo mounts ad* as root? > > > > > > > > /etc/fstab ? > > > > > > No, I do not talking about /etc/fstab, I'm talking about what device kernel is > > > using to mount root *before* starting /sbin/init (e.g. "changing root device to > > > ..." in dmesg). > > > > Hmm, the bootblock or the loader might be responsible.... > > This is -current. If the message is "changing root device to..." you > are out of date and must update before we can help you. > > The root mount code has changed quite a lot just recently, and > debugging the 'old' code isn't practical anymore. You are not right - I'm usually rebuilding kernel in one-three days, and world in a week. My current kernel built from sources sup'ed (cvsup.freebsd.org) yesterday. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 0:33:23 1999 Delivered-To: freebsd-current@freebsd.org Received: from server.amis.net (server.amis.net [212.18.32.5]) by hub.freebsd.org (Postfix) with ESMTP id 5112C14CAD for ; Sat, 20 Nov 1999 00:33:18 -0800 (PST) (envelope-from blaz@gold.amis.net) Received: by server.amis.net (Postfix, from userid 66) id CE818D5C28; Sat, 20 Nov 1999 09:33:16 +0100 (CET) Received: by gold.amis.net (Postfix, from userid 1000) id 590C31D53; Sat, 20 Nov 1999 09:31:32 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by gold.amis.net (Postfix) with ESMTP id 391985805 for ; Sat, 20 Nov 1999 09:31:32 +0100 (CET) Date: Sat, 20 Nov 1999 09:31:32 +0100 (CET) From: Blaz Zupan X-Sender: blaz@localhost To: freebsd-current@freebsd.org Subject: if_ed_pci not compiled in on pccard system Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a WaveLan card and a PCI Compex NE2000 compatible in the same machine. For the Wavelan I need to have pccard compiled in. The NE2000 is not recognized by the kernel, after closer examination I see that the compilation of if_ed_pci.c is conditional on pccard (if pccard is in the system, if_ed_pci.c is not compiled). With the following patch my kernel compiles and the NE2000 is correctly probed. I guess the reason why this #ifdef has been put in has since disappeared. *** sys/dev/ed/if_ed_pci.c.orig Fri Oct 15 05:12:47 1999 --- sys/dev/ed/if_ed_pci.c Sat Nov 20 09:21:25 1999 *************** *** 20,28 **** * $FreeBSD: src/sys/dev/ed/if_ed_pci.c,v 1.22 1999/10/15 03:12:47 mdodd Exp $ */ - #include "card.h" - #if NCARD == 0 - #include #include #include --- 20,25 ---- *************** *** 126,129 **** static devclass_t ed_devclass; DRIVER_MODULE(ed, pci, ed_pci_driver, ed_devclass, 0, 0); - #endif --- 123,125 ---- Blaz Zupan, blaz@amis.net, http://home.amis.net/blaz/ Medinet d.o.o., Linhartova 21, 2000 Maribor, Slovenia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 0:39:35 1999 Delivered-To: freebsd-current@freebsd.org Received: from kirk.giovannelli.it (kirk.giovannelli.it [194.184.65.4]) by hub.freebsd.org (Postfix) with ESMTP id 755D514CAD for ; Sat, 20 Nov 1999 00:39:22 -0800 (PST) (envelope-from gmarco@giovannelli.it) Received: from suzy (modem04.masternet.it [194.184.65.14]) by kirk.giovannelli.it (8.9.3/8.9.3) with ESMTP id JAA07901 for ; Sat, 20 Nov 1999 09:39:16 +0100 (CET) (envelope-from gmarco@giovannelli.it) Message-Id: <4.2.0.58.19991120091815.00c2ced0@194.184.65.4> X-Sender: gmarco@194.184.65.4 X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Sat, 20 Nov 1999 09:27:34 +0100 To: current@freebsd.org From: Gianmarco Giovannelli Subject: AHC0 fireworks ? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I am running 4.0-current of: FreeBSD gmarco.eclipse.org 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Thu Nov 18 09:33:43 CET 1999 gmarco@gmarco.eclipse.org:/usr/src/sys/compile/GMARCO i386 But I have now a lot of errors (as you can see in this logs) on my scsi chain. I had never experienced such things in the near past (even if as an old current user sometimes I see also worse things :-) Btw I don't see in the current mailing list threads about iussues on the scsi subsystem recently so it can be a problem related to my hardware (even if I didn't experience it before)... I append the logs of my system (sorry for the long post): Now I am trying to make a "blind" make world to see it changes something... Nov 20 09:17:48 gmarco /kernel: Copyright (c) 1982, 1986, 1989, 1991, 1993 Nov 20 09:17:48 gmarco /kernel: The Regents of the University of California. All rights reserved. Nov 20 09:17:48 gmarco /kernel: FreeBSD 4.0-CURRENT #0: Thu Nov 18 09:33:43 CET 1999 Nov 20 09:17:48 gmarco /kernel: gmarco@gmarco.eclipse.org:/usr/src/sys/compile/GMARCO Nov 20 09:17:48 gmarco /kernel: Timecounter "i8254" frequency 1193182 Hz Nov 20 09:17:48 gmarco /kernel: CPU: Pentium II/Xeon/Celeron (400.91-MHz 686-class CPU) Nov 20 09:17:48 gmarco /kernel: Origin = "GenuineIntel" Id = 0x651 Stepping = 1 Nov 20 09:17:48 gmarco /kernel: Features=0x183fbff Nov 20 09:17:49 gmarco /kernel: real memory = 134205440 (131060K bytes) Nov 20 09:17:49 gmarco /kernel: avail memory = 127356928 (124372K bytes) Nov 20 09:17:49 gmarco /kernel: Programming 24 pins in IOAPIC #0 Nov 20 09:17:49 gmarco /kernel: FreeBSD/SMP: Multiprocessor motherboard Nov 20 09:17:49 gmarco /kernel: cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000 Nov 20 09:17:49 gmarco /kernel: cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 Nov 20 09:17:49 gmarco /kernel: io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Nov 20 09:17:49 gmarco /kernel: Preloaded elf kernel "kernel" at 0xc02b3000. Nov 20 09:17:49 gmarco /kernel: Pentium Pro MTRR support enabled Nov 20 09:17:49 gmarco /kernel: npx0: on motherboard Nov 20 09:17:49 gmarco /kernel: npx0: INT 16 interface Nov 20 09:17:49 gmarco /kernel: pcib0: on motherboard Nov 20 09:17:49 gmarco /kernel: pci0: on pcib0 Nov 20 09:17:49 gmarco /kernel: pcib1: at device 1.0 on pci0 Nov 20 09:17:49 gmarco /kernel: pci1: on pcib1 Nov 20 09:17:49 gmarco /kernel: vga-pci0: irq 16 at device 0.0 on pci1 Nov 20 09:17:49 gmarco /kernel: isab0: at device 4.0 on pci0 Nov 20 09:17:49 gmarco /kernel: isa0: on isab0 Nov 20 09:17:49 gmarco /kernel: chip1: at device 4.1 on pci0 Nov 20 09:17:49 gmarco /kernel: chip2: at device 4.2 on pci0 Nov 20 09:17:49 gmarco /kernel: Timecounter "PIIX" frequency 3579545 Hz Nov 20 09:17:49 gmarco /kernel: intpm0: at device 4.3 on pci0 Nov 20 09:17:49 gmarco /kernel: intpm0: I/O mapped e800 Nov 20 09:17:49 gmarco /kernel: intpm0: intr IRQ 9 enabled revision 0 Nov 20 09:17:49 gmarco /kernel: smbus0: on intsmb0 Nov 20 09:17:49 gmarco /kernel: smb0: on smbus0 Nov 20 09:17:49 gmarco /kernel: intpm0: PM I/O mapped e400 Nov 20 09:17:49 gmarco /kernel: ahc0: irq 19 at device 6.0 on pci0 Nov 20 09:17:49 gmarco /kernel: ahc0: aic7890/91 Wide Channel A, SCSI Id=7, 16/255 SCBs Nov 20 09:17:49 gmarco /kernel: de0: irq 19 at device 9.0 on pci0 Nov 20 09:17:49 gmarco /kernel: de0: 21140A [10-100Mb/s] pass 2.2 Nov 20 09:17:49 gmarco /kernel: de0: address 00:40:05:51:23:0c Nov 20 09:17:49 gmarco /kernel: fdc0: at port 0x3f0-0x3f7 irq 6 drq 2 on isa0 Nov 20 09:17:49 gmarco /kernel: fdc0: FIFO enabled, 8 bytes threshold Nov 20 09:17:49 gmarco /kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0 Nov 20 09:17:49 gmarco /kernel: atkbdc0: at port 0x60-0x6f on isa0 Nov 20 09:17:49 gmarco /kernel: atkbd0: irq 1 on atkbdc0 Nov 20 09:17:49 gmarco /kernel: psm0: irq 12 on atkbdc0 Nov 20 09:17:49 gmarco /kernel: psm0: model MouseMan+, device ID 0 Nov 20 09:17:49 gmarco /kernel: vga0: at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0 Nov 20 09:17:49 gmarco /kernel: sc0: on isa0 Nov 20 09:17:49 gmarco /kernel: sc0: VGA <16 virtual consoles, flags=0x200> Nov 20 09:17:49 gmarco /kernel: sio0 at port 0x3f8-0x3ff irq 4 on isa0 Nov 20 09:17:49 gmarco /kernel: sio0: type 16550A Nov 20 09:17:49 gmarco /kernel: sio1 at port 0x2f8-0x2ff irq 3 on isa0 Nov 20 09:17:49 gmarco /kernel: sio1: type 16550A Nov 20 09:17:49 gmarco /kernel: ppc0 at port 0x378-0x37f irq 7 flags 0x40 on isa0 Nov 20 09:17:49 gmarco /kernel: ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode Nov 20 09:17:49 gmarco /kernel: lpt0: on ppbus 0 Nov 20 09:17:49 gmarco /kernel: lpt0: Interrupt-driven port Nov 20 09:17:49 gmarco /kernel: pcm0: at port 0x534-0x537,0x388-0x38b,0x220-0x22f irq 5 drq 1,0 on isa0 Nov 20 09:17:49 gmarco /kernel: unknown0: at port 0x200-0x207 on isa0 Nov 20 09:17:49 gmarco /kernel: unknown1: at port 0x120-0x127 on isa0 Nov 20 09:17:49 gmarco /kernel: unknown2: at port 0x330-0x331 irq 11 on isa0 Nov 20 09:17:49 gmarco /kernel: APIC_IO: Testing 8254 interrupt delivery Nov 20 09:17:49 gmarco /kernel: APIC_IO: routing 8254 via pin 2 Nov 20 09:17:49 gmarco /kernel: IP packet filtering initialized, divert disabled, rule-based forwarding disabled, logging disabled Nov 20 09:17:49 gmarco /kernel: Waiting 3 seconds for SCSI devices to settle Nov 20 09:17:49 gmarco /kernel: SMP: AP CPU #1 Launched! Nov 20 09:17:49 gmarco /kernel: de0: enabling 10baseT port Nov 20 09:17:49 gmarco /kernel: Creating DISK da0 Nov 20 09:17:49 gmarco /kernel: Creating DISK da1 Nov 20 09:17:49 gmarco /kernel: Creating DISK da2 Nov 20 09:17:49 gmarco /kernel: sa0 at ahc0 bus 0 target 6 lun 0 Nov 20 09:17:49 gmarco /kernel: sa0: Removable Sequential Access SCSI-2 device Nov 20 09:17:49 gmarco /kernel: sa0: 3.300MB/s transfers Nov 20 09:17:49 gmarco /kernel: Creating DISK cd0 Nov 20 09:17:49 gmarco /kernel: Mounting root from ufs:/dev/da0s1a Nov 20 09:17:49 gmarco /kernel: da0 at ahc0 bus 0 target 0 lun 0 Nov 20 09:17:49 gmarco /kernel: da0: Fixed Direct Access SCSI-2 device Nov 20 09:17:49 gmarco /kernel: da0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled Nov 20 09:17:49 gmarco /kernel: da0: 8709MB (17836668 512 byte sectors: 255H 63S/T 1110C) Nov 20 09:17:49 gmarco /kernel: da2 at ahc0 bus 0 target 2 lun 0 Nov 20 09:17:49 gmarco /kernel: da2: Removable Direct Access SCSI-2 device Nov 20 09:17:49 gmarco /kernel: da2: 3.300MB/s transfers Nov 20 09:17:49 gmarco /kernel: da2: Attempt to query device size failed: NOT READY, Medium not present Nov 20 09:17:49 gmarco /kernel: da1 at ahc0 bus 0 target 1 lun 0 Nov 20 09:17:49 gmarco /kernel: da1: Fixed Direct Access SCSI-2 device Nov 20 09:17:49 gmarco /kernel: da1: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled Nov 20 09:17:49 gmarco /kernel: da1: 4357MB (8925000 512 byte sectors: 255H 63S/T 555C) Nov 20 09:17:49 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:49 gmarco /kernel: SEQADDR == 0x5d Nov 20 09:17:49 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:49 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:49 gmarco /kernel: SEQADDR == 0x4d Nov 20 09:17:49 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:49 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:49 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:49 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:49 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:49 gmarco /kernel: SEQADDR == 0x12c Nov 20 09:17:49 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:49 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:49 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:49 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:49 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:49 gmarco /kernel: SEQADDR == 0x12c Nov 20 09:17:49 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:49 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:49 gmarco /kernel: SEQADDR == 0x5d Nov 20 09:17:49 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:49 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:49 gmarco /kernel: SEQADDR == 0x12c Nov 20 09:17:50 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:50 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:50 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:50 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:50 gmarco /kernel: (da0:ahc0:0:0:0): READ(10). CDB: 28 0 0 8b 16 e7 0 0 80 0 Nov 20 09:17:50 gmarco /kernel: (da0:ahc0:0:0:0): ABORTED COMMAND asc:48,0 Nov 20 09:17:50 gmarco /kernel: (da0:ahc0:0:0:0): Initiator detected error message received Nov 20 09:17:50 gmarco /kernel: spec_getpages:(#da/0x20000) I/O read failure: (error=5) bp 0xc3331158 vp 0xc7d15f60 Nov 20 09:17:50 gmarco /kernel: size: 65536, resid: 65536, a_count: 65536, valid: 0x0 Nov 20 09:17:50 gmarco /kernel: nread: 0, reqpage: 7, pindex: 52, pcount: 16 Nov 20 09:17:50 gmarco /kernel: vm_fault: pager read error, pid 58 (ppp) Nov 20 09:17:50 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:50 gmarco /kernel: SEQADDR == 0x5d Nov 20 09:17:50 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:50 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:50 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:50 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:50 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:50 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:50 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:50 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:50 gmarco /kernel: SEQADDR == 0x54 Nov 20 09:17:50 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:50 gmarco /kernel: pid 58 (ppp), uid 0: exited on signal 11 (core dumped) Nov 20 09:17:50 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:50 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:50 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:50 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:50 gmarco /kernel: SEQADDR == 0x5d Nov 20 09:17:50 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:50 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:50 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:50 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:50 gmarco named[94]: starting. named 8.1.2 Thu Nov 18 10:48:52 CET 1999 gmarco@gmarco.eclipse.org:/usr/obj/usr/src/usr.sbin/named Nov 20 09:17:50 gmarco named[95]: Ready to answer queries. Nov 20 09:17:50 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:50 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:50 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:50 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:50 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:50 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:50 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:50 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:50 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:50 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:51 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:51 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:51 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:51 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:51 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:51 gmarco /kernel: (da1:ahc0:0:1:0): READ(06). CDB: 8 0 0 7f 10 0 Nov 20 09:17:51 gmarco /kernel: (da1:ahc0:0:1:0): ABORTED COMMAND asc:48,0 Nov 20 09:17:51 gmarco /kernel: (da1:ahc0:0:1:0): Initiator detected error message received Nov 20 09:17:51 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:51 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:51 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:51 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:51 gmarco /kernel: SEQADDR == 0x5d Nov 20 09:17:51 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:51 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:51 gmarco /kernel: SEQADDR == 0x5d Nov 20 09:17:51 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:51 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:51 gmarco /kernel: SEQADDR == 0x5d Nov 20 09:17:51 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:51 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:51 gmarco /kernel: SEQADDR == 0x5d Nov 20 09:17:51 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:51 gmarco /kernel: (da1:ahc0:0:1:0): READ(06). CDB: 8 9 60 7f 10 0 Nov 20 09:17:51 gmarco /kernel: (da1:ahc0:0:1:0): ABORTED COMMAND asc:48,0 Nov 20 09:17:51 gmarco /kernel: (da1:ahc0:0:1:0): Initiator detected error message received Nov 20 09:17:51 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:51 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:51 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:51 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:51 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:51 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:51 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:51 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:51 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:51 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:51 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:51 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:51 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:51 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:51 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:51 gmarco /kernel: (da1:ahc0:0:1:0): READ(06). CDB: 8 e 28 7f 10 0 Nov 20 09:17:51 gmarco /kernel: (da1:ahc0:0:1:0): ABORTED COMMAND asc:48,0 Nov 20 09:17:51 gmarco /kernel: (da1:ahc0:0:1:0): Initiator detected error message received Nov 20 09:17:51 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:51 gmarco /kernel: SEQADDR == 0x5d Nov 20 09:17:51 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:51 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:51 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:51 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:51 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:51 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:51 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:52 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:52 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:52 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:52 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:52 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:52 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:52 gmarco /kernel: (da1:ahc0:0:1:0): READ(06). CDB: 8 0 0 7f 10 0 Nov 20 09:17:52 gmarco /kernel: (da1:ahc0:0:1:0): ABORTED COMMAND asc:48,0 Nov 20 09:17:52 gmarco /kernel: (da1:ahc0:0:1:0): Initiator detected error message received Nov 20 09:17:52 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:52 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:52 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:52 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:52 gmarco /kernel: SEQADDR == 0x5d Nov 20 09:17:52 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:52 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:52 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:52 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:52 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:52 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:52 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:52 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:52 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:52 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:52 gmarco /kernel: (da1:ahc0:0:1:0): READ(06). CDB: 8 e 28 7f 10 0 Nov 20 09:17:52 gmarco /kernel: (da1:ahc0:0:1:0): ABORTED COMMAND asc:48,0 Nov 20 09:17:52 gmarco /kernel: (da1:ahc0:0:1:0): Initiator detected error message received Nov 20 09:17:52 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:52 gmarco /kernel: SEQADDR == 0x5d Nov 20 09:17:52 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:52 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:52 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:52 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:52 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:52 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:52 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:52 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:52 gmarco /kernel: SEQADDR == 0x5d Nov 20 09:17:52 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:52 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:52 gmarco /kernel: SEQADDR == 0x5d Nov 20 09:17:52 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:53 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:53 gmarco /kernel: SEQADDR == 0x5d Nov 20 09:17:53 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:53 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:53 gmarco /kernel: SEQADDR == 0x5d Nov 20 09:17:53 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:53 gmarco /kernel: (da1:ahc0:0:1:0): parity error during Data-In phase. Nov 20 09:17:53 gmarco /kernel: SEQADDR == 0x5d Nov 20 09:17:53 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:53 gmarco /kernel: (da1:ahc0:0:1:0): READ(10). CDB: 28 0 0 47 28 7f 0 0 10 0 Nov 20 09:17:53 gmarco /kernel: (da1:ahc0:0:1:0): ABORTED COMMAND asc:48,0 Nov 20 09:17:53 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:53 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:53 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:53 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Message-In phase. Nov 20 09:17:53 gmarco /kernel: SEQADDR == 0x163 Nov 20 09:17:53 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:53 gmarco /kernel: Unexpected busfree. LASTPHASE == 0xa0 Nov 20 09:17:53 gmarco /kernel: SEQADDR == 0x163 Nov 20 09:17:53 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:54 gmarco /kernel: SEQADDR == 0x5d Nov 20 09:17:54 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:54 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Message-In phase. Nov 20 09:17:54 gmarco /kernel: SEQADDR == 0x163 Nov 20 09:17:54 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:54 gmarco /kernel: Unexpected busfree. LASTPHASE == 0xa0 Nov 20 09:17:54 gmarco /kernel: SEQADDR == 0x163 Nov 20 09:17:54 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:54 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:54 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:54 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:54 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:54 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:54 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:54 gmarco /kernel: SEQADDR == 0x5d Nov 20 09:17:54 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:54 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:54 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:54 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:54 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:54 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:54 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:54 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:54 gmarco /kernel: SEQADDR == 0x5d Nov 20 09:17:54 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:54 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:54 gmarco /kernel: SEQADDR == 0x5d Nov 20 09:17:54 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:54 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:54 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:55 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:55 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:55 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:55 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:55 gmarco /kernel: (da0:ahc0:0:0:0): READ(10). CDB: 28 0 0 62 42 2f 0 0 80 0 Nov 20 09:17:55 gmarco /kernel: (da0:ahc0:0:0:0): ABORTED COMMAND asc:48,0 Nov 20 09:17:55 gmarco /kernel: (da0:ahc0:0:0:0): Initiator detected error message received Nov 20 09:17:55 gmarco /kernel: spec_getpages:(#da/0x20000) I/O read failure: (error=5) bp 0xc3330ec8 vp 0xc7d15f60 Nov 20 09:17:55 gmarco /kernel: size: 65536, resid: 65536, a_count: 65536, valid: 0x0 Nov 20 09:17:55 gmarco /kernel: nread: 0, reqpage: 0, pindex: 0, pcount: 16 Nov 20 09:17:55 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:55 gmarco /kernel: SEQADDR == 0x5d Nov 20 09:17:55 gmarco /kernel: SCSIRATE == 0x95 Nov 20 09:17:55 gmarco /kernel: (da0:ahc0:0:0:0): parity error during Data-In phase. Nov 20 09:17:55 gmarco /kernel: SEQADDR == 0x5e Nov 20 09:17:55 gmarco /kernel: SCSIRATE == 0x95 Best Regards, Gianmarco Giovannelli , "Unix expert since yesterday" http://www.giovannelli.it/~gmarco http://www2.masternet.it To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 0:42:29 1999 Delivered-To: freebsd-current@freebsd.org Received: from server.amis.net (server.amis.net [212.18.32.5]) by hub.freebsd.org (Postfix) with ESMTP id AC50614E5A for ; Sat, 20 Nov 1999 00:41:59 -0800 (PST) (envelope-from blaz@gold.amis.net) Received: by server.amis.net (Postfix, from userid 66) id 0FB80D5C22; Sat, 20 Nov 1999 09:41:58 +0100 (CET) Received: by gold.amis.net (Postfix, from userid 1000) id 294351D5F; Sat, 20 Nov 1999 09:40:29 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by gold.amis.net (Postfix) with ESMTP id 1D2185805 for ; Sat, 20 Nov 1999 09:40:29 +0100 (CET) Date: Sat, 20 Nov 1999 09:40:29 +0100 (CET) From: Blaz Zupan X-Sender: blaz@localhost To: freebsd-current@freebsd.org Subject: mixer synth & CD swapped on Yamaha OPL SAx Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Could someone with MSS compatible non-Yamaha card (AD1848, Opti 931, Gus PnP, ...) and using newpcm please check out the patch in PR kern/14634 and report to me if the mixer synth and CD are correct after the patch? If not, could you please try the below patch and see if this is a no-op on your system. As the PR suggests, mixer for synth and CD are swapped on Yamaha OPL SAx cards when running newpcm. I'd like to find out if this is the case only on the Yamaha (in this case the below patch should be applied) or if this is the case on all cards (in this case the patch from PR kern/14634 should be applied). Regards. *** sys/dev/pcm/isa/mss.c.orig Tue Oct 12 23:35:45 1999 --- sys/dev/pcm/isa/mss.c Sat Nov 6 14:52:25 1999 *************** *** 1097,1104 **** mss_mixer_set(struct mss_info *mss, int dev, int left, int right) { int regoffs; ! mixer_tab *mix_d = (mss->bd_id == MD_OPTI931)? &opti931_devices : &mix_devices; u_char old, val; if ((*mix_d)[dev][LEFT_CHN].nbits == 0) { DEB(printf("nbits = 0 for dev %d\n", dev)); --- 1097,1117 ---- mss_mixer_set(struct mss_info *mss, int dev, int left, int right) { int regoffs; ! mixer_tab *mix_d; u_char old, val; + + switch (mss->bd_id) { + case MD_OPTI931: + mix_d = &opti931_devices; + break; + + case MD_YM0020: + mix_d = &opl3sax_devices; + break; + + default: + mix_d = &mix_devices; + } if ((*mix_d)[dev][LEFT_CHN].nbits == 0) { DEB(printf("nbits = 0 for dev %d\n", dev)); *** sys/dev/pcm/isa/mss.h.orig Tue Sep 28 22:00:05 1999 --- sys/dev/pcm/isa/mss.h Sat Nov 6 14:53:11 1999 *************** *** 227,232 **** --- 227,256 ---- SOUND_MASK_LINE | SOUND_MASK_MIC | SOUND_MASK_CD | \ SOUND_MASK_IGAIN | SOUND_MASK_LINE1 ) + /* + * entries for the Yamaha OPL3-SA[23x]. + */ + + mixer_ent opl3sax_devices[32][2] = { + MIX_NONE(SOUND_MIXER_VOLUME), + MIX_NONE(SOUND_MIXER_BASS), + MIX_NONE(SOUND_MIXER_TREBLE), + MIX_ENT(SOUND_MIXER_SYNTH, 4, 1, 0, 5, 5, 1, 0, 5), + MIX_ENT(SOUND_MIXER_PCM, 6, 1, 0, 6, 7, 1, 0, 6), + MIX_ENT(SOUND_MIXER_SPEAKER, 26, 1, 0, 4, 0, 0, 0, 0), + MIX_ENT(SOUND_MIXER_LINE, 18, 1, 0, 5, 19, 1, 0, 5), + MIX_ENT(SOUND_MIXER_MIC, 0, 0, 5, 1, 1, 0, 5, 1), + MIX_ENT(SOUND_MIXER_CD, 2, 1, 0, 5, 3, 1, 0, 5), + MIX_ENT(SOUND_MIXER_IMIX, 13, 1, 2, 6, 0, 0, 0, 0), + MIX_NONE(SOUND_MIXER_ALTPCM), + MIX_NONE(SOUND_MIXER_RECLEV), + MIX_ENT(SOUND_MIXER_IGAIN, 0, 0, 0, 4, 1, 0, 0, 4), + MIX_NONE(SOUND_MIXER_OGAIN), + MIX_NONE(SOUND_MIXER_LINE1), + MIX_NONE(SOUND_MIXER_LINE2), + MIX_NONE(SOUND_MIXER_LINE3), + }; + /*- * Copyright (c) 1999 Doug Rabson * All rights reserved. Blaz Zupan, blaz@amis.net, http://home.amis.net/blaz/ Medinet d.o.o., Linhartova 21, 2000 Maribor, Slovenia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 1:28:25 1999 Delivered-To: freebsd-current@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [63.67.141.99]) by hub.freebsd.org (Postfix) with ESMTP id 2600215527 for ; Sat, 20 Nov 1999 01:28:05 -0800 (PST) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with ESMTP id EAA20048; Sat, 20 Nov 1999 04:27:56 -0500 (EST) Date: Sat, 20 Nov 1999 04:27:56 -0500 (EST) From: "Matthew N. Dodd" To: Blaz Zupan Cc: freebsd-current@FreeBSD.ORG Subject: Re: if_ed_pci not compiled in on pccard system In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 20 Nov 1999, Blaz Zupan wrote: > With the following patch my kernel compiles and the NE2000 is correctly > probed. I guess the reason why this #ifdef has been put in has since > disappeared. I suspect so. Fixed. > *** sys/dev/ed/if_ed_pci.c.orig Fri Oct 15 05:12:47 1999 > --- sys/dev/ed/if_ed_pci.c Sat Nov 20 09:21:25 1999 > *************** > *** 20,28 **** > * $FreeBSD: src/sys/dev/ed/if_ed_pci.c,v 1.22 1999/10/15 03:12:47 mdodd Exp $ > */ > > - #include "card.h" > - #if NCARD == 0 > - > #include > #include > #include > --- 20,25 ---- > *************** > *** 126,129 **** > static devclass_t ed_devclass; > > DRIVER_MODULE(ed, pci, ed_pci_driver, ed_devclass, 0, 0); > - #endif > --- 123,125 ---- > > Blaz Zupan, blaz@amis.net, http://home.amis.net/blaz/ > Medinet d.o.o., Linhartova 21, 2000 Maribor, Slovenia > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | This Space For Rent | ISO8802.5 4ever | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 1:54: 1 1999 Delivered-To: freebsd-current@freebsd.org Received: from smtp02.wxs.nl (smtp02.wxs.nl [195.121.6.60]) by hub.freebsd.org (Postfix) with ESMTP id 5CEBA14E5A for ; Sat, 20 Nov 1999 01:53:43 -0800 (PST) (envelope-from asmodai@wxs.nl) Received: from daemon.ninth-circle.org ([195.121.197.243]) by smtp02.wxs.nl (Netscape Messaging Server 3.61) with ESMTP id AAE4ABC; Sat, 20 Nov 1999 10:53:29 +0100 Received: (from asmodai@localhost) by daemon.ninth-circle.org (8.9.3/8.9.3) id KAA41194; Sat, 20 Nov 1999 10:44:47 +0100 (CET) (envelope-from asmodai) Date: Sat, 20 Nov 1999 10:44:47 +0100 From: Jeroen Ruigrok/Asmodai To: Byung Yang Cc: freebsd-current@FreeBSD.ORG Subject: Re: cpu name Message-ID: <19991120104447.E41154@daemon.ninth-circle.org> References: <19991119073255.A37588@daemon.ninth-circle.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: Organisation: Ninth-Circle Enterprises Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -On [19991120 04:01], Byung Yang (freebsd@nowcool.dhs.org) wrote: >as I see the source code, it is not doing what it is supposed to do.. any >suggestions? (it's not a big deal but still it's a bug) >I did not modify any of the source codes. I think someone else suggested lowering the optimisation level. Have you tried that yet? -- Jeroen Ruigrok van der Werven/Asmodai asmodai(at)wxs.nl The BSD Programmer's Documentation Project Network/Security Specialist BSD: Technical excellence at its best ...in this world nothing is certain but death and taxes. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 5:49:58 1999 Delivered-To: freebsd-current@freebsd.org Received: from ns.uninet.ee (ns.uninet.ee [194.204.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 8E92414CC0 for ; Sat, 20 Nov 1999 05:49:55 -0800 (PST) (envelope-from taavi@uninet.ee) Received: by ns.uninet.ee (Postfix, from userid 1001) id 8BD672582D; Sat, 20 Nov 1999 15:49:54 +0200 (EET) Received: from localhost (localhost [127.0.0.1]) by ns.uninet.ee (Postfix) with SMTP id 871E414A12; Sat, 20 Nov 1999 15:49:54 +0200 (EET) Date: Sat, 20 Nov 1999 15:49:54 +0200 (EET) From: Taavi Talvik To: Poul-Henning Kamp Cc: current@FreeBSD.ORG Subject: Re: Current hangs when dump is run? In-Reply-To: <3177.942998163@critter.freebsd.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 19 Nov 1999, Poul-Henning Kamp wrote: > If you're using the ata driver, please remove the ad_sleep() call > at the bottom of the adopen() in ata-disk.c and see if that > helps you. Yes, i am using ata driver, but your suggestion didn't help. Still same story. Crash dumps are available.. > >Current seems to hangs, when amanda tries to run dump. > >This appeared approximately 2 weeks ago, and is present in > >yesterdays current also. #0 0xc013daa4 in boot () #1 0xc013de41 in panic () #2 0xc011d739 in db_panic () #3 0xc011d6d9 in db_command () #4 0xc011d79e in db_command_loop () #5 0xc011f82f in db_trap () #6 0xc02011ef in kdb_trap () #7 0xc020f434 in trap () #8 0xc020144b in Debugger () #9 0xc01fcb06 in scgetc () #10 0xc01f8271 in sckbdevent () #11 0xc01f1a8f in atkbd_intr () #12 0xc021cd74 in atkbd_isa_intr () #13 0xc0217c66 in splx () #14 0xc0140a55 in tsleep () #15 0xc0146889 in diskopen () #16 0xc0170251 in spec_open () #17 0xc017014d in spec_vnoperate () #18 0xc01bb579 in ufs_vnoperatespec () #19 0xc016a57c in vn_open () #20 0xc01669dd in open () #21 0xc020fd02 in syscall () #22 0xc0201af6 in Xint0x80_syscall () #23 0x804b91a in ?? () #24 0x804b6b3 in ?? () [109:0] taavi@tt:/var/crash #ps -raxwu -M vmcore.5 -N kernel.5 USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND amanda 1365 99.0 0.0 628 0 ?? R 1Jan70 0:00.00 (dump) root 1 0.0 0.0 516 0 ?? ILs 1Jan70 0:00.02 /sbin/init -- root 2 0.0 0.0 0 0 ?? RL 1Jan70 0:00.03 (pagedaemon) root 3 0.0 0.0 0 0 ?? DL 1Jan70 0:00.00 (vmdaemon) root 4 0.0 0.0 0 0 ?? RL 1Jan70 0:00.03 (bufdaemon) root 5 0.0 0.0 0 0 ?? RL 1Jan70 0:00.88 (syncer) ----------------------------------------------------------- Taavi Talvik | Internet: taavi@uninet.ee Unineti Andmeside AS | phone: +372 6405150 Ravala pst. 10 | fax: +372 6405151 Tallinn 10143, Estonia | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 6:14:52 1999 Delivered-To: freebsd-current@freebsd.org Received: from zippy.cdrom.com (zippy.cdrom.com [204.216.27.228]) by hub.freebsd.org (Postfix) with ESMTP id B2B3114CC0 for ; Sat, 20 Nov 1999 06:14:50 -0800 (PST) (envelope-from jkh@zippy.cdrom.com) Received: from localhost (localhost [127.0.0.1]) by zippy.cdrom.com (8.9.3/8.9.3) with ESMTP id GAA23951; Sat, 20 Nov 1999 06:14:14 -0800 (PST) (envelope-from jkh@zippy.cdrom.com) To: Bill Paul Cc: gallatin@cs.duke.edu (Andrew Gallatin), current@FreeBSD.ORG Subject: Re: Looking for testers... In-reply-to: Your message of "Fri, 19 Nov 1999 21:33:32 EST." <199911200233.VAA03173@skynet.ctr.columbia.edu> Date: Sat, 20 Nov 1999 06:14:14 -0800 Message-ID: <23947.943107254@localhost> From: "Jordan K. Hubbard" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > if they used an MII transceiver, then it should work okay, but if > not you could be in for trouble. I wish I didn't have to say that, > but I just don't have the hardware to test with. You know what I tell people who use that excuse... ;) - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 6:18:24 1999 Delivered-To: freebsd-current@freebsd.org Received: from mail.rdc3.on.home.com (ha1.rdc3.on.home.com [24.2.9.68]) by hub.freebsd.org (Postfix) with ESMTP id 5B4A414D40; Sat, 20 Nov 1999 06:18:08 -0800 (PST) (envelope-from freebsd@b0rg.net) Received: from cr717730b ([24.112.177.211]) by mail.rdc3.on.home.com (InterMail v4.01.01.02 201-229-111-106) with SMTP id <19991120141610.LKQU7575.mail.rdc3.on.home.com@cr717730b>; Sat, 20 Nov 1999 06:16:10 -0800 Message-ID: <008f01bf3361$cb5d5900$d3b17018@wlfdle1.on.wave.home.com> From: "Jason Craig" To: "Greg Lehey" Cc: "FreeBSD Current" , "FreeBSD Hackers" References: <001701bf32dd$4f76a500$d3b17018@wlfdle1.on.wave.home.com> <19991119180320.65386@mojave.sitaranetworks.com> Subject: Re: Compile new kernel with MCA support Date: Sat, 20 Nov 1999 09:16:10 -0500 Organization: Resistance is Futile MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sorry about the multiple posts. I have @home to thank for this. The mail server said the connection was timing out. Apparently not. I am quite well aware of the mailing list etiquette. I read through many of them frequently. The question itself should remain in the hackers list. Support for Micro channel is not only fairly new from what I read, but a direct modification to the kernel to support the old architecture. That's why I am running current on said machine. A beginner to FreeBSD, I am not... I am a beginner to making MCA work on BSD. Anyways... Thank you Matthew for replying to my message. I'll get the boot messages this morning. Jason ----- Original Message ----- From: Greg Lehey To: Jason Craig ; Jason Craig ; Jason Cc: FreeBSD current users Sent: Friday, November 19, 1999 6:03 PM Subject: Re: Compile new kernel with MCA support > [moved to -current] > > On Friday, 19 November 1999 at 17:27:15 -0500, Jason Craig wrote: > On Friday, 19 November 1999 at 17:32:20 -0500, Jason Craig wrote: > On Friday, 19 November 1999 at 17:38:07 -0500, Jason wrote: > > Hello all, > > > > I have a few FreeBSD machines that I am playing around with now, and have > > come across a nice old IBM PC Server 320 with dual P90 processors and 64MB > > of RAM i would also like to utilize. > > > > I am currently using 4.0-19991113-CURRENT generic kernel, and things are > > working great. > > > > However, I tried to compile a custom kernel to weed out any unwanted > > devices, and to enable SMP and have have run into a problem. After > > compiling the kernel using the standard procedure, I rebooted it, and it > > panic'd after doing the kernel config. > > > > I tried removing most of the entries from /boot/kernel.conf, only to find it > > still panics saying something about the MCA bus. > > > > Am I missing something? > > Yes, probably http://www.lemis.com/questions.html. To quote: > > Should I ask -questions or -hackers? > > Two mailing lists handle general questions about FreeBSD, > FreeBSD-questions and FreeBSD-hackers. In some cases, it's not really > clear which group you should ask. The following criteria should help > for 99% of all questions, however: > > If the question is of a general nature, ask > FreeBSD-questions. Examples might be questions about intstalling > FreeBSD or the use of a particular UNIX utility. > > If you think the question relates to a bug, but you're not sure, > or you don't know how to look for it, send the message to > FreeBSD-questions. > > 6. Specify as much information as possible. This is a difficult area, > and we need to expand on what information you need to submit, but > here's a start: > > In nearly every case, it's important to know the version of > FreeBSD you're running. This is particularly the case for > FreeBSD-CURRENT, where you should also specify the date of the > sources, though of course you shouldn't be sending questions about > -CURRENT to FreeBSD-questions > > (...) > > If your system panics, don't say ``My system panicked'', say (for > example) ``my system panicked with the message 'free vnode > isn't'''. > > 7. If you do all this, and you still don't get an answer, there could > be other reasons. For example, the problem is so complicated that > nobody knows the answer, or the person who does know the answer > was offline. If you don't get an answer after, say, a week, it > might help to re-send the message. If you don't get an answer to > your second message, though, you're probably not going to get one > from this forum. Resending the same message again and again will > only make you unpopular. > > One that's not in there: if you're running -CURRENT, come with some > *clever* questions. -CURRENT isn't for beginners. > > In your case, you sent three messages in 11 minues. That's a good way > to make yourself unpopular, especially when you're running exotic > hardware which not many people know. > > Greg > -- > Finger grog@lemis.com for PGP public key > See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 6:24:18 1999 Delivered-To: freebsd-current@freebsd.org Received: from ayukawa.aus.org (ayukawa.aus.org [199.166.246.1]) by hub.freebsd.org (Postfix) with ESMTP id 7C84514CED for ; Sat, 20 Nov 1999 06:24:02 -0800 (PST) (envelope-from lh@aus.org) Received: from PHOENIX.ZER0.NET (lh@ZER0.NET [199.166.246.189]) by ayukawa.aus.org (8.8.7/8.7.3) with ESMTP id JAA17913; Sat, 20 Nov 1999 09:22:40 -0500 (EST) Message-Id: <199911201422.JAA17913@ayukawa.aus.org> X-Mailer: XFMail 1.3.1 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-9 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <867ljelopt.fsf@not.demophon.com> Content-Type: text/plain; charset=unix-ascii charset: UNIX-ACSII charset: UNIX-ACSII Date: Sat, 20 Nov 1999 09:22:39 -0500 (EST) From: Luke Hollins To: Ville-Pertti Keinonen Subject: Re: cpu name Cc: freebsd-current@FreeBSD.ORG, freebsd@nowcool.dhs.org, Jeroen Ruigrok/Asmodai Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> printf("CPU: "); > Look again, the AMD identification can fill cpu_model using cpuid. > > The code doesn't appear to have changed lately, so if there is a > problem it's probably a matter of some processor being incorrectly > identified as supporting the feature. Or the processor is broken. I never reported it because I usually use -O2 , but I have a box that ran -current up until very recently that was updated fairly often, and it showed the CPU name as that \^E alot. I checked for sure and it did get the right id, 0x580 , but still showed \^E instead of whats defined for 0x580 Luke To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 6:38: 4 1999 Delivered-To: freebsd-current@freebsd.org Received: from zippy.cdrom.com (zippy.cdrom.com [204.216.27.228]) by hub.freebsd.org (Postfix) with ESMTP id DD70B14CD2 for ; Sat, 20 Nov 1999 06:37:57 -0800 (PST) (envelope-from jkh@zippy.cdrom.com) Received: from localhost (localhost [127.0.0.1]) by zippy.cdrom.com (8.9.3/8.9.3) with ESMTP id GAA24104; Sat, 20 Nov 1999 06:37:18 -0800 (PST) (envelope-from jkh@zippy.cdrom.com) To: "Jason Craig" Cc: "Greg Lehey" , "FreeBSD Current" Subject: Re: Compile new kernel with MCA support In-reply-to: Your message of "Sat, 20 Nov 1999 09:16:10 EST." <008f01bf3361$cb5d5900$d3b17018@wlfdle1.on.wave.home.com> Date: Sat, 20 Nov 1999 06:37:18 -0800 Message-ID: <24100.943108638@localhost> From: "Jordan K. Hubbard" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I am quite well aware of the mailing list etiquette. I read through many of > them frequently. Then you're aware that cross posts are also strongly frowned upon, especially on both -current and -hackers. Only one mailing list at a time please, no cross posts. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 6:47:28 1999 Delivered-To: freebsd-current@freebsd.org Received: from mgate04.so-net.ne.jp (mgate04.so-net.ne.jp [210.139.254.151]) by hub.freebsd.org (Postfix) with ESMTP id 9B26C14CD2; Sat, 20 Nov 1999 06:47:24 -0800 (PST) (envelope-from sanewo@ba2.so-net.ne.jp) Received: from mail.ba2.so-net.ne.jp (mail.ba2.so-net.ne.jp [210.139.254.21]) by mgate04.so-net.ne.jp (8.8.8+3.0Wbeta9/3.6W99111911) with ESMTP id XAA02150; Sat, 20 Nov 1999 23:47:22 +0900 (JST) Received: from ba2.so-net.ne.jp (p84b511.sng2.ap.so-net.ne.jp [210.132.181.17]) by mail.ba2.so-net.ne.jp (8.8.8+3.0Wbeta9/3.7W99081617) with ESMTP id XAA15567; Sat, 20 Nov 1999 23:47:21 +0900 (JST) Message-Id: <199911201447.XAA15567@mail.ba2.so-net.ne.jp> To: Brian Fundakowski Feldman Cc: freebsd-current@FreeBSD.org Subject: Re: gcc 2.95.2 In-reply-to: green@FreeBSD.org's message of Fri, 19 Nov 1999 23:24:17 -0500. User-Agent: EMH/1.10.0 SEMI/1.13.7 (Awazu) PGPGPG FLIM/1.13.2 (Kasanui) Emacs/20.4.91 (i686-pc-freebsd4.0) MULE/4.0 (HANANOEN) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=ISO-2022-JP Date: Sat, 20 Nov 1999 23:47:12 +0900 From: SANETO Takanori Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article Brian Fundakowski Feldman said: >> 1. /usr/libexec/cpp now has no predefined symbols like __FreeBSD__, >> which makes imake unable to detect OS type automatically. > >I'm certain XFree86 should build using gcc -E and not the C preprocessor >itself. Well, then, correct fix to imake should be as follows: Index: config/imake/imakemdep.h =================================================================== RCS file: /usr/local/cvs/xfree86/xc/config/imake/imakemdep.h,v retrieving revision 1.1.1.5 diff -u -u -r1.1.1.5 imakemdep.h --- imakemdep.h 1999/09/05 14:53:23 1.1.1.5 +++ imakemdep.h 1999/11/20 14:21:23 @@ -269,8 +269,11 @@ #ifdef _CRAY #define DEFAULT_CPP "/lib/pcpp" #endif -#if defined(__386BSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) +#if defined(__386BSD__) || defined(__NetBSD__) || defined(__OpenBSD__) #define DEFAULT_CPP "/usr/libexec/cpp" +#endif +#if defined(__FreeBSD__) +#define USE_CC_E #endif #if defined(__sgi) && defined(__ANSI_CPP__) #define USE_CC_E -- $B$5$M$r(B To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 6:54:50 1999 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 542) id 38F431503A; Sat, 20 Nov 1999 06:54:32 -0800 (PST) Date: Sat, 20 Nov 1999 06:54:32 -0800 From: "Andrey A. Chernov" To: current@freebsd.org Cc: phk@freebsd.org Subject: Re: ps ax: kernel command line caching bug with "-"? Message-ID: <19991120065432.A74795@freebsd.org> References: <19991120031827.A242@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <19991120031827.A242@nagual.pp.ru>; from ache@nagual.pp.ru on Sat, Nov 20, 1999 at 03:18:27AM +0300 Organization: Biomechanoid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG So the question is: should csh/tcsh use setproctitle() or should su be fixed to not use "_"? On Sat, Nov 20, 1999 at 03:18:27AM +0300, Andrey A. Chernov wrote: > With recent -current I got > > _su (tcsh) > \___ > > in "ps ax" instead of > > -su (tcsh) > > as before. > > >From su.c: > > /* csh strips the first character... */ > *np = asthem ? "-su" : iscsh == YES ? "_su" : "su"; > > It seems that it NOT strip the first character now :-( > > -- > Andrey A. Chernov > http://www.nagual.pp.ru/~ache/ > MTH/SH/HE S-- W-- N+ PEC>+ D A a++ C G>+ QH+(++) 666+>++ Y > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message -- Andrey A. Chernov http://nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC>+ D A a++ C G>+ QH+(++) 666+>++ Y To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 7:12:26 1999 Delivered-To: freebsd-current@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id 20FD614D33; Sat, 20 Nov 1999 07:12:20 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 8CE6F1CA0; Sat, 20 Nov 1999 23:12:19 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.0.2 2/24/98 To: "Andrey A. Chernov" Cc: current@freebsd.org, phk@freebsd.org Subject: Re: ps ax: kernel command line caching bug with "-"? In-reply-to: Your message of "Sat, 20 Nov 1999 06:54:32 PST." <19991120065432.A74795@freebsd.org> Date: Sat, 20 Nov 1999 23:12:19 +0800 From: Peter Wemm Message-Id: <19991120151219.8CE6F1CA0@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Andrey A. Chernov" wrote: > So the question is: should csh/tcsh use setproctitle() or should su be fixed > to not use "_"? IMHO: Either change su to use '-' or forget about it.. I don't recall whether csh/tcsh attribute anything magic to having the leading "-" or not.. > On Sat, Nov 20, 1999 at 03:18:27AM +0300, Andrey A. Chernov wrote: > > With recent -current I got > > > > _su (tcsh) > > \___ > > > > in "ps ax" instead of > > > > -su (tcsh) > > > > as before. > > > > >From su.c: > > > > /* csh strips the first character... */ > > *np = asthem ? "-su" : iscsh == YES ? "_su" : "su"; > > > > It seems that it NOT strip the first character now :-( Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 8: 6:19 1999 Delivered-To: freebsd-current@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 6334D14EA5; Sat, 20 Nov 1999 08:06:16 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id LAA58751; Sat, 20 Nov 1999 11:05:59 -0500 (EST) (envelope-from wollman) Date: Sat, 20 Nov 1999 11:05:59 -0500 (EST) From: Garrett Wollman Message-Id: <199911201605.LAA58751@khavrinen.lcs.mit.edu> To: Peter Wemm Cc: "Andrey A. Chernov" , current@FreeBSD.ORG, phk@FreeBSD.ORG Subject: Re: ps ax: kernel command line caching bug with "-"? In-Reply-To: <19991120151219.8CE6F1CA0@overcee.netplex.com.au> References: <19991120065432.A74795@freebsd.org> <19991120151219.8CE6F1CA0@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG < said: > IMHO: Either change su to use '-' or forget about it.. I don't recall > whether csh/tcsh attribute anything magic to having the leading "-" or > not.. Same thing as every other shell: a leading `-' means that the shell is a login shell. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 9:48:41 1999 Delivered-To: freebsd-current@freebsd.org Received: from nowcool.dhs.org (fx3-1-031.mgfairfax.rr.com [24.28.200.31]) by hub.freebsd.org (Postfix) with ESMTP id C9B7414D7C for ; Sat, 20 Nov 1999 09:48:38 -0800 (PST) (envelope-from freebsd@nowcool.dhs.org) Received: from localhost (freebsd@localhost) by nowcool.dhs.org (8.9.3/8.9.3) with ESMTP id MAA00396; Sat, 20 Nov 1999 12:48:21 -0500 (EST) (envelope-from freebsd@nowcool.dhs.org) Date: Sat, 20 Nov 1999 12:48:21 -0500 (EST) From: Byung Yang To: Jeroen Ruigrok/Asmodai Cc: freebsd-current@FreeBSD.ORG Subject: Re: cpu name In-Reply-To: <19991120104447.E41154@daemon.ninth-circle.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I lowered the optimization level from -O6 to -O and now it shows the cpu name properly. I was using "-O6 -march=pentium" for the optimization flag before, but would it affect the performance of the kernela lot if I lower the optimization flag to -O? On Sat, 20 Nov 1999, Jeroen Ruigrok/Asmodai wrote: > -On [19991120 04:01], Byung Yang (freebsd@nowcool.dhs.org) wrote: > >as I see the source code, it is not doing what it is supposed to do.. any > >suggestions? (it's not a big deal but still it's a bug) > >I did not modify any of the source codes. > > I think someone else suggested lowering the optimisation level. > > Have you tried that yet? > > -- > Jeroen Ruigrok van der Werven/Asmodai asmodai(at)wxs.nl > The BSD Programmer's Documentation Project > Network/Security Specialist BSD: Technical excellence at its best > ...in this world nothing is certain but death and taxes. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 10:22:11 1999 Delivered-To: freebsd-current@freebsd.org Received: from mail.enteract.com (mail.enteract.com [207.229.143.33]) by hub.freebsd.org (Postfix) with ESMTP id AC13F14F7C for ; Sat, 20 Nov 1999 10:22:06 -0800 (PST) (envelope-from dscheidt@enteract.com) Received: from shell-1.enteract.com (dscheidt@shell-1.enteract.com [207.229.143.40]) by mail.enteract.com (8.9.3/8.9.3) with SMTP id MAA03339; Sat, 20 Nov 1999 12:21:57 -0600 (CST) (envelope-from dscheidt@enteract.com) Date: Sat, 20 Nov 1999 12:21:57 -0600 (CST) From: David Scheidt To: Byung Yang Cc: Jeroen Ruigrok/Asmodai , freebsd-current@FreeBSD.ORG Subject: Re: cpu name In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 20 Nov 1999, Byung Yang wrote: > I lowered the optimization level from -O6 to -O and now it shows the cpu > name properly. I was using "-O6 -march=pentium" for the optimization flag > before, but would it affect the performance of the kernela lot if I lower > the optimization flag to -O? It makes it work properly, so yes it would. None of the kernel code is tested beyond -O. Much of it works, but if it doesn't you aren't going to get any support from anyone, except to tell you to turn the optimization down. David Scheidt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 11:15: 3 1999 Delivered-To: freebsd-current@freebsd.org Received: from pawn.primelocation.net (pawn.primelocation.net [205.161.238.235]) by hub.freebsd.org (Postfix) with ESMTP id 396F414D1C for ; Sat, 20 Nov 1999 11:14:50 -0800 (PST) (envelope-from cdf.lists@fxp.org) Received: by pawn.primelocation.net (Postfix, from userid 1016) id 2D0789B25; Sat, 20 Nov 1999 14:14:48 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by pawn.primelocation.net (Postfix) with ESMTP id 26FA7BA21; Sat, 20 Nov 1999 14:14:48 -0500 (EST) Date: Sat, 20 Nov 1999 14:14:48 -0500 (EST) From: "Chris D. Faulhaber" X-Sender: cdf.lists@pawn.primelocation.net To: Byung Yang Cc: Jeroen Ruigrok/Asmodai , freebsd-current@FreeBSD.ORG Subject: Re: cpu name In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 20 Nov 1999, Byung Yang wrote: > I lowered the optimization level from -O6 to -O and now it shows the cpu > name properly. I was using "-O6 -march=pentium" for the optimization flag > before, but would it affect the performance of the kernela lot if I lower > the optimization flag to -O? > > On Sat, 20 Nov 1999, Jeroen Ruigrok/Asmodai wrote: > > > -On [19991120 04:01], Byung Yang (freebsd@nowcool.dhs.org) wrote: > > >as I see the source code, it is not doing what it is supposed to do.. any > > >suggestions? (it's not a big deal but still it's a bug) > > >I did not modify any of the source codes. > > > > I think someone else suggested lowering the optimisation level. > > > > Have you tried that yet? > > Has anyone referenced this problem with kern/12896 ? ----- Chris D. Faulhaber | All the true gurus I've met never System/Network Administrator, | claimed they were one, and always Reality Check Information, Inc. | pointed to someone better. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 12:33: 7 1999 Delivered-To: freebsd-current@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id 1A81C14C88 for ; Sat, 20 Nov 1999 12:32:53 -0800 (PST) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id VAA16336 for freebsd-current@freebsd.org; Sat, 20 Nov 1999 21:32:52 +0100 (CET) Received: (from j@localhost) by uriah.heep.sax.de (8.9.3/8.9.1) id VAA11447; Sat, 20 Nov 1999 21:21:31 +0100 (MET) (envelope-from j) Date: Sat, 20 Nov 1999 21:21:31 +0100 (MET) Message-Id: <199911202021.VAA11447@uriah.heep.sax.de> Mime-Version: 1.0 X-Newsreader: knews 0.9.8 Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: From: j@uriah.heep.sax.de (J Wunsch) Subject: Re: FreeBSD 4.0 SCSI Tape Driver- Okay, Okay, you win.... X-Original-Newsgroups: local.freebsd.current To: freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matthew Jacob wrote: > Too many people have objected. I didn't make my case clearly enough, > but because enough people of have raised issues, the default won't > be changed. Too bad. I think your idea was absoultely right, and i'm rather tired myself to have to `fix' it for every new tape drive we encounter. All the current tape drives do support a form of physical EOD marks, where you can't read on once you've hit EOD. The driver could easily have faked the double-filemark at EOT, so the API wouldn't have changed at all. (Just as you see the EOD from the tape, finish the current transfer and return a "short read", and being asked a second time, return a null read. Upon further attempts, return an error.) Btw., Matt, couldn't modepage 0x10, field "EOD defined" be used in order to decide whether a tape drive supports a physical EOD notation, and thus doesn't require two filemarks at EOD? If i read the standard correctly, those fields should be set to 3 for a tape drive that doesn't support physical EOD. (I can't verify, i don't have any such drive.) -- 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. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 12:33:23 1999 Delivered-To: freebsd-current@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id 0ABD315732 for ; Sat, 20 Nov 1999 12:33:04 -0800 (PST) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id VAA16340 for freebsd-current@freebsd.org; Sat, 20 Nov 1999 21:33:01 +0100 (CET) Received: (from j@localhost) by uriah.heep.sax.de (8.9.3/8.9.1) id VAA11454; Sat, 20 Nov 1999 21:24:53 +0100 (MET) (envelope-from j) Date: Sat, 20 Nov 1999 21:24:53 +0100 (MET) Message-Id: <199911202024.VAA11454@uriah.heep.sax.de> Mime-Version: 1.0 X-Newsreader: knews 0.9.8 Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: <199911160012.QAA16389@gndrsh.dnsmgr.net> From: j@uriah.heep.sax.de (J Wunsch) Subject: Re: FreeBSD 4.0 SCSI Tape Driver X-Original-Newsgroups: local.freebsd.current To: freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Rodney W. Grimes" wrote: > Can you give me a model of a QIC drive that has the ``can't write 2 > FM's'' and I'll see if I can find one so that I can see this problem > first hand and propose a solution to it. The problem with QIC drives is that they only support writing at BOM or at EOD. So once you have recorded 2 FM's in order to mark your very own opinion of EOD (the actual EOD is behind those two FM's), you can't undo this upon a later attempt to append more data to the tape, you'll always end up with two filemarks inmidst the tape. You can't say ``just go to end-of-recorded-media, space backward over one filemark, and write here''. You'll get a `write append error'. Boom. I think this is way worse than the potential possibility of a vaporware SCSI tape drive that might not support a notion of a physical EOD... -- 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. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 12:42:54 1999 Delivered-To: freebsd-current@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 59FBC14C88 for ; Sat, 20 Nov 1999 12:42:25 -0800 (PST) (envelope-from mjacob@feral.com) Received: from semuta.feral.com (semuta [192.67.166.70]) by feral.com (8.8.7/8.8.7) with ESMTP id MAA23071; Sat, 20 Nov 1999 12:43:04 -0800 Date: Sat, 20 Nov 1999 12:43:04 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: Joerg Wunsch Cc: freebsd-current@FreeBSD.ORG Subject: Re: FreeBSD 4.0 SCSI Tape Driver- Okay, Okay, you win.... In-Reply-To: <199911202021.VAA11447@uriah.heep.sax.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 20 Nov 1999, J Wunsch wrote: > Matthew Jacob wrote: > > > Too many people have objected. I didn't make my case clearly enough, > > but because enough people of have raised issues, the default won't > > be changed. > > Too bad. I think your idea was absoultely right, and i'm rather tired > myself to have to `fix' it for every new tape drive we encounter. All > the current tape drives do support a form of physical EOD marks, where > you can't read on once you've hit EOD. > > The driver could easily have faked the double-filemark at EOT, so the > API wouldn't have changed at all. (Just as you see the EOD from the > tape, finish the current transfer and return a "short read", and being > asked a second time, return a null read. Upon further attempts, > return an error.) Sigh. Every time I've suggested this in both FreeBSD and NetBSD I've been shot down with that too. > > Btw., Matt, couldn't modepage 0x10, field "EOD defined" be used in > order to decide whether a tape drive supports a physical EOD notation, > and thus doesn't require two filemarks at EOD? If i read the standard > correctly, those fields should be set to 3 for a tape drive that > doesn't support physical EOD. (I can't verify, i don't have any such > drive.) Yes, I've though about this. I should indeed check. But I suspect that there is breakage with a number of drives here. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 14: 2:38 1999 Delivered-To: freebsd-current@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.100.7]) by hub.freebsd.org (Postfix) with ESMTP id 6FB7B14C8F; Sat, 20 Nov 1999 14:02:33 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.9.3/8.9.3) with ESMTP id RAA94904; Sat, 20 Nov 1999 17:02:30 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: Date: Sat, 20 Nov 1999 17:04:04 -0500 To: current@FreeBSD.org, stable@FreeBSD.org From: Garance A Drosihn Subject: Fixes for lpd/lpc (printing), before 3.4? Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Back when we were closing in on the release date for 3.3, I sent the following message. As we now close in on the release date for 3.4, I thought I'd send it again, seeing that both of the problem reports are still marked "open", and neither of the two patches have been applied yet. (not even to current) These are both pretty tiny minor lovable cuddly changes... Any chance of getting them in for 3.4? Note that problem report bin/12912 probably depends on what umask is set when lpd starts up. The pr says "the problem doesn't seem to be reproducible", but reproducing the problem may depend on someone making a change elsewhere. Given that lpd uses the actual access-bit settings to govern it's behavior, then it should make sure the exactly-correct bit settings are set up when it creates the file. Also note that the fix for bin/9362, sent in as bin/13549, is also confirmed in bin/14975. >Date: Mon, 6 Sep 1999 18:14:55 -0500 >To: current@FreeBSD.org >From: Garance A Drosihn >Subject: Two fixes for lpd/lpc (printing) >Cc: kheuer@gwdu60.gwdg.de > >I noticed problem-report bin/9362, which reported that the >'lpc start' command no longer works. (it claims to start >the queue, but it doesn't actually start it). > >I came up with a two or three line fix for that bug, and >sent it in as problem-report bin/13549. This patch should >work on both freebsd-current and freebsd-stable. > >I also noticed problem report bin/12912. This PR includes >a patch to make sure that if a lockfile does not already >exist, then it will be created such that the queue is both >"enabled" and "started". I have not tried this exact patch >yet, but here at RPI we've had a similar patch to lpd for a >long time. We add printer queues to a master printcap file, >which is then copied to a few hundred workstations. We really >don't want to have to run around all those workstations to >'enable' and 'start' a queue that we have just added. Perhaps >we have a different 'umask' setting when lpd starts up than >most freebsd sites do... > >Could some other people try these simple patches, and see >how well they work? I am hoping these could make it into >the next official release, although I realize that time is >rapidly running out for that! :-) --- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or drosih@rpi.edu Rensselaer Polytechnic Institute To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 14:33:40 1999 Delivered-To: freebsd-current@freebsd.org Received: from dingo.cdrom.com (castles505.castles.com [208.214.165.69]) by hub.freebsd.org (Postfix) with ESMTP id C4D9914C47 for ; Sat, 20 Nov 1999 14:33:37 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id OAA01896; Fri, 19 Nov 1999 14:52:14 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199911192252.OAA01896@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: "Andrey A. Chernov" Cc: Mike Smith , Wilko Bulte , current@FreeBSD.ORG Subject: Re: Root mount failed:22 ??? In-reply-to: Your message of "Sat, 20 Nov 1999 00:35:52 +0300." <19991120003552.A4648@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 19 Nov 1999 14:52:13 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > The diagnostic is relatively harmless, but it suggests that /etc/fstab > > is wrong. > > Here is fstab line, please point what is wrong? > /dev/da0s4a / ufs rw,userquota 1 1 I have no idea; it'd be handy to know what it's trying to mount that's failing, but I don't recall that in your output. -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 14:33:51 1999 Delivered-To: freebsd-current@freebsd.org Received: from dingo.cdrom.com (castles505.castles.com [208.214.165.69]) by hub.freebsd.org (Postfix) with ESMTP id 6157D14DDA for ; Sat, 20 Nov 1999 14:33:37 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id MAA01262; Fri, 19 Nov 1999 12:58:59 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199911192058.MAA01262@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Wilko Bulte Cc: ache@nagual.pp.ru (Andrey A. Chernov), current@FreeBSD.ORG Subject: Re: Root mount failed:22 ??? In-reply-to: Your message of "Fri, 19 Nov 1999 18:53:50 +0100." <199911191753.SAA54700@yedi.iaf.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 19 Nov 1999 12:58:58 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > As Andrey A. Chernov wrote ... > > What this means? What actions required? > > It was a problem recently which cause my kernel paniced > > after boot, but now I got this diagnostic instead of panic: > > > > /kernel: Waiting 2 seconds for SCSI devices to settle > > /kernel: Creating DISK da0 > > /kernel: Creating DISK da1 > > /kernel: Root mount failed: 22 > > /kernel: Mounting root from ufs:da0s4a > > You did not recently add a disk drive to the SCSI chain by any chance? > Especially not one that made the order of the da devices change? The diagnostic is relatively harmless, but it suggests that /etc/fstab is wrong. -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 14:33:52 1999 Delivered-To: freebsd-current@freebsd.org Received: from dingo.cdrom.com (castles505.castles.com [208.214.165.69]) by hub.freebsd.org (Postfix) with ESMTP id D0E2114DB6 for ; Sat, 20 Nov 1999 14:33:37 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id KAA00694; Fri, 19 Nov 1999 10:42:07 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199911191842.KAA00694@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: S ren Schmidt Cc: sobomax@altavista.net, sheldonh@uunet.co.za (Sheldon Hearn), current@FreeBSD.ORG Subject: Re: NewATA on ISA and PCI In-reply-to: Your message of "Fri, 19 Nov 1999 12:40:05 +0100." <199911191140.MAA01765@freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Fri, 19 Nov 1999 10:42:04 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > > Does anybody can explain why kernel with NewATA driver booted on = machine > > > > with ISA based IDE adapter trying to mount wd* as root f/s, while= > > > > exactly *the same* kernel booted on PCI based mobo mounts ad* as = root? > > > > > > /etc/fstab ? > > = > > No, I do not talking about /etc/fstab, I'm talking about what device = kernel is > > using to mount root *before* starting /sbin/init (e.g. "changing root= device to > > ..." in dmesg). > = > Hmm, the bootblock or the loader might be responsible.... This is -current. If the message is "changing root device to..." you = are out of date and must update before we can help you. The root mount code has changed quite a lot just recently, and = debugging the 'old' code isn't practical anymore. -- = \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 15:54:41 1999 Delivered-To: freebsd-current@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id CE68314A2A for ; Sat, 20 Nov 1999 15:54:39 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (root@d60-025.leach.ucdavis.edu [169.237.60.25]) by relay.nuxi.com (8.9.3/8.9.3) with ESMTP id PAA24665; Sat, 20 Nov 1999 15:54:39 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.9.3/8.9.1) id PAA98690; Sat, 20 Nov 1999 15:54:39 -0800 (PST) (envelope-from obrien) Date: Sat, 20 Nov 1999 15:54:38 -0800 From: "David O'Brien" To: Byung Yang Cc: freebsd-current@FreeBSD.ORG Subject: Re: cpu name Message-ID: <19991120155438.A98615@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <19991120104447.E41154@daemon.ninth-circle.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from freebsd@nowcool.dhs.org on Sat, Nov 20, 1999 at 12:48:21PM -0500 X-Operating-System: FreeBSD 4.0-CURRENT Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Nov 20, 1999 at 12:48:21PM -0500, Byung Yang wrote: > I lowered the optimization level from -O6 to -O and now it shows the cpu Offical GCC Project stance is that levels above -O3 are not offically supported. Above -O3 are experimental (if they are even paid attention to). Levels above -O3 are mostly used by the Pentium GCC Project. -- -- David (obrien@NUXI.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 17:25: 2 1999 Delivered-To: freebsd-current@freebsd.org Received: from volatile.by-tor.tacorp.net (ppp38-221.cpis.net [206.155.221.67]) by hub.freebsd.org (Postfix) with ESMTP id 1077914D99 for ; Sat, 20 Nov 1999 17:24:51 -0800 (PST) (envelope-from by-tor@volatile.by-tor.tacorp.net) Received: (from by-tor@localhost) by volatile.by-tor.tacorp.net (8.9.3/8.9.3) id UAA39627; Sat, 20 Nov 1999 20:24:48 -0500 (EST) (envelope-from by-tor) Date: Sat, 20 Nov 1999 20:24:47 -0500 (EST) From: Wes Morgan X-Sender: by-tor@volatile.by-tor.tacorp.net To: freebsd-current@freebsd.org Subject: gdb trouble in 4.0-current Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Is anyone seeing a problem like the one below? This is happening to me on quite a few binaries that used to be gdb'able before I installed a new world on the 13th... [by-tor@volatile:~/mms-0.90$]: gdb ./mms GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"... (gdb) b read_key Breakpoint 1 at 0x804a4d7: file mms.c, line 252. (gdb) r Starting program: /usr/home/by-tor/mms-0.90/./mms warning: find_solib: Can't read pathname for load map: Bad address Segmentation fault (core dumped) The libraries involved are ncurses, panels and of course libc. The panels library is NOT the stock lib (it doesnt work for some reason), I gleaned it from the ncurses-5.0 release. All this stuff worked a week ago :). The binaries run fine, I just can't debug 'em... I'm continuing to operate under the assumption that it is my fault, but if anyone has some pointers that would be great! -- _ __ ___ ____ ___ ___ ___ Wesley N Morgan _ __ ___ | _ ) __| \ morganw@engr.sc.edu _ __ | _ \._ \ |) | FreeBSD: The Power To Serve _ |___/___/___/ Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 18:48:28 1999 Delivered-To: freebsd-current@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 97E8415169 for ; Sat, 20 Nov 1999 18:48:26 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id UAA44109; Sat, 20 Nov 1999 20:48:13 -0600 (CST) (envelope-from dan) Date: Sat, 20 Nov 1999 20:48:13 -0600 From: Dan Nelson To: Donn Miller Cc: Alfred Perlstein , current@FreeBSD.ORG Subject: Re: dd and gzip'd files Message-ID: <19991120204813.A44037@dan.emsphone.com> References: <38364D31.F1AD476E@cvzoom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <38364D31.F1AD476E@cvzoom.net>; from dmmiller@cvzoom.net on Sat, Nov 20, 1999 at 02:26:41AM -0500 X-OS: FreeBSD 4.0-CURRENT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Nov 20), Donn Miller said: > Thanks. Here is what I tried: > > root@lc186 floppies# dd obs=16k conv=osync if=color.gz > of=/dev/rfd0 > 2453+1 records in > 77+0 records out > 1261568 bytes transferred in 50.994527 secs (24739 bytes/sec) > > It appears to have worked. I guess the output block size of 16k > is key for floppies, then. The conv=osync does the padding. The block size for floppies is 512 bytes (which happens to be dd's default blocksize), btw. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Nov 20 19:13:34 1999 Delivered-To: freebsd-current@freebsd.org Received: from uhura.concentric.net (uhura.concentric.net [206.173.118.93]) by hub.freebsd.org (Postfix) with ESMTP id 68B8D151AB for ; Sat, 20 Nov 1999 19:13:32 -0800 (PST) (envelope-from shadowfx@concentric.net) Received: from marconi.concentric.net (marconi.concentric.net [206.173.118.71]) by uhura.concentric.net (8.9.1a/(98/12/15 5.12)) id WAA23621; Sat, 20 Nov 1999 22:13:32 -0500 (EST) [1-800-745-2747 The Concentric Network] Received: from ardor.river.running (ts002d03.col-oh.concentric.net [207.155.205.63]) by marconi.concentric.net (8.9.1a) id WAA03570; Sat, 20 Nov 1999 22:13:31 -0500 (EST) Message-ID: <3836BA96.41C67EA6@concentric.net> Date: Sat, 20 Nov 1999 10:13:26 -0500 From: shadowfx X-Mailer: Mozilla 3.04 (X11; I; FreeBSD 3.2-RELEASE i386) MIME-Version: 1.0 To: freebsd-current@FreeBSD.ORG Subject: join Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG join To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message