From owner-freebsd-current Sun Aug 11 1:15: 3 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A97337B400 for ; Sun, 11 Aug 2002 01:14:59 -0700 (PDT) Received: from dilbert.robbins.dropbear.id.au (054.b.004.mel.iprimus.net.au [210.50.37.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21DCA43E6A for ; Sun, 11 Aug 2002 01:14:56 -0700 (PDT) (envelope-from tim@robbins.dropbear.id.au) Received: from dilbert.robbins.dropbear.id.au (bp49fdeyxh228kar@localhost [127.0.0.1]) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3) with ESMTP id g7B8Eq20064356 for ; Sun, 11 Aug 2002 18:14:52 +1000 (EST) (envelope-from tim@dilbert.robbins.dropbear.id.au) Received: (from tim@localhost) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3/Submit) id g7B8EpNC064355 for current@FreeBSD.ORG; Sun, 11 Aug 2002 18:14:51 +1000 (EST) Date: Sun, 11 Aug 2002 18:14:50 +1000 From: Tim Robbins To: current@FreeBSD.ORG Subject: Job control & pipes Message-ID: <20020811181450.A63126@dilbert.robbins.dropbear.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, Job control still does not work correctly on -CURRENT built on Aug 11 13:52:57 EST 2002 (~4 hours ago): $ su Password: cinq# suspend Suspended (signal) $ fg su cinq# suspend Suspended (signal) $ fg su cinq# Stopped (tty output) (I get disconnected) The problems with chpass getting suspended are still there, too. There also seems to be something wrong with pipes: yes | more will fail once in a while. 'more' dies like this: (has just written the first screenful of y's to the screen) 15142 more RET write 78/0x4e 15142 more CALL read(0x4,0xbfbffbe3,0x1) 15142 more RET read -1 errno 5 Input/output error 15142 more CALL write(0x1,0x8061180,0x17) 15142 more GIO fd 1 wrote 23 bytes "\^[[24;1H\0\0\0\0\^[[K\0\0\^[[?1l\^[>" 15142 more RET write 23/0x17 15142 more CALL fsync(0x2) 15142 more RET fsync 0 15142 more CALL ioctl(0x2,TIOCSETAW,0xbfbffb60) 15142 more RET ioctl -1 errno 5 Input/output error 15142 more CALL exit(0x1) 'yes' dies like this: (has just written a big block of y's) 14288 yes RET write 16384/0x4000 14288 yes CALL write(0x1,0x804b000,0x4000) 14288 yes RET write -1 errno 32 Broken pipe 14288 yes PSIG SIGPIPE SIG_DFL more is trying to read a character from the user's tty, but getting EIO instead. Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 2:12:10 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB17F37B400 for ; Sun, 11 Aug 2002 02:12:08 -0700 (PDT) Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29F0143E65 for ; Sun, 11 Aug 2002 02:12:08 -0700 (PDT) (envelope-from Alexander@Leidinger.net) Received: from fwd03.sul.t-online.de by mailout09.sul.t-online.com with smtp id 17dolP-0007gL-03; Sun, 11 Aug 2002 11:11:55 +0200 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[80.131.104.174]) by fmrl03.sul.t-online.com with esmtp id 17domc-1HLQx6C; Sun, 11 Aug 2002 11:13:10 +0200 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) by Andro-Beta.Leidinger.net (8.11.6/8.11.6) with ESMTP id g7B9Bpx48648; Sun, 11 Aug 2002 11:11:51 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magelan.Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.5/8.12.5) with SMTP id g7B9Bo0B000871; Sun, 11 Aug 2002 11:11:51 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Sun, 11 Aug 2002 11:11:50 +0200 From: Alexander Leidinger To: Bruce Evans Cc: iedowse@maths.tcd.ie, freebsd-current@FreeBSD.ORG Subject: Re: Is anyone else having trouble with dump(8) on -current? Message-Id: <20020811111150.4fc4e70e.Alexander@Leidinger.net> In-Reply-To: <20020811014214.D17412-100000@gamplex.bde.org> References: <200208101504.aa40149@salmon.maths.tcd.ie> <20020811014214.D17412-100000@gamplex.bde.org> Organization: Independend X-Mailer: Sylpheed version 0.8.1claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 11 Aug 2002 02:03:40 +1000 (EST) Bruce Evans wrote: > I don't know how open() of a disk device can be interrupted by a > signal in practice. Most disk operations don't check for signals. How close is our open() to the standards? Does any of them specify EINTR as a possible errno and if yes, shouldn't we write programs which respect the standards (where applicable) instead of just adapting them to our kernel? Bye, Alexander. -- Secret hacker rule #11: hackers read manuals. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 2:27:16 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5521937B400 for ; Sun, 11 Aug 2002 02:27:14 -0700 (PDT) Received: from atro.pine.nl (atro.pine.nl [213.156.0.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F32043E65 for ; Sun, 11 Aug 2002 02:27:13 -0700 (PDT) (envelope-from mark@atro.pine.nl) Received: by atro.pine.nl (Pine Internet Secure Mailer, from userid 65535) id 1A29511D03E; Sun, 11 Aug 2002 11:27:11 +0200 (MET DST) Date: Thu, 1 Aug 2002 18:47:32 +0200 From: Mark Lastdrager To: freebsd-smp@freebsd.org Subject: booting SMP kernel on single CPU system Message-ID: <20020801164732.GM11068@pine.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-NCC-RegID: nl.pine Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I have a 5.0-CURRENT system (build date 25th of May) with SMP kernel. Because my SMP mainboard is under repair I placed the disk in a temporary uniprocessor machine. When I try to boot, the following panic occurs: panic: pmap_bootstrap: no local apic! (non-SMP hardware?) cpuid = 0; lapic.id = 00000000 I understand this problem, but is there some workaround? I don't have a non-SMP kernel on that machine (the kernel.GENERIC is a leftover from FreeBSD 4) and I guess there is no possibily to rebuild the kernel without booting first.. Mark Lastdrager -- Pine Internet BV :: tel. +31-70-3111010 :: fax. +31-70-3111011 PGP 0xFF0EA728 fpr 57D2 CD16 5908 A8F0 9F33 AAA3 AFA0 24EF FF0E A728 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 3:28:50 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B2F237B400; Sun, 11 Aug 2002 03:28:43 -0700 (PDT) Received: from relay1.macomnet.ru (relay1.macomnet.ru [195.128.64.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7D0E43E4A; Sun, 11 Aug 2002 03:28:41 -0700 (PDT) (envelope-from maxim@FreeBSD.org) Received: from news1.macomnet.ru (news1.macomnet.ru [195.128.64.14]) by relay1.macomnet.ru (8.11.6/8.11.6) with ESMTP id g7BAScm3347669; Sun, 11 Aug 2002 14:28:38 +0400 (MSD) Date: Sun, 11 Aug 2002 14:28:38 +0400 (MSD) From: Maxim Konovalov X-X-Sender: maxim@news1.macomnet.ru To: Gavin Atkinson Cc: current@FreeBSD.org, Subject: sendfile(2) is broken (Was: ftpd problem: Input/output error) In-Reply-To: Message-ID: <20020811140826.J68457-100000@news1.macomnet.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, On 14:43+0100, Aug 10, 2002, Gavin Atkinson wrote: > > Hi, > > For a few months now I have been seeing the following problems with the > ftpd in current. When transferring a large file, ftpd seems to > consistantly fail after almost all of the file hass been transferred. The > example transcript below shows all but 4096 bytes of a file being > transferred before stopping. This also happens across networks, with > 4-stable ftp clients - i am confident that it is the ftp server in > current. > > gavin@epsilon:/home/gavin> grep ^ftp /etc/inetd.conf > ftp stream tcp nowait root /usr/libexec/ftpd ftpd -ll > > gavin@epsilon:/home/gavin> ls -l foo > -rw------- 1 gavin users 31969280 Aug 4 18:19 foo > > gavin@epsilon:/home/gavin> ftp localhost > Trying ::1... > ftp: connect to address ::1: Connection refused > Trying 127.0.0.1... > Connected to localhost. > 220 epsilon.ury.york.ac.uk FTP server (Version 6.00LS) ready. > Name (localhost:gavin): > 331 Password required for gavin. > Password: > 230 User gavin logged in. > Remote system type is UNIX. > Using binary mode to transfer files. > ftp> lcd test > Local directory now /usr/home/gavin/test > ftp> get foo > local: foo remote: foo > 229 Entering Extended Passive Mode (|||49152|) > 150 Opening BINARY mode data connection for 'foo' (31969280 bytes). > 99% |************************************ | 31216 KB 3.25 MB/s 00:09 > 426 Data connection: Input/output error. > 31965184 bytes received in 00:09 (3.25 MB/s) > ftp> > > gavin@epsilon:/home/gavin> ls -l test/foo > -rw-r--r-- 1 gavin users 31965184 Aug 4 18:19 test/foo > > epsilon# tail -3 > /var/log/ftp.log > Aug 10 14:28:28 epsilon ftpd[345]: connection from localhost (127.0.0.1) > Aug 10 14:29:03 epsilon ftpd[345]: FTP LOGIN FROM localhost as gavin > Aug 10 14:29:36 epsilon ftpd[345]: get /usr/home/gavin/foo = 31965184 bytes > > As can be seen, the file is 31969280 bytes in size, but ftpd only sends > 31963184 bytes. The log file reads the smaller size. > > World and kernel are from source supped midnight GMT 10th August. I can > help debug this or provide an account for someone else to look at this > problem. This is sendfile(2) mis-behaviour arised after rev.1.109 sys/kern/uipc_syscalls.c but I think the real problem in vn_rdwr(), sys/kern/vfs_vnops.c. Here is my patch but I really need somebody with vfs clue. I CC'ed Robert Watson as an author of sendfile(2) modification and our vfs expert. Index: sys/kern/vfs_vnops.c =================================================================== RCS file: /home/ncvs/src/sys/kern/vfs_vnops.c,v retrieving revision 1.159 diff -u -r1.159 vfs_vnops.c --- sys/kern/vfs_vnops.c 8 Aug 2002 12:45:30 -0000 1.159 +++ sys/kern/vfs_vnops.c 11 Aug 2002 10:19:47 -0000 @@ -401,7 +401,7 @@ if (aresid) *aresid = auio.uio_resid; else - if (auio.uio_resid && error == 0) + if (auio.uio_resid && error != 0) error = EIO; if ((ioflg & IO_NODELOCKED) == 0) { if (rw == UIO_WRITE) %%% With this patch sendfile(2) and ftpd(8) work as expected but I cannot believe vn_rdwr() has been broken since 1994. As a temporal solution you can revert rev. 1.109 uipc_syscalls.c, recompile and reinstall your kernel. -- Maxim Konovalov, maxim@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 5:33:37 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A43E637B400 for ; Sun, 11 Aug 2002 05:33:33 -0700 (PDT) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 68FA243E65 for ; Sun, 11 Aug 2002 05:33:32 -0700 (PDT) (envelope-from iedowse@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 11 Aug 2002 13:33:31 +0100 (BST) To: Bruce Evans Cc: Alexander Leidinger , bhlewis@wossname.net, freebsd-current@FreeBSD.ORG Subject: Re: Is anyone else having trouble with dump(8) on -current? In-Reply-To: Your message of "Sun, 11 Aug 2002 02:03:40 +1000." <20020811014214.D17412-100000@gamplex.bde.org> Date: Sun, 11 Aug 2002 13:33:30 +0100 From: Ian Dowse Message-ID: <200208111333.aa34638@salmon.maths.tcd.ie> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20020811014214.D17412-100000@gamplex.bde.org>, Bruce Evans writes: > >I don't know how open() of a disk device can be interrupted by a signal >in practice. Most disk operations don't check for signals. Does the PCATCH tsleep in diskopen() that I mentioned seem a likely candidate? Anyway, below is a simple program that reproduces the EINTR error fairly reliably for me when run on disk devices. Ian #include #include #include #include #include void handler(int sig) { } int main(int argc, char **argv) { int fd, i; if (argc < 2) errx(1, "Usage: %s device", argv[0]); fork(); fork(); fork(); fork(); signal(SIGUSR1, handler); sleep(1); for (i = 0; i < 200; i++) { killpg(0, SIGUSR1); if ((fd = open(argv[1], O_RDONLY)) < 0) err(1, "%s", argv[1]); close(fd); } return 0; } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 5:38:18 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C48DF37B400 for ; Sun, 11 Aug 2002 05:38:09 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90DBA43E72 for ; Sun, 11 Aug 2002 05:38:08 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id WAA09885; Sun, 11 Aug 2002 22:38:01 +1000 Date: Sun, 11 Aug 2002 22:42:59 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Terry Lambert Cc: Maksim Yevmenkin , Subject: Re: Interrupt vs. polling on -current In-Reply-To: <3D555FAD.A4137491@mindspring.com> Message-ID: <20020811222403.C20418-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 10 Aug 2002, Terry Lambert wrote: > Bruce Evans wrote: > > No, but the 3Com driver apparently is. The sio driver wants to have > > fast interrupts. It can't have them with the irq is shared, so its > > worst-case interrupt latency for a single serial port is increased > > from about 50 usec to many msec, depending other interrupt activity > > in the system (not limited to that for the shared irq except in some > > configurations). Silo overflows occur at 115200 bps when the latency > > is more than about 1.5 msec. > > Anyway to get the code to complain about the sharing of serial > interrupts? It already complains: from sio.c: % ret = BUS_SETUP_INTR(device_get_parent(dev), dev, com->irqres, % INTR_TYPE_TTY | INTR_FAST, % siointr, com, &com->cookie); % if (ret) { % ret = BUS_SETUP_INTR(device_get_parent(dev), dev, % com->irqres, INTR_TYPE_TTY, % siointr, com, &com->cookie); % if (ret == 0) % device_printf(dev, "unable to activate interrupt in fast mode - using normal mode\n"); > Also, if there is a PCI interrupt for the serial (serial handled > by Northbridge... I'd like to see this, actually), shouldn't it > be capable of sharing *only* fast interrupts somehow? It's an Yes, this should work. It mainly needs a multiplexer like the old one for ordinary shared irqs (but even simpler since it doesn't need or want to change the ipl (soft or hard)) and lots of configuation cruft. > obvious pessimization to mix other interrupts with fast interrupts, > but less obvious what would happen with fast + fast... It's more than a pessimization; it is impossible by definition, since sharing fast interrupts (at the same time) makes them non-fast. Another thing that bus_setup_intr() doesn't do is transparently enough is changing the setup as devices with different requirements come and go. > > FreeBSD on a 486/33 can handle about 40000 serial interrupts per second > > to do one character of i/o per interrupt). Pessimizations in -current > > have only degraded this by a small factor (2?), provided the driver > > uses fast interrupts. Lose another small factor (2?) for normal interrupts > > (using normal interrupts only loses a large factor for latency). > > Any way to fix this, short of "don't run -current"?? There's also "use a fast CPU (almost any new one)". Some of the overheads are related to I/O, so you won't noticed 2x or 4x pessimizations of software overheads once the I/O overheads are very dominant. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 6:11:51 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14D8537B400 for ; Sun, 11 Aug 2002 06:11:49 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CBC343E5E for ; Sun, 11 Aug 2002 06:11:48 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id XAA14732; Sun, 11 Aug 2002 23:11:36 +1000 Date: Sun, 11 Aug 2002 23:16:34 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Alexander Leidinger Cc: iedowse@maths.tcd.ie, Subject: Re: Is anyone else having trouble with dump(8) on -current? In-Reply-To: <20020811111150.4fc4e70e.Alexander@Leidinger.net> Message-ID: <20020811230844.E20418-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 11 Aug 2002, Alexander Leidinger wrote: > On Sun, 11 Aug 2002 02:03:40 +1000 (EST) Bruce Evans > wrote: > > > I don't know how open() of a disk device can be interrupted by a > > signal in practice. Most disk operations don't check for signals. > > How close is our open() to the standards? Does any of them specify EINTR > as a possible errno and if yes, shouldn't we write programs which > respect the standards (where applicable) instead of just adapting them > to our kernel? open() returning EINTR is normal for some types of devices, so it is standard. General standards like POSIX.1 shouldn't go into details enough to specify different EINTR behaviour for disks (or even specify disks) since this would limit them too much. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 6:29:33 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4040137B400; Sun, 11 Aug 2002 06:29:30 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8F8A43E4A; Sun, 11 Aug 2002 06:29:28 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id XAA17008; Sun, 11 Aug 2002 23:29:26 +1000 Date: Sun, 11 Aug 2002 23:34:24 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Maxim Konovalov Cc: Gavin Atkinson , , Subject: Re: sendfile(2) is broken (Was: ftpd problem: Input/output error) In-Reply-To: <20020811140826.J68457-100000@news1.macomnet.ru> Message-ID: <20020811232049.B20418-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 11 Aug 2002, Maxim Konovalov wrote: > This is sendfile(2) mis-behaviour arised after rev.1.109 > sys/kern/uipc_syscalls.c but I think the real problem in vn_rdwr(), > sys/kern/vfs_vnops.c. Here is my patch but I really need somebody with > vfs clue. I CC'ed Robert Watson as an author of sendfile(2) > modification and our vfs expert. > > Index: sys/kern/vfs_vnops.c > =================================================================== > RCS file: /home/ncvs/src/sys/kern/vfs_vnops.c,v > retrieving revision 1.159 > diff -u -r1.159 vfs_vnops.c > --- sys/kern/vfs_vnops.c 8 Aug 2002 12:45:30 -0000 1.159 > +++ sys/kern/vfs_vnops.c 11 Aug 2002 10:19:47 -0000 > @@ -401,7 +401,7 @@ > if (aresid) > *aresid = auio.uio_resid; > else > - if (auio.uio_resid && error == 0) > + if (auio.uio_resid && error != 0) > error = EIO; > if ((ioflg & IO_NODELOCKED) == 0) { > if (rw == UIO_WRITE) > > %%% > > With this patch sendfile(2) and ftpd(8) work as expected but I cannot > believe vn_rdwr() has been broken since 1994. I think the caller (do_sendfile() here?) is at fault for not passing a non-NULL aresid. The EIO case is basically a kludge to handle short i/o's. Since the caller hasn't passed a place to return the (residual) i/o count, it can't even tell if a short i/o occurred, so we pretend that short i/o's are i/o errors. There are a lot of sloppy callers that pass a null aresid. But these are less broken than link_aout_load_file() and link_elf_load_file which pass a non-null one and then never check it. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 8:21: 8 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D72C337B400; Sun, 11 Aug 2002 08:21:04 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3A7E43E75; Sun, 11 Aug 2002 08:21:03 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.4/8.12.4) with SMTP id g7BFKmOo057056; Sun, 11 Aug 2002 11:20:49 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Sun, 11 Aug 2002 11:20:48 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Maxim Konovalov Cc: Gavin Atkinson , current@FreeBSD.org Subject: Re: sendfile(2) is broken (Was: ftpd problem: Input/output error) In-Reply-To: <20020811140826.J68457-100000@news1.macomnet.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 11 Aug 2002, Maxim Konovalov wrote: > This is sendfile(2) mis-behaviour arised after rev.1.109 > sys/kern/uipc_syscalls.c but I think the real problem in vn_rdwr(), > sys/kern/vfs_vnops.c. Here is my patch but I really need somebody with > vfs clue. I CC'ed Robert Watson as an author of sendfile(2) > modification and our vfs expert. Semen Ustimenko ran into a similar problem, but his fix was to teach sendfile() to pass in a non-NULL resid and handle the failure mode better. I suspect this fix is more correct since it will both handle the failure mode and the data delivered, and probably is required for other consumers of vn_rdwr(). He was going to run the patch past dg, and then commit it assuming dg approved it, so hopefully it will go into the tree in the next day or so. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 8:40:33 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B32237B401 for ; Sun, 11 Aug 2002 08:40:30 -0700 (PDT) Received: from unix1.vhost.min.net (unix1.vhost.min.net [209.225.18.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAA8E43E6A for ; Sun, 11 Aug 2002 08:40:29 -0700 (PDT) (envelope-from www@unix1.vhost.min.net) Received: (from www@localhost) by unix1.vhost.min.net (8.11.6/8.11.3) id g7BFX8D57557; Sun, 11 Aug 2002 11:33:08 -0400 (EDT) (envelope-from www) Date: Sun, 11 Aug 2002 11:33:08 -0400 (EDT) Message-Id: <200208111533.g7BFX8D57557@unix1.vhost.min.net> To: current@freebsd.org From: jessicasimp@rol.ro () Subject: 2 Attract Females now.o3r8r8 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Below is the result of your feedback form. It was submitted by (jessicasimp@rol.ro) on Sunday, August 11, 2002 at 11:33:07 --------------------------------------------------------------------------- : It's not a secret anymore... There is a NEW product available in the United States and it is the strongest formula ever sold! Pheromones! Make your partner HOT!Click the link below to get PRIMAL! Click here: http://getit@www.friendlymailer.com/index9987.php Click to remove http://www.spambites.com/cgi-bin/enter.cgi?spambytes_id=21574 --------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 8:49:58 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9511437B401 for ; Sun, 11 Aug 2002 08:49:51 -0700 (PDT) Received: from scl8owa02.int.exodus.net (scl8out02.exodus.net [66.35.230.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD76B43E5E for ; Sun, 11 Aug 2002 08:49:42 -0700 (PDT) (envelope-from Maksim.Yevmenkin@exodus.net) Received: from SJDCEX01.int.exodus.net ([165.193.27.80]) by scl8owa02.int.exodus.net with Microsoft SMTPSVC(5.0.2195.4905); Sun, 11 Aug 2002 08:51:16 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Subject: RE: Interrupt vs. polling on -current Date: Sun, 11 Aug 2002 08:51:15 -0700 Message-ID: <45258A4365C6B24A9832BFE224837D552B1238@SJDCEX01.int.exodus.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Interrupt vs. polling on -current Thread-Index: AcJAVMyyqgdmyxe8Sl2j3GtrFsF/NQA9wik5 From: "Maksim Yevmenkin" To: "Bruce Evans" Cc: X-OriginalArrivalTime: 11 Aug 2002 15:51:16.0198 (UTC) FILETIME=[ED29A860:01C2414E] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 9 Aug 2002, Maksim Yevmenkin wrote: > > OS: FreeBSD-current DP1 (dmesg attached) > > Laptop: Toshiba Tecra 8100 (docked) > > Hardware: 3Com Bluetooth USB dongle, 3Com Bluetooth PC-CARD > > Xircom CBT PC-CARD (with 16550A UART) > > > > First of all, irq 11 gets shared between PC-CARD controller, > > USB controller, NIC in docking station (see dmesg). Everything > This configuration should be expected to work poorly at best. hmmm... i have a couple of latops here at home, one made by Toshiba and another by IBM and they both have similar configuration. may be such configuration is normal for laptops? Both laptop/cards seems to work fine in W2K. I do not know much about PC-CARD controllers, but somehow each PC-CARD i plug into slot gets a different interrupt line. [ ... ] > > The Xircom card just does not work :( I' getting a lot of > > "silo overflow" messages no matter what i try. I checked > > list archives and source - not much look. Is "sio" driver > > totally hopeless? >=20 > No, but the 3Com driver apparently is. The sio driver wants to have > fast interrupts. It can't have them with the irq is shared, so its > worst-case interrupt latency for a single serial port is increased > from about 50 usec to many msec, depending other interrupt activity > in the system (not limited to that for the shared irq except in some > configurations). Silo overflows occur at 115200 bps when the latency > is more than about 1.5 msec. perhaps, i said it wrong. I only plug *one* PC-CARD at a time, so it only 3com *or* Xircom. So irq11 gets shared between USB, NIC in docking station, PC-CARD controller and Xircom card.=20 BTW, i see "silo overflow" messages when i run ppp via null-modem cable. in this configuration i'm using serial port 0 which is on board and hase irq 4 with fast interrupts. > > This morning i change 3Com driver to use polling, and, > > to my extreme surprise it work much, much better now. Also > > the interrupt load (according to top) has reduced to at > > least half. I have not noticed any system slow down. So > > what is up this that? Does that mean that for slow devices > > like serial ports etc. polling is better? > > This points to bug(s) in the 3Com driver. Perhaps its interrupt > handler just runs for too long to determine that irq11's for the > serial device are not for it. Running in polled mode decreases yes, and that is what i was thinking too. but now i think it is not only 3com driver's fault. The driver just reads one port and check one bit, if it not set then interrupt is not for it.=20 > the number of interrupts that it looks at (if there are a lot of > serial interrupts), and prevents the 3Com interrupt handling from > interfering with serial interrupt handling (because timeouts have > lower priority than all other interrupts). just like i said, there is *only one* card in the PC-CARD slot and 3Com *USB* dongle. [ ... ] > > I just can't believe that > > FreeBSD on my Pentium-III/600 can't handle lousy 500-700 > > interrupts a second from PC-CARD. Can anyone point me > > into right direction, because i'm obviously doing something > > wrong here. >=20 > FreeBSD on a 486/33 can handle about 40000 serial interrupts per = second > to do one character of i/o per interrupt). Pessimizations in -current > have only degraded this by a small factor (2?), provided the driver > uses fast interrupts. Lose another small factor (2?) for normal = interrupts > (using normal interrupts only loses a large factor for latency). if my calculations are correct -current should handle about 10,000 interrupt/sec from sio, right? i'm sorry, but it is not what i see here. thanks, max To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 10:31:16 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 138B737B405 for ; Sun, 11 Aug 2002 10:31:11 -0700 (PDT) Received: from ref5.freebsd.org (ref5.FreeBSD.org [216.136.204.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB72B43E65 for ; Sun, 11 Aug 2002 10:31:10 -0700 (PDT) (envelope-from des@FreeBSD.org) Received: from ref5.freebsd.org (localhost [127.0.0.1]) by ref5.freebsd.org (8.12.5/8.12.5) with ESMTP id g7BHVAgr041161 for ; Sun, 11 Aug 2002 10:31:10 -0700 (PDT) (envelope-from des@ref5.freebsd.org) Received: (from des@localhost) by ref5.freebsd.org (8.12.5/8.12.5/Submit) id g7BHVAIh041159 for current@freebsd.org; Sun, 11 Aug 2002 10:31:10 -0700 (PDT) Date: Sun, 11 Aug 2002 10:31:10 -0700 (PDT) From: Dag-Erling Smorgrav Message-Id: <200208111731.g7BHVAIh041159@ref5.freebsd.org> To: current@freebsd.org Subject: i386 tinderbox failure Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- >>> stage 2: cleaning up the object tree -------------------------------------------------------------- >>> stage 2: rebuilding the object tree -------------------------------------------------------------- >>> stage 2: build tools -------------------------------------------------------------- >>> stage 3: cross tools -------------------------------------------------------------- >>> stage 4: populating /home/des/tinderbox/i386/obj/local0/scratch/des/src/i386/usr/include -------------------------------------------------------------- >>> stage 4: building libraries -------------------------------------------------------------- >>> stage 4: make dependencies -------------------------------------------------------------- >>> stage 4: building everything.. -------------------------------------------------------------- >>> Kernel build for GENERIC started on Sun Aug 11 09:37:52 PDT 2002 -------------------------------------------------------------- >>> Kernel build for GENERIC completed on Sun Aug 11 10:19:40 PDT 2002 -------------------------------------------------------------- >>> Kernel build for LINT started on Sun Aug 11 10:19:40 PDT 2002 -------------------------------------------------------------- ===> xe /local0/scratch/des/src/sys/contrib/dev/acpica/dbdisply.c:480: warning: no previous prototype for `AcpiDbDecodeNode' /local0/scratch/des/src/sys/contrib/dev/acpica/dbdisply.c:131: warning: `_THIS_MODULE' defined but not used /local0/scratch/des/src/sys/contrib/dev/acpica/dbexec.c:124: warning: `_THIS_MODULE' defined but not used /local0/scratch/des/src/sys/contrib/dev/acpica/dbhistry.c:124: warning: `_THIS_MODULE' defined but not used /local0/scratch/des/src/sys/contrib/dev/acpica/dbinput.c:125: warning: `_THIS_MODULE' defined but not used /local0/scratch/des/src/sys/contrib/dev/acpica/dbstats.c:125: warning: `_THIS_MODULE' defined but not used /local0/scratch/des/src/sys/contrib/dev/acpica/dbxface.c:127: warning: `_THIS_MODULE' defined but not used /local0/scratch/des/src/sys/contrib/dev/acpica/hwgpe.c:122: warning: `_THIS_MODULE' defined but not used /local0/scratch/des/src/sys/contrib/dev/acpica/hwregs.c: In function `AcpiGetSleepTypeData': /local0/scratch/des/src/sys/contrib/dev/acpica/hwregs.c:242: warning: cast discards qualifiers from pointer target type /local0/scratch/des/src/sys/contrib/dev/acpica/nsxfname.c:125: warning: `_THIS_MODULE' defined but not used /local0/scratch/des/src/sys/contrib/dev/acpica/nsxfobj.c:126: warning: `_THIS_MODULE' defined but not used /local0/scratch/des/src/sys/contrib/dev/acpica/rsdump.c:124: warning: `_THIS_MODULE' defined but not used /local0/scratch/des/src/sys/contrib/dev/acpica/utclib.c:129: warning: `_THIS_MODULE' defined but not used /local0/scratch/des/src/sys/contrib/dev/acpica/utdebug.c:122: warning: `_THIS_MODULE' defined but not used /local0/scratch/des/src/sys/contrib/dev/acpica/utglobal.c: In function `AcpiUtGetRegionName': /local0/scratch/des/src/sys/contrib/dev/acpica/utglobal.c:489: warning: cast discards qualifiers from pointer target type /local0/scratch/des/src/sys/contrib/dev/acpica/utglobal.c: In function `AcpiUtGetEventName': /local0/scratch/des/src/sys/contrib/dev/acpica/utglobal.c:527: warning: cast discards qualifiers from pointer target type /local0/scratch/des/src/sys/contrib/dev/acpica/utglobal.c: In function `AcpiUtGetTypeName': /local0/scratch/des/src/sys/contrib/dev/acpica/utglobal.c:604: warning: cast discards qualifiers from pointer target type /local0/scratch/des/src/sys/contrib/dev/acpica/utglobal.c:607: warning: cast discards qualifiers from pointer target type /local0/scratch/des/src/sys/dev/acpica/acpi_acad.c:50: warning: `_THIS_MODULE' defined but not used /local0/scratch/des/src/sys/dev/acpica/acpi_cmbat.c:56: warning: `_THIS_MODULE' defined but not used /local0/scratch/des/src/sys/dev/acpica/acpi_powerres.c:274: warning: `acpi_pwr_deregister_consumer' defined but not used /local0/scratch/des/src/sys/dev/acpica/acpi_powerres.c:212: warning: `acpi_pwr_deregister_resource' defined but not used cc1: warnings being treated as errors /local0/scratch/des/src/sys/dev/ata/atapi-cam.c: In function `cam_rescan': /local0/scratch/des/src/sys/dev/ata/atapi-cam.c:615: warning: passing arg 1 of `xpt_print_path' makes pointer from integer without a cast *** Error code 1 Stop in /local0/scratch/des/obj/local0/scratch/des/src/sys/LINT. *** Error code 1 Stop in /local0/scratch/des/src. *** Error code 1 Stop in /local0/scratch/des/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 11:37:20 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C3DEF37B400 for ; Sun, 11 Aug 2002 11:37:10 -0700 (PDT) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA56F43E42 for ; Sun, 11 Aug 2002 11:37:06 -0700 (PDT) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.12.5/8.12.5) with ESMTP id g7BIb6h1019545 for ; Sun, 11 Aug 2002 11:37:06 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.12.5/8.12.5/Submit) id g7BIb6Be019544 for current@freebsd.org; Sun, 11 Aug 2002 11:37:06 -0700 (PDT) Date: Sun, 11 Aug 2002 11:37:06 -0700 (PDT) From: David Wolfskill Message-Id: <200208111837.g7BIb6Be019544@bunrab.catwhisker.org> To: current@freebsd.org Subject: Weirdness trying -STABLE -> -CURRENT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I've been tracking each of -STABLE & -CURRENT for a while now, so it's been almost a year since I tried the -STABLE -> -CURRENT upgrade path. Still, I was a bit skeptical when someone on the #FreeBSD channel at irc.sage-members.org indicated that the "make installworld" was failing for him, typically with /bin/sh dying in some strange way. In an effort to get a better idea of what any issues might be, therefore, after I built today's -STABLE (on slice 1) and today's -CURRENT (on slice 4), I did the following on my SMP (2x866MHz PIII) build machine: * cloned slice 1 to slice 3 (dump|restore ad0s1a -> ad0s3a & ad0s1e -> ad0s3e, followed by tweaking etc/fstab on ad0s3a & changing the obj symlink on ad0s3e to point to /common/S3/obj instead of /common/S1/obj). * reboot from slice 3 (multi-user mode); verify that I was running 4.6-S as of this morning. * rm -fr /usr/obj/usr/src * rm -fr /usr/src/* * cd /usr && cvs -d /cvs/freebsd checkout src [/cvs/freebsd is the FreeBSD portion of my local CVS repository; my ~/.cvsrc has "-P" as an automatic command-line flag for the "checkout" command.] * cd src/i386/conf && ln -s /common/local/src/kernels/current/FREEBEAST . * whoami && mount && cd /usr/src && uname -a && date && make -j8 buildworld && date && make kernel KERNCONF=FREEBEAST && date [This proceeded OK up to the "make kernel," at which point I was reminded that I should only go so far as "make buildkernel" before copying /sys/i386/conf/GENERIC.hints to /boot/device.hints.] * (per above) cp sys/i386/conf/GENERIC.hints /boot/device.hints && date && make kernel KERNCONF=FREEBEAST && date * reboot (single-user mode) Now, at this step, I see something a bit odd: Console: serial port BIOS drive A: is disk0 BIOS drive C: is disk1 BIOS 639kB/523200kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 (root@freebeast.catwhisker.org, Sun Aug 11 09:29:25 PDT 2002) Loading /boot/defaults/loader.conf Warning: syntax error on file /boot/device.hints machine i386 ^ Warning: syntax error on file /boot/loader.conf $ ^ /boot/kernel/kernel text=0x237e0c data=0x35db4+0x6f72c syms=[0x4+0x36820+0x4+0x421d1] * fsck -p * mount -u / * mount -a * cd /usr/src * adjkerntz -i * mergemaster -p * make installworld ... and this step appears to fail to terminate in a useful manner: I get as far as: .... ===> usr.bin/biff install -s -o root -g wheel -m 555 biff /usr/bin install -o root -g wheel -m 444 biff.1.gz /usr/share/man/man1 ===> usr.bin/brandelf install -s -o root -g wheel -m 555 brandelf /usr/bin install -o root -g wheel -m 444 brandelf.1.gz /usr/share/man/man1 ===> usr.bin/bzip2 install -s -o root -g wheel -m 555 bzip2 /usr/bin install -o root -g wheel -m 444 bzip2.1.gz /usr/share/man/man1 /usr/share/man/man1/bunzip2.1.gz -> /usr/share/man/man1/bzip2.1.gz /usr/share/man/man1/bzcat.1.gz -> /usr/share/man/man1/bzip2.1.gz ===> usr.bin/bzip2/doc install-info --quiet --defsection="Programming & development tools." --defentry= bzip2.info /usr/share/info/dir install -o root -g wheel -m 444 bzip2.info.gz /usr/share/info /usr/bin/bunzip2 -> /usr/bin/bzip2 /usr/bin/bzcat -> /usr/bin/bzip2 ===> usr.bin/c89 install -s -o root -g wheel -m 555 c89 /usr/bin install -o root -g wheel -m 444 c89.1.gz /usr/share/man/man1 ===> usr.bin/calendar insptall -o root -g iwheel -m 444 /ud ~z*M~3~W~IK~~k~n%C19K~=c~~1+=K#rB*J~iS~jj~M+IC){I)v~V[{){11~IKv }s!c }~H(k!I~W%UyI{19U+19~!I#W%U19jBVV{MIK~WYxj and the machine appears at this point to be non-responsive. I had cut/pasted the above from the serial console; seeing no way to get the machine to wake up, I'll hit the reset button... and I find that after "boot -s" I see: Type '?' for a list of commands, 'help' for more detailed help. OK boot -s /boot/kernel/acpi.ko text=0x2e29c data=0x1804+0x6e0 syms=[0x4+0x50b0+0x4+0x6913] - where things just sit. (I.e., the "spinner" doesn't spin.) OK; I hit the magic reset button, then hit "space" soon enough to intercept the attempt to load /boot/loader from slice 3, and told it to load the one from slice 1, boot single-user, and I'm doing a "fsck -p" as I type. OK; I brought it back up under today's -STABLE, and looking at the typescript file, I see that it ends thusly: ===> usr.bin/cap_mkdb install -s -o root -g wheel -m 555 cap_mkdb /usr/bin install -o root -g wheel -m 444 cap_mkdb.1.gz /usr/share/man/man1 ===> usr.bin/catman install -s -o root -g wheel -m 555 catman /usr/bin install -o root -g wheel -m 444 catman.1.gz /usr/share/man/man1 ===> usr.bin/chat install -s -o root -g wheel -m 555 chat /usr/bin install -o root -g wheel -m 444 chat.8.gz /usr/share/man/man8 ===> usr.bin/checknr install -s -o root -g wheel -m 555 checknr /usr/bin install -o root -g wheel -m 444 checknr.1.gz /usr/share/man/man1 ===> usr.bin/chflags install -s -o root -g wheel -m 555 chflags /bin install -o root -g wheel -m 444 chflags.1.gz /usr/share/man/man1 ===> usr.bin/chpass [ ! -e /usr/bin/chpass ] || chflags noschg /usr/bin/chpass || true *** Signal 12 Stop in /usr/src/usr.bin/chpass. *** Error code 1 Stop in /usr/src/usr.bin. *** 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. # So I get the impression that folks who are complaining about the shell getting a SIGSYS probably aren't hallucinating (about that, anyway), and to the extent that there's a (non-recovered) mistake in the procedure I followed, perhaps the effected folks are doing something similar. At least my -CURRENT built under -CURRENT (same kernel config file) seems OK.... Cheers, david -- David H. Wolfskill david@catwhisker.org To paraphrase David Hilbert, there can be no conflicts between Microsoft and the discipline of systems administration, since they have nothing in common. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 11:49:38 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D7F737B400 for ; Sun, 11 Aug 2002 11:49:37 -0700 (PDT) Received: from mail.rfc1149.net (marvin.enst.fr [137.194.161.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DEAA43E42 for ; Sun, 11 Aug 2002 11:49:36 -0700 (PDT) (envelope-from sam@inf.enst.fr) Received: from beeblebrox.rfc1149.net (beeblebrox-tun.enst.fr [137.194.161.40]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "beeblebrox.rfc1149.net", Issuer "Top-level signer" (verified OK)) by mail.rfc1149.net (Postfix) with ESMTP id 11858A803C for ; Sun, 11 Aug 2002 20:49:34 +0200 (CEST) Received: from beeblebrox.enst.fr (beeblebrox [127.0.0.1]) by beeblebrox.rfc1149.net (Postfix) with ESMTP id 919C88EA for ; Sun, 11 Aug 2002 20:49:28 +0200 (CEST) Date: Sun, 11 Aug 2002 20:49:28 +0200 To: current@freebsd.org Subject: pkg-comment Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Organization: Ecole Nationale Superieure des Telecommunications Reply-To: Samuel Tardieu Content-Transfer-Encoding: 8bit X-WWW: http://www.rfc1149.net/sam X-Mail-Processing: Sam's procmail tools X-Jabber: (see http://www.jabber.org/) X-OpenPGP-Fingerprint: 79C0 AE3C CEA8 F17B 0EF1 45A5 F133 2241 1B80 ADE6 (see http://www.gnupg.org/) X-Sam-Laptop: yes Message-Id: <2002-08-11-20-49-28+trackit+sam@inf.enst.fr> From: Samuel Tardieu X-Delivery-Agent: TMDA/0.58 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Since pkg-comment contains only a single line, wouldn't it be more subtile to put it in a COMMENT field as does NetBSD, instead of using a file? I think it would speed up updates. Sam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 12:23:20 2002 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 885) id 3EBB037B400; Sun, 11 Aug 2002 12:23:19 -0700 (PDT) Date: Sun, 11 Aug 2002 12:23:19 -0700 From: Eric Melville To: Samuel Tardieu Cc: current@freebsd.org Subject: Re: pkg-comment Message-ID: <20020811122319.A11471@FreeBSD.org> References: <2002-08-11-20-49-28+trackit+sam@inf.enst.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <2002-08-11-20-49-28+trackit+sam@inf.enst.fr>; from sam@inf.enst.fr on Sun, Aug 11, 2002 at 08:49:28PM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Since pkg-comment contains only a single line, wouldn't it be more subtile > to put it in a COMMENT field as does NetBSD, instead of using a file? I think > it would speed up updates. http://people.FreeBSD.org/~eric/ports-comment.diff Will Andrews said that portmgr would be going over this sometime soon, hopefully they will commit it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 12:25:53 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AB0937B400 for ; Sun, 11 Aug 2002 12:25:51 -0700 (PDT) Received: from web20706.mail.yahoo.com (web20706.mail.yahoo.com [216.136.226.179]) by mx1.FreeBSD.org (Postfix) with SMTP id 2318143E6A for ; Sun, 11 Aug 2002 12:25:51 -0700 (PDT) (envelope-from edlyu@yahoo.com) Message-ID: <20020811192550.2979.qmail@web20706.mail.yahoo.com> Received: from [12.234.236.181] by web20706.mail.yahoo.com via HTTP; Sun, 11 Aug 2002 12:25:50 PDT Date: Sun, 11 Aug 2002 12:25:50 -0700 (PDT) From: Ed Yu Subject: Pthread library using KSE? To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I'm intrigued by KSE and would like to write some program to test it. Is there a PThread library using KSE for scheduling? Thanks, ed __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 12:41:12 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 214ED37B400 for ; Sun, 11 Aug 2002 12:41:09 -0700 (PDT) Received: from mx2.datanet.hu (mx2.datanet.hu [194.149.13.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B9D843E6A for ; Sun, 11 Aug 2002 12:41:08 -0700 (PDT) (envelope-from sziszi@bsd.hu) Received: from fonix.adamsfamily.xx (nilus-688.adsl.datanet.hu [195.56.50.180]) by mx2.datanet.hu (DataNet) with ESMTP id B0D8D5965 for ; Sun, 11 Aug 2002 21:41:06 +0200 (CEST) Received: from fonix.adamsfamily.xx (localhost [127.0.0.1]) by fonix.adamsfamily.xx (8.12.5/8.12.5) with ESMTP id g7BJfJRJ017215 for ; Sun, 11 Aug 2002 21:41:19 +0200 (CEST) (envelope-from sziszi@bsd.hu) Received: (from cc@localhost) by fonix.adamsfamily.xx (8.12.5/8.12.5/Submit) id g7BJfJfP017214 for current@FreeBSD.ORG; Sun, 11 Aug 2002 21:41:19 +0200 (CEST) X-Authentication-Warning: fonix.adamsfamily.xx: cc set sender to sziszi@bsd.hu using -f Date: Sun, 11 Aug 2002 21:41:19 +0200 From: Szilveszter Adam To: current@FreeBSD.ORG Subject: Re: Weirdness trying -STABLE -> -CURRENT Message-ID: <20020811194119.GA897@fonix.adamsfamily.xx> Mail-Followup-To: Szilveszter Adam , current@FreeBSD.ORG References: <200208111837.g7BIb6Be019544@bunrab.catwhisker.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200208111837.g7BIb6Be019544@bunrab.catwhisker.org> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello David, First off, sorry for the lot of snippage but this mail was really long... On Sun, Aug 11, 2002 at 11:37:06AM -0700, David Wolfskill wrote: <...> > OK; I brought it back up under today's -STABLE, and looking at the typescript > file, I see that it ends thusly: <...> > ===> usr.bin/checknr > install -s -o root -g wheel -m 555 checknr /usr/bin > install -o root -g wheel -m 444 checknr.1.gz /usr/share/man/man1 > ===> usr.bin/chflags > install -s -o root -g wheel -m 555 chflags /bin > install -o root -g wheel -m 444 chflags.1.gz /usr/share/man/man1 > ===> usr.bin/chpass > [ ! -e /usr/bin/chpass ] || chflags noschg /usr/bin/chpass || true > *** Signal 12 <...> > So I get the impression that folks who are complaining about the shell > getting a SIGSYS probably aren't hallucinating (about that, anyway), and > to the extent that there's a (non-recovered) mistake in the procedure I > followed, perhaps the effected folks are doing something similar. This is known problem, straight updates by simply "make world" do not work from -STABLE. Therefore, one has to very carefully follow the procedure described in the UPDATING file even though normally not so many steps would be needed. To get of this situatio, the person(s) affected should do a "make -k installworld" now and then a "make installworld" again anf this way get all the new userland installed. Also, one should not use the "-j" when upgrading (as stated in UPDATING) -- Regards: Szilveszter ADAM Szombathely Hungary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 12:58:57 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7327837B400 for ; Sun, 11 Aug 2002 12:58:52 -0700 (PDT) Received: from mx2.datanet.hu (mx2.datanet.hu [194.149.13.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id E29A243E72 for ; Sun, 11 Aug 2002 12:58:51 -0700 (PDT) (envelope-from sziszi@bsd.hu) Received: from fonix.adamsfamily.xx (nilus-688.adsl.datanet.hu [195.56.50.180]) by mx2.datanet.hu (DataNet) with ESMTP id 47F2A58C6 for ; Sun, 11 Aug 2002 21:58:50 +0200 (CEST) Received: from fonix.adamsfamily.xx (localhost [127.0.0.1]) by fonix.adamsfamily.xx (8.12.5/8.12.5) with ESMTP id g7BJx3RJ032006 for ; Sun, 11 Aug 2002 21:59:03 +0200 (CEST) (envelope-from sziszi@bsd.hu) Received: (from cc@localhost) by fonix.adamsfamily.xx (8.12.5/8.12.5/Submit) id g7BJx3vk032005 for current@FreeBSD.ORG; Sun, 11 Aug 2002 21:59:03 +0200 (CEST) X-Authentication-Warning: fonix.adamsfamily.xx: cc set sender to sziszi@bsd.hu using -f Date: Sun, 11 Aug 2002 21:59:02 +0200 From: Szilveszter Adam To: current@FreeBSD.ORG Subject: Re: Weirdness trying -STABLE -> -CURRENT Message-ID: <20020811195902.GB897@fonix.adamsfamily.xx> Mail-Followup-To: Szilveszter Adam , current@FreeBSD.ORG References: <200208111837.g7BIb6Be019544@bunrab.catwhisker.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200208111837.g7BIb6Be019544@bunrab.catwhisker.org> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG It's me again... On Sun, Aug 11, 2002 at 11:37:06AM -0700, David Wolfskill wrote: > * reboot (single-user mode) > Now, at this step, I see something a bit odd: > > Console: serial port > BIOS drive A: is disk0 > BIOS drive C: is disk1 > BIOS 639kB/523200kB available memory > > FreeBSD/i386 bootstrap loader, Revision 1.1 > (root@freebeast.catwhisker.org, Sun Aug 11 09:29:25 PDT 2002) > Loading /boot/defaults/loader.conf > Warning: syntax error on file /boot/device.hints > machine i386 > ^ > Warning: syntax error on file /boot/loader.conf > $ > ^ > /boot/kernel/kernel text=0x237e0c data=0x35db4+0x6f72c syms=[0x4+0x36820+0x4+0x421d1] As for this part: Are you *really* sure that the files were what you believed them to be? The first appears to me to be a kernel config file instead of the device.hints. I have no idea about the second, it could be any file with a $FreeBSD$ tag in it, which was not commented properly or something. BTW: I looked over the suggested order of steps in UPDATING just now, you did things pretty much according to that (with the exception of the "-j" for the buildworld but that one cannot be that dramatic, I assume you did not use the "-j" for the installworld. So, I still have no real explanation for your hanging of the machine. Perhaps someone else. The first failure is memory corruption in any event but the reason is not known to me. I have not seen it reported here yet. -- Regards: Szilveszter ADAM Szombathely Hungary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 13:39:29 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C3EC37B400; Sun, 11 Aug 2002 13:39:27 -0700 (PDT) Received: from viola.sinor.ru (viola.sinor.ru [217.70.106.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CC5143E5E; Sun, 11 Aug 2002 13:39:26 -0700 (PDT) (envelope-from semenu@FreeBSD.org) Received: from tlg5-ppp71.sibnet.ru (tlg5-ppp71.sibnet.ru [217.70.116.71]) by viola.sinor.ru (8.12.3/8.12.3) with ESMTP id g7BKcahb024694; Mon, 12 Aug 2002 03:38:58 +0700 Date: Mon, 12 Aug 2002 03:37:40 +0700 (NOVST) From: "Semen A. Ustimenko" X-X-Sender: semenu@main.the.net To: Robert Watson Cc: Maxim Konovalov , Gavin Atkinson , Subject: Re: sendfile(2) is broken (Was: ftpd problem: Input/output error) In-Reply-To: Message-ID: <20020812033540.F1596-100000@main.the.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi! On Sun, 11 Aug 2002, Robert Watson wrote: > On Sun, 11 Aug 2002, Maxim Konovalov wrote: > > > This is sendfile(2) mis-behaviour arised after rev.1.109 > > sys/kern/uipc_syscalls.c but I think the real problem in vn_rdwr(), > > sys/kern/vfs_vnops.c. Here is my patch but I really need somebody with > > vfs clue. I CC'ed Robert Watson as an author of sendfile(2) > > modification and our vfs expert. > > Semen Ustimenko ran into a similar problem, but his > fix was to teach sendfile() to pass in a non-NULL resid and handle the > failure mode better. I suspect this fix is more correct since it will > both handle the failure mode and the data delivered, and probably is > required for other consumers of vn_rdwr(). He was going to run the patch > past dg, and then commit it assuming dg approved it, so hopefully it will > go into the tree in the next day or so. > David reviewed the patch and I have committed it few minutes ago. Thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 16:29:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8ED837B400 for ; Sun, 11 Aug 2002 16:29:40 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFC0543E70 for ; Sun, 11 Aug 2002 16:29:39 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.5/8.12.3) with ESMTP id g7BNTa9R005733; Sun, 11 Aug 2002 17:29:36 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 11 Aug 2002 17:29:33 -0600 (MDT) Message-Id: <20020811.172933.13462313.imp@bsdimp.com> To: myevmenk@exodus.net Cc: current@FreeBSD.ORG Subject: Re: Interrupt vs. polling on -current From: "M. Warner Losh" In-Reply-To: <3D540794.E487F2F4@exodus.net> References: <3D540794.E487F2F4@exodus.net> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [[ I've read the rest of this thread ]] In message: <3D540794.E487F2F4@exodus.net> Maksim Yevmenkin writes: : My tests are very simple. I plug USB dongle and one PC-CARD : and try to pump data between them as fast as possible. The : data blocks sizes are between 63 and 1500 bytes. I think that the issue here may be that the USB stack may be interacting badly with the interrupt system. Since the pccard is effectively forced into sharing the interrupt with the USB stack with NEWCARD, that's going to interact very badly, I think. Worse even than if you were multiplexing the xl0 driver and the sio0 driver. The sio driver is extremely sensitive to the interrupt latency, since the underlying hardware has only a few characters to react before the fifo overflows. At 115200 baud, each character takes 1/11520 seconds (or 86us), and the fifo is set to have only 8 bytes left when the device interrupts. This means that the sio driver can only tolerate about 700us of latency before there are issues. With 500 interrupts per second, that's an interrupt every 2000us, which is about the same "order" as the maximum latency tolerance. If these interrupts are shared and are taking a while to allow the serial driver to run, then you are almost certain to cause problems. For cardbus cards, we're forced to use the pci interrupt and share it. For "r2" cards (aka 16-bit cards), we could use an unused ISA interrupt on most (but not all) cardbus bridges, but currently there's no support for that in NEWCARD. I'm also surprised you were able to make it work at all. I've had lots of bad luck when trying to make modems work in recent -current kernels. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 18:48:31 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D81D637B400 for ; Sun, 11 Aug 2002 18:48:28 -0700 (PDT) Received: from mta5.rcsntx.swbell.net (mta5.rcsntx.swbell.net [151.164.30.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 821CA43E6E for ; Sun, 11 Aug 2002 18:48:28 -0700 (PDT) (envelope-from julian@elischer.org) Received: from elischer.org ([64.164.11.208]) by mta5.rcsntx.swbell.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0H0P0018DJORFA@mta5.rcsntx.swbell.net> for freebsd-current@freebsd.org; Sun, 11 Aug 2002 20:48:28 -0500 (CDT) Date: Sun, 11 Aug 2002 18:45:44 -0700 From: Julian Elischer Subject: Re: Pthread library using KSE? To: Ed Yu Cc: freebsd-current@freebsd.org Message-id: <3D571344.AB4BBD4D@elischer.org> MIME-version: 1.0 X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT X-Accept-Language: en, hu References: <20020811192550.2979.qmail@web20706.mail.yahoo.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ed Yu wrote: > > Hi, I'm intrigued by KSE and would like to write some > program to test it. Is there a PThread library using > KSE for scheduling? > the Kernel support for KSE treads is only partially implemented. Ihe user library is only in initial stages of design.. Any recent talk about KSE support in the -current kernel refers to the basic support that has been added. There is enough in the kernel now to allow the test program in tools/KSE/ksetest to run multipe threads at once, but that program does everyting itself without a library and doesn't handle any of the complicated things such as signals. There is a paper that is currently not anywhere on the web. It's a LITTLE out of date but the big problem is that I don't know enough about TeX to be able to revise it properly. If you can cope with TeX etc the source for the paper is at: http://www.freebsd.org/~julian/freebsd_kse.tgz I really haven't been successful in getting going all the 2034 tools needed to produce the web-page and other forms. Also... look up KSE in the archives of the "arch" mailing list via the web for more than you ever wanted to know about the evolution of FreeBSD's kernel support for threads. > Thanks, > ed > > __________________________________________________ > Do You Yahoo!? > HotJobs - Search Thousands of New Jobs > http://www.hotjobs.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message -- +------------------------------------+ ______ _ __ | __--_|\ Julian Elischer | \ U \/ / hard at work in | / \ julian@elischer.org +------>x USA \ a very strange | ( OZ ) \___ ___ | country ! +- X_.---._/ presently in San Francisco \_/ \\ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 18:56: 4 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF1D037B400 for ; Sun, 11 Aug 2002 18:56:01 -0700 (PDT) Received: from akira.wossname.net (12-222-90-39.client.insightBB.com [12.222.90.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EECD43E7B for ; Sun, 11 Aug 2002 18:56:01 -0700 (PDT) (envelope-from bhlewis@wossname.net) Received: from localhost (localhost [127.0.0.1]) by akira.wossname.net (Postfix) with ESMTP id 2BE525562; Sun, 11 Aug 2002 20:56:00 -0500 (EST) Subject: Re: Is anyone else having trouble with dump(8) on -current? From: Benjamin Lewis Reply-To: bhlewis@wossname.net To: Ian Dowse Cc: Alexander Leidinger , freebsd-current@FreeBSD.ORG In-Reply-To: <200208100007.aa02493@salmon.maths.tcd.ie> References: <200208100007.aa02493@salmon.maths.tcd.ie> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.7 Date: 11 Aug 2002 20:55:59 -0500 Message-Id: <1029117360.1046.14.camel@akira.wossname.net> Mime-Version: 1.0 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 2002-08-09 at 18:07, Ian Dowse wrote: > > [replying to an old message] > > In message <200205141034.g4EAYCJr024857@Magelan.Leidinger.net>, Alexander Leidi > nger writes: > >On 7 Mai, Benjamin Lewis wrote: > >> | DUMP: slave couldn't reopen disk: Interrupted system call > > > >Try the attached patch. [...] > I was just looking at PR bin/18319 when I remembered this message. > Many of the changes in your patch are not necessary I believe, as > read(2) will restart after a signal by default. How about just > fixing the open call that actually triggers the reported error? I > suspect that many of the other cases are either impossible or > extremely unlikely in practice. Could someone who can reproduce the > "couldn't reopen disk" error try the following? [...] My apologies for not keeping up on this. Since buying a house, time for computer-related hobbies has evaporated! Nearly three months later, some less essential parts of the old home network still remain in boxes. In any case, I have been using Alex Leidinger's first patch since he sent it to me. At various times I have tried an unpatched dump and the results have varied from fairly good (only 1 out of 6 filesystems failing each night) to miserable (thousands of errors while reading the disk) depending on the general state of -current. As of today's build, things were behaving on the fairly good side. I have rebuilt dump with Ian Dowse's patch and things look good so far. Sometimes it takes several full backup runs by Amanda before a problem surfaces, so I will report back later in the week. I wish I knew why I seem to be the only one seeing this on -current! -Ben To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 18:57:35 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ACC8A37B400 for ; Sun, 11 Aug 2002 18:57:30 -0700 (PDT) Received: from mta5.rcsntx.swbell.net (mta5.rcsntx.swbell.net [151.164.30.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 431EA43E70 for ; Sun, 11 Aug 2002 18:57:30 -0700 (PDT) (envelope-from julian@elischer.org) Received: from elischer.org ([64.164.11.208]) by mta5.rcsntx.swbell.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0H0P0095UK3SKP@mta5.rcsntx.swbell.net> for current@freebsd.org; Sun, 11 Aug 2002 20:57:30 -0500 (CDT) Date: Sun, 11 Aug 2002 18:54:42 -0700 From: Julian Elischer Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) To: David Xu Cc: "Andrey A. Chernov" , current@freebsd.org Message-id: <3D571562.B7CDC954@elischer.org> MIME-version: 1.0 X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT X-Accept-Language: en, hu References: <20020811132854.99343.qmail@web20907.mail.yahoo.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am forwarding this to -current as I think it needs more neurons on it.. I am presently unable to spend any due to work commitments, and due to a sort-of personal confusion about tis stuff anyhow..  David Xu wrote: > > does anyone believe that su behaviours correctly? > we are talking that kernel has bug to handle job control > but I found that the issue may not related to signal handling > problem, but related to su or csh's job control. > I see this piece of code in su.c: > > switch (child_pid) { > default: > while ((ret_pid = waitpid(child_pid, &statusp, WUNTRACED)) != eca-1) { > if (WIFSTOPPED(statusp)) { > child_pgrp = tcgetpgrp(1); > kill(getpid(), SIGSTOP); > tcsetpgrp(1, child_pgrp); > kill(child_pid, SIGCONT); > statusp = 1; > continue; > } > break; > } > > I have traced down su. In my test, the su process forked a > child process, child process pid is 873 while parent pid is 872. > these code are in question, I found that tcgetpgrp(1) really > returns parent su pid, it is 872, parent su process > then suspends itself until login shell unsuspends it, > when it resumes, I have inserted another tcgetpgrp(1) after it resumes, > and found that it was 873, it was child su process pid! not 872, > because parent su was not in foreground group, when it called tcsetpgrp(1, 872), > it got a SIGTTOU and suspended there, the SIGCONT was not sent out. > so the code's behaviour is not what the author's want, and all job > control gets weird. I suguest this job control assumption should be removed, > strange thing is why su calls fork()? why doesn't call directly execvl()? > I don't see su calls fork() in OpenBSD. > > --- "Andrey A. Chernov" wrote: > > On Sat, Aug 10, 2002 at 13:36:32 +0400, Andrey A. Chernov wrote: > > > On Fri, Aug 09, 2002 at 18:23:05 -0700, Julian Elischer wrote: > > > > > > > > Andrey.. we need you to also ktrace the child as well.. > > > > (together with the su) use ktrace -d -i {YOURSHELL} > > > > to capture everything... > > > > > > > > > > Here it is (starting from the moment, when su exec'ed) > > > > I notice that no 'su' section here, it because that su have s-bit and not > > traced. I try to do the same thing from root and get very strange > > behaviour, summarized in the following table: > > > > ----------------------------------------- > > root login csh> su > > suspend > > fg > > (got bug) > > ----------------------------------------- > > root login csh> ktrace -d -i /bin/csh > > su > > suspend > > fg > > (NO BUG!!!!) > > ----------------------------------------- > > user login csh> su > > suspend > > fg > > (got bug) > > ----------------------------------------- > > user login csh> ktrace -d -i /bin/csh > > su > > suspend > > fg > > (got bug) > > > > It means I can't ktrace _both_ csh and su in the same time, since bug > > dissapearse just for that variant. > > > > -- > > Andrey A. Chernov > > http://ache.pp.ru/ > > __________________________________________________ > Do You Yahoo!? > HotJobs - Search Thousands of New Jobs > http://www.hotjobs.com -- +------------------------------------+ ______ _ __ | __--_|\ Julian Elischer | \ U \/ / hard at work in | / \ julian@elischer.org +------>x USA \ a very strange | ( OZ ) \___ ___ | country ! +- X_.---._/ presently in San Francisco \_/ \\ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 19:41:42 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9CA437B401 for ; Sun, 11 Aug 2002 19:41:40 -0700 (PDT) Received: from mx4.mail.ru (fallback.mail.ru [194.67.57.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDB5943E77 for ; Sun, 11 Aug 2002 19:41:31 -0700 (PDT) (envelope-from kan@mail.ru) Received: from mx7.mail.ru (mx7.int [10.0.0.44]) by mx4.mail.ru (mPOP.Fallback_MX) with ESMTP id 4C8131A1F02 for ; Mon, 12 Aug 2002 06:41:12 +0400 (MSD) Received: from [141.154.55.197] (helo=kan.dnsalias.net) by mx7.mail.ru with esmtp (Exim SMTP.7) id 17e57y-000E5Y-00; Mon, 12 Aug 2002 06:40:28 +0400 Received: from kan.dnsalias.net (localhost [IPv6:::1]) by kan.dnsalias.net (8.12.5/8.12.5) with ESMTP id g7C2dsnd013399; Sun, 11 Aug 2002 22:39:59 -0400 (EDT) (envelope-from kan@kan.dnsalias.net) Received: (from kan@localhost) by kan.dnsalias.net (8.12.5/8.12.5/Submit) id g7C2dIH5013396; Sun, 11 Aug 2002 22:39:18 -0400 (EDT) Date: Sun, 11 Aug 2002 22:39:18 -0400 From: Alexander Kabaev To: Julian Elischer Cc: bsddiy@yahoo.com, ache@nagual.pp.ru, current@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) Message-Id: <20020811223918.686276ff.kabaev@bellatlantic.net> In-Reply-To: <3D571562.B7CDC954@elischer.org> References: <20020811132854.99343.qmail@web20907.mail.yahoo.com> <3D571562.B7CDC954@elischer.org> Reply-To: ak03@gte.com X-Mailer: Sylpheed version 0.8.1claws52 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > David Xu wrote: > > want, and all job control gets weird. I suguest this job control > > assumption should be removed, strange thing is why su calls fork()? > > why doesn't call directly execvl()? I don't see su calls fork() in > > OpenBSD. This has to do with PAM, AFAIK. Someone has to call PAM session cleanup hooks, that's why another process for the command is forked. -- Alexander Kabaev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 19:46:31 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6659337B400 for ; Sun, 11 Aug 2002 19:46:22 -0700 (PDT) Received: from web20902.mail.yahoo.com (web20902.mail.yahoo.com [216.136.226.224]) by mx1.FreeBSD.org (Postfix) with SMTP id 26DB643E5E for ; Sun, 11 Aug 2002 19:46:22 -0700 (PDT) (envelope-from bsddiy@yahoo.com) Message-ID: <20020812024621.12191.qmail@web20902.mail.yahoo.com> Received: from [218.97.164.167] by web20902.mail.yahoo.com via HTTP; Sun, 11 Aug 2002 19:46:21 PDT Date: Sun, 11 Aug 2002 19:46:21 -0700 (PDT) From: David Xu Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) To: "Andrey A. Chernov" Cc: Julian Elischer , FreeBSD CURRENT In-Reply-To: <20020811140248.GA4497@nagual.pp.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --- "Andrey A. Chernov" wrote: > On Sun, Aug 11, 2002 at 17:41:20 +0400, Andrey A. Chernov wrote: > > On Sun, Aug 11, 2002 at 06:28:54 -0700, David Xu wrote: > > > does anyone believe that su behaviours correctly? > > > > I not believe in that first, so why I remove tcsetpgrg() in my initial > > commit. It fix suspend/fg, but break stop $$/fg those times. I not test, > > is it break stop $$/fg now too (I'll do it a bit later and send result). > > fork/wait seems to be needed here just for PAM_END. > > Yes, still there. If tcsetpgrp() removed, suspend/fg fixed, but "stop > $$/fg" kills login shell. It means that neither variant is correct, unless > there is a kernel bug. To be 100% sure, we need to test su with old > -current kernel without KSE. Anybody have that thing? I can cvsup early > kernel sources and build from them, but I don't know exact KSE changes > data. Other way is to build su statically and test on -stable. I don't > have any -stable machines around. > > -- > Andrey A. Chernov > http://ache.pp.ru/ Sorry, Andrey, current su's job control mode does not work under STABLE too, I have tested, it has same result as under CURRENT. the following piece of code does not work under STABLE, it mimics what su is doing in CURRENT source tree. #include #include #include #include #include #include int main() { pid_t ret_pid, statusp, child_pid, child_pgrp; struct sigaction sa, sa_int, sa_quit, sa_tstp; char buf[64]; char* sargv[3]; sa.sa_flags = SA_RESTART; sa.__sigaction_u.__sa_handler = SIG_IGN; sigemptyset(&sa.sa_mask); sigaction(SIGINT, &sa, &sa_int); sigaction(SIGQUIT, &sa, &sa_quit); sigaction(SIGTSTP, &sa, &sa_tstp); child_pid = fork(); switch (child_pid) { default: while ((ret_pid = waitpid(child_pid, &statusp, WUNTRACED)) != -1) { if (WIFSTOPPED(statusp)) { child_pgrp = tcgetpgrp(1); kill(getpid(), SIGSTOP); tcsetpgrp(1, child_pgrp); kill(child_pid, SIGCONT); statusp = 1; continue; } break; } if (ret_pid == -1) err(1, "waitpid"); exit(statusp); case -1: err(1, "fork"); exit(1); case 0: sigaction(SIGINT, &sa_int, NULL); sigaction(SIGQUIT, &sa_quit, NULL); sigaction(SIGTSTP, &sa_tstp, NULL); sargv[0] = "csh"; sargv[1] = NULL; execv("/bin/csh", sargv); printf("hi, there!\n"); break; } return 0; } David __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 21: 5:46 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3947A37B400 for ; Sun, 11 Aug 2002 21:05:44 -0700 (PDT) Received: from e1.ny.us.ibm.com (e1.ny.us.ibm.com [32.97.182.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E31743E3B for ; Sun, 11 Aug 2002 21:05:43 -0700 (PDT) (envelope-from sidcarter@symonds.net) Received: from westrelay03.boulder.ibm.com (westrelay03.boulder.ibm.com [9.17.194.24]) by e1.ny.us.ibm.com (8.12.2/8.12.2) with ESMTP id g7C45fjI133912 for ; Mon, 12 Aug 2002 00:05:42 -0400 Received: from calvin.in.ibm.com (calvin.in.ibm.com [9.182.24.126]) by westrelay03.boulder.ibm.com (8.12.3/NCO/VER6.3) with ESMTP id g7C45cE3086606 for ; Sun, 11 Aug 2002 22:05:41 -0600 Received: by calvin.in.ibm.com (Postfix, from userid 1001) id 6C7D3341A; Mon, 12 Aug 2002 09:35:34 +0530 (IST) Date: Mon, 12 Aug 2002 09:35:34 +0530 From: Sid Carter To: current@freebsd.org Subject: Kernel Panic and reboots - smtpd process ? Message-ID: <20020812040534.GA709@calvin.in.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 5.0-CURRENT i386 Organisation: Sid Carter Inc. User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Folks, I got this kernel panic yesterday and this has happened twice in the last two days. -------------------------------------------------- /usr/src/sys/vm/uma_core.c:1332: could sleep with "inp" locked from /usr/src/sys/netinet/tcp_usrreq.c:1013 Fatal trap 12: page fault while in kernel mode fault virtual address = 0xc3128634 fault code = supervisor write, page not present instruction pointer = 0x8:0xc02a356b stack pointer = 0x10:0xd2e61aa8 frame pointer = 0x10:0xd2e61ab0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 99039 (smtpd) trap number = 12 panic: page fault syncing disks... panic: bremfree: bp 0xc772704c not locked Uptime: 9h14m0s Terminate ACPI Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... -------------------------------------------------- Something already reported ? Thanks Regards Sid -- God gives us relatives; thank goodness we can chose our friends. Sid Carter FreeBSD oder Debian GNU/Linux. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 21:16:26 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 88E4D37B405 for ; Sun, 11 Aug 2002 21:16:22 -0700 (PDT) Received: from e2.ny.us.ibm.com (e2.ny.us.ibm.com [32.97.182.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA7D443E3B for ; Sun, 11 Aug 2002 21:16:21 -0700 (PDT) (envelope-from sidcarter@symonds.net) Received: from northrelay03.pok.ibm.com (northrelay03.pok.ibm.com [9.56.224.151]) by e2.ny.us.ibm.com (8.12.2/8.12.2) with ESMTP id g7C4GLha032398 for ; Mon, 12 Aug 2002 00:16:21 -0400 Received: from calvin.in.ibm.com (calvin.in.ibm.com [9.182.24.126]) by northrelay03.pok.ibm.com (8.12.3/NCO/VER6.3) with ESMTP id g7C4GINC110292 for ; Mon, 12 Aug 2002 00:16:20 -0400 Received: by calvin.in.ibm.com (Postfix, from userid 1001) id 5F6BD341A; Mon, 12 Aug 2002 09:46:15 +0530 (IST) Date: Mon, 12 Aug 2002 09:46:15 +0530 From: Sid Carter To: current@freebsd.org Subject: Re: Kernel Panic and reboots - smtpd process ? Message-ID: <20020812041615.GA958@calvin.in.ibm.com> References: <20020812040534.GA709@calvin.in.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020812040534.GA709@calvin.in.ibm.com> X-Operating-System: FreeBSD 5.0-CURRENT i386 Organisation: Sid Carter Inc. User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG An Mon, Aug 12, 2002 at 09:35:34AM +0530, Sid Carter schreib : > I got this kernel panic yesterday and this has happened twice in the > last two days. > > -------------------------------------------------- > /usr/src/sys/vm/uma_core.c:1332: could sleep with "inp" locked from /usr/src/sys/netinet/tcp_usrreq.c:1013 > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0xc3128634 > fault code = supervisor write, page not present > instruction pointer = 0x8:0xc02a356b > stack pointer = 0x10:0xd2e61aa8 > frame pointer = 0x10:0xd2e61ab0 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, > resume, IOPL = 0 > current process = 99039 (smtpd) > trap number = 12 > panic: page fault > > syncing disks... panic: bremfree: bp 0xc772704c > not locked > Uptime: 9h14m0s > Terminate ACPI > Automatic reboot in 15 seconds - press a key on > the console to abort > Rebooting... > -------------------------------------------------- Sorry. I forgot this info. uname -a -------- FreeBSD calvin 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sat Aug 10 17:58:11 IST 2002 root@calvin:/usr/obj/usr/src/sys/GENERIC i386 dmesg ----- FreeBSD 5.0-CURRENT #0: Sat Aug 10 17:58:11 IST 2002 root@calvin:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc061a000. Preloaded elf module "/boot/kernel/splash_pcx.ko" at 0xc061a0a8. Preloaded elf module "/boot/kernel/snd_ich.ko" at 0xc061a158. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc061a204. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc061a2b0. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 996771495 Hz CPU: Pentium III/Pentium III Xeon/Celeron (996.77-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x68a Stepping = 10 Features=0x383fbff TIA Regards Sid -- God gives us relatives; thank goodness we can chose our friends. Sid Carter FreeBSD oder Debian GNU/Linux. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 22:27: 6 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EA4637B400 for ; Sun, 11 Aug 2002 22:27:03 -0700 (PDT) Received: from ref5.freebsd.org (ref5.FreeBSD.org [216.136.204.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2759543E70 for ; Sun, 11 Aug 2002 22:27:03 -0700 (PDT) (envelope-from des@FreeBSD.org) Received: from ref5.freebsd.org (localhost [127.0.0.1]) by ref5.freebsd.org (8.12.5/8.12.5) with ESMTP id g7C5R2gr015787 for ; Sun, 11 Aug 2002 22:27:02 -0700 (PDT) (envelope-from des@ref5.freebsd.org) Received: (from des@localhost) by ref5.freebsd.org (8.12.5/8.12.5/Submit) id g7C5R2Ob015775 for current@freebsd.org; Sun, 11 Aug 2002 22:27:02 -0700 (PDT) Date: Sun, 11 Aug 2002 22:27:02 -0700 (PDT) From: Dag-Erling Smorgrav Message-Id: <200208120527.g7C5R2Ob015775@ref5.freebsd.org> To: current@freebsd.org Subject: i386 tinderbox failure Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- >>> stage 2: cleaning up the object tree -------------------------------------------------------------- >>> stage 2: rebuilding the object tree -------------------------------------------------------------- >>> stage 2: build tools -------------------------------------------------------------- >>> stage 3: cross tools -------------------------------------------------------------- >>> stage 4: populating /home/des/tinderbox/i386/obj/local0/scratch/des/src/i386/usr/include -------------------------------------------------------------- >>> stage 4: building libraries -------------------------------------------------------------- >>> stage 4: make dependencies -------------------------------------------------------------- >>> stage 4: building everything.. -------------------------------------------------------------- >>> Kernel build for GENERIC started on Sun Aug 11 22:22:13 PDT 2002 -------------------------------------------------------------- ===> ibcs2 /local0/scratch/des/src/sys/i386/ibcs2/ibcs2_misc.c:57:21: opt_mac.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /local0/scratch/des/src/sys/modules/ibcs2. *** Error code 1 Stop in /local0/scratch/des/src/sys/modules. *** Error code 1 Stop in /local0/scratch/des/obj/local0/scratch/des/src/sys/GENERIC. *** Error code 1 Stop in /local0/scratch/des/src. *** Error code 1 Stop in /local0/scratch/des/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 22:53:19 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77EA037B400 for ; Sun, 11 Aug 2002 22:53:15 -0700 (PDT) Received: from web20907.mail.yahoo.com (web20907.mail.yahoo.com [216.136.226.229]) by mx1.FreeBSD.org (Postfix) with SMTP id 2D91443E4A for ; Sun, 11 Aug 2002 22:53:15 -0700 (PDT) (envelope-from bsddiy@yahoo.com) Message-ID: <20020812055315.7682.qmail@web20907.mail.yahoo.com> Received: from [218.97.164.167] by web20907.mail.yahoo.com via HTTP; Sun, 11 Aug 2002 22:53:15 PDT Date: Sun, 11 Aug 2002 22:53:15 -0700 (PDT) From: David Xu Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) To: "Andrey A. Chernov" Cc: Julian Elischer , FreeBSD CURRENT MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --- David Xu wrote: > > --- "Andrey A. Chernov" wrote: > > On Sun, Aug 11, 2002 at 17:41:20 +0400, Andrey A. Chernov wrote: > > > On Sun, Aug 11, 2002 at 06:28:54 -0700, David Xu wrote: > > > > does anyone believe that su behaviours correctly? > > > > > > I not believe in that first, so why I remove tcsetpgrg() in my initial > > > commit. It fix suspend/fg, but break stop $$/fg those times. I not test, > > > is it break stop $$/fg now too (I'll do it a bit later and send result). > > > fork/wait seems to be needed here just for PAM_END. > > > > Yes, still there. If tcsetpgrp() removed, suspend/fg fixed, but "stop > > $$/fg" kills login shell. It means that neither variant is correct, unless > > there is a kernel bug. To be 100% sure, we need to test su with old > > -current kernel without KSE. Anybody have that thing? I can cvsup early > > kernel sources and build from them, but I don't know exact KSE changes > > data. Other way is to build su statically and test on -stable. I don't > > have any -stable machines around. > > > > -- > > Andrey A. Chernov > > http://ache.pp.ru/ > > Sorry, Andrey, current su's job control mode does not work under STABLE too, > I have tested, it has same result as under CURRENT. the following piece of > code does not work under STABLE, it mimics what su is doing in CURRENT > source tree. > > #include > #include > #include > #include > #include > #include > > int main() > { > pid_t ret_pid, statusp, child_pid, child_pgrp; > struct sigaction sa, sa_int, sa_quit, sa_tstp; > char buf[64]; > char* sargv[3]; > > sa.sa_flags = SA_RESTART; > sa.__sigaction_u.__sa_handler = SIG_IGN; > sigemptyset(&sa.sa_mask); > sigaction(SIGINT, &sa, &sa_int); > sigaction(SIGQUIT, &sa, &sa_quit); > sigaction(SIGTSTP, &sa, &sa_tstp); > > child_pid = fork(); > switch (child_pid) { > default: > while ((ret_pid = waitpid(child_pid, &statusp, WUNTRACED)) != -1) { > if (WIFSTOPPED(statusp)) { > child_pgrp = tcgetpgrp(1); > kill(getpid(), SIGSTOP); > tcsetpgrp(1, child_pgrp); > kill(child_pid, SIGCONT); > statusp = 1; > continue; > } > break; > } > if (ret_pid == -1) > err(1, "waitpid"); > exit(statusp); > case -1: > err(1, "fork"); > exit(1); > case 0: > sigaction(SIGINT, &sa_int, NULL); > sigaction(SIGQUIT, &sa_quit, NULL); > sigaction(SIGTSTP, &sa_tstp, NULL); > sargv[0] = "csh"; > sargv[1] = NULL; > execv("/bin/csh", sargv); > printf("hi, there!\n"); > break; > } > return 0; > } > following is patch for su, I can type "suspend" and stop $$ without the problem you described, I have tested it under tcsh and bash, all works for me. --- su.c Mon Aug 12 13:08:01 2002 +++ su.c.new Mon Aug 12 13:16:14 2002 @@ -329,10 +329,13 @@ default: while ((ret_pid = waitpid(child_pid, &statusp, WUNTRACED)) != -1) { if (WIFSTOPPED(statusp)) { - child_pgrp = tcgetpgrp(1); kill(getpid(), SIGSTOP); - tcsetpgrp(1, child_pgrp); - kill(child_pid, SIGCONT); + child_pgrp = getpgid(child_pid); + if (tcgetpgrp(1) == getpgrp()) + { + tcsetpgrp(1, child_pgrp); + kill(child_pid, SIGCONT); + } statusp = 1; continue; } __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Aug 11 22:58:24 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75ABD37B400 for ; Sun, 11 Aug 2002 22:58:22 -0700 (PDT) Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E50B43E42 for ; Sun, 11 Aug 2002 22:58:22 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0105.cvx22-bradley.dialup.earthlink.net ([209.179.198.105] helo=mindspring.com) by pintail.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17e8DN-0003wR-00; Sun, 11 Aug 2002 22:58:05 -0700 Message-ID: <3D574E16.5F45A793@mindspring.com> Date: Sun, 11 Aug 2002 22:56:38 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: David Xu Cc: "Andrey A. Chernov" , Julian Elischer , FreeBSD CURRENT Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) References: <20020812055315.7682.qmail@web20907.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David Xu wrote: > following is patch for su, I can type "suspend" and stop $$ without the > problem you described, I have tested it under tcsh and bash, all works > for me. [ ... ] Looks like a patch to a user space program to deal with POSIX non-compliance of the host OS. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 0: 5:31 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5233037B400 for ; Mon, 12 Aug 2002 00:05:30 -0700 (PDT) Received: from sbk-gw.sibnet.ru (sbk-gw.sibnet.ru [217.70.96.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CCE743E42 for ; Mon, 12 Aug 2002 00:05:28 -0700 (PDT) (envelope-from stranger@sberbank.sibnet.ru) Received: from sbk-gw.sibnet.ru (localhost.sibnet.ru [127.0.0.1]) by sbk-gw.sibnet.ru (8.12.5/8.12.5) with ESMTP id g7C75Ymm077778 for ; Mon, 12 Aug 2002 14:05:34 +0700 (NOVST) (envelope-from stranger@sberbank.sibnet.ru) Received: from localhost (stranger@localhost) by sbk-gw.sibnet.ru (8.12.5/8.12.5/Submit) with ESMTP id g7C75WLa077775 for ; Mon, 12 Aug 2002 14:05:33 +0700 (NOVST) X-Authentication-Warning: sbk-gw.sibnet.ru: stranger owned process doing -bs Date: Mon, 12 Aug 2002 14:05:32 +0700 (NOVST) From: "Maxim M. Kazachek" X-X-Sender: stranger@sbk-gw.sibnet.ru To: freebsd-current@freebsd.org Subject: opt_mac.h is missing Message-ID: <20020812140441.C77713-100000@sbk-gw.sibnet.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG /sys/modules/ibsc2 wants opt_mac.h which isn't in the tree... Sincerely, Maxim M. Kazachek mailto:stranger@sberbank.sibnet.ru mailto:stranger@fpm.ami.nstu.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 0:22: 8 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6593A37B400 for ; Mon, 12 Aug 2002 00:22:06 -0700 (PDT) Received: from falcon.mail.pas.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C8CF43E65 for ; Mon, 12 Aug 2002 00:22:06 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0072.cvx22-bradley.dialup.earthlink.net ([209.179.198.72] helo=mindspring.com) by falcon.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17e9WX-0002oV-00; Mon, 12 Aug 2002 00:21:58 -0700 Message-ID: <3D57619B.5923FF71@mindspring.com> Date: Mon, 12 Aug 2002 00:19:55 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Maxim M. Kazachek" Cc: freebsd-current@freebsd.org Subject: Re: opt_mac.h is missing References: <20020812140441.C77713-100000@sbk-gw.sibnet.ru> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Maxim M. Kazachek" wrote: > /sys/modules/ibsc2 wants opt_mac.h which isn't in the tree... It is a file which is generated during the kernel build. It is not supposed to be in the tree. It only exists in the build directory. Your module build is supposed to take place in a subdirectory of the build directory. Options are pretty evil, particularly when they apply to the building of modules, since the option on the module *MUST* match the option in the kernel (or it wouldn't be an option on the module). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 0:34:41 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3CB437B400 for ; Mon, 12 Aug 2002 00:34:39 -0700 (PDT) Received: from relay1.macomnet.ru (relay1.macomnet.ru [195.128.64.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id B75C543E6A for ; Mon, 12 Aug 2002 00:34:38 -0700 (PDT) (envelope-from maxim@FreeBSD.org) Received: from news1.macomnet.ru (news1.macomnet.ru [195.128.64.14]) by relay1.macomnet.ru (8.11.6/8.11.6) with ESMTP id g7C7YXf3385501; Mon, 12 Aug 2002 11:34:34 +0400 (MSD) Date: Mon, 12 Aug 2002 11:34:33 +0400 (MSD) From: Maxim Konovalov X-X-Sender: maxim@news1.macomnet.ru To: Brooks Davis Cc: current@FreeBSD.org Subject: Re: updated to August 5th kernel broke mozilla In-Reply-To: <20020809140654.A16432@Odin.AC.HMC.Edu> Message-ID: <20020812113311.K56725-100000@news1.macomnet.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 14:06-0700, Aug 9, 2002, Brooks Davis wrote: > I recently updated my laptop's kernel to an August 5th version from an > July 23rd one and mozilla started getting connection refused from > everything. Lynx worked fine as did other network services like cvsup > and ssh. Upgrading mozilla from 1.0_rc? to the latest version corrected > the problem, but so did booting with an old kernel so something weird is > going on. Try sysctl net.inet6.ip6.v6only=0 or rebuild mozilla. -- Maxim Konovalov, maxim@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 1: 2:31 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E4BA37B400; Mon, 12 Aug 2002 01:02:28 -0700 (PDT) Received: from relay1.macomnet.ru (relay1.macomnet.ru [195.128.64.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFDD843E3B; Mon, 12 Aug 2002 01:02:26 -0700 (PDT) (envelope-from maxim@FreeBSD.org) Received: from news1.macomnet.ru (news1.macomnet.ru [195.128.64.14]) by relay1.macomnet.ru (8.11.6/8.11.6) with ESMTP id g7C82Pf3357785; Mon, 12 Aug 2002 12:02:25 +0400 (MSD) Date: Mon, 12 Aug 2002 12:02:25 +0400 (MSD) From: Maxim Konovalov X-X-Sender: maxim@news1.macomnet.ru To: "Semen A. Ustimenko" Cc: Robert Watson , Maxim Konovalov , Gavin Atkinson , Subject: Re: sendfile(2) is broken (Was: ftpd problem: Input/output error) In-Reply-To: <20020812033540.F1596-100000@main.the.net> Message-ID: <20020812114358.E56725-100000@news1.macomnet.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 03:37+0700, Aug 12, 2002, Semen A. Ustimenko wrote: > Hi! > > On Sun, 11 Aug 2002, Robert Watson wrote: > > > On Sun, 11 Aug 2002, Maxim Konovalov wrote: > > > > > This is sendfile(2) mis-behaviour arised after rev.1.109 > > > sys/kern/uipc_syscalls.c but I think the real problem in vn_rdwr(), > > > sys/kern/vfs_vnops.c. Here is my patch but I really need somebody with > > > vfs clue. I CC'ed Robert Watson as an author of sendfile(2) > > > modification and our vfs expert. > > > > Semen Ustimenko ran into a similar problem, but his > > fix was to teach sendfile() to pass in a non-NULL resid and handle the > > failure mode better. I suspect this fix is more correct since it will > > both handle the failure mode and the data delivered, and probably is > > required for other consumers of vn_rdwr(). He was going to run the patch > > past dg, and then commit it assuming dg approved it, so hopefully it will > > go into the tree in the next day or so. > > > > David reviewed the patch and I have committed it few minutes ago. Looks like a hack BDE is speaking about: passing a storage for residue but never check it. Anyway I don't understand why VOP_READ in vn_rdwr() returns a residue in uio.uio_resid when all data trasferred actually? -- Maxim Konovalov, maxim@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 1:40:30 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E257337B400 for ; Mon, 12 Aug 2002 01:40:23 -0700 (PDT) Received: from vbook.express.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 126E543E4A for ; Mon, 12 Aug 2002 01:40:23 -0700 (PDT) (envelope-from vova@express.ru) Received: from vova by vbook.express.ru with local (Exim 3.36 #1) id 17eAkP-0000Hq-00 for current@freebsd.org; Mon, 12 Aug 2002 12:40:21 +0400 Subject: rcNG and dhcp From: "Vladimir B. " Grebenschikov To: "current@freebsd.org" Content-Type: multipart/mixed; boundary="=-WfoFwyEqReuP8oy9WkFg" X-Mailer: Ximian Evolution 1.0.7 Date: 12 Aug 2002 12:40:20 +0400 Message-Id: <1029141620.800.14.camel@vbook.express.ru> Mime-Version: 1.0 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-WfoFwyEqReuP8oy9WkFg Content-Type: text/plain Content-Transfer-Encoding: 7bit Hi There is patch to teach rcNG do not try dhcp on not-connected ethernet. simply put ifconfig_fxp0="dhcp-if-carrier" into rc.conf It will be interested to somebody Theoretically there are another solution for problem - add new key to dhclient - check interface media before broadcasting. -- Vladimir B. Grebenschikov vova@sw.ru, SWsoft, Inc. --=-WfoFwyEqReuP8oy9WkFg Content-Disposition: attachment; filename=rcNg-network1.if-media.patch Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; name=rcNg-network1.if-media.patch; charset=KOI8-R --- /usr/local/src/etc/rc.d/network1 Mon Jul 29 15:09:46 2002 +++ /etc/rc.d/network1 Mon Aug 12 11:43:03 2002 @@ -157,6 +157,17 @@ case ${ifconfig_args} in '') ;; + [Dd][Hh][Cc][Pp]-[Ii][Ff]-[Cc][Aa][Rr][Rr][Ii][Ee][Rr]) + # Load interface .ko if need + ifconfig $ifn > /dev/null 2>&1 + sleep 3=20 + # Check media option of interface + media=3D`ifconfig $ifn | awk '($1 =3D=3D "media:") { ok=3D1; print $4; = } END { if (ok !=3D 1) { print "(none)"; } }' 2> /dev/null` + if [ "$media" !=3D "(none)" ]; then + dhcp_interfaces=3D"$dhcp_interfaces $ifn" + eval showstat_$ifn=3D1 + fi + ;; [Dd][Hh][Cc][Pp]) # DHCP inits are done all in one go below dhcp_interfaces=3D"$dhcp_interfaces $ifn" --=-WfoFwyEqReuP8oy9WkFg-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 3:17:41 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69AD637B401 for ; Mon, 12 Aug 2002 03:17:35 -0700 (PDT) Received: from dilbert.robbins.dropbear.id.au (093.b.011.mel.iprimus.net.au [210.50.217.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C4B843E5E for ; Mon, 12 Aug 2002 03:17:32 -0700 (PDT) (envelope-from tim@robbins.dropbear.id.au) Received: from dilbert.robbins.dropbear.id.au (2bsy9abo4fhk4l45@localhost [127.0.0.1]) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3) with ESMTP id g7CAHQ20021249 for ; Mon, 12 Aug 2002 20:17:26 +1000 (EST) (envelope-from tim@dilbert.robbins.dropbear.id.au) Received: (from tim@localhost) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3/Submit) id g7CAHQ5p021248 for current@FreeBSD.ORG; Mon, 12 Aug 2002 20:17:26 +1000 (EST) Date: Mon, 12 Aug 2002 20:17:25 +1000 From: Tim Robbins To: current@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) Message-ID: <20020812201725.A20609@dilbert.robbins.dropbear.id.au> References: <20020811132854.99343.qmail@web20907.mail.yahoo.com> <3D571562.B7CDC954@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.2.5.1i In-Reply-To: <3D571562.B7CDC954@elischer.org>; from julian@elischer.org on Sun, Aug 11, 2002 at 06:54:42PM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Aug 11, 2002 at 06:54:42PM -0700, Julian Elischer wrote: > I am forwarding this to -current as I think it needs more neurons on it.. > I am presently unable to spend any due to work commitments, and due to a = sort-of=20 > personal confusion about tis stuff anyhow.. > =18 >=20 > David Xu wrote: > >=20 > > does anyone believe that su behaviours correctly? > > we are talking that kernel has bug to handle job control > > but I found that the issue may not related to signal handling > > problem, but related to su or csh's job control. > > I see this piece of code in su.c: > >=20 > > switch (child_pid) { > > default: > > while ((ret_pid =3D waitpid(child_pid, &statusp, WUNTRA= CED)) !=3D eca-1) { > > if (WIFSTOPPED(statusp)) { > > child_pgrp =3D tcgetpgrp(1); > > kill(getpid(), SIGSTOP); > > tcsetpgrp(1, child_pgrp); > > kill(child_pid, SIGCONT); > > statusp =3D 1; > > continue; > > } > > break; > > } > >=20 > > I have traced down su. In my test, the su process forked a > > child process, child process pid is 873 while parent pid is 872. > > these code are in question, I found that tcgetpgrp(1) really > > returns parent su pid, it is 872, parent su process > > then suspends itself until login shell unsuspends it, > > when it resumes, I have inserted another tcgetpgrp(1) after it resumes, > > and found that it was 873, it was child su process pid! not 872, > > because parent su was not in foreground group, when it called tcsetpgrp= (1, 872), > > it got a SIGTTOU and suspended there, the SIGCONT was not sent out. > > so the code's behaviour is not what the author's want, and all job > > control gets weird. I suguest this job control assumption should be rem= oved, > > strange thing is why su calls fork()? why doesn't call directly execvl(= )? > > I don't see su calls fork() in OpenBSD. I compiled GNU sh-utils 1.16 with Redhat's PAM patch on -current. It works well and does not seem to have the bugs w/ csh's suspend or kill -STOP $$ that I complained about earlier. This means that either our su is broken, or the different way Redhat has implemented it is managing to avoid a kernel bug of ours. I've extracted Redhat's patch from the RPM to make it easier to get: http://people.freebsd.org/~tjr/sh-utils-1.16-pam.patch The patch applies cleanly to sh-utils-1.16 (find it on a GNU mirror), and su gets built - the build process dies at `test'. The key differences with our implementation seem to be that they block all allowed signals except SIGALRM and SIGTERM with sigprocmask() after the fork on the parent side (race?), and they don't mess around with tc[gs]etpgrp().=20 Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 3:28: 5 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F192E37B400; Mon, 12 Aug 2002 03:28:02 -0700 (PDT) Received: from sbk-gw.sibnet.ru (sbk-gw.sibnet.ru [217.70.96.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18D7043E65; Mon, 12 Aug 2002 03:28:00 -0700 (PDT) (envelope-from stranger@sberbank.sibnet.ru) Received: from sbk-gw.sibnet.ru (localhost.sibnet.ru [127.0.0.1]) by sbk-gw.sibnet.ru (8.12.5/8.12.5) with ESMTP id g7CAS6mm079134; Mon, 12 Aug 2002 17:28:06 +0700 (NOVST) (envelope-from stranger@sberbank.sibnet.ru) Received: from localhost (stranger@localhost) by sbk-gw.sibnet.ru (8.12.5/8.12.5/Submit) with ESMTP id g7CAS5rA079131; Mon, 12 Aug 2002 17:28:06 +0700 (NOVST) X-Authentication-Warning: sbk-gw.sibnet.ru: stranger owned process doing -bs Date: Mon, 12 Aug 2002 17:28:05 +0700 (NOVST) From: "Maxim M. Kazachek" X-X-Sender: stranger@sbk-gw.sibnet.ru To: freebsd-current@freebsd.org Cc: freebsd-ports@freebsd.org Subject: make warning at /usr/ports/Mk/bsd.port.mk Message-ID: <20020812172501.O79000-100000@sbk-gw.sibnet.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG make warning "/usr/ports/Mk/bsd.port.mk", line 2580: warning: duplicate script for target "patch-message" ignored breaks portupgrade of several ports portupgrade says that Makefile broken on these ports (I'm not subscribed to freebsd-ports so reply direct, please) Sincerely, Maxim M. Kazachek mailto:stranger@sberbank.sibnet.ru mailto:stranger@fpm.ami.nstu.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 3:50:18 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4443437B400 for ; Mon, 12 Aug 2002 03:50:16 -0700 (PDT) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33B9143E70 for ; Mon, 12 Aug 2002 03:50:15 -0700 (PDT) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.5/8.12.5) with ESMTP id g7CAo4Tq001684; Mon, 12 Aug 2002 14:50:08 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.5/8.12.5/Submit) id g7CAo0kO001680; Mon, 12 Aug 2002 14:50:00 +0400 (MSD) (envelope-from ache) Date: Mon, 12 Aug 2002 14:49:59 +0400 From: "Andrey A. Chernov" To: David Xu Cc: Julian Elischer , FreeBSD CURRENT Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) Message-ID: <20020812104959.GA1645@nagual.pp.ru> References: <20020812055315.7682.qmail@web20907.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020812055315.7682.qmail@web20907.mail.yahoo.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Aug 11, 2002 at 22:53:15 -0700, David Xu wrote: > following is patch for su, I can type "suspend" and stop $$ without the > problem you described, I have tested it under tcsh and bash, all works > for me. > Thanx, committed. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 4: 3:37 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC71E37B400; Mon, 12 Aug 2002 04:03:34 -0700 (PDT) Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92A8843E4A; Mon, 12 Aug 2002 04:03:34 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0085.cvx21-bradley.dialup.earthlink.net ([209.179.192.85] helo=mindspring.com) by pintail.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17eCyz-0000TN-00; Mon, 12 Aug 2002 04:03:34 -0700 Message-ID: <3D579529.C7DA2171@mindspring.com> Date: Mon, 12 Aug 2002 03:59:53 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Tim Robbins Cc: current@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) References: <20020811132854.99343.qmail@web20907.mail.yahoo.com> <3D571562.B7CDC954@elischer.org> <20020812201725.A20609@dilbert.robbins.dropbear.id.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Tim Robbins wrote: > I compiled GNU sh-utils 1.16 with Redhat's PAM patch on -current. It works > well and does not seem to have the bugs w/ csh's suspend or kill -STOP $$ > that I complained about earlier. > > This means that either our su is broken, or the different way Redhat > has implemented it is managing to avoid a kernel bug of ours. Obviously it's different, if it behaves differently. The issue is whether or not a kernel change in signal handling means that the su code that has been in FreeBSD for many years is now "magically" no longer the right way to do things. The effects not only the su code itself, but any code out there that anyone has written, which is either derived from the old su code, or modelled on the way the old code has done things. It's all well and good to work around a kernel bug by changing user space code, but working around it by changing the user space code *hardly* fixes the underlying bug, which will just sit there waiting to bite the next poor unsuspecting slob on the arse. > The key differences with our implementation seem to be that they block > all allowed signals except SIGALRM and SIGTERM with sigprocmask() after the > fork on the parent side (race?), and they don't mess around with > tc[gs]etpgrp(). It should not be required that you do this. It's pretty obvious what is happening, if blocking the signals works around the problem: signal delivery requires a stall barrier until after the fork inheritance has been cleaned up. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 4: 7:31 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3493E37B405 for ; Mon, 12 Aug 2002 04:07:29 -0700 (PDT) Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98D0143E72 for ; Mon, 12 Aug 2002 04:07:28 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0085.cvx21-bradley.dialup.earthlink.net ([209.179.192.85] helo=mindspring.com) by pintail.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17eD2X-0002QY-00; Mon, 12 Aug 2002 04:07:14 -0700 Message-ID: <3D579603.3FA86DD7@mindspring.com> Date: Mon, 12 Aug 2002 04:03:31 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Andrey A. Chernov" Cc: David Xu , Julian Elischer , FreeBSD CURRENT Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) References: <20020812055315.7682.qmail@web20907.mail.yahoo.com> <20020812104959.GA1645@nagual.pp.ru> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Andrey A. Chernov" wrote: > On Sun, Aug 11, 2002 at 22:53:15 -0700, David Xu wrote: > > following is patch for su, I can type "suspend" and stop $$ without the > > problem you described, I have tested it under tcsh and bash, all works > > for me. > > Thanx, committed. UGH! #1 License on patch is GPL #2 I guess now that this irritant is gone, the signals code will remain screwed up, until some time later when you see the shark fin above water, just before it bites someone else? Saying "Don't walk there" doesn't dig up and disarm the landmine. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 4:31:18 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCCB137B400 for ; Mon, 12 Aug 2002 04:31:16 -0700 (PDT) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id B956F43E4A for ; Mon, 12 Aug 2002 04:31:15 -0700 (PDT) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.5/8.12.5) with ESMTP id g7CBV6Tq002122; Mon, 12 Aug 2002 15:31:08 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.5/8.12.5/Submit) id g7CBV3NO002121; Mon, 12 Aug 2002 15:31:03 +0400 (MSD) (envelope-from ache) Date: Mon, 12 Aug 2002 15:31:02 +0400 From: "Andrey A. Chernov" To: Terry Lambert Cc: David Xu , Julian Elischer , FreeBSD CURRENT Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) Message-ID: <20020812113101.GA2089@nagual.pp.ru> References: <20020812055315.7682.qmail@web20907.mail.yahoo.com> <20020812104959.GA1645@nagual.pp.ru> <3D579603.3FA86DD7@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D579603.3FA86DD7@mindspring.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Aug 12, 2002 at 04:03:31 -0700, Terry Lambert wrote: > "Andrey A. Chernov" wrote: > > On Sun, Aug 11, 2002 at 22:53:15 -0700, David Xu wrote: > > > following is patch for su, I can type "suspend" and stop $$ without the > > > problem you described, I have tested it under tcsh and bash, all works > > > for me. > > > > Thanx, committed. > > UGH! > > #1 License on patch is GPL Why not Microsoft? > #2 I guess now that this irritant is gone, the signals code > will remain screwed up, until some time later when you > see the shark fin above water, just before it bites > someone else? > Read commit message 2 or 3 times. Meditate on each word. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 5:12:19 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B96A37B400 for ; Mon, 12 Aug 2002 05:12:15 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57D0943E42 for ; Mon, 12 Aug 2002 05:12:14 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id WAA11333; Mon, 12 Aug 2002 22:11:55 +1000 Date: Mon, 12 Aug 2002 22:16:56 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Ian Dowse Cc: Alexander Leidinger , , Subject: Re: Is anyone else having trouble with dump(8) on -current? In-Reply-To: <200208111333.aa34638@salmon.maths.tcd.ie> Message-ID: <20020812213155.O24183-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 11 Aug 2002, Ian Dowse wrote: > In message <20020811014214.D17412-100000@gamplex.bde.org>, Bruce Evans writes: > > > >I don't know how open() of a disk device can be interrupted by a signal > >in practice. Most disk operations don't check for signals. > > Does the PCATCH tsleep in diskopen() that I mentioned seem a likely > candidate? Yikes. I didn't notice this or that you mentioned it. > Anyway, below is a simple program that reproduces the > EINTR error fairly reliably for me when run on disk devices. > > #include > #include > #include > #include > #include > > void > handler(int sig) { > } > > int > main(int argc, char **argv) > { > int fd, i; > if (argc < 2) > errx(1, "Usage: %s device", argv[0]); > fork(); > fork(); > fork(); > fork(); > > signal(SIGUSR1, handler); > sleep(1); > > for (i = 0; i < 200; i++) { > killpg(0, SIGUSR1); > if ((fd = open(argv[1], O_RDONLY)) < 0) > err(1, "%s", argv[1]); > close(fd); > } > return 0; > } This works reliably because the first open takes a relatively long time to do physical i/o's to probe the MBR, etc. The other opens wait interruptibly for the first, so there is a large window for killing them. I just saw a reply from the original (?) author of the PR. Apparently dump gets killed by amanda. Does amanda actually kill its children enough to matter? The primary bug seems to be that open() returns EINTR despite SA_RESTART being set. POSIX.1-200x-draft7 seems to say that SA_RESTART affects _all_ syscalls that can return EINTR except as explicitly noted. This is not explicitly noted for open(), but there don't seem to be enough explicit notes -- I could only find one for [p]select(). In POSIX, SA_RESTART's effect on select() and poll() is implementation-defined and required, respectively, but in FreeBSD SA_RESTART affects neither and many applications depend on this for select() at least POSIX's restarting of syscalls seems to be hard to implement. POSIX requires restarting at the point where the interrupt was received, but FreeBSD unwinds all the way back to syscall() for delivering the signal and then restarts from there. The FreeBSD implementation only works for simple syscalls. Note that the most important cases of read() write are not easy to restart from syscall() in general, but we avoid problems by only restarting them if they haven't done any i/o. This is POSIX conformant since we don't return EINTR if they did any i/o, and POSIX explicitly permits this behaviour although it is inconvienient for applications (applications still have to deal with short i/o's). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 5:23:12 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20EC937B400; Mon, 12 Aug 2002 05:23:10 -0700 (PDT) Received: from pump3.york.ac.uk (pump3.york.ac.uk [144.32.128.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id C42EB43E91; Mon, 12 Aug 2002 05:23:08 -0700 (PDT) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from ury.york.ac.uk (ury.york.ac.uk [144.32.108.81]) by pump3.york.ac.uk (8.10.2/8.10.2) with ESMTP id g7CCN7726401; Mon, 12 Aug 2002 13:23:07 +0100 (BST) Received: from ury.york.ac.uk (localhost.york.ac.uk [127.0.0.1]) by ury.york.ac.uk (8.12.3/8.12.3) with ESMTP id g7CCN6v6063936; Mon, 12 Aug 2002 13:23:06 +0100 (BST) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from localhost (gavin@localhost) by ury.york.ac.uk (8.12.3/8.12.3/Submit) with ESMTP id g7CCN62e063933; Mon, 12 Aug 2002 13:23:06 +0100 (BST) X-Authentication-Warning: ury.york.ac.uk: gavin owned process doing -bs Date: Mon, 12 Aug 2002 13:23:06 +0100 (BST) From: Gavin Atkinson X-X-Sender: To: Cc: Subject: 100% reproducable hang: serial related Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, [bde cc'd - it seems to be sio related] I have an i386 toshiba laptop, running FreeBSD 5.0-CURRENT #4: Sat Aug 10 13:27:55 BST 2002. I can get a 100% reproducible hang by doing the following: - Connect a serial cable between my laptop and a PC - run "tip -9600 com1" (where com1 in /etc/remote is the default: "com1:dv=/dev/cuaa0:br#9600:pa=none:") - power down the PC. My laptop hangs solid, and DDB cannot be entered from the keyboard. Note that if I close tip before powering down the PC, i don't get a hang. I am not using ACPI. Interestingly, if I type something and then power up the PC again, that character will echo on the screen before locking up again. By power-cycling the PC frequently, i could actually carry on using my laptop. Power cycling the PC (either on->off or off->on) seems to unlock the laptop for a fraction of a second. I can also hold ctrl-alt-escape on my laptop, and power up or down the PC, which will drop my laptop into DDB. From that point on, ddb works fine, continuing back to userspace works fine, and my laptop is no longer hung. Note however that often, from this point on until I quit tip, all characters I send seem to be sent as uppercase. Is it possible that the serial driver is getting confused, and the entry into DDB is causing the hardware and/or some lock to be reset? Can I get any other information to help diagnose this problem? while in DDB during the hang, a show locks gives: exclusive sleep mutex Giant r=0 (0xc0389d60) locked @ /usr/src/sys/kern/kern_intr.c:535 though I guess this is due to the keyboard event interrupt. As this is 100% reproducible, i am able to test anything people want testing. Thanks, Gavin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 5:57:30 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E60A37B400 for ; Mon, 12 Aug 2002 05:57:28 -0700 (PDT) Received: from morgan.upsys.se (raymond.upsys.se [192.71.194.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDF8043E84 for ; Mon, 12 Aug 2002 05:57:26 -0700 (PDT) (envelope-from mauritz.sundell@telia.com) Received: from morgan.upsys.se (localhost.upsys.se [127.0.0.1]) by morgan.upsys.se (8.12.3/8.12.3) with ESMTP id g7CDKtNq000695 for ; Mon, 12 Aug 2002 15:20:55 +0200 (CEST) (envelope-from mauritz.sundell@telia.com) Received: from localhost (mauritz@localhost) by morgan.upsys.se (8.12.3/8.12.3/Submit) with ESMTP id g7CDKsBQ000692 for ; Mon, 12 Aug 2002 15:20:55 +0200 (CEST) X-Authentication-Warning: morgan.upsys.se: mauritz owned process doing -bs Date: Mon, 12 Aug 2002 15:20:54 +0200 (CEST) From: Mauritz Sundell X-X-Sender: mauritz@morgan.upsys.se To: current@freebsd.org Subject: build picobsd bridge fail in locore.s Message-ID: <20020812150917.O157-100000@morgan.upsys.se> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Can someone help me, I want to build a picobsd floppy. Command: release/picobsd/build/picobsd bridge Error: suffix or operands invalid for 'shr' I think the complain is about the fillkptphys(prot) macro in sys/i386/i386/locore.s I cvsuped current yesterday I havent build picobsd in 5.0 before -- Mauritz Sundell, mauritz.sundell@telia.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 7: 6: 5 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C81D37B400 for ; Mon, 12 Aug 2002 07:06:00 -0700 (PDT) Received: from maul.immure.com (maul.immure.com [207.8.42.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F39743E4A for ; Mon, 12 Aug 2002 07:05:57 -0700 (PDT) (envelope-from bob@immure.com) Received: (from root@localhost) by maul.immure.com (8.11.5/8.11.2) id g7CE5ui42117 for freebsd-current@freebsd.org; Mon, 12 Aug 2002 09:05:56 -0500 (CDT) (envelope-from bob@immure.com) Received: from luke.immure.com (luke.vieo.com [10.1.132.3]) by maul.immure.com (8.11.5/8.11.2) with ESMTP id g7CE5qF41877; Mon, 12 Aug 2002 09:05:52 -0500 (CDT) (envelope-from bob@immure.com) Received: (from root@localhost) by luke.immure.com (8.12.5/8.12.3) id g7CE5qSi047730; Mon, 12 Aug 2002 09:05:52 -0500 (CDT) (envelope-from bob@luke.immure.com) Received: from luke.immure.com (localhost [127.0.0.1]) by luke.immure.com (8.12.5/8.12.3) with ESMTP id g7CE5qD8047705; Mon, 12 Aug 2002 09:05:52 -0500 (CDT) (envelope-from bob@luke.immure.com) Received: (from bob@localhost) by luke.immure.com (8.12.5/8.12.5/Submit) id g7CE5pdV047674; Mon, 12 Aug 2002 09:05:51 -0500 (CDT) Date: Mon, 12 Aug 2002 09:05:51 -0500 From: Bob Willcox To: Bruce Evans Cc: Ian Dowse , Alexander Leidinger , bhlewis@wossname.net, freebsd-current@freebsd.org Subject: Re: Is anyone else having trouble with dump(8) on -current? Message-ID: <20020812140551.GC45699@luke.immure.com> Reply-To: Bob Willcox References: <200208111333.aa34638@salmon.maths.tcd.ie> <20020812213155.O24183-100000@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020812213155.O24183-100000@gamplex.bde.org> User-Agent: Mutt/1.5.1i X-scanner: scanned by Inflex 1.0.12.3 on luke.immure.com X-scanner: scanned by Inflex 0.1.5c+ on maul.immure.com Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Aug 12, 2002 at 10:16:56PM +1000, Bruce Evans wrote: [snip] > > I just saw a reply from the original (?) author of the PR. Apparently > dump gets killed by amanda. Does amanda actually kill its children > enough to matter? >From my experience/use with amanda I know that it _always_ kills the dumps that it starts when doing its estimates at the beginning (often several per file system, one for each dump level it's interested in). I don't think it deliberately kills the dumps when actually dumping the data. :-) [snip] Bob -- Bob Willcox We seem to have forgotten the simple truth that bob@vieo.com reason is never perfect. Only non-sense attains Austin, TX perfection. -- Poul Henningsen [1894-1967] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 7:32:16 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 184F937B401; Mon, 12 Aug 2002 07:32:14 -0700 (PDT) Received: from newtrinity.default-network.net (newtrinity.default-network.net [62.159.128.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id C80D043E42; Mon, 12 Aug 2002 07:32:12 -0700 (PDT) (envelope-from corex@newtrinity.default-network.net) Received: from newtrinity.default-network.net (markus@localhost [127.0.0.1]) by newtrinity.default-network.net (8.12.3/8.12.3/DEFAULT-NETWORK.NET) with ESMTP id g7CEWA4H005061; Mon, 12 Aug 2002 16:32:10 +0200 (CEST) (envelope-from corex@newtrinity.default-network.net) Received: (from corex@localhost) by newtrinity.default-network.net (8.12.3/8.12.3/Submit) id g7CEWAWV005060; Mon, 12 Aug 2002 16:32:10 +0200 (CEST) (envelope-from corex) Date: Mon, 12 Aug 2002 16:32:10 +0200 From: marius@alchemy.franken.de To: Gavin Atkinson Cc: current@FreeBSD.ORG, bde@FreeBSD.ORG Subject: Re: 100% reproducable hang: serial related Message-ID: <20020812163210.B96711@newtrinity.default-network.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from gavin.atkinson@ury.york.ac.uk on Mon, Aug 12, 2002 at 01:23:06PM +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Aug 12, 2002 at 01:23:06PM +0100, Gavin Atkinson wrote: > > Hi, > [bde cc'd - it seems to be sio related] > > I have an i386 toshiba laptop, running FreeBSD 5.0-CURRENT #4: Sat Aug 10 > 13:27:55 BST 2002. I can get a 100% reproducible hang by doing the > following: > > - Connect a serial cable between my laptop and a PC > - run "tip -9600 com1" > (where com1 in /etc/remote is the default: > "com1:dv=/dev/cuaa0:br#9600:pa=none:") > - power down the PC. > > My laptop hangs solid, and DDB cannot be entered from the keyboard. Note > that if I close tip before powering down the PC, i don't get a hang. I am > not using ACPI. > > Interestingly, if I type something and then power up the PC again, that > character will echo on the screen before locking up again. By > power-cycling the PC frequently, i could actually carry on using my > laptop. Power cycling the PC (either on->off or off->on) seems to unlock > the laptop for a fraction of a second. > i have similar symptoms on my toshiba tecra 8000 under -stable ever since i installed fbsd on it (~4.1 i think), fbsd freezes when whatever terminal emulation (tip, cu , minicom) is still running when the remote side is powered down or the serial line is disconnected. but when the remote side (pc, router, ...) is powered on or the serial line is connected again fbsd unfreezes and continues to work. i had the "unlocks the laptop for a fraction of a second" just once when the remote side was an amiga 500... imho this is enirely related to (some) toshiba serial interfaces, at least i haven't seen this behaviour on other pcs running fbsd so far To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 7:37:18 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 088CB37B400 for ; Mon, 12 Aug 2002 07:37:14 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D77E43E4A for ; Mon, 12 Aug 2002 07:37:13 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id AAA05890; Tue, 13 Aug 2002 00:37:07 +1000 Date: Tue, 13 Aug 2002 00:42:09 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Maksim Yevmenkin Cc: current@FreeBSD.ORG Subject: RE: Interrupt vs. polling on -current In-Reply-To: <45258A4365C6B24A9832BFE224837D552B1238@SJDCEX01.int.exodus.net> Message-ID: <20020813001331.U24379-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 11 Aug 2002, Maksim Yevmenkin wrote: > On Fri, 9 Aug 2002, Maksim Yevmenkin wrote: > > > > OS: FreeBSD-current DP1 (dmesg attached) > > > Laptop: Toshiba Tecra 8100 (docked) > > > Hardware: 3Com Bluetooth USB dongle, 3Com Bluetooth PC-CARD > > > Xircom CBT PC-CARD (with 16550A UART) > > > > > > First of all, irq 11 gets shared between PC-CARD controller, > > > USB controller, NIC in docking station (see dmesg). Everything > > > This configuration should be expected to work poorly at best. > > hmmm... i have a couple of latops here at home, one made by > Toshiba and another by IBM and they both have similar configuration. > may be such configuration is normal for laptops? Unfortunately it seems to be fairly normal. Warner knows a lot more about this than me (see his reply). I don't even have a laptop. I expect this problem will be "fixed" by doing more polling for USB devices in a more automatic way. I hoped that more irqs would be standard by now, but instead they seem to be standard on xaly on big SMP systems that don't need them so much. It's systems with lots of interactive and/or real-time deives that need them more. > > > The Xircom card just does not work :( I' getting a lot of > > > "silo overflow" messages no matter what i try. I checked > > > list archives and source - not much look. Is "sio" driver > > > totally hopeless? > > > > No, but the 3Com driver apparently is. The sio driver wants to have > > fast interrupts. It can't have them with the irq is shared, so its > > worst-case interrupt latency for a single serial port is increased > > from about 50 usec to many msec, depending other interrupt activity > > in the system (not limited to that for the shared irq except in some > > configurations). Silo overflows occur at 115200 bps when the latency > > is more than about 1.5 msec. > > perhaps, i said it wrong. I only plug *one* PC-CARD at a time, so > it only 3com *or* Xircom. So irq11 gets shared between USB, NIC in > docking station, PC-CARD controller and Xircom card. That should help a bit. There is still the software problem that the irq wiring for attached devices doesn't change when some devices using the interrupt are detached, so the sio interrupt probably remains shared and non-fast so sio interrupt handling is often delayed by other interrupt activity (if any). Hmmm, there is always some interrupt activity for clocks. Perhaps the largest source of latency is that timeouts have (or not so temporarily borrow) too high a priority in -current. > BTW, i see "silo overflow" messages when i run ppp via null-modem > cable. in this configuration i'm using serial port 0 which is on > board and hase irq 4 with fast interrupts. What else is active when you get these? > > This points to bug(s) in the 3Com driver. Perhaps its interrupt > > handler just runs for too long to determine that irq11's for the > > serial device are not for it. Running in polled mode decreases > > yes, and that is what i was thinking too. but now i think it is > not only 3com driver's fault. The driver just reads one port and > check one bit, if it not set then interrupt is not for it. Yes, this shows that it is not primarily the 3Com driver's fault. > > > I just can't believe that > > > FreeBSD on my Pentium-III/600 can't handle lousy 500-700 > > > interrupts a second from PC-CARD. Can anyone point me > > > into right direction, because i'm obviously doing something > > > wrong here. > > > > FreeBSD on a 486/33 can handle about 40000 serial interrupts per second > > to do one character of i/o per interrupt). Pessimizations in -current > > have only degraded this by a small factor (2?), provided the driver > > uses fast interrupts. Lose another small factor (2?) for normal interrupts > > (using normal interrupts only loses a large factor for latency). > > if my calculations are correct -current should handle about 10,000 > interrupt/sec from sio, right? i'm sorry, but it is not what i see > here. That's 10000 on a 486/33 :-). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 9:18: 2 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9CC337B400 for ; Mon, 12 Aug 2002 09:17:36 -0700 (PDT) Received: from eirikn.net (a217-118-47-142.bluecom.no [217.118.47.142]) by mx1.FreeBSD.org (Postfix) with SMTP id 12FF143E6A for ; Mon, 12 Aug 2002 09:17:34 -0700 (PDT) (envelope-from eirik@eirikn.net) Received: (qmail 52319 invoked by uid 1001); 12 Aug 2002 16:16:31 -0000 Date: Mon, 12 Aug 2002 18:16:31 +0200 From: Eirik Nygaard To: current@FreeBSD.ORG Subject: rmuser.c - Updated source Message-ID: <20020812161631.GA444@test.eirikn.net> Reply-To: eirikn@bluezone.no Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Y7xTucakfITjPcLV" Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --Y7xTucakfITjPcLV Content-Type: multipart/mixed; boundary="ibTvN161/egqYuK8" Content-Disposition: inline --ibTvN161/egqYuK8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, I sent a mail about this program with a source a couple of days ago,= not really pretty code, cleaned it up and gotten some help from #bsdcode@E= Fnet with some fixes. So I send the source again so you could take another = look at it and tell me if I am missing something. --=20 Eirik Nygaard Http://kverka.org/~eirik/ PGP Key: 83C55EDE --ibTvN161/egqYuK8 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="rmuser.c" Content-Transfer-Encoding: quoted-printable /* * Copyright 2002 Eirik Nygaard.=20 * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer as * the first lines of this file unmodified. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY EIRIK NYGAARD ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL GUY HELMER BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * rmuser - C programme to remove users * * Eirik Nygaard , 08/08/02 * */ #include __FBSDID("$FreeBSD$"); #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include char passwd_file[] =3D "/etc/master.passwd"; char passwd_tmp[PATH_MAX] =3D "/etc/ptmp.XXXXX"; char *passwd_tmp2; char group_file[] =3D "/etc/group"; char new_group_file[] =3D "/etc/group.new"; char mail_dir[] =3D "/var/mail"; char crontab_dir[] =3D "/var/cron/tabs"; char path[] =3D "/bin:/sbin:/usr/bin:/usr/sbin"; int yes; /* Always yes? */ int removehomedir =3D 1; char *user =3D NULL; /* User to delete */ char user2[BUFSIZ]; char answer[BUFSIZ]; int fp; FILE *fp2; char line[PATH_MAX + 50]; char homedir[PATH_MAX]; struct passwd *password; struct stat sb; void usage(); void getuser(); void remove_files_from_dir(int uid, char *path); int recvnl( char *buf, int fd); void update_passwd(); void update_group(); void killuser(int uid, int gid); void del_mail(); void sighandle(int sig); int main(int argc, char **argv)=20 { int ch, numbuf =3D 0; /* Check for root */ if (getuid() !=3D 0) { errx(EX_NOPERM, "You must be root to run this program."); } signal(SIGINT, sighandle); signal(SIGTERM, sighandle); signal(SIGHUP, sighandle); signal(SIGQUIT, sighandle); =09 /* Set the path we need */ setenv("PATH", path, 1); =09 /* Set umode */ umask(022); =09 /* Get command line arguments */ while ((ch =3D getopt(argc, argv, "yu:")) !=3D -1) { switch (ch) { case 'y': yes =3D 1; break; =09 case 'u': user =3D optarg; break; =09 case '?': default: usage(); } } =09 if (user =3D=3D NULL) { getuser(); } =09 if ((password =3D getpwnam(user)) =3D=3D NULL) { errx(EX_NOUSER, "No user found by that name: %s.\n", user); } printf("\nMatching password entry: \n"); printf("\t%s:%s:%d:%d:%s:%s\n", password->pw_name, password->pw_passwd, pa= ssword->pw_uid, password->pw_gid, password->pw_dir, password->pw_shell); =09 if (yes =3D=3D 0) { printf("Is this the entry you wish to remove?(y/n) "); fgets(answer, sizeof(answer), stdin); if (strncmp(answer, "y", 1) !=3D 0 && strncmp(answer, "Y", 1) !=3D 0) { printf("User %s not removed.\n", user); exit(1); } } =09 if ((password =3D getpwnam(user)) =3D=3D NULL) { errx(EX_NOUSER, "No user found by that name: %s.\n", user); } =09 if (yes =3D=3D 0) { printf("Remove homedir(%s)?(y/n) ", password->pw_dir); fgets(answer, sizeof(answer), stdin); if (strncmp(answer, "y", 1) =3D=3D 0 || strncmp(answer, "Y", 1) =3D=3D 0)= =20 removehomedir =3D 1; else=20 removehomedir =3D 0; }=20 =09 else { removehomedir =3D 1; } =09 strncpy(homedir, password->pw_dir, sizeof(homedir)); next: lstat(homedir, &sb); if (removehomedir =3D=3D 1) { if (!S_ISLNK(sb.st_mode) && !S_ISDIR(sb.st_mode)) { warnx("Home %s is not a directory, so it won't be removed\n", homedir); removehomedir =3D 0; } =09 if (S_ISLNK(sb.st_mode)) { numbuf =3D readlink(password->pw_dir, homedir, sizeof(homedir)); printf("%s\n", homedir); homedir[numbuf] =3D '\0'; goto next; } =09 if (sb.st_uid !=3D password->pw_uid) { if (removehomedir =3D=3D 1) warnx("Home %s is not owned by %s, so it will not be removed.\n", homed= ir, user); removehomedir =3D 0; } =09 } =09 killuser(password->pw_uid, password->pw_gid); update_passwd(); update_group(); if (removehomedir =3D=3D 1) { printf("Removeing home %s.\n", homedir); remove_files_from_dir(password->pw_uid, homedir); if (rmdir(homedir) =3D=3D -1) warn("Warning: Unable to remove home %s - continuing.\n", homedir); } =09 snprintf(line, sizeof(line), "%s/%s", crontab_dir, user); if ((fp2 =3D fopen(line, "r")) !=3D NULL) { fclose(fp2); if (unlink(line) =3D=3D -1) warn("Warning: Unable to remove crontab file %s - continuing.\n", line); printf("Removeing users' crontab: "); snprintf(line, sizeof(line), "/usr/bin/crontab -u %s -r", user); system(line); printf("done.\n"); } =09 del_mail(); printf("Removing files belonging to %s from /tmp.\n", user); remove_files_from_dir(password->pw_uid, "/tmp"); printf("Removing files belonging to %s from /var/tmp.\n", user); remove_files_from_dir(password->pw_uid, "/var/tmp"); =09 return 0; } void usage() { printf("Usage: %s [-y] [-u username]\n", getprogname());=09 exit(1); } void getuser() { printf("Enter login name for user to remove: "); fgets(user2, sizeof(user2), stdin); user2[strlen(user2) - 1] =3D '\0'; user =3D user2; } /* Remove all files and folders belonging to uid in path */ void remove_files_from_dir(int uid, char *path) { int Tmp; struct dirent *DirEntryPtr; DIR *DirPtr; struct stat Stat; char Path[PATH_MAX]; =09 DirPtr =3D opendir(path); while (1) { DirEntryPtr =3D readdir(DirPtr);=09 if (DirEntryPtr =3D=3D 0) break; if (strcmp(DirEntryPtr->d_name,".") !=3D 0 && strcmp(DirEntryPtr->d_name,= "..") !=3D 0) { Path[0] =3D 0; strlcat(Path,homedir, sizeof(Path)); strlcat(Path,"/", sizeof(Path)); strlcat(Path,DirEntryPtr->d_name, sizeof(Path)); Tmp =3D lstat(Path,&Stat);=20 if (S_ISDIR(Stat.st_mode)) { remove_files_from_dir(uid, Path); if (Stat.st_uid =3D=3D uid) if (rmdir(Path) =3D=3D -1) warn("Warning: Unable to remove dir %s - continuing.\n", Path); } if (Stat.st_uid =3D=3D uid) { /* printf("Removeing file %s\n", Path); */ if (unlink(Path) =3D=3D -1)=20 warn("Warning: unlink on %s failed - continuing.\n", Path); } } =09 } closedir(DirPtr); } /* Remove the user from the passwd file */ void update_passwd() { int fp_pw, fp2_pw; char string[BUFSIZ], string2[BUFSIZ]; int skipped =3D 0; =09 if ((fp_pw =3D open(passwd_file, O_RDONLY|O_EXLOCK)) =3D=3D -1) { warn("Warning: Unable to open %s, so can not remove the user - continuing= .\n", passwd_file); return; } =09 if ((fp2_pw =3D open(passwd_tmp, O_WRONLY|O_EXLOCK|O_CREAT, 0600)) =3D=3D = -1) { printf("Warning: Unable to open %s, so can not remove the user - continui= ng.\n", passwd_tmp); return; } =09 snprintf(string2, sizeof(string2), "%s:", user); while (recvnl(string, fp) !=3D -1) { if (strncmp(string, "#", 1) =3D=3D 0) { write(fp2_pw, string, strlen(string)); continue; } if (strncasecmp(string, string2, strlen(user) + 1) !=3D 0) { write(fp2_pw, string, strlen(string)); write(fp2_pw, "\n", 1); }=20 =09 else { if (skipped =3D=3D 1) { write(fp2_pw, string, strlen(string)); write(fp2_pw, "\n", 1); } =09 /* printf("Droped entry for %s\n", string); */ skipped =3D 1; } } =09 if (skipped =3D=3D 0) { printf("Whoops! Didn't find %s's entry second time around!\n", user); close(fp_pw); close(fp2_pw); exit(1); } =09 close(fp_pw); close(fp2_pw); /* Rebuild db */ snprintf(line, sizeof(line), "/usr/sbin/pwd_mkdb -p %s", passwd_tmp); system(line); =09 } /* Remove user from the group file and the users group */ void update_group() { char string[BUFSIZ], string2[BUFSIZ], string3[BUFSIZ]; int fp_g, fp2_g, users; char *p, *p2; int a =3D 0; char group[BUFSIZ], gid[BUFSIZ], pass[BUFSIZ], users2[BUFSIZ], users3[BUFS= IZ]; if ((fp_g =3D open(group_file, O_RDONLY|O_EXLOCK)) =3D=3D -1) { printf("Warning: Unable to open %s, so can not remove the user's group - = continuing.\n", passwd_file); return; } =09 if ((fp2_g =3D open(new_group_file, O_WRONLY|O_EXLOCK|O_CREAT, 0644)) =3D= =3D -1) { printf("Warning: Unable to open %s, so can not remove the user's group - = continuing.\n", passwd_tmp); return; } =09 snprintf(string2, sizeof(string2), "%s:", user); while (recvnl(string, fp_g) !=3D -1) { if (strncmp(string, "#", 1) =3D=3D 0) { write(fp2_g, string, strlen(string)); continue; } if (strncasecmp(string, string2, strlen(user) + 1) !=3D 0) { /* Check if user is in the group */ string3[0] =3D '\0'; strlcpy(string3, string, sizeof(string3)); for (p =3D strtok(string3, ":\n"); p !=3D NULL; p =3D strtok(NULL, ":\n"= )) { switch(a) { case 0: strlcpy(group, p, sizeof(group)); break; =09 case 1: strlcpy(pass, p, sizeof(pass)); break; =09 case 2: strlcpy(gid, p, sizeof(gid)); break; =09 case 3: strlcpy(users2, p, sizeof(users2)); break; } a++; =09 } =09 a =3D 0; users3[0] =3D '\0'; for (p =3D strtok(users2, ",\n"); p !=3D NULL; p =3D strtok(NULL, ",\n")= ) { if (strcasecmp(user, p) !=3D 0) { if (a =3D=3D 0) { strlcat(users3, p, sizeof(users3)); a =3D 1; } =09 else {=20 strlcat(users3, ",", sizeof(users3)); strlcat(users3, p, sizeof(users3)); } } } =09 snprintf(string3, sizeof(string3), "%s:%s:%s:%s\n", group, pass, gid, us= ers3); =09 write(fp2_g, string3, strlen(string3)); a =3D 0; } =09 else { /* Check if there is other users added to the group */ p =3D string; while (*p !=3D ':') *p++; /* Skip groupname */ *p++; while (*p !=3D ':') *p++; /* Skip password section */ *p++; while (*p !=3D ':') *p++; /* Skip gid section */ *p++; strlcpy(string3, p, sizeof(string3)); for (p2 =3D strtok(string3, ","); p2 !=3D NULL; p2 =3D strtok(NULL, ",")= ) { users =3D 1; } =09 if (users =3D=3D 1) { warnx("Warning: Other users in group %s, not removing - continuing.\n",= user); write(fp2_g, string, strlen(string)); } =09 else { /* printf("Droped entry %s\n", string); */ } } } =09 close(fp_g); close(fp2_g); rename(new_group_file, group_file); } /* Recieve a string from fd untill a \n */ int recvnl(char *buf, int fd) { int bytes =3D 0; char buf2[2]; char buf3[BUFSIZ]; buf3[0] =3D '\0'; while ( read(fd, buf2, 1) !=3D 0) { buf2[1] =3D '\0'; if (strncmp(buf2, "\n", 1) =3D=3D 0) { strncpy(buf, buf3, BUFSIZ); return bytes; } =09 else { strlcat(buf3, buf2, sizeof(buf3)); bytes++; } } =09 return -1; } /* Kill users processes */ void killuser(int uid, int gid) { int pid;=09 =09 if (( pid =3D fork()) =3D=3D 0) { if (setgid(gid) =3D=3D -1) { warn("Warning: Unable to set gid - continuing.\n"); return; } if (setuid(uid) =3D=3D -1) { warn("Warning: Unable to set uid - continuing.\n"); return; } =09 kill(0, SIGTERM); sleep(1); kill(0, SIGKILL); exit(1); } =09 if (pid =3D=3D -1) { warn("Error creating child processes - continuing.\n"); return; } =09 else { while (waitpid(-1,NULL,0) !=3D pid) ; /* Do nothing */ } } void del_mail() { char string[BUFSIZ]; =09 snprintf(string, sizeof(string), "%s/%s", mail_dir, user); if (unlink(string) < 0 && errno !=3D ENOENT) warn("can't remove mailbox: %s", string); =09 } /* Signal handeling */ void sighandle(int sig) { char unknown[] =3D "UNKNOWN", sint[] =3D "SIGINT", squit[] =3D "SIGQUIT", = shup[] =3D "SIGHUP", sterm[] =3D "SGITERM"; struct iovec vec[3]; char msg1[] =3D "\nCaught signal ", msg2[] =3D " -- cleaning up\n"; =09 vec[0].iov_base =3D msg1; vec[0].iov_len =3D sizeof(msg1) - 1; vec[2].iov_base =3D msg2; vec[2].iov_len =3D sizeof(msg2) - 1; switch (sig) { case SIGINT: vec[1].iov_base =3D sint; vec[1].iov_len =3D sizeof(sint) - 1; break; case SIGQUIT: vec[1].iov_base =3D squit; vec[1].iov_len =3D sizeof(squit) - 1; break; case SIGTERM: vec[1].iov_base =3D sterm; vec[1].iov_len =3D sizeof(sterm) - 1; break; case SIGHUP: vec[1].iov_base =3D shup; vec[1].iov_len =3D sizeof(shup) - 1; break; default: vec[1].iov_base =3D unknown; vec[1].iov_len =3D sizeof(unknown) - 1; break; } =09 writev(STDOUT_FILENO, vec, sizeof(vec) / sizeof(*vec)); unlink(passwd_tmp); unlink(new_group_file); close(fp); exit(1); } --ibTvN161/egqYuK8-- --Y7xTucakfITjPcLV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9V99f1JB0Z4PFXt4RAhRrAKCSJbsSmReZWA2eNvnPhEJGkq7kygCghunN dKR0IubG6pQc2/bhpQmz3fg= =OFno -----END PGP SIGNATURE----- --Y7xTucakfITjPcLV-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 9:34:33 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1BC437B400; Mon, 12 Aug 2002 09:34:29 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AC5243E42; Mon, 12 Aug 2002 09:34:28 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id CAA24207; Tue, 13 Aug 2002 02:34:25 +1000 Date: Tue, 13 Aug 2002 02:39:27 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Maxim Konovalov Cc: "Semen A. Ustimenko" , Robert Watson , Gavin Atkinson , Subject: Re: sendfile(2) is broken (Was: ftpd problem: Input/output error) In-Reply-To: <20020812114358.E56725-100000@news1.macomnet.ru> Message-ID: <20020813021023.P25046-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 12 Aug 2002, Maxim Konovalov wrote: > On 03:37+0700, Aug 12, 2002, Semen A. Ustimenko wrote: > > David reviewed the patch and I have committed it few minutes ago. > > Looks like a hack BDE is speaking about: passing a storage for residue > but never check it. See another reply about this. > Anyway I don't understand why VOP_READ in vn_rdwr() returns a residue > in uio.uio_resid when all data trasferred actually? It actually does this when only some (or none) of the data has been transferred. The idea is that most layers don't interpret the residual; they just pass it up to the caller and it hopefully makes it all the way up to a top level which actually understands nonzero residuals. From vfs_vnops.c: % if (aresid != NULL) % *aresid = auio.uio_resid; This is hopefully the usual case. We just return the residual without looking at it if we can. % else % if (auio.uio_resid != 0 && error == 0) % error = EIO; Otherwise, we turn nonzero residuals into errors since there is no other way to tell the caller that not all the data was transferred. BTW, the residual handling code for the read() and write family seems to have been broken since the beginning of history. From sys_generic.c: % if ((error = fo_read(fp, &auio, fp->f_cred, flags, td))) { % if (auio.uio_resid != cnt && (error == ERESTART || % error == EINTR || error == EWOULDBLOCK)) % error = 0; % } This is sort of the reverse of the conversion of `error' in vn_rdwr(). Some (most or all?) i/o routines return useful values in both uio_resid and `error'. This only matters if there is both an error and a nonzero residual (which is the usual case if an error occurs in the middle of a transfer). Both of these values should be passed up as far as possible, but there is no way to pass both across the kernel/userland boundary. We must choose one, and I think it is best to pass the residual (inverted to be a count) in all cases. POSIX requires this for read() and write() anyway. The above only does this conversion if the error is one of ERESTART, EINTR and EWOULDBLOCK. I think the correct code (modulo optimizations) is: error = fo_read(...); if (auio.uio_resid != cnt) error = 0; Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 10:10:30 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1674D37B400 for ; Mon, 12 Aug 2002 10:10:28 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15A6143E75 for ; Mon, 12 Aug 2002 10:10:27 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id DAA26680; Tue, 13 Aug 2002 03:10:00 +1000 Date: Tue, 13 Aug 2002 03:15:02 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: "Andrey A. Chernov" Cc: Terry Lambert , David Xu , Julian Elischer , FreeBSD CURRENT Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) In-Reply-To: <20020812113101.GA2089@nagual.pp.ru> Message-ID: <20020813031235.O25510-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 12 Aug 2002, Andrey A. Chernov wrote: > On Mon, Aug 12, 2002 at 04:03:31 -0700, Terry Lambert wrote: > > "Andrey A. Chernov" wrote: > > > On Sun, Aug 11, 2002 at 22:53:15 -0700, David Xu wrote: > > > > following is patch for su, I can type "suspend" and stop $$ without the > > > > problem you described, I have tested it under tcsh and bash, all works > > > > for me. > > > > > > Thanx, committed. > > > > UGH! > > > > #1 License on patch is GPL > > Why not Microsoft? > > > #2 I guess now that this irritant is gone, the signals code > > will remain screwed up, until some time later when you > > see the shark fin above water, just before it bites > > someone else? > > Read commit message 2 or 3 times. Meditate on each word. Anyway, it has one blatant style bug (not 1TBS) and no explanation of the bug, so it should not have been committed verbatim. See another reply for an analysis of the patch. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 10:21:47 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BEE2837B400 for ; Mon, 12 Aug 2002 10:21:44 -0700 (PDT) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id A888F43E7B for ; Mon, 12 Aug 2002 10:21:43 -0700 (PDT) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.5/8.12.5) with ESMTP id g7CHLWsU002194; Mon, 12 Aug 2002 21:21:34 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.5/8.12.5/Submit) id g7CHLWni002193; Mon, 12 Aug 2002 21:21:32 +0400 (MSD) (envelope-from ache) Date: Mon, 12 Aug 2002 21:21:31 +0400 From: "Andrey A. Chernov" To: Bruce Evans Cc: Terry Lambert , David Xu , Julian Elischer , FreeBSD CURRENT Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) Message-ID: <20020812172131.GA2139@nagual.pp.ru> References: <20020812113101.GA2089@nagual.pp.ru> <20020813031235.O25510-100000@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020813031235.O25510-100000@gamplex.bde.org> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Aug 13, 2002 at 03:15:02 +1000, Bruce Evans wrote: > > Anyway, it has one blatant style bug (not 1TBS) and no explanation of > the bug, so it should not have been committed verbatim. See another > reply for an analysis of the patch. According to commit guide, explanations are not commited, only what is changed. For explanation (terminal group mismatch) read whole thread, especially David's analysis. What another reply you mean? -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 10:22:11 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4242237B400 for ; Mon, 12 Aug 2002 10:22:07 -0700 (PDT) Received: from scl8owa02.int.exodus.net (scl8out02.exodus.net [66.35.230.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5BFD43E7B for ; Mon, 12 Aug 2002 10:21:46 -0700 (PDT) (envelope-from Maksim.Yevmenkin@exodus.net) Received: from scl8owa01.int.exodus.net ([66.35.230.241]) by scl8owa02.int.exodus.net with Microsoft SMTPSVC(5.0.2195.4905); Mon, 12 Aug 2002 10:23:20 -0700 Received: from exodus.net ([206.220.227.147]) by scl8owa01.int.exodus.net over TLS secured channel with Microsoft SMTPSVC(5.0.2195.4905); Mon, 12 Aug 2002 10:23:19 -0700 Message-ID: <3D57EEA5.96D397CC@exodus.net> Date: Mon, 12 Aug 2002 10:21:41 -0700 From: Maksim Yevmenkin X-Mailer: Mozilla 4.78 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: "M. Warner Losh" Cc: current@FreeBSD.ORG Subject: Re: Interrupt vs. polling on -current References: <3D540794.E487F2F4@exodus.net> <20020811.172933.13462313.imp@bsdimp.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 12 Aug 2002 17:23:19.0798 (UTC) FILETIME=[F3E5E160:01C24224] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "M. Warner Losh" wrote: > > [[ I've read the rest of this thread ]] > > In message: <3D540794.E487F2F4@exodus.net> > Maksim Yevmenkin writes: > : My tests are very simple. I plug USB dongle and one PC-CARD > : and try to pump data between them as fast as possible. The > : data blocks sizes are between 63 and 1500 bytes. > > I think that the issue here may be that the USB stack may be > interacting badly with the interrupt system. Since the pccard is > effectively forced into sharing the interrupt with the USB stack with > NEWCARD, that's going to interact very badly, I think. Worse even > than if you were multiplexing the xl0 driver and the sio0 driver. you may be right. i have "uhci" USB controller (i think it is Intel spec.). If i'm not mistaken this chip is not very smart, and every time interrupt happens software must scan queue of pending requests to find out which one has been completed. But of course "uhci" chip is very cheap :) On the other hand there is a "ohci" (Microsoft i think) and this chip is better because it does more processing, and, of course costs more. > The sio driver is extremely sensitive to the interrupt latency, since > the underlying hardware has only a few characters to react before the > fifo overflows. At 115200 baud, each character takes 1/11520 seconds > (or 86us), and the fifo is set to have only 8 bytes left when the > device interrupts. This means that the sio driver can only tolerate > about 700us of latency before there are issues. With 500 interrupts > per second, that's an interrupt every 2000us, which is about the same > "order" as the maximum latency tolerance. If these interrupts are > shared and are taking a while to allow the serial driver to run, then > you are almost certain to cause problems. Xircom card is a Bluetooth card with UART interface. Bluetooth link speed is about 700KB/s. I do not think that standard 16550A UART with 16 bytes FIFO can handle such speed. I also can not believe that Xircom would sell such low speed Bluetooth card (115200 bit/s). I think that Xircom card must have a much bigger FIFO in order to handle full speed. W2K, for example, has special driver for Xircom card. > For cardbus cards, we're forced to use the pci interrupt and share it. > For "r2" cards (aka 16-bit cards), we could use an unused ISA > interrupt on most (but not all) cardbus bridges, but currently there's > no support for that in NEWCARD. that is what i see in W2K. all cards i plug into slots get different irq. PC-CARD controller and USB controller are still share irq 11. > I'm also surprised you were able to make it work at all. I've had > lots of bad luck when trying to make modems work in recent -current > kernels. that is very sad :( thanks, max To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 10:26:55 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C03137B400 for ; Mon, 12 Aug 2002 10:26:52 -0700 (PDT) Received: from scl8owa01.int.exodus.net (scl8out01.exodus.net [66.35.230.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4EF243E42 for ; Mon, 12 Aug 2002 10:26:51 -0700 (PDT) (envelope-from Maksim.Yevmenkin@exodus.net) Received: from scl8owa01.int.exodus.net ([66.35.230.241]) by scl8owa01.int.exodus.net with Microsoft SMTPSVC(5.0.2195.4905); Mon, 12 Aug 2002 10:28:26 -0700 Received: from exodus.net ([206.220.227.147]) by scl8owa01.int.exodus.net over TLS secured channel with Microsoft SMTPSVC(5.0.2195.4905); Mon, 12 Aug 2002 10:28:25 -0700 Message-ID: <3D57EFDB.94242A71@exodus.net> Date: Mon, 12 Aug 2002 10:26:51 -0700 From: Maksim Yevmenkin X-Mailer: Mozilla 4.78 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: Bruce Evans Cc: Maksim Yevmenkin , current@FreeBSD.ORG Subject: Re: Interrupt vs. polling on -current References: <20020813001331.U24379-100000@gamplex.bde.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 12 Aug 2002 17:28:25.0907 (UTC) FILETIME=[AA5A6830:01C24225] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bruce Evans wrote: > > On Sun, 11 Aug 2002, Maksim Yevmenkin wrote: > > > On Fri, 9 Aug 2002, Maksim Yevmenkin wrote: > > [...] > > BTW, i see "silo overflow" messages when i run ppp via null-modem > > cable. in this configuration i'm using serial port 0 which is on > > board and hase irq 4 with fast interrupts. > > What else is active when you get these? not much: X, user space ppp and i'm doing moderate size transfers via ftp between my current laptop and FreeBSD 4.5 desktop. i also see these errors while cvsup'ing my -current laptop. thanks, max To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 10:29:56 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 07DE637B401 for ; Mon, 12 Aug 2002 10:29:53 -0700 (PDT) Received: from ref5.freebsd.org (ref5.FreeBSD.org [216.136.204.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0C5443E65 for ; Mon, 12 Aug 2002 10:29:52 -0700 (PDT) (envelope-from des@FreeBSD.org) Received: from ref5.freebsd.org (localhost [127.0.0.1]) by ref5.freebsd.org (8.12.5/8.12.5) with ESMTP id g7CHTqgr025026 for ; Mon, 12 Aug 2002 10:29:52 -0700 (PDT) (envelope-from des@ref5.freebsd.org) Received: (from des@localhost) by ref5.freebsd.org (8.12.5/8.12.5/Submit) id g7CHTqPJ025024 for current@freebsd.org; Mon, 12 Aug 2002 10:29:52 -0700 (PDT) Date: Mon, 12 Aug 2002 10:29:52 -0700 (PDT) From: Dag-Erling Smorgrav Message-Id: <200208121729.g7CHTqPJ025024@ref5.freebsd.org> To: current@freebsd.org Subject: i386 tinderbox failure Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- >>> stage 2: cleaning up the object tree -------------------------------------------------------------- >>> stage 2: rebuilding the object tree -------------------------------------------------------------- >>> stage 2: build tools -------------------------------------------------------------- >>> stage 3: cross tools -------------------------------------------------------------- >>> stage 4: populating /home/des/tinderbox/i386/obj/local0/scratch/des/src/i386/usr/include -------------------------------------------------------------- >>> stage 4: building libraries -------------------------------------------------------------- >>> stage 4: make dependencies -------------------------------------------------------------- >>> stage 4: building everything.. -------------------------------------------------------------- >>> Kernel build for GENERIC started on Mon Aug 12 09:36:17 PDT 2002 -------------------------------------------------------------- >>> Kernel build for GENERIC completed on Mon Aug 12 10:18:18 PDT 2002 -------------------------------------------------------------- >>> Kernel build for LINT started on Mon Aug 12 10:18:18 PDT 2002 -------------------------------------------------------------- ===> xe /local0/scratch/des/src/sys/contrib/dev/acpica/dbdisply.c:480: warning: no previous prototype for `AcpiDbDecodeNode' /local0/scratch/des/src/sys/contrib/dev/acpica/dbdisply.c:131: warning: `_THIS_MODULE' defined but not used /local0/scratch/des/src/sys/contrib/dev/acpica/dbexec.c:124: warning: `_THIS_MODULE' defined but not used /local0/scratch/des/src/sys/contrib/dev/acpica/dbhistry.c:124: warning: `_THIS_MODULE' defined but not used /local0/scratch/des/src/sys/contrib/dev/acpica/dbinput.c:125: warning: `_THIS_MODULE' defined but not used /local0/scratch/des/src/sys/contrib/dev/acpica/dbstats.c:125: warning: `_THIS_MODULE' defined but not used /local0/scratch/des/src/sys/contrib/dev/acpica/dbxface.c:127: warning: `_THIS_MODULE' defined but not used /local0/scratch/des/src/sys/contrib/dev/acpica/hwgpe.c:122: warning: `_THIS_MODULE' defined but not used /local0/scratch/des/src/sys/contrib/dev/acpica/hwregs.c: In function `AcpiGetSleepTypeData': /local0/scratch/des/src/sys/contrib/dev/acpica/hwregs.c:242: warning: cast discards qualifiers from pointer target type /local0/scratch/des/src/sys/contrib/dev/acpica/nsxfname.c:125: warning: `_THIS_MODULE' defined but not used /local0/scratch/des/src/sys/contrib/dev/acpica/nsxfobj.c:126: warning: `_THIS_MODULE' defined but not used /local0/scratch/des/src/sys/contrib/dev/acpica/rsdump.c:124: warning: `_THIS_MODULE' defined but not used /local0/scratch/des/src/sys/contrib/dev/acpica/utclib.c:129: warning: `_THIS_MODULE' defined but not used /local0/scratch/des/src/sys/contrib/dev/acpica/utdebug.c:122: warning: `_THIS_MODULE' defined but not used /local0/scratch/des/src/sys/contrib/dev/acpica/utglobal.c: In function `AcpiUtGetRegionName': /local0/scratch/des/src/sys/contrib/dev/acpica/utglobal.c:489: warning: cast discards qualifiers from pointer target type /local0/scratch/des/src/sys/contrib/dev/acpica/utglobal.c: In function `AcpiUtGetEventName': /local0/scratch/des/src/sys/contrib/dev/acpica/utglobal.c:527: warning: cast discards qualifiers from pointer target type /local0/scratch/des/src/sys/contrib/dev/acpica/utglobal.c: In function `AcpiUtGetTypeName': /local0/scratch/des/src/sys/contrib/dev/acpica/utglobal.c:604: warning: cast discards qualifiers from pointer target type /local0/scratch/des/src/sys/contrib/dev/acpica/utglobal.c:607: warning: cast discards qualifiers from pointer target type /local0/scratch/des/src/sys/dev/acpica/acpi_acad.c:50: warning: `_THIS_MODULE' defined but not used /local0/scratch/des/src/sys/dev/acpica/acpi_cmbat.c:56: warning: `_THIS_MODULE' defined but not used /local0/scratch/des/src/sys/dev/acpica/acpi_powerres.c:274: warning: `acpi_pwr_deregister_consumer' defined but not used /local0/scratch/des/src/sys/dev/acpica/acpi_powerres.c:212: warning: `acpi_pwr_deregister_resource' defined but not used cc1: warnings being treated as errors /local0/scratch/des/src/sys/dev/ata/atapi-cam.c: In function `cam_rescan': /local0/scratch/des/src/sys/dev/ata/atapi-cam.c:615: warning: passing arg 1 of `xpt_print_path' makes pointer from integer without a cast *** Error code 1 Stop in /local0/scratch/des/obj/local0/scratch/des/src/sys/LINT. *** Error code 1 Stop in /local0/scratch/des/src. *** Error code 1 Stop in /local0/scratch/des/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 11:56:41 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D1D4437B400 for ; Mon, 12 Aug 2002 11:56:36 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A6DE43E70 for ; Mon, 12 Aug 2002 11:56:35 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id EAA07931; Tue, 13 Aug 2002 04:53:15 +1000 Date: Tue, 13 Aug 2002 04:58:17 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: David Xu Cc: "Andrey A. Chernov" , Julian Elischer , FreeBSD CURRENT Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) In-Reply-To: <20020812055315.7682.qmail@web20907.mail.yahoo.com> Message-ID: <20020813031722.T25520-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 11 Aug 2002, David Xu wrote: > following is patch for su, I can type "suspend" and stop $$ without the > problem you described, I have tested it under tcsh and bash, all works > for me. > > --- su.c Mon Aug 12 13:08:01 2002 > +++ su.c.new Mon Aug 12 13:16:14 2002 > @@ -329,10 +329,13 @@ > default: > while ((ret_pid = waitpid(child_pid, &statusp, WUNTRACED)) != -1) { > if (WIFSTOPPED(statusp)) { > - child_pgrp = tcgetpgrp(1); > kill(getpid(), SIGSTOP); > - tcsetpgrp(1, child_pgrp); > - kill(child_pid, SIGCONT); > + child_pgrp = getpgid(child_pid); > + if (tcgetpgrp(1) == getpgrp()) > + { > + tcsetpgrp(1, child_pgrp); > + kill(child_pid, SIGCONT); > + } > statusp = 1; > continue; > } Explanation of this patch: (1) su has shot itself in the foot using PAM. Normally the parent shell waits for children and handles them when they stop. The extra process for PAM is now in between the parent shell and the su shell, so the parent shell can't do this directly. The above code attempts to relay some aspects of job control back to the parent shell. It is not clear that it can do this properly without duplicating lots of shell specific job control, but I think it can do this in principle. There are related problems for propagation of SIGHUP to indirect descendants of login shells when the shell exits. Here there is at least there is an intermediate process that can relay the signals if necessary. I think propagation of SIGHUP is automatic if the intermediate process doesn't exit first and it doesn't change its job control stuff too much, so the SIGHUP problem doesn't affect PAMmed applications. (2) To relay SIGSTOP, the intermediate su just needs stop itself. To relay SIGCONT, the intermediate su needs to switch to enough of its child's job control environment before starting the child. Switching only fd 1's process group seems to be sufficient, but it is not easy to determine even that and the broken version got it wrong. The child's environment is very shell-dependent. Some of the following may depend on the initial shell being bash: (a) sh, csh and bash start a new process group (equal to their pid). zsh stays in the process group of the intermediate su process. (b) "kill -STOP $$ ... fg" worked in most (all?) cases because fd 1's pgrp is still the child's pgid when the child is killed in that way. For zsh the child's pgid is the same as the intermediate shell's so the pgrps can't be different, and for the other shells I think the pgrp hasn't been changed because the child can'tcontrol it (SIGSTOP is uncatchable) and the kernel doesn't. Later, switching fd 1's pgrp back to the child's pgid works except possbly for zsh because it is correct and different. (c) "suspend ... fg" failed for several reasons. First, something (presumably the child) sets fd 1's pgrp to the intermediate su's pgid, so tcgetpgrp(1) gives a wrong pgrp for restoring later. The patch fixes this by not getting the pgrp in this way. It uses getpgid(child_pid) instead. I think this works for at least normal shells. Second when the pgrp is restored, something (presumably the shell above the intermediate su, or the kernel) has already switched fd 1's pgrp to child's pgid instead of to the intermediate su's pgid (despite the intermediate su's being correct at SIGSTOP time for suspend but not for kill -STOP). Setting fd 1's pgrp to the value that it alread has is then fatal for reasons that I don't completely understand yet. The patch avoids the problem by not doing apparently-null tcsetpgrp()'s. Sending the SIGCONT seems to have no affect in this case, so I think shell above the su's has already started both the child su and the intermediate one and this isn't a problem until the su's get in each other's way. Putting printfs in the above code seems to make the problem easier to debug by ensuring that they get in each other's way :-). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 12: 9:25 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E903C37B400 for ; Mon, 12 Aug 2002 12:09:22 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE32943E3B for ; Mon, 12 Aug 2002 12:09:21 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id FAA09988; Tue, 13 Aug 2002 05:09:05 +1000 Date: Tue, 13 Aug 2002 05:14:07 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: "Andrey A. Chernov" Cc: Terry Lambert , David Xu , Julian Elischer , FreeBSD CURRENT Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) In-Reply-To: <20020812172131.GA2139@nagual.pp.ru> Message-ID: <20020813050607.R25861-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 12 Aug 2002, Andrey A. Chernov wrote: > On Tue, Aug 13, 2002 at 03:15:02 +1000, Bruce Evans wrote: > > > > Anyway, it has one blatant style bug (not 1TBS) and no explanation of > > the bug, so it should not have been committed verbatim. See another > > reply for an analysis of the patch. > > According to commit guide, explanations are not commited, only what is > changed. For explanation (terminal group mismatch) read whole thread, > especially David's analysis. The analysis in the thread seems to be incomplete. > What another reply you mean? I just wrote one :-). Rereading earlier analysis just gave me a hint about tcsetpgrp() to the same value causes problems: it causes an unexpected SIGTTOU because a background process attemps to do something (TIOCSPGRP) that can only be done in the foreground (the background process is forced to wait until it gets to the foreground, and it doesn't help for the change to be null since the process must be in the foreground to even check for null changes). Presumably the child su is in the foreground at that point. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 12:20:57 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D49A37B400 for ; Mon, 12 Aug 2002 12:20:51 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57ACD43E3B for ; Mon, 12 Aug 2002 12:20:50 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id FAA11329; Tue, 13 Aug 2002 05:20:19 +1000 Date: Tue, 13 Aug 2002 05:25:21 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Maksim Yevmenkin Cc: Maksim Yevmenkin , Subject: Re: Interrupt vs. polling on -current In-Reply-To: <3D57EFDB.94242A71@exodus.net> Message-ID: <20020813051700.M25922-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 12 Aug 2002, Maksim Yevmenkin wrote: > Bruce Evans wrote: > > > > On Sun, 11 Aug 2002, Maksim Yevmenkin wrote: > [...] > > > > BTW, i see "silo overflow" messages when i run ppp via null-modem > > > cable. in this configuration i'm using serial port 0 which is on > > > board and hase irq 4 with fast interrupts. > > > > What else is active when you get these? > > not much: X, user space ppp and i'm doing moderate size transfers > via ftp between my current laptop and FreeBSD 4.5 desktop. i also > see these errors while cvsup'ing my -current laptop. Some graphics cards can cause sio problems, by using too bus cycles so that sio doesn't get even an average of about 5 i/o cycles per character time that it needs to function. 5 might sound like not many, but it is 5 isa cycles so it takes 6 usec every 87 usec at 115200 bps. 20 devices wanting that much of the bus just won't work. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 12:29:56 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 845F137B400 for ; Mon, 12 Aug 2002 12:29:54 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11AC743E42 for ; Mon, 12 Aug 2002 12:29:54 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.5/8.12.2) with ESMTP id g7CJTo8A080464; Mon, 12 Aug 2002 12:29:50 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.5/8.12.5/Submit) id g7CJTnVm080463; Mon, 12 Aug 2002 12:29:49 -0700 (PDT) Date: Mon, 12 Aug 2002 12:29:49 -0700 From: "David O'Brien" To: "Andrey A. Chernov" Cc: Bruce Evans , Terry Lambert , David Xu , Julian Elischer , FreeBSD CURRENT Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) Message-ID: <20020812192949.GB4787@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <20020812113101.GA2089@nagual.pp.ru> <20020813031235.O25510-100000@gamplex.bde.org> <20020812172131.GA2139@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020812172131.GA2139@nagual.pp.ru> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Aug 12, 2002 at 09:21:31PM +0400, Andrey A. Chernov wrote: > On Tue, Aug 13, 2002 at 03:15:02 +1000, Bruce Evans wrote: > > > > Anyway, it has one blatant style bug (not 1TBS) and no explanation of > > the bug, so it should not have been committed verbatim. See another > > reply for an analysis of the patch. > > According to commit guide, explanations are not commited, only what is > changed. For explanation (terminal group mismatch) read whole thread, > especially David's analysis. Wrong Andrey. For hairy code, there should be comments -- especially if one must realize someone obtuse to understand how the code works. 6mo. from now no one will be able to find the explanation in a mailing list. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 12:36:58 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DFD8537B400; Mon, 12 Aug 2002 12:36:52 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6133B43E3B; Mon, 12 Aug 2002 12:36:52 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.5/8.12.2) with ESMTP id g7CJap8A080544; Mon, 12 Aug 2002 12:36:51 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.5/8.12.5/Submit) id g7CJapko080543; Mon, 12 Aug 2002 12:36:51 -0700 (PDT) Date: Mon, 12 Aug 2002 12:36:51 -0700 From: "David O'Brien" To: Eric Melville Cc: Samuel Tardieu , current@FreeBSD.org Subject: Re: pkg-comment Message-ID: <20020812193651.GC4787@dragon.nuxi.com> Reply-To: obrien@FreeBSD.org Mail-Followup-To: David O'Brien , Eric Melville , Samuel Tardieu , current@freebsd.org References: <2002-08-11-20-49-28+trackit+sam@inf.enst.fr> <20020811122319.A11471@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020811122319.A11471@FreeBSD.org> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Aug 11, 2002 at 12:23:19PM -0700, Eric Melville wrote: > > Since pkg-comment contains only a single line, wouldn't it be more subtile > > to put it in a COMMENT field as does NetBSD, instead of using a file? I think > > it would speed up updates. > > http://people.FreeBSD.org/~eric/ports-comment.diff > > Will Andrews said that portmgr would be going over this sometime soon, > hopefully they will commit it. That will certainly be a big help. When we got rid of the pkg/ and patches/ directories I begged Satoshi to go farther and put patches in main port directory and get rid of pkg/COMMENT. That was back when we hit 3000 ports -- I guess people didn't want to accept we would hit 8000 in only a few years. Of course why we don't just put "COMMENT=blah" in the ports's Makefile To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 12:38: 6 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0377037B400 for ; Mon, 12 Aug 2002 12:38:05 -0700 (PDT) Received: from tomts22-srv.bellnexxia.net (tomts22.bellnexxia.net [209.226.175.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B12643E77 for ; Mon, 12 Aug 2002 12:38:04 -0700 (PDT) (envelope-from hottymaria@gosympatico.ca) Received: from [209.226.175.136] by tomts22-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with SMTP id <20020812193759.UNUJ16788.tomts22-srv.bellnexxia.net@[209.226.175.136]>; Mon, 12 Aug 2002 15:37:59 -0400 From: To: Subject: Hey, whats up? Date: Mon, 12 Aug 2002 15:38:50 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20020812193759.UNUJ16788.tomts22-srv.bellnexxia.net@[209.226.175.136]> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG

My buddies and I were average people, just like you...Then we had our great idea...
find young hot girls
and proposition them to fool around on video tape.
Armed with a camera, a smooth tongue, and a couple of bucks we have made quite a few interesting videos!
BEST OF ALL... MY SITE IS 100% FREE!! If this sounds like something of interest to you,
click here You will be glad you did.











If you never want to hear from me again, please click here and I will remove you from all future mailings.

----- Get your free WebMail account from Sympatico-Lycos at www.sympatico.ca ----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 12:41:27 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBE4E37B400 for ; Mon, 12 Aug 2002 12:41:24 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC86243E70 for ; Mon, 12 Aug 2002 12:41:23 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.5/8.12.2) with ESMTP id g7CJfK8A080596; Mon, 12 Aug 2002 12:41:20 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.5/8.12.5/Submit) id g7CJfJxo080595; Mon, 12 Aug 2002 12:41:19 -0700 (PDT) Date: Mon, 12 Aug 2002 12:41:19 -0700 From: "David O'Brien" To: Szilveszter Adam Cc: current@FreeBSD.ORG Subject: Re: Weirdness trying -STABLE -> -CURRENT Message-ID: <20020812194119.GD4787@dragon.nuxi.com> Reply-To: current@FreeBSD.ORG Mail-Followup-To: David O'Brien , Szilveszter Adam , current@FreeBSD.ORG References: <200208111837.g7BIb6Be019544@bunrab.catwhisker.org> <20020811194119.GA897@fonix.adamsfamily.xx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020811194119.GA897@fonix.adamsfamily.xx> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Aug 11, 2002 at 09:41:19PM +0200, Szilveszter Adam wrote: > This is known problem, straight updates by simply "make world" do not > work from -STABLE. Therefore, one has to very carefully follow the > procedure described in the UPDATING file even though normally not so > many steps would be needed. Uh... did you actually READ all that text you snipped out? David *DID* follow the correct steps -- please go back and read what he did: cvs up make buildworld make buildkernel create /boot/device.hints make install kernel *** reboot **** make install world. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 13: 1:22 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E1B637B400; Mon, 12 Aug 2002 13:01:06 -0700 (PDT) Received: from tomts11-srv.bellnexxia.net (tomts11.bellnexxia.net [209.226.175.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36EA643E81; Mon, 12 Aug 2002 13:01:05 -0700 (PDT) (envelope-from hottymaria@gosympatico.ca) Received: from [209.226.175.136] by tomts11-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with SMTP id <20020812200118.SSAN1432.tomts11-srv.bellnexxia.net@[209.226.175.136]>; Mon, 12 Aug 2002 16:01:18 -0400 From: To: Subject: Hey, whats up? Date: Mon, 12 Aug 2002 16:01:51 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20020812200118.SSAN1432.tomts11-srv.bellnexxia.net@[209.226.175.136]> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG

My buddies and I were average people, just like you...Then we had our great idea...
find young hot girls
and proposition them to fool around on video tape.
Armed with a camera, a smooth tongue, and a couple of bucks we have made quite a few interesting videos!
BEST OF ALL... MY SITE IS 100% FREE!! If this sounds like something of interest to you,
click here You will be glad you did.











If you never want to hear from me again, please click here and I will remove you from all future mailings.

----- Get your free WebMail account from Sympatico-Lycos at www.sympatico.ca ----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 13: 9: 2 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 810E837B400 for ; Mon, 12 Aug 2002 13:08:59 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D41B43E42 for ; Mon, 12 Aug 2002 13:08:58 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id FAA14541; Tue, 13 Aug 2002 05:47:04 +1000 Date: Tue, 13 Aug 2002 05:52:07 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Bob Willcox Cc: Ian Dowse , Alexander Leidinger , , Subject: Re: Is anyone else having trouble with dump(8) on -current? In-Reply-To: <20020812140551.GC45699@luke.immure.com> Message-ID: <20020813055009.N25992-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 12 Aug 2002, Bob Willcox wrote: > On Mon, Aug 12, 2002 at 10:16:56PM +1000, Bruce Evans wrote: > > [snip] > > > I just saw a reply from the original (?) author of the PR. Apparently > > dump gets killed by amanda. Does amanda actually kill its children > > enough to matter? > > >From my experience/use with amanda I know that it _always_ kills the > dumps that it starts when doing its estimates at the beginning (often > several per file system, one for each dump level it's interested in). I > don't think it deliberately kills the dumps when actually dumping the > data. :-) So the problem seems to be mainly that dump expects all syscalls to be restarted after it catches these signals, and open() isn't restarted. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 13:10:17 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90E8937B400; Mon, 12 Aug 2002 13:10:11 -0700 (PDT) Received: from mx3.datanet.hu (mx3.datanet.hu [194.149.13.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id A75C543E75; Mon, 12 Aug 2002 13:10:10 -0700 (PDT) (envelope-from sziszi@bsd.hu) Received: from fonix.adamsfamily.xx (nilus-1875.adsl.datanet.hu [195.56.95.97]) by mx3.datanet.hu (DataNet) with ESMTP id D4F441E9F0C; Mon, 12 Aug 2002 22:10:08 +0200 (CEST) Received: from fonix.adamsfamily.xx (localhost [127.0.0.1]) by fonix.adamsfamily.xx (8.12.5/8.12.5) with ESMTP id g7CKA6Am010673; Mon, 12 Aug 2002 22:10:06 +0200 (CEST) (envelope-from sziszi@bsd.hu) Received: (from cc@localhost) by fonix.adamsfamily.xx (8.12.5/8.12.5/Submit) id g7CKA6km010672; Mon, 12 Aug 2002 22:10:06 +0200 (CEST) X-Authentication-Warning: fonix.adamsfamily.xx: cc set sender to sziszi@bsd.hu using -f Date: Mon, 12 Aug 2002 22:10:06 +0200 From: Szilveszter Adam To: current@FreeBSD.ORG Cc: "David O'Brien" Subject: Re: Weirdness trying -STABLE -> -CURRENT Message-ID: <20020812201005.GA10290@fonix.adamsfamily.xx> Mail-Followup-To: Szilveszter Adam , current@FreeBSD.ORG, David O'Brien References: <200208111837.g7BIb6Be019544@bunrab.catwhisker.org> <20020811194119.GA897@fonix.adamsfamily.xx> <20020812194119.GD4787@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020812194119.GD4787@dragon.nuxi.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Aug 12, 2002 at 12:41:19PM -0700, David O'Brien wrote: > On Sun, Aug 11, 2002 at 09:41:19PM +0200, Szilveszter Adam wrote: > > This is known problem, straight updates by simply "make world" do not > > work from -STABLE. Therefore, one has to very carefully follow the > > procedure described in the UPDATING file even though normally not so > > many steps would be needed. > > Uh... did you actually READ all that text you snipped out? David *DID* > follow the correct steps -- please go back and read what he did: Did you actually read my second message in this thread? It was sent only a short time after the first one. (and no need to shout I am sitting close to the monitor & keys) Since David has not yet gotten back to us I have no more ideas since that second posting. -- Regards: Szilveszter ADAM Szombathely Hungary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 13:19: 5 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B165C37B400 for ; Mon, 12 Aug 2002 13:19:02 -0700 (PDT) Received: from clever.eusc.inter.net (clever.eusc.inter.net [213.73.101.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A65B43E3B for ; Mon, 12 Aug 2002 13:19:02 -0700 (PDT) (envelope-from msch@snafu.de) Received: from tc12-n67-173.de.inter.net ([213.73.67.173] helo=there) by clever.eusc.inter.net with smtp (Exim 3.36 #1) id 17eLeW-00042a-00 for freebsd-current@FreeBSD.ORG; Mon, 12 Aug 2002 22:19:00 +0200 Content-Type: text/plain; charset="iso-8859-1" From: Matthias Schuendehuette Reply-To: msch@snafu.de Organization: Micro$oft-free Zone To: freebsd-current@FreeBSD.ORG Subject: xdm-Problems with PAM Date: Mon, 12 Aug 2002 22:19:00 +0200 X-Mailer: KMail [version 1.3.1] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I set up xdm on my -current machine last Saturday and have the same problems still with todays (12.Aug) -current: When I try to login with 'xdm', the following errors come up: Aug 12 18:20:02 current : unable to dlopen(/usr/lib/pam_nologin.so) Aug 12 18:20:02 current : [dlerror: /usr/lib/pam_nologin.so: Undefined \ symbol "_pam_verbose_error"] Aug 12 18:20:02 current : adding faulty module: /usr/lib/pam_nologin.so Aug 12 18:20:02 current : unable to dlopen(/usr/lib/pam_unix.so) Aug 12 18:20:02 current : [dlerror: /usr/lib/pam_unix.so: Undefined \ symbol "_pam_verbose_error"] Aug 12 18:20:02 current : adding faulty module: /usr/lib/pam_unix.so Aug 12 18:20:02 current : unable to dlopen(/usr/lib/pam_opie.so) Aug 12 18:20:02 current : [dlerror: /usr/lib/pam_opie.so: Undefined \ symbol "_openpam_log"] Aug 12 18:20:02 current : adding faulty module: /usr/lib/pam_opie.so Aug 12 18:20:02 current : unable to dlopen(/usr/lib/pam_opieaccess.so) Aug 12 18:20:02 current : [dlerror: /usr/lib/pam_opieaccess.so: \ Undefined symbol "_pam_verbose_error"] Aug 12 18:20:02 current : adding faulty module: \ /usr/lib/pam_opieaccess.so Aug 12 18:20:02 current : unable to dlopen(/usr/lib/pam_lastlog.so) Aug 12 18:20:02 current : [dlerror: /usr/lib/pam_lastlog.so: Undefined symbol "_openpam_log"] Aug 12 18:20:02 current : adding faulty module: /usr/lib/pam_lastlog.so 'Known behaviour' or real problems? -- Ciao/BSD - Matthias Matthias Schuendehuette , Berlin (Germany) Powered by FreeBSD 4.6-STABLE To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 13:20:49 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EFA037B400; Mon, 12 Aug 2002 13:20:45 -0700 (PDT) Received: from mail.nsu.ru (mx.nsu.ru [193.124.215.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76D1043E3B; Mon, 12 Aug 2002 13:20:42 -0700 (PDT) (envelope-from fjoe@iclub.nsu.ru) Received: from drweb by mail.nsu.ru with drweb-scanned (Exim 3.20 #1) id 17eLg6-0005Si-00; Tue, 13 Aug 2002 03:20:38 +0700 Received: from iclub.nsu.ru ([193.124.215.97] ident=root) by mail.nsu.ru with esmtp (Exim 3.20 #1) id 17eLg5-0005SN-00; Tue, 13 Aug 2002 03:20:38 +0700 Received: from iclub.nsu.ru (fjoe@localhost [127.0.0.1]) by iclub.nsu.ru (8.12.5/8.12.5) with ESMTP id g7CKKa1m069017; Tue, 13 Aug 2002 03:20:37 +0700 (NSS) (envelope-from fjoe@iclub.nsu.ru) Received: (from fjoe@localhost) by iclub.nsu.ru (8.12.5/8.12.5/Submit) id g7CKKZg8069015; Tue, 13 Aug 2002 03:20:35 +0700 (NSS) Date: Tue, 13 Aug 2002 03:20:34 +0700 From: Max Khon To: "David O'Brien" Cc: Eric Melville , Samuel Tardieu , current@freebsd.org Subject: Re: pkg-comment Message-ID: <20020813032034.A67671@iclub.nsu.ru> References: <2002-08-11-20-49-28+trackit+sam@inf.enst.fr> <20020811122319.A11471@FreeBSD.org> <20020812193651.GC4787@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020812193651.GC4787@dragon.nuxi.com>; from obrien@freebsd.org on Mon, Aug 12, 2002 at 12:36:51PM -0700 X-Envelope-To: obrien@freebsd.org, eric@freebsd.org, sam@inf.enst.fr, current@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi, there! On Mon, Aug 12, 2002 at 12:36:51PM -0700, David O'Brien wrote: > > > Since pkg-comment contains only a single line, wouldn't it be more subtile > > > to put it in a COMMENT field as does NetBSD, instead of using a file? I think > > > it would speed up updates. > > > > http://people.FreeBSD.org/~eric/ports-comment.diff > > > > Will Andrews said that portmgr would be going over this sometime soon, > > hopefully they will commit it. > > That will certainly be a big help. When we got rid of the pkg/ and > patches/ directories I begged Satoshi to go farther and put patches in > main port directory and get rid of pkg/COMMENT. That was back when we > hit 3000 ports -- I guess people didn't want to accept we would hit 8000 > in only a few years. > > Of course why we don't just put "COMMENT=blah" in the ports's Makefile Posted patch uses `head -1 ${DESCR}` however. I'd prefer to go NetBSD way and use COMMENT=blah for ports comments /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 13:28:53 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D32837B400 for ; Mon, 12 Aug 2002 13:28:52 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 881D443E4A for ; Mon, 12 Aug 2002 13:28:51 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id GAA21370; Tue, 13 Aug 2002 06:28:38 +1000 Date: Tue, 13 Aug 2002 06:33:40 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Maksim Yevmenkin Cc: "M. Warner Losh" , Subject: Re: Interrupt vs. polling on -current In-Reply-To: <3D57EEA5.96D397CC@exodus.net> Message-ID: <20020813062053.O26164-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 12 Aug 2002, Maksim Yevmenkin wrote: > Xircom card is a Bluetooth card with UART interface. Bluetooth link > speed is about 700KB/s. I do not think that standard 16550A UART with > 16 bytes FIFO can handle such speed. I also can not believe that Xircom > would sell such low speed Bluetooth card (115200 bit/s). I think that > Xircom card must have a much bigger FIFO in order to handle full speed. > W2K, for example, has special driver for Xircom card. Big fifos for dumb hardware can also cause by problems by taking a long time to drain, thus increasing latency for other devices. "dumb hardware" here means almost anything that must be accessed in PIO mode. One of the main reasons why sio uses a fast interrupt handler was that such hardware was common 10-15 years ago (for pre-DMA IDE disks). In Linux the disk driver (sort of) used a fast interrupt handler too, and competition between these handlers caused many silo overflows. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 13:38:54 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 305D637B41C for ; Mon, 12 Aug 2002 13:38:46 -0700 (PDT) Received: from scl8owa01.int.exodus.net (scl8out01.exodus.net [66.35.230.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5C1E43E77 for ; Mon, 12 Aug 2002 13:38:30 -0700 (PDT) (envelope-from Maksim.Yevmenkin@exodus.net) Received: from scl8owa01.int.exodus.net ([66.35.230.241]) by scl8owa01.int.exodus.net with Microsoft SMTPSVC(5.0.2195.4905); Mon, 12 Aug 2002 13:40:04 -0700 Received: from exodus.net ([206.220.227.147]) by scl8owa01.int.exodus.net over TLS secured channel with Microsoft SMTPSVC(5.0.2195.4905); Mon, 12 Aug 2002 13:40:04 -0700 Message-ID: <3D581CC0.8B91EFE2@exodus.net> Date: Mon, 12 Aug 2002 13:38:24 -0700 From: Maksim Yevmenkin X-Mailer: Mozilla 4.78 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: Bruce Evans Cc: Maksim Yevmenkin , current@FreeBSD.ORG Subject: Re: Interrupt vs. polling on -current References: <20020813051700.M25922-100000@gamplex.bde.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 12 Aug 2002 20:40:04.0610 (UTC) FILETIME=[701D3E20:01C24240] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bruce Evans wrote: > > On Mon, 12 Aug 2002, Maksim Yevmenkin wrote: > > > Bruce Evans wrote: > > > > > > On Sun, 11 Aug 2002, Maksim Yevmenkin wrote: > > [...] > > > > > > BTW, i see "silo overflow" messages when i run ppp via null-modem > > > > cable. in this configuration i'm using serial port 0 which is on > > > > board and hase irq 4 with fast interrupts. > > > > > > What else is active when you get these? > > > > not much: X, user space ppp and i'm doing moderate size transfers > > via ftp between my current laptop and FreeBSD 4.5 desktop. i also > > see these errors while cvsup'ing my -current laptop. > > Some graphics cards can cause sio problems, by using too bus cycles so > that sio doesn't get even an average of about 5 i/o cycles per character > time that it needs to function. 5 might sound like not many, but it is > 5 isa cycles so it takes 6 usec every 87 usec at 115200 bps. 20 devices > wanting that much of the bus just won't work. WHOA! that scares the hell out of me. You sound like any hardware that uses interrupt/bus might hurt poor "sio" driver pretty badly. There is not much use in computer that has only CPU and serial port :) i'm not trying to blame anybody here, but rather understand what is wrong. BTW, i have s3 savage/mx and neomagic/av video cards in my laptops. thanks, max To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 13:54:29 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2454B37B400; Mon, 12 Aug 2002 13:54:27 -0700 (PDT) Received: from corbulon.video-collage.com (corbulon.video-collage.com [64.35.99.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65FA743E3B; Mon, 12 Aug 2002 13:54:26 -0700 (PDT) (envelope-from mi+mx@aldan.algebra.com) Received: from misha.murex.com (250-217.customer.cloud9.net [168.100.250.217]) by corbulon.video-collage.com (8.12.2/8.12.2) with ESMTP id g7CKsNe5023026 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=FAIL); Mon, 12 Aug 2002 16:54:25 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) X-Authentication-Warning: corbulon.video-collage.com: Host 250-217.customer.cloud9.net [168.100.250.217] claimed to be misha.murex.com Content-Type: text/plain; charset="us-ascii" From: Mikhail Teterin Organization: Virtual Estates, Inc. To: stablse@FreeBSD.org, current@FreeBSD.org Subject: Dual AthlonMP and FreeBSD Date: Mon, 12 Aug 2002 16:55:03 -0400 User-Agent: KMail/1.4.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208121655.03716.mi+mx@aldan.algebra.com> X-Scanned-By: MIMEDefang 2.15 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi! Would FreeBSD (-current or -stable) work (in SMP mode) on a pair of Athlons, or is our SMP only for Intel chips? Thanks! -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 14: 7: 8 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A16E37B435 for ; Mon, 12 Aug 2002 14:07:03 -0700 (PDT) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id BB91743E6A for ; Mon, 12 Aug 2002 14:07:01 -0700 (PDT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 12 Aug 2002 22:06:59 +0100 (BST) Date: Mon, 12 Aug 2002 22:06:59 +0100 From: David Malone To: Matthias Schuendehuette Cc: freebsd-current@FreeBSD.ORG Subject: Re: xdm-Problems with PAM Message-ID: <20020812210659.GA25843@walton.maths.tcd.ie> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Aug 12, 2002 at 10:19:00PM +0200, Matthias Schuendehuette wrote: > Aug 12 18:20:02 current : [dlerror: /usr/lib/pam_lastlog.so: Undefined > symbol "_openpam_log"] > Aug 12 18:20:02 current : adding faulty module: /usr/lib/pam_lastlog.so > > 'Known behaviour' or real problems? I recompiled xdm and the problem went away - I'm not sure if I should have thought about the problem more carefully. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 14:11:18 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73EBF37B400; Mon, 12 Aug 2002 14:11:12 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0DA643E6A; Mon, 12 Aug 2002 14:11:11 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.3/8.12.3) with ESMTP id g7CLArJU023888; Mon, 12 Aug 2002 14:10:53 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.3/8.12.3/Submit) id g7CLArZt023887; Mon, 12 Aug 2002 14:10:53 -0700 Date: Mon, 12 Aug 2002 14:10:53 -0700 From: Brooks Davis To: Mikhail Teterin Cc: stablse@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: Dual AthlonMP and FreeBSD Message-ID: <20020812141053.A23219@Odin.AC.HMC.Edu> References: <200208121655.03716.mi+mx@aldan.algebra.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="IJpNTDwzlM2Ie8A6" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200208121655.03716.mi+mx@aldan.algebra.com>; from mi+mx@aldan.algebra.com on Mon, Aug 12, 2002 at 04:55:03PM -0400 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 12, 2002 at 04:55:03PM -0400, Mikhail Teterin wrote: >=20 > Would FreeBSD (-current or -stable) work (in SMP mode) on a pair of > Athlons, or is our SMP only for Intel chips? Thanks! Dual Athlons work. They use the same programming interface as the Intel chips. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --IJpNTDwzlM2Ie8A6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9WCRdXY6L6fI4GtQRAmXMAKCDXYmztVleCBaXJ9A1YsZJINTpcgCePD0g kmxbt72n+B5EAfJqPN5AigQ= =XM7+ -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 16:16:53 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 745AC37B400 for ; Mon, 12 Aug 2002 16:16:52 -0700 (PDT) Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15F7043E70 for ; Mon, 12 Aug 2002 16:16:52 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0456.cvx22-bradley.dialup.earthlink.net ([209.179.199.201] helo=mindspring.com) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17eOQH-0004kw-00; Mon, 12 Aug 2002 16:16:30 -0700 Message-ID: <3D584197.44EE0075@mindspring.com> Date: Mon, 12 Aug 2002 16:15:35 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Bruce Evans Cc: Bob Willcox , Ian Dowse , Alexander Leidinger , bhlewis@wossname.net, freebsd-current@FreeBSD.ORG Subject: Re: Is anyone else having trouble with dump(8) on -current? References: <20020813055009.N25992-100000@gamplex.bde.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bruce Evans wrote: > > >From my experience/use with amanda I know that it _always_ kills the > > dumps that it starts when doing its estimates at the beginning (often > > several per file system, one for each dump level it's interested in). I > > don't think it deliberately kills the dumps when actually dumping the > > data. :-) > > So the problem seems to be mainly that dump expects all syscalls to be > restarted after it catches these signals, and open() isn't restarted. POSIX sucks... siginterrupt(3) is your friend, in this case. Unfortunately, someone broke it and added a "sig" parameter, and you have to call it once per signal now, which means enumerating signals on an unknown host system (brilliant engineering, that). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 16:35:53 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38E4837B400 for ; Mon, 12 Aug 2002 16:35:52 -0700 (PDT) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2132943E65 for ; Mon, 12 Aug 2002 16:35:51 -0700 (PDT) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.5/8.12.5) with ESMTP id g7CNZO6D002862; Tue, 13 Aug 2002 03:35:28 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.5/8.12.5/Submit) id g7CNZFpE002861; Tue, 13 Aug 2002 03:35:15 +0400 (MSD) (envelope-from ache) Date: Tue, 13 Aug 2002 03:35:10 +0400 From: "Andrey A. Chernov" To: Bruce Evans Cc: David Xu , Julian Elischer , FreeBSD CURRENT Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) Message-ID: <20020812233508.GA2813@nagual.pp.ru> References: <20020812055315.7682.qmail@web20907.mail.yahoo.com> <20020813031722.T25520-100000@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020813031722.T25520-100000@gamplex.bde.org> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Aug 13, 2002 at 04:58:17 +1000, Bruce Evans wrote: > > Explanation of this patch: Thanx. Could you please commit this explanation, or some re-phrasing of it into su.c? -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 17: 4:49 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0B8837B400 for ; Mon, 12 Aug 2002 17:04:44 -0700 (PDT) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36B8443E65 for ; Mon, 12 Aug 2002 17:04:44 -0700 (PDT) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.12.5/8.12.5) with ESMTP id g7D04fmr003784; Mon, 12 Aug 2002 17:04:41 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.12.5/8.12.5/Submit) id g7D04e2T003783; Mon, 12 Aug 2002 17:04:40 -0700 (PDT) Date: Mon, 12 Aug 2002 17:04:40 -0700 (PDT) From: David Wolfskill Message-Id: <200208130004.g7D04e2T003783@bunrab.catwhisker.org> To: current@FreeBSD.ORG, sziszi@bsd.hu Subject: Re: Weirdness trying -STABLE -> -CURRENT In-Reply-To: <20020811194119.GA897@fonix.adamsfamily.xx> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >Date: Sun, 11 Aug 2002 21:41:19 +0200 >From: Szilveszter Adam >First off, sorry for the lot of snippage but this mail was really >long... Yeah, it was; sorry. That's what I get for trying to be complete. :-) I was able to re-do the steps, and evtually get to a point: freebeast(5.0-C)[1] df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s3a 158767 63620 82446 44% / devfs 1 1 0 100% /dev /dev/ad0s3e 1873113 709999 1013265 41% /usr /dev/ad0s4h 27728233 11141233 14368742 44% /common /dev/ad0s4g 2032839 487508 1382704 26% /var procfs 4 4 0 100% /proc freebeast(5.0-C)[2] uname -a FreeBSD freebeast.catwhisker.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Mon Aug 12 15:34:30 PDT 2002 root@freebeast.catwhisker.org:/common/S3/obj/usr/src/sys/FREEBEAST i386 freebeast(5.0-C)[3] which I consider "success". (Well, assuming I can use the resulting system to rebuild itself, anyway.) In this last attempt, I still got shell dying a rather un-graceful death, probably (still) as a result of a SIGSYS. The key difference this time was that after this happened, I hit RESET on the machine, and when it started to come up, I interrupted the process to boot single-user mode, and inserted some extra steps (in pseudo-unidiff format relative to present contents of the relevant section of UPDATING): To upgrade from 4.x-stable to current ------------------------------------- make buildworld make buildkernel KERNCONF=YOUR_KERNEL_HERE cp src/sys/${MACHINE_ARCH}/conf/GENERIC.hints /boot/device.hints [2] make installkernel KERNCONF=YOUR_KERNEL_HERE reboot in single user [3] mergemaster -p [5] make installworld + + reboot in single user [6] + make installworld mergemaster [4] [1] ... + + [6] From the bootblocks, boot -s, and then do + fsck -p + reboot in single user [3] I do not claim that this is optimal, or that the result will actually be solid enough to survive a "make buildworld", but it seems to me that the instructions in UPDATING for the "upgrade from 4.x-stable to current" case are not adequate in and of themselves as they presently stand (at least in soome cases, mine among them), so I offer the above as a possible modification that might help some folks. I will save my logs (typescripts, really) of what I did for a few days, in case anyone would care to review them. Note that this amounts to about 10 MB of data, before you ask to get a copy. Thanks, david (links to my resume at http://www.catwhisker.org/~david) -- David H. Wolfskill david@catwhisker.org To paraphrase David Hilbert, there can be no conflicts between Microsoft and the discipline of systems administration, since they have nothing in common. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 17:12:12 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA17E37B400 for ; Mon, 12 Aug 2002 17:12:10 -0700 (PDT) Received: from falcon.mail.pas.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 755BB43E4A for ; Mon, 12 Aug 2002 17:12:10 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0130.cvx21-bradley.dialup.earthlink.net ([209.179.192.130] helo=mindspring.com) by falcon.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17ePHg-0005b3-00; Mon, 12 Aug 2002 17:11:41 -0700 Message-ID: <3D584E87.4EAB0D0E@mindspring.com> Date: Mon, 12 Aug 2002 17:10:47 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Andrey A. Chernov" Cc: David Xu , Julian Elischer , FreeBSD CURRENT Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) References: <20020812055315.7682.qmail@web20907.mail.yahoo.com> <20020812104959.GA1645@nagual.pp.ru> <3D579603.3FA86DD7@mindspring.com> <20020812113101.GA2089@nagual.pp.ru> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Andrey A. Chernov" wrote: > > UGH! > > > > #1 License on patch is GPL > > Why not Microsoft? I don't unserstand the question. Why not the same license that's areleady on the source code for "su"? > > #2 I guess now that this irritant is gone, the signals code > > will remain screwed up, until some time later when you > > see the shark fin above water, just before it bites > > someone else? > > Read commit message 2 or 3 times. Meditate on each word. I did. It's still an order of operation problem in the kernel during fork(), as Bruce pointed out in a later posting (so me pointing it out here is probably redundant... 8-)). I still think other code is going to have the problem, too, so changing su alone doesn't fix things. Better to not deliver the tty output stopped signal. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 17:19: 3 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C6E537B400; Mon, 12 Aug 2002 17:18:56 -0700 (PDT) Received: from CRWdog.demon.co.uk (p69-199.acedsl.com [66.114.69.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F06343E72; Mon, 12 Aug 2002 17:18:47 -0700 (PDT) (envelope-from spadger@best.com) Received: from localhost (localhost [127.0.0.1]) by CRWdog.demon.co.uk (Postfix) with ESMTP id 55400D7; Mon, 12 Aug 2002 20:18:42 -0400 (EDT) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: stable@FreeBSD.ORG, current@FreeBSD.ORG Cc: =?iso-8859-1?Q?S=F8ren?= Schmidt , Thomas Quinot Subject: CAM-ATAPI status? Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_915219238P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Mon, 12 Aug 2002 20:18:42 -0400 From: Andy Sparrow Message-Id: <20020813001842.55400D7@CRWdog.demon.co.uk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --==_Exmh_915219238P Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi, What's the status of the CAM/ATAPI integration? Is anyone thinking of = working on it? When last mentioned, it was mooted that some work needed to be done to = tidy things up. Since then, it's gone very quiet - specifically, I don't = seem to recall seeing any specifics about what needed to be cleaned up. Some time later (what it is now, 6 months?), it's not in the tree, and I = suspect that the happy ATAPI/CAM users are either applying patches = locally to keep using this useful functionality, or bemoaning the fact = that FreeBSD doesn't let them use cdrecord with ATAPI CD-Rs.... Whilst I appreciate the need for coding standards and good-quality code, = (and indeed this is a large part of my personal reasons for choosing = this OS), it seems to me that this has kind of slipped through the = cracks. I've been using the CAM/ATAPI patches on -STABLE for some time now, and = it Just Works - I've burned quite a lot of CD-R's and CD-RW's with my = internal laptop drive and the latest 'cdrecord' from ports, and neither = this nor anything else on the machine appears to suffer unduly. What I'd *really* like to see is for the CAM/ATAPI stuff to go into 4.7 = - it seems to me that people choose the OS for stability, performance = and, let's not forget, *features*, what you can actually /do/ with the = machine. Regards, AS --==_Exmh_915219238P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) Comment: Exmh version 2.5 07/13/2001 iD8DBQE9WFBiPHh895bDXeQRAuISAKC9IfvsXAWVb/ysJrAbuRooGui03ACgiS9r cDRoKTOUmcGueXJ9d50Mm18= =4PL9 -----END PGP SIGNATURE----- --==_Exmh_915219238P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 17:27:58 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CDC637B401 for ; Mon, 12 Aug 2002 17:27:54 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 707D843E65 for ; Mon, 12 Aug 2002 17:27:50 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 33636 invoked by uid 1000); 13 Aug 2002 00:27:51 -0000 Date: Mon, 12 Aug 2002 17:27:51 -0700 (PDT) From: Nate Lawson To: Andy Sparrow Cc: stable@FreeBSD.ORG, current@FreeBSD.ORG, =?iso-8859-1?Q?S=F8ren?= Schmidt , Thomas Quinot Subject: Re: CAM-ATAPI status? In-Reply-To: <20020813001842.55400D7@CRWdog.demon.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 12 Aug 2002, Andy Sparrow wrote: > Some time later (what it is now, 6 months?), it's not in the tree, and I > suspect that the happy ATAPI/CAM users are either applying patches > locally to keep using this useful functionality, or bemoaning the fact > that FreeBSD doesn't let them use cdrecord with ATAPI CD-Rs.... You'll be happy to tell them sys/dev/ata/atapi-cam.c: Revision 1.1 Fri Aug 9 20:51:53 2002 UTC (3 days, 3 hours ago) by sos Branch: MAIN Add the ability to use ATAPI devices via CAM. The CAM<>ATAPI layer was submitted by "Thomas Quinot " changes form the version on the net by me (formatting, ability to be used alone without the ATAPI native device driver, proper speed reporting...) See /sys/conf/NOTES for usage. Submitted by: Thomas Quinot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 18:20:26 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCF9937B406; Mon, 12 Aug 2002 18:20:11 -0700 (PDT) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77F4043E6A; Mon, 12 Aug 2002 18:20:11 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020813012011.PBRD19356.rwcrmhc51.attbi.com@InterJet.elischer.org>; Tue, 13 Aug 2002 01:20:11 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id SAA13971; Mon, 12 Aug 2002 18:13:22 -0700 (PDT) Date: Mon, 12 Aug 2002 18:13:20 -0700 (PDT) From: Julian Elischer To: Andy Sparrow Cc: stable@FreeBSD.ORG, current@FreeBSD.ORG, =?iso-8859-1?Q?S=F8ren?= Schmidt , Thomas Quinot Subject: Re: CAM-ATAPI status? In-Reply-To: <20020813001842.55400D7@CRWdog.demon.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG As I mentionned recently.. I think having it in the tree far outweighs having it NOT in the tree. THe first time this was brought up over a year ago it was said that the patches were not quite correct. It was also said they would be corrected "soon" or something.. Sonn has come an gone... if anyone can get me -current patches to do this I'll commit them now and they can be cleaned up later. that'll at least get them started on the path to 4.7... julian On Mon, 12 Aug 2002, Andy Sparrow wrote: > > Hi, > > What's the status of the CAM/ATAPI integration? Is anyone thinking of > working on it? > > When last mentioned, it was mooted that some work needed to be done to > tidy things up. Since then, it's gone very quiet - specifically, I don't > seem to recall seeing any specifics about what needed to be cleaned up. > > Some time later (what it is now, 6 months?), it's not in the tree, and I > suspect that the happy ATAPI/CAM users are either applying patches > locally to keep using this useful functionality, or bemoaning the fact > that FreeBSD doesn't let them use cdrecord with ATAPI CD-Rs.... > > Whilst I appreciate the need for coding standards and good-quality code, > (and indeed this is a large part of my personal reasons for choosing > this OS), it seems to me that this has kind of slipped through the > cracks. > > I've been using the CAM/ATAPI patches on -STABLE for some time now, and > it Just Works - I've burned quite a lot of CD-R's and CD-RW's with my > internal laptop drive and the latest 'cdrecord' from ports, and neither > this nor anything else on the machine appears to suffer unduly. > > What I'd *really* like to see is for the CAM/ATAPI stuff to go into 4.7 > - it seems to me that people choose the OS for stability, performance > and, let's not forget, *features*, what you can actually /do/ with the > machine. > > Regards, > > AS > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 18:20:40 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9A4137B409; Mon, 12 Aug 2002 18:20:20 -0700 (PDT) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E84443E6E; Mon, 12 Aug 2002 18:20:20 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020813012020.PBYL19356.rwcrmhc51.attbi.com@InterJet.elischer.org>; Tue, 13 Aug 2002 01:20:20 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id SAA13979; Mon, 12 Aug 2002 18:16:00 -0700 (PDT) Date: Mon, 12 Aug 2002 18:16:00 -0700 (PDT) From: Julian Elischer To: Nate Lawson Cc: Andy Sparrow , stable@FreeBSD.ORG, current@FreeBSD.ORG, =?iso-8859-1?Q?S=F8ren?= Schmidt , Thomas Quinot Subject: Re: CAM-ATAPI status? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG YIPEEEEE!!! I missed this message... On Mon, 12 Aug 2002, Nate Lawson wrote: > On Mon, 12 Aug 2002, Andy Sparrow wrote: > > Some time later (what it is now, 6 months?), it's not in the tree, and I > > suspect that the happy ATAPI/CAM users are either applying patches > > locally to keep using this useful functionality, or bemoaning the fact > > that FreeBSD doesn't let them use cdrecord with ATAPI CD-Rs.... > > You'll be happy to tell them sys/dev/ata/atapi-cam.c: > > Revision 1.1 > Fri Aug 9 20:51:53 2002 UTC (3 days, 3 hours ago) by sos > Branch: MAIN > > Add the ability to use ATAPI devices via CAM. > > The CAM<>ATAPI layer was submitted by "Thomas Quinot > " > changes form the version on the net by me (formatting, ability to be used > alone without the ATAPI native device driver, proper speed reporting...) > > See /sys/conf/NOTES for usage. > > Submitted by: Thomas Quinot > > > 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 Aug 12 18:37:59 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CD6737B405; Mon, 12 Aug 2002 18:37:52 -0700 (PDT) Received: from CRWdog.demon.co.uk (p69-199.acedsl.com [66.114.69.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id B942643E65; Mon, 12 Aug 2002 18:37:51 -0700 (PDT) (envelope-from spadger@best.com) Received: from localhost (localhost [127.0.0.1]) by CRWdog.demon.co.uk (Postfix) with ESMTP id 8A250121; Mon, 12 Aug 2002 21:37:50 -0400 (EDT) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Nate Lawson Cc: stable@FreeBSD.ORG, current@FreeBSD.ORG, =?iso-8859-1?Q?S=F8ren?= Schmidt , Thomas Quinot Subject: Re: CAM-ATAPI status? In-Reply-To: Message from Nate Lawson of "Mon, 12 Aug 2002 17:27:51 PDT." Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_920303954P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Mon, 12 Aug 2002 21:37:50 -0400 From: Andy Sparrow Message-Id: <20020813013750.8A250121@CRWdog.demon.co.uk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --==_Exmh_920303954P Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable > You'll be happy to tell them sys/dev/ata/atapi-cam.c: > = > Revision 1.1 = > Fri Aug 9 20:51:53 2002 UTC (3 days, 3 hours ago) by sos > Branch: MAIN Well, golly... And with improvements too! In good time for an MFC for 4.7! Awesome, no, = outstanding! Thanks to all concerned, I really am very happy to be wrong! :-) Regards, AS --==_Exmh_920303954P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) Comment: Exmh version 2.5 07/13/2001 iD8DBQE9WGLuPHh895bDXeQRArWsAJ4xIwW15vruBolTScbOy7SzQU24cwCfbw9J rdVyXvXgoXDdlGv7RykYBto= =uoGA -----END PGP SIGNATURE----- --==_Exmh_920303954P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 18:56:29 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C84337B400; Mon, 12 Aug 2002 18:56:27 -0700 (PDT) Received: from ion.gank.org (ion.gank.org [198.78.66.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id E738843E6E; Mon, 12 Aug 2002 18:56:26 -0700 (PDT) (envelope-from craig@meoqu.gank.org) Received: from aldaris2.auir.gank.org (dsl081-113-221.dfw1.dsl.speakeasy.net [64.81.113.221]) by ion.gank.org (GankMail) with ESMTP id 6E00B2C83A; Mon, 12 Aug 2002 20:56:02 -0500 (CDT) Subject: Re: usb MFC? [was: HEADS UP: FreeBSD 4.7 Code Freeze] From: Craig Boston To: freebsd-stable@freebsd.org Cc: freebsd-current@freebsd.org In-Reply-To: <3D584F41.2080200@bellatlantic.net> References: <20020812193712.GA369@genius.tao.org.uk> <20020812215059.N59573-100000@server.arg.sj.co.uk> <20020812213700.GE369@genius.tao.org.uk> <3D584F41.2080200@bellatlantic.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 12 Aug 2002 20:56:32 -0500 Message-Id: <1029203798.701.2.camel@aldaris2.auir.gank.org> Mime-Version: 1.0 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG CC: -current since that's what I'm using, but keeping -stable as this was just MFC'd. On Mon, 2002-08-12 at 19:13, Bryan Liesner wrote: > > I would like to try the uvisor/ucom stuff just comitted, but don't have > a clue how to use it... Can you point me in the right direction? Has anyone managed to get ucom working with umodem? I have a USRobotics that works okay with umodem for dialing out, but I'd like to be able to dial in and get a shell (and getty isn't too happy with /dev/umodem0 it seems). So far all my attempts to get ucom to attach to it have been futile. Is this even possible? ucom(4) suggests it is, but the configuration examples seem to be using NetBSD syntax. Thanks, Craig To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 22:33:55 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EBE637B400 for ; Mon, 12 Aug 2002 22:33:53 -0700 (PDT) Received: from scotch.ucf.ics.uci.edu (scotch.ucf.ics.uci.edu [128.195.23.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04F7443E6A for ; Mon, 12 Aug 2002 22:33:53 -0700 (PDT) (envelope-from sjh@whiskey.ucf.ics.uci.edu) Received: from whiskey.ucf.ics.uci.edu (whiskey.ucf.ics.uci.edu [128.195.23.9]) by scotch.ucf.ics.uci.edu (Postfix) with ESMTP id A16DB149DF for ; Mon, 12 Aug 2002 22:33:52 -0700 (PDT) Received: from whiskey.ucf.ics.uci.edu (localhost [127.0.0.1]) by whiskey.ucf.ics.uci.edu (8.10.2+Sun/8.10.2) with ESMTP id g7D5Xql13446 for ; Mon, 12 Aug 2002 22:33:52 -0700 (PDT) Message-Id: <200208130533.g7D5Xql13446@whiskey.ucf.ics.uci.edu> To: current@freebsd.org Reply-To: sjh@ucf.ics.uci.edu X-Message-Flag: Microsoft sucks, switch to UNIX Subject: bremfree: bp 0xc77938f4 not locked (Most recently used by kqueue) Date: Mon, 12 Aug 2002 22:33:52 -0700 From: Seth Hettich Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I get this all the time, and have for months now. On two different systems (both updated to -current about 2 times per month), both PCs (but with greatly differing HW). What would be my first step to resolve this? I sent in a PR, with lots of notes, things I tried, and stack dumps. I'm willing to do some more work on it, if someone can point me in the right direction. panic: bremfree: bp 0xc77938f4 not locked panic messages: --- panic: Most recently used by kqueue syncing disks... panic: bremfree: bp 0xc77938f4 not locked Uptime: 1d2h2m49s Dumping 256 MB ata0: resetting devices .. done 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 --- #0 0xc02f9a9b in doadump () (kgdb) where #0 0xc02f9a9b in doadump () #1 0xc02f9f7d in boot () #2 0xc02fa1a8 in panic () #3 0xc033a477 in bremfree () #4 0xc033cc60 in getblk () #5 0xc033a5aa in breadn () #6 0xc033a55c in bread () #7 0xc03fd2e6 in ffs_update () #8 0xc0411802 in ffs_fsync () #9 0xc040f18f in ffs_sync () #10 0xc034c358 in sync () #11 0xc02f9b9c in boot () #12 0xc02fa1a8 in panic () #13 0xc0434a9d in mtrash_ctor () #14 0xc0433527 in uma_zalloc_arg () #15 0xc02ee735 in malloc () #16 0xc02dd0e5 in fdcopy () #17 0xc02e5711 in fork1 () #18 0xc02e4c0a in fork () #19 0xc04657a1 in syscall () #20 0xc0455e5d in Xint0x80_syscall () ---Can't read userspace from dump, or kernel process--- -Seth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 23: 7:31 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF54437B400 for ; Mon, 12 Aug 2002 23:07:29 -0700 (PDT) Received: from tara.freenix.org (keltia.freenix.org [62.4.20.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DF8F43E65 for ; Mon, 12 Aug 2002 23:07:28 -0700 (PDT) (envelope-from roberto@tara.freenix.org) Received: by tara.freenix.org (Postfix/TLS, from userid 101) id CCCEE2A8B; Tue, 13 Aug 2002 08:07:26 +0200 (CEST) Date: Tue, 13 Aug 2002 08:07:26 +0200 From: Ollivier Robert To: current@FreeBSD.ORG Subject: Re: CAM-ATAPI status? Message-ID: <20020813060726.GA20425@tara.freenix.org> Mail-Followup-To: current@FreeBSD.ORG References: <20020813001842.55400D7@CRWdog.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 5.0-CURRENT K6-3D/266 & 2x PIII/800 SMP User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG According to Julian Elischer: > Sonn has come an gone... if anyone can get me -current patches to do this > I'll commit them now and they can be cleaned up later. > that'll at least get them started on the path to 4.7... The path to 4.7 will be very easy as Thomas has been maintaining patches for both branches since the beginning. Cleanup patches by Scott Long (scottl) have already been committed too. Thomas will soon be able to maintain the whole thing himself :-) -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 5.0-CURRENT #80: Sun Jun 4 22:44:19 CEST 2000 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Aug 12 23:40:10 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC87E37B400 for ; Mon, 12 Aug 2002 23:40:06 -0700 (PDT) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D69443E70 for ; Mon, 12 Aug 2002 23:40:06 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020813064006.WWNH22139.rwcrmhc52.attbi.com@InterJet.elischer.org>; Tue, 13 Aug 2002 06:40:06 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id XAA14922; Mon, 12 Aug 2002 23:21:27 -0700 (PDT) Date: Mon, 12 Aug 2002 23:21:25 -0700 (PDT) From: Julian Elischer To: Ollivier Robert Cc: current@FreeBSD.ORG Subject: Re: CAM-ATAPI status? In-Reply-To: <20020813060726.GA20425@tara.freenix.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I see that SOS has just committed to -current.. a Joyous day.. now to get a working SACk implementation :-) On Tue, 13 Aug 2002, Ollivier Robert wrote: > According to Julian Elischer: > > Sonn has come an gone... if anyone can get me -current patches to do this > > I'll commit them now and they can be cleaned up later. > > that'll at least get them started on the path to 4.7... > > The path to 4.7 will be very easy as Thomas has been maintaining patches for > both branches since the beginning. Cleanup patches by Scott Long (scottl) have > already been committed too. > > Thomas will soon be able to maintain the whole thing himself :-) > -- > Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr > FreeBSD keltia.freenix.fr 5.0-CURRENT #80: Sun Jun 4 22:44:19 CEST 2000 > > 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 Tue Aug 13 0:22: 0 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FAE437B400 for ; Tue, 13 Aug 2002 00:21:55 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9412343E77 for ; Tue, 13 Aug 2002 00:21:54 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.5/8.12.2) with ESMTP id g7D7Ls8A036482 for ; Tue, 13 Aug 2002 00:21:54 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.5/8.12.5/Submit) id g7D7Ls8g036481 for current@freebsd.org; Tue, 13 Aug 2002 00:21:54 -0700 (PDT) Date: Tue, 13 Aug 2002 00:21:54 -0700 From: "David O'Brien" To: current@freebsd.org Subject: WTF is going on? pipe breakage, patch(1) breakage?? Message-ID: <20020813072154.GA19923@dragon.nuxi.com> Reply-To: obrien@freebsd.org Mail-Followup-To: David O'Brien , current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Running `make clean patch' in a loop is randomly failing for me on an SMP machine: bash$ uname -a FreeBSD 5.0-CURRENT FreeBSD 5.0-CURRENT #273: Thu Aug 8 21:33:19 PDT 2002 bash$ cd /usr/ports/editors/vim bash$ PATCH_DEBUG=1 make clean patch ===> Applying distribution patch 6.1.012 patch: **** misordered hunks! output would be garbled *** Error code 1 bash$ !! ===> Applying distribution patch 6.1.014 1 out of 13 hunks failed--saving rejects to src/ops.c.rej *** Error code 1 bash$ !! ===> Applying distribution patch 6.1.090 1 out of 2 hunks failed--saving rejects to src/move.c.rej *** Error code 1 bash$ !! ===> Applying distribution patch 6.1.150 ===> Applying FreeBSD patches for vim-6.1.151 [ all patches cleanly applied ] bash$ !! ===> Applying distribution patch 6.1.150 ===> Applying FreeBSD patches for vim-6.1.151 [ all patches cleanly applied ] bash$ !! ===> Applying distribution patch 6.1.140 2 out of 2 hunks failed--saving rejects to src/os_unix.c.rej *** Error code 2 ===> Applying distribution patch 6.1.014 1 out of 13 hunks failed--saving rejects to src/ops.c.rej *** Error code 1 bash$ !! ===> Applying distribution patch 6.1.150 ===> Applying FreeBSD patches for vim-6.1.151 [ all patches cleanly applied ] ===> Applying distribution patch 6.1.013 1 out of 1 hunks failed--saving rejects to src/option.c.rej *** 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 Tue Aug 13 1:31:46 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 260AE37B401 for ; Tue, 13 Aug 2002 01:31:41 -0700 (PDT) Received: from dilbert.robbins.dropbear.id.au (028.c.002.mel.iprimus.net.au [203.134.135.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00C4543E4A for ; Tue, 13 Aug 2002 01:31:39 -0700 (PDT) (envelope-from tim@robbins.dropbear.id.au) Received: from dilbert.robbins.dropbear.id.au (sr57src9ko2j2spg@localhost [127.0.0.1]) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3) with ESMTP id g7D8VZ20070182 for ; Tue, 13 Aug 2002 18:31:35 +1000 (EST) (envelope-from tim@dilbert.robbins.dropbear.id.au) Received: (from tim@localhost) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3/Submit) id g7D8VZv3070181 for current@FreeBSD.ORG; Tue, 13 Aug 2002 18:31:35 +1000 (EST) Date: Tue, 13 Aug 2002 18:31:34 +1000 From: Tim Robbins To: current@FreeBSD.ORG Subject: Re: WTF is going on? pipe breakage, patch(1) breakage?? Message-ID: <20020813183134.A69496@dilbert.robbins.dropbear.id.au> References: <20020813072154.GA19923@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020813072154.GA19923@dragon.nuxi.com>; from obrien@FreeBSD.org on Tue, Aug 13, 2002 at 12:21:54AM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm definitely seeing problems with pipes, and major problems with the tty process group/session/job control/etc. code. I've had commands like: cvs diff -Nu | less terminate after showing one screenful with cvs recieving SIGPIPE; the same command sometimes causes my login shell to get sent SIGTTOU (which causes sshd to disconnect me). Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 2: 2:13 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBCD137B400 for ; Tue, 13 Aug 2002 02:02:11 -0700 (PDT) Received: from cserv62.csubak.edu (cserv62.csub.edu [136.168.10.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A60E43E4A for ; Tue, 13 Aug 2002 02:02:11 -0700 (PDT) (envelope-from rjackson@cserv62.csubak.edu) Received: from cserv62.csubak.edu (localhost.csubak.edu [127.0.0.1]) by cserv62.csubak.edu (8.12.5/8.12.5) with ESMTP id g7D8Xf5X010146 for ; Tue, 13 Aug 2002 08:33:41 GMT (envelope-from rjackson@cserv62.csubak.edu) Received: from localhost (rjackson@localhost) by cserv62.csubak.edu (8.12.5/8.12.5/Submit) with ESMTP id g7D8Xfse010143 for ; Tue, 13 Aug 2002 01:33:41 -0700 (PDT) Date: Tue, 13 Aug 2002 01:33:41 -0700 (PDT) From: Russell Jackson To: freebsd-current@freebsd.org Subject: gcc 3.2 Message-ID: <20020813013159.A10130-100000@cserv62.csubak.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG What stance is being taken regarding moving to the gcc 3.2 release for the current branch given that 3.2 produces far better code than previous releases. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 2:36: 8 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD66E37B400; Tue, 13 Aug 2002 02:36:03 -0700 (PDT) Received: from genius.tao.org.uk (genius.tao.org.uk [212.135.162.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id A228D43E70; Tue, 13 Aug 2002 02:36:02 -0700 (PDT) (envelope-from joe@genius.tao.org.uk) Received: by genius.tao.org.uk (Postfix, from userid 100) id E7A9648A; Tue, 13 Aug 2002 10:35:59 +0100 (BST) Date: Tue, 13 Aug 2002 10:35:59 +0100 From: Josef Karthauser To: Craig Boston Cc: freebsd-stable@freebsd.org, freebsd-current@freebsd.org Subject: Re: usb MFC? [was: HEADS UP: FreeBSD 4.7 Code Freeze] Message-ID: <20020813093559.GA865@genius.tao.org.uk> Mail-Followup-To: Josef Karthauser , Craig Boston , freebsd-stable@freebsd.org, freebsd-current@freebsd.org References: <20020812193712.GA369@genius.tao.org.uk> <20020812215059.N59573-100000@server.arg.sj.co.uk> <20020812213700.GE369@genius.tao.org.uk> <3D584F41.2080200@bellatlantic.net> <1029203798.701.2.camel@aldaris2.auir.gank.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Qxx1br4bt0+wmkIi" Content-Disposition: inline In-Reply-To: <1029203798.701.2.camel@aldaris2.auir.gank.org> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 12, 2002 at 08:56:32PM -0500, Craig Boston wrote: > CC: -current since that's what I'm using, but keeping -stable as this > was just MFC'd.=20 >=20 > On Mon, 2002-08-12 at 19:13, Bryan Liesner wrote:=20 > >=20 > > I would like to try the uvisor/ucom stuff just comitted, but don't have= =20 > > a clue how to use it... Can you point me in the right direction? > Has anyone managed to get ucom working with umodem? I have a USRobotics > that works okay with umodem for dialing out, but I'd like to be able to > dial in and get a shell (and getty isn't too happy with /dev/umodem0 it > seems). So far all my attempts to get ucom to attach to it have been > futile.=20 >=20 > Is this even possible? ucom(4) suggests it is, but the configuration > examples seem to be using NetBSD syntax.=20 >=20 In NetBSD umodem is a ucom device, but it's entirely separate in FreeBSD. The man page in -current is incorrect. Joe --=20 "As far as the laws of mathematics refer to reality, they are not certain; and as far as they are certain, they do not refer to reality." - Albert Einstein, 1921 --Qxx1br4bt0+wmkIi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iEYEARECAAYFAj1Y0v4ACgkQXVIcjOaxUBa9AwCg1XrVgyGaCtACnSfCm22J5vvK P14An1QDLqYoo60siEuSLRycdN4mEnbm =faNe -----END PGP SIGNATURE----- --Qxx1br4bt0+wmkIi-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 2:49:28 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22AC337B400 for ; Tue, 13 Aug 2002 02:49:26 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5873743E6E for ; Tue, 13 Aug 2002 02:49:25 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.3/8.12.2) with ESMTP id g7D9kKfQ037543 for ; Tue, 13 Aug 2002 11:46:21 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: current@freebsd.org Subject: Kernel Makefile bogon... From: Poul-Henning Kamp Date: Tue, 13 Aug 2002 11:46:20 +0200 Message-ID: <37542.1029231980@critter.freebsd.dk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The final make in this script fails, I don't think it should. #!/bin/sh set -ex rm -rf /usr/src/sys/i386/compile/GENERIC cd /usr/src/sys/i386/conf config GENERIC cd ../compile/GENERIC make depend > _.m.0.d 2>&1 make > _.m.1 2>&1 make clean > _.m.2.c 2>&1 make echo "SUCCESS" The error is included below. If I run "make depend" it works, but that should not be needed after a "make clean". Some dependencies must be missing somewhere. Poul-Henning cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -W missing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wno-format -ansi -g -n ostdinc -I- -I. -I../../.. -I../../../dev -I../../../contrib/dev/acpica -I../.. /../contrib/ipfilter -I../../../../include -D_KERNEL -include opt_global.h -fno- common -mpreferred-stack-boundary=2 -ffreestanding -Werror vnode_if.c awk -f ../../../tools/makeobjops.awk ../../../kern/device_if.m -c ; cc -c -O -p ipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-pro totypes -Wpointer-arith -Winline -Wcast-qual -Wno-format -ansi -g -nostdinc -I- -I. -I../../.. -I../../../dev -I../../../contrib/dev/acpica -I../../../contrib /ipfilter -I../../../../include -D_KERNEL -include opt_global.h -fno-common -m preferred-stack-boundary=2 -ffreestanding device_if.c In file included from device_if.c:17: ../../../sys/bus.h:369:23: device_if.h: No such file or directory ../../../sys/bus.h:370:20: bus_if.h: No such file or directory device_if.c:18:23: device_if.h: No such file or directory *** Error code 1 -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 3:12:35 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5309E37B401 for ; Tue, 13 Aug 2002 03:12:33 -0700 (PDT) Received: from mail.dada.it (mail2.dada.it [195.110.100.2]) by mx1.FreeBSD.org (Postfix) with SMTP id 1B05C43E3B for ; Tue, 13 Aug 2002 03:12:22 -0700 (PDT) (envelope-from riccardo@torrini.org) Received: (qmail 27498 invoked from network); 13 Aug 2002 10:05:40 -0000 Received: from unknown (HELO torrini.org) (195.110.114.101) by mail.dada.it with SMTP; 13 Aug 2002 10:05:40 -0000 Received: from trudy.torrini.home (localhost.torrini.home [127.0.0.1]) by torrini.org (8.12.3/8.12.3) with ESMTP id g7DA5gj1064700 for ; Tue, 13 Aug 2002 12:05:42 +0200 (CEST) (envelope-from riccardo@trudy.torrini.home) Received: (from riccardo@localhost) by trudy.torrini.home (8.12.3/8.12.3/Submit) id g7D9Q0qd064600 for current@FreeBSD.ORG; Tue, 13 Aug 2002 11:26:00 +0200 (CEST) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Tue, 13 Aug 2002 11:26:00 +0200 (CEST) From: Riccardo Torrini To: current@FreeBSD.ORG Subject: Re: CAM-ATAPI status? Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 13-Aug-2002 (00:27:51/GMT) Nate Lawson wrote: > You'll be happy to tell them sys/dev/ata/atapi-cam.c: WOW ! > Fri Aug 9 20:51:53 2002 UTC (3 days, 3 hours ago) by sos > Add the ability to use ATAPI devices via CAM. I'm back from holidays and I'm still reading over 1200 old messages of -CURRENT (last 3 weeks). My -CURRENT is not so current :\, I have a pre gcc_3.1, is now safe to rebuild or I'd read _all_ old mail before? > See /sys/conf/NOTES for usage. I think this is a 'stupid' question, but before this message I looked only into /sys/i386/conf/NOTES for configurations, why the one in /sys/conf/ is different and why they are two? If /sys/alpha/conf/NOTES and /sys/i386/conf/NOTES are only {alpha,i386} specific, why some part are duplicated? I am confused :\ Riccardo. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 4:48:33 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BA6B37B400 for ; Tue, 13 Aug 2002 04:48:30 -0700 (PDT) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 960FB43E72 for ; Tue, 13 Aug 2002 04:48:29 -0700 (PDT) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.5/8.12.5) with ESMTP id g7DBmMtR000469; Tue, 13 Aug 2002 15:48:23 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.5/8.12.5/Submit) id g7DBmG8t000467; Tue, 13 Aug 2002 15:48:16 +0400 (MSD) (envelope-from ache) Date: Tue, 13 Aug 2002 15:48:14 +0400 From: "Andrey A. Chernov" To: Terry Lambert Cc: David Xu , Julian Elischer , FreeBSD CURRENT Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) Message-ID: <20020813114812.GA331@nagual.pp.ru> References: <20020812055315.7682.qmail@web20907.mail.yahoo.com> <20020812104959.GA1645@nagual.pp.ru> <3D579603.3FA86DD7@mindspring.com> <20020812113101.GA2089@nagual.pp.ru> <3D584E87.4EAB0D0E@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D584E87.4EAB0D0E@mindspring.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Aug 12, 2002 at 17:10:47 -0700, Terry Lambert wrote: > > I don't unserstand the question. Why not the same license that's > areleady on the source code for "su"? See usr.bin/su.c header for license. > I still think other code is going to have the problem, too, so > changing su alone doesn't fix things. Better to not deliver > the tty output stopped signal. It is traditional BSD way of stop/cont handling, unchanged starting from very early times. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 5:49:40 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91A3537B406; Tue, 13 Aug 2002 05:49:36 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C15E43E65; Tue, 13 Aug 2002 05:49:35 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id MAA18273; Tue, 13 Aug 2002 12:46:06 GMT Date: Tue, 13 Aug 2002 22:51:11 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: marius@alchemy.franken.de Cc: Gavin Atkinson , , Subject: Re: 100% reproducable hang: serial related In-Reply-To: <20020812163210.B96711@newtrinity.default-network.net> Message-ID: <20020813223707.B28507-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 12 Aug 2002 marius@alchemy.franken.de wrote: > On Mon, Aug 12, 2002 at 01:23:06PM +0100, Gavin Atkinson wrote: > > ... > > I have an i386 toshiba laptop, running FreeBSD 5.0-CURRENT #4: Sat Aug 10 > > 13:27:55 BST 2002. I can get a 100% reproducible hang by doing the > > following: > > > > - Connect a serial cable between my laptop and a PC > > - run "tip -9600 com1" > > (where com1 in /etc/remote is the default: > > "com1:dv=/dev/cuaa0:br#9600:pa=none:") > > - power down the PC. > > > > My laptop hangs solid, and DDB cannot be entered from the keyboard. Note > > that if I close tip before powering down the PC, i don't get a hang. I am > > not using ACPI. > > > > Interestingly, if I type something and then power up the PC again, that > > character will echo on the screen before locking up again. By > > power-cycling the PC frequently, i could actually carry on using my > > laptop. Power cycling the PC (either on->off or off->on) seems to unlock > > the laptop for a fraction of a second. > > ... > > i have similar symptoms on my toshiba tecra 8000 under -stable ever since > i installed fbsd on it (~4.1 i think), fbsd freezes when whatever terminal > emulation (tip, cu , minicom) is still running when the remote side is > powered down or the serial line is disconnected. but when the remote > side (pc, router, ...) is powered on or the serial line is connected > again fbsd unfreezes and continues to work. i had the "unlocks the > laptop for a fraction of a second" just once when the remote side was > an amiga 500... > imho this is enirely related to (some) toshiba serial interfaces, at least > i haven't seen this behaviour on other pcs running fbsd so far It is most likely a hardware problem that causes endless sio interrupts, most likely ones for modem status changes. sio doesn't handle this gracefully. It may spin forever in the interrupt handler or keep returning to the interrupt handler because changes or interrupts to report changes (respectively) happen faster than they can be processed. Some serial drivers have an option to not use the interrupt for modem status changes and/or automatically don't use it when CLOCAL is set. Try not using it in all cases by changing all instances of IER_EMSC in sio.c to 0. Look at the interrupt counts after doing something to bring the system back to see if sio handled endless interrupts while the system was hung. You would need to add an internal counter in the interrupt handler (siointr1()) to detect internal looping. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 5:52:32 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8AD1F37B400; Tue, 13 Aug 2002 05:52:30 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 489E443E42; Tue, 13 Aug 2002 05:52:29 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id MAA18855; Tue, 13 Aug 2002 12:52:24 GMT Date: Tue, 13 Aug 2002 22:57:28 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Gavin Atkinson Cc: current@freebsd.org, Subject: Re: 100% reproducable hang: serial related In-Reply-To: Message-ID: <20020813225344.E28507-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 12 Aug 2002, Gavin Atkinson wrote: > ... [Replied to part separately.] > I can also hold ctrl-alt-escape on my laptop, and power up or down the PC, > which will drop my laptop into DDB. From that point on, ddb works fine, > continuing back to userspace works fine, and my laptop is no longer hung. > Note however that often, from this point on until I quit tip, all > characters I send seem to be sent as uppercase. ddb disables interrupts in -current, and this probably helps by preventing interrupt storms. Getting uppercase is harder to explain. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 6: 0:28 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5334537B400 for ; Tue, 13 Aug 2002 06:00:25 -0700 (PDT) Received: from slavia.natm.ru (slavia.natm.ru [213.148.160.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C3AA43E6E for ; Tue, 13 Aug 2002 06:00:24 -0700 (PDT) (envelope-from staros@slavia.natm.ru) Received: from STAROS [10.100.1.13] by slavia.natm.ru [213.148.160.114] with SMTP (MDaemon.PRO.v5.0.1.R) for ; Tue, 13 Aug 2002 16:56:22 +0400 Date: Tue, 13 Aug 2002 15:55:07 +0400 From: =?Windows-1251?B?0eXw4+XpIMfu6+7y7uI=?= X-Mailer: The Bat! (v1.60m) Reply-To: =?Windows-1251?B?0eXw4+XpIMfu6+7y7uI=?= Organization: Slavia-Print X-Priority: 3 (Normal) Message-ID: <15425222488.20020813155507@slavia.natm.ru> To: freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit X-MDRemoteIP: 10.100.1.13 X-Return-Path: staros@slavia.natm.ru X-MDaemon-Deliver-To: freebsd-current@FreeBSD.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello freebsd-current, Hello My system emit warning message ``calcru: negative time ...)'' to the console What can I do with it? Please help -- Best regards, Ñåðãåé mailto:staros@slavia.natm.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 6: 3:59 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 651CC37B400 for ; Tue, 13 Aug 2002 06:03:57 -0700 (PDT) Received: from mailout01.sul.t-online.com (mailout01.sul.t-online.com [194.25.134.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id C374843E70 for ; Tue, 13 Aug 2002 06:03:56 -0700 (PDT) (envelope-from Alexander@Leidinger.net) Received: from fwd02.sul.t-online.de by mailout01.sul.t-online.com with smtp id 17eb0f-0003Tg-0E; Tue, 13 Aug 2002 14:42:53 +0200 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[217.83.17.217]) by fmrl02.sul.t-online.com with esmtp id 17eb0d-26hSFcC; Tue, 13 Aug 2002 14:42:51 +0200 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) by Andro-Beta.Leidinger.net (8.11.6/8.11.6) with ESMTP id g7DCgox58237; Tue, 13 Aug 2002 14:42:50 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magelan.Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.5/8.12.5) with SMTP id g7DCgnQZ001415; Tue, 13 Aug 2002 14:42:50 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Tue, 13 Aug 2002 14:42:49 +0200 From: Alexander Leidinger To: David Malone Cc: msch@snafu.de, freebsd-current@FreeBSD.ORG Subject: Re: xdm-Problems with PAM Message-Id: <20020813144249.437ad696.Alexander@Leidinger.net> In-Reply-To: <20020812210659.GA25843@walton.maths.tcd.ie> References: <20020812210659.GA25843@walton.maths.tcd.ie> Organization: Independend X-Mailer: Sylpheed version 0.8.1claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 12 Aug 2002 22:06:59 +0100 David Malone wrote: > On Mon, Aug 12, 2002 at 10:19:00PM +0200, Matthias Schuendehuette > wrote: > > Aug 12 18:20:02 current : [dlerror: /usr/lib/pam_lastlog.so: > > Undefined > > symbol "_openpam_log"] > > Aug 12 18:20:02 current : adding faulty module: > > /usr/lib/pam_lastlog.so > > > > 'Known behaviour' or real problems? > > I recompiled xdm and the problem went away - I'm not sure if I > should have thought about the problem more carefully. If xdm was compiled with "old-pam", recompiling it is the only thing which helps, if it is already compield with "new-pam", then I don't know what happens here. I don't have such problems with a Jul 22 kernel. Bye, Alexander. -- The dark ages were caused by the Y1K problem. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 6:14:54 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD18537B489 for ; Tue, 13 Aug 2002 06:14:39 -0700 (PDT) Received: from web20906.mail.yahoo.com (web20906.mail.yahoo.com [216.136.226.228]) by mx1.FreeBSD.org (Postfix) with SMTP id 1FC7343E42 for ; Tue, 13 Aug 2002 06:14:39 -0700 (PDT) (envelope-from bsddiy@yahoo.com) Message-ID: <20020813131438.77207.qmail@web20906.mail.yahoo.com> Received: from [210.83.128.34] by web20906.mail.yahoo.com via HTTP; Tue, 13 Aug 2002 06:14:38 PDT Date: Tue, 13 Aug 2002 06:14:38 -0700 (PDT) From: David Xu Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) To: Terry Lambert , "Andrey A. Chernov" Cc: David Xu , Julian Elischer , FreeBSD CURRENT In-Reply-To: <3D584E87.4EAB0D0E@mindspring.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --- Terry Lambert wrote: > I did. It's still an order of operation problem in the kernel > during fork(), as Bruce pointed out in a later posting (so me > pointing it out here is probably redundant... 8-)). > > I still think other code is going to have the problem, too, so > changing su alone doesn't fix things. Better to not deliver > the tty output stopped signal. > > -- Terry Don't touch tty code, if you change, you'll break more code, current problem is just because su forks a child process and want to take over some job control work from shell, it is of course not a easy job. the problem does not exist in STABLE branch because su does not fork. David Xu __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 6:38: 6 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72C4437B400 for ; Tue, 13 Aug 2002 06:38:04 -0700 (PDT) Received: from h132-197-179-27.gte.com (h132-197-179-27.gte.com [132.197.179.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id B277643E3B for ; Tue, 13 Aug 2002 06:38:03 -0700 (PDT) (envelope-from ak03@gte.com) Received: from kanpc.gte.com (localhost [IPv6:::1]) by h132-197-179-27.gte.com (8.12.5/8.12.5) with ESMTP id g7DDc29X025778 for ; Tue, 13 Aug 2002 09:38:02 -0400 (EDT) (envelope-from ak03@kanpc.gte.com) Received: (from ak03@localhost) by kanpc.gte.com (8.12.5/8.12.5/Submit) id g7DDc2Vs025777; Tue, 13 Aug 2002 09:38:02 -0400 (EDT) Date: Tue, 13 Aug 2002 09:38:02 -0400 From: Alexander Kabaev Cc: current@FreeBSD.ORG Subject: Re: WTF is going on? pipe breakage, patch(1) breakage?? Message-Id: <20020813093802.3c404638.ak03@gte.com> In-Reply-To: <20020813183134.A69496@dilbert.robbins.dropbear.id.au> References: <20020813072154.GA19923@dragon.nuxi.com> <20020813183134.A69496@dilbert.robbins.dropbear.id.au> Organization: Verizon Data Services X-Mailer: Sylpheed version 0.8.1claws52 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This can be related: occasionally top terminates after displaying the process list only once. Unfortunately, this is hard to reproduce and when run again top just start working properly. -- Alexander Kabaev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 6:59:57 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0680637B4AA for ; Tue, 13 Aug 2002 06:59:47 -0700 (PDT) Received: from dilbert.robbins.dropbear.id.au (101.f.012.mel.iprimus.net.au [210.50.253.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC05C43E3B for ; Tue, 13 Aug 2002 06:59:44 -0700 (PDT) (envelope-from tim@robbins.dropbear.id.au) Received: from dilbert.robbins.dropbear.id.au (9cv8scxdvfz0pz27@localhost [127.0.0.1]) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3) with ESMTP id g7DDxfKF010678; Tue, 13 Aug 2002 23:59:42 +1000 (EST) (envelope-from tim@dilbert.robbins.dropbear.id.au) Received: (from tim@localhost) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3/Submit) id g7DDxdYg010677; Tue, 13 Aug 2002 23:59:40 +1000 (EST) Date: Tue, 13 Aug 2002 23:59:39 +1000 From: Tim Robbins To: David Xu Cc: current@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) Message-ID: <20020813235939.A10212@dilbert.robbins.dropbear.id.au> References: <3D584E87.4EAB0D0E@mindspring.com> <20020813131438.77207.qmail@web20906.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020813131438.77207.qmail@web20906.mail.yahoo.com>; from bsddiy@yahoo.com on Tue, Aug 13, 2002 at 06:14:38AM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Aug 13, 2002 at 06:14:38AM -0700, David Xu wrote: > --- Terry Lambert wrote: > > I did. It's still an order of operation problem in the kernel > > during fork(), as Bruce pointed out in a later posting (so me > > pointing it out here is probably redundant... 8-)). > > > > I still think other code is going to have the problem, too, so > > changing su alone doesn't fix things. Better to not deliver > > the tty output stopped signal. > > > > -- Terry > > Don't touch tty code, if you change, you'll break more code, > current problem is just because su forks a child process and > want to take over some job control work from shell, it is of > course not a easy job. the problem does not exist in STABLE > branch because su does not fork. What about chpass, vipw, and the other pw_edit() consumers? vipw works correctly wrt suspending with ^Z on 4.6-RELEASE, but does not on -CURRENT. As far as I can see, pw_edit()'s logic has not been changed. This is a slightly different case to that of the shell suspending _itself_, but I think it's similar enough that the solution may be the same. Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 7:13: 9 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A63137B400 for ; Tue, 13 Aug 2002 07:13:07 -0700 (PDT) Received: from ref5.freebsd.org (ref5.FreeBSD.org [216.136.204.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1407843E6A for ; Tue, 13 Aug 2002 07:13:07 -0700 (PDT) (envelope-from des@FreeBSD.org) Received: from ref5.freebsd.org (localhost [127.0.0.1]) by ref5.freebsd.org (8.12.5/8.12.5) with ESMTP id g7DED6gr030987 for ; Tue, 13 Aug 2002 07:13:06 -0700 (PDT) (envelope-from des@ref5.freebsd.org) Received: (from des@localhost) by ref5.freebsd.org (8.12.5/8.12.5/Submit) id g7DED6iJ030985 for current@freebsd.org; Tue, 13 Aug 2002 07:13:06 -0700 (PDT) Date: Tue, 13 Aug 2002 07:13:06 -0700 (PDT) From: Dag-Erling Smorgrav Message-Id: <200208131413.g7DED6iJ030985@ref5.freebsd.org> To: current@freebsd.org Subject: i386 tinderbox failure Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- >>> stage 2: cleaning up the object tree -------------------------------------------------------------- ===> lib/libc "/local0/scratch/des/src/share/mk/bsd.man.mk", line 19: Need an operator "/local0/scratch/des/src/share/mk/bsd.man.mk", line 159: if-less endif "/local0/scratch/des/src/share/mk/bsd.man.mk", line 159: Need an operator "/local0/scratch/des/src/share/mk/bsd.man.mk", line 250: if-less endif "/local0/scratch/des/src/share/mk/bsd.man.mk", line 250: Need an operator "/local0/scratch/des/src/share/mk/bsd.lib.mk", line 320: if-less endif "/local0/scratch/des/src/share/mk/bsd.lib.mk", line 320: Need an operator make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /local0/scratch/des/src/lib. *** Error code 1 Stop in /local0/scratch/des/src. *** Error code 1 Stop in /local0/scratch/des/src. *** Error code 1 Stop in /local0/scratch/des/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 8: 3:34 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A53337B400 for ; Tue, 13 Aug 2002 08:03:27 -0700 (PDT) Received: from nuit.iteration.net (nuit.iteration.net [198.92.249.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDC4143E42 for ; Tue, 13 Aug 2002 08:03:26 -0700 (PDT) (envelope-from keichii@nuit.iteration.net) Received: by nuit.iteration.net (Postfix, from userid 1001) id 5BFAB11B5AE; Tue, 13 Aug 2002 08:01:24 -0700 (PDT) Date: Tue, 13 Aug 2002 08:01:24 -0700 From: "Michael C. Wu" To: "Vladimir B. Grebenschikov" Cc: "current@freebsd.org" Subject: Re: rcNG and dhcp Message-ID: <20020813150124.GA88021@nuit.iteration.net> Reply-To: "Michael C. Wu" References: <1029141620.800.14.camel@vbook.express.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1029141620.800.14.camel@vbook.express.ru> User-Agent: Mutt/1.3.28i X-PGP-Fingerprint: 5025 F691 F943 8128 48A8 5025 77CE 29C5 8FA1 2E20 X-PGP-Key-ID: 0x8FA12E20 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Aug 12, 2002 at 12:40:20PM +0400, Vladimir B. Grebenschikov scribbled: | | Hi | | There is patch to teach rcNG do not try dhcp on not-connected ethernet. | | simply put | ifconfig_fxp0="dhcp-if-carrier" | into rc.conf | | It will be interested to somebody | | Theoretically there are another solution for problem - add new key to | dhclient - check interface media before broadcasting. I think that most network related stuff should do this as an added function by user choice. For example, no NFS if interface does not exist. Michael | | -- | Vladimir B. Grebenschikov | vova@sw.ru, SWsoft, Inc. | --- /usr/local/src/etc/rc.d/network1 Mon Jul 29 15:09:46 2002 | +++ /etc/rc.d/network1 Mon Aug 12 11:43:03 2002 | @@ -157,6 +157,17 @@ | case ${ifconfig_args} in | '') | ;; | + [Dd][Hh][Cc][Pp]-[Ii][Ff]-[Cc][Aa][Rr][Rr][Ii][Ee][Rr]) | + # Load interface .ko if need | + ifconfig $ifn > /dev/null 2>&1 | + sleep 3 | + # Check media option of interface | + media=`ifconfig $ifn | awk '($1 == "media:") { ok=1; print $4; } END { if (ok != 1) { print "(none)"; } }' 2> /dev/null` | + if [ "$media" != "(none)" ]; then | + dhcp_interfaces="$dhcp_interfaces $ifn" | + eval showstat_$ifn=1 | + fi | + ;; | [Dd][Hh][Cc][Pp]) | # DHCP inits are done all in one go below | dhcp_interfaces="$dhcp_interfaces $ifn" ------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 8: 8:18 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B61837B400 for ; Tue, 13 Aug 2002 08:08:13 -0700 (PDT) Received: from mail.dada.it (mail4.dada.it [195.110.100.4]) by mx1.FreeBSD.org (Postfix) with SMTP id 2FD0243E72 for ; Tue, 13 Aug 2002 08:06:52 -0700 (PDT) (envelope-from riccardo@torrini.org) Received: (qmail 16290 invoked from network); 13 Aug 2002 15:06:46 -0000 Received: from unknown (HELO torrini.org) (195.110.114.101) by mail.dada.it with SMTP; 13 Aug 2002 15:06:46 -0000 Received: from trudy.torrini.home (localhost.torrini.home [127.0.0.1]) by torrini.org (8.12.3/8.12.3) with ESMTP id g7DF6nj1072503; Tue, 13 Aug 2002 17:06:49 +0200 (CEST) (envelope-from riccardo@trudy.torrini.home) Received: (from riccardo@localhost) by trudy.torrini.home (8.12.3/8.12.3/Submit) id g7DF6mFe072502; Tue, 13 Aug 2002 17:06:48 +0200 (CEST) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020813235939.A10212@dilbert.robbins.dropbear.id.au> Date: Tue, 13 Aug 2002 17:06:48 +0200 (CEST) From: Riccardo Torrini To: Tim Robbins Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) Cc: current@FreeBSD.ORG, David Xu Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 13-Aug-2002 (13:59:39/GMT) Tim Robbins wrote: > What about chpass, vipw, and the other pw_edit() consumers? vipw > works correctly wrt suspending with ^Z on 4.6-RELEASE, but does > not on -CURRENT. vipw works _perfectly_ here, on a not-too-current -CURRENT, from tcsh I can suspend (^Z), list jobs (jobs), resume (fg) and I can continue editing, with the cursor exactly in the same place. This is a SMP machine, dual pIII/500, I use as my desktop (important data are on NFS -CURRENT server :P) from 3.0, so it can contain a lot of old (unsed) file, maybe even a.out ones... # uname -v FreeBSD 5.0-CURRENT #34: Wed May 8 02:31:46 CEST 2002 What changed from my (really) old (pre gcc_3.1) current? Riccardo. PS: world and ports compiled with some 'insane' options (-O2): CPUTYPE= p3 CFLAGS= -O2 -pipe NOPROFILE= true COMPAT3X= yes COMPAT4X= yes To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 8:10:30 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40B4F37B400 for ; Tue, 13 Aug 2002 08:10:28 -0700 (PDT) Received: from mail.dada.it (mail2.dada.it [195.110.100.2]) by mx1.FreeBSD.org (Postfix) with SMTP id 0859F43E42 for ; Tue, 13 Aug 2002 08:10:27 -0700 (PDT) (envelope-from riccardo@torrini.org) Received: (qmail 3923 invoked from network); 13 Aug 2002 15:10:23 -0000 Received: from unknown (HELO torrini.org) (195.110.114.101) by mail.dada.it with SMTP; 13 Aug 2002 15:10:23 -0000 Received: from trudy.torrini.home (localhost.torrini.home [127.0.0.1]) by torrini.org (8.12.3/8.12.3) with ESMTP id g7DFAOj1072513; Tue, 13 Aug 2002 17:10:24 +0200 (CEST) (envelope-from riccardo@trudy.torrini.home) Received: (from riccardo@localhost) by trudy.torrini.home (8.12.3/8.12.3/Submit) id g7DFAOj6072512; Tue, 13 Aug 2002 17:10:24 +0200 (CEST) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Tue, 13 Aug 2002 17:10:24 +0200 (CEST) From: Riccardo Torrini To: Riccardo Torrini Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) Cc: David Xu , current@FreeBSD.ORG, Tim Robbins Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 13-Aug-2002 (15:06:48/GMT) Riccardo Torrini wrote: > ...important data are on NFS -CURRENT server... No, I means -STABLE server (obvious :) Riccardo. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 8:13:34 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8203137B400 for ; Tue, 13 Aug 2002 08:13:28 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 046EB43E65 for ; Tue, 13 Aug 2002 08:13:28 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.3/8.12.3) with ESMTP id g7DFDQwu012115; Tue, 13 Aug 2002 08:13:26 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.3/8.12.3/Submit) id g7DFDQqn012114; Tue, 13 Aug 2002 08:13:26 -0700 Date: Tue, 13 Aug 2002 08:13:25 -0700 From: Brooks Davis To: Riccardo Torrini Cc: current@FreeBSD.ORG Subject: Re: CAM-ATAPI status? Message-ID: <20020813081325.A11738@Odin.AC.HMC.Edu> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="FL5UXtIhxfXey3p5" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from riccardo@torrini.org on Tue, Aug 13, 2002 at 11:26:00AM +0200 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 13, 2002 at 11:26:00AM +0200, Riccardo Torrini wrote: > On 13-Aug-2002 (00:27:51/GMT) Nate Lawson wrote: >=20 > > See /sys/conf/NOTES for usage. >=20 > I think this is a 'stupid' question, but before this message > I looked only into /sys/i386/conf/NOTES for configurations, > why the one in /sys/conf/ is different and why they are two? > If /sys/alpha/conf/NOTES and /sys/i386/conf/NOTES are only > {alpha,i386} specific, why some part are duplicated? sys/conf/NOTES is the architecture independent stuff. sys/conf/NOTES is the architecture dependent stuff. The makeLINT.sh script combines them to create LINT. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --FL5UXtIhxfXey3p5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9WSIVXY6L6fI4GtQRAkIaAKCTl/NysAnQGTBmSbkASGDLX5xR3ACg5XFi gpQ/wvDctynzxK4QsY76ITE= =lGXk -----END PGP SIGNATURE----- --FL5UXtIhxfXey3p5-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 8:47:17 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C5BA37B400 for ; Tue, 13 Aug 2002 08:47:14 -0700 (PDT) Received: from mta5.snfc21.pbi.net (mta5.snfc21.pbi.net [206.13.28.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10D6843E42 for ; Tue, 13 Aug 2002 08:47:14 -0700 (PDT) (envelope-from makonnen@pacbell.net) Received: from kokeb.ambesa.net ([64.173.9.2]) by mta5.snfc21.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0H0S00J8YH6PYQ@mta5.snfc21.pbi.net> for current@FreeBSD.ORG; Tue, 13 Aug 2002 08:47:13 -0700 (PDT) Received: from kokeb.ambesa.net (tanstaafl@localhost [IPv6:::1]) by kokeb.ambesa.net (8.12.5/8.12.5) with ESMTP id g7DG0bxs058545; Tue, 13 Aug 2002 09:00:37 -0700 (PDT envelope-from mtm@kokeb.ambesa.net) Received: (from mtm@localhost) by kokeb.ambesa.net (8.12.5/8.12.5/Submit) id g7DG0aHN058544; Tue, 13 Aug 2002 09:00:36 -0700 (PDT envelope-from mtm) Date: Tue, 13 Aug 2002 09:00:36 -0700 From: Mike Makonnen Subject: Re: rcNG and dhcp In-reply-to: <1029141620.800.14.camel@vbook.express.ru> To: "Vladimir B. Grebenschikov" Cc: current@FreeBSD.ORG Message-id: <20020813090036.090538bf.makonnen@pacbell.net> MIME-version: 1.0 X-Mailer: Sylpheed version 0.7.8 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <1029141620.800.14.camel@vbook.express.ru> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 12 Aug 2002 12:40:20 +0400 "Vladimir B. Grebenschikov" wrote: > > Hi > > There is patch to teach rcNG do not try dhcp on not-connected ethernet. > > simply put > ifconfig_fxp0="dhcp-if-carrier" > into rc.conf > > It will be interested to somebody > > Theoretically there are another solution for problem - add new key to > dhclient - check interface media before broadcasting. Yes, there is a simple solution: adjust the timeout in dhclient.conf. I will quote David Malone from PR conf/38559: <<<< I would have said that it would be a bug not to do DHCP if the interface has been configured for it and might upset people who want to be able to plug the network cable in at a more leasurely pace when they boot their laptops. It also means that dhclient won't be able to use a lease listed in its lease file, even if that lease is valid and the hub/switch/access point you're connected to happens to be temporally down or out of range. I'd suggest that you try reducing the timeouts if the long timeout isn't suitable for your setup. See the timeing options in dhclient.conf man page. >>>> Cheers, Mike. > > -- > Vladimir B. Grebenschikov > vova@sw.ru, SWsoft, Inc. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 9:24:16 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F15237B400; Tue, 13 Aug 2002 09:24:10 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4133F43E65; Tue, 13 Aug 2002 09:24:09 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id QAA06885; Tue, 13 Aug 2002 16:24:04 GMT Date: Wed, 14 Aug 2002 02:29:09 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Poul-Henning Kamp Cc: current@FreeBSD.ORG Subject: Re: Kernel Makefile bogon... In-Reply-To: <37542.1029231980@critter.freebsd.dk> Message-ID: <20020814005809.U28904-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 13 Aug 2002, Poul-Henning Kamp wrote: > The final make in this script fails, I don't think it should. > > #!/bin/sh > set -ex > rm -rf /usr/src/sys/i386/compile/GENERIC > cd /usr/src/sys/i386/conf > config GENERIC > cd ../compile/GENERIC > make depend > _.m.0.d 2>&1 > make > _.m.1 2>&1 > make clean > _.m.2.c 2>&1 > make > echo "SUCCESS" > > The error is included below. If I run "make depend" it works, but that > should not be needed after a "make clean". Some dependencies must > be missing somewhere. "make" after "make clean" was broken by excessively zealous cleanups in conf/files (rev.1.348 if I grep correctly). Dependencies related to *.m used to be generated by verbose rules in conf/files but the verbose rules were replaced by low quality rules generated by config plus too-simple rules in Makefile.${ARCH} (now in kern.post.mk). Example of a low quality explicit rule generated by config: % device_if.o: $S/kern/device_if.m % ${NORMAL_M} ${NORMAL_M} expands to an awk step to go from .m to .c and a cc step to go from .c to .o. make(1) is not told about the intermediate .c file so it can't handle the .c to .o conversion automagically. NORMAL_M also has style bugs (it unsorts the NORMAL_* definitions and uses $<). Too-simple rules in kern.post.mk: % .if !exists(.depend) % ${SYSTEM_OBJS}: vnode_if.h ${BEFORE_DEPEND:M*.h} ${MFILES:T:S/.m$/.h/} % .endif % % .for mfile in ${MFILES} % ${mfile:T:S/.m$/.h/}: ${mfile} % ${AWK} -f $S/tools/makeobjops.awk ${mfile} -h % .endfor When .depend doesn't exist, the first group of lines above implements the hack of making all objects depend on all headers (including ones generated from .m files) so that "make depend" works when .depend doesn't exist. When .depend exists, the dependencies in it are used instead of this hack, but the low quality .m.o rule helps give incomplete dependencies in .depend. The usual cause of failure is that mkdep is not run on device_if.c, and since device_if.c is normally compiled before anything else that uses device_if.h, compiling it fails because device_if.h has not been created at that point. config puts all relevant .m files in MFILES and the second group of lines gives the rule to go from .m to .h. Fixes: (1) Quick fix: delete .depend. I've often done this. (2) Tell mkdep about all the generated files so that dependencies work in the normal way. The following patch seems to work. It doesn't fix the bogus rules generated by config, but adds a .m.c one so that device_if.c can be generated before mkdep is run. It also fixes some old style bugs (extra env processes). %%% Index: kern.post.mk =================================================================== RCS file: /home/ncvs/src/sys/conf/kern.post.mk,v retrieving revision 1.25 diff -u -2 -r1.25 kern.post.mk --- kern.post.mk 1 Aug 2002 03:13:10 -0000 1.25 +++ kern.post.mk 13 Aug 2002 16:15:06 -0000 @@ -43,4 +42,8 @@ .for mfile in ${MFILES} +# XXX the low quality .m.o rules gnerated by config are normally used +# instead of the .m.c rules here. +${mfile:T:S/.m$/.c/}: ${mfile} + ${AWK} -f $S/tools/makeobjops.awk ${mfile} -c ${mfile:T:S/.m$/.h/}: ${mfile} ${AWK} -f $S/tools/makeobjops.awk ${mfile} -h @@ -91,15 +94,20 @@ ${MAKE} _kernel-depend -# The argument list can be very long, use make -V and xargs to +# XXX this belongs elsewhere (inside GEN_CFILES if possible). +GEN_M_CFILES= ${MFILES:T:S/.m$/.c/} + +# The argument list can be very long, so use make -V and xargs to # pass it to mkdep. _kernel-depend: assym.s vnode_if.h ${BEFORE_DEPEND} \ - ${CFILES} ${SYSTEM_CFILES} ${GEN_CFILES} ${SFILES} \ - ${SYSTEM_SFILES} ${MFILES:T:S/.m$/.h/} + ${CFILES} ${SYSTEM_CFILES} ${GEN_CFILES} ${GEN_M_CFILES} \ + ${SFILES} ${SYSTEM_SFILES} ${MFILES:T:S/.m$/.h/} if [ -f .olddep ]; then mv .olddep .depend; fi rm -f .newdep - ${MAKE} -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | xargs \ - env MKDEP_CPP="${CC} -E" CC="${CC}" mkdep -a -f .newdep ${CFLAGS} - ${MAKE} -V SFILES -V SYSTEM_SFILES | xargs \ - env MKDEP_CPP="${CC} -E" mkdep -a -f .newdep ${ASM_CFLAGS} + ${MAKE} -V CFILES -V SYSTEM_CFILES -V GEN_CFILES -V GEN_M_CFILES | \ + MKDEP_CPP="${CC} -E" CC="${CC}" xargs \ + mkdep -a -f .newdep ${CFLAGS} + ${MAKE} -V SFILES -V SYSTEM_SFILES | \ + MKDEP_CPP="${CC} -E" xargs \ + mkdep -a -f .newdep ${ASM_CFLAGS} rm -f .depend mv .newdep .depend %%% Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 9:33:41 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87A9C37B400 for ; Tue, 13 Aug 2002 09:33:38 -0700 (PDT) Received: from mx1.datanet.hu (mx1.datanet.hu [194.149.13.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 011A443E70 for ; Tue, 13 Aug 2002 09:33:38 -0700 (PDT) (envelope-from sziszi@bsd.hu) Received: from fonix.adamsfamily.xx (nilus-1647.adsl.datanet.hu [195.56.94.123]) by mx1.datanet.hu (DataNet) with ESMTP id 12A6526B092 for ; Tue, 13 Aug 2002 18:33:36 +0200 (CEST) Received: from fonix.adamsfamily.xx (localhost [127.0.0.1]) by fonix.adamsfamily.xx (8.12.5/8.12.5) with ESMTP id g7DGXZ8g001652 for ; Tue, 13 Aug 2002 18:33:35 +0200 (CEST) (envelope-from sziszi@bsd.hu) Received: (from cc@localhost) by fonix.adamsfamily.xx (8.12.5/8.12.5/Submit) id g7DGXYpG001651 for current@FreeBSD.ORG; Tue, 13 Aug 2002 18:33:34 +0200 (CEST) X-Authentication-Warning: fonix.adamsfamily.xx: cc set sender to sziszi@bsd.hu using -f Date: Tue, 13 Aug 2002 18:33:33 +0200 From: Szilveszter Adam To: current@FreeBSD.ORG Subject: Re: Weirdness trying -STABLE -> -CURRENT Message-ID: <20020813163333.GD1105@fonix.adamsfamily.xx> Mail-Followup-To: Szilveszter Adam , current@FreeBSD.ORG References: <20020811194119.GA897@fonix.adamsfamily.xx> <200208130004.g7D04e2T003783@bunrab.catwhisker.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200208130004.g7D04e2T003783@bunrab.catwhisker.org> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello David, Thanks for getting back with the results. This points to the fatc that the instructions in UPDATING should updated. The method is almost what you did, only a tad more efficient: - make buildworld - make buildkernel KERNCONF=you_know_what - cp GENERIC.hints to device.hints or create your own if you need (because you have ISA devices eg) - make installkernel KERNCONF=you_know_what - reboot in single user (do the bootblocks if needed) (At this point you are running on the -CURRENT kernel but with the old userland: be aware of this because things like ipfw will now stop working until you are back in sync!) - mergemaster -p - make -k installworld (this will install as much of the new userland as possible, but will proceed in spite of errors.) - rm -rf /usr/include/* - make installworld (this now should go through without problems, you are now back in sync, your /usr/include is also repopulated with the new headers) - mergemaster (with the new mergemaster script) - reboot for the changes to take effect. Done. Hope this helps. -- Regards: Szilveszter ADAM Szombathely Hungary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 9:36:59 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3DC4837B400 for ; Tue, 13 Aug 2002 09:36:56 -0700 (PDT) Received: from vbook.express.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 529FF43E4A for ; Tue, 13 Aug 2002 09:36:55 -0700 (PDT) (envelope-from vova@express.ru) Received: from vova by vbook.express.ru with local (Exim 3.36 #1) id 17eeeu-0000ey-00; Tue, 13 Aug 2002 20:36:40 +0400 Subject: Re: rcNG and dhcp From: "Vladimir B. " Grebenschikov To: Mike Makonnen Cc: "current@freebsd.org" In-Reply-To: <20020813090036.090538bf.makonnen@pacbell.net> References: <1029141620.800.14.camel@vbook.express.ru> <20020813090036.090538bf.makonnen@pacbell.net> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Mailer: Ximian Evolution 1.0.7 Date: 13 Aug 2002 20:36:39 +0400 Message-Id: <1029256599.741.18.camel@vbook.express.ru> Mime-Version: 1.0 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG =F7 Tue, 13.08.2002, =D7 20:00, Mike Makonnen =CE=C1=D0=C9=D3=C1=CC: > On Mon, 12 Aug 2002 12:40:20 +0400 > "Vladimir B. Grebenschikov" wrote: >=20 > >=20 > > Hi=20 > >=20 > > There is patch to teach rcNG do not try dhcp on not-connected ethernet. > >=20 > > simply put > > ifconfig_fxp0=3D"dhcp-if-carrier" > > into rc.conf > >=20 > > It will be interested to somebody > >=20 > > Theoretically there are another solution for problem - add new key to > > dhclient - check interface media before broadcasting. >=20 > Yes, there is a simple solution: adjust the timeout in dhclient.conf. It is not solution - it is workaround=20 - I do not wand any dhcp activity if I have no media (say in car) And dhclient in case of failure of detecting network address will install lask seen one, with last seen default gateway and I will get very long timeout while any of my apps will try to reach network instead of instant 'no route to host' > I will quote David Malone from PR conf/38559: > <<<< > I would have said that it would be a bug not to do DHCP if the > interface has been configured for it and might upset people who > want to be able to plug the network cable in at a more leasurely > pace when they boot their laptops. >=20 > It also means that dhclient won't be able to use a lease listed in > its lease file, even if that lease is valid and the hub/switch/access > point you're connected to happens to be temporally down or out of > range. >=20 > I'd suggest that you try reducing the timeouts if the long timeout > isn't suitable for your setup. See the timeing options in dhclient.conf > man page. > >>>> >=20 >=20 > Cheers, > Mike. >=20 > >=20 > > --=20 > > Vladimir B. Grebenschikov > > vova@sw.ru, SWsoft, Inc. > >=20 --=20 Vladimir B. Grebenschikov vova@sw.ru, SWsoft, Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 10:47:29 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8678A37B400; Tue, 13 Aug 2002 10:47:23 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AA4843E4A; Tue, 13 Aug 2002 10:47:19 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g7DHlC728228; Tue, 13 Aug 2002 20:47:12 +0300 (EEST) (envelope-from ru) Date: Tue, 13 Aug 2002 20:47:12 +0300 From: Ruslan Ermilov To: "David O'Brien" , Bruce Evans , Kris Kennaway Cc: current@FreeBSD.org Subject: Re: GCC 3.1 hides warnings in system headers Message-ID: <20020813174712.GA27304@sunbay.com> References: <20020618123500.A2849@dragon.nuxi.com> <20020619150545.Q7664-100000@gamplex.bde.org> <20020618224324.A14019@dragon.nuxi.com> <20020808125309.GB98605@sunbay.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pf9I7BMVVzbSWLtt" Content-Disposition: inline In-Reply-To: <20020808125309.GB98605@sunbay.com> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable So gents (and ladies :-), what do we do about this? We had this change pre-3.1, and we have it in -STABLE now, so I assume we should no longer lie that our -CURRENT is so WARNS-clean? : -------------------------------------------------------------- : >>> stage 4: building everything.. : -------------------------------------------------------------- : [...] : =3D=3D=3D> games/grdc : cc -O -pipe -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /CURR= ENT/usr/src/games/grdc/grdc.c : cc1: warnings being treated as errors : In file included from /usr/obj/CURRENT/usr/src/i386/usr/include/ncurses.h= :112, : from /CURRENT/usr/src/games/grdc/grdc.c:15: : /usr/obj/CURRENT/usr/src/i386/usr/include/stdbool.h:41: warning: useless = keyword or type name in empty declaration : /usr/obj/CURRENT/usr/src/i386/usr/include/stdbool.h:41: warning: empty de= claration : *** Error code 1 :=20 : Stop in /CURRENT/usr/src/games/grdc. : *** Error code 1 On Thu, Aug 08, 2002 at 03:53:09PM +0300, Ruslan Ermilov wrote: > On Tue, Jun 18, 2002 at 10:43:24PM -0700, David O'Brien wrote: > > On Wed, Jun 19, 2002 at 03:11:19PM +1000, Bruce Evans wrote: > > > > 1. you've forgotten *.295 will totally disappear soon (as in not ev= en in > > > > the Attic, totally gone as if it never, ever existed). > > >=20 > > > It shouldn't even have been cvs removed yet, since the -mprofiler-epi= logue > > > bits haven't been merged int gcc yet. > >=20 > > All the commits to contrib/gcc.295 where committed into contrib/gcc > > before the 3.1 import. (that is not strictly true, as Kris's format > > hacks weren't, but he knew they would not be) > >=20 > > What part of history is missing from contrib/gcc? >=20 > Also, cccp.c,v 1.9 was not merged: >=20 > : revision 1.9 > : date: 2002/04/16 08:07:37; author: ru; state: Exp; lines: +2 -0 > : Don't let gcc(1) hide warnings in system includes. > :=20 > : Approved by: obrien >=20 > Here's the long promised merge of the functionality. I would like to > commit it soon if there are no objections. (This will take this file > off its vendor branch.) >=20 > %%% > Index: c-lex.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /home/ncvs/src/contrib/gcc/c-lex.c,v > retrieving revision 1.1.1.6 > diff -u -p -r1.1.1.6 c-lex.c > --- c-lex.c 13 May 2002 03:35:48 -0000 1.1.1.6 > +++ c-lex.c 8 Aug 2002 12:48:18 -0000 > @@ -315,7 +315,11 @@ cb_file_change (pfile, new_map) > } > =20 > update_header_times (new_map->to_file); > +#ifndef FREEBSD_NATIVE > in_system_header =3D new_map->sysp !=3D 0; > +#else /* FREEBSD_NATIVE */ > + in_system_header =3D 0; > +#endif /* FREEBSD_NATIVE */ > input_filename =3D new_map->to_file; > lineno =3D to_line; > map =3D new_map; > %%% --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --pf9I7BMVVzbSWLtt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9WUYgUkv4P6juNwoRAn01AJ9xIEJdpMjM/3baUMrm0ycO1W57QwCfT90V eoMk2szkb0HWRbcK4a+j5uA= =heP6 -----END PGP SIGNATURE----- --pf9I7BMVVzbSWLtt-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 11: 7:25 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FD9C37B400; Tue, 13 Aug 2002 11:07:20 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED8B143E6A; Tue, 13 Aug 2002 11:07:18 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id SAA14941; Tue, 13 Aug 2002 18:07:16 GMT Date: Wed, 14 Aug 2002 04:12:22 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Tim Robbins Cc: David Xu , Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) In-Reply-To: <20020813235939.A10212@dilbert.robbins.dropbear.id.au> Message-ID: <20020814033444.N29606-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 13 Aug 2002, Tim Robbins wrote: > On Tue, Aug 13, 2002 at 06:14:38AM -0700, David Xu wrote: > > > --- Terry Lambert wrote: > > > I did. It's still an order of operation problem in the kernel > > > during fork(), as Bruce pointed out in a later posting (so me > > > pointing it out here is probably redundant... 8-)). Er, I didn't point out anything like this, and thought that it wasn't a kernel problem. It's certainly not a problem at fork() time. > > > I still think other code is going to have the problem, too, so > > > changing su alone doesn't fix things. Better to not deliver > > > the tty output stopped signal. > > > > Don't touch tty code, if you change, you'll break more code, > > current problem is just because su forks a child process and > > want to take over some job control work from shell, it is of > > course not a easy job. the problem does not exist in STABLE > > branch because su does not fork. I think unwanted SIGTTOU's are just a sympto. > What about chpass, vipw, and the other pw_edit() consumers? vipw > works correctly wrt suspending with ^Z on 4.6-RELEASE, but does not > on -CURRENT. As far as I can see, pw_edit()'s logic has not been changed. Here is a trace for vi and vipw (but not the shell) from when I hit ^Z in the editor to when the shell is given control because vi is bogusly stopped again: 32898 vi 0.000010 CALL read(0,0x8118000,0xff) 32898 vi 8.642726 GIO fd 0 read 1 byte "\^Z" I waited about 10 seconds before hitting ^Z. 32898 vi 0.000036 RET read 1 32898 vi 0.007736 CALL break(0x813c000) 32898 vi 0.000008 RET break 0 32898 vi 0.000650 CALL sigaction(0x12,0x810684c,0x8106864) 32898 vi 0.000004 RET sigaction 0 32898 vi 0.002177 CALL poll(0xbfbff438,0x1,0) 32898 vi 0.000007 RET poll 0 32898 vi 0.000997 CALL poll(0xbfbff438,0x1,0) 32898 vi 0.000012 RET poll 0 32898 vi 0.000055 CALL write(0x1,0x8131000,0x5) 32898 vi 0.000017 GIO fd 1 wrote 5 bytes "\^[[25d" 32898 vi 0.000067 RET write 5 32898 vi 0.000006 CALL sigaction(0x12,0x8106864,0) 32898 vi 0.000004 RET sigaction 0 32898 vi 0.000016 CALL write(0x1,0x8131000,0x8) 32898 vi 0.000005 GIO fd 1 wrote 8 bytes "\^[[25;1H\r" 32898 vi 0.000024 RET write 8 32898 vi 0.000731 CALL ioctl(0x1,TIOCSETAW,0x811942c) 32898 vi 0.000017 RET ioctl 0 32898 vi 0.000510 CALL ioctl(0,TIOCSETAW,0xbfbff440) 32898 vi 0.000010 RET ioctl 0 32898 vi 0.001196 CALL kill(0,0x12) vi does some setup and then kills the process group with SIGTSTP. 32897 vipw 5.363986 RET wait4 32898/0x8082 I waited about 5 seconds before hitting %. 32898 vi 0.000033 RET kill 0 vi regained control. Not sure if this is right. 32897 vipw 0.004388 CALL getpid 32897 vipw 0.000002 RET getpid 32897/0x8081 32898 vi 0.000019 CALL sigaction(0x12,0x810684c,0x8106864) 32898 vi 0.000004 RET sigaction 0 32897 vipw 0.005508 CALL kill(0x8081,0x12) vipw does nothing much and then kills itself with SIGTSTP. 32898 vi 0.000064 CALL ioctl(0x1,TIOCGETA,0xbfbff3a0) 32898 vi 0.000003 RET ioctl 0 32898 vi 0.002309 CALL ioctl(0x1,TIOCGWINSZ,0xbfbff3f8) 32898 vi 0.000003 RET ioctl 0 32898 vi 0.007648 CALL ioctl(0x1,TIOCSETAW,0x8119458) This ioctl blocks and the shell gains control. Apparently vi is still in the background at this point, but it shouldn't be... Or maybe which process is in the background depends on races, and it is normal for vi to block here (please check on RELENG_4 if you have it handy), and the problem is simply a missing or extra signal that results in vi not being put back in the foreground. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 12:41:20 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B61537B400 for ; Tue, 13 Aug 2002 12:41:17 -0700 (PDT) Received: from smart.eusc.inter.net (smart.eusc.inter.net [213.73.101.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5168543E72 for ; Tue, 13 Aug 2002 12:41:16 -0700 (PDT) (envelope-from msch@snafu.de) Received: from tc01-n71-024.de.inter.net ([213.73.71.24] helo=there) by smart.eusc.inter.net with smtp (Exim 3.36 #1) id 17ehXW-0002QK-00; Tue, 13 Aug 2002 21:41:14 +0200 Content-Type: text/plain; charset="iso-8859-1" From: Matthias Schuendehuette Reply-To: msch@snafu.de Organization: Micro$oft-free Zone To: Alexander Leidinger , David Malone Subject: Re: xdm-Problems with PAM Date: Tue, 13 Aug 2002 21:41:13 +0200 X-Mailer: KMail [version 1.3.1] Cc: freebsd-current@FreeBSD.ORG References: <20020812210659.GA25843@walton.maths.tcd.ie> <20020813144249.437ad696.Alexander@Leidinger.net> In-Reply-To: <20020813144249.437ad696.Alexander@Leidinger.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Am Dienstag, 13. August 2002 14:42 schrieb Alexander Leidinger: > On Mon, 12 Aug 2002 22:06:59 +0100 David Malone > > > wrote: > > On Mon, Aug 12, 2002 at 10:19:00PM +0200, Matthias Schuendehuette > > > > wrote: > > > Aug 12 18:20:02 current : [dlerror: /usr/lib/pam_lastlog.so: > > > Undefined > > > symbol "_openpam_log"] > > > Aug 12 18:20:02 current : adding faulty module: > > > /usr/lib/pam_lastlog.so > > > > > > 'Known behaviour' or real problems? > > > > I recompiled xdm and the problem went away - I'm not sure if I > > should have thought about the problem more carefully. > > If xdm was compiled with "old-pam", recompiling it is the only thing > which helps, if it is already compield with "new-pam", then I don't > know what happens here. Ahemm... I must admit, I installed XFree4.2 from the 4.6-CDs... That obviously doesn't work - at least 'xdm' can't work, the rest of X seems to be OK. It's a pity - I can't download and compile the whole X-stuff with a only partly working i4b under -current on a 2 GB disk... Thank you both for your replies - Matthias -- Ciao/BSD - Matthias Matthias Schuendehuette , Berlin (Germany) Powered by FreeBSD 4.6-STABLE To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 12:53:49 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A946237B400 for ; Tue, 13 Aug 2002 12:53:46 -0700 (PDT) Received: from mx1.datanet.hu (mx1.datanet.hu [194.149.13.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2216543E3B for ; Tue, 13 Aug 2002 12:53:46 -0700 (PDT) (envelope-from sziszi@bsd.hu) Received: from fonix.adamsfamily.xx (nilus-1647.adsl.datanet.hu [195.56.94.123]) by mx1.datanet.hu (DataNet) with ESMTP id 3C9EF26A1D5 for ; Tue, 13 Aug 2002 21:53:39 +0200 (CEST) Received: from fonix.adamsfamily.xx (localhost [127.0.0.1]) by fonix.adamsfamily.xx (8.12.5/8.12.5) with ESMTP id g7DJrc8g009861 for ; Tue, 13 Aug 2002 21:53:38 +0200 (CEST) (envelope-from sziszi@bsd.hu) Received: (from cc@localhost) by fonix.adamsfamily.xx (8.12.5/8.12.5/Submit) id g7DJrbLl009860 for current@FreeBSD.ORG; Tue, 13 Aug 2002 21:53:38 +0200 (CEST) X-Authentication-Warning: fonix.adamsfamily.xx: cc set sender to sziszi@bsd.hu using -f Date: Tue, 13 Aug 2002 21:53:37 +0200 From: Szilveszter Adam To: current@FreeBSD.ORG Subject: Re: Weirdness trying -STABLE -> -CURRENT Message-ID: <20020813195337.GE1105@fonix.adamsfamily.xx> Mail-Followup-To: Szilveszter Adam , current@FreeBSD.ORG References: <20020811194119.GA897@fonix.adamsfamily.xx> <200208130004.g7D04e2T003783@bunrab.catwhisker.org> <20020813163333.GD1105@fonix.adamsfamily.xx> <3D596170.6030107@myrealbox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D596170.6030107@myrealbox.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Aug 13, 2002 at 01:43:44PM -0600, Kyle Butt wrote: > Szilveszter Adam wrote: > >(At this point you are running on the -CURRENT kernel but with the old > >userland: be aware of this because things like ipfw will now stop > >working until you are back in sync!) > > > The trick here is that a new loader isn't installed yet. the old kernel > lives in /kernel and the new one in /boot/kernel/kernel you have to be > sure and boot the new one. make -k installworld accomplishes the same > thing (By installing a new loader) I was not merely thinking of this. For ipfw to work, the kernel and the /sbin/ipfw binary have to match, or else adding or otherwise manipulating rules will likely fail. This will either result in a wide-open firewall or a tightly closed one, depending on the kernel config. This happens even when the ipfw support is not loaded from a module. -- Regards: Szilveszter ADAM Szombathely Hungary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 13:19:15 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FDE237B400 for ; Tue, 13 Aug 2002 13:19:10 -0700 (PDT) Received: from smtp10.atl.mindspring.net (smtp10.atl.mindspring.net [207.69.200.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35CEC43E72 for ; Tue, 13 Aug 2002 13:19:10 -0700 (PDT) (envelope-from kylebutt@myrealbox.com) Received: from user-112vpc6.biz.mindspring.com ([66.47.229.134] helo=myrealbox.com) by smtp10.atl.mindspring.net with esmtp (Exim 3.33 #1) id 17ehZx-0005Bq-00; Tue, 13 Aug 2002 15:43:45 -0400 Message-ID: <3D596170.6030107@myrealbox.com> Date: Tue, 13 Aug 2002 13:43:44 -0600 From: Kyle Butt User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.1b) Gecko/20020721 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Szilveszter Adam Cc: current@FreeBSD.ORG Subject: Re: Weirdness trying -STABLE -> -CURRENT References: <20020811194119.GA897@fonix.adamsfamily.xx> <200208130004.g7D04e2T003783@bunrab.catwhisker.org> <20020813163333.GD1105@fonix.adamsfamily.xx> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Szilveszter Adam wrote: >Hello David, > >Thanks for getting back with the results. This points to the fatc that >the instructions in UPDATING should updated. > >The method is almost what you did, only a tad more efficient: > >- make buildworld >- make buildkernel KERNCONF=you_know_what >- cp GENERIC.hints to device.hints or create your own if you need > (because you have ISA devices eg) >- make installkernel KERNCONF=you_know_what >- reboot in single user (do the bootblocks if needed) >(At this point you are running on the -CURRENT kernel but with the old >userland: be aware of this because things like ipfw will now stop >working until you are back in sync!) > The trick here is that a new loader isn't installed yet. the old kernel lives in /kernel and the new one in /boot/kernel/kernel you have to be sure and boot the new one. make -k installworld accomplishes the same thing (By installing a new loader) >- mergemaster -p >- make -k installworld (this will install as much of the new userland as > possible, but will proceed in spite of errors.) >- rm -rf /usr/include/* >- make installworld (this now should go through without problems, you > are now back in sync, your /usr/include is also repopulated with the > new headers) >- mergemaster (with the new mergemaster script) >- reboot for the changes to take effect. > >Done. > >Hope this helps. > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 16:35:20 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38F5237B400; Tue, 13 Aug 2002 16:35:14 -0700 (PDT) Received: from scaup.mail.pas.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 746FF43E7B; Tue, 13 Aug 2002 16:35:13 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0032.cvx40-bradley.dialup.earthlink.net ([216.244.42.32] helo=mindspring.com) by scaup.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17elBu-0000LF-00; Tue, 13 Aug 2002 16:35:10 -0700 Message-ID: <3D599778.6EFFA843@mindspring.com> Date: Tue, 13 Aug 2002 16:34:16 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Bruce Evans Cc: Tim Robbins , David Xu , current@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) References: <20020814033444.N29606-100000@gamplex.bde.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bruce Evans wrote: > Er, I didn't point out anything like this, and thought that it wasn't > a kernel problem. It's certainly not a problem at fork() time. [ ... ] > I think unwanted SIGTTOU's are just a sympto. Here's the source of my confusion; I thought that you meant they were the proximal cause. > > What about chpass, vipw, and the other pw_edit() consumers? vipw > > works correctly wrt suspending with ^Z on 4.6-RELEASE, but does not > > on -CURRENT. As far as I can see, pw_edit()'s logic has not been changed. > > Here is a trace for vi and vipw (but not the shell) from when I hit ^Z > in the editor to when the shell is given control because vi is bogusly > stopped again: [ ... ] > This ioctl blocks and the shell gains control. Apparently vi is still > in the background at this point, but it shouldn't be... Or maybe which > process is in the background depends on races, and it is normal for > vi to block here (please check on RELENG_4 if you have it handy), and > the problem is simply a missing or extra signal that results in vi not > being put back in the foreground. This does not happen in 4.1-RELEASE or 4.4-RELEASE, AFAICT. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 16:38:18 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DBCE37B400 for ; Tue, 13 Aug 2002 16:38:15 -0700 (PDT) Received: from web20907.mail.yahoo.com (web20907.mail.yahoo.com [216.136.226.229]) by mx1.FreeBSD.org (Postfix) with SMTP id A58BD43E72 for ; Tue, 13 Aug 2002 16:38:14 -0700 (PDT) (envelope-from bsddiy@yahoo.com) Message-ID: <20020813233813.77899.qmail@web20907.mail.yahoo.com> Received: from [210.83.128.34] by web20907.mail.yahoo.com via HTTP; Tue, 13 Aug 2002 16:38:13 PDT Date: Tue, 13 Aug 2002 16:38:13 -0700 (PDT) From: David Xu Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) To: Tim Robbins Cc: current@FreeBSD.ORG In-Reply-To: <20020813235939.A10212@dilbert.robbins.dropbear.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --- Tim Robbins wrote: > On Tue, Aug 13, 2002 at 06:14:38AM -0700, David Xu wrote: > > > --- Terry Lambert wrote: > > > I did. It's still an order of operation problem in the kernel > > > during fork(), as Bruce pointed out in a later posting (so me > > > pointing it out here is probably redundant... 8-)). > > > > > > I still think other code is going to have the problem, too, so > > > changing su alone doesn't fix things. Better to not deliver > > > the tty output stopped signal. > > > > > > -- Terry > > > > Don't touch tty code, if you change, you'll break more code, > > current problem is just because su forks a child process and > > want to take over some job control work from shell, it is of > > course not a easy job. the problem does not exist in STABLE > > branch because su does not fork. > > What about chpass, vipw, and the other pw_edit() consumers? vipw > works correctly wrt suspending with ^Z on 4.6-RELEASE, but does not > on -CURRENT. As far as I can see, pw_edit()'s logic has not been changed. > > This is a slightly different case to that of the shell suspending _itself_, > but I think it's similar enough that the solution may be the same. > > > Tim I have very current source, and don't have any problem you have encountered. I can not reproduced it. David Xu __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 17: 5:21 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE79337B400; Tue, 13 Aug 2002 17:05:19 -0700 (PDT) Received: from falcon.mail.pas.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CFBB43E3B; Tue, 13 Aug 2002 17:05:19 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0032.cvx40-bradley.dialup.earthlink.net ([216.244.42.32] helo=mindspring.com) by falcon.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17elf0-0004CA-00; Tue, 13 Aug 2002 17:05:15 -0700 Message-ID: <3D599E84.1AF6FEB4@mindspring.com> Date: Tue, 13 Aug 2002 17:04:20 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: David Xu Cc: Tim Robbins , current@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) References: <20020813233813.77899.qmail@web20907.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David Xu wrote: > > What about chpass, vipw, and the other pw_edit() consumers? vipw > > works correctly wrt suspending with ^Z on 4.6-RELEASE, but does not > > on -CURRENT. As far as I can see, pw_edit()'s logic has not been changed. > > > > This is a slightly different case to that of the shell suspending _itself_, > > but I think it's similar enough that the solution may be the same. > > I have very current source, and don't have any problem you have encountered. > I can not reproduced it. Both different reports have been from Tim Robbins. It may be that he has a local problem, and that his local problem is greatly confusing this discussion. If you can not repeat his second problem on -current locally, I would be tempted to dismiss it as being a local problem, and not a general one. Tim was also the person who posted the GPL'ed path that I was worried that Andrey was using against "su"; not to disparage anyone, but most of my personal confusion has been coming from things Tim said... 8-). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 18:13: 0 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A01D37B401 for ; Tue, 13 Aug 2002 18:12:58 -0700 (PDT) Received: from web20909.mail.yahoo.com (web20909.mail.yahoo.com [216.136.226.231]) by mx1.FreeBSD.org (Postfix) with SMTP id 07DD043E3B for ; Tue, 13 Aug 2002 18:12:58 -0700 (PDT) (envelope-from bsddiy@yahoo.com) Message-ID: <20020814011257.25645.qmail@web20909.mail.yahoo.com> Received: from [218.97.164.167] by web20909.mail.yahoo.com via HTTP; Tue, 13 Aug 2002 18:12:57 PDT Date: Tue, 13 Aug 2002 18:12:57 -0700 (PDT) From: David Xu Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) To: Terry Lambert Cc: Tim Robbins , current@FreeBSD.ORG In-Reply-To: <3D599E84.1AF6FEB4@mindspring.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --- Terry Lambert wrote: > David Xu wrote: > > > What about chpass, vipw, and the other pw_edit() consumers? vipw > > > works correctly wrt suspending with ^Z on 4.6-RELEASE, but does not > > > on -CURRENT. As far as I can see, pw_edit()'s logic has not been changed. > > > > > > This is a slightly different case to that of the shell suspending _itself_, > > > but I think it's similar enough that the solution may be the same. > > > > I have very current source, and don't have any problem you have encountered. > > I can not reproduced it. > > > Both different reports have been from Tim Robbins. It may > be that he has a local problem, and that his local problem > is greatly confusing this discussion. > > If you can not repeat his second problem on -current locally, > I would be tempted to dismiss it as being a local problem, and > not a general one. > > Tim was also the person who posted the GPL'ed path that I was > worried that Andrey was using against "su"; not to disparage > anyone, but most of my personal confusion has been coming from > things Tim said... 8-). > > -- Terry My machine may be different with Tim's, it is a P4 1.5G CPU, its speed maybe fast enough to skip the problem. BTW, bde has also reported the problem, so this is serious, wouldn't kernel send out SIGTTOU when null change a foreground group is enough to fix the problem?. but why don't they block SIGTTOU when calling tcsetpgrp()? David __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 18:26:41 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D1A737B400; Tue, 13 Aug 2002 18:26:39 -0700 (PDT) Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id C922543E70; Tue, 13 Aug 2002 18:26:37 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0032.cvx40-bradley.dialup.earthlink.net ([216.244.42.32] helo=mindspring.com) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17emvj-00036N-00; Tue, 13 Aug 2002 18:26:35 -0700 Message-ID: <3D59B191.6F00957E@mindspring.com> Date: Tue, 13 Aug 2002 18:25:37 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: David Xu Cc: Tim Robbins , current@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) References: <20020814011257.25645.qmail@web20909.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David Xu wrote: > > Both different reports have been from Tim Robbins. It may > > be that he has a local problem, and that his local problem > > is greatly confusing this discussion. > > > > If you can not repeat his second problem on -current locally, > > I would be tempted to dismiss it as being a local problem, and > > not a general one. > > > > Tim was also the person who posted the GPL'ed path that I was > > worried that Andrey was using against "su"; not to disparage > > anyone, but most of my personal confusion has been coming from > > things Tim said... 8-). > > My machine may be different with Tim's, it is a P4 1.5G CPU, > its speed maybe fast enough to skip the problem. BTW, bde has > also reported the problem, so this is serious, wouldn't kernel > send out SIGTTOU when null change a foreground group is enough > to fix the problem?. but why don't they block SIGTTOU when > calling tcsetpgrp()? Bruce reported the first problem, with su, which arose from DES changing the code to support PAM, and to have an extra fork, where it didn't before. Bruce reported that he *didn't* have the second problem reported by Tim Robbins, which appears to be local to his site (a search of the archives indicates that he is the only one reporting it). The patch that Tim posted, which is GPL'ed because of its origin, and therefore unusable exacept as a model, "fixes" the problem by blocking the signal delivery before the fork. Note that merely blocking the delivery means that the signal will be delivered later, since block sugnals are accumulated, not discarded (see what the patch does, for details). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 18:51:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C281037B401 for ; Tue, 13 Aug 2002 18:51:41 -0700 (PDT) Received: from web20909.mail.yahoo.com (web20909.mail.yahoo.com [216.136.226.231]) by mx1.FreeBSD.org (Postfix) with SMTP id 41DEB43E6E for ; Tue, 13 Aug 2002 18:51:41 -0700 (PDT) (envelope-from bsddiy@yahoo.com) Message-ID: <20020814015141.31423.qmail@web20909.mail.yahoo.com> Received: from [218.97.164.167] by web20909.mail.yahoo.com via HTTP; Tue, 13 Aug 2002 18:51:41 PDT Date: Tue, 13 Aug 2002 18:51:41 -0700 (PDT) From: David Xu Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) To: Terry Lambert Cc: Tim Robbins , current@FreeBSD.ORG In-Reply-To: <3D59B191.6F00957E@mindspring.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --- Terry Lambert wrote: > > My machine may be different with Tim's, it is a P4 1.5G CPU, > > its speed maybe fast enough to skip the problem. BTW, bde has > > also reported the problem, so this is serious, wouldn't kernel > > send out SIGTTOU when null change a foreground group is enough > > to fix the problem?. but why don't they block SIGTTOU when > > calling tcsetpgrp()? > > Bruce reported the first problem, with su, which arose from > DES changing the code to support PAM, and to have an extra > fork, where it didn't before. > > Bruce reported that he *didn't* have the second problem reported > by Tim Robbins, which appears to be local to his site (a search > of the archives indicates that he is the only one reporting it). > > The patch that Tim posted, which is GPL'ed because of its origin, > and therefore unusable exacept as a model, "fixes" the problem > by blocking the signal delivery before the fork. > > Note that merely blocking the delivery means that the signal will > be delivered later, since block sugnals are accumulated, not > discarded (see what the patch does, for details). > > -- Terry Sorry, I mean ignore SIGTTOU. David Xu __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 19:10:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 584CF37B400; Tue, 13 Aug 2002 19:10:37 -0700 (PDT) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id C28D543E4A; Tue, 13 Aug 2002 19:10:36 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.12.5/8.12.5) with ESMTP id g7E2AaH4004330; Tue, 13 Aug 2002 19:10:36 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.12.5/8.12.5/Submit) id g7E2AWe9004329; Tue, 13 Aug 2002 19:10:32 -0700 (PDT) Date: Tue, 13 Aug 2002 19:10:32 -0700 From: Steve Kargl To: Terry Lambert Cc: David Xu , Tim Robbins , current@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) Message-ID: <20020814021032.GA4315@troutmask.apl.washington.edu> References: <20020814011257.25645.qmail@web20909.mail.yahoo.com> <3D59B191.6F00957E@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D59B191.6F00957E@mindspring.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Aug 13, 2002 at 06:25:37PM -0700, Terry Lambert wrote: > > The patch that Tim posted, which is GPL'ed because of its origin, > and therefore unusable exacept as a model, "fixes" the problem > by blocking the signal delivery before the fork. > Can you provide a non-GPL patch to assuage your repeated beratement of Tim? -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 21:53: 1 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B01E37B400 for ; Tue, 13 Aug 2002 21:52:59 -0700 (PDT) Received: from ref5.freebsd.org (ref5.FreeBSD.org [216.136.204.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34A2D43E6A for ; Tue, 13 Aug 2002 21:52:59 -0700 (PDT) (envelope-from des@FreeBSD.org) Received: from ref5.freebsd.org (localhost [127.0.0.1]) by ref5.freebsd.org (8.12.5/8.12.5) with ESMTP id g7E4qwgr089573 for ; Tue, 13 Aug 2002 21:52:58 -0700 (PDT) (envelope-from des@ref5.freebsd.org) Received: (from des@localhost) by ref5.freebsd.org (8.12.5/8.12.5/Submit) id g7E4qwvA089571 for current@freebsd.org; Tue, 13 Aug 2002 21:52:58 -0700 (PDT) Date: Tue, 13 Aug 2002 21:52:58 -0700 (PDT) From: Dag-Erling Smorgrav Message-Id: <200208140452.g7E4qwvA089571@ref5.freebsd.org> To: current@freebsd.org Subject: i386 tinderbox failure Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- >>> stage 2: cleaning up the object tree -------------------------------------------------------------- >>> stage 2: rebuilding the object tree -------------------------------------------------------------- >>> stage 2: build tools -------------------------------------------------------------- >>> stage 3: cross tools -------------------------------------------------------------- >>> stage 4: populating /home/des/tinderbox/i386/obj/local0/scratch/des/src/i386/usr/include -------------------------------------------------------------- >>> stage 4: building libraries -------------------------------------------------------------- >>> stage 4: make dependencies -------------------------------------------------------------- >>> stage 4: building everything.. -------------------------------------------------------------- ===> share/colldef *** Signal 11 Stop in /local0/scratch/des/src/share/colldef. *** Error code 1 Stop in /local0/scratch/des/src/share. *** Error code 1 Stop in /local0/scratch/des/src. *** Error code 1 Stop in /local0/scratch/des/src. *** Error code 1 Stop in /local0/scratch/des/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 22: 2:48 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83BE337B400 for ; Tue, 13 Aug 2002 22:02:46 -0700 (PDT) Received: from dilbert.robbins.dropbear.id.au (141.a.003.mel.iprimus.net.au [203.134.172.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFBD443E4A for ; Tue, 13 Aug 2002 22:02:44 -0700 (PDT) (envelope-from tim@robbins.dropbear.id.au) Received: from dilbert.robbins.dropbear.id.au (nu7a1t81n5lysa8l@localhost [127.0.0.1]) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3) with ESMTP id g7E52dKF043149; Wed, 14 Aug 2002 15:02:39 +1000 (EST) (envelope-from tim@dilbert.robbins.dropbear.id.au) Received: (from tim@localhost) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3/Submit) id g7E52cYj043148; Wed, 14 Aug 2002 15:02:38 +1000 (EST) Date: Wed, 14 Aug 2002 15:02:38 +1000 From: Tim Robbins To: Terry Lambert Cc: current@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) Message-ID: <20020814150238.B40787@dilbert.robbins.dropbear.id.au> References: <20020813233813.77899.qmail@web20907.mail.yahoo.com> <3D599E84.1AF6FEB4@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3D599E84.1AF6FEB4@mindspring.com>; from tlambert2@mindspring.com on Tue, Aug 13, 2002 at 05:04:20PM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Aug 13, 2002 at 05:04:20PM -0700, Terry Lambert wrote: > Both different reports have been from Tim Robbins. It may > be that he has a local problem, and that his local problem > is greatly confusing this discussion. Unfortunately, this is not a local problem -- I can reproduce it locally (i386, world/kernel from yesterday), on panther.freebsd.org (sparc64, kernel built July 19), and beast.freebsd.org (alpha, also built July 19). I cannot reproduce it on ref5 (i386, built July 1). Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 22:21:35 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D71437B400 for ; Tue, 13 Aug 2002 22:21:32 -0700 (PDT) Received: from mta6.snfc21.pbi.net (mta6.snfc21.pbi.net [206.13.28.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id B60CE43E3B for ; Tue, 13 Aug 2002 22:21:31 -0700 (PDT) (envelope-from makonnen@pacbell.net) Received: from kokeb.ambesa.net ([64.173.9.2]) by mta6.snfc21.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0H0T003EPIVVXP@mta6.snfc21.pbi.net> for current@FreeBSD.ORG; Tue, 13 Aug 2002 22:21:31 -0700 (PDT) Received: from kokeb.ambesa.net (tanstaafl@localhost [IPv6:::1]) by kokeb.ambesa.net (8.12.5/8.12.5) with ESMTP id g7E5Yqxs072688; Tue, 13 Aug 2002 22:34:52 -0700 (PDT envelope-from mtm@kokeb.ambesa.net) Received: (from mtm@localhost) by kokeb.ambesa.net (8.12.5/8.12.5/Submit) id g7E5YpAb072687; Tue, 13 Aug 2002 22:34:51 -0700 (PDT envelope-from mtm) Date: Tue, 13 Aug 2002 22:34:51 -0700 From: Mike Makonnen Subject: Re: rcNG and dhcp In-reply-to: <1029256599.741.18.camel@vbook.express.ru> To: "Vladimir B. Grebenschikov" Cc: current@FreeBSD.ORG Message-id: <20020813223451.0e39200b.makonnen@pacbell.net> MIME-version: 1.0 X-Mailer: Sylpheed version 0.7.8 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <1029141620.800.14.camel@vbook.express.ru> <20020813090036.090538bf.makonnen@pacbell.net> <1029256599.741.18.camel@vbook.express.ru> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 13 Aug 2002 20:36:39 +0400 "Vladimir B. Grebenschikov" wrote: > > > Yes, there is a simple solution: adjust the timeout in dhclient.conf. > > It is not solution - it is workaround > - I do not wand any dhcp activity if I have no media (say in car) > And dhclient in case of failure of detecting network address will > install lask seen one, with last seen default gateway and I will get > very long timeout while any of my apps will try to reach network > instead of instant 'no route to host' > Then, bring the interface down manually (it's even easier now that you can insert your own script in the rc boot process). I am not being flippant. Your suggestion, while it solves your problem, would create a problem for others (re-read the quote). Cheers, Mike Makonnen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 23:40:24 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 103D737B400; Tue, 13 Aug 2002 23:40:22 -0700 (PDT) Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2F9E43E72; Tue, 13 Aug 2002 23:40:21 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0223.cvx40-bradley.dialup.earthlink.net ([216.244.42.223] helo=mindspring.com) by swan.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17erpD-00071T-00; Tue, 13 Aug 2002 23:40:12 -0700 Message-ID: <3D59FB15.A4429ACB@mindspring.com> Date: Tue, 13 Aug 2002 23:39:17 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Steve Kargl Cc: David Xu , Tim Robbins , current@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) References: <20020814011257.25645.qmail@web20909.mail.yahoo.com> <3D59B191.6F00957E@mindspring.com> <20020814021032.GA4315@troutmask.apl.washington.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Steve Kargl wrote: > On Tue, Aug 13, 2002 at 06:25:37PM -0700, Terry Lambert wrote: > > The patch that Tim posted, which is GPL'ed because of its origin, > > and therefore unusable exacept as a model, "fixes" the problem > > by blocking the signal delivery before the fork. > > Can you provide a non-GPL patch to assuage your repeated > beratement of Tim? I'm not repeatedly berating him. I'm simply pointing out that the proposed patch has a license incompatbile with the source code. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 23:48:33 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BAA7937B400; Tue, 13 Aug 2002 23:48:29 -0700 (PDT) Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B8B343E70; Tue, 13 Aug 2002 23:48:29 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0223.cvx40-bradley.dialup.earthlink.net ([216.244.42.223] helo=mindspring.com) by swan.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17erxE-0004va-00; Tue, 13 Aug 2002 23:48:28 -0700 Message-ID: <3D59FD06.312B24C3@mindspring.com> Date: Tue, 13 Aug 2002 23:47:34 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Steve Kargl , David Xu , Tim Robbins , current@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) References: <20020814011257.25645.qmail@web20909.mail.yahoo.com> <3D59B191.6F00957E@mindspring.com> <20020814021032.GA4315@troutmask.apl.washington.edu> <3D59FB15.A4429ACB@mindspring.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Terry Lambert wrote: > Steve Kargl wrote: > > On Tue, Aug 13, 2002 at 06:25:37PM -0700, Terry Lambert wrote: > > > The patch that Tim posted, which is GPL'ed because of its origin, > > > and therefore unusable exacept as a model, "fixes" the problem > > > by blocking the signal delivery before the fork. > > > > Can you provide a non-GPL patch to assuage your repeated > > beratement of Tim? > > I'm not repeatedly berating him. I'm simply pointing out > that the proposed patch has a license incompatbile with > the source code. As to your question about the patch, I'm using code that predates the PAM changes, and not running with the most recent set of KSE changes to the signal handling, so I don't have the problem. The simplest solution is to undo the things that happened between the time the problem started, and the time there wasn't a problem. IMO, it's the responsibility of the people who broke it to fix it, as the price for having the changes they made stay in the source tree. Making changes that break things you personally don't care about is not a workable model (also IMO). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Tue Aug 13 23:55: 6 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A4BD37B400; Tue, 13 Aug 2002 23:55:04 -0700 (PDT) Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B19843E77; Tue, 13 Aug 2002 23:55:00 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0223.cvx40-bradley.dialup.earthlink.net ([216.244.42.223] helo=mindspring.com) by swan.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17es3X-0001Yq-00; Tue, 13 Aug 2002 23:54:59 -0700 Message-ID: <3D59FE8E.298A4AE5@mindspring.com> Date: Tue, 13 Aug 2002 23:54:06 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Tim Robbins Cc: current@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) References: <20020813233813.77899.qmail@web20907.mail.yahoo.com> <3D599E84.1AF6FEB4@mindspring.com> <20020814150238.B40787@dilbert.robbins.dropbear.id.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Tim Robbins wrote: > On Tue, Aug 13, 2002 at 05:04:20PM -0700, Terry Lambert wrote: > > Both different reports have been from Tim Robbins. It may > > be that he has a local problem, and that his local problem > > is greatly confusing this discussion. > > Unfortunately, this is not a local problem -- I can reproduce it locally > (i386, world/kernel from yesterday), on panther.freebsd.org (sparc64, kernel > built July 19), and beast.freebsd.org (alpha, also built July 19). I cannot > reproduce it on ref5 (i386, built July 1). If you update to the very most recent current, do the problems occur? It's currently August 13th, which means that you are a month behind on the machines with the problem, and a month and a half behind on the other. If both problems still occur with the most recent current, do they go away if you back out *just* the PAM changes? You haven't really done the necessary fault isolation needed to determine if there is a problem which was introduced by the KSE commit to the signal handling (and your July 19th date is too early for anyone to reasonably repeat your testing). It may be that something was broken and then fixed, and you do not have the fix simply because you are running old code. It's always possible to find the fix, even if you have to do a binary search of the source tree. For 32 days, we are talking log2(32)+1 or 6 builds, maximum, to find the commit that is the root cause of the behaviour you are seeing. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Aug 14 0: 3:59 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0156537B400 for ; Wed, 14 Aug 2002 00:03:57 -0700 (PDT) Received: from vbook.express.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1615943E6E for ; Wed, 14 Aug 2002 00:03:56 -0700 (PDT) (envelope-from vova@express.ru) Received: from vova by vbook.express.ru with local (Exim 3.36 #1) id 17esBy-0000Fx-00; Wed, 14 Aug 2002 11:03:42 +0400 Subject: Re: rcNG and dhcp From: "Vladimir B. " Grebenschikov To: Mike Makonnen Cc: "current@freebsd.org" In-Reply-To: <20020813223451.0e39200b.makonnen@pacbell.net> References: <1029141620.800.14.camel@vbook.express.ru> <20020813090036.090538bf.makonnen@pacbell.net> <1029256599.741.18.camel@vbook.express.ru> <20020813223451.0e39200b.makonnen@pacbell.net> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Mailer: Ximian Evolution 1.0.7 Date: 14 Aug 2002 11:03:42 +0400 Message-Id: <1029308622.736.18.camel@vbook.express.ru> Mime-Version: 1.0 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG =F7 Wed, 14.08.2002, =D7 09:34, Mike Makonnen =CE=C1=D0=C9=D3=C1=CC: > On Tue, 13 Aug 2002 20:36:39 +0400 > "Vladimir B. Grebenschikov" wrote: >=20 > >=20 > > > Yes, there is a simple solution: adjust the timeout in dhclient.conf. > >=20 > > It is not solution - it is workaround=20 > > - I do not wand any dhcp activity if I have no media (say in car) > > And dhclient in case of failure of detecting network address will > > install lask seen one, with last seen default gateway and I will ge= t > > very long timeout while any of my apps will try to reach network > > instead of instant 'no route to host' > > >=20 > Then, bring the interface down manually (it's even easier now that > you can insert your own script in the rc boot process). I am not being > flippant. Of course I can patch my rc.d/network1 manually or/and add number of "smart" scripts, but I simply wants to share solution with other people. > Your suggestion, while it solves your problem, would create a problem=20 > for others (re-read the quote). Why it will create problems for others ? You need explicitly ask for feature: ifconfig_fxp0=3D"dhcp-if-carrier" if you will use old-style: ifconfig_fxp0=3D"dhcp" nothing will changed in dhcp behavior My personal opinion - best choice add key to dhclient - which do not ever try to send requests or record leases in case of no carrier on media and do not stop boot process in this case. Some times ago I have patch dhclient for this, but I am not satisfied with the patch, so do not send it to anybody. =20 > Cheers, > Mike Makonnen >=20 --=20 Vladimir B. Grebenschikov vova@sw.ru, SWsoft, Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Aug 14 1:34:34 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A014437B400 for ; Wed, 14 Aug 2002 01:34:31 -0700 (PDT) Received: from mailout05.sul.t-online.com (mailout05.sul.t-online.com [194.25.134.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09A2B43E4A for ; Wed, 14 Aug 2002 01:34:31 -0700 (PDT) (envelope-from Alexander@Leidinger.net) Received: from fwd11.sul.t-online.de by mailout05.sul.t-online.com with smtp id 17etbZ-0007XD-00; Wed, 14 Aug 2002 10:34:13 +0200 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[217.83.17.217]) by fmrl11.sul.t-online.com with esmtp id 17etbM-03UxaSC; Wed, 14 Aug 2002 10:34:00 +0200 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) by Andro-Beta.Leidinger.net (8.11.6/8.11.6) with ESMTP id g7E8Xxx62103; Wed, 14 Aug 2002 10:33:59 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magelan.Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.5/8.12.5) with SMTP id g7E8Xwst000879; Wed, 14 Aug 2002 10:33:59 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Wed, 14 Aug 2002 10:33:58 +0200 From: Alexander Leidinger To: "Vladimir B. " Grebenschikov Cc: makonnen@pacbell.net, current@FreeBSD.ORG Subject: Re: rcNG and dhcp Message-Id: <20020814103358.1299b35d.Alexander@Leidinger.net> In-Reply-To: <1029308622.736.18.camel@vbook.express.ru> References: <1029141620.800.14.camel@vbook.express.ru> <20020813090036.090538bf.makonnen@pacbell.net> <1029256599.741.18.camel@vbook.express.ru> <20020813223451.0e39200b.makonnen@pacbell.net> <1029308622.736.18.camel@vbook.express.ru> Organization: Independend X-Mailer: Sylpheed version 0.8.1claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 14 Aug 2002 11:03:42 +0400 "Vladimir B. " Grebenschikov wrote: > > Then, bring the interface down manually (it's even easier now that > > you can insert your own script in the rc boot process). I am not > > being flippant. > > Of course I can patch my rc.d/network1 manually or/and add number of > "smart" scripts, but I simply wants to share solution with other > people. Only commenting on "patching network1": Just modify /etc/start_if., e.g.: ---snip--- (8) netchild@ttyp2 % < /etc/start_if.wi0 #!/bin/sh interface=$1 shift start_or_stop=$1 shift case ${start_or_stop} in [Ss][Tt][Oo][Pp]) ;; *) wicontrol -i ${interface} -p 3 #-c 1 ifconfig ${interface} inet ... ;; esac ---snip--- Bye, Alexander. -- Where do you think you're going today? http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Aug 14 1:50:12 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D28037B400 for ; Wed, 14 Aug 2002 01:50:10 -0700 (PDT) Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id C825043E65 for ; Wed, 14 Aug 2002 01:50:09 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0004.cvx21-bradley.dialup.earthlink.net ([209.179.192.4] helo=mindspring.com) by avocet.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17etqs-0007dH-00; Wed, 14 Aug 2002 01:50:03 -0700 Message-ID: <3D5A1982.87B8C015@mindspring.com> Date: Wed, 14 Aug 2002 01:49:06 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: sjh@ucf.ics.uci.edu Cc: current@freebsd.org Subject: Re: bremfree: bp 0xc77938f4 not locked (Most recently used by kqueue) References: <200208130533.g7D5Xql13446@whiskey.ucf.ics.uci.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Seth Hettich wrote: > I get this all the time, and have for months now. On two different > systems (both updated to -current about 2 times per month), both > PCs (but with greatly differing HW). > > What would be my first step to resolve this? I sent in a PR, with > lots of notes, things I tried, and stack dumps. I'm willing to do > some more work on it, if someone can point me in the right direction. > > panic: bremfree: bp 0xc77938f4 not locked > panic messages: > --- > panic: Most recently used by kqueue Having just finished documenting all of the kqueue code internals for my own use, I can tell you exactly where this problem lies. If you look at the kqueue code itself, in /sys/kern/kern_event.c, you will see the function knote(). The knote() function is conceptually very simple; it iterates the knote list hung off an object on which an event has just occurred, and calls the function kn->kn_fop->f_event(kn, hint). If you remember Julian's recent commit to the queue.h to make the list iterators unsafe to do removes in (OK, technically, he didn't make the change for that, it was just a very important undesirable side effect 8-)), you will understand the problem. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Aug 14 2:18: 0 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D8C037B400 for ; Wed, 14 Aug 2002 02:17:57 -0700 (PDT) Received: from b.smtp-out.sonic.net (b.smtp-out.sonic.net [208.201.224.39]) by mx1.FreeBSD.org (Postfix) with SMTP id A793343E6A for ; Wed, 14 Aug 2002 02:17:56 -0700 (PDT) (envelope-from sonicmail@blarf.homeip.net) Received: (qmail 22505 invoked from network); 14 Aug 2002 09:17:56 -0000 Received: from ultra.sonic.net (208.201.224.22) by b.smtp-out.sonic.net with SMTP; 14 Aug 2002 09:17:56 -0000 Received: from blarf.homeip.net (adsl-209-204-188-56.sonic.net [209.204.188.56]) by ultra.sonic.net (8.11.6/8.8.5) with ESMTP id g7E9Hud07546 for ; Wed, 14 Aug 2002 02:17:56 -0700 X-envelope-info: Received: by blarf.homeip.net (Postfix, from userid 1006) id 1162F1A83; Wed, 14 Aug 2002 02:17:54 -0700 (PDT) Date: Wed, 14 Aug 2002 02:17:54 -0700 From: Alex Zepeda To: current@freebsd.org Subject: oops: panic: bremfree: bp 0xc4206410 not locked Message-ID: <20020814091754.GA694@blarf.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.99i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I got this while the system was swapping quite a bit (silly Gtk+ newsreader + supernews's huge retention == lots of memory used). FreeBSD blarf.homeip.net 5.0-CURRENT FreeBSD 5.0-CURRENT #5: Wed Aug 14 00:39:15 PDT 2002 alex@blarf.homeip.net:/usr/src/sys/i386/compile/ZIPPY_SMP_WITNESS i386 GNU gdb 5.2.0 (FreeBSD) 20020627 Copyright 2002 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-undermydesk-freebsd"... panic: bremfree: bp 0xc4206410 not locked panic messages: --- panic: Most recently used by none cpuid = 0; lapic.id = 00000000 syncing disks... panic: bremfree: bp 0xc4206410 not locked cpuid = 0; lapic.id = 00000000 Uptime: 1h20m25s Dumping 127 MB ata0: resetting devices .. done 16 32 48 64 80 96 112[CTRL-C to abort] --- #0 doadump () at ../../../kern/kern_shutdown.c:213 213 dumping++; (kgdb) bt #0 doadump () at ../../../kern/kern_shutdown.c:213 #1 0xc022188d in boot (howto=260) at ../../../kern/kern_shutdown.c:345 #2 0xc0221aaf in panic () at ../../../kern/kern_shutdown.c:493 #3 0xc0255cf5 in bremfree (bp=0xc4206410) at ../../../kern/vfs_bio.c:633 #4 0xc025bc84 in cluster_wbuild (vp=0xc21beb90, size=8192, start_lbn=12, len=14) at ../../../kern/vfs_cluster.c:801 #5 0xc0257454 in vfs_bio_awrite (bp=0xc4206410) at ../../../kern/vfs_bio.c:1620 #6 0xc02e1a51 in ffs_fsync (ap=0xc8a6fb48) at ../../../ufs/ffs/ffs_vnops.c:231 #7 0xc02e104e in ffs_sync (mp=0xc1b1d600, waitfor=2, cred=0xc0bace80, td=0xc03ed9c0) at vnode_if.h:545 #8 0xc0265560 in sync (td=0xc03ed9c0, uap=0x0) at ../../../kern/vfs_syscalls.c:129 #9 0xc02214fa in boot (howto=256) at ../../../kern/kern_shutdown.c:254 #10 0xc0221aaf in panic () at ../../../kern/kern_shutdown.c:493 #11 0xc030210c in mtrash_ctor (mem=0xc2599400, size=0, arg=0x0) at ../../../vm/uma_dbg.c:135 #12 0xc0302178 in mtrash_fini (mem=0xc2599400, size=1024) at ../../../vm/uma_dbg.c:186 #13 0xc03003e5 in zone_drain (zone=0xc0b859c0) at ../../../vm/uma_core.c:646 #14 0xc0300d1b in zone_foreach (zfunc=0xc0300148 ) at ../../../vm/uma_core.c:1167 #15 0xc0301c5a in uma_reclaim () at ../../../vm/uma_core.c:1980 #16 0xc02fdb84 in vm_pageout_scan (pass=0) at ../../../vm/vm_pageout.c:653 #17 0xc02fe9b1 in vm_pageout () at ../../../vm/vm_pageout.c:1439 #18 0xc0212330 in fork_exit (callout=0xc02fe784 , arg=0x0, frame=0xc8a6fd48) at ../../../kern/kern_fork.c:872 (kgdb) quit To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Aug 14 2:59: 9 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FB9337B400 for ; Wed, 14 Aug 2002 02:59:07 -0700 (PDT) Received: from white.imgsrc.co.jp (ns.imgsrc.co.jp [210.226.20.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id C53DE43E65 for ; Wed, 14 Aug 2002 02:59:06 -0700 (PDT) (envelope-from kuriyama@imgsrc.co.jp) Received: from localhost (localhost [127.0.0.1]) by white.imgsrc.co.jp (Postfix) with ESMTP id B185824D44 for ; Wed, 14 Aug 2002 18:59:05 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2::130]) by white.imgsrc.co.jp (Postfix) with ESMTP id 586BC24D1C for ; Wed, 14 Aug 2002 18:59:01 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2::130]) by black.imgsrc.co.jp (Postfix) with ESMTP id A1ADE1E46F2 for ; Wed, 14 Aug 2002 18:58:58 +0900 (JST) Date: Wed, 14 Aug 2002 18:58:58 +0900 Message-ID: <7md6slpxr1.wl@black.imgsrc.co.jp> From: Jun Kuriyama To: Current Subject: CFLAGS=-O and WARN=5 User-Agent: Wanderlust/2.9.10 (Unchained Melody) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS on ns.imgsrc.co.jp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG When I tried make world with CFLAGS="-g -pipe" in make.conf, I got a result below. Is buildworld without CFLAGS=-O not supported? ===> bin/df cc -pipe -g -I/usr/src/bin/df/../../sbin/mount -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wuninitialized -Wformat=2 -Wno-format-extra-args -Werror -c /usr/src/bin/df/df.c cc1: warnings being treated as errors cc1: warning: -Wuninitialized is not supported without -O *** Error code 1 Stop in /usr/src/bin/df. *** Error code 1 -- Jun Kuriyama // IMG SRC, Inc. // FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Aug 14 5:19:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E722E37B400 for ; Wed, 14 Aug 2002 05:19:37 -0700 (PDT) Received: from relay01.esat.net (relay01.esat.net [192.111.39.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 420CA43E6A for ; Wed, 14 Aug 2002 05:19:37 -0700 (PDT) (envelope-from phil@ipac.ie) Received: from ipac-gw.cr001.ddm.esat.net (mail.rfc-networks.ie) [193.95.188.30] by relay01.esat.net with esmtp id 17ex7d-0005Za-00; Wed, 14 Aug 2002 13:19:33 +0100 Received: from tear.domain (unknown [10.0.1.254]) by mail.rfc-networks.ie (Postfix) with ESMTP id A329E54834 for ; Wed, 14 Aug 2002 12:23:17 +0100 (IST) Received: by tear.domain (Postfix, from userid 1000) id 47E9A21146; Wed, 14 Aug 2002 13:20:27 +0000 (GMT) Date: Wed, 14 Aug 2002 13:20:27 +0000 From: Philip Reynolds To: freebsd-current@freebsd.org Subject: Re: CFLAGS=-O and WARN=5 Message-ID: <20020814132027.C56368@rfc-networks.ie> Reply-To: philip.reynolds@rfc-networks.ie References: <7md6slpxr1.wl@black.imgsrc.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7md6slpxr1.wl@black.imgsrc.co.jp>; from kuriyama@imgsrc.co.jp on Wed, Aug 14, 2002 at 06:58:58PM +0900 X-Operating-System: FreeBSD 4.6-STABLE X-URL: http://www.rfc-networks.ie Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jun Kuriyama 22 lines of wisdom included: > > When I tried make world with CFLAGS="-g -pipe" in make.conf, I got > a result below. > > Is buildworld without CFLAGS=-O not supported? > > ===> bin/df > cc -pipe -g -I/usr/src/bin/df/../../sbin/mount -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wuninitialized -Wformat=2 -Wno-format-extra-args -Werror -c /usr/src/bin/df/df.c > cc1: warnings being treated as errors > cc1: warning: -Wuninitialized is not supported without -O > *** Error code 1 The problem here, as is fairly self-evident is that you cannot compile with -Wuninitialized without a -O flag because it produces warnings that can only be seen through optomisation (it's got to do with automatic variables, see gcc(1) for details). See if this flag exists in /etc/defaults/make.conf, probably in BDECFLAGS, and remove it. Regards, -- Philip Reynolds | RFC Networks Ltd. philip.reynolds@rfc-networks.ie | +353 (0)1 8832063 http://people.rfc-networks.ie/~phil | www.rfc-networks.ie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Aug 14 5:59:20 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0853437B400 for ; Wed, 14 Aug 2002 05:59:16 -0700 (PDT) Received: from dilbert.robbins.dropbear.id.au (005.a.006.mel.iprimus.net.au [210.50.44.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84D2843E70 for ; Wed, 14 Aug 2002 05:59:13 -0700 (PDT) (envelope-from tim@robbins.dropbear.id.au) Received: from dilbert.robbins.dropbear.id.au (cw7c7znwan9rbu29@localhost [127.0.0.1]) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3) with ESMTP id g7ECx7KF061125; Wed, 14 Aug 2002 22:59:07 +1000 (EST) (envelope-from tim@dilbert.robbins.dropbear.id.au) Received: (from tim@localhost) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3/Submit) id g7ECx4kL061123; Wed, 14 Aug 2002 22:59:04 +1000 (EST) Date: Wed, 14 Aug 2002 22:59:04 +1000 From: Tim Robbins To: Terry Lambert Cc: current@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) Message-ID: <20020814225904.A60537@dilbert.robbins.dropbear.id.au> References: <20020813233813.77899.qmail@web20907.mail.yahoo.com> <3D599E84.1AF6FEB4@mindspring.com> <20020814150238.B40787@dilbert.robbins.dropbear.id.au> <3D59FE8E.298A4AE5@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3D59FE8E.298A4AE5@mindspring.com>; from tlambert2@mindspring.com on Tue, Aug 13, 2002 at 11:54:06PM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Aug 13, 2002 at 11:54:06PM -0700, Terry Lambert wrote: > Tim Robbins wrote: > > On Tue, Aug 13, 2002 at 05:04:20PM -0700, Terry Lambert wrote: > > > Both different reports have been from Tim Robbins. It may > > > be that he has a local problem, and that his local problem > > > is greatly confusing this discussion. > > > > Unfortunately, this is not a local problem -- I can reproduce it locally > > (i386, world/kernel from yesterday), on panther.freebsd.org (sparc64, kernel > > built July 19), and beast.freebsd.org (alpha, also built July 19). I cannot > > reproduce it on ref5 (i386, built July 1). > > If you update to the very most recent current, do the problems > occur? It's currently August 13th, which means that you are a > month behind on the machines with the problem, and a month and > a half behind on the other. The kernel/world I am running locally is less than 24 hours old. > > If both problems still occur with the most recent current, do > they go away if you back out *just* the PAM changes? This has nothing to do with PAM. Here is a simple program which behaves differently between 4.6-RELEASE and 5.0-CURRENT. I don't know which of the two behaviours is correct. #include #include #include #include #include #include #include int main(int argc, char *argv[]) { pid_t pid; int status; switch (pid = vfork()) { case -1: err(1, "fork"); case 0: execl("/bin/csh", "csh", NULL); err(1, "csh"); default: fprintf(stderr, "(waiter) waiting\n"); while (waitpid(pid, &status, WUNTRACED) != -1 && WIFSTOPPED(status)) { fprintf(stderr, "(waiter) stopping ourself\n"); killpg(0, SIGSTOP); fprintf(stderr, "(waiter) continuing child\n"); killpg(pid, SIGCONT); fprintf(stderr, "(waiter) waiting\n"); } } return (0); } %% 4.6.1-RELEASE-p10, OpenBSD 3.0: %set prompt="root% " root% ./waiter (waiter) waiting %suspend Suspended root% fg ./waiter % 5.0-CURRENT built August 14 (today): %set prompt="root% " root% ./waiter (waiter) waiting %suspend Suspended root% fg ./waiter %(waiter) stopping ourself Suspended (signal) root% Linux behaves differently to both, but the change in behaviour does not seem to make it stop working. Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Aug 14 9:16:26 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E974837B400 for ; Wed, 14 Aug 2002 09:16:23 -0700 (PDT) Received: from ref5.freebsd.org (ref5.FreeBSD.org [216.136.204.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1B5F43E72 for ; Wed, 14 Aug 2002 09:16:23 -0700 (PDT) (envelope-from des@FreeBSD.org) Received: from ref5.freebsd.org (localhost [127.0.0.1]) by ref5.freebsd.org (8.12.5/8.12.5) with ESMTP id g7EGGNgr057451 for ; Wed, 14 Aug 2002 09:16:23 -0700 (PDT) (envelope-from des@ref5.freebsd.org) Received: (from des@localhost) by ref5.freebsd.org (8.12.5/8.12.5/Submit) id g7EGGNEN057449 for current@freebsd.org; Wed, 14 Aug 2002 09:16:23 -0700 (PDT) Date: Wed, 14 Aug 2002 09:16:23 -0700 (PDT) From: Dag-Erling Smorgrav Message-Id: <200208141616.g7EGGNEN057449@ref5.freebsd.org> To: current@freebsd.org Subject: i386 tinderbox failure Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- >>> stage 2: cleaning up the object tree -------------------------------------------------------------- >>> stage 2: rebuilding the object tree -------------------------------------------------------------- >>> stage 2: build tools -------------------------------------------------------------- >>> stage 3: cross tools -------------------------------------------------------------- >>> stage 4: populating /home/des/tinderbox/i386/obj/local0/scratch/des/src/i386/usr/include -------------------------------------------------------------- >>> stage 4: building libraries -------------------------------------------------------------- >>> stage 4: make dependencies -------------------------------------------------------------- >>> stage 4: building everything.. -------------------------------------------------------------- ===> usr.bin/fstat In file included from /local0/scratch/des/src/usr.bin/fstat/fstat.c:67: /home/des/tinderbox/i386/obj/local0/scratch/des/src/i386/usr/include/ufs/ufs/quota.h:193: syntax error before "ufs_quotactl" *** Error code 1 Stop in /local0/scratch/des/src/usr.bin/fstat. *** Error code 1 Stop in /local0/scratch/des/src/usr.bin. *** Error code 1 Stop in /local0/scratch/des/src. *** Error code 1 Stop in /local0/scratch/des/src. *** Error code 1 Stop in /local0/scratch/des/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Aug 14 10: 5:55 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5AA5F37B400 for ; Wed, 14 Aug 2002 10:05:50 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2AE743E42 for ; Wed, 14 Aug 2002 10:05:46 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g7EH5gZ58484 for current@FreeBSD.org; Wed, 14 Aug 2002 20:05:42 +0300 (EEST) (envelope-from ru) Date: Wed, 14 Aug 2002 20:05:42 +0300 From: Ruslan Ermilov To: current@FreeBSD.org Subject: HEADS UP: I will be deliberately breaking the world tomorrow Message-ID: <20020814170542.GE54040@sunbay.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qFgkTsE6LiHkLPZw" Content-Disposition: inline User-Agent: Mutt/1.3.99i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --qFgkTsE6LiHkLPZw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable ----- Forwarded message from Ruslan Ermilov ----- Date: Tue, 13 Aug 2002 20:47:12 +0300 From: Ruslan Ermilov To: David O'Brien , Bruce Evans , Kris Kennaway Cc: current@FreeBSD.org Subject: Re: GCC 3.1 hides warnings in system headers In-Reply-To: <20020808125309.GB98605@sunbay.com> User-Agent: Mutt/1.3.99i So gents (and ladies :-), what do we do about this? We had this change pre-3.1, and we have it in -STABLE now, so I assume we should no longer lie that our -CURRENT is so WARNS-clean? : -------------------------------------------------------------- : >>> stage 4: building everything.. : -------------------------------------------------------------- : [...] : =3D=3D=3D> games/grdc : cc -O -pipe -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /CURR= ENT/usr/src/games/grdc/grdc.c : cc1: warnings being treated as errors : In file included from /usr/obj/CURRENT/usr/src/i386/usr/include/ncurses.h= :112, : from /CURRENT/usr/src/games/grdc/grdc.c:15: : /usr/obj/CURRENT/usr/src/i386/usr/include/stdbool.h:41: warning: useless = keyword or type name in empty declaration : /usr/obj/CURRENT/usr/src/i386/usr/include/stdbool.h:41: warning: empty de= claration : *** Error code 1 :=20 : Stop in /CURRENT/usr/src/games/grdc. : *** Error code 1 On Thu, Aug 08, 2002 at 03:53:09PM +0300, Ruslan Ermilov wrote: > On Tue, Jun 18, 2002 at 10:43:24PM -0700, David O'Brien wrote: > > On Wed, Jun 19, 2002 at 03:11:19PM +1000, Bruce Evans wrote: > > > > 1. you've forgotten *.295 will totally disappear soon (as in not ev= en in > > > > the Attic, totally gone as if it never, ever existed). > > >=20 > > > It shouldn't even have been cvs removed yet, since the -mprofiler-epi= logue > > > bits haven't been merged int gcc yet. > >=20 > > All the commits to contrib/gcc.295 where committed into contrib/gcc > > before the 3.1 import. (that is not strictly true, as Kris's format > > hacks weren't, but he knew they would not be) > >=20 > > What part of history is missing from contrib/gcc? >=20 > Also, cccp.c,v 1.9 was not merged: >=20 > : revision 1.9 > : date: 2002/04/16 08:07:37; author: ru; state: Exp; lines: +2 -0 > : Don't let gcc(1) hide warnings in system includes. > :=20 > : Approved by: obrien >=20 > Here's the long promised merge of the functionality. I would like to > commit it soon if there are no objections. (This will take this file > off its vendor branch.) >=20 > %%% > Index: c-lex.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /home/ncvs/src/contrib/gcc/c-lex.c,v > retrieving revision 1.1.1.6 > diff -u -p -r1.1.1.6 c-lex.c > --- c-lex.c 13 May 2002 03:35:48 -0000 1.1.1.6 > +++ c-lex.c 8 Aug 2002 12:48:18 -0000 > @@ -315,7 +315,11 @@ cb_file_change (pfile, new_map) > } > =20 > update_header_times (new_map->to_file); > +#ifndef FREEBSD_NATIVE > in_system_header =3D new_map->sysp !=3D 0; > +#else /* FREEBSD_NATIVE */ > + in_system_header =3D 0; > +#endif /* FREEBSD_NATIVE */ > input_filename =3D new_map->to_file; > lineno =3D to_line; > map =3D new_map; > %%% --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age ----- End forwarded message ----- --qFgkTsE6LiHkLPZw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9Wo3mUkv4P6juNwoRAi/nAJ9Kd8XFnSm84HFCO3o/VdWTr9fASwCgg7Wm lzClMv6Dp+9YNDX8pnlUl/A= =y9fW -----END PGP SIGNATURE----- --qFgkTsE6LiHkLPZw-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Aug 14 10:20:14 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E189A37B400; Wed, 14 Aug 2002 10:20:10 -0700 (PDT) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55EC343E70; Wed, 14 Aug 2002 10:20:10 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020814172010.WIIA22139.rwcrmhc52.attbi.com@InterJet.elischer.org>; Wed, 14 Aug 2002 17:20:10 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id KAA22318; Wed, 14 Aug 2002 10:17:16 -0700 (PDT) Date: Wed, 14 Aug 2002 10:17:15 -0700 (PDT) From: Julian Elischer To: Tim Robbins Cc: Terry Lambert , current@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) In-Reply-To: <20020814225904.A60537@dilbert.robbins.dropbear.id.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG There is a kernel change brewing that may change this.... On Wed, 14 Aug 2002, Tim Robbins wrote: > > This has nothing to do with PAM. Here is a simple program which behaves > differently between 4.6-RELEASE and 5.0-CURRENT. I don't know which > of the two behaviours is correct. > > [...] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Aug 14 10:29:12 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DAFA37B400; Wed, 14 Aug 2002 10:29:11 -0700 (PDT) Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 131F043E6A; Wed, 14 Aug 2002 10:29:11 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0220.cvx21-bradley.dialup.earthlink.net ([209.179.192.220] helo=mindspring.com) by pintail.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17f1xC-0003XA-00; Wed, 14 Aug 2002 10:29:07 -0700 Message-ID: <3D5A932C.4C1A4E58@mindspring.com> Date: Wed, 14 Aug 2002 10:28:12 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Tim Robbins Cc: current@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) References: <20020813233813.77899.qmail@web20907.mail.yahoo.com> <3D599E84.1AF6FEB4@mindspring.com> <20020814150238.B40787@dilbert.robbins.dropbear.id.au> <3D59FE8E.298A4AE5@mindspring.com> <20020814225904.A60537@dilbert.robbins.dropbear.id.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Tim Robbins wrote: > This has nothing to do with PAM. Here is a simple program which behaves > differently between 4.6-RELEASE and 5.0-CURRENT. I don't know which > of the two behaviours is correct. [ ... ] If 4.6 disagrees with 5.0, then 5.0 is wrong (IMO), because a change was necessary for them to disagree. BTW: *This* is the bug that I was thinking about, Andrey... -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Aug 14 14:37:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 987FF37B400 for ; Wed, 14 Aug 2002 14:37:35 -0700 (PDT) Received: from jbloom.org (reyim.ne.client2.attbi.com [24.60.104.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90AE543E6E for ; Wed, 14 Aug 2002 14:37:34 -0700 (PDT) (envelope-from bloom@acm.org) Received: from acm.org (jimlap.jbloom.org [172.17.235.110]) by jbloom.org (8.11.6/8.11.6) with ESMTP id g7ELbSA87602; Wed, 14 Aug 2002 17:37:28 -0400 (EDT) (envelope-from bloom@acm.org) Message-ID: <3D5ACD24.AE956844@acm.org> Date: Wed, 14 Aug 2002 17:35:32 -0400 From: Jim Bloom X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Alex Zepeda Cc: current@FreeBSD.ORG Subject: Re: oops: panic: bremfree: bp 0xc4206410 not locked References: <20020814091754.GA694@blarf.homeip.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I believe the more interesting panic to debug is the first one here in mtrash_ctor and not the problem with syncing the disk after a panic. I have seen a few other panics in this routine posted to current over the last few weeks. Jim Bloom bloom@acm.org Alex Zepeda wrote: > > I got this while the system was swapping quite a bit (silly Gtk+ > newsreader + supernews's huge retention == lots of memory used). > > FreeBSD blarf.homeip.net 5.0-CURRENT FreeBSD 5.0-CURRENT #5: Wed Aug 14 00:39:15 PDT 2002 alex@blarf.homeip.net:/usr/src/sys/i386/compile/ZIPPY_SMP_WITNESS i386 > > GNU gdb 5.2.0 (FreeBSD) 20020627 > Copyright 2002 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-undermydesk-freebsd"... > panic: bremfree: bp 0xc4206410 not locked > panic messages: > --- > panic: Most recently used by none > > cpuid = 0; lapic.id = 00000000 > > syncing disks... panic: bremfree: bp 0xc4206410 not locked > cpuid = 0; lapic.id = 00000000 > Uptime: 1h20m25s > Dumping 127 MB > ata0: resetting devices .. > done > 16 32 48 64 80 96 112[CTRL-C to abort] > --- > #0 doadump () at ../../../kern/kern_shutdown.c:213 > 213 dumping++; > (kgdb) bt > #0 doadump () at ../../../kern/kern_shutdown.c:213 > #1 0xc022188d in boot (howto=260) at ../../../kern/kern_shutdown.c:345 > #2 0xc0221aaf in panic () at ../../../kern/kern_shutdown.c:493 > #3 0xc0255cf5 in bremfree (bp=0xc4206410) at ../../../kern/vfs_bio.c:633 > #4 0xc025bc84 in cluster_wbuild (vp=0xc21beb90, size=8192, start_lbn=12, > len=14) at ../../../kern/vfs_cluster.c:801 > #5 0xc0257454 in vfs_bio_awrite (bp=0xc4206410) > at ../../../kern/vfs_bio.c:1620 > #6 0xc02e1a51 in ffs_fsync (ap=0xc8a6fb48) at ../../../ufs/ffs/ffs_vnops.c:231 > #7 0xc02e104e in ffs_sync (mp=0xc1b1d600, waitfor=2, cred=0xc0bace80, > td=0xc03ed9c0) at vnode_if.h:545 > #8 0xc0265560 in sync (td=0xc03ed9c0, uap=0x0) > at ../../../kern/vfs_syscalls.c:129 > #9 0xc02214fa in boot (howto=256) at ../../../kern/kern_shutdown.c:254 > #10 0xc0221aaf in panic () at ../../../kern/kern_shutdown.c:493 > #11 0xc030210c in mtrash_ctor (mem=0xc2599400, size=0, arg=0x0) > at ../../../vm/uma_dbg.c:135 > #12 0xc0302178 in mtrash_fini (mem=0xc2599400, size=1024) > at ../../../vm/uma_dbg.c:186 > #13 0xc03003e5 in zone_drain (zone=0xc0b859c0) at ../../../vm/uma_core.c:646 > #14 0xc0300d1b in zone_foreach (zfunc=0xc0300148 ) > at ../../../vm/uma_core.c:1167 > #15 0xc0301c5a in uma_reclaim () at ../../../vm/uma_core.c:1980 > #16 0xc02fdb84 in vm_pageout_scan (pass=0) at ../../../vm/vm_pageout.c:653 > #17 0xc02fe9b1 in vm_pageout () at ../../../vm/vm_pageout.c:1439 > #18 0xc0212330 in fork_exit (callout=0xc02fe784 , arg=0x0, > frame=0xc8a6fd48) at ../../../kern/kern_fork.c:872 > (kgdb) quit > > 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 Aug 14 15:15:51 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4CBD37B40A for ; Wed, 14 Aug 2002 15:15:27 -0700 (PDT) Received: from mailout07.sul.t-online.com (mailout07.sul.t-online.com [194.25.134.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFEBB43E4A for ; Wed, 14 Aug 2002 15:15:26 -0700 (PDT) (envelope-from anselmg@t-online.de) Received: from fwd07.sul.t-online.de by mailout07.sul.t-online.com with smtp id 17f6QI-0001ux-00; Thu, 15 Aug 2002 00:15:26 +0200 Received: from odin.garbe (320068295437-0001@[217.81.142.90]) by fwd07.sul.t-online.com with esmtp id 17f6Q9-082oiWC; Thu, 15 Aug 2002 00:15:17 +0200 Received: from odin.garbe (localhost.garbe [127.0.0.1]) by odin.garbe (8.12.5/8.12.5) with ESMTP id g7EMEcQe000671 for ; Thu, 15 Aug 2002 00:14:38 +0200 (CEST) (envelope-from garbeam@odin.garbe) Received: (from garbeam@localhost) by odin.garbe (8.12.5/8.12.5/Submit) id g7EMEbki000670 for freebsd-current@freebsd.org; Thu, 15 Aug 2002 00:14:37 +0200 (CEST) Date: Thu, 15 Aug 2002 00:14:37 +0200 From: anselmg@t-online.de (Anselm Garbe) To: freebsd-current@freebsd.org Subject: psm problem Message-ID: <20020814221437.GA575@odin.garbe> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Sender: 320068295437-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi there, after make world of today: FreeBSD odin.garbe 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Wed Aug 14 19:36:08 CEST 2002 garbeam@odin.garbe:/usr/obj/usr/src/sys/ODIN i386 my mouse behaves sometimes curios (while moving around, some selections are done, without clicking)... Before making world I patched /sys/dev/drm with currentdrm-20020711.diff and nothing else. All scripts are up to date after running mergemaster -p (before make installworld) and running mergemaster after make installworld. I'll build world again at night without the currentdrm-20020711 patch. Maybe there's a side effect. See, what dmesg says: [...] psm0: irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 [...] psmintr: out of sync (0000 != 0008). psmintr: discard a byte (1). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (2). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (3). psmintr: out of sync (0000 != 0008). psmintr: re-enable the mouse. psmintr: delay too long; resetting byte count psmintr: out of sync (0000 != 0008). psmintr: discard a byte (1). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (2). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (3). psmintr: out of sync (0000 != 0008). psmintr: re-enable the mouse. psmintr: out of sync (0000 != 0008). psmintr: discard a byte (5). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (6). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (7). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (8). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (9). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (10). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (11). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (12). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (13). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (14). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (15). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (16). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (17). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (18). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (19). psmintr: out of sync (0000 != 0008). psmintr: reset the mouse. psmintr: delay too long; resetting byte count psmintr: out of sync (0000 != 0008). psmintr: discard a byte (1). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (2). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (3). psmintr: out of sync (0000 != 0008). psmintr: re-enable the mouse. psmintr: out of sync (0000 != 0008). psmintr: discard a byte (5). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (6). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (7). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (8). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (9). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (10). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (11). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (12). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (13). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (14). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (15). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (16). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (17). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (18). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (19). psmintr: out of sync (0000 != 0008). psmintr: reset the mouse. psmintr: out of sync (0000 != 0008). psmintr: discard a byte (1). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (2). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (3). psmintr: out of sync (0000 != 0008). psmintr: re-enable the mouse. psmintr: out of sync (0000 != 0008). psmintr: discard a byte (5). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (6). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (7). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (8). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (9). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (10). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (11). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (12). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (13). psmintr: delay too long; resetting byte count psmintr: out of sync (0000 != 0008). psmintr: discard a byte (1). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (2). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (3). psmintr: out of sync (0000 != 0008). psmintr: re-enable the mouse. psmintr: delay too long; resetting byte count psmintr: out of sync (0000 != 0008). psmintr: discard a byte (1). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (2). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (3). pid 304 (mozilla-bin), uid 1001: exited on signal 10 psmintr: out of sync (0000 != 0008). psmintr: re-enable the mouse. psmintr: out of sync (0000 != 0008). psmintr: discard a byte (5). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (6). psmintr: out of sync (0000 != 0008). psmintr: discard a byte (7). Thanx, Anselm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Aug 14 15:51:52 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3933737B400 for ; Wed, 14 Aug 2002 15:51:51 -0700 (PDT) Received: from excalibur.skynet.be (excalibur.skynet.be [195.238.3.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FDFB43E70 for ; Wed, 14 Aug 2002 15:51:50 -0700 (PDT) (envelope-from mariog@tomservo.cc) Received: from tsndual933 (83.141-136-217.adsl.skynet.be [217.136.141.83]) by excalibur.skynet.be (8.11.6/8.11.6/Skynet-OUT-2.20) with SMTP id g7EMpgo06780 for ; Thu, 15 Aug 2002 00:51:42 +0200 (MET DST) (envelope-from ) Message-ID: <000701c243e5$2cb95370$2000000a@tsndual933> From: "Mario Goebbels" To: Subject: OT: Debian GNU/FreeBSD??? Date: Thu, 15 Aug 2002 00:51:49 +0200 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 6.00.3663.0 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3663.0 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm slightly offtopic with this, but what the heck is that: http://www.debian.org/ports/freebsd/index I was slightly irritated when a pal showed me that! -mg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Aug 14 16: 2:10 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6583337B400 for ; Wed, 14 Aug 2002 16:02:07 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC73643E72 for ; Wed, 14 Aug 2002 16:02:06 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.3/8.12.3) with ESMTP id g7EN24wu018604; Wed, 14 Aug 2002 16:02:04 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.3/8.12.3/Submit) id g7EN245Z018603; Wed, 14 Aug 2002 16:02:04 -0700 Date: Wed, 14 Aug 2002 16:02:04 -0700 From: Brooks Davis To: Mario Goebbels Cc: freebsd-current@FreeBSD.ORG Subject: Re: OT: Debian GNU/FreeBSD??? Message-ID: <20020814160204.A17855@Odin.AC.HMC.Edu> References: <000701c243e5$2cb95370$2000000a@tsndual933> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="wRRV7LY7NUeQGEoC" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <000701c243e5$2cb95370$2000000a@tsndual933>; from mariog@tomservo.cc on Thu, Aug 15, 2002 at 12:51:49AM +0200 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --wRRV7LY7NUeQGEoC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 15, 2002 at 12:51:49AM +0200, Mario Goebbels wrote: > I'm slightly offtopic with this, but what the heck is that: >=20 > http://www.debian.org/ports/freebsd/index >=20 > I was slightly irritated when a pal showed me that! It's Debian people being silly. Someone decided they liked the FreeBSD kernel and the Debian way of doing userland and combined the two. As you can see from the webpage, it's not exactly popular (the site hasn't been updated in four months.) It's more or less legal and doesn't hurt anything. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --wRRV7LY7NUeQGEoC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9WuFrXY6L6fI4GtQRAqFTAKCPTOFzCCq9G5XrEkC6BtpkR7TSugCg5hj7 bb5yp7fnHZAZsyZdjzLJrxk= =Xpiz -----END PGP SIGNATURE----- --wRRV7LY7NUeQGEoC-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Aug 14 16: 3:54 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58DB637B400 for ; Wed, 14 Aug 2002 16:03:52 -0700 (PDT) Received: from albatross.prod.itd.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1FF843E3B for ; Wed, 14 Aug 2002 16:03:51 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0388.cvx22-bradley.dialup.earthlink.net ([209.179.199.133] helo=mindspring.com) by albatross.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 17f7B8-0003UZ-00; Wed, 14 Aug 2002 16:03:50 -0700 Message-ID: <3D5AE112.C2F8CCF7@mindspring.com> Date: Wed, 14 Aug 2002 16:00:34 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Mario Goebbels Cc: freebsd-current@freebsd.org Subject: Re: OT: Debian GNU/FreeBSD??? References: <000701c243e5$2cb95370$2000000a@tsndual933> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Mario Goebbels wrote: > I'm slightly offtopic with this, but what the heck is that: Ontopic for -chat, and maybe -advocacy; perhaps you should pst there, instead... > http://www.debian.org/ports/freebsd/index > > I was slightly irritated when a pal showed me that! Why? -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Aug 14 16: 7:38 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CA6037B400 for ; Wed, 14 Aug 2002 16:07:36 -0700 (PDT) Received: from white.imgsrc.co.jp (ns.imgsrc.co.jp [210.226.20.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9C3843E6E for ; Wed, 14 Aug 2002 16:07:35 -0700 (PDT) (envelope-from kuriyama@imgsrc.co.jp) Received: from localhost (localhost [127.0.0.1]) by white.imgsrc.co.jp (Postfix) with ESMTP id 9FFA424D1C for ; Thu, 15 Aug 2002 08:07:34 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2::130]) by white.imgsrc.co.jp (Postfix) with ESMTP id 9871C24D32 for ; Thu, 15 Aug 2002 08:07:30 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2::130]) by black.imgsrc.co.jp (Postfix) with ESMTP id BAFBE1E46E4 for ; Thu, 15 Aug 2002 08:07:29 +0900 (JST) Date: Thu, 15 Aug 2002 08:07:29 +0900 Message-ID: <7m7kitox8u.wl@black.imgsrc.co.jp> From: Jun Kuriyama To: freebsd-current@freebsd.org Subject: Re: CFLAGS=-O and WARN=5 In-Reply-To: <20020814132027.C56368@rfc-networks.ie> References: <7md6slpxr1.wl@black.imgsrc.co.jp> User-Agent: Wanderlust/2.9.10 (Unchained Melody) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS on ns.imgsrc.co.jp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At Wed, 14 Aug 2002 12:19:52 +0000 (UTC), Philip Reynolds wrote: > The problem here, as is fairly self-evident is that you cannot > compile with -Wuninitialized without a -O flag because it produces > warnings that can only be seen through optomisation (it's got to do > with automatic variables, see gcc(1) for details). Yeah, I know why gcc complains about this. :-) What I want to know is, our buildworld does not been supported without -O or not. -- Jun Kuriyama // IMG SRC, Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Aug 14 16: 9:16 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E76E437B400 for ; Wed, 14 Aug 2002 16:09:14 -0700 (PDT) Received: from c3po.skynet.be (c3po.skynet.be [195.238.3.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id E987043E3B for ; Wed, 14 Aug 2002 16:09:13 -0700 (PDT) (envelope-from mariog@tomservo.cc) Received: from tsndual933 (83.141-136-217.adsl.skynet.be [217.136.141.83]) by c3po.skynet.be (8.11.6/8.11.6/Skynet-OUT-2.20) with SMTP id g7EN98714594; Thu, 15 Aug 2002 01:09:08 +0200 (MET DST) (envelope-from ) Message-ID: <002501c243e7$9c1ae5b0$2000000a@tsndual933> From: "Mario Goebbels" To: "Terry Lambert" Cc: References: <000701c243e5$2cb95370$2000000a@tsndual933> <3D5AE112.C2F8CCF7@mindspring.com> Subject: Re: OT: Debian GNU/FreeBSD??? Date: Thu, 15 Aug 2002 01:09:14 +0200 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 6.00.3663.0 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3663.0 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > http://www.debian.org/ports/freebsd/index > > > > I was slightly irritated when a pal showed me that! > > Why? I thought FreeBSD wants no distros to avoid all the distrochaos Linux got right now. Debian is rather contraproductive to that. Luckily it aint popular. -mg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Aug 14 17:13: 7 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8BC437B400; Wed, 14 Aug 2002 17:13:03 -0700 (PDT) Received: from chiark.greenend.org.uk (chiark.greenend.org.uk [212.135.138.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 619AB43E6E; Wed, 14 Aug 2002 17:13:02 -0700 (PDT) (envelope-from fanf@chiark.greenend.org.uk) Received: from fanf by chiark.greenend.org.uk with local (Exim 3.12 #1) id 17f8G2-00038D-00 (Debian); Thu, 15 Aug 2002 01:12:58 +0100 To: brooks@one-eyed-alien.net From: Tony Finch Cc: freebsd-current@FreeBSD.ORG, freebsd-advocacy@FreeBSD.org Reply-To: freebsd-advocacy@FreeBSD.org Subject: Re: OT: Debian GNU/FreeBSD??? In-Reply-To: <20020814160204.A17855@Odin.AC.HMC.Edu> References: <000701c243e5$2cb95370$2000000a@tsndual933> <000701c243e5$2cb95370$2000000a@tsndual933> Message-Id: Date: Thu, 15 Aug 2002 01:12:58 +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Brooks Davis wrote: >On Thu, Aug 15, 2002 at 12:51:49AM +0200, Mario Goebbels wrote: >> I'm slightly offtopic with this, but what the heck is that: >> http://www.debian.org/ports/freebsd/index >> I was slightly irritated when a pal showed me that! > >It's Debian people being silly. Someone decided they liked the FreeBSD >kernel and the Debian way of doing userland and combined the two. As >you can see from the webpage, it's not exactly popular (the site hasn't >been updated in four months.) There are a couple of Debian/BSD efforts going on at the moment, one based on FreeBSD and the other on NetBSD. There's only a couple of people working on each of them, and the principal FreeBSD guy is currently lacking development resources so not much progress is being made there. Both groups are having trouble reconciling the different functionality of glibc and BSD libc. They're planning to make both a part of the next major release of Debian, so it will be ported to N+3 kernels (Linux, Hurd, NetBSD, FreeBSD). Given the effectiveness of their release engineering, don't expect it to get anywhere near general usability for at least a year, and probably getting on for two. Tony. -- f.a.n.finch http://dotat.at/ HUMBER THAMES DOVER: SOUTH OR SOUTHEAST 3 OR 4, OCCASIONALLY 5 IN HUMBER, BECOMING VARIABLE 3 LATER. MAINLY FAIR. MODERATE OR GOOD WITH FOG PATCHES. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Aug 14 18:31:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C1BB337B400 for ; Wed, 14 Aug 2002 18:31:37 -0700 (PDT) Received: from b.smtp-out.sonic.net (b.smtp-out.sonic.net [208.201.224.39]) by mx1.FreeBSD.org (Postfix) with SMTP id 463EE43E3B for ; Wed, 14 Aug 2002 18:31:37 -0700 (PDT) (envelope-from alex@blarf.homeip.net) Received: (qmail 8855 invoked from network); 15 Aug 2002 01:31:33 -0000 Received: from sub.sonic.net (208.201.224.8) by b.smtp-out.sonic.net with SMTP; 15 Aug 2002 01:31:33 -0000 Received: from blarf.homeip.net (adsl-209-204-188-56.sonic.net [209.204.188.56]) by sub.sonic.net (8.11.6/8.8.5) with ESMTP id g7F1VXH25853; Wed, 14 Aug 2002 18:31:33 -0700 X-envelope-info: Received: by blarf.homeip.net (Postfix, from userid 1000) id 4CDC61A77; Wed, 14 Aug 2002 18:31:32 -0700 (PDT) Date: Wed, 14 Aug 2002 18:31:32 -0700 From: Alex Zepeda To: Jim Bloom Cc: current@freebsd.org Subject: Re: oops: panic: bremfree: bp 0xc4206410 not locked Message-ID: <20020815013131.GA1589@blarf.homeip.net> References: <20020814091754.GA694@blarf.homeip.net> <3D5ACD24.AE956844@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D5ACD24.AE956844@acm.org> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Aug 14, 2002 at 05:35:32PM -0400, Jim Bloom wrote: > I believe the more interesting panic to debug is the first one here in > mtrash_ctor and not the problem with syncing the disk after a panic. I have > seen a few other panics in this routine posted to current over the last few > weeks. Yes, this is the one that interests me as well. In fact I've got another dump with a strikingly similar backtrace (differnet panic messages tho). Is there anything useful I can do with the dumps, or are the backtraces helpful enough? - alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Aug 14 20:32:25 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D363637B400 for ; Wed, 14 Aug 2002 20:32:17 -0700 (PDT) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED68B43E3B for ; Wed, 14 Aug 2002 20:32:16 -0700 (PDT) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.12.5/8.12.5) with ESMTP id g7F3WDmr011505; Wed, 14 Aug 2002 20:32:13 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.12.5/8.12.5/Submit) id g7F3WC8r011504; Wed, 14 Aug 2002 20:32:12 -0700 (PDT) Date: Wed, 14 Aug 2002 20:32:12 -0700 (PDT) From: David Wolfskill Message-Id: <200208150332.g7F3WC8r011504@bunrab.catwhisker.org> To: current@FreeBSD.ORG, sziszi@bsd.hu Subject: Re: Weirdness trying -STABLE -> -CURRENT In-Reply-To: <20020813163333.GD1105@fonix.adamsfamily.xx> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Warning: this is ~200 lines long. Sorry. I think the issue raised is worth maybe 10% of the bandwidth, but.... >Date: Tue, 13 Aug 2002 18:33:33 +0200 >From: Szilveszter Adam >Thanks for getting back with the results. This points to the fatc that >the instructions in UPDATING should updated. OK; folks -- after getting a great deal of encouragement from Szilveszter Adam, I reviewed the transcripts from what I did a little more carefully, and I believe that there is at least one fundamental flaw in the present (as of rev. 1.214) /usr/src/UPDATING instructions for the "To upgrade from 4.x-stable to current" section, such that it cannot work as specified. Further, I do not have a mechanism that I believe to exhibit sufficiently predictable behavior as to be usable at this time. (In other words, it seems to me that making this transition may well require something that -- for lack of a better term -- I will call "luck.") I will intersperse editorial comments in among the lines from UPDATING (which are indented by a tab): To upgrade from 4.x-stable to current ------------------------------------- make buildworld make buildkernel KERNCONF=YOUR_KERNEL_HERE cp src/sys/${MACHINE_ARCH}/conf/GENERIC.hints /boot/device.hints [2] make installkernel KERNCONF=YOUR_KERNEL_HERE No problem up to here. reboot in single user [3] OK; here we have a fundamental problem, illustrated by the following commands I issued just after the "make installkernel": freebeast(4.6-S)[3] grep '^kernel' /boot/defaults/loader.conf kernel="/kernel" kernel_options="" freebeast(4.6-S)[4] The clue that I had was reviewing the transcript, and when I did the single-user boot, the system identified itself as 4.6-STABLE. Now, if it is *intended* to actually boot -STABLE at this time, fine -- but that sure isn't the rationale that I've seen discussed. In an effort, then, to find an appropriate circumvention, I tried: freebeast(4.6-S)[4] pushd sys freebeast(4.6-S)[5] make install ... and after that: freebeast(4.6-S)[6] !grep grep '^kernel' /boot/defaults/loader.conf kernel="kernel" # /boot sub-directory containing kernel and modules kernel_options="" freebeast(4.6-S)[7] and *then* I tried the single-user reboot. I was mildly gratified to see: Hit [Enter] to boot immediately, or any other key for command prompt. Type '?' for a list of commands, 'help' for more detailed help. OK boot -s /boot/kernel/acpi.ko text=0x2e27c data=0x1804+0x6e0 syms=[0x4+0x50b0+0x4+0x6913/ SMAP type=01 base=00000000 00000000 len=00000000 0009fc00 SMAP type=01 base=00000000 0009fc00 len=00000000 00000400 SMAP type=02 base=00000000 000f0000 len=00000000 00010000 SMAP type=02 base=00000000 fec00000 len=00000000 01400000 SMAP type=01 base=00000000 00100000 len=00000000 1fef0000 SMAP type=03 base=00000000 1fff3000 len=00000000 0000d000 SMAP type=04 base=00000000 1fff0000 len=00000000 00003000 Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.0-CURRENT #0: Wed Aug 14 19:15:38 PDT 2002 root@freebeast.catwhisker.org:/common/S3/obj/usr/src/sys/FREEBEAST and I (foolishly, in retrospect) thought that I'd have something simple to suggest that would fix the problem. First significant hint that the ride was going to be bumpy was: # mount -u / WARNING: userland calling deprecated sysctl, please rebuild world WARNING: userland calling deprecated sysctl, please rebuild world WARNING: userland calling deprecated sysctl, please rebuild world WARNING: userland calling deprecated sysctl, please rebuild world WARNING: userland calling deprecated sysctl, please rebuild world # mount /dev/ad0s3a on / (ufs, local, soft-updates) devfs on /dev (devfs, local) # This was repeated (quite a bit) with the "mount -at ufs", but at least the file systems got mounted. (Whew!) So we see: # mount /dev/ad0s3a on / (ufs, local, soft-updates) devfs on /dev (devfs, local) /dev/ad0s3e on /usr (ufs, local, soft-updates) /dev/ad0s4h on /common (ufs, local) /dev/ad0s4g on /var (ufs, local) # cd /usr/src # date && adjkerntz -i && date Wed Aug 14 12:39:10 PDT 2002 Wed Aug 14 12:39:10 PDT 2002 # echo "The time is 7 hrs. off -- and I'm 7 hrs. west of GMT." The time is 7 hrs. off -- and I'm 7 hrs. west of GMT. Continuing with the instructions from UPDATING, we see: mergemaster -p [5] make installworld OK: # mergemaster -p ... Continuing, then: # make installworld make: no target to make. "/usr/src/Makefile.inc1", line 140: warning: "make -f /dev/null -m /usr/src/share/mk CPUTYPE=i386 -V CPUTYPE" returned non-zero status mkdir -p /tmp/install.oA6Pxyei ... and things progressed for a while. But then: /usr/share/nls/it_IT.ISO8859-15/tcsh.cat -> ../it_IT.ISO8859-1/tcsh.cat /usr/share/nls/es_ES.ISO8859-15/tcsh.cat -> ../es_ES.ISO8859-1/tcsh.cat ===> bin/rmail install -s -o root -g wheel -m 555 rmail /bin install -o root -g wheel -m 444 rmail.8.gz /usr/share/man/man8 ===> games ===> games/adventure install -s -o root -g games -m 550 adventure /usr/games/hide (cd /usr/games; ln -fs dm adventure; chown -h root:games adventure) chown: games: illegal group name *** Error code 1 Stop in /usr/src/games/adventure. *** 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. # grep games /etc/group* /usr/src/etc/group* grep: Memory exhausted # swapon -a swapon: adding /dev/ad0s4b as swap device # grep games /etc/group* /usr/src/etc/group* grep: Memory exhausted # sync # sync # sync # which grep Out of memory! pid 3263 (perl), uid 0: exited on signal 11 (core dumped) [1] 3263 Segmentation fault (core dumped) which grep # reboot I was able to perform another single-user reboot, but successive attempts to "make installworld" died with the "out of memory" symptom. mergemaster [4] [1] I wasn't able to get as far as completing the "make installworld" -- I tried with -k once; that didn't seem to help, either. So -- at some point I think this needs to be figured out. I'll be happy to poke around and test. Thanks, david (links to my resume at http://www.catwhisker.org/~david) -- David H. Wolfskill david@catwhisker.org To paraphrase David Hilbert, there can be no conflicts between the discipline of systems administration and Microsoft, since they have nothing in common. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Aug 14 21:31:36 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 88DE437B400 for ; Wed, 14 Aug 2002 21:31:33 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 4563543E6E for ; Wed, 14 Aug 2002 21:31:33 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 38940 invoked by uid 1000); 15 Aug 2002 04:31:35 -0000 Date: Wed, 14 Aug 2002 21:31:35 -0700 (PDT) From: Nate Lawson To: David Wolfskill Cc: current@FreeBSD.ORG, sziszi@bsd.hu Subject: Re: Weirdness trying -STABLE -> -CURRENT In-Reply-To: <200208150332.g7F3WC8r011504@bunrab.catwhisker.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I upgraded a machine from 4.6R to -CURRENT today and had similar problems. Comments below. On Wed, 14 Aug 2002, David Wolfskill wrote: > To upgrade from 4.x-stable to current > ------------------------------------- > make buildworld > make buildkernel KERNCONF=YOUR_KERNEL_HERE > cp src/sys/${MACHINE_ARCH}/conf/GENERIC.hints /boot/device.hints [2] > make installkernel KERNCONF=YOUR_KERNEL_HERE > > No problem up to here. Same. > reboot in single user [3] > > OK; here we have a fundamental problem, illustrated by the following > commands I issued just after the "make installkernel": > > freebeast(4.6-S)[3] grep '^kernel' /boot/defaults/loader.conf > kernel="/kernel" > kernel_options="" > freebeast(4.6-S)[4] > > The clue that I had was reviewing the transcript, and when I did the > single-user boot, the system identified itself as 4.6-STABLE. This happened to me too. Perhaps the instructions should say to unload kernel; load /boot/kernel/kernel on reboot or maybe explicitly copy in the new /boot/defaults/loader.conf like you do with device.hints? I didn't notice the 4.6 dmesg while booting so I went through the make installworld using the 4.6 kernel. It got to chpass and then failed with a sig 11. It turned out part of the chpass install uses chflags and I believe the syscall changed between 4.6R and current. I rebooted at that point since things couldn't continue in the installworld and the new kernel's ACPI blew major chunks (endless loop). So I booted my stable partition, did another buildkernel/installkernel on the -current partition and then rebooted. ACPI paniced but I was able to boot the new kernel by disabling ACPI (separate message on this). After booting the -current kernel, mergemaster and installworld worked just fine. My system was running fine when I went home tonight. > # sync > # which grep > Out of memory! > pid 3263 (perl), uid 0: exited on signal 11 (core dumped) > [1] 3263 Segmentation fault (core dumped) which grep > # reboot > > I was able to perform another single-user reboot, but successive attempts > to "make installworld" died with the "out of memory" symptom. > > mergemaster [4] > [1] > > > I wasn't able to get as far as completing the "make installworld" -- I tried > with -k once; that didn't seem to help, either. > > > So -- at some point I think this needs to be figured out. > > I'll be happy to poke around and test. I didn't get any out of memory errors, just repeatable sig 11 when running chflags. -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Aug 14 21:39: 3 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E86EE37B400 for ; Wed, 14 Aug 2002 21:38:59 -0700 (PDT) Received: from cowpie.acm.vt.edu (cowpie.acm.vt.edu [128.173.42.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F25643E6E for ; Wed, 14 Aug 2002 21:38:59 -0700 (PDT) (envelope-from mheffner@cowpie.acm.vt.edu) Received: from cowpie.acm.vt.edu (Fesnel@localhost [127.0.0.1]) by cowpie.acm.vt.edu (8.12.3/8.12.3) with ESMTP id g7F4cwYj056848 for ; Thu, 15 Aug 2002 00:38:58 -0400 (EDT) (envelope-from mheffner@cowpie.acm.vt.edu) Received: (from mheffner@localhost) by cowpie.acm.vt.edu (8.12.3/8.12.3/Submit) id g7F4cwdj056847 for freebsd-current@freebsd.org; Thu, 15 Aug 2002 00:38:58 -0400 (EDT) Date: Thu, 15 Aug 2002 00:38:58 -0400 From: Mike Heffner To: freebsd-current@freebsd.org Subject: panic: system call accept returning with mutex(s) held Message-ID: <20020815003858.A56794@cowpie.acm.vt.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG With -current from earlier this week, panics whenever I start gaim. Didn't see anything similar in the archives. I'll be happy to provide more information if needed. Mounting root from ufs:/dev/ad0s2a exclusive sleep mutex Giant r = 0 (0xc02da9a0) locked @ ../../../kern/subr_trap.c:80 panic: system call accept returning with mutex(s) held syncing disks... panic: bremfree: bp 0xc3c32ee4 not locked Uptime: 3m18s pfs_vncache_unload(): 1 entries remaining Dumping 127 MB ata0: resetting devices .. done 16 32 48 64 80 96 112 --- #0 doadump () at ../../../kern/kern_shutdown.c:213 213 dumping++; (kgdb) bt #0 doadump () at ../../../kern/kern_shutdown.c:213 #1 0xc01aaa86 in boot (howto=260) at ../../../kern/kern_shutdown.c:345 #2 0xc01aaca3 in panic () at ../../../kern/kern_shutdown.c:493 #3 0xc01dfc47 in bremfree (bp=0xc02b0f05) at ../../../kern/vfs_bio.c:633 #4 0xc01e1668 in vfs_bio_awrite (bp=0xc1525840) at ../../../kern/vfs_bio.c:1627 #5 0xc022e991 in ffs_fsync (ap=0xc8e7bc1c) at ../../../ufs/ffs/ffs_vnops.c:231 #6 0xc022df8e in ffs_sync (mp=0xc1471400, waitfor=2, cred=0xc0babe00, td=0xc02d6480) at vnode_if.h:545 #7 0xc01f162c in sync (td=0xc02d6480, uap=0x0) at ../../../kern/vfs_syscalls.c:129 #8 0xc01aa6a2 in boot (howto=256) at ../../../kern/kern_shutdown.c:254 #9 0xc01aaca3 in panic () at ../../../kern/kern_shutdown.c:493 #10 0xc027d8a2 in syscall (frame= {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 135554112, tf_esi = 135604464, tf_ebp = -1077940868, tf_isp = -924336780, tf_ebx = 673945180, tf_edx = 1, tf_ecx = 0, tf_eax = 22, tf_trapno = 12, tf_err = 2, tf_eip = 676290179, tf_cs = 31, tf_eflags = 663, tf_esp = -1077941024, tf_ss = 47}) at ../../../i386/i386/trap.c:1120 #11 0xc026e76d in Xint0x80_syscall () at {standard input}:140 FreeBSD 5.0-CURRENT #1: Wed Aug 14 12:19:54 EDT 2002 spock@satellite.muriel.penguinpowered.com:/usr/src/sys/i386/compile/SATELLIT E Preloaded elf kernel "/boot/kernel/kernel" at 0xc03ff000. Preloaded elf module "/boot/kernel/random.ko" at 0xc03ff0a8. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc03ff154. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 746339059 Hz CPU: Pentium III/Pentium III Xeon/Celeron (746.34-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x383f9ff real memory = 134086656 (130944K bytes) avail memory = 125779968 (122832K bytes) Mike -- Mike Heffner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Wed Aug 14 23:44:25 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48DA537B41F for ; Wed, 14 Aug 2002 23:44:22 -0700 (PDT) Received: from mailout04.sul.t-online.com (mailout04.sul.t-online.com [194.25.134.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46D8743E3B for ; Wed, 14 Aug 2002 23:44:21 -0700 (PDT) (envelope-from anselmg@t-online.de) Received: from fwd08.sul.t-online.de by mailout04.sul.t-online.com with smtp id 17fEMk-0002uF-02; Thu, 15 Aug 2002 08:44:18 +0200 Received: from odin.garbe (320068295437-0001@[217.81.129.137]) by fwd08.sul.t-online.com with esmtp id 17fEMX-0iWXyqC; Thu, 15 Aug 2002 08:44:05 +0200 Received: from odin.garbe (localhost.garbe [127.0.0.1]) by odin.garbe (8.12.5/8.12.5) with ESMTP id g7F6hP9e000362 for ; Thu, 15 Aug 2002 08:43:25 +0200 (CEST) (envelope-from garbeam@odin.garbe) Received: (from garbeam@localhost) by odin.garbe (8.12.5/8.12.5/Submit) id g7F6hPJE000361 for freebsd-current@FreeBSD.ORG; Thu, 15 Aug 2002 08:43:25 +0200 (CEST) Date: Thu, 15 Aug 2002 08:43:25 +0200 From: anselmg@t-online.de (Anselm Garbe) To: freebsd-current@FreeBSD.ORG Subject: Re: psm problem Message-ID: <20020815064325.GA341@odin.garbe> References: <20020814221437.GA575@odin.garbe> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020814221437.GA575@odin.garbe> User-Agent: Mutt/1.4i X-Sender: 320068295437-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Aug 15, 2002 at 12:14:37AM +0200, Anselm Garbe wrote: > Hi there, > > after make world of today: > my mouse behaves sometimes curios (while moving around, some selections > are done, without clicking)... OK, after installing a new world (source code of Aug 15, 2002 at 00:00 MEZ), the psm problem still exists, here's what /var/log/messages says: Aug 15 08:30:36 odin named[183]: Ready to answer queries. Aug 15 08:34:13 odin kernel: drm0: port 0x9000-0x90ff mem 0xdd000000-0xdd00ffff,0xd0000000-0xd7ffffff irq 5 at device 0.0 on pci1 Aug 15 08:34:13 odin kernel: info: [drm] AGP at 0xd8000000 64MB Aug 15 08:34:13 odin kernel: info: [drm] Initialized radeon 1.1.1 20010405 on minor 0 Aug 15 08:34:41 odin kernel: psmintr: out of sync (0000 != 0008). Aug 15 08:34:41 odin kernel: psmintr: discard a byte (1). Aug 15 08:34:41 odin kernel: psmintr: out of sync (0000 != 0008). Aug 15 08:34:41 odin kernel: psmintr: discard a byte (2). Aug 15 08:34:41 odin kernel: psmintr: out of sync (0000 != 0008). Aug 15 08:34:41 odin kernel: psmintr: discard a byte (3). It's clear now, that this problem starts after launching X. The last world I tried was of Aug 06, 2002 without these problems. XFree86 was installed also on Aug 06, 2002 via ports. Anselm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 2:49: 8 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A14CD37B400 for ; Thu, 15 Aug 2002 02:49:07 -0700 (PDT) Received: from b.smtp-out.sonic.net (b.smtp-out.sonic.net [208.201.224.39]) by mx1.FreeBSD.org (Postfix) with SMTP id 34F7B43E4A for ; Thu, 15 Aug 2002 02:49:07 -0700 (PDT) (envelope-from sonicmail@blarf.homeip.net) Received: (qmail 11255 invoked from network); 15 Aug 2002 09:49:06 -0000 Received: from sub.sonic.net (208.201.224.8) by b.smtp-out.sonic.net with SMTP; 15 Aug 2002 09:49:06 -0000 Received: from blarf.homeip.net (adsl-209-204-188-56.sonic.net [209.204.188.56]) by sub.sonic.net (8.11.6/8.8.5) with ESMTP id g7F9n6X15552; Thu, 15 Aug 2002 02:49:06 -0700 X-envelope-info: Received: by blarf.homeip.net (Postfix, from userid 1006) id C5D4E1814; Thu, 15 Aug 2002 02:49:04 -0700 (PDT) Date: Thu, 15 Aug 2002 02:49:04 -0700 From: Alex Zepeda To: Jun Kuriyama , current@freebsd.org Subject: Re: CFLAGS=-O and WARN=5 Message-ID: <20020815094904.GA62301@blarf.homeip.net> References: <7md6slpxr1.wl@black.imgsrc.co.jp> <7m7kitox8u.wl@black.imgsrc.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7m7kitox8u.wl@black.imgsrc.co.jp> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Aug 15, 2002 at 08:07:29AM +0900, Jun Kuriyama wrote: > What I want to know is, our buildworld does not been supported without > -O or not. AFAIK it world should compile with -O (I seem to remember parts breaking with -O0 for instance). - alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 4: 2:16 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6422B37B405 for ; Thu, 15 Aug 2002 04:02:14 -0700 (PDT) Received: from mail.cscoms.com (mail.cscoms.com [202.183.255.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89C7743E91 for ; Thu, 15 Aug 2002 04:02:12 -0700 (PDT) (envelope-from infork@bussaracum.com) Received: from bussaracum.com ([202.183.198.43]) by mail.cscoms.com (8.12.3/8.12.3) with ESMTP id g7FB2AeL006490 for ; Thu, 15 Aug 2002 18:02:10 +0700 (GMT) Date: Thu, 15 Aug 2002 18:02:10 +0700 (GMT) From: infork@bussaracum.com Message-Id: <200208151102.g7FB2AeL006490@mail.cscoms.com> To: undisclosed-recipients: ; Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 5:11:19 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2A7137B400 for ; Thu, 15 Aug 2002 05:11:15 -0700 (PDT) Received: from hardtime.linuxman.net (hardtime.linuxman.net [66.147.26.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFCCD43E77 for ; Thu, 15 Aug 2002 05:11:14 -0700 (PDT) (envelope-from gh@over-yonder.net) Received: from mortis.over-yonder.net (localhost [127.0.0.1]) by hardtime.linuxman.net (8.11.6/8.11.6) with ESMTP id g7FCPJj30941 for ; Thu, 15 Aug 2002 07:25:21 -0500 Received: by mortis.over-yonder.net (Postfix, from userid 1012) id 710401F05; Thu, 15 Aug 2002 07:11:05 -0500 (CDT) Date: Thu, 15 Aug 2002 07:11:05 -0500 From: dmk To: freebsd-current@freebsd.org Subject: emulators/rtc and vmware2 Message-ID: <20020815121105.GA35400@over-yonder.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i-fullermd.1 X-Editor: vi X-OS: FreeBSD Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Is anybody successfully using the port emulators/rtc with vmware2 on -current? While the port builds and installs fine, a /dev/rtc device never appears. ISTM that the rtc device does a make_dev as part of the device open() rather than at module load and that vmware doesn't work like that. Having no kernel (module) hacking experience, I come to the list for pointers. I am trying to wrap my head around rtc enough to try make_dev() at module load time, but maybe someone can give me a hint as to what's going on. I'm breaking the rules and running an old -CURRENT from Feb 4, 2002, so I'll humbly swallow suggestions that I upgrade. Thanks loads, dan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 6:26:45 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 382D637B400 for ; Thu, 15 Aug 2002 06:26:39 -0700 (PDT) Received: from mail.theapt.org (theapt.org [208.201.244.166]) by mx1.FreeBSD.org (Postfix) with SMTP id 31D0F43E65 for ; Thu, 15 Aug 2002 06:26:38 -0700 (PDT) (envelope-from phessler@theapt.org) Received: (qmail 372 invoked from network); 15 Aug 2002 13:26:36 -0000 Received: from leela.theapt.org (208.201.244.160) by 0 with SMTP; 15 Aug 2002 13:26:36 -0000 Date: Thu, 15 Aug 2002 06:26:40 -0700 From: Peter Hessler To: Nate Lawson Cc: david@catwhisker.org, current@FreeBSD.ORG, sziszi@bsd.hu Subject: Re: Weirdness trying -STABLE -> -CURRENT Message-Id: <20020815062640.274c341f.phessler@theapt.org> In-Reply-To: References: <200208150332.g7F3WC8r011504@bunrab.catwhisker.org> X-Mailer: Sylpheed version 0.7.8 (GTK+ 1.2.10; powerpc-unknown-openbsd3.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 14 Aug 2002 21:31:35 -0700 (PDT) Nate Lawson wrote: :I upgraded a machine from 4.6R to -CURRENT today and had similar :problems. Comments below. : I upgraded from 4.5R to -CURRENT last night, and had /no/ issues. :On Wed, 14 Aug 2002, David Wolfskill wrote: :> To upgrade from 4.x-stable to current :> ------------------------------------- :> make buildworld :> make buildkernel KERNCONF=YOUR_KERNEL_HERE :> cp src/sys/${MACHINE_ARCH}/conf/GENERIC.hints /boot/device.hints [2] :> make installkernel KERNCONF=YOUR_KERNEL_HERE :> :> No problem up to here. : :Same. : Ditto :> reboot in single user [3] :> :> OK; here we have a fundamental problem, illustrated by the following :> commands I issued just after the "make installkernel": :> :> freebeast(4.6-S)[3] grep '^kernel' /boot/defaults/loader.conf :> kernel="/kernel" :> kernel_options="" :> freebeast(4.6-S)[4] :> :> The clue that I had was reviewing the transcript, and when I did the :> single-user boot, the system identified itself as 4.6-STABLE. : :This happened to me too. Perhaps the instructions should say to unload :kernel; load /boot/kernel/kernel on reboot or maybe explicitly copy in the :new /boot/defaults/loader.conf like you do with device.hints? : "unload kernel; load /boot/kernel/kernel; boot -s" brought up 5-CURRENT. /snip errors that I didn't get and problems I didn't experiance/ fsck -p mount -u / mount -a cd /usr/src make installworld #Note the lack of option '-k' mergemaster Everything went perfect (well, except my hands hurting from pressing 'i' and [enter] about 7 bajillion times. ;-) So possibly, the only thing that needs to be added to UPDATING is the recommendation to do the unload/load dance? -- Peter Hessler [phessler@theapt.org] [http://www.theapt.org] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 6:49:45 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FD4F37B405 for ; Thu, 15 Aug 2002 06:49:37 -0700 (PDT) Received: from hardtime.linuxman.net (hardtime.linuxman.net [66.147.26.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id E10C843EB7 for ; Thu, 15 Aug 2002 06:47:57 -0700 (PDT) (envelope-from gh@over-yonder.net) Received: from mortis.over-yonder.net (localhost [127.0.0.1]) by hardtime.linuxman.net (8.11.6/8.11.6) with ESMTP id g7FE1vj01421 for ; Thu, 15 Aug 2002 09:01:59 -0500 Received: by mortis.over-yonder.net (Postfix, from userid 1012) id 815AD1F04; Thu, 15 Aug 2002 08:47:38 -0500 (CDT) Date: Thu, 15 Aug 2002 08:47:38 -0500 From: dmk To: freebsd-current@freebsd.org Subject: Re: emulators/rtc and vmware2 Message-ID: <20020815134738.GB35400@over-yonder.net> References: <20020815121105.GA35400@over-yonder.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="RnlQjJ0d97Da+TV1" Content-Disposition: inline In-Reply-To: <20020815121105.GA35400@over-yonder.net> User-Agent: Mutt/1.4i-fullermd.1 X-Editor: vi X-OS: FreeBSD Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Aug 15, 2002 at 07:11:05AM -0500 I heard the voice of dmk, and lo! it spake thus: > > Is anybody successfully using the port emulators/rtc with vmware2 on > -current? [...] Replying to myself... I have since hacked rtc so it works with vmware2 on my -CURRENT system dated February 4, 2002. In the shocking case that anyone is interested, I have attached the diff. (I would appreciate anybody looking at the diff as it is my first kernel hack.) > Thanks loads, dan --RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="rtc.diff" --- rtc.c.bk Thu Aug 15 03:50:21 2002 +++ rtc.c Thu Aug 15 03:51:30 2002 @@ -177,9 +177,8 @@ rtc_open(dev_t dev, int oflag, int otyp, struct proc *p) #endif { - struct rtc_softc *sc; + struct rtc_softc *sc = (struct rtc_softc *) dev->si_drv1; - sc = rtc_attach(dev); if (sc==NULL) return (EAGAIN); @@ -264,7 +263,21 @@ static int init_module(void) { -int error; + int error; + struct rtc_softc *sc; + dev_t dev; + + dev = make_dev(&rtc_cdevsw, 0, UID_ROOT, GID_WHEEL, 0600, DEVICE_NAME); + if(dev==NULL) + return (NULL); + + MALLOC(sc, struct rtc_softc*, sizeof(*sc), M_DEVBUF, M_WAITOK); + if(sc==NULL) + return NULL; + + bzero(sc, sizeof(*sc)); + rtc_sc = sc; + dev->si_drv1 = sc; /* Link together */ error = cdevsw_add(&rtc_cdevsw); if (error) --RnlQjJ0d97Da+TV1-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 8:38:45 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FDF837B400 for ; Thu, 15 Aug 2002 08:38:42 -0700 (PDT) Received: from ref5.freebsd.org (ref5.FreeBSD.org [216.136.204.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B0D943E7B for ; Thu, 15 Aug 2002 08:38:42 -0700 (PDT) (envelope-from des@FreeBSD.org) Received: from ref5.freebsd.org (localhost [127.0.0.1]) by ref5.freebsd.org (8.12.5/8.12.5) with ESMTP id g7FFcfgr061214 for ; Thu, 15 Aug 2002 08:38:41 -0700 (PDT) (envelope-from des@ref5.freebsd.org) Received: (from des@localhost) by ref5.freebsd.org (8.12.5/8.12.5/Submit) id g7FFcf5A061212 for current@freebsd.org; Thu, 15 Aug 2002 08:38:41 -0700 (PDT) Date: Thu, 15 Aug 2002 08:38:41 -0700 (PDT) From: Dag-Erling Smorgrav Message-Id: <200208151538.g7FFcf5A061212@ref5.freebsd.org> To: current@freebsd.org Subject: i386 tinderbox failure Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- >>> stage 2: cleaning up the object tree -------------------------------------------------------------- >>> stage 2: rebuilding the object tree -------------------------------------------------------------- >>> stage 2: build tools -------------------------------------------------------------- >>> stage 3: cross tools -------------------------------------------------------------- >>> stage 4: populating /home/des/tinderbox/i386/obj/local0/scratch/des/src/i386/usr/include -------------------------------------------------------------- >>> stage 4: building libraries -------------------------------------------------------------- >>> stage 4: make dependencies -------------------------------------------------------------- >>> stage 4: building everything.. -------------------------------------------------------------- ===> games/grdc cc1: warnings being treated as errors In file included from /home/des/tinderbox/i386/obj/local0/scratch/des/src/i386/usr/include/ncurses.h:112, from /local0/scratch/des/src/games/grdc/grdc.c:15: /home/des/tinderbox/i386/obj/local0/scratch/des/src/i386/usr/include/stdbool.h:41: warning: useless keyword or type name in empty declaration /home/des/tinderbox/i386/obj/local0/scratch/des/src/i386/usr/include/stdbool.h:41: warning: empty declaration *** Error code 1 Stop in /local0/scratch/des/src/games/grdc. *** Error code 1 Stop in /local0/scratch/des/src/games. *** Error code 1 Stop in /local0/scratch/des/src. *** Error code 1 Stop in /local0/scratch/des/src. *** Error code 1 Stop in /local0/scratch/des/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 9: 1:19 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95D1037B405; Thu, 15 Aug 2002 09:01:06 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B3D543E7B; Thu, 15 Aug 2002 09:01:02 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g7FG0xp16623; Thu, 15 Aug 2002 19:00:59 +0300 (EEST) (envelope-from ru) Date: Thu, 15 Aug 2002 19:00:59 +0300 From: Ruslan Ermilov To: Dag-Erling Smorgrav Cc: current@FreeBSD.ORG Subject: Re: i386 tinderbox failure Message-ID: <20020815160058.GC13104@sunbay.com> References: <200208151538.g7FFcf5A061212@ref5.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VywGB/WGlW4DM4P8" Content-Disposition: inline In-Reply-To: <200208151538.g7FFcf5A061212@ref5.freebsd.org> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --VywGB/WGlW4DM4P8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable See my HEADS UP message to -CURRENT and the 20020815 entry to src/UPDATING. On Thu, Aug 15, 2002 at 08:38:41AM -0700, Dag-Erling Smorgrav wrote: > -------------------------------------------------------------- > >>> Rebuilding the temporary build tree > -------------------------------------------------------------- > >>> stage 1: bootstrap tools > -------------------------------------------------------------- > >>> stage 2: cleaning up the object tree > -------------------------------------------------------------- > >>> stage 2: rebuilding the object tree > -------------------------------------------------------------- > >>> stage 2: build tools > -------------------------------------------------------------- > >>> stage 3: cross tools > -------------------------------------------------------------- > >>> stage 4: populating /home/des/tinderbox/i386/obj/local0/scratch/des/s= rc/i386/usr/include > -------------------------------------------------------------- > >>> stage 4: building libraries > -------------------------------------------------------------- > >>> stage 4: make dependencies > -------------------------------------------------------------- > >>> stage 4: building everything.. > -------------------------------------------------------------- > =3D=3D=3D> games/grdc > cc1: warnings being treated as errors > In file included from /home/des/tinderbox/i386/obj/local0/scratch/des/src= /i386/usr/include/ncurses.h:112, > from /local0/scratch/des/src/games/grdc/grdc.c:15: > /home/des/tinderbox/i386/obj/local0/scratch/des/src/i386/usr/include/stdb= ool.h:41: warning: useless keyword or type name in empty declaration > /home/des/tinderbox/i386/obj/local0/scratch/des/src/i386/usr/include/stdb= ool.h:41: warning: empty declaration > *** Error code 1 >=20 > Stop in /local0/scratch/des/src/games/grdc. > *** Error code 1 >=20 > Stop in /local0/scratch/des/src/games. > *** Error code 1 >=20 > Stop in /local0/scratch/des/src. > *** Error code 1 >=20 > Stop in /local0/scratch/des/src. > *** Error code 1 >=20 > Stop in /local0/scratch/des/src. >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --VywGB/WGlW4DM4P8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9W9A6Ukv4P6juNwoRAluLAJ9ayETpMI6npzi86p8G9Hdv7EJwQgCgheke nsvUdV2b+4lQEo2wiy8uR/8= =Td43 -----END PGP SIGNATURE----- --VywGB/WGlW4DM4P8-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 9:23:19 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35CDD37B400 for ; Thu, 15 Aug 2002 09:23:16 -0700 (PDT) Received: from trantor.utsl.org (cvg-65-27-234-246.cinci.rr.com [65.27.234.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5271443E70 for ; Thu, 15 Aug 2002 09:23:15 -0700 (PDT) (envelope-from utsl@quic.net) Received: from hotrod.utsl.org ([10.10.57.3] helo=quic.net) by trantor.utsl.org with esmtp (Exim 3.35 #1 (Debian)) id 17fN3x-0004ED-00; Thu, 15 Aug 2002 12:01:29 -0400 Message-ID: <3D5BD034.3030701@quic.net> Date: Thu, 15 Aug 2002 12:00:52 -0400 From: Nathan Hawkins User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020615 Debian/1.0.0-3 MIME-Version: 1.0 To: Brooks Davis Cc: Mario Goebbels , freebsd-current@FreeBSD.ORG Subject: Re: OT: Debian GNU/FreeBSD??? References: <000701c243e5$2cb95370$2000000a@tsndual933> <20020814160204.A17855@Odin.AC.HMC.Edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'd debate "silly," but you're more or less correct. The userland is really a bit mixed. Most of /sbin and /usr/sbin is from FreeBSD (kind of necessary), while most of /usr/bin is from Debian. ---Nathan Brooks Davis wrote: > On Thu, Aug 15, 2002 at 12:51:49AM +0200, Mario Goebbels wrote: > >>I'm slightly offtopic with this, but what the heck is that: >> >>http://www.debian.org/ports/freebsd/index >> >>I was slightly irritated when a pal showed me that! > > > It's Debian people being silly. Someone decided they liked the FreeBSD > kernel and the Debian way of doing userland and combined the two. As > you can see from the webpage, it's not exactly popular (the site hasn't > been updated in four months.) It's more or less legal and doesn't hurt > anything. > > -- Brooks > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 9:45: 6 2002 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 885) id 7520E37B400; Thu, 15 Aug 2002 09:45:03 -0700 (PDT) Date: Thu, 15 Aug 2002 09:45:03 -0700 From: Eric Melville To: Max Khon Cc: David O'Brien , Samuel Tardieu , current@freebsd.org Subject: Re: pkg-comment Message-ID: <20020815094503.A40365@FreeBSD.org> References: <2002-08-11-20-49-28+trackit+sam@inf.enst.fr> <20020811122319.A11471@FreeBSD.org> <20020812193651.GC4787@dragon.nuxi.com> <20020813032034.A67671@iclub.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020813032034.A67671@iclub.nsu.ru>; from fjoe@iclub.nsu.ru on Tue, Aug 13, 2002 at 03:20:34AM +0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > That will certainly be a big help. When we got rid of the pkg/ and > > patches/ directories I begged Satoshi to go farther and put patches in > > main port directory and get rid of pkg/COMMENT. That was back when we > > hit 3000 ports -- I guess people didn't want to accept we would hit 8000 > > in only a few years. > > > > Of course why we don't just put "COMMENT=blah" in the ports's Makefile > > Posted patch uses `head -1 ${DESCR}` however. > I'd prefer to go NetBSD way and use COMMENT=blah for ports comments This patch is small and simple and allows us to reclaim a huge number of inodes. It also allows for an easy transition. I think the information in the comment probably belongs at the top of the description as well, but either way is fine as soon as I see a patch for other proposed placement. I just want my inodes back, sooner rather than later. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 10:33: 2 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF2EB37B400 for ; Thu, 15 Aug 2002 10:32:58 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE06A43E6A for ; Thu, 15 Aug 2002 10:32:57 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.4/8.12.4) with SMTP id g7FHWgOo009169; Thu, 15 Aug 2002 13:32:42 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Thu, 15 Aug 2002 13:32:42 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Mike Heffner Cc: freebsd-current@freebsd.org Subject: Re: panic: system call accept returning with mutex(s) held In-Reply-To: <20020815003858.A56794@cowpie.acm.vt.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hmm. This could be my bug due to mixing up a -stable and a -current patch. I modified accept() to reject negative sockaddr name lengths, but it looks like I botched the return path: if (uap->name) { error = copyin(uap->anamelen, &namelen, sizeof (namelen)); if(error) goto done2; if (namelen < 0) return (EINVAL); } Try turning that 'return (EINVAL);' into a 'goto done2;' and see if that helps. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories On Thu, 15 Aug 2002, Mike Heffner wrote: > With -current from earlier this week, panics whenever I start > gaim. Didn't see anything similar in the archives. I'll be happy to > provide more information if needed. > > Mounting root from ufs:/dev/ad0s2a > exclusive sleep mutex Giant r = 0 (0xc02da9a0) locked @ ../../../kern/subr_trap.c:80 > panic: system call accept returning with mutex(s) held > > > syncing disks... panic: bremfree: bp 0xc3c32ee4 not locked > Uptime: 3m18s > pfs_vncache_unload(): 1 entries remaining > Dumping 127 MB > ata0: resetting devices .. > done > 16 32 48 64 80 96 112 > --- > #0 doadump () at ../../../kern/kern_shutdown.c:213 > 213 dumping++; > (kgdb) bt > #0 doadump () at ../../../kern/kern_shutdown.c:213 > #1 0xc01aaa86 in boot (howto=260) at ../../../kern/kern_shutdown.c:345 > #2 0xc01aaca3 in panic () at ../../../kern/kern_shutdown.c:493 > #3 0xc01dfc47 in bremfree (bp=0xc02b0f05) at ../../../kern/vfs_bio.c:633 > #4 0xc01e1668 in vfs_bio_awrite (bp=0xc1525840) at ../../../kern/vfs_bio.c:1627 > #5 0xc022e991 in ffs_fsync (ap=0xc8e7bc1c) at ../../../ufs/ffs/ffs_vnops.c:231 > #6 0xc022df8e in ffs_sync (mp=0xc1471400, waitfor=2, cred=0xc0babe00, td=0xc02d6480) > at vnode_if.h:545 > #7 0xc01f162c in sync (td=0xc02d6480, uap=0x0) at ../../../kern/vfs_syscalls.c:129 > #8 0xc01aa6a2 in boot (howto=256) at ../../../kern/kern_shutdown.c:254 > #9 0xc01aaca3 in panic () at ../../../kern/kern_shutdown.c:493 > #10 0xc027d8a2 in syscall (frame= > {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 135554112, tf_esi = 135604464, tf_ebp = -1077940868, tf_isp = -924336780, tf_ebx = 673945180, tf_edx = 1, tf_ecx = 0, tf_eax = 22, tf_trapno = 12, tf_err = 2, tf_eip = 676290179, tf_cs = 31, tf_eflags = 663, tf_esp = -1077941024, tf_ss = 47}) at ../../../i386/i386/trap.c:1120 > #11 0xc026e76d in Xint0x80_syscall () at {standard input}:140 > > > FreeBSD 5.0-CURRENT #1: Wed Aug 14 12:19:54 EDT 2002 > spock@satellite.muriel.penguinpowered.com:/usr/src/sys/i386/compile/SATELLIT > E > Preloaded elf kernel "/boot/kernel/kernel" at 0xc03ff000. > Preloaded elf module "/boot/kernel/random.ko" at 0xc03ff0a8. > Preloaded elf module "/boot/kernel/acpi.ko" at 0xc03ff154. > Timecounter "i8254" frequency 1193182 Hz > Timecounter "TSC" frequency 746339059 Hz > CPU: Pentium III/Pentium III Xeon/Celeron (746.34-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x686 Stepping = 6 > Features=0x383f9ff T,PSE36,MMX,FXSR,SSE> > real memory = 134086656 (130944K bytes) > avail memory = 125779968 (122832K bytes) > > > Mike > > -- > > Mike Heffner > > > > 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 Aug 15 10:35:12 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45EE437B400 for ; Thu, 15 Aug 2002 10:35:04 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29BE443E6A for ; Thu, 15 Aug 2002 10:35:03 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.4/8.12.4) with SMTP id g7FHYmOo009188; Thu, 15 Aug 2002 13:34:48 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Thu, 15 Aug 2002 13:34:47 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Mike Heffner Cc: freebsd-current@freebsd.org Subject: Re: panic: system call accept returning with mutex(s) held In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Actually, I've gone ahead and committed the change, update to uipc_syscalls.c:1.128 and see if the problem goes away. (if you do it by hand locally, make sure to assign error = EINVAL before jumping). Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories On Thu, 15 Aug 2002, Robert Watson wrote: > > Hmm. This could be my bug due to mixing up a -stable and a -current > patch. I modified accept() to reject negative sockaddr name lengths, but > it looks like I botched the return path: > > if (uap->name) { > error = copyin(uap->anamelen, &namelen, sizeof (namelen)); > if(error) > goto done2; > if (namelen < 0) > return (EINVAL); > } > > Try turning that 'return (EINVAL);' into a 'goto done2;' and see if that > helps. > > Robert N M Watson FreeBSD Core Team, TrustedBSD Projects > robert@fledge.watson.org Network Associates Laboratories > > On Thu, 15 Aug 2002, Mike Heffner wrote: > > > With -current from earlier this week, panics whenever I start > > gaim. Didn't see anything similar in the archives. I'll be happy to > > provide more information if needed. > > > > Mounting root from ufs:/dev/ad0s2a > > exclusive sleep mutex Giant r = 0 (0xc02da9a0) locked @ ../../../kern/subr_trap.c:80 > > panic: system call accept returning with mutex(s) held > > > > > > syncing disks... panic: bremfree: bp 0xc3c32ee4 not locked > > Uptime: 3m18s > > pfs_vncache_unload(): 1 entries remaining > > Dumping 127 MB > > ata0: resetting devices .. > > done > > 16 32 48 64 80 96 112 > > --- > > #0 doadump () at ../../../kern/kern_shutdown.c:213 > > 213 dumping++; > > (kgdb) bt > > #0 doadump () at ../../../kern/kern_shutdown.c:213 > > #1 0xc01aaa86 in boot (howto=260) at ../../../kern/kern_shutdown.c:345 > > #2 0xc01aaca3 in panic () at ../../../kern/kern_shutdown.c:493 > > #3 0xc01dfc47 in bremfree (bp=0xc02b0f05) at ../../../kern/vfs_bio.c:633 > > #4 0xc01e1668 in vfs_bio_awrite (bp=0xc1525840) at ../../../kern/vfs_bio.c:1627 > > #5 0xc022e991 in ffs_fsync (ap=0xc8e7bc1c) at ../../../ufs/ffs/ffs_vnops.c:231 > > #6 0xc022df8e in ffs_sync (mp=0xc1471400, waitfor=2, cred=0xc0babe00, td=0xc02d6480) > > at vnode_if.h:545 > > #7 0xc01f162c in sync (td=0xc02d6480, uap=0x0) at ../../../kern/vfs_syscalls.c:129 > > #8 0xc01aa6a2 in boot (howto=256) at ../../../kern/kern_shutdown.c:254 > > #9 0xc01aaca3 in panic () at ../../../kern/kern_shutdown.c:493 > > #10 0xc027d8a2 in syscall (frame= > > {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 135554112, tf_esi = 135604464, tf_ebp = -1077940868, tf_isp = -924336780, tf_ebx = 673945180, tf_edx = 1, tf_ecx = 0, tf_eax = 22, tf_trapno = 12, tf_err = 2, tf_eip = 676290179, tf_cs = 31, tf_eflags = 663, tf_esp = -1077941024, tf_ss = 47}) at ../../../i386/i386/trap.c:1120 > > #11 0xc026e76d in Xint0x80_syscall () at {standard input}:140 > > > > > > FreeBSD 5.0-CURRENT #1: Wed Aug 14 12:19:54 EDT 2002 > > spock@satellite.muriel.penguinpowered.com:/usr/src/sys/i386/compile/SATELLIT > > E > > Preloaded elf kernel "/boot/kernel/kernel" at 0xc03ff000. > > Preloaded elf module "/boot/kernel/random.ko" at 0xc03ff0a8. > > Preloaded elf module "/boot/kernel/acpi.ko" at 0xc03ff154. > > Timecounter "i8254" frequency 1193182 Hz > > Timecounter "TSC" frequency 746339059 Hz > > CPU: Pentium III/Pentium III Xeon/Celeron (746.34-MHz 686-class CPU) > > Origin = "GenuineIntel" Id = 0x686 Stepping = 6 > > Features=0x383f9ff > T,PSE36,MMX,FXSR,SSE> > > real memory = 134086656 (130944K bytes) > > avail memory = 125779968 (122832K bytes) > > > > > > Mike > > > > -- > > > > Mike Heffner > > > > > > > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 10:37: 5 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36B0037B400 for ; Thu, 15 Aug 2002 10:37:01 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 785FF43E7B for ; Thu, 15 Aug 2002 10:37:00 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.4/8.12.4) with SMTP id g7FHakOo009203; Thu, 15 Aug 2002 13:36:46 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Thu, 15 Aug 2002 13:36:46 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: dmk Cc: freebsd-current@freebsd.org Subject: Re: emulators/rtc and vmware2 In-Reply-To: <20020815121105.GA35400@over-yonder.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG My recollection is that the problem relates to calling make_dev() from the attach routine, and attach from the open call, and of course you can't open before you make_dev with devfs. Someone needs to restructure the driver to match some our other pseudo-device drivers where the device is properly created as part of module initialization. If fixed this and other things locally at one point on my notebook, but eventually got sufficiently sick of always fixing the kernel module for the latest -CURRENT change that I gave up on updating it. I have since lost the changes, but they shouldn't be too hard to reproduce. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories On Thu, 15 Aug 2002, dmk wrote: > > Is anybody successfully using the port emulators/rtc with vmware2 on > -current? > > While the port builds and installs fine, a /dev/rtc device never appears. > > ISTM that the rtc device does a make_dev as part of the device open() > rather than at module load and that vmware doesn't work like that. > > Having no kernel (module) hacking experience, I come to the list for > pointers. I am trying to wrap my head around rtc enough to try make_dev() > at module load time, but maybe someone can give me a hint as to what's > going on. > > > I'm breaking the rules and running an old -CURRENT from Feb 4, 2002, so > I'll humbly swallow suggestions that I upgrade. > > Thanks loads, > dan > > > 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 Aug 15 10:47:55 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8BCA537B400 for ; Thu, 15 Aug 2002 10:47:52 -0700 (PDT) Received: from web14104.mail.yahoo.com (web14104.mail.yahoo.com [216.136.172.134]) by mx1.FreeBSD.org (Postfix) with SMTP id 7060643E8A for ; Thu, 15 Aug 2002 10:47:51 -0700 (PDT) (envelope-from jesse_gross@yahoo.com) Message-ID: <20020815174751.93951.qmail@web14104.mail.yahoo.com> Received: from [172.157.45.92] by web14104.mail.yahoo.com via HTTP; Thu, 15 Aug 2002 10:47:51 PDT Date: Thu, 15 Aug 2002 10:47:51 -0700 (PDT) From: Jesse Gross Subject: GCC 3.2 To: current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, Are any plans to move to GCC 3.2 in current? Since it is just an ABI change it should work, without changing anything. It would give us a stable, multivendor ABI to work off of for the next line of 5.x releases. Just a thought. Jesse Gross __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 10:54: 6 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F68B37B400 for ; Thu, 15 Aug 2002 10:54:03 -0700 (PDT) Received: from genius.tao.org.uk (genius.tao.org.uk [212.135.162.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4A7B43E65 for ; Thu, 15 Aug 2002 10:54:02 -0700 (PDT) (envelope-from joe@genius.tao.org.uk) Received: by genius.tao.org.uk (Postfix, from userid 100) id 20C90421B; Thu, 15 Aug 2002 18:54:00 +0100 (BST) Date: Thu, 15 Aug 2002 18:54:00 +0100 From: Josef Karthauser To: dmk Cc: freebsd-current@freebsd.org Subject: Re: emulators/rtc and vmware2 Message-ID: <20020815175400.GA929@genius.tao.org.uk> References: <20020815121105.GA35400@over-yonder.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sdtB3X0nJg68CQEu" Content-Disposition: inline In-Reply-To: <20020815121105.GA35400@over-yonder.net> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --sdtB3X0nJg68CQEu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 15, 2002 at 07:11:05AM -0500, dmk wrote: >=20 > Is anybody successfully using the port emulators/rtc with vmware2 on > -current? >=20 > While the port builds and installs fine, a /dev/rtc device never appears. >=20 > ISTM that the rtc device does a make_dev as part of the device open() > rather than at module load and that vmware doesn't work like that. >=20 > Having no kernel (module) hacking experience, I come to the list for > pointers. I am trying to wrap my head around rtc enough to try make_dev() > at module load time, but maybe someone can give me a hint as to what's > going on. >=20 >=20 > I'm breaking the rules and running an old -CURRENT from Feb 4, 2002, so > I'll humbly swallow suggestions that I upgrade. I committed to changes to rtc and vmware2 in the last few days to make it compile on recent -current. There have been a lot of changes since Feb!! On my system rtc compiles and kldload and vmware works. I don't know if rtc actually works though. Maybe not. I'll take a look at your patch in due course. Joe --=20 "As far as the laws of mathematics refer to reality, they are not certain; and as far as they are certain, they do not refer to reality." - Albert Einstein, 1921 --sdtB3X0nJg68CQEu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iEYEARECAAYFAj1b6rcACgkQXVIcjOaxUBa6JwCdFayBRCMS1ztPZGxrPkGpWw+X r7QAn3GeLfp87aOraehmW6ClMkvkdgs5 =ShRl -----END PGP SIGNATURE----- --sdtB3X0nJg68CQEu-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 10:59:16 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E20637B400 for ; Thu, 15 Aug 2002 10:59:14 -0700 (PDT) Received: from magic.adaptec.com (magic.adaptec.com [208.236.45.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 413B443E70 for ; Thu, 15 Aug 2002 10:59:14 -0700 (PDT) (envelope-from Scott_Long@adaptec.com) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.10.2+Sun/8.10.2) with ESMTP id g7FHxDG11501; Thu, 15 Aug 2002 10:59:13 -0700 (PDT) Received: from btc.btc.adaptec.com (btc.btc.adaptec.com [10.100.0.52]) by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id KAA27487; Thu, 15 Aug 2002 10:59:12 -0700 (PDT) Received: from btcexc01.btc.adaptec.com (btcexc01 [10.100.0.23]) by btc.btc.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id LAA29106; Thu, 15 Aug 2002 11:59:11 -0600 (MDT) Received: by btcexc01.btc.adaptec.com with Internet Mail Service (5.5.2653.19) id ; Thu, 15 Aug 2002 11:59:11 -0600 Message-ID: <2C7CBDC6EA58D6119E4A00065B3A24CB046492@btcexc01.btc.adaptec.com> From: "Long, Scott" To: "'Jesse Gross'" , current@freebsd.org Subject: RE: GCC 3.2 Date: Thu, 15 Aug 2002 11:59:11 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > Hi, > > Are any plans to move to GCC 3.2 in current? > > Since it is just an ABI change it should work, without changing > anything. > > It would give us a stable, multivendor ABI to work off of for the next > line of 5.x releases. > > Just a thought. > > Jesse Gross Yes, moving to gcc32 is highly desirable for -current, otherwise we will be stuck at gcc311 for the entire life of FreeBSD 5.x. The important question to ask is, who will do the dirty work? Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 11: 9:17 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 752D137B400 for ; Thu, 15 Aug 2002 11:09:15 -0700 (PDT) Received: from h132-197-179-27.gte.com (h132-197-179-27.gte.com [132.197.179.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE70943E42 for ; Thu, 15 Aug 2002 11:09:14 -0700 (PDT) (envelope-from ak03@gte.com) Received: from kanpc.gte.com (localhost [IPv6:::1]) by h132-197-179-27.gte.com (8.12.5/8.12.5) with ESMTP id g7FI9CDg084012; Thu, 15 Aug 2002 14:09:12 -0400 (EDT) (envelope-from ak03@kanpc.gte.com) Received: (from ak03@localhost) by kanpc.gte.com (8.12.5/8.12.5/Submit) id g7FI9CkB084011; Thu, 15 Aug 2002 14:09:12 -0400 (EDT) Date: Thu, 15 Aug 2002 14:09:11 -0400 From: Alexander Kabaev To: "Long, Scott" Cc: jesse_gross@yahoo.com, current@FreeBSD.ORG Subject: Re: GCC 3.2 Message-Id: <20020815140911.7da2c3da.ak03@gte.com> In-Reply-To: <2C7CBDC6EA58D6119E4A00065B3A24CB046492@btcexc01.btc.adaptec.com> References: <2C7CBDC6EA58D6119E4A00065B3A24CB046492@btcexc01.btc.adaptec.com> Organization: Verizon Data Services X-Mailer: Sylpheed version 0.8.1claws52 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Yes, moving to gcc32 is highly desirable for -current, otherwise we > will be stuck at gcc311 for the entire life of FreeBSD 5.x. The > important question to ask is, who will do the dirty work? Moving to GCC 3.2 will do us no good. The lifetime of the 3.2 release will be pretty short and 3.3 is supposed to replace it pretty soon. If we stick with 3.2 in -CURRENT, we'll find ourself tied to an old and unsupported release for the whole 5.x line, i.e. we'll risk to repeat 2.95.x story yet again. David O'Brien proposes to move -CURRENT directly to the 3.3 CVS shanshots, bypassing the GCC 3.2 version altogether. Early FreeBSD 5.x release(s) will not be polished for general consumption anyway, so that makes sense. By the time FreeBSD stabilizes, GCC 3.3 release will be ready. -- Alexander Kabaev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 11:27:38 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5E2737B401 for ; Thu, 15 Aug 2002 11:27:35 -0700 (PDT) Received: from 12-218-135-53.client.mchsi.com (12-218-135-53.client.mchsi.com [12.218.135.53]) by mx1.FreeBSD.org (Postfix) with SMTP id DA8C543E6A for ; Thu, 15 Aug 2002 11:27:34 -0700 (PDT) (envelope-from erik@12-218-135-53.client.mchsi.com) Received: (qmail 17397 invoked by uid 1000); 15 Aug 2002 18:27:48 -0000 Date: Thu, 15 Aug 2002 13:27:48 -0500 From: Erik Greenwald To: current@freebsd.org Subject: Re: GCC 3.2 Message-ID: <20020815182748.GA17388@freya> References: <2C7CBDC6EA58D6119E4A00065B3A24CB046492@btcexc01.btc.adaptec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2C7CBDC6EA58D6119E4A00065B3A24CB046492@btcexc01.btc.adaptec.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Aug 15, 2002 at 11:59:11AM -0600, Long, Scott wrote: > > > > Hi, > > > > Are any plans to move to GCC 3.2 in current? > > > > Since it is just an ABI change it should work, without changing > > anything. > > > > It would give us a stable, multivendor ABI to work off of for the next > > line of 5.x releases. > > > > Just a thought. > > > > Jesse Gross > > Yes, moving to gcc32 is highly desirable for -current, otherwise we will > be stuck at gcc311 for the entire life of FreeBSD 5.x. The important > question to ask is, who will do the dirty work? > > Scott > I'd be willing to help. I'm not exactly sure on what modifications to gcc are required to shove it into the base, but I have time (not working right now). :) -- -Erik [http://math.smsu.edu/~erik] The opinions expressed by me are not necessarily opinions. In all probability, they are random rambling, and to be ignored. Failure to ignore may result in severe boredom or confusion. Shake well before opening. Keep Refrigerated. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 11:57:47 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A821737B400 for ; Thu, 15 Aug 2002 11:57:44 -0700 (PDT) Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F19D43E4A for ; Thu, 15 Aug 2002 11:57:44 -0700 (PDT) (envelope-from makonnen@pacbell.net) Received: from kokeb.ambesa.net ([64.173.10.117]) by mta7.pltn13.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0H0W00M2PFC60H@mta7.pltn13.pbi.net> for freebsd-current@freebsd.org; Thu, 15 Aug 2002 11:57:42 -0700 (PDT) Received: from kokeb.ambesa.net (tanstaafl@localhost [IPv6:::1]) by kokeb.ambesa.net (8.12.5/8.12.5) with ESMTP id g7FJAsxs084931 for ; Thu, 15 Aug 2002 12:10:54 -0700 (PDT envelope-from mtm@kokeb.ambesa.net) Received: (from mtm@localhost) by kokeb.ambesa.net (8.12.5/8.12.5/Submit) id g7FJAsCt084930; Thu, 15 Aug 2002 12:10:54 -0700 (PDT envelope-from mtm) Date: Thu, 15 Aug 2002 12:10:53 -0700 From: Mike Makonnen Subject: buildworld breakage To: freebsd-current@freebsd.org Message-id: <20020815121053.6e18dafb.makonnen@pacbell.net> MIME-version: 1.0 X-Mailer: Sylpheed version 0.7.8 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I don't know if I'm the only one having this problem, but I haven't been able to make a complete buildworld for a couple of days now. The last time I upgraded was arround August 5. I have been getting a signal 11 consistently in the same spot. ===> secure/usr.sbin/sshd ===> share ===> share/colldef colldef -I /daemon/build/current/src/share/colldef -o bg_BG.CP1251.out /daemon/build/current/src/share/colldef/bg_BG.CP1251.src *** Signal 11 Stop in /daemon/build/current/src/share/colldef. *** Error code 1 Stop in /daemon/build/current/src/share. *** Error code 1 Stop in /daemon/build/current/src. *** Error code 1 Stop in /daemon/build/current/src. *** Error code 1 Stop in /daemon/build/current/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 12: 4: 7 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0727A37B400 for ; Thu, 15 Aug 2002 12:04:05 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id A5B5043E72 for ; Thu, 15 Aug 2002 12:04:04 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 40422 invoked by uid 1000); 15 Aug 2002 19:04:05 -0000 Date: Thu, 15 Aug 2002 12:04:05 -0700 (PDT) From: Nate Lawson To: Mike Makonnen Cc: freebsd-current@freebsd.org Subject: Re: buildworld breakage In-Reply-To: <20020815121053.6e18dafb.makonnen@pacbell.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I got that but a recent cvsup fixed it. Not sure what the problem was but there were a few patches to colldef on Wednesday. -Nate On Thu, 15 Aug 2002, Mike Makonnen wrote: > I don't know if I'm the only one having this problem, but I haven't > been able to make a complete buildworld for a couple of > days now. The last time I upgraded was arround August 5. > I have been getting a signal 11 consistently in the same spot. > > ===> secure/usr.sbin/sshd > ===> share > ===> share/colldef > colldef -I /daemon/build/current/src/share/colldef -o bg_BG.CP1251.out > /daemon/build/current/src/share/colldef/bg_BG.CP1251.src > *** Signal 11 > > Stop in /daemon/build/current/src/share/colldef. > *** Error code 1 > > Stop in /daemon/build/current/src/share. > *** Error code 1 > > Stop in /daemon/build/current/src. > *** Error code 1 > > Stop in /daemon/build/current/src. > *** Error code 1 > > Stop in /daemon/build/current/src. > > 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 Aug 15 12:15:17 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E948737B401 for ; Thu, 15 Aug 2002 12:15:14 -0700 (PDT) Received: from magic.adaptec.com (magic.adaptec.com [208.236.45.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A76043E7B for ; Thu, 15 Aug 2002 12:15:14 -0700 (PDT) (envelope-from Scott_Long@adaptec.com) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.10.2+Sun/8.10.2) with ESMTP id g7FJFCG24296; Thu, 15 Aug 2002 12:15:12 -0700 (PDT) Received: from btc.btc.adaptec.com (btc.btc.adaptec.com [10.100.0.52]) by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id MAA11035; Thu, 15 Aug 2002 12:15:11 -0700 (PDT) Received: from btcexc01.btc.adaptec.com (btcexc01 [10.100.0.23]) by btc.btc.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id NAA29623; Thu, 15 Aug 2002 13:15:09 -0600 (MDT) Received: by btcexc01.btc.adaptec.com with Internet Mail Service (5.5.2653.19) id ; Thu, 15 Aug 2002 13:15:09 -0600 Message-ID: <2C7CBDC6EA58D6119E4A00065B3A24CB046493@btcexc01.btc.adaptec.com> From: "Long, Scott" To: "'Alexander Kabaev'" , "Long, Scott" Cc: jesse_gross@yahoo.com, current@freebsd.org Subject: RE: GCC 3.2 Date: Thu, 15 Aug 2002 13:15:09 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > > > Yes, moving to gcc32 is highly desirable for -current, otherwise we > > will be stuck at gcc311 for the entire life of FreeBSD 5.x. The > > important question to ask is, who will do the dirty work? > > Moving to GCC 3.2 will do us no good. The lifetime of the 3.2 release > will be pretty short and 3.3 is supposed to replace it pretty soon. If > we stick with 3.2 in -CURRENT, we'll find ourself tied to an old and > unsupported release for the whole 5.x line, i.e. we'll risk to repeat > 2.95.x story yet again. > > David O'Brien proposes to move -CURRENT directly to the 3.3 CVS > shanshots, bypassing the GCC 3.2 version altogether. Early FreeBSD 5.x > release(s) will not be polished for general consumption > anyway, so that > makes sense. By the time FreeBSD stabilizes, GCC 3.3 release will be > ready. > I agree that gcc32 is not an ideal target either, but by going to it, we can upgrade to gcc33 when it's available and not loose binary compatibility (at least, according to the gcc folks). I'd rather move to gcc32 right now and get the binary compatibility pain out of the way, rather than wait for the last second to move to gcc33, then have to delay FreeBSD 5.0 because everything in c++ land is broken. Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 12:27:10 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF61337B400 for ; Thu, 15 Aug 2002 12:27:06 -0700 (PDT) Received: from h132-197-179-27.gte.com (h132-197-179-27.gte.com [132.197.179.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D5E343E86 for ; Thu, 15 Aug 2002 12:27:06 -0700 (PDT) (envelope-from ak03@gte.com) Received: from kanpc.gte.com (localhost [IPv6:::1]) by h132-197-179-27.gte.com (8.12.5/8.12.5) with ESMTP id g7FJR4Dg084892; Thu, 15 Aug 2002 15:27:04 -0400 (EDT) (envelope-from ak03@kanpc.gte.com) Received: (from ak03@localhost) by kanpc.gte.com (8.12.5/8.12.5/Submit) id g7FJR4cx084891; Thu, 15 Aug 2002 15:27:04 -0400 (EDT) Date: Thu, 15 Aug 2002 15:27:03 -0400 From: Alexander Kabaev To: "Long, Scott" Cc: Scott_Long@adaptec.com, jesse_gross@yahoo.com, current@freebsd.org Subject: Re: GCC 3.2 Message-Id: <20020815152703.2f0f23e1.ak03@gte.com> In-Reply-To: <2C7CBDC6EA58D6119E4A00065B3A24CB046493@btcexc01.btc.adaptec.com> References: <2C7CBDC6EA58D6119E4A00065B3A24CB046493@btcexc01.btc.adaptec.com> Organization: Verizon Data Services X-Mailer: Sylpheed version 0.8.1claws52 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I agree that gcc32 is not an ideal target either, but by going to it, > we can upgrade to gcc33 when it's available and not loose binary > compatibility (at least, according to the gcc folks). I'd rather > move to gcc32 right now and get the binary compatibility pain out of > the way, rather than wait for the last second to move to gcc33, > then have to delay FreeBSD 5.0 because everything in c++ land is > broken. The idea is to move to gcc 3.3-pre _now_ If GCC 3.2 has C++ ABI kinks worked out, GCC 3.3 surely has the same code in. GCC developers are trying to keep C++ ABI compatible between 3.2 and 3.3, but they are not giving any guaranrtees. -- Alexander Kabaev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 14: 0: 1 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 422F137B400; Thu, 15 Aug 2002 13:59:59 -0700 (PDT) Received: from cowpie.acm.vt.edu (cowpie.acm.vt.edu [128.173.42.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D95C43E70; Thu, 15 Aug 2002 13:59:58 -0700 (PDT) (envelope-from mheffner@cowpie.acm.vt.edu) Received: from cowpie.acm.vt.edu (Fesnel@localhost [127.0.0.1]) by cowpie.acm.vt.edu (8.12.3/8.12.3) with ESMTP id g7FKxvYj062165; Thu, 15 Aug 2002 16:59:57 -0400 (EDT) (envelope-from mheffner@cowpie.acm.vt.edu) Received: (from mheffner@localhost) by cowpie.acm.vt.edu (8.12.3/8.12.3/Submit) id g7FKxvtu062164; Thu, 15 Aug 2002 16:59:57 -0400 (EDT) Date: Thu, 15 Aug 2002 16:59:57 -0400 From: Mike Heffner To: Robert Watson Cc: freebsd-current@freebsd.org Subject: Re: panic: system call accept returning with mutex(s) held Message-ID: <20020815165957.A62148@cowpie.acm.vt.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from rwatson@freebsd.org on Thu, Aug 15, 2002 at 01:34:47PM -0400 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Aug 15, 2002 at 01:34:47PM -0400, Robert Watson wrote: | Actually, I've gone ahead and committed the change, update to | uipc_syscalls.c:1.128 and see if the problem goes away. (if you do it by | hand locally, make sure to assign error = EINVAL before jumping). | That did it. Thanks! Mike -- Mike Heffner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 14:49:57 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57B9837B400 for ; Thu, 15 Aug 2002 14:49:54 -0700 (PDT) Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AD3543E65 for ; Thu, 15 Aug 2002 14:49:50 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0454.cvx21-bradley.dialup.earthlink.net ([209.179.193.199] helo=mindspring.com) by snipe.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17fSV1-0005Dc-00; Thu, 15 Aug 2002 14:49:47 -0700 Message-ID: <3D5C21C3.7A848926@mindspring.com> Date: Thu, 15 Aug 2002 14:48:51 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Alexander Kabaev Cc: "Long, Scott" , jesse_gross@yahoo.com, current@freebsd.org Subject: Re: GCC 3.2 References: <2C7CBDC6EA58D6119E4A00065B3A24CB046493@btcexc01.btc.adaptec.com> <20020815152703.2f0f23e1.ak03@gte.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Alexander Kabaev wrote: > The idea is to move to gcc 3.3-pre _now_ If GCC 3.2 has C++ ABI > kinks worked out, GCC 3.3 surely has the same code in. GCC developers > are trying to keep C++ ABI compatible between 3.2 and 3.3, but they are > not giving any guaranrtees. Cool. We can call it "3.3" in the release. Just like RedHat jumped the gun on the compiler release. And we all know how successful that was, right? -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 14:51:23 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A71837B400 for ; Thu, 15 Aug 2002 14:51:21 -0700 (PDT) Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CE9743E6A for ; Thu, 15 Aug 2002 14:51:21 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0454.cvx21-bradley.dialup.earthlink.net ([209.179.193.199] helo=mindspring.com) by snipe.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17fSWW-0007N0-00; Thu, 15 Aug 2002 14:51:20 -0700 Message-ID: <3D5C2221.6678A33E@mindspring.com> Date: Thu, 15 Aug 2002 14:50:25 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Jesse Gross Cc: current@freebsd.org Subject: Re: GCC 3.2 References: <20020815174751.93951.qmail@web14104.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jesse Gross wrote: > Are any plans to move to GCC 3.2 in current? > > Since it is just an ABI change it should work, without changing > anything. > > It would give us a stable, multivendor ABI to work off of for the next > line of 5.x releases. I believe David O'brien answer this the last 3 times it was asked. I will paraphrase: "No, we are waiting for 3.3". -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 15: 7:29 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2845937B400 for ; Thu, 15 Aug 2002 15:07:27 -0700 (PDT) Received: from h132-197-179-27.gte.com (h132-197-179-27.gte.com [132.197.179.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86C1F43E4A for ; Thu, 15 Aug 2002 15:07:26 -0700 (PDT) (envelope-from ak03@gte.com) Received: from kanpc.gte.com (localhost [IPv6:::1]) by h132-197-179-27.gte.com (8.12.5/8.12.5) with ESMTP id g7FM7ODg086223; Thu, 15 Aug 2002 18:07:24 -0400 (EDT) (envelope-from ak03@kanpc.gte.com) Received: (from ak03@localhost) by kanpc.gte.com (8.12.5/8.12.5/Submit) id g7FM7NwT086222; Thu, 15 Aug 2002 18:07:23 -0400 (EDT) Date: Thu, 15 Aug 2002 18:07:23 -0400 From: Alexander Kabaev To: Terry Lambert Cc: Scott_Long@adaptec.com, jesse_gross@yahoo.com, current@freebsd.org Subject: Re: GCC 3.2 Message-Id: <20020815180723.00a5a83d.ak03@gte.com> In-Reply-To: <3D5C21C3.7A848926@mindspring.com> References: <2C7CBDC6EA58D6119E4A00065B3A24CB046493@btcexc01.btc.adaptec.com> <20020815152703.2f0f23e1.ak03@gte.com> <3D5C21C3.7A848926@mindspring.com> Organization: Verizon Data Services X-Mailer: Sylpheed version 0.8.1claws52 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Cool. > > We can call it "3.3" in the release. Terry, we will name it the same way we name our current GCC 3.1 snapshots. FreeBSD always shipped tweaked version of GCC with a bunch of local changes merges in. In STABLE, for example, we have gcc version 2.95.4 20020320 [FreeBSD] > Just like RedHat jumped the gun on the compiler release. We are not _releasing_ our own version of GCC and we do not invent our own version numbers for it, so your attempt to compare us with RedHat is unjustified. Again, FreeBSD 5.0 will be in no shape for serious production use and putting GCC 3.2 there just to replace it with newer and possibly binary incompatible 3.3 release shortly afterwards is a complete waste of time. > And we all know how successful that was, right? On the other side, we all know how successfull we were trying to get GCC 2.95.x bugs fixed for us, right? Do you really want to repeat this deeply satisfying experiment again? -- Alexander Kabaev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 15:19: 4 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9DC637B400 for ; Thu, 15 Aug 2002 15:19:00 -0700 (PDT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5374743E3B for ; Thu, 15 Aug 2002 15:19:00 -0700 (PDT) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id EDEBDAE027; Thu, 15 Aug 2002 15:18:59 -0700 (PDT) Date: Thu, 15 Aug 2002 15:18:59 -0700 From: Alfred Perlstein To: current@freebsd.org Subject: world broken Message-ID: <20020815221859.GH75574@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG cc -pg -O -pipe -I. -I/vol/share/src/lib/libncurses -I/vol/share/src/lib/libncu rses/../../contrib/ncurses/ncurses -I/vol/share/src/lib/libncurses/../../contrib /ncurses/include -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS -c u nctrl.c -o unctrl.po In file included from curses.h:112, from /vol/share/src/contrib/ncurses/ncurses/curses.priv.h:250, from expanded.c:2: /usr/obj/vol/share/src/i386/usr/include/stdbool.h:41: warning: useless keyword o r type name in empty declaration /usr/obj/vol/share/src/i386/usr/include/stdbool.h:41: warning: empty declaration In file included from curses.h:112, from /vol/share/src/contrib/ncurses/ncurses/curses.priv.h:250, from fallback.c:5: /usr/obj/vol/share/src/i386/usr/include/stdbool.h:41: warning: useless keyword o r type name in empty declaration /usr/obj/vol/share/src/i386/usr/include/stdbool.h:41: warning: empty declaration In file included from curses.h:112, from /vol/share/src/contrib/ncurses/ncurses/curses.priv.h:250, from expanded.c:2: /usr/obj/vol/share/src/i386/usr/include/stdbool.h:41: warning: useless keyword o r type name in empty declaration /usr/obj/vol/share/src/i386/usr/include/stdbool.h:41: warning: empty declaration cc -fpic -DPIC -O -pipe -I. -I/vol/share/src/lib/libncurses -I/vol/share/src/li b/libncurses/../../contrib/ncurses/ncurses -I/vol/share/src/lib/libncurses/../.. /contrib/ncurses/include -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMI I get those a lot now... please fix. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 15:46:52 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19A1937B409 for ; Thu, 15 Aug 2002 15:46:51 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 96C8243E3B for ; Thu, 15 Aug 2002 15:46:50 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 41041 invoked by uid 1000); 15 Aug 2002 22:46:52 -0000 Date: Thu, 15 Aug 2002 15:46:52 -0700 (PDT) From: Nate Lawson To: current@freebsd.org Subject: HEADSUP: cam_extend gone Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sorry this is a little late. I committed a change today that removes cam_extend.[ch] and removes usage of it from all periphs. If you're working on a new CAM periph driver, please use dev->si_drv1 instead. See cam/scsi/scsi_da.c for an example. I've tested a full build of the patch for a while with da and cd but don't have equipment to test the rest. Please let me know if you find any problems. -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 15:48:52 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4237837B400 for ; Thu, 15 Aug 2002 15:48:50 -0700 (PDT) Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id D01A943E8A for ; Thu, 15 Aug 2002 15:48:49 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from dialup-209.245.131.82.dial1.sanjose1.level3.net ([209.245.131.82] helo=mindspring.com) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17fTQ6-0005xq-00; Thu, 15 Aug 2002 15:48:47 -0700 Message-ID: <3D5C2F93.BE3BE8B0@mindspring.com> Date: Thu, 15 Aug 2002 15:47:47 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Alexander Kabaev Cc: Scott_Long@adaptec.com, jesse_gross@yahoo.com, current@freebsd.org Subject: Re: GCC 3.2 References: <2C7CBDC6EA58D6119E4A00065B3A24CB046493@btcexc01.btc.adaptec.com> <20020815152703.2f0f23e1.ak03@gte.com> <3D5C21C3.7A848926@mindspring.com> <20020815180723.00a5a83d.ak03@gte.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Alexander Kabaev wrote: > We are not _releasing_ our own version of GCC and we do not invent > our own version numbers for it, so your attempt to compare us with > RedHat is unjustified. Again, FreeBSD 5.0 will be in no shape for > serious production use and putting GCC 3.2 there just to replace it with > newer and possibly binary incompatible 3.3 release shortly afterwards is > a complete waste of time. There's always waiting for 3.3 to be released before trying to incorporate it... > > And we all know how successful that was, right? > > On the other side, we all know how successfull we were trying to get GCC > 2.95.x bugs fixed for us, right? Do you really want to repeat this > deeply satisfying experiment again? That was because the patches were not being submitted back against the unadulterated distribution code someone who had signed the assignment of rights to the FSF. The inability to get patches into 2.95 is totally unrelated to the fact that it was an older GCC, and completely related to the fact that the patches were not submitted in accordance with the GCC maintainer's guidelines, combined with not a little "Linux advocacy" and "ELF advocacy". This issue is *nothing* like FreeBSD's steadfast refusal for *two years* to adopt ELF, and GCC treating non-ELF support as legacy support, with no expectations of continued developement. In the context the question was asked, it was *also* not about FreeBSD trying to get patches into GCC, it was about "upgrading" to GCC 3.2. It was also about trolling the mailing lists to cause just this sort of heated discussion (congradulations on playing into Jesse Gross's trolling here). It's all well and good to volunteer David O'Brien for additional *useless* work that he has already stated is *useless work*. I could understand raising the issue (though not over and over and over in a short period of time, as Mr. Gross has done recently) if the works was considered something that needed to be done immediately, or if patches to bmake the GCC 3.3 experimental release people want FreeBSD to user were being submitted, but all it's been so far is "request for David O'Brien to do work he considers useless". FreeBSD has been conservative in its adoption of new compilers in the past; it would, in fact be reasonable, from an historical perspective, to not see 3.3 adopted for over a year following its release. I don't see why waiting for 3.3 to actually be released is such a terrible idea. Can *you* absolutely *guarantee* no binary incompatabilities between 3.3, as it sits now, in experimental form, and the final release of 3.3? If not, then I don't see why are exploding at me. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 16: 9:34 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1690637B400; Thu, 15 Aug 2002 16:09:32 -0700 (PDT) Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81DDA43E3B; Thu, 15 Aug 2002 16:09:31 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id g7FN9RR0241080; Thu, 15 Aug 2002 19:09:27 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: References: Date: Thu, 15 Aug 2002 19:09:26 -0400 To: Robert Watson , dmk From: Garance A Drosihn Subject: Re: emulators/rtc and vmware2 Cc: freebsd-current@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 1:36 PM -0400 8/15/02, Robert Watson wrote: >Someone needs to restructure the driver to match some our other >pseudo-device drivers where the device is properly created as >part of module initialization. If fixed this and other things >locally at one point on my notebook, but eventually got >sufficiently sick of always fixing the kernel module for the >latest -CURRENT change that I gave up on updating it. I have >since lost the changes, but they shouldn't be too hard to >reproduce. Someone had posted fixes to rtc for -current awhile back, and I have those updates saved away somewhere. If Josef's recent changes haven't fixed everything, I'll try to dig up that message. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 16:19:36 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4ED5E37B400; Thu, 15 Aug 2002 16:19:32 -0700 (PDT) Received: from genius.tao.org.uk (genius.tao.org.uk [212.135.162.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id B396D43E3B; Thu, 15 Aug 2002 16:19:31 -0700 (PDT) (envelope-from joe@genius.tao.org.uk) Received: by genius.tao.org.uk (Postfix, from userid 100) id 275DB42C7; Fri, 16 Aug 2002 00:19:30 +0100 (BST) Date: Fri, 16 Aug 2002 00:19:30 +0100 From: Josef Karthauser To: Garance A Drosihn Cc: Robert Watson , dmk , freebsd-current@FreeBSD.ORG Subject: Re: emulators/rtc and vmware2 Message-ID: <20020815231930.GA2784@genius.tao.org.uk> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 15, 2002 at 07:09:26PM -0400, Garance A Drosihn wrote: >=20 > Someone had posted fixes to rtc for -current awhile back, and I > have those updates saved away somewhere. If Josef's recent > changes haven't fixed everything, I'll try to dig up that message. >=20 My recent commit just fixed for MODDEPS having gone away in -current. It doesn't change any code. (It was a fix submitted to -emulation a little while ago.) Joe --=20 "As far as the laws of mathematics refer to reality, they are not certain; and as far as they are certain, they do not refer to reality." - Albert Einstein, 1921 --tKW2IUtsqtDRztdT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iEYEARECAAYFAj1cNwEACgkQXVIcjOaxUBYQYwCeIDoX8lwUpw4FRY+5fYJmZAfv 4PwAn1k0xOJNjHryLzwR/JzCrkG4qOl1 =jdud -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 16:28:54 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB58137B400 for ; Thu, 15 Aug 2002 16:28:51 -0700 (PDT) Received: from h132-197-179-27.gte.com (h132-197-179-27.gte.com [132.197.179.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F90843E42 for ; Thu, 15 Aug 2002 16:28:51 -0700 (PDT) (envelope-from ak03@gte.com) Received: from kanpc.gte.com (localhost [IPv6:::1]) by h132-197-179-27.gte.com (8.12.5/8.12.5) with ESMTP id g7FNSnDg086919; Thu, 15 Aug 2002 19:28:49 -0400 (EDT) (envelope-from ak03@kanpc.gte.com) Received: (from ak03@localhost) by kanpc.gte.com (8.12.5/8.12.5/Submit) id g7FNSnWf086918; Thu, 15 Aug 2002 19:28:49 -0400 (EDT) Date: Thu, 15 Aug 2002 19:28:49 -0400 From: Alexander Kabaev To: Terry Lambert Cc: Scott_Long@adaptec.com, jesse_gross@yahoo.com, current@freebsd.org Subject: Re: GCC 3.2 Message-Id: <20020815192849.762e4182.ak03@gte.com> In-Reply-To: <3D5C2F93.BE3BE8B0@mindspring.com> References: <2C7CBDC6EA58D6119E4A00065B3A24CB046493@btcexc01.btc.adaptec.com> <20020815152703.2f0f23e1.ak03@gte.com> <3D5C21C3.7A848926@mindspring.com> <20020815180723.00a5a83d.ak03@gte.com> <3D5C2F93.BE3BE8B0@mindspring.com> Organization: Verizon Data Services X-Mailer: Sylpheed version 0.8.1claws52 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > That was because the patches were not being submitted back > against the unadulterated distribution code someone who had > signed the assignment of rights to the FSF. That was because GCC 2.95.x branch is closed for maintenance. The is no need in complex theory when a simple explanation is more than adequate. > It was also about trolling the mailing lists to cause just this > sort of heated discussion (congradulations on playing into > Jesse Gross's trolling here). Sorry, guilty as charged. I was trying to get a people opinion on the issue. I will gladly volunteer to import a new version of GCC into -CURRENT myself, if there are no objections and if nobody is doing that already. I think David got a point though and I want his proposal to be discussed more. GCC 3.2 is an interim release and under no circumstances we should get tied to it through all the 5.x branch lifetime. No one will give a damn about it once 3.3 goes into maintenance. > Can *you* absolutely *guarantee* no binary incompatabilities > between 3.3, as it sits now, in experimental form, and the final > release of 3.3? If not, then I don't see why are exploding at > me. 3.1-pre to 3.2 upgrade breaks compatibility already. Can you guarantee that 3.3 will be backwards compatible with 3.2? This is yet another potential ABI breakage at the time when we'll be _forced_ to upgrade. How often do you expect GCC developers to break ABI with release scheduled to happed and the end of the year? -- Alexander Kabaev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 16:39:32 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D59CF37B401 for ; Thu, 15 Aug 2002 16:39:28 -0700 (PDT) Received: from web14108.mail.yahoo.com (web14108.mail.yahoo.com [216.136.172.138]) by mx1.FreeBSD.org (Postfix) with SMTP id 89B5B43E4A for ; Thu, 15 Aug 2002 16:39:28 -0700 (PDT) (envelope-from jesse_gross@yahoo.com) Message-ID: <20020815233928.11036.qmail@web14108.mail.yahoo.com> Received: from [172.157.45.92] by web14108.mail.yahoo.com via HTTP; Thu, 15 Aug 2002 16:39:28 PDT Date: Thu, 15 Aug 2002 16:39:28 -0700 (PDT) From: Jesse Gross Subject: Re: GCC 3.2 To: Terry Lambert , Alexander Kabaev Cc: Scott_Long@adaptec.com, jesse_gross@yahoo.com, current@freebsd.org In-Reply-To: <3D5C2F93.BE3BE8B0@mindspring.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > It was also about trolling the mailing lists to cause just this > sort of heated discussion (congradulations on playing into > Jesse Gross's trolling here). This was *not* about trolling the mailing list. I wish I were intelligent enough to predict the behavior of thousands of people, most of whose names I don't even know, to cause a chain reaction to result in something like this. I do know that I did not intend for this particular result to happen, and am sorry I started this thread. Believe it or not, sometimes things are actually what they seem, in this case it really was a simple question. Terry, please do not bother replying to this message. Unless people wish to discuss technical details, this thread should be ended. Jesse Gross __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 16:51:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7873037B400 for ; Thu, 15 Aug 2002 16:51:42 -0700 (PDT) Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 922AD43E42 for ; Thu, 15 Aug 2002 16:51:06 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0435.cvx22-bradley.dialup.earthlink.net ([209.179.199.180] helo=mindspring.com) by swan.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17fUOE-0007TC-00; Thu, 15 Aug 2002 16:50:54 -0700 Message-ID: <3D5C3E19.D4EE4ED5@mindspring.com> Date: Thu, 15 Aug 2002 16:49:45 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Alexander Kabaev Cc: Scott_Long@adaptec.com, jesse_gross@yahoo.com, current@freebsd.org Subject: Re: GCC 3.2 References: <2C7CBDC6EA58D6119E4A00065B3A24CB046493@btcexc01.btc.adaptec.com> <20020815152703.2f0f23e1.ak03@gte.com> <3D5C21C3.7A848926@mindspring.com> <20020815180723.00a5a83d.ak03@gte.com> <3D5C2F93.BE3BE8B0@mindspring.com> <20020815192849.762e4182.ak03@gte.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Alexander Kabaev wrote: > > Can *you* absolutely *guarantee* no binary incompatabilities > > between 3.3, as it sits now, in experimental form, and the final > > release of 3.3? If not, then I don't see why are exploding at > > me. > > 3.1-pre to 3.2 upgrade breaks compatibility already. Can you guarantee > that 3.3 will be backwards compatible with 3.2? This is yet another > potential ABI breakage at the time when we'll be _forced_ to upgrade. > How often do you expect GCC developers to break ABI with release > scheduled to happed and the end of the year? Once for every time the code is imported into FreeBSD, plus one. I think Murphy is a GCC committer... 8-). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 21: 3:50 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7541D37B400 for ; Thu, 15 Aug 2002 21:03:47 -0700 (PDT) Received: from ref5.freebsd.org (ref5.FreeBSD.org [216.136.204.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C2A243E72 for ; Thu, 15 Aug 2002 21:03:47 -0700 (PDT) (envelope-from des@FreeBSD.org) Received: from ref5.freebsd.org (localhost [127.0.0.1]) by ref5.freebsd.org (8.12.5/8.12.5) with ESMTP id g7G43kgr098190 for ; Thu, 15 Aug 2002 21:03:47 -0700 (PDT) (envelope-from des@ref5.freebsd.org) Received: (from des@localhost) by ref5.freebsd.org (8.12.5/8.12.5/Submit) id g7G43kfD098178 for current@freebsd.org; Thu, 15 Aug 2002 21:03:46 -0700 (PDT) Date: Thu, 15 Aug 2002 21:03:46 -0700 (PDT) From: Dag-Erling Smorgrav Message-Id: <200208160403.g7G43kfD098178@ref5.freebsd.org> To: current@freebsd.org Subject: i386 tinderbox failure Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- >>> stage 2: cleaning up the object tree -------------------------------------------------------------- >>> stage 2: rebuilding the object tree -------------------------------------------------------------- >>> stage 2: build tools -------------------------------------------------------------- >>> stage 3: cross tools -------------------------------------------------------------- >>> stage 4: populating /home/des/tinderbox/i386/obj/local0/scratch/des/src/i386/usr/include -------------------------------------------------------------- >>> stage 4: building libraries -------------------------------------------------------------- >>> stage 4: make dependencies -------------------------------------------------------------- >>> stage 4: building everything.. -------------------------------------------------------------- ===> games/grdc cc1: warnings being treated as errors In file included from /home/des/tinderbox/i386/obj/local0/scratch/des/src/i386/usr/include/ncurses.h:112, from /local0/scratch/des/src/games/grdc/grdc.c:15: /home/des/tinderbox/i386/obj/local0/scratch/des/src/i386/usr/include/stdbool.h:41: warning: useless keyword or type name in empty declaration /home/des/tinderbox/i386/obj/local0/scratch/des/src/i386/usr/include/stdbool.h:41: warning: empty declaration *** Error code 1 Stop in /local0/scratch/des/src/games/grdc. *** Error code 1 Stop in /local0/scratch/des/src/games. *** Error code 1 Stop in /local0/scratch/des/src. *** Error code 1 Stop in /local0/scratch/des/src. *** Error code 1 Stop in /local0/scratch/des/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 21:36:13 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FD2B37B400 for ; Thu, 15 Aug 2002 21:36:11 -0700 (PDT) Received: from relay1.macomnet.ru (relay1.macomnet.ru [195.128.64.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 602DE43E6A for ; Thu, 15 Aug 2002 21:36:10 -0700 (PDT) (envelope-from maxim@FreeBSD.org) Received: from news1.macomnet.ru (news1.macomnet.ru [195.128.64.14]) by relay1.macomnet.ru (8.11.6/8.11.6) with ESMTP id g7G4ZbA3697725; Fri, 16 Aug 2002 08:35:38 +0400 (MSD) Date: Fri, 16 Aug 2002 08:35:37 +0400 (MSD) From: Maxim Konovalov X-X-Sender: maxim@news1.macomnet.ru To: Mike Makonnen Cc: freebsd-current@FreeBSD.org Subject: Re: buildworld breakage In-Reply-To: <20020815121053.6e18dafb.makonnen@pacbell.net> Message-ID: <20020816083457.Y99409-100000@news1.macomnet.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 12:10-0700, Aug 15, 2002, Mike Makonnen wrote: > I don't know if I'm the only one having this problem, but I haven't > been able to make a complete buildworld for a couple of > days now. The last time I upgraded was arround August 5. > I have been getting a signal 11 consistently in the same spot. > > ===> secure/usr.sbin/sshd > ===> share > ===> share/colldef > colldef -I /daemon/build/current/src/share/colldef -o bg_BG.CP1251.out > /daemon/build/current/src/share/colldef/bg_BG.CP1251.src > *** Signal 11 ache has fixed that. -- Maxim Konovalov, maxim@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Thu Aug 15 23:48:23 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 554FD37B400 for ; Thu, 15 Aug 2002 23:48:22 -0700 (PDT) Received: from dilbert.robbins.dropbear.id.au (024.b.006.mel.iprimus.net.au [210.50.45.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDB3F43E70 for ; Thu, 15 Aug 2002 23:48:19 -0700 (PDT) (envelope-from tim@robbins.dropbear.id.au) Received: from dilbert.robbins.dropbear.id.au (yejbj2j23q8zvdap@localhost [127.0.0.1]) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3) with ESMTP id g7G6mGEa065395; Fri, 16 Aug 2002 16:48:16 +1000 (EST) (envelope-from tim@dilbert.robbins.dropbear.id.au) Received: (from tim@localhost) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3/Submit) id g7G6mEEv065394; Fri, 16 Aug 2002 16:48:14 +1000 (EST) Date: Fri, 16 Aug 2002 16:48:13 +1000 From: Tim Robbins To: Alfred Perlstein Cc: current@FreeBSD.ORG Subject: Re: world broken Message-ID: <20020816164813.A62266@dilbert.robbins.dropbear.id.au> References: <20020815221859.GH75574@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020815221859.GH75574@elvis.mu.org>; from bright@mu.org on Thu, Aug 15, 2002 at 03:18:59PM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Aug 15, 2002 at 03:18:59PM -0700, Alfred Perlstein wrote: > /usr/obj/vol/share/src/i386/usr/include/stdbool.h:41: warning: useless keyword o > r type name in empty declaration > /usr/obj/vol/share/src/i386/usr/include/stdbool.h:41: warning: empty declaration > I get those a lot now... please fix. This happens because GCC 3 doesn't define __STDC_VERSION__ unless you specify -std=, whereas 2.95 defines it to 199409L if no -std option is given. I'm not quite sure how to check for this. Perhaps this would work: #if __STDC_VERSION__ < 199901L && __GNUC__ < 3 typedef int _Bool; #endif GCC 3 appears to declare _Bool regardless of any -std option. Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Aug 16 5: 9:41 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A94F437B400 for ; Fri, 16 Aug 2002 05:09:38 -0700 (PDT) Received: from relay3.softcomca.com (relay3.softcomca.com [168.144.1.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0511143E6A for ; Fri, 16 Aug 2002 05:09:33 -0700 (PDT) (envelope-from listmartin@martinmyst.net) Received: from mail.martinmyst.net ([168.144.14.231]) by relay3.softcomca.com with Microsoft SMTPSVC(5.0.2195.5329); Fri, 16 Aug 2002 08:09:26 -0400 Received: from xx8w12v69zrr6h [68.36.85.217] by mail.martinmyst.net with ESMTP (SMTPD32-7.11) id AB757700F6; Fri, 16 Aug 2002 08:09:25 -0400 Message-ID: <000801c2451e$769ef6e0$01000001@xx8w12v69zrr6h> From: "Martin Myst" To: Subject: subscribe Date: Fri, 16 Aug 2002 08:14:25 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C244FC.EF14A470" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-OriginalArrivalTime: 16 Aug 2002 12:09:27.0139 (UTC) FILETIME=[C4692B30:01C2451D] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C244FC.EF14A470 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable subscribe ------=_NextPart_000_0005_01C244FC.EF14A470 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
subscribe
------=_NextPart_000_0005_01C244FC.EF14A470-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Aug 16 5:55:23 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E17F937B400 for ; Fri, 16 Aug 2002 05:55:20 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8BAE43E42 for ; Fri, 16 Aug 2002 05:55:19 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.4/8.12.4) with SMTP id g7GCt4Oo018918; Fri, 16 Aug 2002 08:55:05 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Fri, 16 Aug 2002 08:55:04 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Mike Makonnen Cc: freebsd-current@freebsd.org Subject: Re: buildworld breakage In-Reply-To: <20020815121053.6e18dafb.makonnen@pacbell.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I ran into this also, and a bit of fiddling with a debugger was un-enlightening -- it was segfaulting on a write to __collate_substitute_table in parse.y. The pointer to the table didn't appear to be corrupted, and it should have been in writable memory. It also appeared to be properly aligned. I moved on to other stuff but was planning to submit a bug report if it persisted (and therefore wasn't a local nit of mine due to heavy local kernel mods). Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories On Thu, 15 Aug 2002, Mike Makonnen wrote: > I don't know if I'm the only one having this problem, but I haven't > been able to make a complete buildworld for a couple of > days now. The last time I upgraded was arround August 5. > I have been getting a signal 11 consistently in the same spot. > > ===> secure/usr.sbin/sshd > ===> share > ===> share/colldef > colldef -I /daemon/build/current/src/share/colldef -o bg_BG.CP1251.out > /daemon/build/current/src/share/colldef/bg_BG.CP1251.src > *** Signal 11 > > Stop in /daemon/build/current/src/share/colldef. > *** Error code 1 > > Stop in /daemon/build/current/src/share. > *** Error code 1 > > Stop in /daemon/build/current/src. > *** Error code 1 > > Stop in /daemon/build/current/src. > *** Error code 1 > > Stop in /daemon/build/current/src. > > 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 Aug 16 6: 2: 7 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B871137B400; Fri, 16 Aug 2002 06:02:03 -0700 (PDT) Received: from studnet.sk (kripel.unitra.sk [193.87.12.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87E5643E97; Fri, 16 Aug 2002 06:02:02 -0700 (PDT) (envelope-from rado@kripel.studnet.sk) Received: from kripel.studnet.sk (rado@localhost [IPv6:::1]) by studnet.sk (8.12.5/angel's version) with ESMTP id g7GD1lEw040654; Fri, 16 Aug 2002 15:01:47 +0200 (CEST) Received: (from rado@localhost) by kripel.studnet.sk (8.12.5/8.12.3/Submit) id g7GD1lMD040613; Fri, 16 Aug 2002 15:01:47 +0200 (CEST) Date: Fri, 16 Aug 2002 15:01:47 +0200 From: Radko Keves To: questions@FreeBSD.org Cc: current@FreeBSD.org Subject: question about ipl.ko Message-ID: <20020816130147.GA39907@studnet.sk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG i try to load ipl.ko #kldload -v /boot/kernel/ipl.ko kldload: can't load /boot/kernel/ipl.ko: Exec format error #kldstat Id Refs Address Size Name 1 10 0xc0100000 45fd04 kernel 2 1 0xc0560000 1b410 linux.ko 3 2 0xc057c000 90f0 ipfw.ko 4 1 0xc0586000 5374 ip6fw.ko 5 1 0xc058c000 e6d8 agp.ko 6 1 0xc059b000 77d8 dummynet.ko 7 1 0xc2d9a000 16000 nfsserver.ko #dmesg FreeBSD 5.0-CURRENT #4: Wed Aug 14 13:46:59 CEST 2002 root@kripel:/usr/src/sys/i386/compile/angel Preloaded elf kernel "/boot//kernel/kernel" at 0xc05a4000. Preloaded elf module "/boot//kernel/linux.ko" at 0xc05a40ac. Preloaded elf module "/boot//kernel/ipfw.ko" at 0xc05a4158. Preloaded elf module "/boot//kernel/ip6fw.ko" at 0xc05a4204. Preloaded elf module "/boot//kernel/agp.ko" at 0xc05a42b0. Preloaded elf module "/boot//kernel/dummynet.ko" at 0xc05a435c. it's my problem, for example in the kernel module loading sequence, or current problem ? thank -- -------------- bye R.R.K.K. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Aug 16 6:45:48 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 098F737B430; Fri, 16 Aug 2002 06:45:41 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 847C243E75; Fri, 16 Aug 2002 06:45:39 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id NAA10454; Fri, 16 Aug 2002 13:45:36 GMT Date: Fri, 16 Aug 2002 23:52:41 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Tim Robbins Cc: Alfred Perlstein , Subject: Re: world broken In-Reply-To: <20020816164813.A62266@dilbert.robbins.dropbear.id.au> Message-ID: <20020816233509.E7073-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 16 Aug 2002, Tim Robbins wrote: > On Thu, Aug 15, 2002 at 03:18:59PM -0700, Alfred Perlstein wrote: > > > /usr/obj/vol/share/src/i386/usr/include/stdbool.h:41: warning: useless keyword o > > r type name in empty declaration > > /usr/obj/vol/share/src/i386/usr/include/stdbool.h:41: warning: empty declaration > > > I get those a lot now... please fix. > > This happens because GCC 3 doesn't define __STDC_VERSION__ unless > you specify -std=, Also because ru just removed the special gcc hacks for errors in standard headers, so the broken is now detected. gcc 3 doesn't define __STDC_VERSION__ for -std=c89 either. __STDC_VERSION__ is a c99 thing, so this seems right. - whereas 2.95 defines it to 199409L if no > -std option is given. I didn't know that. gcc 2.29 has the interesting bugs of not putting either __STDC__ or __STDC_VERSION__ in gcc -E -dM output, so they are hard to see. - I'm not quite sure how to check for this. Perhaps this > would work: > > #if __STDC_VERSION__ < 199901L && __GNUC__ < 3 > typedef int _Bool; > #endif Seems best. > GCC 3 appears to declare _Bool regardless of any -std option. Even gcc -traditional declares it. This may be a bug. _Bool is in the implementation namespace, but still causes problems (a bit like declaring __STDC__ for nonstandard compilers). We have a hack in related to this. __func__ is a C99 thing, so it should be ifdefed using __STDC_VERSION__, but it is also a gcc thing, so the correct ifdef using __STDC_VERSION__ doesn't work. We handle __restrict/restrict a little differently (probably better). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Aug 16 8: 3:15 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B179A37B400; Fri, 16 Aug 2002 08:03:09 -0700 (PDT) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id F14E343E42; Fri, 16 Aug 2002 08:03:06 -0700 (PDT) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.12.5/8.12.5) with ESMTP id g7GF36mr017637; Fri, 16 Aug 2002 08:03:06 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.12.5/8.12.5/Submit) id g7GF366M017636; Fri, 16 Aug 2002 08:03:06 -0700 (PDT) Date: Fri, 16 Aug 2002 08:03:06 -0700 (PDT) From: David Wolfskill Message-Id: <200208161503.g7GF366M017636@bunrab.catwhisker.org> To: current@freebsd.org Subject: World breakage in lib/libc/gen/disklabel.c; here's a patch Cc: alfred@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >>> stage 4: building libraries ... cc -O -pipe -DLIBC_MAJOR=5 -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../. ./include -D__DBINTERFACE_PRIVATE -DINET6 -I/common/S4/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/../libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -DYP -DHESIOD -c /usr/src/lib/libc/gen/dlfcn.c -o dlfcn.o /usr/src/lib/libc/gen/disklabel.c: In function `getdiskbyname': /usr/src/lib/libc/gen/disklabel.c:147: `fstypenames' undeclared (first use in this function) /usr/src/lib/libc/gen/disklabel.c:147: (Each undeclared identifier is reported only once /usr/src/lib/libc/gen/disklabel.c:147: for each function it appears in.) /usr/src/lib/libc/gen/disklabel.c: In function `getdiskbyname': /usr/src/lib/libc/gen/disklabel.c:147: `fstypenames' undeclared (first use in this function) /usr/src/lib/libc/gen/disklabel.c:147: (Each undeclared identifier is reported only once *** Error code 1 /usr/src/lib/libc/gen/disklabel.c:147: for each function it appears in.) *** Error code 1 /usr/src/lib/libc/gen/disklabel.c: In function `getdiskbyname': /usr/src/lib/libc/gen/disklabel.c:147: `fstypenames' undeclared (first use in this function) /usr/src/lib/libc/gen/disklabel.c:147: (Each undeclared identifier is reported only once /usr/src/lib/libc/gen/disklabel.c:147: for each function it appears in.) *** Error code 1 3 errors *** Error code 2 1 error .... The following patch (from /usr/src) gets past the problem, but I don't know that it's correct: Index: lib/libc/gen/disklabel.c =================================================================== RCS file: /cvs/freebsd/src/lib/libc/gen/disklabel.c,v retrieving revision 1.15 diff -u -r1.15 disklabel.c --- lib/libc/gen/disklabel.c 12 May 2002 20:49:33 -0000 1.15 +++ lib/libc/gen/disklabel.c 16 Aug 2002 14:39:03 -0000 @@ -38,6 +38,7 @@ __FBSDID("$FreeBSD: src/lib/libc/gen/disklabel.c,v 1.15 2002/05/12 20:49:33 phk Exp $"); #include +#define FSTYPENAMES #define DKTYPENAMES #include Cheers, david -- David H. Wolfskill david@catwhisker.org To paraphrase David Hilbert, there can be no conflicts between the discipline of systems administration and Microsoft, since they have nothing in common. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Aug 16 8:13:29 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49ECC37B400 for ; Fri, 16 Aug 2002 08:13:26 -0700 (PDT) Received: from ref5.freebsd.org (ref5.FreeBSD.org [216.136.204.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 135C343E42 for ; Fri, 16 Aug 2002 08:13:26 -0700 (PDT) (envelope-from des@FreeBSD.org) Received: from ref5.freebsd.org (localhost [127.0.0.1]) by ref5.freebsd.org (8.12.5/8.12.5) with ESMTP id g7GFDPgr032811 for ; Fri, 16 Aug 2002 08:13:25 -0700 (PDT) (envelope-from des@ref5.freebsd.org) Received: (from des@localhost) by ref5.freebsd.org (8.12.5/8.12.5/Submit) id g7GFDPum032809 for current@freebsd.org; Fri, 16 Aug 2002 08:13:25 -0700 (PDT) Date: Fri, 16 Aug 2002 08:13:25 -0700 (PDT) From: Dag-Erling Smorgrav Message-Id: <200208161513.g7GFDPum032809@ref5.freebsd.org> To: current@freebsd.org Subject: i386 tinderbox failure Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- >>> stage 2: cleaning up the object tree -------------------------------------------------------------- >>> stage 2: rebuilding the object tree -------------------------------------------------------------- >>> stage 2: build tools -------------------------------------------------------------- >>> stage 3: cross tools -------------------------------------------------------------- >>> stage 4: populating /home/des/tinderbox/i386/obj/local0/scratch/des/src/i386/usr/include -------------------------------------------------------------- >>> stage 4: building libraries -------------------------------------------------------------- ===> lib/libc /local0/scratch/des/src/lib/libc/gen/disklabel.c: In function `getdiskbyname': /local0/scratch/des/src/lib/libc/gen/disklabel.c:147: `fstypenames' undeclared (first use in this function) /local0/scratch/des/src/lib/libc/gen/disklabel.c:147: (Each undeclared identifier is reported only once /local0/scratch/des/src/lib/libc/gen/disklabel.c:147: for each function it appears in.) *** Error code 1 Stop in /local0/scratch/des/src/lib/libc. *** Error code 1 Stop in /local0/scratch/des/src/lib. *** Error code 1 Stop in /local0/scratch/des/src. *** Error code 1 Stop in /local0/scratch/des/src. *** Error code 1 Stop in /local0/scratch/des/src. *** Error code 1 Stop in /local0/scratch/des/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Aug 16 8:13:35 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8004C37B400 for ; Fri, 16 Aug 2002 08:13:32 -0700 (PDT) Received: from tara.freenix.org (keltia.freenix.org [62.4.20.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id C099543E6A for ; Fri, 16 Aug 2002 08:13:31 -0700 (PDT) (envelope-from root@tara.freenix.org) Received: by tara.freenix.org (Postfix/TLS, from userid 0) id 967E12A8D; Fri, 16 Aug 2002 17:13:30 +0200 (CEST) Date: Fri, 16 Aug 2002 17:13:30 +0200 From: Ollivier Robert To: current@freebsd.org Subject: Re: GCC 3.2 Message-ID: <20020816151330.GA12023@tara.freenix.org> Mail-Followup-To: current@freebsd.org References: <2C7CBDC6EA58D6119E4A00065B3A24CB046493@btcexc01.btc.adaptec.com> <20020815152703.2f0f23e1.ak03@gte.com> <3D5C21C3.7A848926@mindspring.com> <20020815180723.00a5a83d.ak03@gte.com> <3D5C2F93.BE3BE8B0@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D5C2F93.BE3BE8B0@mindspring.com> X-Operating-System: FreeBSD 5.0-CURRENT K6-3D/266 & 2x PIII/800 SMP User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG According to Terry Lambert: > There's always waiting for 3.3 to be released before trying to > incorporate it... There are too many code generation bugs in our version right now. Some ports need 3.1.1 from ports (remember our gcc is 3.1-prerelease). I don't care about 3.2 or 3.3, but I'd say go for snap of 3.3 now, if you look at the ports gcc, gcc32 == gcc33 at the moment. -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 5.0-CURRENT #80: Sun Jun 4 22:44:19 CEST 2000 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Aug 16 8:52: 6 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A059537B400; Fri, 16 Aug 2002 08:52:02 -0700 (PDT) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE39C43E3B; Fri, 16 Aug 2002 08:52:01 -0700 (PDT) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.12.5/8.12.5) with ESMTP id g7GFq1mr017885; Fri, 16 Aug 2002 08:52:01 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.12.5/8.12.5/Submit) id g7GFq1Vx017884; Fri, 16 Aug 2002 08:52:01 -0700 (PDT) Date: Fri, 16 Aug 2002 08:52:01 -0700 (PDT) From: David Wolfskill Message-Id: <200208161552.g7GFq1Vx017884@bunrab.catwhisker.org> To: current@FreeBSD.ORG Subject: Re: World breakage in lib/libc/gen/disklabel.c; here's a patch Cc: alfred@FreeBSD.ORG In-Reply-To: <200208161503.g7GF366M017636@bunrab.catwhisker.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >Date: Fri, 16 Aug 2002 08:03:06 -0700 (PDT) >From: David Wolfskill >The following patch (from /usr/src) gets past the problem, but I >don't know that it's correct: Still don't know about "correct," but it was incomplete. >Index: lib/libc/gen/disklabel.c After adding these patches to that one, I got world to build. (Building kernel as I type, so I haven't booted the result, let alone tested it.) Index: sbin/disklabel/disklabel.c =================================================================== RCS file: /cvs/freebsd/src/sbin/disklabel/disklabel.c,v retrieving revision 1.56 diff -u -r1.56 disklabel.c --- sbin/disklabel/disklabel.c 3 Jul 2002 16:43:11 -0000 1.56 +++ sbin/disklabel/disklabel.c 16 Aug 2002 15:18:40 -0000 @@ -60,6 +60,7 @@ #include #include #include +#define FSTYPENAMES #define DKTYPENAMES #include #ifdef __sparc64__ Index: sbin/fsck_ffs/setup.c =================================================================== RCS file: /cvs/freebsd/src/sbin/fsck_ffs/setup.c,v retrieving revision 1.36 diff -u -r1.36 setup.c --- sbin/fsck_ffs/setup.c 16 Aug 2002 07:34:19 -0000 1.36 +++ sbin/fsck_ffs/setup.c 16 Aug 2002 15:28:35 -0000 @@ -39,6 +39,7 @@ "$FreeBSD: src/sbin/fsck_ffs/setup.c,v 1.36 2002/08/16 07:34:19 alfred Exp $"; #endif /* not lint */ +#define FSTYPENAMES #include #include #include Cheers, david (links to my resume at http://www.catwhisker.org/~david) -- David H. Wolfskill david@catwhisker.org To paraphrase David Hilbert, there can be no conflicts between the discipline of systems administration and Microsoft, since they have nothing in common. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Aug 16 10:14:15 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0159537B400 for ; Fri, 16 Aug 2002 10:14:09 -0700 (PDT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4541343E77 for ; Fri, 16 Aug 2002 10:14:08 -0700 (PDT) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 1739CAE1EE; Fri, 16 Aug 2002 10:14:08 -0700 (PDT) Date: Fri, 16 Aug 2002 10:14:08 -0700 From: Alfred Perlstein To: David Wolfskill Cc: current@FreeBSD.ORG Subject: Re: World breakage in lib/libc/gen/disklabel.c; here's a patch Message-ID: <20020816171408.GP75574@elvis.mu.org> References: <200208161503.g7GF366M017636@bunrab.catwhisker.org> <200208161552.g7GFq1Vx017884@bunrab.catwhisker.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200208161552.g7GFq1Vx017884@bunrab.catwhisker.org> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * David Wolfskill [020816 08:52] wrote: > >Date: Fri, 16 Aug 2002 08:03:06 -0700 (PDT) > >From: David Wolfskill > > >The following patch (from /usr/src) gets past the problem, but I > >don't know that it's correct: > > Still don't know about "correct," but it was incomplete. > > >Index: lib/libc/gen/disklabel.c > > After adding these patches to that one, I got world to build. > (Building kernel as I type, so I haven't booted the result, let alone > tested it.) Sorry, I'll have this committed soon. > > Index: sbin/disklabel/disklabel.c > =================================================================== > RCS file: /cvs/freebsd/src/sbin/disklabel/disklabel.c,v > retrieving revision 1.56 > diff -u -r1.56 disklabel.c > --- sbin/disklabel/disklabel.c 3 Jul 2002 16:43:11 -0000 1.56 > +++ sbin/disklabel/disklabel.c 16 Aug 2002 15:18:40 -0000 > @@ -60,6 +60,7 @@ > #include > #include > #include > +#define FSTYPENAMES > #define DKTYPENAMES > #include > #ifdef __sparc64__ > Index: sbin/fsck_ffs/setup.c > =================================================================== > RCS file: /cvs/freebsd/src/sbin/fsck_ffs/setup.c,v > retrieving revision 1.36 > diff -u -r1.36 setup.c > --- sbin/fsck_ffs/setup.c 16 Aug 2002 07:34:19 -0000 1.36 > +++ sbin/fsck_ffs/setup.c 16 Aug 2002 15:28:35 -0000 > @@ -39,6 +39,7 @@ > "$FreeBSD: src/sbin/fsck_ffs/setup.c,v 1.36 2002/08/16 07:34:19 alfred Exp $"; > #endif /* not lint */ > > +#define FSTYPENAMES > #include > #include > #include > > Cheers, > david (links to my resume at http://www.catwhisker.org/~david) > -- > David H. Wolfskill david@catwhisker.org > To paraphrase David Hilbert, there can be no conflicts between the > discipline of systems administration and Microsoft, since they have > nothing in common. -- -Alfred Perlstein [alfred@freebsd.org] [#bsdcode/efnet/irc.prison.net] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Aug 16 12:39: 9 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D15C37B401; Fri, 16 Aug 2002 12:39:05 -0700 (PDT) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96E8643E4A; Fri, 16 Aug 2002 12:39:04 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020816193904.QRVB1746.rwcrmhc51.attbi.com@blossom.cjclark.org>; Fri, 16 Aug 2002 19:39:04 +0000 Received: from blossom.cjclark.org (localhost. [127.0.0.1]) by blossom.cjclark.org (8.12.3/8.12.3) with ESMTP id g7GJd3JK048536; Fri, 16 Aug 2002 12:39:03 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: (from cjc@localhost) by blossom.cjclark.org (8.12.3/8.12.3/Submit) id g7GJctfI048535; Fri, 16 Aug 2002 12:38:55 -0700 (PDT) X-Authentication-Warning: blossom.cjclark.org: cjc set sender to crist.clark@attbi.com using -f Date: Fri, 16 Aug 2002 12:38:54 -0700 From: "Crist J. Clark" To: Radko Keves Cc: questions@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: question about ipl.ko Message-ID: <20020816193854.GC47465@blossom.cjclark.org> Reply-To: "Crist J. Clark" References: <20020816130147.GA39907@studnet.sk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020816130147.GA39907@studnet.sk> User-Agent: Mutt/1.4i X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Aug 16, 2002 at 03:01:47PM +0200, Radko Keves wrote: > i try to load ipl.ko > > #kldload -v /boot/kernel/ipl.ko > kldload: can't load /boot/kernel/ipl.ko: Exec format error [snip] > it's my problem, for example in the kernel module loading sequence, or current problem ? Both. If you are getting an 'Exec format error,' there is something wrong at your end. However, ipl.ko has been broken in CURRENT for a "long time" (over a year at least) and will not load (albeit with a different error message). -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Aug 16 15:39: 4 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26E4637B400 for ; Fri, 16 Aug 2002 15:39:01 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 4C53C43E42 for ; Fri, 16 Aug 2002 15:39:00 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 43933 invoked by uid 1000); 16 Aug 2002 22:39:01 -0000 Date: Fri, 16 Aug 2002 15:39:01 -0700 (PDT) From: Nate Lawson To: scsi@freebsd.org, current@freebsd.org Subject: Proliferating quirk table entries Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm working on cleaning up quirk entries in scsi_da.c, especially ones related to READ/WRITE 6->10 escalation. For those just joining in, there is a function (cmd6workaround) that handles a R/W6 error by translating the cdb to 10 bytes and restarting it. It also increases the command size that will be used to 10 so future R/W requests automatically work. This is obviously preferable to entering quirk entries for every USB device. This function has been tested for a while but it's still possible some equipment won't correctly handle the workaround. I am preparing to add a kernel option (DISABLE_CDB6_QUIRKS) that will default to off. It will disable the use of DA_Q_NO_6_BYTE to allow cmd6workaround to do its stuff. Users of equipment listed in the quirk table would be solicited to enable this kernel option and try their equipment again. If problems are found in the workaround code, I will attempt to fix them. If things work, that quirk can be removed. If you have alternative suggestions, let me know. NO_SYNC_CACHE will be next on my list. -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Aug 16 16: 8:42 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DA9437B400; Fri, 16 Aug 2002 16:08:37 -0700 (PDT) Received: from hardtime.linuxman.net (hardtime.linuxman.net [66.147.26.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE05343E42; Fri, 16 Aug 2002 16:08:35 -0700 (PDT) (envelope-from gh@over-yonder.net) Received: from mortis.over-yonder.net (localhost [127.0.0.1]) by hardtime.linuxman.net (8.11.6/8.11.6) with ESMTP id g7GNOpj32595; Fri, 16 Aug 2002 18:24:53 -0500 Received: by mortis.over-yonder.net (Postfix, from userid 1012) id 898D51F06; Fri, 16 Aug 2002 18:08:31 -0500 (CDT) Date: Fri, 16 Aug 2002 18:08:31 -0500 From: dmk To: Robert Watson Cc: freebsd-current@freebsd.org Subject: Re: emulators/rtc and vmware2 Message-ID: <20020816230831.GD35400@over-yonder.net> References: <20020815121105.GA35400@over-yonder.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="mojUlQ0s9EVzWg2t" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i-fullermd.1 X-Editor: vi X-OS: FreeBSD Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --mojUlQ0s9EVzWg2t Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, 15 Aug 2002, dmk wrote: > > Is anybody successfully using the port emulators/rtc with vmware2 on > -current? [...] On Thu, Aug 15, 2002 at 01:36:46PM -0400 Robert Watson wrote: > My recollection is that the problem relates to calling make_dev() from the > attach routine, and attach from the open call, and of course you can't > open before you make_dev with devfs. Someone needs to restructure the > driver to match some our other pseudo-device drivers where the device is > properly created as part of module initialization. [...] > Robert N M Watson FreeBSD Core Team, TrustedBSD Projects > robert@fledge.watson.org Network Associates Laboratories The attached diff effectively restructures the rtc device driver to perform the make_dev() at module load. The driver may have problems, but it does work, and, unlike the first diff, doesn't segfault on unload. ;-) (I don't claim to write C or hack kernels, so this presented as-is in that it "works for me.") Daniel M. Kurry --mojUlQ0s9EVzWg2t Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="rtc.diff" --- rtc.c.bk Thu Aug 15 03:50:21 2002 +++ rtc.c Thu Aug 15 12:08:00 2002 @@ -77,6 +77,8 @@ static struct rtc_softc *rtc_sc=NULL; +static dev_t rtc_dev=NULL; + static d_open_t rtc_open; static d_close_t rtc_close; static d_ioctl_t rtc_ioctl; @@ -115,43 +117,6 @@ /* -=-=-=-=-=-=-=-=-= attach/detach device stuff -=-=-=-=-=-=-=-=-= */ -static struct rtc_softc * -rtc_attach(dev_t dev) -{ - struct rtc_softc *sc; - int unit; - -#if __FreeBSD_version >= 500014 - unit = dev2unit(dev); -#else - unit = lminor(dev); -#endif - DLog(Lenter, "%d %p", unit, dev); - if (dev->si_drv1) { - DLog(Lexit, "old %p, %p", dev, dev->si_drv1); - return dev->si_drv1; - } - - if (rtc_sc!=NULL) - return NULL; - - dev = make_dev(&rtc_cdevsw, minor(dev), UID_ROOT, GID_WHEEL, 0600, DEVICE_NAME); - if (dev==NULL) - return (NULL); - - MALLOC(sc, struct rtc_softc*, sizeof(*sc), M_DEVBUF, M_WAITOK); - if (sc==NULL) - return NULL; - - bzero(sc, sizeof(*sc)); - rtc_sc = sc; - dev->si_drv1 = sc; /* Link together */ - sc->dev = dev; - - DLog(Lexit, "new %p,%p", dev, sc); - return sc; -} - static int rtc_detach(struct rtc_softc *sc) { @@ -163,7 +128,7 @@ if (sc->var.flags.opened) { return EBUSY; } - destroy_dev(sc->dev); + destroy_dev(rtc_sc->dev); FREE(sc, M_DEVBUF); return error; } @@ -177,9 +142,8 @@ rtc_open(dev_t dev, int oflag, int otyp, struct proc *p) #endif { - struct rtc_softc *sc; + struct rtc_softc *sc = (struct rtc_softc *) dev->si_drv1; - sc = rtc_attach(dev); if (sc==NULL) return (EAGAIN); @@ -264,7 +228,21 @@ static int init_module(void) { -int error; + int error; + struct rtc_softc *sc; + + rtc_dev = make_dev(&rtc_cdevsw, 0, UID_ROOT, GID_WHEEL, 0600, DEVICE_NAME); + if(rtc_dev==NULL) + return (NULL); + + MALLOC(sc, struct rtc_softc*, sizeof(*sc), M_DEVBUF, M_WAITOK); + if(sc==NULL) + return NULL; + + bzero(sc, sizeof(*sc)); + rtc_sc = sc; + rtc_dev->si_drv1 = rtc_sc; /* Link together */ + rtc_sc->dev = rtc_dev; error = cdevsw_add(&rtc_cdevsw); if (error) --mojUlQ0s9EVzWg2t-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Aug 16 16:31:54 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C66037B400 for ; Fri, 16 Aug 2002 16:31:49 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id AD03443E72 for ; Fri, 16 Aug 2002 16:31:48 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 43984 invoked by uid 1000); 16 Aug 2002 23:31:49 -0000 Date: Fri, 16 Aug 2002 16:31:49 -0700 (PDT) From: Nate Lawson To: dmk Cc: Robert Watson , freebsd-current@freebsd.org Subject: Re: emulators/rtc and vmware2 In-Reply-To: <20020816230831.GD35400@over-yonder.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 16 Aug 2002, dmk wrote: > On Thu, 15 Aug 2002, dmk wrote: > > > > Is anybody successfully using the port emulators/rtc with vmware2 on > > -current? > [...] > > On Thu, Aug 15, 2002 at 01:36:46PM -0400 Robert Watson wrote: > > My recollection is that the problem relates to calling make_dev() from the > > attach routine, and attach from the open call, and of course you can't > > open before you make_dev with devfs. Someone needs to restructure the > > driver to match some our other pseudo-device drivers where the device is > > properly created as part of module initialization. > [...] > > Robert N M Watson FreeBSD Core Team, TrustedBSD Projects > > robert@fledge.watson.org Network Associates Laboratories > > The attached diff effectively restructures the rtc device driver to > perform the make_dev() at module load. The driver may have problems, but > it does work, and, unlike the first diff, doesn't segfault on unload. ;-) > > (I don't claim to write C or hack kernels, so this presented as-is in Generally it's more appropriate to do cdevsw_add() in module init and then make_dev() in each open. That's the ONLY way to do it if you have multiple instances of a device (e.g. BPF). -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Aug 16 16:59:58 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBE0937B400; Fri, 16 Aug 2002 16:59:55 -0700 (PDT) Received: from hardtime.linuxman.net (hardtime.linuxman.net [66.147.26.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8284543E3B; Fri, 16 Aug 2002 16:59:54 -0700 (PDT) (envelope-from gh@over-yonder.net) Received: from mortis.over-yonder.net (localhost [127.0.0.1]) by hardtime.linuxman.net (8.11.6/8.11.6) with ESMTP id g7H0G8j01002; Fri, 16 Aug 2002 19:16:09 -0500 Received: by mortis.over-yonder.net (Postfix, from userid 1012) id EA0381F04; Fri, 16 Aug 2002 18:59:45 -0500 (CDT) Date: Fri, 16 Aug 2002 18:59:45 -0500 From: dmk To: Nate Lawson Cc: Robert Watson , freebsd-current@freebsd.org Subject: Re: emulators/rtc and vmware2 Message-ID: <20020816235945.GF35400@over-yonder.net> References: <20020816230831.GD35400@over-yonder.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i-fullermd.1 X-Editor: vi X-OS: FreeBSD Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Aug 16, 2002 at 04:31:49PM -0700 I heard the voice of Nate Lawson, and lo! it spake thus: > On Fri, 16 Aug 2002, dmk wrote: [...] > > The attached diff effectively restructures the rtc device driver to > > perform the make_dev() at module load. The driver may have problems, but > > it does work, and, unlike the first diff, doesn't segfault on unload. ;-) > > > > (I don't claim to write C or hack kernels, so this presented as-is in > > Generally it's more appropriate to do cdevsw_add() in module init and then > make_dev() in each open. That's the ONLY way to do it if you have > multiple instances of a device (e.g. BPF). Yes, but... ;-) That way doesn't work with VMware. The restructured way does. Unfortunately, I don't know enough about what's going on to fix it the Right Way, which I presume would involve fixing VMware. Can anyone suggest where I should be looking? > -Nate dan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Aug 16 17: 4:55 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56B4337B400 for ; Fri, 16 Aug 2002 17:04:51 -0700 (PDT) Received: from scl8owa02.int.exodus.net (scl8out02.exodus.net [66.35.230.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id E817543E65 for ; Fri, 16 Aug 2002 17:04:42 -0700 (PDT) (envelope-from Maksim.Yevmenkin@exodus.net) Received: from scl8owa01.int.exodus.net ([66.35.230.241]) by scl8owa02.int.exodus.net with Microsoft SMTPSVC(5.0.2195.4905); Fri, 16 Aug 2002 17:06:19 -0700 Received: from exodus.net ([206.220.227.147]) by scl8owa01.int.exodus.net over TLS secured channel with Microsoft SMTPSVC(5.0.2195.4905); Fri, 16 Aug 2002 17:06:19 -0700 Message-ID: <3D5D9319.A5C3414B@exodus.net> Date: Fri, 16 Aug 2002 17:04:41 -0700 From: Maksim Yevmenkin X-Mailer: Mozilla 4.78 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: current@freebsd.org Subject: vmware2 panic on -current Content-Type: multipart/mixed; boundary="------------13A08D66C836E346A77B63DD" X-OriginalArrivalTime: 17 Aug 2002 00:06:19.0329 (UTC) FILETIME=[E9AC8310:01C24581] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------13A08D66C836E346A77B63DD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Recent -current (a couple days old) panics when i start vmware2. Trace is attached. Any clue? thanks max --------------13A08D66C836E346A77B63DD Content-Type: text/plain; charset=iso-8859-1; name="vmware.panic" Content-Transfer-Encoding: 8bit Content-Disposition: inline; filename="vmware.panic" GNU gdb 5.2.0 (FreeBSD) 20020627 Copyright 2002 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-undermydesk-freebsd"... panic: bremfree: bp 0xc5536e30 not locked panic messages: --- panic: mutex vm page queue mutex not owned at ../../../vm/vm_page.c:1275 syncing disks... panic: bremfree: bp 0xc5536e30 not locked Uptime: 1m18s pfs_vncache_unload(): 5 entries remaining /dev/vmmon: Module vmmon: unloaded Dumping 191 MB ata0: resetting devices .. done 16 32[CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] 48[CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] 64 80 96 112 128 144 160 176 --- #0 doadump () at ../../../kern/kern_shutdown.c:213 213 dumping++; (kgdb) bt #0 doadump () at ../../../kern/kern_shutdown.c:213 #1 0xc01934ed in boot (howto=260) at ../../../kern/kern_shutdown.c:345 #2 0xc0193718 in panic () at ../../../kern/kern_shutdown.c:493 #3 0xc01d41a7 in bremfree (bp=0xc02ea5e5) at ../../../kern/vfs_bio.c:633 #4 0xc02666f7 in ffs_fsync (ap=0xcaf4d81c) at ../../../ufs/ffs/ffs_vnops.c:213 #5 0xc0265d17 in ffs_sync (mp=0xc1812400, waitfor=2, cred=0xc0d70f00, td=0xc0312f00) at vnode_if.h:545 #6 0xc01e6ab8 in sync (td=0xc0312f00, uap=0x0) at ../../../kern/vfs_syscalls.c:129 #7 0xc019310c in boot (howto=256) at ../../../kern/kern_shutdown.c:254 #8 0xc0193718 in panic () at ../../../kern/kern_shutdown.c:493 #9 0xc0189ffc in _mtx_assert (m=0xc02e2388, what=0, file=0xc187bb40 "À*¤Áø*¤Á", line=256) at ../../../kern/kern_mutex.c:800 #10 0xc02839e0 in vm_page_wire (m=0xc02e2388) at ../../../vm/vm_page.c:1275 #11 0xc182b79b in ?? () #12 0xc182b978 in ?? () #13 0xc182a374 in ?? () #14 0xc182b226 in ?? () #15 0xc0167a72 in spec_ioctl (ap=0xc02e2388) at ../../../fs/specfs/spec_vnops.c:322 #16 0xc0167658 in spec_vnoperate (ap=0x0) at ../../../fs/specfs/spec_vnops.c:124 #17 0xc02729b8 in ufs_vnoperatespec (ap=0x0) at ../../../ufs/ufs/ufs_vnops.c:2788 #18 0xc01ee5c1 in vn_ioctl (fp=0x100, com=3246897984, data=0xcaf4dc14, td=0xc187bb40) at vnode_if.h:437 #19 0xc01b5f0c in ioctl (td=0xc187bb40, uap=0xcaf4dd10) at file.h:222 #20 0xc182ca5c in ?? () #21 0xc191bfba in ?? () #22 0xc02b9d41 in syscall (frame= {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 136771792, tf_esi = 0, tf_ebp = -1077937624, tf_isp = -889922188, tf_ebx = 10, tf_edx = 681095168, tf_ecx = 207, tf_eax = 54, tf_trapno = 12, tf_err = 2, tf_eip = 675667748, tf_cs = 31, tf_eflags = 12946, tf_esp = -1077938716, tf_ss = 47}) at ../../../i386/i386/trap.c:1050 #23 0xc02aa78d in Xint0x80_syscall () at {standard input}:140 ---Can't read userspace from dump, or kernel process--- --------------13A08D66C836E346A77B63DD-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Aug 16 19:58:51 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 652AA37B400; Fri, 16 Aug 2002 19:58:47 -0700 (PDT) Received: from mta5.snfc21.pbi.net (mta5.snfc21.pbi.net [206.13.28.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id F370543E72; Fri, 16 Aug 2002 19:58:46 -0700 (PDT) (envelope-from makonnen@pacbell.net) Received: from kokeb.ambesa.net ([64.173.10.117]) by mta5.snfc21.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0H0Y00E4NW9Y0A@mta5.snfc21.pbi.net>; Fri, 16 Aug 2002 19:58:46 -0700 (PDT) Received: from kokeb.ambesa.net (tanstaafl@localhost [IPv6:::1]) by kokeb.ambesa.net (8.12.5/8.12.5) with ESMTP id g7H3Bpxs087486; Fri, 16 Aug 2002 20:11:51 -0700 (PDT envelope-from mtm@kokeb.ambesa.net) Received: (from mtm@localhost) by kokeb.ambesa.net (8.12.5/8.12.5/Submit) id g7H3Bpwr087485; Fri, 16 Aug 2002 20:11:51 -0700 (PDT envelope-from mtm) Date: Fri, 16 Aug 2002 20:11:50 -0700 From: Mike Makonnen Subject: why should buildworld touch stuff outside /usr/src ? (was Re: buildworld breakage) In-reply-to: To: Robert Watson Cc: freebsd-current@FreeBSD.ORG, gshapiro@FreeBSD.ORG Message-id: <20020816201150.297c1980.makonnen@pacbell.net> MIME-version: 1.0 X-Mailer: Sylpheed version 0.7.8 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <20020815121053.6e18dafb.makonnen@pacbell.net> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 16 Aug 2002 08:55:04 -0400 (EDT) "Robert Watson" wrote: > I ran into this also, and a bit of fiddling with a debugger was > un-enlightening -- it was segfaulting on a write to > __collate_substitute_table in parse.y. The pointer to the table didn't > appear to be corrupted, and it should have been in writable memory. It > also appeared to be properly aligned. I moved on to other stuff but was > planning to submit a bug report if it persisted (and therefore wasn't a > local nit of mine due to heavy local kernel mods). > Ok I just updated to today's sources and it's gone. On the other hand I have another problem now. It seems buildworld touches stuff outside of /usr/src (specifically in /etc/mail). I noticed this behaviour some months ago but promptly forgot about it when I trashed my hard drive and had to rebuild my system. This is the first time since then (May/June) that I have tried running buildworld as a regular user. I would like to be able to continue doing everything short of install as a regular user. Is it really necessary to require root privs to buildworld? [ I've CCed gshapiro ] ===> usr.sbin/keyserv cc -O -pipe -DKEYSERV_RANDOM -DBROKEN_DES -I. -DOBJFORMAT_ELF -c /daemon/bui ld/current/src/usr.sbin/keyserv/keyserv.c cc -O -pipe -DKEYSERV_RANDOM -DBROKEN_DES -I. -DOBJFORMAT_ELF -c /daemon/bui ld/current/src/usr.sbin/keyserv/setkey.c cc -O -pipe -DKEYSERV_RANDOM -DBROKEN_DES -I. -DOBJFORMAT_ELF -c crypt_svc.c cc -O -pipe -DKEYSERV_RANDOM -DBROKEN_DES -I. -DOBJFORMAT_ELF -c /daemon/bui ld/current/src/usr.sbin/keyserv/crypt_server.c cc -O -pipe -DKEYSERV_RANDOM -DBROKEN_DES -I. -DOBJFORMAT_ELF -o keyserv ke yserv.o setkey.o crypt_svc.o crypt_server.o -lmp -lcrypto -lrpcsvc gzip -cn /daemon/build/current/src/usr.sbin/keyserv/keyserv.8 > keyserv.8.gz ===> etc ===> etc/sendmail rm -f freebsd.cf (cd /daemon/build/current/src/etc/sendmail && m4 -D_CF_DIR_=/daemon/build/curre nt/src/etc/sendmail/../../contrib/sendmail/cf/ /daemon/build/current/src/etc/s endmail/../../contrib/sendmail/cf/m4/cf.m4 freebsd.mc) > freebsd.cf chmod 444 freebsd.cf rm -f /etc/mail/kokeb.ambesa.net.cf (cd /daemon/build/current/src/etc/sendmail && m4 -D_CF_DIR_=/daemon/build/curre nt/src/etc/sendmail/../../contrib/sendmail/cf/ /daemon/build/current/src/etc/s endmail/../../contrib/sendmail/cf/m4/cf.m4 /etc/mail/kokeb.ambesa.net.mc) > /etc /mail/kokeb.ambesa.net.cf cannot create /etc/mail/kokeb.ambesa.net.cf: permission denied *** Error code 2 Stop in /daemon/build/current/src/etc/sendmail. *** Error code 1 Stop in /daemon/build/current/src/etc. *** Error code 1 Stop in /daemon/build/current/src. *** Error code 1 Stop in /daemon/build/current/src. *** Error code 1 Stop in /daemon/build/current/src. Cheers, Mike. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Aug 16 20: 6:34 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B731137B400 for ; Fri, 16 Aug 2002 20:06:30 -0700 (PDT) Received: from bodb.mc.mpls.visi.com (bodb.mc.mpls.visi.com [208.42.156.104]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4732243E72 for ; Fri, 16 Aug 2002 20:06:30 -0700 (PDT) (envelope-from hawkeyd@visi.com) Received: from sheol.localdomain (hawkeyd-fw.dsl.visi.com [208.42.101.193]) by bodb.mc.mpls.visi.com (Postfix) with ESMTP id 567AD4B44; Fri, 16 Aug 2002 22:06:29 -0500 (CDT) Received: (from hawkeyd@localhost) by sheol.localdomain (8.11.6/8.11.6) id g7H36RZ85402; Fri, 16 Aug 2002 22:06:27 -0500 (CDT) (envelope-from hawkeyd) Date: Fri, 16 Aug 2002 22:06:27 -0500 (CDT) Message-Id: <200208170306.g7H36RZ85402@sheol.localdomain> Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 Reply-To: hawkeyd@visi.com Organization: if (!FIFO) if (!LIFO) break; References: <3D5AE112.C2F8CCF7_mindspring.com@ns.sol.net> <002501c243e7$9c1ae5b0$2000000a_tsndual933@ns.sol.net> In-Reply-To: <002501c243e7$9c1ae5b0$2000000a_tsndual933@ns.sol.net> From: hawkeyd@visi.com (D J Hawkey Jr) Subject: Re: OT: Debian GNU/FreeBSD??? X-Original-Newsgroups: sol.lists.freebsd.current To: mariog@tomservo.cc, freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <002501c243e7$9c1ae5b0$2000000a_tsndual933@ns.sol.net>, mariog@tomservo.cc writes: >> > http://www.debian.org/ports/freebsd/index >> > >> > I was slightly irritated when a pal showed me that! >> >> Why? > > I thought FreeBSD wants no distros to avoid all the distrochaos Linux got > right now. Debian is rather contraproductive to that. Luckily it aint > popular. > > -mg I can't understand the resoning for even doing this. For the Linux userland (i.e., GNU utilities)? I _much_ prefer the FreeBSD userland... Dave -- Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Fri Aug 16 20: 7: 0 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF7C637B400; Fri, 16 Aug 2002 20:06:56 -0700 (PDT) Received: from horsey.gshapiro.net (horsey.gshapiro.net [209.220.147.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A36943E70; Fri, 16 Aug 2002 20:06:56 -0700 (PDT) (envelope-from gshapiro@gshapiro.net) Received: from horsey.gshapiro.net (gshapiro@localhost [IPv6:::1]) by horsey.gshapiro.net (8.12.6.Beta0/8.12.6.Beta0) with ESMTP id g7H36p3J069667 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 16 Aug 2002 20:06:51 -0700 (PDT) Received: (from gshapiro@localhost) by horsey.gshapiro.net (8.12.6.Beta0/8.12.6.Beta0/Submit) id g7H36pka069664; Fri, 16 Aug 2002 20:06:51 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15709.48586.967655.214147@horsey.gshapiro.net> Date: Fri, 16 Aug 2002 20:06:50 -0700 From: Gregory Neil Shapiro To: Mike Makonnen Cc: Robert Watson , freebsd-current@FreeBSD.ORG Subject: Re: why should buildworld touch stuff outside /usr/src ? (was Re: buildworld breakage) In-Reply-To: <20020816201150.297c1980.makonnen@pacbell.net> References: <20020815121053.6e18dafb.makonnen@pacbell.net> <20020816201150.297c1980.makonnen@pacbell.net> X-Mailer: VM 7.03 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG makonnen> I would like to be able to continue doing everything short of makonnen> install as a regular user. Is it really necessary to require root makonnen> privs to buildworld? Agreed. I haven't been able to come up with a way to convince make to adjust the destination path according to the source path. Given this subset of rules from /usr/src/etc/sendmail/Makefile: .SUFFIXES: .mc .cf .mc.cf: ${M4FILES} ${RM} ${.TARGET} (cd ${.CURDIR} && \ ${M4} -D_CF_DIR_=${CFDIR}/ ${SENDMAIL_M4_FLAGS} \ ${CFDIR}/m4/cf.m4 ${@:R}.mc) > ${.TARGET} ${CHMOD} ${ROMODE} ${.TARGET} SENDMAIL_MC= /etc/mail/foo.mc SENDMAIL_ADDITIONAL_MC= /usr/local/etc/foo.mc INSTALL_CF= ${SENDMAIL_MC:R}.cf SENDMAIL_ADDITIONAL_CF= ${SENDMAIL_ADDITIONAL_MC:S/.mc$/.cf/g} all: ${INSTALL_CF} ${SENDMAIL_ADDITIONAL_CF} Currently, /etc/mail/foo.cf and /usr/local/etc/foo.cf will be built. I'd prefer /usr/obj/usr/src/etc/sendmail/etc/mail/foo.cf and /usr/obj/usr/src/etc/sendmail/usr/local/etc/foo.cf be created during buildworld and installed to /etc/mail/ and /usr/local/etc/ respectively during installworld. (See /usr/src/etc/sendmail/Makefile for install rules). Any Makefile gurus out there who can help? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Aug 17 1: 3:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6C6D37B400 for ; Sat, 17 Aug 2002 01:03:36 -0700 (PDT) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 617E643E7B for ; Sat, 17 Aug 2002 01:03:31 -0700 (PDT) (envelope-from mark@grimreaper.grondar.org) Received: from storm.FreeBSD.org.uk (uucp@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.12.5/8.12.5) with ESMTP id g7H7oQqa008853 for ; Sat, 17 Aug 2002 08:50:26 +0100 (BST) (envelope-from mark@grimreaper.grondar.org) Received: (from uucp@localhost) by storm.FreeBSD.org.uk (8.12.5/8.12.5/Submit) with UUCP id g7H7oQoe008852 for current@freebsd.org; Sat, 17 Aug 2002 08:50:26 +0100 (BST) Received: from grimreaper.grondar.org (localhost [127.0.0.1]) by grimreaper.grondar.org (8.12.5/8.12.5) with ESMTP id g7H7jdQg003983 for ; Sat, 17 Aug 2002 08:45:39 +0100 (BST) (envelope-from mark@grimreaper.grondar.org) Message-Id: <200208170745.g7H7jdQg003983@grimreaper.grondar.org> To: current@freebsd.org Subject: VM panic Date: Sat, 17 Aug 2002 08:45:38 +0100 From: Mark Murray Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all If I do a "make -jN world" build on my dual MMX/200 box, I usually end up in tears (well, a panic anyway). This is completely reproducible, and the panic always happens in swapout_procs while vmdaemon is running. Anyone else getting this? M -- o Mark Murray \_ O.\_ Warning: this .sig is umop ap!sdn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Aug 17 4:17:33 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C3B9D37B400 for ; Sat, 17 Aug 2002 04:17:30 -0700 (PDT) Received: from sonic.kks.net (sonic.kks.net [213.161.0.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9D1943E42 for ; Sat, 17 Aug 2002 04:17:29 -0700 (PDT) (envelope-from andy@kksonline.com) Received: from voyager.kksonline.com (cable1-5-51.cust.kks.net [213.161.5.51]) by sonic.kks.net (Postfix) with ESMTP id E9C1048E for ; Sat, 17 Aug 2002 13:17:33 +0200 (CEST) Message-Id: <5.1.1.6.0.20020817131510.0312cbe0@pop3.kks.net> X-Sender: arozman@pop3.kks.net X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Sat, 17 Aug 2002 13:17:34 +0200 To: freebsd-current@FreeBSD.ORG From: Aleksander Rozman - Andy Subject: GCC 3.1 install Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi ! It's been long time since I compiled kernel, and now I have some problems building it. I am still using gcc 2.95.3 from DP1. How is the easiest way to change to GCC 3.1...(I have complete 5.0-DP1 installed) without rebuilding the whole world. I heard there was some doc on this usbject, where can I get it. Thanks for your help in advance. Andy ************************************************************************** * Aleksander Rozman - Andy * Fandoms: E2:EA, SAABer, Trekkie, Earthie * * andy@kksonline.com * Sentinel, BH 90210, True's Trooper, * * andy@atechnet.dhs.org * Heller's Angel, Questie, Legacy, PO5, * * Maribor, Slovenia (Europe) * Profiler, Buffy (Slayerete), Pretender * * ICQ-UIC: 4911125 ********************************************* * PGP key available * http://www.atechnet.dhs.org/~andy/ * ************************************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Aug 17 4:46:30 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3326E37B400; Sat, 17 Aug 2002 04:46:26 -0700 (PDT) Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E9F043E72; Sat, 17 Aug 2002 04:46:25 -0700 (PDT) (envelope-from corecode@corecode.ath.cx) Received: from fwd03.sul.t-online.de by mailout09.sul.t-online.com with smtp id 17g222-0001FW-07; Sat, 17 Aug 2002 13:46:14 +0200 Received: from spirit.zuhause.stoert.net (320050403952-0001@[80.128.106.118]) by fmrl03.sul.t-online.com with esmtp id 17g23G-1RxSzIC; Sat, 17 Aug 2002 13:47:30 +0200 Received: from terrorfish.uni.stoert.net (terrorfish.uni.stoert.net [10.150.180.178]) by spirit.zuhause.stoert.net (8.11.6/8.11.6) with ESMTP id g7HBk0Y75952; Sat, 17 Aug 2002 13:46:00 +0200 (CEST) (envelope-from corecode@corecode.ath.cx) Received: from terrorfish.uni.stoert.net (localhost [127.0.0.1]) by terrorfish.uni.stoert.net (8.12.5/8.12.5) with ESMTP id g7HBj3Lo000420; Sat, 17 Aug 2002 13:45:03 +0200 (CEST) (envelope-from corecode@terrorfish.uni.stoert.net) Received: (from corecode@localhost) by terrorfish.uni.stoert.net (8.12.5/8.12.5/Submit) id g7HBj39C000419; Sat, 17 Aug 2002 13:45:03 +0200 (CEST) (envelope-from corecode) Date: Sat, 17 Aug 2002 13:44:59 +0200 From: "Simon 'corecode' Schubert" To: Radko Keves Cc: questions@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: question about ipl.ko Message-Id: <20020817134459.7819c4c7.corecode@corecode.ath.cx> In-Reply-To: <20020816130147.GA39907@studnet.sk> References: <20020816130147.GA39907@studnet.sk> X-Mailer: Sylpheed version 0.8.1claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="=.xdPj:uMINw)cEV" X-Sender: 320050403952-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=.xdPj:uMINw)cEV Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 16 Aug 2002 15:01:47 +0200 Radko Keves wrote: > i try to load ipl.ko > > #kldload -v /boot/kernel/ipl.ko > kldload: can't load /boot/kernel/ipl.ko: Exec format error try `kldload ipl' -- /"\ http://corecode.ath.cx/#donate \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News --=.xdPj:uMINw)cEV Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9Xjc/r5S+dk6z85oRAqdsAJ0X6yG/El6EPf/6YdUGOa998ngTVgCcDAdv jh0nsPBuAm2QkCMc0teb5yQ= =ghke -----END PGP SIGNATURE----- --=.xdPj:uMINw)cEV-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Aug 17 5:36:56 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 174E437B400 for ; Sat, 17 Aug 2002 05:36:55 -0700 (PDT) Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id D77D043E84 for ; Sat, 17 Aug 2002 05:36:50 -0700 (PDT) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.11.6/8.11.6) id g7HCadj44825; Sat, 17 Aug 2002 14:36:39 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200208171236.g7HCadj44825@zibbi.icomtek.csir.co.za> Subject: Re: VM panic In-Reply-To: <200208170745.g7H7jdQg003983@grimreaper.grondar.org> from Mark Murray at "Aug 17, 2002 08:45:38 am" To: mark@grondar.za (Mark Murray) Date: Sat, 17 Aug 2002 14:36:39 +0200 (SAT) 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 List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > If I do a "make -jN world" build on my dual MMX/200 box, I usually end > up in tears (well, a panic anyway). This is completely reproducible, and > the panic always happens in swapout_procs while vmdaemon is running. > > Anyone else getting this? What kind of value do you use for N? It looks like lately the makefiles are too aggressive when using -j, so you end up with N * N * 2 processes running simultaneously. On my -current box with 128M RAM, I used -j13 for a long time, but that runs out of swap nowadays, so I'm using -j4 which does work. John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Aug 17 7:27:14 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D14237B400 for ; Sat, 17 Aug 2002 07:27:13 -0700 (PDT) Received: from dilbert.robbins.dropbear.id.au (164.b.010.mel.iprimus.net.au [210.50.201.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CDC043E6A for ; Sat, 17 Aug 2002 07:27:11 -0700 (PDT) (envelope-from tim@robbins.dropbear.id.au) Received: from dilbert.robbins.dropbear.id.au (y878pkpi8tgel4k8@localhost [127.0.0.1]) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3) with ESMTP id g7HER6Ea039143 for ; Sun, 18 Aug 2002 00:27:06 +1000 (EST) (envelope-from tim@dilbert.robbins.dropbear.id.au) Received: (from tim@localhost) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3/Submit) id g7HER5Dv039142 for current@FreeBSD.ORG; Sun, 18 Aug 2002 00:27:05 +1000 (EST) Date: Sun, 18 Aug 2002 00:27:04 +1000 From: Tim Robbins To: current@FreeBSD.ORG Subject: Re: WTF is going on? pipe breakage, patch(1) breakage?? Message-ID: <20020818002704.A38629@dilbert.robbins.dropbear.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG FWIW, the pipe breakage seems to have been caused by /bin/sh freeing the job table (jobs.c lines 744-746) then later using a value in the freed region as an argument to setpgid() and tcsetpgrp() (jobs.c lines 753-760) when the job had more than one process in it (a pipeline). phkmalloc was overwriting the freed memory with garbage, causing tcsetpgrp() and setpgid() to be called with bogus process group ID's. I'm going to commit the fix for this tomorrow after I've tested it some more. In the meantime, ln -sf j /etc/malloc.conf will work around the error. The bug seems to have been there since at least 4.4BSD-Lite. Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Aug 17 14:47:59 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB4B837B400; Sat, 17 Aug 2002 14:47:51 -0700 (PDT) Received: from warez.scriptkiddie.org (uswest-dsl-142-38.cortland.com [209.162.142.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B61F43E6A; Sat, 17 Aug 2002 14:47:51 -0700 (PDT) (envelope-from lamont@scriptkiddie.org) Received: from [192.168.69.11] (unknown [192.168.69.11]) by warez.scriptkiddie.org (Postfix) with ESMTP id 4EA7C62D1A; Sat, 17 Aug 2002 14:47:50 -0700 (PDT) Date: Sat, 17 Aug 2002 14:48:48 -0700 (PDT) From: Lamont Granquist To: Poul-Henning Kamp Cc: current@freebsd.org, Subject: UFS Snapshots kinda buggy? In-Reply-To: <49833.1023282808@critter.freebsd.dk> Message-ID: <20020817143554.H1176-300000@coredump.scriptkiddie.org> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1892123504-1029620928=:1176" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-1892123504-1029620928=:1176 Content-Type: TEXT/PLAIN; charset=US-ASCII So, I was playing around with snapshots and trying to come up with a cron job which would do automatic snapshots of a system, kind of similar to what you can get with a NetApp. I wrote the attatched (somewhat ugly) proof of concept script to manage a /.snapshot directory for all the mounted filesystems on a box. Running this in a tight loop caused some pretty severe problems where the box would tend to panic if i tried to remove some of the snapshot files. A whole lot of "rm, panic, reboot, fsck, wash, rinse, repeat" later I seem to have cleared all the snapshot files off my system and stabilized it. My -current snapshot is: > uname -a FreeBSD coredump.scriptkiddie.org 5.0-CURRENT FreeBSD 5.0-CURRENT #10: Sun Jul 28 18:30:39 PDT 2002 lamont@coredump.scriptkiddie.org:/usr/obj/usr/src/sys/COREDUMP i386 My mounts are: > mount /dev/ad0s1a on / (ufs, local, soft-updates) devfs on /dev (devfs, local) procfs on /proc (procfs, local) And my dmesg is attatched. Incidentally, it might be good to have mount report that a filesystem is a mounted snapshot. It would make it very easy to grep to select or remove all the mounted snapshots from the output of mount. I'm hoping that the rotatesnapshots script is enough to replicate and identify the bugs. If not, feel free to contact me and I can try to replicate them on my system to get more information on the specifics of the panics... --0-1892123504-1029620928=:1176 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=rotatesnapshots Content-Transfer-Encoding: BASE64 Content-ID: <20020817144848.P1176@coredump.scriptkiddie.org> Content-Description: Content-Disposition: attachment; filename=rotatesnapshots IyEvYmluL3NoDQoNCmZvciBmcyBpbiBgbW91bnQgLXQgdWZzIHwgZWdyZXAg LXYgcmVhZC1vbmx5IHwgYXdrICd7IHByaW50ICQzIH0nYDsgZG8NCgllY2hv ICJyb3RhdGluZyBzbmFwc2hvdHMgb24gJGZzIg0KDQoJIyBjcmVhdGUgLnNu YXBzaG90IGRpcmVjdG9yeSBpZiBpdCBkb2Vzbid0IGV4aXN0DQoJaWYgWyAh IC1lICIkZnMvLnNuYXBzaG90IiBdOyB0aGVuDQoJCWVjaG8gImNyZWF0aW5n IC5zbmFwc2hvdCBkaXJlY3Rvcnkgb24gJGZzIg0KCQlta2RpciAiJGZzLy5z bmFwc2hvdCINCglmaQ0KDQoJIyBnZXQgbnVtYmVyIG9mIHNuYXBzaG90IGZp bGVzIGluIC5zbmFwc2hvdA0KCW51bT1gbHMgJGZzLy5zbmFwc2hvdCB8IGVn cmVwICJcLnNuYXAiIHwgd2MgLWxgDQoNCgkjIHVubGluayB0aGVtIGlmIHRo ZXJlIGFyZSBtb3JlIHRoYW4gMjANCglpZiBbICRudW0gLWdlIDIwIF07IHRo ZW4NCgkJbnVubGluaz0kKCggJG51bSAtIDE5ICkpDQoJCWVjaG8gInVubGlu a2luZyAkbnVubGluayBzbmFwc2hvdCBmaWxlcyINCgkJZm9yIHNmIGluIGBs cyAtdCAkZnMvLnNuYXBzaG90IHwgZWdyZXAgIi5zbmFwIiB8IHRhaWwgLSRu dW5saW5rYDsgZG8NCgkJCXNuYXBmaWxlPSIkZnMvLnNuYXBzaG90LyRzZiIN CgkJCXNkPWBlY2hvICRzZiB8IHNlZCAtZSBzL1wuc25hcC9zbmFwL2ANCgkJ CXNuYXBkaXI9IiRmcy8uc25hcHNob3QvJHNkIg0KCQkJbWQ9YG1vdW50IHwg ZWdyZXAgJHNkIHwgYXdrICd7IHByaW50ICQxIH0nIHwgc2VkIC1lIHMvLmRl di5tZC8vJ2ANCgkJCQ0KCQkJZWNobyAidW5tb3VudGluZyAkc25hcGRpciIN CgkJCXVtb3VudCAkc25hcGRpcg0KCQkJZWNobyAicmVtb3ZpbmcgJHNuYXBk aXIiDQoJCQlybWRpciAkc25hcGRpcg0KCQkJZWNobyAicmVtb3ZpbmcgL2Rl di9tZCRtZCINCgkJCW1kY29uZmlnIC1kIC11ICRtZA0KCQkJZWNobyAiZGVs ZXRpbmcgJHNuYXBmaWxlIg0KCQkJcm0gLWYgJHNuYXBmaWxlDQoJCWRvbmUN CglmaQ0KDQoJIyBkbyBhIHNuYXBzaG90DQoJZGF0ZT1gZGF0ZSArJVktJW0t JWQtJUg6JU06JVNgDQoJDQoJc25hcGZpbGU9IiRmcy8uc25hcHNob3QvLnNu YXAtJGRhdGUiDQoJc25hcGRpcj0iJGZzLy5zbmFwc2hvdC9zbmFwLSRkYXRl Ig0KDQoJZWNobyAibW91bnRpbmcgc25hcHNob3QgZmlsZSINCgltb3VudCAt dSAtbyBzbmFwc2hvdCAkc25hcGZpbGUgJGZzDQoNCgltZD0wDQoJd2hpbGUg WyAtZSAiL2Rldi9tZCRtZCIgXTsgZG8NCgkJbWQ9JCgoJG1kICsgMSkpDQoJ ZG9uZQ0KDQoJZWNobyAiY3JlYXRpbmcgL2Rldi9tZCRtZCINCg0KCW1kY29u ZmlnIC1hIC10IHZub2RlIC1mICRzbmFwZmlsZSAtdSAkbWQNCg0KCWVjaG8g ImNyZWF0aW5nICRzbmFwZGlyIg0KDQoJbWtkaXIgJHNuYXBkaXINCg0KCWVj aG8gIm1vdW50aW5nICRzbmFwZGlyIiANCg0KCW1vdW50IC1yIC9kZXYvbWQk bWQgJHNuYXBkaXINCg0KZG9uZQ0KDQoNCiMvLnNuYXBzaG90Ly5zbmFwLTIw MDItMDUtMDQtMjA6MDINCiMvLnNuYXBzaG90L3NuYXAtMjAwMi0wNS0wNC0y MDowMg0KDQo= --0-1892123504-1029620928=:1176 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="dmesg.out" Content-Transfer-Encoding: BASE64 Content-ID: <20020817144848.J1176@coredump.scriptkiddie.org> Content-Description: Content-Disposition: attachment; filename="dmesg.out" Q29weXJpZ2h0IChjKSAxOTkyLTIwMDIgVGhlIEZyZWVCU0QgUHJvamVjdC4N CkNvcHlyaWdodCAoYykgMTk3OSwgMTk4MCwgMTk4MywgMTk4NiwgMTk4OCwg MTk4OSwgMTk5MSwgMTk5MiwgMTk5MywgMTk5NA0KCVRoZSBSZWdlbnRzIG9m IHRoZSBVbml2ZXJzaXR5IG9mIENhbGlmb3JuaWEuIEFsbCByaWdodHMgcmVz ZXJ2ZWQuDQpGcmVlQlNEIDUuMC1DVVJSRU5UICMxMDogU3VuIEp1bCAyOCAx ODozMDozOSBQRFQgMjAwMg0KICAgIGxhbW9udEBjb3JlZHVtcC5zY3JpcHRr aWRkaWUub3JnOi91c3Ivb2JqL3Vzci9zcmMvc3lzL0NPUkVEVU1QDQpQcmVs b2FkZWQgZWxmIGtlcm5lbCAiL2Jvb3Qva2VybmVsL2tlcm5lbCIgYXQgMHhj MDQ3YjAwMC4NClByZWxvYWRlZCBlbGYgbW9kdWxlICIvYm9vdC9rZXJuZWwv YWNwaS5rbyIgYXQgMHhjMDQ3YjBhOC4NClRpbWVjb3VudGVyICJpODI1NCIg IGZyZXF1ZW5jeSAxMTkzMTgyIEh6DQpDUFU6IEFNRCBBdGhsb24oVE0pIFhQ IDE2MDArICgxNDAwLjA2LU1IeiA2ODYtY2xhc3MgQ1BVKQ0KICBPcmlnaW4g PSAiQXV0aGVudGljQU1EIiAgSWQgPSAweDY2MiAgU3RlcHBpbmcgPSAyDQog IEZlYXR1cmVzPTB4MzgzZmJmZjxGUFUsVk1FLERFLFBTRSxUU0MsTVNSLFBB RSxNQ0UsQ1g4LEFQSUMsU0VQLE1UUlIsUEdFLE1DQSxDTU9WLFBBVCxQU0Uz NixNTVgsRlhTUixTU0U+DQogIEFNRCBGZWF0dXJlcz0weGZmZmZmZmZmYzA0 ODAwMDA8TVAsQU1JRSxEU1AsM0ROb3chPg0KcmVhbCBtZW1vcnkgID0gNTM2 Nzg4OTkyICg1MjQyMDhLIGJ5dGVzKQ0KYXZhaWwgbWVtb3J5ID0gNTE1OTQ0 NDQ4ICg1MDM4NTJLIGJ5dGVzKQ0KUHJvZ3JhbW1pbmcgMjQgcGlucyBpbiBJ T0FQSUMgIzANCklPQVBJQyAjMCBpbnRwaW4gMiAtPiBpcnEgMA0KRnJlZUJT RC9TTVA6IE11bHRpcHJvY2Vzc29yIFN5c3RlbSBEZXRlY3RlZDogMiBDUFVz DQogY3B1MCAoQlNQKTogYXBpYyBpZDogIDAsIHZlcnNpb246IDB4MDAwNDAw MTAsIGF0IDB4ZmVlMDAwMDANCiBjcHUxIChBUCk6ICBhcGljIGlkOiAgMSwg dmVyc2lvbjogMHgwMDA0MDAxMCwgYXQgMHhmZWUwMDAwMA0KIGlvMCAoQVBJ Qyk6IGFwaWMgaWQ6ICAyLCB2ZXJzaW9uOiAweDAwMTcwMDExLCBhdCAweGZl YzAwMDAwDQpQZW50aXVtIFBybyBNVFJSIHN1cHBvcnQgZW5hYmxlZA0KVXNp bmcgJFBJUiB0YWJsZSwgOSBlbnRyaWVzIGF0IDB4YzAwZjEzNzANCm5weDA6 IDxtYXRoIHByb2Nlc3Nvcj4gb24gbW90aGVyYm9hcmQNCm5weDA6IElOVCAx NiBpbnRlcmZhY2UNCmFjcGkwOiA8QVNVUyAgIEE3TTI2Ni1EPiBvbiBtb3Ro ZXJib2FyZA0KYWNwaTA6IHBvd2VyIGJ1dHRvbiBpcyBoYW5kbGVkIGFzIGEg Zml4ZWQgZmVhdHVyZSBwcm9ncmFtbWluZyBtb2RlbC4NCmFjcGkwOiBzbGVl cCBidXR0b24gaXMgaGFuZGxlZCBhcyBhIGZpeGVkIGZlYXR1cmUgcHJvZ3Jh bW1pbmcgbW9kZWwuDQpUaW1lY291bnRlciAiQUNQSS1mYXN0IiAgZnJlcXVl bmN5IDM1Nzk1NDUgSHoNCmFjcGlfdGltZXIwOiA8MjQtYml0IHRpbWVyIGF0 IDMuNTc5NTQ1TUh6PiBwb3J0IDB4ZTQwOC0weGU0MGIgb24gYWNwaTANCmFj cGlfY3B1MDogPENQVT4gb24gYWNwaTANCmFjcGlfY3B1MTogPENQVT4gb24g YWNwaTANCmFjcGlfYnV0dG9uMDogPFBvd2VyIEJ1dHRvbj4gb24gYWNwaTAN CmFjcGlfcGNpYjA6IDxIb3N0LVBDSSBicmlkZ2U+IHBvcnQgMHhjZjgtMHhj ZmYgb24gYWNwaTANCnBjaTA6IDxQQ0kgYnVzPiBvbiBhY3BpX3BjaWIwDQpw Y2liMTogPFBDSS1QQ0kgYnJpZGdlPiBhdCBkZXZpY2UgMS4wIG9uIHBjaTAN CnBjaTE6IDxQQ0kgYnVzPiBvbiBwY2liMQ0KcGNpMTogPGRpc3BsYXksIFZH QT4gYXQgZGV2aWNlIDUuMCAobm8gZHJpdmVyIGF0dGFjaGVkKQ0KaXNhYjA6 IDxQQ0ktSVNBIGJyaWRnZT4gYXQgZGV2aWNlIDcuMCBvbiBwY2kwDQppc2Ew OiA8SVNBIGJ1cz4gb24gaXNhYjANCmF0YXBjaTA6IDxBTUQgNzY4IEFUQTEw MCBjb250cm9sbGVyPiBwb3J0IDB4ZDgwMC0weGQ4MGYgYXQgZGV2aWNlIDcu MSBvbiBwY2kwDQphdGEwOiBhdCAweDFmMCBpcnEgMTQgb24gYXRhcGNpMA0K YXRhMTogYXQgMHgxNzAgaXJxIDE1IG9uIGF0YXBjaTANCnBjaTA6IDxicmlk Z2UsIFBDSS11bmtub3duPiBhdCBkZXZpY2UgNy4zIChubyBkcml2ZXIgYXR0 YWNoZWQpDQphaGMwOiA8QWRhcHRlYyAzOTYwRCBVbHRyYTE2MCBTQ1NJIGFk YXB0ZXI+IHBvcnQgMHhkNDAwLTB4ZDRmZiBtZW0gMHhlZDgwMDAwMC0weGVk ODAwZmZmIGlycSAxMCBhdCBkZXZpY2UgOS4wIG9uIHBjaTANCmFpYzc4OTk6 IFVsdHJhMTYwIFdpZGUgQ2hhbm5lbCBBLCBTQ1NJIElkPTcsIDMyLzI1MyBT Q0JzDQphaGMxOiA8QWRhcHRlYyAzOTYwRCBVbHRyYTE2MCBTQ1NJIGFkYXB0 ZXI+IHBvcnQgMHhkMDAwLTB4ZDBmZiBtZW0gMHhlZDAwMDAwMC0weGVkMDAw ZmZmIGlycSA1IGF0IGRldmljZSA5LjEgb24gcGNpMA0KYWljNzg5OTogVWx0 cmExNjAgV2lkZSBDaGFubmVsIEIsIFNDU0kgSWQ9NywgMzIvMjUzIFNDQnMN CnBjaWIyOiA8UENJLVBDSSBicmlkZ2U+IGF0IGRldmljZSAxNi4wIG9uIHBj aTANCnBjaTI6IDxQQ0kgYnVzPiBvbiBwY2liMg0KZnhwMDogPEludGVsIFBy byAxMC8xMDBCLzEwMCsgRXRoZXJuZXQ+IHBvcnQgMHhiODAwLTB4YjgzZiBt ZW0gMHhlYjgwMDAwMC0weGViOGZmZmZmLDB4ZWMwMDAwMDAtMHhlYzAwMGZm ZiBpcnEgMTAgYXQgZGV2aWNlIDYuMCBvbiBwY2kyDQpmeHAwOiBFdGhlcm5l dCBhZGRyZXNzIDAwOjkwOjI3OmJjOjA5Ojk1DQppbnBoeTA6IDxpODI1NTUg MTAvMTAwIG1lZGlhIGludGVyZmFjZT4gb24gbWlpYnVzMA0KaW5waHkwOiAg MTBiYXNlVCwgMTBiYXNlVC1GRFgsIDEwMGJhc2VUWCwgMTAwYmFzZVRYLUZE WCwgYXV0bw0KcGNpMjogPG11bHRpbWVkaWEsIGF1ZGlvPiBhdCBkZXZpY2Ug OC4wIChubyBkcml2ZXIgYXR0YWNoZWQpDQpwY2kyOiA8aW5wdXQgZGV2aWNl PiBhdCBkZXZpY2UgOC4xIChubyBkcml2ZXIgYXR0YWNoZWQpDQpwcGMwIHBv cnQgMHg3NzgtMHg3N2YsMHgzNzgtMHgzN2YgaXJxIDcgZHJxIDMgb24gYWNw aTANCnBwYzA6IFNNQy1saWtlIGNoaXBzZXQgKEVDUC9FUFAvUFMyL05JQkJM RSkgaW4gQ09NUEFUSUJMRSBtb2RlDQpwcGMwOiBGSUZPIHdpdGggMTYvMTYv OSBieXRlcyB0aHJlc2hvbGQNCnBsaXAwOiA8UExJUCBuZXR3b3JrIGludGVy ZmFjZT4gb24gcHBidXMwDQpscHQwOiA8UHJpbnRlcj4gb24gcHBidXMwDQps cHQwOiBJbnRlcnJ1cHQtZHJpdmVuIHBvcnQNCnBwaTA6IDxQYXJhbGxlbCBJ L08+IG9uIHBwYnVzMA0Kc2lvMCBwb3J0IDB4M2Y4LTB4M2ZmIGlycSA0IG9u IGFjcGkwDQpzaW8wOiB0eXBlIDE2NTUwQQ0Kc2lvMSBwb3J0IDB4MmY4LTB4 MmZmIGlycSAzIG9uIGFjcGkwDQpzaW8xOiB0eXBlIDE2NTUwQQ0KYXRrYmRj MDogPEtleWJvYXJkIGNvbnRyb2xsZXIgKGk4MDQyKT4gcG9ydCAweDY0LDB4 NjAgaXJxIDEgb24gYWNwaTANCmF0a2JkMDogPEFUIEtleWJvYXJkPiBmbGFn cyAweDEgaXJxIDEgb24gYXRrYmRjMA0Ka2JkMCBhdCBhdGtiZDANCnBzbTA6 IDxQUy8yIE1vdXNlPiBpcnEgMTIgb24gYXRrYmRjMA0KcHNtMDogbW9kZWwg SW50ZWxsaU1vdXNlIEV4cGxvcmVyLCBkZXZpY2UgSUQgNA0Kb3JtMDogPE9w dGlvbiBST01zPiBhdCBpb21lbSAweGQ4MDAwLTB4ZDhmZmYsMHhjMDAwMC0w eGNjN2ZmIG9uIGlzYTANCmZkYzA6IGNhbm5vdCByZXNlcnZlIEkvTyBwb3J0 IHJhbmdlICg2IHBvcnRzKQ0KcG10aW1lcjAgb24gaXNhMA0Kc2MwOiA8U3lz dGVtIGNvbnNvbGU+IGF0IGZsYWdzIDB4MTAwIG9uIGlzYTANCnNjMDogVkdB IDwxNiB2aXJ0dWFsIGNvbnNvbGVzLCBmbGFncz0weDMwMD4NCnZnYTA6IDxH ZW5lcmljIElTQSBWR0E+IGF0IHBvcnQgMHgzYzAtMHgzZGYgaW9tZW0gMHhh MDAwMC0weGJmZmZmIG9uIGlzYTANClRpbWVjb3VudGVycyB0aWNrIGV2ZXJ5 IDEwLjAwMCBtc2VjDQpBUElDX0lPOiBUZXN0aW5nIDgyNTQgaW50ZXJydXB0 IGRlbGl2ZXJ5DQpBUElDX0lPOiByb3V0aW5nIDgyNTQgdmlhIElPQVBJQyAj MCBpbnRwaW4gMg0KYWNwaV9jcHU6IENQVSB0aHJvdHRsaW5nIGVuYWJsZWQs IDIgc3RlcHMgZnJvbSAxMDAlIHRvIDUwLjAlDQphZDA6IDEyOTQ5TUIgPElC TS1ESk5BLTM3MTM1MD4gWzI2MzEwLzE2LzYzXSBhdCBhdGEwLW1hc3RlciBV RE1BNjYNCmFjZDA6IERWRC1ST00gPENSRUFUSVZFRFZEODQwMEU+IGF0IGF0 YTEtbWFzdGVyIFBJTzQNCk1vdW50aW5nIHJvb3QgZnJvbSB1ZnM6L2Rldi9h ZDBzMWENClNNUDogQVAgQ1BVICMxIExhdW5jaGVkIQ0KY2QwIGF0IGFoYzAg YnVzIDAgdGFyZ2V0IDQgbHVuIDANCmNkMDogPFBMRVhUT1IgQ0QtUiAgIFBY LVcxMjEwUyAxLjAxPiBSZW1vdmFibGUgQ0QtUk9NIFNDU0ktMiBkZXZpY2Ug DQpjZDA6IDIwLjAwME1CL3MgdHJhbnNmZXJzICgyMC4wMDBNSHosIG9mZnNl dCAxNikNCmNkMDogQXR0ZW1wdCB0byBxdWVyeSBkZXZpY2Ugc2l6ZSBmYWls ZWQ6IE5PVCBSRUFEWSwgTWVkaXVtIG5vdCBwcmVzZW50IC0gdHJheSBjbG9z ZWQNCmRhMCBhdCBhaGMwIGJ1cyAwIHRhcmdldCAwIGx1biAwDQpkYTA6IDxT RUFHQVRFIFNUMzM2NzA0TFcgMDAwND4gRml4ZWQgRGlyZWN0IEFjY2VzcyBT Q1NJLTMgZGV2aWNlIA0KZGEwOiA0MC4wMDBNQi9zIHRyYW5zZmVycyAoMjAu MDAwTUh6LCBvZmZzZXQgNjMsIDE2Yml0KSwgVGFnZ2VkIFF1ZXVlaW5nIEVu YWJsZWQNCmRhMDogMzUwMDNNQiAoNzE2ODczNjkgNTEyIGJ5dGUgc2VjdG9y czogMjU1SCA2M1MvVCA0NDYyQykNCi91c3Ivc3JjL3N5cy92bS91bWFfY29y ZS5jOjEzMzI6IGNvdWxkIHNsZWVwIHdpdGggInByb2Nlc3MgbG9jayIgbG9j a2VkIGZyb20gL3Vzci9zcmMvc3lzL2tlcm4va2Vybl9leGVjLmM6MzM2DQps b2NrIG9yZGVyIHJldmVyc2FsDQogMXN0IDB4YzQ0OGMxNjAgcHJvY2VzcyBs b2NrIChwcm9jZXNzIGxvY2spIEAgL3Vzci9zcmMvc3lzL2tlcm4va2Vybl9l eGVjLmM6MzM2DQogMm5kIDB4YzAzNDg2YTAgZmlsZWxpc3QgbG9jayAoZmls ZWxpc3QgbG9jaykgQCAvdXNyL3NyYy9zeXMva2Vybi9rZXJuX2Rlc2NyaXAu YzoxMTExDQovdXNyL3NyYy9zeXMvdm0vdW1hX2NvcmUuYzoxMzMyOiBjb3Vs ZCBzbGVlcCB3aXRoICJwcm9jZXNzIGxvY2siIGxvY2tlZCBmcm9tIC91c3Iv c3JjL3N5cy9rZXJuL2tlcm5fZXhlYy5jOjMzNg0K --0-1892123504-1029620928=:1176-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Aug 17 16:47: 2 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D136E37B400; Sat, 17 Aug 2002 16:47:00 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id D073243E75; Sat, 17 Aug 2002 16:46:51 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id g7HNkZQe011230; Sat, 17 Aug 2002 17:46:36 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 17 Aug 2002 17:45:46 -0600 (MDT) Message-Id: <20020817.174546.76176639.imp@bsdimp.com> To: phk@FreeBSD.ORG Cc: current@FreeBSD.ORG Subject: Re: Kernel Makefile bogon... From: "M. Warner Losh" In-Reply-To: <37542.1029231980@critter.freebsd.dk> References: <37542.1029231980@critter.freebsd.dk> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <37542.1029231980@critter.freebsd.dk> Poul-Henning Kamp writes: : : The final make in this script fails, I don't think it should. : : #!/bin/sh : set -ex : rm -rf /usr/src/sys/i386/compile/GENERIC : cd /usr/src/sys/i386/conf : config GENERIC : cd ../compile/GENERIC : make depend > _.m.0.d 2>&1 : make > _.m.1 2>&1 : make clean > _.m.2.c 2>&1 : make : echo "SUCCESS" : : The error is included below. If I run "make depend" it works, but that : should not be needed after a "make clean". Some dependencies must : be missing somewhere. Yes. This was broken about 3 years ago, and no one had cared enough to fix this case. After a make clean, you must do a make depend. Definitely a bug. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Aug 17 18:55:48 2002 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id 7B25537B400; Sat, 17 Aug 2002 18:55:45 -0700 (PDT) Date: Sat, 17 Aug 2002 18:55:45 -0700 From: Juli Mallett To: "M. Warner Losh" Cc: phk@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: Kernel Makefile bogon... Message-ID: <20020817185545.A20898@FreeBSD.org> References: <37542.1029231980@critter.freebsd.dk> <20020817.174546.76176639.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020817.174546.76176639.imp@bsdimp.com>; from imp@bsdimp.com on Sat, Aug 17, 2002 at 05:45:46PM -0600 Organisation: The FreeBSD Project X-Alternate-Addresses: , , , , X-Towel: Yes X-LiveJournal: flata, jmallett X-Negacore: Yes Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * De: "M. Warner Losh" [ Data: 2002-08-17 ] [ Subjecte: Re: Kernel Makefile bogon... ] > In message: <37542.1029231980@critter.freebsd.dk> > Poul-Henning Kamp writes: > : > : The final make in this script fails, I don't think it should. > : > : #!/bin/sh > : set -ex > : rm -rf /usr/src/sys/i386/compile/GENERIC > : cd /usr/src/sys/i386/conf > : config GENERIC > : cd ../compile/GENERIC > : make depend > _.m.0.d 2>&1 > : make > _.m.1 2>&1 > : make clean > _.m.2.c 2>&1 > : make > : echo "SUCCESS" > : > : The error is included below. If I run "make depend" it works, but that > : should not be needed after a "make clean". Some dependencies must > : be missing somewhere. > > Yes. This was broken about 3 years ago, and no one had cared enough > to fix this case. After a make clean, you must do a make depend. > Definitely a bug. Anyone have logs for what works, and what doesn't, and diff -bdwu? Should be easy to find the first thing that isn't being done, and work from there. I'd volunteer to give it a go, but our FreeBSD box hasn't made it across country just yet. -- Juli Mallett | FreeBSD: The Power To Serve Will break world for fulltime employment. | finger jmallett@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Aug 17 20: 2:54 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A1B837B401 for ; Sat, 17 Aug 2002 20:02:52 -0700 (PDT) Received: from espresso.q9media.com (espresso.q9media.com [65.39.129.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 778C243E6A for ; Sat, 17 Aug 2002 20:02:51 -0700 (PDT) (envelope-from des@sparc64.style9.org) Received: from bowie.private (d141-197-208.home.cgocable.net [24.141.197.208]) by espresso.q9media.com (Postfix) with ESMTP id 355DD9E57 for ; Sat, 17 Aug 2002 22:57:24 -0400 (EDT) Received: from bowie.private (localhost [127.0.0.1]) by bowie.private (8.12.5/8.12.5) with ESMTP id g7HN0Tap018797 for ; Sat, 17 Aug 2002 23:00:29 GMT (envelope-from des@bowie.private) Received: (from des@localhost) by bowie.private (8.12.5/8.12.5/Submit) id g7HN0TPr018795 for current@freebsd.org; Sat, 17 Aug 2002 23:00:29 GMT Date: Sat, 17 Aug 2002 23:00:29 GMT From: Dag-Erling Smorgrav Message-Id: <200208172300.g7HN0TPr018795@bowie.private> To: current@freebsd.org Subject: sparc64 tinderbox failure Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- >>> stage 2: cleaning up the object tree -------------------------------------------------------------- >>> stage 2: rebuilding the object tree -------------------------------------------------------------- >>> stage 2: build tools -------------------------------------------------------------- >>> stage 3: cross tools -------------------------------------------------------------- >>> stage 4: populating /home/des/tinderbox/sparc64/obj/usr/home/des/tinderbox/sparc64/src/sparc64/usr/include -------------------------------------------------------------- >>> stage 4: building libraries -------------------------------------------------------------- >>> stage 4: make dependencies -------------------------------------------------------------- >>> stage 4: building everything.. -------------------------------------------------------------- ===> sbin/nfsiod cc1: warnings being treated as errors In file included from /home/des/tinderbox/sparc64/obj/usr/home/des/tinderbox/sparc64/src/sparc64/usr/include/sys/signal.h:165, from /home/des/tinderbox/sparc64/obj/usr/home/des/tinderbox/sparc64/src/sparc64/usr/include/sys/param.h:101, from /usr/home/des/tinderbox/sparc64/src/sbin/nfsiod/nfsiod.c:51: /home/des/tinderbox/sparc64/obj/usr/home/des/tinderbox/sparc64/src/sparc64/usr/include/machine/signal.h:50: warning: struct has no members /home/des/tinderbox/sparc64/obj/usr/home/des/tinderbox/sparc64/src/sparc64/usr/include/machine/signal.h:53: warning: struct has no members *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src/sbin/nfsiod. *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src/sbin. *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src. *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src. *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Aug 17 20: 3: 1 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A9E337B405 for ; Sat, 17 Aug 2002 20:02:53 -0700 (PDT) Received: from espresso.q9media.com (espresso.q9media.com [65.39.129.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A37343E65 for ; Sat, 17 Aug 2002 20:02:52 -0700 (PDT) (envelope-from des@sparc64.style9.org) Received: from bowie.private (d141-197-208.home.cgocable.net [24.141.197.208]) by espresso.q9media.com (Postfix) with ESMTP id ECC6C9E59 for ; Sat, 17 Aug 2002 22:57:24 -0400 (EDT) Received: from bowie.private (localhost [127.0.0.1]) by bowie.private (8.12.5/8.12.5) with ESMTP id g7HB4Nap032035 for ; Sat, 17 Aug 2002 11:04:23 GMT (envelope-from des@bowie.private) Received: (from des@localhost) by bowie.private (8.12.5/8.12.5/Submit) id g7HB4NDS032033 for current@freebsd.org; Sat, 17 Aug 2002 11:04:23 GMT Date: Sat, 17 Aug 2002 11:04:23 GMT From: Dag-Erling Smorgrav Message-Id: <200208171104.g7HB4NDS032033@bowie.private> To: current@freebsd.org Subject: sparc64 tinderbox failure Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- >>> stage 2: cleaning up the object tree -------------------------------------------------------------- >>> stage 2: rebuilding the object tree -------------------------------------------------------------- >>> stage 2: build tools -------------------------------------------------------------- >>> stage 3: cross tools -------------------------------------------------------------- >>> stage 4: populating /home/des/tinderbox/sparc64/obj/usr/home/des/tinderbox/sparc64/src/sparc64/usr/include -------------------------------------------------------------- >>> stage 4: building libraries -------------------------------------------------------------- >>> stage 4: make dependencies -------------------------------------------------------------- >>> stage 4: building everything.. -------------------------------------------------------------- ===> sbin/nfsiod cc1: warnings being treated as errors In file included from /home/des/tinderbox/sparc64/obj/usr/home/des/tinderbox/sparc64/src/sparc64/usr/include/sys/signal.h:165, from /home/des/tinderbox/sparc64/obj/usr/home/des/tinderbox/sparc64/src/sparc64/usr/include/sys/param.h:101, from /usr/home/des/tinderbox/sparc64/src/sbin/nfsiod/nfsiod.c:51: /home/des/tinderbox/sparc64/obj/usr/home/des/tinderbox/sparc64/src/sparc64/usr/include/machine/signal.h:50: warning: struct has no members /home/des/tinderbox/sparc64/obj/usr/home/des/tinderbox/sparc64/src/sparc64/usr/include/machine/signal.h:53: warning: struct has no members *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src/sbin/nfsiod. *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src/sbin. *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src. *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src. *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Aug 17 20: 3: 8 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B75EF37B400 for ; Sat, 17 Aug 2002 20:02:53 -0700 (PDT) Received: from espresso.q9media.com (espresso.q9media.com [65.39.129.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9ED2643E70 for ; Sat, 17 Aug 2002 20:02:52 -0700 (PDT) (envelope-from des@sparc64.style9.org) Received: from bowie.private (d141-197-208.home.cgocable.net [24.141.197.208]) by espresso.q9media.com (Postfix) with ESMTP id A74099E5B for ; Sat, 17 Aug 2002 22:57:25 -0400 (EDT) Received: from bowie.private (localhost [127.0.0.1]) by bowie.private (8.12.5/8.12.5) with ESMTP id g7GN1qap044904 for ; Fri, 16 Aug 2002 23:01:52 GMT (envelope-from des@bowie.private) Received: (from des@localhost) by bowie.private (8.12.5/8.12.5/Submit) id g7GN1q3H044902 for current@freebsd.org; Fri, 16 Aug 2002 23:01:52 GMT Date: Fri, 16 Aug 2002 23:01:52 GMT From: Dag-Erling Smorgrav Message-Id: <200208162301.g7GN1q3H044902@bowie.private> To: current@freebsd.org Subject: sparc64 tinderbox failure Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- >>> stage 2: cleaning up the object tree -------------------------------------------------------------- >>> stage 2: rebuilding the object tree -------------------------------------------------------------- >>> stage 2: build tools -------------------------------------------------------------- >>> stage 3: cross tools -------------------------------------------------------------- >>> stage 4: populating /home/des/tinderbox/sparc64/obj/usr/home/des/tinderbox/sparc64/src/sparc64/usr/include -------------------------------------------------------------- >>> stage 4: building libraries -------------------------------------------------------------- >>> stage 4: make dependencies -------------------------------------------------------------- >>> stage 4: building everything.. -------------------------------------------------------------- ===> sbin/nfsiod cc1: warnings being treated as errors In file included from /home/des/tinderbox/sparc64/obj/usr/home/des/tinderbox/sparc64/src/sparc64/usr/include/sys/signal.h:165, from /home/des/tinderbox/sparc64/obj/usr/home/des/tinderbox/sparc64/src/sparc64/usr/include/sys/param.h:101, from /usr/home/des/tinderbox/sparc64/src/sbin/nfsiod/nfsiod.c:51: /home/des/tinderbox/sparc64/obj/usr/home/des/tinderbox/sparc64/src/sparc64/usr/include/machine/signal.h:50: warning: struct has no members /home/des/tinderbox/sparc64/obj/usr/home/des/tinderbox/sparc64/src/sparc64/usr/include/machine/signal.h:53: warning: struct has no members *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src/sbin/nfsiod. *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src/sbin. *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src. *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src. *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Aug 17 20: 3:11 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDCEF37B408 for ; Sat, 17 Aug 2002 20:02:54 -0700 (PDT) Received: from espresso.q9media.com (espresso.q9media.com [65.39.129.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB62743E65 for ; Sat, 17 Aug 2002 20:02:53 -0700 (PDT) (envelope-from des@sparc64.style9.org) Received: from bowie.private (d141-197-208.home.cgocable.net [24.141.197.208]) by espresso.q9media.com (Postfix) with ESMTP id 5E7C69E5D for ; Sat, 17 Aug 2002 22:57:26 -0400 (EDT) Received: from bowie.private (localhost [127.0.0.1]) by bowie.private (8.12.5/8.12.5) with ESMTP id g7GA18ap058019 for ; Fri, 16 Aug 2002 10:01:08 GMT (envelope-from des@bowie.private) Received: (from des@localhost) by bowie.private (8.12.5/8.12.5/Submit) id g7GA18uC058017 for current@freebsd.org; Fri, 16 Aug 2002 10:01:08 GMT Date: Fri, 16 Aug 2002 10:01:08 GMT From: Dag-Erling Smorgrav Message-Id: <200208161001.g7GA18uC058017@bowie.private> To: current@freebsd.org Subject: sparc64 tinderbox failure Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- >>> stage 2: cleaning up the object tree -------------------------------------------------------------- >>> stage 2: rebuilding the object tree -------------------------------------------------------------- >>> stage 2: build tools -------------------------------------------------------------- >>> stage 3: cross tools -------------------------------------------------------------- >>> stage 4: populating /home/des/tinderbox/sparc64/obj/usr/home/des/tinderbox/sparc64/src/sparc64/usr/include -------------------------------------------------------------- >>> stage 4: building libraries -------------------------------------------------------------- >>> stage 4: make dependencies -------------------------------------------------------------- >>> stage 4: building everything.. -------------------------------------------------------------- ===> games/grdc cc1: warnings being treated as errors In file included from /home/des/tinderbox/sparc64/obj/usr/home/des/tinderbox/sparc64/src/sparc64/usr/include/ncurses.h:112, from /usr/home/des/tinderbox/sparc64/src/games/grdc/grdc.c:15: /home/des/tinderbox/sparc64/obj/usr/home/des/tinderbox/sparc64/src/sparc64/usr/include/stdbool.h:41: warning: useless keyword or type name in empty declaration /home/des/tinderbox/sparc64/obj/usr/home/des/tinderbox/sparc64/src/sparc64/usr/include/stdbool.h:41: warning: empty declaration *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src/games/grdc. *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src/games. *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src. *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src. *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Aug 17 20: 3:19 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA5AA37B406 for ; Sat, 17 Aug 2002 20:02:54 -0700 (PDT) Received: from espresso.q9media.com (espresso.q9media.com [65.39.129.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2694D43E70 for ; Sat, 17 Aug 2002 20:02:54 -0700 (PDT) (envelope-from des@sparc64.style9.org) Received: from bowie.private (d141-197-208.home.cgocable.net [24.141.197.208]) by espresso.q9media.com (Postfix) with ESMTP id 20F849E5F for ; Sat, 17 Aug 2002 22:57:27 -0400 (EDT) Received: from bowie.private (localhost [127.0.0.1]) by bowie.private (8.12.5/8.12.5) with ESMTP id g7FM0Uap079712 for ; Thu, 15 Aug 2002 22:00:31 GMT (envelope-from des@bowie.private) Received: (from des@localhost) by bowie.private (8.12.5/8.12.5/Submit) id g7FM0UcF079710 for current@freebsd.org; Thu, 15 Aug 2002 22:00:30 GMT Date: Thu, 15 Aug 2002 22:00:30 GMT From: Dag-Erling Smorgrav Message-Id: <200208152200.g7FM0UcF079710@bowie.private> To: current@freebsd.org Subject: sparc64 tinderbox failure Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- >>> stage 2: cleaning up the object tree -------------------------------------------------------------- >>> stage 2: rebuilding the object tree -------------------------------------------------------------- >>> stage 2: build tools -------------------------------------------------------------- >>> stage 3: cross tools -------------------------------------------------------------- >>> stage 4: populating /home/des/tinderbox/sparc64/obj/usr/home/des/tinderbox/sparc64/src/sparc64/usr/include -------------------------------------------------------------- >>> stage 4: building libraries -------------------------------------------------------------- >>> stage 4: make dependencies -------------------------------------------------------------- >>> stage 4: building everything.. -------------------------------------------------------------- ===> games/grdc cc1: warnings being treated as errors In file included from /home/des/tinderbox/sparc64/obj/usr/home/des/tinderbox/sparc64/src/sparc64/usr/include/ncurses.h:112, from /usr/home/des/tinderbox/sparc64/src/games/grdc/grdc.c:15: /home/des/tinderbox/sparc64/obj/usr/home/des/tinderbox/sparc64/src/sparc64/usr/include/stdbool.h:41: warning: useless keyword or type name in empty declaration /home/des/tinderbox/sparc64/obj/usr/home/des/tinderbox/sparc64/src/sparc64/usr/include/stdbool.h:41: warning: empty declaration *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src/games/grdc. *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src/games. *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src. *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src. *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Aug 17 20: 3:24 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB4AE37B40D for ; Sat, 17 Aug 2002 20:02:56 -0700 (PDT) Received: from espresso.q9media.com (espresso.q9media.com [65.39.129.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAD8543E7B for ; Sat, 17 Aug 2002 20:02:55 -0700 (PDT) (envelope-from des@sparc64.style9.org) Received: from bowie.private (d141-197-208.home.cgocable.net [24.141.197.208]) by espresso.q9media.com (Postfix) with ESMTP id DB5429E64 for ; Sat, 17 Aug 2002 22:57:28 -0400 (EDT) Received: from bowie.private (localhost [127.0.0.1]) by bowie.private (8.12.5/8.12.5) with ESMTP id g7EBAXap098133 for ; Wed, 14 Aug 2002 11:10:33 GMT (envelope-from des@bowie.private) Received: (from des@localhost) by bowie.private (8.12.5/8.12.5/Submit) id g7EBAWe6098131 for current@freebsd.org; Wed, 14 Aug 2002 11:10:32 GMT Date: Wed, 14 Aug 2002 11:10:32 GMT From: Dag-Erling Smorgrav Message-Id: <200208141110.g7EBAWe6098131@bowie.private> To: current@freebsd.org Subject: sparc64 tinderbox failure Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- >>> stage 2: cleaning up the object tree -------------------------------------------------------------- >>> stage 2: rebuilding the object tree -------------------------------------------------------------- >>> stage 2: build tools -------------------------------------------------------------- >>> stage 3: cross tools -------------------------------------------------------------- >>> stage 4: populating /home/des/tinderbox/sparc64/obj/usr/home/des/tinderbox/sparc64/src/sparc64/usr/include -------------------------------------------------------------- >>> stage 4: building libraries -------------------------------------------------------------- >>> stage 4: make dependencies -------------------------------------------------------------- >>> stage 4: building everything.. -------------------------------------------------------------- ===> share/colldef *** Signal 11 Stop in /usr/home/des/tinderbox/sparc64/src/share/colldef. *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src/share. *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src. *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src. *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Aug 17 20: 3:32 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FB9437B42F for ; Sat, 17 Aug 2002 20:02:57 -0700 (PDT) Received: from espresso.q9media.com (espresso.q9media.com [65.39.129.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E98B43E81 for ; Sat, 17 Aug 2002 20:02:56 -0700 (PDT) (envelope-from des@sparc64.style9.org) Received: from bowie.private (d141-197-208.home.cgocable.net [24.141.197.208]) by espresso.q9media.com (Postfix) with ESMTP id 94E1D9E66 for ; Sat, 17 Aug 2002 22:57:29 -0400 (EDT) Received: from bowie.private (localhost [127.0.0.1]) by bowie.private (8.12.5/8.12.5) with ESMTP id g7DJLOap009920 for ; Tue, 13 Aug 2002 19:21:24 GMT (envelope-from des@bowie.private) Received: (from des@localhost) by bowie.private (8.12.5/8.12.5/Submit) id g7DJKnXZ009918 for current@freebsd.org; Tue, 13 Aug 2002 19:20:49 GMT Date: Tue, 13 Aug 2002 19:20:49 GMT From: Dag-Erling Smorgrav Message-Id: <200208131920.g7DJKnXZ009918@bowie.private> To: current@freebsd.org Subject: sparc64 tinderbox failure Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- >>> stage 2: cleaning up the object tree -------------------------------------------------------------- ===> lib/libc "/usr/home/des/tinderbox/sparc64/src/share/mk/bsd.man.mk", line 4: if-less else "/usr/home/des/tinderbox/sparc64/src/share/mk/bsd.man.mk", line 4: Need an operator "/usr/home/des/tinderbox/sparc64/src/share/mk/bsd.man.mk", line 6: if-less endif "/usr/home/des/tinderbox/sparc64/src/share/mk/bsd.man.mk", line 6: Need an operator "/usr/home/des/tinderbox/sparc64/src/share/mk/bsd.man.mk", line 19: Need an operator "/usr/home/des/tinderbox/sparc64/src/share/mk/bsd.man.mk", line 20: if-less endif "/usr/home/des/tinderbox/sparc64/src/share/mk/bsd.man.mk", line 20: Need an operator "/usr/home/des/tinderbox/sparc64/src/share/mk/bsd.man.mk", line 157: if-less endif "/usr/home/des/tinderbox/sparc64/src/share/mk/bsd.man.mk", line 157: Need an operator "/usr/home/des/tinderbox/sparc64/src/share/mk/bsd.man.mk", line 159: if-less endif "/usr/home/des/tinderbox/sparc64/src/share/mk/bsd.man.mk", line 159: Need an operator "/usr/home/des/tinderbox/sparc64/src/share/mk/bsd.man.mk", line 250: if-less endif "/usr/home/des/tinderbox/sparc64/src/share/mk/bsd.man.mk", line 250: Need an operator "/usr/home/des/tinderbox/sparc64/src/share/mk/bsd.lib.mk", line 320: if-less endif "/usr/home/des/tinderbox/sparc64/src/share/mk/bsd.lib.mk", line 320: Need an operator make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src/lib. *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src. *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src. *** Error code 1 Stop in /usr/home/des/tinderbox/sparc64/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Aug 17 20:48:52 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 071ED37B400; Sat, 17 Aug 2002 20:48:50 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37E8343E6A; Sat, 17 Aug 2002 20:48:45 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id g7I3mcFl000269; Sat, 17 Aug 2002 21:48:38 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 17 Aug 2002 21:47:40 -0600 (MDT) Message-Id: <20020817.214740.112601018.imp@bsdimp.com> To: jmallett@FreeBSD.ORG Cc: phk@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: Kernel Makefile bogon... From: "M. Warner Losh" In-Reply-To: <20020817185545.A20898@FreeBSD.org> References: <37542.1029231980@critter.freebsd.dk> <20020817.174546.76176639.imp@bsdimp.com> <20020817185545.A20898@FreeBSD.org> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <20020817185545.A20898@FreeBSD.org> Juli Mallett writes: : * De: "M. Warner Losh" [ Data: 2002-08-17 ] : [ Subjecte: Re: Kernel Makefile bogon... ] : > In message: <37542.1029231980@critter.freebsd.dk> : > Poul-Henning Kamp writes: : > : : > : The final make in this script fails, I don't think it should. : > : : > : #!/bin/sh : > : set -ex : > : rm -rf /usr/src/sys/i386/compile/GENERIC : > : cd /usr/src/sys/i386/conf : > : config GENERIC : > : cd ../compile/GENERIC : > : make depend > _.m.0.d 2>&1 : > : make > _.m.1 2>&1 : > : make clean > _.m.2.c 2>&1 : > : make : > : echo "SUCCESS" : > : : > : The error is included below. If I run "make depend" it works, but that : > : should not be needed after a "make clean". Some dependencies must : > : be missing somewhere. : > : > Yes. This was broken about 3 years ago, and no one had cared enough : > to fix this case. After a make clean, you must do a make depend. : > Definitely a bug. : : Anyone have logs for what works, and what doesn't, and diff -bdwu? Should : be easy to find the first thing that isn't being done, and work from there. : I'd volunteer to give it a go, but our FreeBSD box hasn't made it across : country just yet. bde has done much of this already, and has some patches. It isn't that simple... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sat Aug 17 21:55:24 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3510337B400 for ; Sat, 17 Aug 2002 21:55:23 -0700 (PDT) Received: from optima-hyper.com (s2.optima-inc.us [12.111.39.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BE0843E42 for ; Sat, 17 Aug 2002 21:55:22 -0700 (PDT) (envelope-from yuri@tsoft.com) Received: from s1.optima-inc.us (s1 [12.111.39.155]) by optima-hyper.com (8.12.5/8.12.2) with ESMTP id g7I4tDDI017453 for ; Sun, 18 Aug 2002 00:55:13 -0400 (EDT) Received: from tsoft.com (localhost [127.0.0.1]) by s1.optima-inc.us (8.12.5/8.12.2) with ESMTP id g7I4tFwe001018 for ; Sun, 18 Aug 2002 00:55:16 -0400 (EDT) Message-ID: <3D5F28BF.EE86E5AB@tsoft.com> Date: Sun, 18 Aug 2002 00:55:27 -0400 From: Yuri Victorovich X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: "current@FreeBSD.ORG" Subject: libwrap bug? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Is it a bug that function "sock_host" is declared sock_host() in /usr/include/tcpd.h but defined as sock_host(struct request_info *) in /usr/src/contrib/tcp_wrappers/socket.c ? Good question also why compiler passes this and doesn't issue even a warning when I call it with the argument. MySQL on Alpha gives "unaligned access..." error because they use it w/out an argument and actual libwrap expects an argument. Yuri. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message