From owner-freebsd-bugs Sun Jul 26 01:05:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA23356 for freebsd-bugs-outgoing; Sun, 26 Jul 1998 01:05:46 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from critter.freebsd.dk (critter.freebsd.dk [195.8.133.1] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA23348; Sun, 26 Jul 1998 01:05:36 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.5) with ESMTP id KAA01920; Sun, 26 Jul 1998 10:02:20 +0200 (CEST) To: dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= ) cc: freebsd-bugs@FreeBSD.ORG, freebsd-gnats-submit@FreeBSD.ORG Subject: Re: bin/7393: du throws SIGSEGV whenever '-c' option is used (at du.c:226) In-reply-to: Your message of "Sat, 25 Jul 1998 14:10:01 PDT." <199807252110.OAA10488@freefall.freebsd.org> Date: Sun, 26 Jul 1998 10:02:19 +0200 Message-ID: <1918.901440139@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > du.c:224 > > if (cflag) { > > p = savedp->fts_parent; > > (void) printf("%ld\ttotal\n", howmany(p->fts_number, blocksize)); > > } > > > > > > (gdb) display *savedp > > 3: *savedp = { > > fts_cycle = 0xd0d0d0d0, > > fts_parent = 0xd0d0d0d0, > > fts_link = 0xd0d0d0d0, > > [...] > > This FTSENT is quite obviously totally fubar. This looks like malloc(3) usage mistake and a phkmalloc with the 'J' flag. Try to run it with electric fence or similar. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." "ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jul 26 01:10:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA23641 for freebsd-bugs-outgoing; Sun, 26 Jul 1998 01:10:55 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA23636 for ; Sun, 26 Jul 1998 01:10:54 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id BAA21940; Sun, 26 Jul 1998 01:10:01 -0700 (PDT) Date: Sun, 26 Jul 1998 01:10:01 -0700 (PDT) Message-Id: <199807260810.BAA21940@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Poul-Henning Kamp Subject: Re: bin/7393: du throws SIGSEGV whenever '-c' option is used (at du.c:226) Reply-To: Poul-Henning Kamp Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/7393; it has been noted by GNATS. From: Poul-Henning Kamp To: dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= ) Cc: freebsd-bugs@FreeBSD.ORG, freebsd-gnats-submit@FreeBSD.ORG Subject: Re: bin/7393: du throws SIGSEGV whenever '-c' option is used (at du.c:226) Date: Sun, 26 Jul 1998 10:02:19 +0200 > > du.c:224 > > if (cflag) { > > p = savedp->fts_parent; > > (void) printf("%ld\ttotal\n", howmany(p->fts_number, blocksize)); > > } > > > > > > (gdb) display *savedp > > 3: *savedp = { > > fts_cycle = 0xd0d0d0d0, > > fts_parent = 0xd0d0d0d0, > > fts_link = 0xd0d0d0d0, > > [...] > > This FTSENT is quite obviously totally fubar. This looks like malloc(3) usage mistake and a phkmalloc with the 'J' flag. Try to run it with electric fence or similar. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." "ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jul 26 11:30:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA20357 for freebsd-bugs-outgoing; Sun, 26 Jul 1998 11:30:59 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA20351 for ; Sun, 26 Jul 1998 11:30:58 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id LAA04635; Sun, 26 Jul 1998 11:30:00 -0700 (PDT) Received: from lohi.clinet.fi (root@lohi.clinet.fi [194.100.0.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA20056 for ; Sun, 26 Jul 1998 11:27:35 -0700 (PDT) (envelope-from tri@rinne.iki.fi) Received: from rinne.iki.fi (tri@rinne.iki.fi [194.100.70.105]) by lohi.clinet.fi (8.9.1/8.9.0) with ESMTP id VAA19565; Sun, 26 Jul 1998 21:33:03 +0300 (EEST) Received: (from tri@localhost) by rinne.iki.fi (8.8.8/8.8.8) id VAA29456; Sun, 26 Jul 1998 21:27:05 +0300 (EEST) (envelope-from tri) Message-Id: <199807261827.VAA29456@rinne.iki.fi> Date: Sun, 26 Jul 1998 21:27:05 +0300 (EEST) From: tri@iki.fi Reply-To: tri@iki.fi To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: tri@iki.fi X-Send-Pr-Version: 3.2 Subject: bin/7402: Games primes and factor don't understand hexadecimals Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7402 >Category: bin >Synopsis: Games primes and factor don't understand hexadecimals >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jul 26 11:30:00 PDT 1998 >Last-Modified: >Originator: Timo J. Rinne >Organization: Helsinki University of Technology >Release: FreeBSD 3.0-971225-SNAP i386 >Environment: FreeBSD 3.0-971225-SNAP i386 >Description: Games primes and factor don't understand hexadecimals. This would make these `games' somewhat useful tools. >How-To-Repeat: - >Fix: I implemented -h flag for both of the programs. Giving this option, all input and output of the programs is in hexadecimal. --- primes.c.orig Wed Jul 1 21:42:50 1998 +++ primes.c Sat Jul 25 17:06:36 1998 @@ -101,8 +101,8 @@ extern char pattern[]; extern int pattern_size; /* length of pattern array */ -void primes __P((ubig, ubig)); -ubig read_num_buf __P((void)); +void primes __P((ubig, ubig, int)); +ubig read_num_buf __P((int)); void usage __P((void)); int @@ -114,9 +114,13 @@ ubig stop; /* don't generate at or above this value */ int ch; char *p; + int hexa = 0; - while ((ch = getopt(argc, argv, "")) != -1) + while ((ch = getopt(argc, argv, "h")) != EOF) switch (ch) { + case 'h': + hexa = 1; + break; case '?': default: usage(); @@ -140,14 +144,14 @@ errx(1, "negative numbers aren't permitted."); errno = 0; - start = strtoul(argv[0], &p, 10); + start = strtoul(argv[0], &p, hexa ? 16 : 10); if (errno) err(1, "%s", argv[0]); if (*p != '\0') errx(1, "%s: illegal numeric format.", argv[0]); errno = 0; - stop = strtoul(argv[1], &p, 10); + stop = strtoul(argv[1], &p, hexa ? 16 : 10); if (errno) err(1, "%s", argv[1]); if (*p != '\0') @@ -159,14 +163,14 @@ errx(1, "negative numbers aren't permitted."); errno = 0; - start = strtoul(argv[0], &p, 10); + start = strtoul(argv[0], &p, hexa ? 16 : 10); if (errno) err(1, "%s", argv[0]); if (*p != '\0') errx(1, "%s: illegal numeric format.", argv[0]); break; case 0: - start = read_num_buf(); + start = read_num_buf(hexa); break; default: usage(); @@ -174,7 +178,7 @@ if (start > stop) errx(1, "start value must be less than stop value."); - primes(start, stop); + primes(start, stop, hexa); exit(0); } @@ -183,7 +187,7 @@ * This routine returns a number n, where 0 <= n && n <= BIG. */ ubig -read_num_buf() +read_num_buf(int hexa) { ubig val; char *p, buf[100]; /* > max number of digits. */ @@ -200,7 +204,7 @@ if (*p == '-') errx(1, "negative numbers aren't permitted."); errno = 0; - val = strtoul(buf, &p, 10); + val = strtoul(buf, &p, hexa ? 16 : 10); if (errno) err(1, "%s", buf); if (*p != '\n') @@ -213,9 +217,10 @@ * primes - sieve and print primes from start up to and but not including stop */ void -primes(start, stop) +primes(start, stop, hexa) ubig start; /* where to start generating */ ubig stop; /* don't generate at or above this value */ + int hexa; { register char *q; /* sieve spot */ register ubig factor; /* index and factor */ @@ -256,7 +261,7 @@ for (p = &prime[0], factor = prime[0]; factor < stop && p <= pr_limit; factor = *(++p)) { if (factor >= start) { - printf("%lu\n", factor); + printf(hexa ? "0x%08x\n" : "%u\n", factor); } } /* return early if we are done */ @@ -319,7 +324,7 @@ */ for (q = table; q < tab_lim; ++q, start+=2) { if (*q) { - printf("%lu\n", start); + printf(hexa ? "0x%08x\n" : "%u\n", start); } } } --- factor.c.orig Tue Mar 3 19:17:22 1998 +++ factor.c Sun Jul 26 20:04:36 1998 @@ -82,7 +82,7 @@ extern ubig prime[]; extern ubig *pr_limit; /* largest prime in the prime array */ -void pr_fact __P((ubig)); /* print factors of a value */ +void pr_fact __P((ubig, int)); /* print factors of a value */ void usage __P((void)); int @@ -92,10 +92,15 @@ { ubig val; int ch; + int hexa; char *p, buf[100]; /* > max number of digits. */ - while ((ch = getopt(argc, argv, "")) != -1) + hexa = 0; + while ((ch = getopt(argc, argv, "h")) != -1) switch (ch) { + case 'h': + hexa = 1; + break; case '?': default: usage(); @@ -117,12 +122,12 @@ if (*p == '-') errx(1, "negative numbers aren't permitted."); errno = 0; - val = strtoul(buf, &p, 10); + val = strtoul(buf, &p, hexa ? 16 : 10); if (errno) err(1, "%s", buf); if (*p != '\n') errx(1, "%s: illegal numeric format.", buf); - pr_fact(val); + pr_fact(val, hexa); } /* Factor the arguments. */ else @@ -130,12 +135,12 @@ if (argv[0][0] == '-') errx(1, "negative numbers aren't permitted."); errno = 0; - val = strtoul(argv[0], &p, 10); + val = strtoul(argv[0], &p, hexa ? 16 : 10); if (errno) err(1, "%s", argv[0]); if (*p != '\0') errx(1, "%s: illegal numeric format.", argv[0]); - pr_fact(val); + pr_fact(val, hexa); } exit(0); } @@ -154,8 +159,9 @@ * Factors are printed with leading tabs. */ void -pr_fact(val) +pr_fact(val, hexa) ubig val; /* Factor this value. */ + int hexa; { ubig *fact; /* The factor found. */ @@ -168,7 +174,7 @@ } /* Factor value. */ - (void)printf("%lu:", val); + (void)printf(hexa ? "0x%08x:" : "%lu:", val); for (fact = &prime[0]; val > 1; ++fact) { /* Look for the smallest factor. */ do { @@ -178,13 +184,13 @@ /* Watch for primes larger than the table. */ if (fact > pr_limit) { - (void)printf(" %lu", val); + (void)printf(hexa ? " 0x%08x" : " %lu", val); break; } /* Divide factor out until none are left. */ do { - (void)printf(" %lu", *fact); + (void)printf(hexa ? " 0x%08x" : " %lu", *fact); val /= (long)*fact; } while ((val % (long)*fact) == 0); >Audit-Trail: >Unformatted: >Severit: non-critical To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jul 26 12:10:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA24972 for freebsd-bugs-outgoing; Sun, 26 Jul 1998 12:10:22 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from indigo.ie (nsmart@ts01-033.dublin.indigo.ie [194.125.134.43]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA24967 for ; Sun, 26 Jul 1998 12:10:20 -0700 (PDT) (envelope-from rotel@indigo.ie) Received: (from nsmart@localhost) by indigo.ie (8.8.8/8.8.7) id UAA00452; Sun, 26 Jul 1998 20:04:56 +0100 (IST) (envelope-from rotel@indigo.ie) From: Niall Smart Message-Id: <199807261904.UAA00452@indigo.ie> Date: Sun, 26 Jul 1998 20:04:56 +0000 In-Reply-To: <199807251452.AAA04585@godzilla.zeta.org.au>; Bruce Evans Reply-To: rotel@indigo.ie X-Files: The truth is out there X-Mailer: Mail User's Shell (7.2.6 beta(3) 11/17/96) To: Bruce Evans , freebsd-bugs@FreeBSD.ORG, kargl@apl.washington.edu, rotel@indigo.ie Subject: Re: bin/7368: Added options to /usr/bin/time Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Jul 26, 12:52am, Bruce Evans wrote: } Subject: Re: bin/7368: Added options to /usr/bin/time > > > >Uh, it redirects std{err,out} of ls to x and std{err,out} of > >time to y. > > Therefore it is irrelevant to refuting the assertion that there is no > way to redirect the output of time _without_ redirecting the output of > the command being timed. Well, ok. But that assertion is probably stronger than the original poster required who seemed to think that there was no way to separate the output of time from the output of the command being timed. Anyway, die thread, die! Niall -- Niall Smart. PGP: finger njs3@motmot.doc.ic.ac.uk FreeBSD: Turning PC's into Workstations: www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jul 26 16:41:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA27621 for freebsd-bugs-outgoing; Sun, 26 Jul 1998 16:41:09 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA27610 for ; Sun, 26 Jul 1998 16:41:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id QAA10706; Sun, 26 Jul 1998 16:40:01 -0700 (PDT) Received: from flea.best.net (root@flea.best.net [206.184.139.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA27540 for ; Sun, 26 Jul 1998 16:40:16 -0700 (PDT) (envelope-from dillon@flea.best.net) Received: (from dillon@localhost) by flea.best.net (8.9.0/8.9.0/best.fl) id QAA26783; Sun, 26 Jul 1998 16:38:57 -0700 (PDT) Message-Id: <199807262338.QAA26783@flea.best.net> Date: Sun, 26 Jul 1998 16:38:57 -0700 (PDT) From: Matt Dillon Reply-To: dillon@best.net To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/7403: splimp/splnet interrupt race in ip_drain Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7403 >Category: kern >Synopsis: splimp/splnet interrupt race in ip_drain >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 26 16:40:01 PDT 1998 >Last-Modified: >Originator: Matt Dillon >Organization: Best Internet Communications, Inc. >Release: FreeBSD 2.2.6-STABLE i386 >Environment: FreeBSD-stable / from CVS. Crash during ip frag attack due to corrupted ipq in ip_slowtimo(). >Description: #17 0xf01c5393 in trap (frame={tf_es = 0x10, tf_ds = 0x10, tf_edi = 0x3e7, tf_esi = 0x25, tf_ebp = 0xefbfff84, tf_isp = 0xefbfff60, tf_ebx = 0xf16f6114, tf_edx = 0xf3aa7790, tf_ecx = 0x1, tf_eax = 0x0, tf_trapno = 0xc, tf_err = 0x0, tf_eip = 0xf0147534, tf_cs = 0x8, tf_eflags = 0x10202, tf_esp = 0xf01e82f0, tf_ss = 0xf01e84c4}) at ../../i386/i386/trap.c:324 #18 0xf0147534 in ip_slowtimo () at ../../netinet/ip_input.c:871 #19 0xf0125fdf in pfslowtimo (arg=0x0) at ../../kern/uipc_domain.c:220 #20 0xf010a23c in softclock () at ../../kern/kern_clock.c:715 #21 0xf01bd997 in doreti_swi () >How-To-Repeat: This appears to be a relatively narrow hole. ipq can get corrupted where a particular ipq is empty at the time of the crash: #18 0xf0147534 in ip_slowtimo () at ../../netinet/ip_input.c:871 ../../netinet/ip_input.c:871: No such file or directory. (kgdb) print ipq[i] $20 = { next = 0xf0202fac, prev = 0xf0202fac, ipq_ttl = 0x0, ipq_p = 0x0, ipq_id = 0x0, ipq_next = 0x0, ipq_prev = 0x0, ipq_src = { s_addr = 0x0 }, ipq_dst = { s_addr = 0x0 } } BUT the ip_slowtimo() code believes it has a valid fp when, in fact, the fp has already been unlinked: (kgdb) print fp $21 = (struct ipq *) 0xf16f6114 (kgdb) print *fp $22 = { next = 0xf18f9b94, prev = 0x0, (kgdb) print fp->next $23 = (struct ipq *) 0xf18f9b94 (kgdb) print fp->next->next $24 = (struct ipq *) 0xf129eb14 (kgdb) print fp->next->next->next $25 = (struct ipq *) 0xf1415994 (kgdb) print fp->next->next->next->next $26 = (struct ipq *) 0xf1205c14 (kgdb) print fp->next->next->next->next->next $27 = (struct ipq *) 0xf13a0814 (kgdb) print fp->next->next->next->next->next->next $28 = (struct ipq *) 0xf1a26114 (kgdb) print fp->next->next->next->next->next->next->next $29 = (struct ipq *) 0xf1645514 (kgdb) print fp->next->next->next->next->next->next->next->next $30 = (struct ipq *) 0xf0202fac >Fix: Looking through the code, the only case I can see where this can happen is if ip_drain() is called from m_retry(). ip_drain() can thus be called from a network interrupt (splimp()) which, I believe splnet() does NOT mask. I changed all references to the ip fragment queue and route table that were being modified at splnet() to run at splimp(). I do not know if this fixes the problem but I believe it does. It is possible that this fix will also fix occassional route table corruption that I've seen on idiom.com, which uses gated heavily. It seems phenominaly dangerous to mess around with the route table at only splnet(). NOTE!!! Please ignore the portions of the diff relating to LOOPBACK_ALLNET, they are not related to this bug report. Only in .: LINK diff -r -c LINK/in_rmx.c ./in_rmx.c *** LINK/in_rmx.c Thu Jun 20 08:41:23 1996 --- ./in_rmx.c Sun Jul 26 16:24:13 1998 *************** *** 307,313 **** arg.rnh = rnh; arg.nextstop = time.tv_sec + rtq_timeout; arg.draining = arg.updating = 0; ! s = splnet(); rnh->rnh_walktree(rnh, in_rtqkill, &arg); splx(s); --- 307,313 ---- arg.rnh = rnh; arg.nextstop = time.tv_sec + rtq_timeout; arg.draining = arg.updating = 0; ! s = splimp(); /* must be splimp() due to ip_drain() called from m_retry() -MATT */ rnh->rnh_walktree(rnh, in_rtqkill, &arg); splx(s); *************** *** 334,340 **** #endif arg.found = arg.killed = 0; arg.updating = 1; ! s = splnet(); rnh->rnh_walktree(rnh, in_rtqkill, &arg); splx(s); } --- 334,340 ---- #endif arg.found = arg.killed = 0; arg.updating = 1; ! s = splimp(); /* must be splimp() due to ip_drain() called from m_retry -MATT */ rnh->rnh_walktree(rnh, in_rtqkill, &arg); splx(s); } *************** *** 355,361 **** arg.nextstop = 0; arg.draining = 1; arg.updating = 0; ! s = splnet(); rnh->rnh_walktree(rnh, in_rtqkill, &arg); splx(s); } --- 355,361 ---- arg.nextstop = 0; arg.draining = 1; arg.updating = 0; ! s = splimp(); /* must be splimp() due to ip_drain() called from m_retry -MATT */ rnh->rnh_walktree(rnh, in_rtqkill, &arg); splx(s); } diff -r -c LINK/ip_input.c ./ip_input.c *** LINK/ip_input.c Tue Jun 30 23:58:28 1998 --- ./ip_input.c Sun Jul 26 16:25:29 1998 *************** *** 55,60 **** --- 55,63 ---- #include #include + #ifdef LOOPBACK_ALLNET + #include + #endif #include #include #include *************** *** 383,388 **** --- 386,395 ---- if (IA_SIN(ia)->sin_addr.s_addr == ip->ip_dst.s_addr) goto ours; + #ifdef LOOPBACK_ALLNET + if (LOOPBACK_CIDR(ia, &ip->ip_dst)) + goto ours; + #endif #ifdef BOOTP_COMPAT if (IA_SIN(ia)->sin_addr.s_addr == INADDR_ANY) goto ours; *************** *** 851,857 **** ip_slowtimo() { register struct ipq *fp; ! int s = splnet(); int i; for (i = 0; i < IPREASS_NHASH; i++) { --- 858,864 ---- ip_slowtimo() { register struct ipq *fp; ! int s = splimp(); /* must be splimp() due to ip_drain code -MATT*/ int i; for (i = 0; i < IPREASS_NHASH; i++) { *************** *** 871,877 **** } /* ! * Drain off all datagram fragments. */ void ip_drain() --- 878,887 ---- } /* ! * Drain off all datagram fragments. This can be called from ! * m_retry() and therefore called from an interrupt, interrupting ! * splnet routines. This routine is called at splimp(). Thus ! * anyone who messes with ipq or rtq must also run at splimp(). -MATT */ void ip_drain() >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jul 26 19:31:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA21366 for freebsd-bugs-outgoing; Sun, 26 Jul 1998 19:31:06 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA21354 for ; Sun, 26 Jul 1998 19:31:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id TAA17714; Sun, 26 Jul 1998 19:30:01 -0700 (PDT) Received: from midget.dons.net.au (daniel.lnk.telstra.net [139.130.137.70]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA20533 for ; Sun, 26 Jul 1998 19:23:10 -0700 (PDT) (envelope-from darius@midget.dons.net.au) Received: (from darius@localhost) by midget.dons.net.au (8.8.8/8.8.5) id LAA12166; Mon, 27 Jul 1998 11:52:35 +0930 (CST) Message-Id: <199807270222.LAA12166@midget.dons.net.au> Date: Mon, 27 Jul 1998 11:52:35 +0930 (CST) From: "Daniel J. O'Connor" Reply-To: darius@dons.net.au To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/7404: Linux LKM won't compile under -current (easy fix) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7404 >Category: kern >Synopsis: Linux LKM won't compile under -current (easy fix) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 26 19:30:00 PDT 1998 >Last-Modified: >Originator: Daniel J. O'Connor >Organization: >Release: FreeBSD 3.0-CURRENT i386 >Environment: The -current tree was checked out about 2 weeks ago, updated the Linux emultaor tree this morning (ie cd /usr/src/sys/i386/linux ; cvs update). >Description: Won't compile because opt_linux.h is wanted by linux_util.h. >How-To-Repeat: cd /usr/src/lkm/linux make >Fix: Make the #include of opt_linux.h conditional on LKM *** linux_util.h Mon Jul 27 11:48:14 1998 --- linux_util.h.old Sun Jul 26 13:04:11 1998 *************** *** 39,45 **** --- 39,47 ---- #ifndef _LINUX_UTIL_H_ #define _LINUX_UTIL_H_ + #ifndef LKM #include "opt_linux.h" + #endif #include #include >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jul 26 20:01:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA24835 for freebsd-bugs-outgoing; Sun, 26 Jul 1998 20:01:11 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA24825 for ; Sun, 26 Jul 1998 20:01:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id UAA18371; Sun, 26 Jul 1998 20:00:01 -0700 (PDT) Date: Sun, 26 Jul 1998 20:00:01 -0700 (PDT) Message-Id: <199807270300.UAA18371@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: David Greenman Subject: Re: kern/7403: splimp/splnet interrupt race in ip_drain Reply-To: David Greenman Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/7403; it has been noted by GNATS. From: David Greenman To: dillon@best.net Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: kern/7403: splimp/splnet interrupt race in ip_drain Date: Sun, 26 Jul 1998 19:54:45 -0700 I think the right solution to this problem is to not call m_reclaim() if M_DONTWAIT is set. Do you agree? -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jul 26 20:21:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA27117 for freebsd-bugs-outgoing; Sun, 26 Jul 1998 20:21:05 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA27107 for ; Sun, 26 Jul 1998 20:21:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id UAA18732; Sun, 26 Jul 1998 20:20:01 -0700 (PDT) Received: from flea.best.net (root@flea.best.net [206.184.139.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA26869 for ; Sun, 26 Jul 1998 20:19:18 -0700 (PDT) (envelope-from dillon@flea.best.net) Received: (from dillon@localhost) by flea.best.net (8.9.0/8.9.0/best.fl) id UAA12620; Sun, 26 Jul 1998 20:18:40 -0700 (PDT) Message-Id: <199807270318.UAA12620@flea.best.net> Date: Sun, 26 Jul 1998 20:18:40 -0700 (PDT) From: Matt Dillon Reply-To: dillon@best.net To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/7405: pte missing from page directory on write/cluster_write/bdwrite/vfs_clean_pages/vfs_page_set_valid/vm_page_set_validclean/... Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7405 >Category: kern >Synopsis: in pmap_changebit, pmap_pte_quick() returns 0 unexpectedly >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 26 20:20:01 PDT 1998 >Last-Modified: >Originator: Matt Dillon >Organization: Best Internet Communications >Release: FreeBSD 2.2.6-STABLE i386 >Environment: FreeBSD-stable, recent CVS (july/98). 128MB ram, PPro-200. >Description: This is the first time I've seen this particular crash, so I guess it doesn't occur often. In this crash a write() call results in a chain of events that winds up causing pmap_changebit() to be called. pmap_changebit() attempts to get the pte address of the VA representing the pages in the bp by calling pmap_pte_quick(). pmap_pte_quick() returns 0 because the page *directory* is missing. pmap_changebit() then proceeds to try to reference the pte address which causes a panic. #17 0xf01c5393 in trap (frame={tf_es = 0x70b0010, tf_ds = 0x10, tf_edi = 0x1000, tf_esi = 0x40, tf_ebp = 0xefbffd0c, tf_isp = 0xefbffce0, tf_ebx = 0xf055463c, tf_edx = 0xf8ebe000, tf_ecx = 0x0, tf_eax = 0x0, tf_trapno = 0xc, tf_err = 0x0, tf_eip = 0xf01c3d24, tf_cs = 0x8, tf_eflags = 0x10246, tf_esp = 0xf0397ec4, tf_ss = 0x0}) at ../../i386/i386/trap.c:324 #18 0xf01c3d24 in pmap_changebit (pa=0x5136000, bit=0x40, setem=0x0) at ../../i386/i386/pmap.c:2753 #19 0xf01c3fcb in pmap_clear_modify (pa=0x5136000) at ../../i386/i386/pmap.c:2919 #20 0xf01b2c0c in vm_page_set_validclean (m=0xf0397ec4, base=0x0, size=0x1000) at ../../vm/vm_page.c:1222 #21 0xf012f3e2 in vfs_page_set_valid (bp=0xf3bf2334, off=0x00000000000ab000, pageno=0x1, m=0xf0397ec4) at ../../kern/vfs_bio.c:1851 #22 0xf012f56f in vfs_clean_pages (bp=0xf3bf2334) at ../../kern/vfs_bio.c:1921 #23 0xf012d2d0 in bdwrite (bp=0xf3bf2334) at ../../kern/vfs_bio.c:404 #24 0xf01307f8 in cluster_write (bp=0xf3bf2334, filesize=0xac000) at ../../kern/vfs_cluster.c:562 #25 0xf01a0844 in ffs_write (ap=0xefbffee8) at ../../ufs/ufs/ufs_readwrite.c:291 #26 0xf01372a7 in vn_write (fp=0xf267e000, uio=0xefbfff34, cred=0xf1b2fb00) at vnode_if.h:283 #27 0xf011a7f3 in write (p=0xf2659e00, uap=0xefbfff94, retval=0xefbfff84) at ../../kern/sys_generic.c:263 #28 0xf01c5f2b in syscall (frame={tf_es = 0x27, tf_ds = 0x27, tf_edi = 0x19000, tf_esi = 0x200b87e4, tf_ebp = 0xefbfc274, tf_isp = 0xefbfffe4, tf_ebx = 0x200a8060, tf_edx = 0x200b87e4, tf_ecx = 0x200b87e4, tf_eax = 0x4, tf_trapno = 0x7, tf_err = 0x7, tf_eip = 0x2009ac71, tf_cs = 0x1f, tf_eflags = 0x202, tf_esp = 0xefbfc25c, tf_ss = 0x27}) at ../../i386/i386/trap.c:920 #29 0x2009ac71 in ?? () ... (kgdb) print *bp $44 = { b_hash = { le_next = 0xf3b8cd90, le_prev = 0xf02027a0 }, b_vnbufs = { le_next = 0x0, le_prev = 0xf3b86fec }, b_freelist = { tqe_next = 0xf3afd62c, tqe_prev = 0xf0202984 }, b_act = { tqe_next = 0x0, tqe_prev = 0xf10a8e54 }, b_proc = 0x0, b_flags = 0x20020290, b_qindex = 0x0, b_usecount = 0x4, b_error = 0x0, b_bufsize = 0x2000, b_bcount = 0x2000, b_resid = 0x0, b_dev = 0xffffffff, b_un = { b_addr = 0xf66ab000 "AAAAAAAAAADMQAAAeEBoAAgABAQ", 'A' , "KwAhEAIAAwAHEAoA\ngIC", 'A' , "oQDADj4+MAAAAAAAEAAAA0EAAAHRASAAE", 'A' , "DMQ\nAAAfECo", 'A' ... }, b_kvabase = 0xf66ab000 "AAAAAAAAAADMQAAAeEBoAAgABAQ", 'A' , "KwAhEAIAAwAHEAoA\ngIC", 'A' , "oQDADj4+MAAAAAAAEAAAA0EAAAHRASAAE", 'A' , "DMQ\nAAAfECo", 'A' ..., b_kvasize = 0x2000, b_saveaddr = 0x0, b_lblkno = 0x55, b_blkno = 0x258ac0, b_iodone = 0, b_iodone_chain = 0x0, b_vp = 0xf1d39e80, b_dirtyoff = 0x0, b_dirtyend = 0x0, b_rcred = 0x0, b_wcred = 0x0, b_validoff = 0x0, b_validend = 0x0, b_pblkno = 0x833263, b_savekva = 0x0, b_driver1 = 0x0, b_driver2 = 0x0, b_spc = 0x0, b_cluster = { cluster_head = { tqh_first = 0xf3afd62c, tqh_last = 0xf3b955e8 }, cluster_entry = { tqe_next = 0xf3afd62c, tqe_prev = 0xf3b955e8 } }, b_pages = {0xf03e3790, 0xf0397ec4, 0x0 }, b_npages = 0x2 ---Type to continue, or q to quit--- } (kgdb) print bp->b_pages[0] $45 = (struct vm_page *) 0xf03e3790 (kgdb) print *bp->b_pages[0] $46 = { pageq = { tqe_next = 0xf02cb290, tqe_prev = 0xf01eb6f8 }, hashq = { tqe_next = 0xf0397ec4, tqe_prev = 0xf0252ea8 }, listq = { tqe_next = 0xf0397ec4, tqe_prev = 0xf02d756c }, object = 0xf2413000, pindex = 0xaa, phys_addr = 0x6875000, queue = 0x0, flags = 0x64, pc = 0x35, wire_count = 0x1, hold_count = 0x0, act_count = 0x0, busy = 0x0, valid = 0xff, dirty = 0x0 } (kgdb) (kgdb) print *bp->b_pages[1] $47 = { pageq = { tqe_next = 0xf0426ec4, tqe_prev = 0xf01eb700 }, hashq = { tqe_next = 0x0, tqe_prev = 0xf03e3798 }, listq = { tqe_next = 0x0, tqe_prev = 0xf03e37a0 }, object = 0xf2413000, pindex = 0xab, phys_addr = 0x5136000, queue = 0x0, flags = 0x64, pc = 0x36, wire_count = 0x1, hold_count = 0x0, act_count = 0x0, busy = 0x0, valid = 0xff, dirty = 0x0 } (kgdb) ------------ (kgdb) frame #18 0xf01c3d24 in pmap_changebit (pa=0x5136000, bit=0x40, setem=0x0) at ../../i386/i386/pmap.c:2753 ../../i386/i386/pmap.c:2753: No such file or directory. (kgdb) (kgdb) print *pv $49 = { pv_pmap = 0xf1c1cd64, pv_va = 0x21704000, pv_list = { tqe_next = 0x0, tqe_prev = 0xf0481358 }, pv_plist = { tqe_next = 0xf05542f4, tqe_prev = 0xf04dca74 }, pv_ptem = 0xf034a7b4 } (kgdb) print *pv->pv_pmap $50 = { pm_pdir = 0xf8ebe000, pm_pteobj = 0xf254cb00, pm_pvlist = { tqh_first = 0xf04da0fc, tqh_last = 0xf0531c34 }, pm_count = 0x1, pm_flags = 0x0, pm_stats = { resident_count = 0x108, wired_count = 0x0 }, pm_ptphint = 0xf03757e4 } (kgdb) print pv->pv_va >> 0x16 $52 = 0x85 (kgdb) print pv->pv_pmap->pm_pdir[pv->pv_va >> 0x16] $51 = (unsigned int *) 0x0 (kgdb) >How-To-Repeat: I know of no way to repeat this. >Fix: No idea. Is pmap_pte_quick allowed to return NULL in this particular case? I looked for instances where pmap->pm_pdir[something] is set to 0. I found one at line 905 of i386/i386/pmap.c in pmap_unwire_pte_hold(). It appears to occur if the vm_page's hold_count is 0. The vm_page's hold count is 0 in this case. pmap_unwire_pte_hold() occurs if a process is swapped out or destroyed. So the question is: if something in the backtrace blocks and the process is swapped out at that point, could this situation occur? If so should a NULL pte be tested for? The process that caused this is shown in the ps below. It is process 18977. shell14:/var/crash# ps -M vmcore.6 -N /kernel -axl UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND 65534 18789 151631 1 2 0 504 0 select S ?? 0:00.00 (bestwwwd) 120 18899 151631 0 2 0 664 0 sbwait Ss ?? 0:00.00 (ftpd) 0 18914 151631 0 2 0 720 0 select I ?? 0:00.00 (sendmail) 1593 18977 151631 46527 105 0 244 0 - Rs ?? 0:00.00 (popper) 0 19157 151631 0 4 0 192 0 ptcout Is ?? 0:00.00 (telnetd) 2938 20077 151631 0 2 0 900 0 select S ?? 0:00.00 (zass) >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jul 26 20:31:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA28109 for freebsd-bugs-outgoing; Sun, 26 Jul 1998 20:31:02 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA28104 for ; Sun, 26 Jul 1998 20:31:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id UAA18871; Sun, 26 Jul 1998 20:30:00 -0700 (PDT) Date: Sun, 26 Jul 1998 20:30:00 -0700 (PDT) Message-Id: <199807270330.UAA18871@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Matt Dillon Subject: Re: kern/7403: splimp/splnet interrupt race in ip_drain Reply-To: Matt Dillon Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/7403; it has been noted by GNATS. From: Matt Dillon To: David Greenman Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: kern/7403: splimp/splnet interrupt race in ip_drain Date: Sun, 26 Jul 1998 20:29:10 -0700 (PDT) : : I think the right solution to this problem is to not call m_reclaim() if :M_DONTWAIT is set. Do you agree? : :-DG : :David Greenman :Co-founder/Principal Architect, The FreeBSD Project Yah, that makes more sense. Refresh my memory please: Is ip_input() called at splimp() or splnet() ? If it's called from an interrupt there are other race conditions beyond m_retry() that we have to worry about. -Matt Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet Communications. (Please include portions of article in any response) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jul 26 20:41:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA29215 for freebsd-bugs-outgoing; Sun, 26 Jul 1998 20:41:08 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA29210 for ; Sun, 26 Jul 1998 20:41:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id UAA19060; Sun, 26 Jul 1998 20:40:00 -0700 (PDT) Date: Sun, 26 Jul 1998 20:40:00 -0700 (PDT) Message-Id: <199807270340.UAA19060@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: David Greenman Subject: Re: kern/7403: splimp/splnet interrupt race in ip_drain Reply-To: David Greenman Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/7403; it has been noted by GNATS. From: David Greenman To: Matt Dillon Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: kern/7403: splimp/splnet interrupt race in ip_drain Date: Sun, 26 Jul 1998 20:37:42 -0700 > Yah, that makes more sense. > > Refresh my memory please: Is ip_input() called at splimp() or splnet() ? > If it's called from an interrupt there are other race conditions beyond > m_retry() that we have to worry about. splnet(). Packet are only queued at splimp(). -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jul 26 21:01:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA02359 for freebsd-bugs-outgoing; Sun, 26 Jul 1998 21:01:15 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA02339 for ; Sun, 26 Jul 1998 21:01:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id VAA19516; Sun, 26 Jul 1998 21:00:01 -0700 (PDT) Date: Sun, 26 Jul 1998 21:00:01 -0700 (PDT) Message-Id: <199807270400.VAA19516@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: David Greenman Subject: Re: kern/7405: pte missing from page directory on write/cluster_write/bdwrite/vfs_clean_pages/vfs_page_set_valid/vm_page_set_validclean/... Reply-To: David Greenman Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/7405; it has been noted by GNATS. From: David Greenman To: dillon@best.net Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: kern/7405: pte missing from page directory on write/cluster_write/bdwrite/vfs_clean_pages/vfs_page_set_valid/vm_page_set_validclean/... Date: Sun, 26 Jul 1998 20:53:06 -0700 A pv_entry seems to exist for a page that is no longer mapped and for which no page table page exists for it in the process. This one will need a lot more investigation before progress can be made on fixing it. -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jul 26 21:01:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA02453 for freebsd-bugs-outgoing; Sun, 26 Jul 1998 21:01:59 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA02421; Sun, 26 Jul 1998 21:01:43 -0700 (PDT) (envelope-from dg@FreeBSD.org) From: David Greenman Received: (from dg@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id VAA19585; Sun, 26 Jul 1998 21:00:40 -0700 (PDT) Date: Sun, 26 Jul 1998 21:00:40 -0700 (PDT) Message-Id: <199807270400.VAA19585@freefall.freebsd.org> To: dillon@best.net, dg@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: kern/7403 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: splimp/splnet interrupt race in ip_drain State-Changed-From-To: open-closed State-Changed-By: dg State-Changed-When: Sun Jul 26 21:00:02 PDT 1998 State-Changed-Why: Believed to be fixed in rev 1.37 of uipc_mbuf.c. Thanks for the bug report. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jul 26 22:19:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA12472 for freebsd-bugs-outgoing; Sun, 26 Jul 1998 22:19:19 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA12463; Sun, 26 Jul 1998 22:19:16 -0700 (PDT) (envelope-from msmith@FreeBSD.org) From: Michael Smith Received: (from msmith@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id WAA21930; Sun, 26 Jul 1998 22:18:14 -0700 (PDT) Date: Sun, 26 Jul 1998 22:18:14 -0700 (PDT) Message-Id: <199807270518.WAA21930@freefall.freebsd.org> To: jamesn@jnuckolls.iadfw.net, msmith@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: kern/5766 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: kernel panic(s) in 2.2-STABLE State-Changed-From-To: open-closed State-Changed-By: msmith State-Changed-When: Sun Jul 26 22:15:29 PDT 1998 State-Changed-Why: This was fixed in sys/i386/conf/majors.i386 v1.32 and sys/vm/vm_swap.c v1.52 when the 'sw' device was moved away from conflicting with 'wfd'. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jul 26 23:51:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA20286 for freebsd-bugs-outgoing; Sun, 26 Jul 1998 23:51:05 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA20279 for ; Sun, 26 Jul 1998 23:51:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id XAA24160; Sun, 26 Jul 1998 23:50:01 -0700 (PDT) Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA19970 for ; Sun, 26 Jul 1998 23:46:07 -0700 (PDT) (envelope-from andre.albsmeier@mchp.siemens.de) Received: from mail.siemens.de (salomon.siemens.de [139.23.33.13]) by david.siemens.de (8.9.1/8.9.1) with ESMTP id IAA16248 for ; Mon, 27 Jul 1998 08:43:47 +0200 (MET DST) Received: from curry.mchp.siemens.de (daemon@curry.mchp.siemens.de [146.180.31.23]) by mail.siemens.de (8.9.1/8.9.1) with ESMTP id IAA26410 for ; Mon, 27 Jul 1998 08:45:32 +0200 (MET DST) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.8.8/8.8.8) id IAA00796 for ; Mon, 27 Jul 1998 08:45:34 +0200 (CEST) Message-Id: <199807270645.IAA28545@internal> Date: Mon, 27 Jul 1998 08:45:30 +0200 (CEST) From: Andre Albsmeier To: FreeBSD-gnats-submit@FreeBSD.ORG, Harlan.Stenn@pfcs.com, phk@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/7407: small fix for new syslogd options Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7407 >Category: bin >Synopsis: small fix for new syslogd options >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 26 23:50:01 PDT 1998 >Last-Modified: >Originator: Andre Albsmeier >Organization: >Release: FreeBSD 2.2.7-STABLE i386 >Environment: FreeBSD STABLE but the code actually is from current. >Description: Harlan.Stenn@pfcs.com added two (very interesting) options to syslogd for -current (Thanks Harald). However, on my attempt to try this on -STABLE, I found that when forwarding to another host the actual messages gets lost. This is due to a wrong index because when the -v option was added, the indexes shifted one place. Please, because I am actually using -STABLE, I were very glad if the new syslogd.c would be commited to -STABLE also. I didn't find any other problems running the new code on -STABLE the last days. In this case please don't forget the man-pages and the small change in usr.bin/wall/ttymsg.c Thanks. >How-To-Repeat: Take the new syslogd and log to another host. >Fix: --- syslogd.c.ORI Mon Jul 27 08:28:27 1998 +++ syslogd.c Mon Jul 27 08:27:43 1998 @@ -863,10 +863,10 @@ l = snprintf(line, sizeof line - 1, "<%d>%.15s Forwarded from %s: %s", f->f_prevpri, iov[0].iov_base, f->f_prevhost, - iov[4].iov_base); + iov[5].iov_base); else l = snprintf(line, sizeof line - 1, "<%d>%.15s %s", - f->f_prevpri, iov[0].iov_base, iov[4].iov_base); + f->f_prevpri, iov[0].iov_base, iov[5].iov_base); if (l > MAXLINE) l = MAXLINE; if ((finet >= 0) && >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 02:17:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA07638 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 02:17:42 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from dt053nd2.san.rr.com (@dt053nd2.san.rr.com [204.210.34.210]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA07567; Mon, 27 Jul 1998 02:17:00 -0700 (PDT) (envelope-from Studded@san.rr.com) Received: from san.rr.com (Studded@localhost [127.0.0.1]) by dt053nd2.san.rr.com (8.8.8/8.8.8) with ESMTP id CAA02048; Mon, 27 Jul 1998 02:16:17 -0700 (PDT) (envelope-from Studded@san.rr.com) Message-ID: <35BC4560.51120E6C@san.rr.com> Date: Mon, 27 Jul 1998 02:16:16 -0700 From: Studded Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 2.2.6-STABLE-0507 i386) MIME-Version: 1.0 To: "Dag-Erling Coidan Smørgrav" CC: Poul-Henning Kamp , finrod@niobe.ewox.org, freebsd-bugs@FreeBSD.ORG, des@FreeBSD.ORG Subject: Re: bin/7253 References: <199807220619.XAA07972@freefall.freebsd.org> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dag-Erling Coidan Smørgrav wrote: > > Poul-Henning Kamp writes: > > Synopsis: [PATCH] Make top(1) ignore itself > > > > State-Changed-From-To: open-suspended > > State-Changed-By: phk > > State-Changed-When: Tue Jul 21 23:18:35 PDT 1998 > > State-Changed-Why: > > This sounds like a good task for Dag-Erling, doesn't it ? :-) > > Yeah. The reason why I send-pr'ed it is that > > a) I'm not sure it's actually worth committing > > b) I'm not sure wether to commit the patch in our tree, or submit it > to the author of top, since I've made changes to the generic parts > of top, not just the FreeBSD-specific parts. For my money it wouldn't hurt to update top to the latest version while you're at it, but that's just me. :) Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 02:41:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA10772 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 02:41:25 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA10748 for ; Mon, 27 Jul 1998 02:41:07 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id CAA28564; Mon, 27 Jul 1998 02:40:01 -0700 (PDT) Date: Mon, 27 Jul 1998 02:40:01 -0700 (PDT) Message-Id: <199807270940.CAA28564@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Ruslan Ermilov Subject: Re: bin/6832: [PATCH] Allows PINGing from any address on multihomed hosts Reply-To: Ruslan Ermilov Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/6832; it has been noted by GNATS. From: Ruslan Ermilov To: freebsd-gnats-submit@freebsd.org, ru@ucb.crimea.ua Cc: Subject: Re: bin/6832: [PATCH] Allows PINGing from any address on multihomed hosts Date: Mon, 27 Jul 1998 12:33:04 +0300 Hi! I've slightly modified my patch, since the repository files were changed in RELENG_2_2 branch. Here is a new patch: Index: ping.c =================================================================== RCS file: /usr/FreeBSD-CVS/src/sbin/ping/ping.c,v retrieving revision 1.8.2.17 diff -u -r1.8.2.17 ping.c --- ping.c 1998/07/17 20:13:45 1.8.2.17 +++ ping.c 1998/07/27 08:56:25 @@ -141,6 +141,7 @@ char BSPACE = '\b'; /* characters written for flood */ char DOT = '.'; char *hostname; +char *shostname; int ident; /* process id to identify our packets */ int uid; /* cached uid for micro-optimization */ @@ -184,7 +185,7 @@ { struct timeval last, intvl; struct hostent *hp; - struct sockaddr_in *to; + struct sockaddr_in *to, sin; struct termios ts; register int i; int ch, hold, packlen, preload, sockerrno, almost_done = 0; @@ -192,6 +193,7 @@ unsigned char ttl, loop; u_char *datap, *packet; char *target, hnamebuf[MAXHOSTNAMELEN]; + char *source = NULL, snamebuf[MAXHOSTNAMELEN]; char *ep; u_long ultmp; #ifdef IP_OPTIONS @@ -217,7 +219,7 @@ preload = 0; datap = &outpack[8 + PHDR_LEN]; - while ((ch = getopt(argc, argv, "I:LQRT:c:adfi:l:np:qrs:v")) != -1) { + while ((ch = getopt(argc, argv, "I:LQRS:T:c:adfi:l:np:qrs:v")) != -1) { switch(ch) { case 'a': options |= F_AUDIBLE; @@ -301,6 +303,9 @@ optarg); datalen = ultmp; break; + case 'S': + source = optarg; + break; case 'T': /* multicast TTL */ ultmp = strtoul(optarg, &ep, 0); if (*ep || ep == optarg || ultmp > 255) @@ -321,6 +326,29 @@ usage(); target = argv[optind]; + if (source) { + bzero((char *)&sin, sizeof(sin)); + sin.sin_family = AF_INET; + if (inet_aton(source, &sin.sin_addr) != 0) { + shostname = source; + } else { + hp = gethostbyname2(source, AF_INET); + if (!hp) + errx(EX_NOHOST, "cannot resolve %s: %s", + source, hstrerror(h_errno)); + + sin.sin_len = sizeof sin; + if (hp->h_length > sizeof(sin.sin_addr)) + errx(1,"gethostbyname2 returned an illegal address"); + memcpy(&sin.sin_addr, hp->h_addr_list[0], sizeof sin.sin_addr); + (void)strncpy(snamebuf, hp->h_name, sizeof(snamebuf) - 1); + snamebuf[sizeof(snamebuf) - 1] = '\0'; + shostname = snamebuf; + } + if (bind(s, (struct sockaddr *)&sin, sizeof sin) == -1) + err(1, "bind"); + } + bzero((char *)&whereto, sizeof(struct sockaddr)); to = (struct sockaddr_in *)&whereto; to->sin_family = AF_INET; @@ -429,11 +457,13 @@ (void)setsockopt(s, SOL_SOCKET, SO_RCVBUF, (char *)&hold, sizeof(hold)); - if (to->sin_family == AF_INET) - (void)printf("PING %s (%s): %d data bytes\n", hostname, - inet_ntoa(to->sin_addr), - datalen); - else + if (to->sin_family == AF_INET) { + (void)printf("PING %s (%s)", hostname, + inet_ntoa(to->sin_addr)); + if (source) + (void)printf(" from %s", shostname); + (void)printf(": %d data bytes\n", datalen); + } else (void)printf("PING %s: %d data bytes\n", hostname, datalen); /* @@ -1269,8 +1299,9 @@ static void usage() { - fprintf(stderr, "%s\n%s\n", + fprintf(stderr, "%s\n%s\n%s\n", "usage: ping [-QRadfnqrv] [-c count] [-i wait] [-l preload] [-p pattern]", -" [-s packetsize] [host | [-L] [-I iface] [-T ttl] mcast-group]"); +" [-s packetsize] [-S src_addr]", +" [host | [-L] [-I iface] [-T ttl] mcast-group]"); exit(EX_USAGE); } Index: ping.8 =================================================================== RCS file: /usr/FreeBSD-CVS/src/sbin/ping/ping.8,v retrieving revision 1.3.2.7 diff -u -r1.3.2.7 ping.8 --- ping.8 1998/07/17 20:13:44 1.3.2.7 +++ ping.8 1998/07/27 08:15:20 @@ -48,6 +48,7 @@ .Op Fl l Ar preload .Op Fl p Ar pattern .Op Fl s Ar packetsize +.Op Fl S Ar src_addr .Bo .Ar host | .Op Fl L @@ -197,6 +198,13 @@ with the 8 bytes of .Tn ICMP header data. +.It Fl S Ar src_addr +Use the following IP address as the source address in outgoing packets. +On hosts with more than one IP address, this option can be used to +force the source address to be something other than the IP address +of the interface the probe packet is sent on. If the IP address +is not one of this machine's interface addresses, an error is +returned and nothing is sent. .It Fl T Ar ttl Set the IP Time To Live for multicasted packets. This flag only applies if the ping destination is a multicast address. Regards, -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 03:21:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA19265 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 03:21:13 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA19245 for ; Mon, 27 Jul 1998 03:21:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id DAA29518; Mon, 27 Jul 1998 03:20:01 -0700 (PDT) Received: from styx.aic.net (Styx.AIC.NET [195.250.64.68]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA17373 for ; Mon, 27 Jul 1998 03:12:12 -0700 (PDT) (envelope-from ran@styx.aic.net) Received: (from ran@localhost) by styx.aic.net (8.9.0/8.9.0) id PAA17885; Mon, 27 Jul 1998 15:11:34 +0500 ( AMT ) Message-Id: <199807271011.PAA17885@styx.aic.net> Date: Mon, 27 Jul 1998 15:11:34 +0500 ( AMT ) From: "Ran d'Adi" Reply-To: ran@styx.aic.net To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/7410: driver for arlan-655 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7410 >Category: kern >Synopsis: driver for arlan-655 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 27 03:20:00 PDT 1998 >Last-Modified: >Originator: Ran d'Adi >Organization: >Release: FreeBSD 2.2.6-RELEASE i386 >Environment: All versions of FreeBSD. >Description: No support for arlan-655, Aironet's radio modem. >How-To-Repeat: >Fix: Driver location: ftp://styx.aic.net/pub/FreeBSD/incoming/arlan-655-0721.tgz Tested under 2.2.6-RELEASE. >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 04:01:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA25636 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 04:01:09 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA25628 for ; Mon, 27 Jul 1998 04:01:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id EAA00648; Mon, 27 Jul 1998 04:00:01 -0700 (PDT) Received: from shell6.ba.best.com (root@shell6.ba.best.com [206.184.139.137]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA24891 for ; Mon, 27 Jul 1998 03:58:10 -0700 (PDT) (envelope-from jkb@shell6.ba.best.com) Received: (from jkb@localhost) by shell6.ba.best.com (8.9.0/8.9.0/best.sh) id DAA13707; Mon, 27 Jul 1998 03:57:22 -0700 (PDT) Message-Id: <199807271057.DAA13707@shell6.ba.best.com> Date: Mon, 27 Jul 1998 03:57:22 -0700 (PDT) From: jkb@best.com Reply-To: jkb@best.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: misc/7411: Wrong file permissions in /var/log/ Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7411 >Category: misc >Synopsis: Wrong file permissions in /var/log/ >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jul 27 04:00:01 PDT 1998 >Last-Modified: >Originator: Jan B. Koum >Organization: None >Release: FreeBSD 2.2.6-STABLE i386 >Environment: Any new install of 2.2.x >Description: Files in /var/log/ have incorrect permissions. Nobody in the world other then admins (who are in group wheel) has any reason to read /var/log/messages: chmod it to o-r Nobody has also any need to know who and from do we send and receive mail: chmod o-r /var/log/maillog Also, some files in /var/log/ (such lastlog, wtmp, maillog, messages) have g+w: this should be g-w >How-To-Repeat: Do fresh install of 2.2.x >Fix: # cd /var/log # chmod g-w * # chmod o-r * ; chmod a+r wtmp >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 06:01:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA12001 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 06:01:33 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA11990; Mon, 27 Jul 1998 06:01:16 -0700 (PDT) (envelope-from phk@FreeBSD.org) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id GAA04648; Mon, 27 Jul 1998 06:00:10 -0700 (PDT) Date: Mon, 27 Jul 1998 06:00:10 -0700 (PDT) Message-Id: <199807271300.GAA04648@freefall.freebsd.org> To: jkb@best.com, phk@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: misc/7411 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: Wrong file permissions in /var/log/ State-Changed-From-To: open-closed State-Changed-By: phk State-Changed-When: Mon Jul 27 05:59:49 PDT 1998 State-Changed-Why: you should set this in /etc/newsyslog.conf To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 06:02:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA12239 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 06:02:15 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA12197; Mon, 27 Jul 1998 06:02:05 -0700 (PDT) (envelope-from phk@FreeBSD.org) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id GAA04749; Mon, 27 Jul 1998 06:01:00 -0700 (PDT) Date: Mon, 27 Jul 1998 06:01:00 -0700 (PDT) Message-Id: <199807271301.GAA04749@freefall.freebsd.org> To: ran@styx.aic.net, phk@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: kern/7410 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Old Synopsis: driver for arlan-655 New Synopsis: [PATCH] driver for arlan-655 State-Changed-From-To: open-suspended State-Changed-By: phk State-Changed-When: Mon Jul 27 06:00:37 PDT 1998 State-Changed-Why: awaiting committer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 06:06:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA12982 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 06:06:17 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA12749; Mon, 27 Jul 1998 06:05:48 -0700 (PDT) (envelope-from phk@FreeBSD.org) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id GAA04941; Mon, 27 Jul 1998 06:04:43 -0700 (PDT) Date: Mon, 27 Jul 1998 06:04:43 -0700 (PDT) Message-Id: <199807271304.GAA04941@freefall.freebsd.org> To: andre.albsmeier@mchp.siemens.de, phk@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/7407 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: small fix for new syslogd options State-Changed-From-To: open-closed State-Changed-By: phk State-Changed-When: Mon Jul 27 06:04:27 PDT 1998 State-Changed-Why: fixed, thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 06:12:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA13574 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 06:12:27 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA13553; Mon, 27 Jul 1998 06:12:04 -0700 (PDT) (envelope-from phk@FreeBSD.org) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id GAA05180; Mon, 27 Jul 1998 06:10:59 -0700 (PDT) Date: Mon, 27 Jul 1998 06:10:59 -0700 (PDT) Message-Id: <199807271310.GAA05180@freefall.freebsd.org> To: darius@dons.net.au, phk@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: kern/7404 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: Linux LKM won't compile under -current (easy fix) State-Changed-From-To: open-closed State-Changed-By: phk State-Changed-When: Mon Jul 27 06:09:10 PDT 1998 State-Changed-Why: can't reproduce, make sure your src/lkm/linux is also updated. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 06:15:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA13911 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 06:15:56 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA13886; Mon, 27 Jul 1998 06:15:35 -0700 (PDT) (envelope-from phk@FreeBSD.org) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id GAA05325; Mon, 27 Jul 1998 06:14:30 -0700 (PDT) Date: Mon, 27 Jul 1998 06:14:30 -0700 (PDT) Message-Id: <199807271314.GAA05325@freefall.freebsd.org> To: tri@iki.fi, phk@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/7402 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: Games primes and factor don't understand hexadecimals State-Changed-From-To: open-feedback State-Changed-By: phk State-Changed-When: Mon Jul 27 06:12:00 PDT 1998 State-Changed-Why: You should use the sepcial "base = 0" argument to strtoul, that way octal & hex input would always be available. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 06:17:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA14042 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 06:17:02 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA14025; Mon, 27 Jul 1998 06:16:52 -0700 (PDT) (envelope-from phk@FreeBSD.org) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id GAA05442; Mon, 27 Jul 1998 06:15:47 -0700 (PDT) Date: Mon, 27 Jul 1998 06:15:47 -0700 (PDT) Message-Id: <199807271315.GAA05442@freefall.freebsd.org> To: phk@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG, jkh@FreeBSD.ORG Subject: Re: misc/7391 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: 2.2.7-RELEASE: src/CHECKSUM.MD5 and des/CHECKSUM.MD5 not updated !!! Responsible-Changed-From-To: freebsd-bugs->jkh Responsible-Changed-By: phk Responsible-Changed-When: Mon Jul 27 06:15:24 PDT 1998 Responsible-Changed-Why: one for the release engineer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 06:18:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA14309 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 06:18:04 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA14237; Mon, 27 Jul 1998 06:17:49 -0700 (PDT) (envelope-from phk@FreeBSD.org) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id GAA05537; Mon, 27 Jul 1998 06:16:44 -0700 (PDT) Date: Mon, 27 Jul 1998 06:16:44 -0700 (PDT) Message-Id: <199807271316.GAA05537@freefall.freebsd.org> To: phk@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG, jkh@FreeBSD.ORG Subject: Re: i386/7390 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: Core dump during 2.2.6 -> 2.2.7 upgrade. Responsible-Changed-From-To: freebsd-bugs->jkh Responsible-Changed-By: phk Responsible-Changed-When: Mon Jul 27 06:16:25 PDT 1998 Responsible-Changed-Why: over to the release engineer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 07:51:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA28538 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 07:51:11 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA28525 for ; Mon, 27 Jul 1998 07:51:07 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id HAA07646; Mon, 27 Jul 1998 07:50:01 -0700 (PDT) Received: (from nobody@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA27564; Mon, 27 Jul 1998 07:43:51 -0700 (PDT) (envelope-from nobody) Message-Id: <199807271443.HAA27564@hub.freebsd.org> Date: Mon, 27 Jul 1998 07:43:51 -0700 (PDT) From: jnickelsen@acm.org To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: kern/7413: ssc pseudo device fails to include scsi/su.c in Makefile Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7413 >Category: kern >Synopsis: ssc pseudo device fails to include scsi/su.c in Makefile >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jul 27 07:50:01 PDT 1998 >Last-Modified: >Originator: Juergen Nickelsen >Organization: >Release: 2.2.7-stable >Environment: (sorry, not available at the moment) >Description: When I configure the ssc (super-scsi) pseudo device into the kernel, the build fails due to missing symbols _suopen(), _suclose(), etc. These are defined in su.c, which is not included automaticvally in the kernel Makefile when the "ssc" pdeudo device is configured. >How-To-Repeat: [sorry, untested, but I hope this does it] cd /sys/i386/conf echo pseudo-device ssc >> GENERIC config GENERIC cd ../../compile/GENERIC make >Fix: I propose to make the "pseudo-device ssc" option include the file scsi/su.c in the kernel Makefile. I had no problem to find the missing source, but people not as familiar with these things might get very confused about that. (Thanks again, BTW, for this marvellous operating system!) >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 08:01:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA00416 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 08:01:10 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA00406 for ; Mon, 27 Jul 1998 08:01:07 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id IAA07889; Mon, 27 Jul 1998 08:00:01 -0700 (PDT) Received: from pc02.labcontrol.com (pc02.labcontrol.com [194.163.70.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA00157 for ; Mon, 27 Jul 1998 07:59:08 -0700 (PDT) (envelope-from marc@pc02.labcontrol.com) Received: (from root@localhost) by pc02.labcontrol.com (8.8.8/8.8.7) id QAA26840; Mon, 27 Jul 1998 16:57:38 +0200 (CEST) (envelope-from marc) Message-Id: <199807271457.QAA26840@pc02.labcontrol.com> Date: Mon, 27 Jul 1998 16:57:38 +0200 (CEST) From: Marc van Woerkom Reply-To: lmarc@mail.labcontrol.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/7414: userunfriendly error message from dmesg Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7414 >Category: bin >Synopsis: userunfriendly error message from dmesg >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jul 27 08:00:01 PDT 1998 >Last-Modified: >Originator: & van Woerkom >Organization: >Release: FreeBSD 2.2.7-RELEASE i386 >Environment: >Description: when using dmesg to check what happened at boot time, I got "dmesg: incorrect magic number". I mistook this first, as having corrupted my dmesg by accident, but people from de-bsd-questions told me, that my kernel was older than my dmsg binary, simply. >How-To-Repeat: >Fix: I suggest this patch to clarify things (or put some hint on the man page) *** dmesg.c Mon Jul 27 15:29:07 1998 --- dmesg.c.original Thu Jun 25 02:45:59 1998 *************** *** 113,119 **** if (KREAD(nl[X_MSGBUF].n_value, bufp) || KREAD((long)bufp, cur)) errx(1, "kvm_read: %s", kvm_geterr(kd)); if (cur.msg_magic != MSG_MAGIC) ! errx(1, "magic number of kernel message buffer is incorrect"); bp = malloc(cur.msg_size); if (!bp) errx(1, "malloc failed"); --- 113,119 ---- if (KREAD(nl[X_MSGBUF].n_value, bufp) || KREAD((long)bufp, cur)) errx(1, "kvm_read: %s", kvm_geterr(kd)); if (cur.msg_magic != MSG_MAGIC) ! errx(1, "magic number incorrect"); bp = malloc(cur.msg_size); if (!bp) errx(1, "malloc failed"); Regards, Marc >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 10:21:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA24201 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 10:21:13 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA24181 for ; Mon, 27 Jul 1998 10:21:09 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id KAA12390; Mon, 27 Jul 1998 10:20:02 -0700 (PDT) Received: from chen.ml.org (luoqi.watermarkgroup.com [207.202.73.170]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA23540 for ; Mon, 27 Jul 1998 10:14:34 -0700 (PDT) (envelope-from luoqi@chen.ml.org) Received: (from luoqi@localhost) by chen.ml.org (8.8.8/8.8.8) id NAA07229; Mon, 27 Jul 1998 13:13:55 -0400 (EDT) (envelope-from luoqi) Message-Id: <199807271713.NAA07229@chen.ml.org> Date: Mon, 27 Jul 1998 13:13:55 -0400 (EDT) From: Luoqi Chen Reply-To: luoqi@chen.ml.org To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/7415: VMIO bug for FS with sub-page-size blocks (with fix) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7415 >Category: kern >Synopsis: VMIO bug for FS with sub-page-size blocks >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 27 10:20:01 PDT 1998 >Last-Modified: >Originator: Luoqi Chen >Organization: >Release: FreeBSD 3.0-CURRENT i386 >Environment: 3.0-current as of 7/27/98 >Description: There are some bugs in VMIO code when dealing with blocks not on a page-boundary. They may cause crash for FS with sub-page sized blocks (e.g. MSDOSFS), or VMIO enabled block devices (which uses 512-byte blocks). >How-To-Repeat: First, create an file of size ~40K, dd if=/dev/zero of=/tmp/image bs=4096 count=10240 config a vn device on top it, vnconfig -c /dev/vn0c /dev/zero create an msdos fs, newfs_msdsos /dev/rvn0c Now, try to mount it as an *ffs*, mount /dev/vn0c /dos the mount would fail, but it has the side effect of enabling VMIO on /dev/vn0c. Last, mount as an msdosfs, mount_msdos /dev/vn0c /dos and you will get a panic about "fault on nofault entry". >Fix: The following patch should fix the problem. I hope this one won't silently rot away as some other patches I submitted, this is (IMO) a quite serious problem, and took me quite some time to figure it out. Index: vfs_bio.c =================================================================== RCS file: /fun/cvs/src/sys/kern/vfs_bio.c,v retrieving revision 1.167 diff -u -r1.167 vfs_bio.c --- vfs_bio.c 1998/07/13 07:05:55 1.167 +++ vfs_bio.c 1998/07/24 18:24:18 @@ -1325,6 +1325,7 @@ if (vm_page_is_valid(m, (vm_offset_t) ((toff + off) & PAGE_MASK), tinc) == 0) return 0; + tinc = PAGE_SIZE - ((toff + off) & PAGE_MASK); } return 1; } @@ -1367,9 +1368,9 @@ break; } } - boffset = (i << PAGE_SHIFT); + boffset = (i << PAGE_SHIFT) - (bp->b_offset & PAGE_MASK); if (boffset < bp->b_dirtyoff) { - bp->b_dirtyoff = boffset; + bp->b_dirtyoff = max(boffset, 0); } /* @@ -1381,11 +1382,14 @@ } } boffset = (i + 1); +#if 0 offset = boffset + bp->b_pages[0]->pindex; if (offset >= object->size) boffset = object->size - bp->b_pages[0]->pindex; - if (bp->b_dirtyend < (boffset << PAGE_SHIFT)) - bp->b_dirtyend = (boffset << PAGE_SHIFT); +#endif + boffset = (boffset << PAGE_SHIFT) - (bp->b_offset & PAGE_MASK); + if (bp->b_dirtyend < boffset) + bp->b_dirtyend = min(boffset, bp->b_bufsize); } } @@ -1398,21 +1402,9 @@ struct buf *bp; int i, s; struct bufhashhdr *bh; - int maxsize; int generation; int checksize; - if (vp->v_mount) { - maxsize = vp->v_mount->mnt_stat.f_iosize; - /* - * This happens on mount points. - */ - if (maxsize < size) - maxsize = size; - } else { - maxsize = size; - } - #if !defined(MAX_PERF) if (size > MAXBSIZE) panic("getblk: size(%d) > MAXBSIZE(%d)\n", size, MAXBSIZE); @@ -1503,7 +1495,22 @@ splx(s); return (bp); } else { - vm_object_t obj; + int bsize, maxsize, vmio; + off_t offset; + + if (vp->v_type == VBLK) + bsize = DEV_BSIZE; + else if (vp->v_mountedhere) + bsize = vp->v_mountedhere->mnt_stat.f_iosize; + else if (vp->v_mount) + bsize = vp->v_mount->mnt_stat.f_iosize; + else + bsize = size; + + offset = (off_t)blkno * bsize; + vmio = (vp->v_object != 0) && (vp->v_flag & VOBJBUF); + maxsize = vmio ? size + (offset & PAGE_MASK) : size; + maxsize = imax(maxsize, bsize); if ((bp = getnewbuf(vp, blkno, slpflag, slptimeo, size, maxsize)) == 0) { @@ -1531,18 +1538,14 @@ * be found by incore. */ bp->b_blkno = bp->b_lblkno = blkno; - - if (vp->v_type != VBLK) - bp->b_offset = (off_t) blkno * maxsize; - else - bp->b_offset = (off_t) blkno * DEV_BSIZE; + bp->b_offset = offset; bgetvp(vp, bp); LIST_REMOVE(bp, b_hash); bh = BUFHASH(vp, blkno); LIST_INSERT_HEAD(bh, bp, b_hash); - if ((obj = vp->v_object) && (vp->v_flag & VOBJBUF)) { + if (vmio) { bp->b_flags |= (B_VMIO | B_CACHE); #if defined(VFS_BIO_DEBUG) if (vp->v_type != VREG && vp->v_type != VBLK) @@ -1695,7 +1698,8 @@ int desiredpages; newbsize = (size + DEV_BSIZE - 1) & ~(DEV_BSIZE - 1); - desiredpages = (round_page(newbsize) >> PAGE_SHIFT); + desiredpages = size == 0 ? 0 : + num_pages((bp->b_offset & PAGE_MASK) + newbsize); #if !defined(NO_B_MALLOC) if (bp->b_flags & B_MALLOC) @@ -1744,8 +1748,6 @@ if (bp->b_npages < desiredpages) { obj = vp->v_object; tinc = PAGE_SIZE; - if (tinc > bsize) - tinc = bsize; off = bp->b_offset; #ifdef DIAGNOSTIC @@ -1759,10 +1761,9 @@ bp->b_validend = orig_validend; bp->b_flags |= B_CACHE; for (toff = 0; toff < newbsize; toff += tinc) { - int bytesinpage; - - pageindex = toff >> PAGE_SHIFT; objoff = OFF_TO_IDX(off + toff); + pageindex = objoff - OFF_TO_IDX(off); + tinc = PAGE_SIZE - ((off + toff) & PAGE_MASK); if (pageindex < curbpnpages) { m = bp->b_pages[pageindex]; @@ -1770,11 +1771,10 @@ if (m->pindex != objoff) panic("allocbuf: page changed offset??!!!?"); #endif - bytesinpage = tinc; if (tinc > (newbsize - toff)) - bytesinpage = newbsize - toff; + tinc = newbsize - toff; if (bp->b_flags & B_CACHE) - vfs_buf_set_valid(bp, off, toff, bytesinpage, m); + vfs_buf_set_valid(bp, off, toff, tinc, m); continue; } m = vm_page_lookup(obj, objoff); @@ -1782,7 +1782,7 @@ m = vm_page_alloc(obj, objoff, VM_ALLOC_NORMAL); if (!m) { VM_WAIT; - vm_pageout_deficit += (desiredpages - bp->b_npages); + vm_pageout_deficit += (desiredpages - curbpnpages); goto doretry; } @@ -1805,11 +1805,10 @@ (cnt.v_free_min + cnt.v_cache_min))) { pagedaemon_wakeup(); } - bytesinpage = tinc; if (tinc > (newbsize - toff)) - bytesinpage = newbsize - toff; + tinc = newbsize - toff; if (bp->b_flags & B_CACHE) - vfs_buf_set_valid(bp, off, toff, bytesinpage, m); + vfs_buf_set_valid(bp, off, toff, tinc, m); m->flags &= ~PG_ZERO; vm_page_wire(m); } @@ -2154,7 +2153,7 @@ * This only bothers with the first valid range in the * page. */ - svalid = off; + svalid = ((foff + off) & ~PAGE_MASK) - foff; while (validbits && !(validbits & 1)) { svalid += DEV_BSIZE; validbits >>= 1; @@ -2164,6 +2163,7 @@ evalid += DEV_BSIZE; validbits >>= 1; } + evalid = min(evalid, off + size); /* * Make sure this range is contiguous with the range * built up from previous pages. If not, then we will @@ -2192,15 +2192,14 @@ vm_ooffset_t soff, eoff; soff = off; - eoff = off + min(PAGE_SIZE, bp->b_bufsize); + eoff = qmin(off + PAGE_SIZE, bp->b_offset + bp->b_bufsize); if (vp->v_tag == VT_NFS && vp->v_type != VBLK) { vm_ooffset_t sv, ev; vm_page_set_invalid(m, (vm_offset_t) (soff & PAGE_MASK), (vm_offset_t) (eoff - soff)); - off = off - pageno * PAGE_SIZE; - sv = off + ((bp->b_validoff + DEV_BSIZE - 1) & ~(DEV_BSIZE - 1)); - ev = off + ((bp->b_validend + DEV_BSIZE - 1) & ~(DEV_BSIZE - 1)); + sv = (bp->b_offset + bp->b_validoff + DEV_BSIZE - 1) & ~(DEV_BSIZE - 1); + ev = (bp->b_offset + bp->b_validend) & ~(DEV_BSIZE - 1); soff = qmax(sv, soff); eoff = qmin(ev, eoff); } @@ -2285,18 +2284,21 @@ panic("vfs_clean_pages: no buffer offset"); #endif - for (i = 0; i < bp->b_npages; i++, foff += PAGE_SIZE) { + for (i = 0; i < bp->b_npages; i++) { vm_page_t m = bp->b_pages[i]; vfs_page_set_valid(bp, foff, i, m); + foff = (foff + PAGE_SIZE) & ~PAGE_MASK; } } } void vfs_bio_clrbuf(struct buf *bp) { - int i; + int i, size; + caddr_t sa, ea; if ((bp->b_flags & (B_VMIO | B_MALLOC)) == B_VMIO) { - if( (bp->b_npages == 1) && (bp->b_bufsize < PAGE_SIZE)) { + if( (bp->b_npages == 1) && (bp->b_bufsize < PAGE_SIZE) && + (bp->b_offset & PAGE_MASK) == 0) { int mask; mask = 0; for(i=0;ib_bufsize;i+=DEV_BSIZE) @@ -2309,19 +2311,23 @@ bp->b_resid = 0; return; } - for(i=0;ib_npages;i++) { + ea = sa = bp->b_data; + for(i=0;ib_npages;i++,sa=ea) { + ea = (caddr_t)trunc_page(sa + PAGE_SIZE); + ea = (caddr_t)ulmin((u_long)ea, + (u_long)bp->b_data + bp->b_bufsize); if( bp->b_pages[i]->valid == VM_PAGE_BITS_ALL) continue; if( bp->b_pages[i]->valid == 0) { if ((bp->b_pages[i]->flags & PG_ZERO) == 0) { - bzero(bp->b_data + (i << PAGE_SHIFT), PAGE_SIZE); + bzero(sa, ea - sa); } } else { - int j; - for(j=0;jb_pages[i]->flags & PG_ZERO) == 0) && (bp->b_pages[i]->valid & (1<b_data + (i << PAGE_SHIFT) + j * DEV_BSIZE, DEV_BSIZE); + bzero(sa, DEV_BSIZE); } } bp->b_pages[i]->valid = VM_PAGE_BITS_ALL; >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 11:19:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA05692 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 11:19:33 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA05658 for ; Mon, 27 Jul 1998 11:19:15 -0700 (PDT) (envelope-from rivers@dignus.com) Received: from elvis.vnet.net (elvis.vnet.net [166.82.1.5]) by freefall.freebsd.org (8.8.8/8.8.5) with ESMTP id LAA14588 for ; Mon, 27 Jul 1998 11:18:05 -0700 (PDT) Received: from dignus.com (ponds.vnet.net [166.82.177.48]) by elvis.vnet.net (8.8.8/8.8.4) with ESMTP id OAA03584; Mon, 27 Jul 1998 14:18:38 -0400 (EDT) Received: from lakes.dignus.com (lakes [10.0.0.3]) by dignus.com (8.8.8/8.8.5) with ESMTP id OAA16545; Mon, 27 Jul 1998 14:53:18 -0400 (EDT) Received: (from rivers@localhost) by lakes.dignus.com (8.8.8/8.6.9) id OAA14121; Mon, 27 Jul 1998 14:22:39 -0400 (EDT) Date: Mon, 27 Jul 1998 14:22:39 -0400 (EDT) From: Thomas David Rivers Message-Id: <199807271822.OAA14121@lakes.dignus.com> To: freebsd-bugs@freefall.cdrom.com, luoqi@chen.ml.org Subject: Re: kern/7415: VMIO bug for FS with sub-page-size blocks (with fix) In-Reply-To: <199807271713.NAA07229@chen.ml.org> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Luoqi Chen writes: There are some bugs in VMIO code when dealing with blocks not on a page-boundary. They may cause crash for FS with sub-page sized blocks (e.g. MSDOSFS), or VMIO enabled block devices (which uses 512-byte blocks). I was wondering if this could be in 2.2.x? It seems, just looking at the patch, that the problem exists there as well. - Dave Rivers - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 11:26:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA07274 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 11:26:04 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from shell6.ba.best.com (jkb@shell6.ba.best.com [206.184.139.137]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA07171; Mon, 27 Jul 1998 11:25:23 -0700 (PDT) (envelope-from jkb@best.com) Received: from localhost (jkb@localhost) by shell6.ba.best.com (8.9.0/8.9.0/best.sh) with SMTP id LAA00190; Mon, 27 Jul 1998 11:24:53 -0700 (PDT) X-Authentication-Warning: shell6.ba.best.com: jkb owned process doing -bs Date: Mon, 27 Jul 1998 11:24:53 -0700 (PDT) From: "Jan B. Koum " X-Sender: jkb@shell6.ba.best.com To: Poul-Henning Kamp cc: freebsd-bugs@FreeBSD.ORG Subject: Re: misc/7411 In-Reply-To: <199807271300.GAA04648@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Then we need to modify default settings in /etc/newsyslog.conf Should I do another send-pr? -- Yan Jan Koum jkb@best.com | "Turn up the lights; I don't want www.FreeBSD.org -- The Power to Serve | to go home in the dark." "Write longer sentences - they are paying us a lot of money" On Mon, 27 Jul 1998, Poul-Henning Kamp wrote: >Synopsis: Wrong file permissions in /var/log/ > >State-Changed-From-To: open-closed >State-Changed-By: phk >State-Changed-When: Mon Jul 27 05:59:49 PDT 1998 >State-Changed-Why: >you should set this in /etc/newsyslog.conf > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 11:29:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA08019 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 11:29:06 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA07949 for ; Mon, 27 Jul 1998 11:28:50 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id LAA13858 for freebsd-bugs; Mon, 27 Jul 1998 11:00:26 -0700 (PDT) Date: Mon, 27 Jul 1998 11:00:26 -0700 (PDT) Message-Id: <199807271800.LAA13858@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: FreeBSD bugs list Subject: Current problem reports Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Current FreeBSD problem reports The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. Bugs can be in one of several states: o - open A problem report has been submitted, no sanity checking performed. a - analyzed The report has been examined by a team member and evaluated. f - feedback The problem has been solved, and the originator has been given a patch or a fix has been committed. The PR remains in this state pending a response from the originator. s - suspended The problem is not being worked on. This is a prime candidate for somebody who is looking for a project to do. If the problem cannot be solved at all, it will be closed, rather than suspended. c - closed A problem report is closed when any changes have been integrated, documented, and tested. Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- a [1995/01/11] i386/105 bde Distributed libm (msun) has non-standard o [1996/06/05] kern/1293 Fatal trap 12: page fault while in kernel s [1996/07/15] bin/1387 Group file errors cause absolute havoc [P o [1996/10/08] kern/1744 peter run queue or proc list smashed 4 times in f [1996/10/28] kern/1919 se access to files/directories fails, gives o [1996/12/20] bin/2258 wollman route add/delete [network] xxx.yyy.zzz.0 o [1997/01/03] conf/2367 gibbs Buslogic SCSI driver bad probe of 742A EI f [1997/02/11] kern/2717 Panic with daily script (find) o [1997/03/08] kern/2923 panic: vm_fault: fault on nofault entry, o [1997/05/01] i386/3462 yokota using a PS/2 mouse causes kernel trap in o [1997/05/24] kern/3674 peter NFS in 2.2 RELEASE hangs. o [1997/06/01] kern/3752 peter NFS dirs under -current still have proble o [1997/06/01] kern/3753 peter "make" hangs when building in an NFS dir o [1997/06/25] kern/3949 sos The WD controller probe can fail when it o [1997/07/03] kern/4021 peter Local mount of a local NFS exported direc o [1997/07/31] kern/4200 peter NFS: "vm_fault: fault on nofault entry" w o [1997/08/11] kern/4273 kernel page faults with heavy disk access o [1997/08/12] kern/4289 kernel panic: vm_fault: fault on nofault o [1997/08/18] kern/4332 gibbs System crash after SCSI DAT tape access. o [1997/08/18] bin/4333 gibbs Dump backup utility completely crashes th o [1997/08/20] kern/4345 Kernel panic is caused by passing file de o [1997/09/02] kern/4453 2.2.2 lockup on restart with ASUS-TX97 mo o [1997/10/01] kern/4673 Two panics, now crash dumps, always in re o [1997/10/25] kern/4849 2.2.5-RELEASE does not detect TI PCI-1130 o [1997/10/25] kern/4851 adaptec 2940U hangs system if scsi tape d o [1997/10/27] kern/4864 Boot Failure in FreeBSD 2.2.5 RELEASE, ma o [1997/10/28] misc/4876 SCSI hard disks die too often o [1997/11/07] kern/4968 No flow control setting seems to make the o [1997/11/09] kern/4995 atalk.diff.2.2 patch to 2.2.5-RELEASE bre o [1997/11/10] kern/4996 peter NFS crash, possibly related to file bigge o [1997/11/20] kern/5117 panic: biodone: buffer not busy o [1997/11/23] kern/5130 Kernel panic GPF imediatly on loading ker s [1997/11/24] bin/5139 portmap does not find interfaces correctl o [1997/11/25] bin/5148 peter mode of file and access on NFS mounted p f [1997/12/04] i386/5223 mount_msdos /dev/fd0.1440 /mnt and failur f [1997/12/21] kern/5355 Fix for NULLFS problems s [1998/01/15] i386/5493 [PATCH] aic6330.c: kernel freeze when I a o [1998/01/26] bin/5572 A major time step blows cron up, runs tho o [1998/01/28] kern/5592 ffs_inode_hash_lock can get permanently l o [1998/01/28] i386/5594 System not bootable when bad partition ty o [1998/02/03] kern/5641 running processes at the IDLE priority (i o [1998/02/10] kern/5702 problem with address network routing o [1998/02/10] kern/5703 CDROM Media Error triggers complete syste o [1998/02/10] kern/5709 Fatal trap 12: page fault in kernel mode o [1998/02/12] bin/5732 2.2.5 Won't install using partition creat o [1998/03/01] kern/5886 2.2-STABLE crashes when unmounting a busy o [1998/03/01] kern/5895 Kernal dumps caused by fork? o [1998/03/02] kern/5898 2.2-stable kernel panics pmap_relase: fre o [1998/03/13] kern/5994 Kernel Panics on FreeBSD-3.0 current SMP o [1998/03/14] kern/6006 cy driver panics machine when a user dial o [1998/03/22] kern/6102 panic: biodone: buffer not busy o [1998/03/23] bin/6121 peter gethostbyname(3) no longer returns NO_DAT o [1998/03/25] kern/6133 optical drive with 1024-byte (1k) sectors o [1998/03/27] kern/6147 syncronus ufs does not sync o [1998/03/29] bin/6168 tn3270 gets undefined symbol error on sta o [1998/04/05] i386/6219 wine causes system crash o [1998/04/11] kern/6274 panic: handle_workitem_freeblocks: block o [1998/04/19] kern/6349 luigi Luigi's sound driver stall wihen it outpu o [1998/04/24] ports/6405 ports vrweb port does not build; ignores local o [1998/04/30] kern/6465 File contents are zeroed after reboot f [1998/05/08] bin/6552 syslog stops working o [1998/05/13] bin/6627 TCP-based RPC denial-of-service attack s [1998/05/13] kern/6630 [PATCH] Fix for Cyrix I8254 bug s [1998/05/15] bin/6649 imp normal users can initiate gigantic ping f o [1998/05/19] kern/6689 kern_physio.c splits requests breaking cd o [1998/05/19] i386/6693 gibbs computer hang for timeout in scsi control f [1998/05/19] kern/6694 Network hangs, with "No buffers available o [1998/05/23] kern/6732 PCCARD kernel panic in sio driver s [1998/06/03] kern/6853 peter Having an inactive de0 in system leads to o [1998/06/06] misc/6873 FreeBSD 2.2.6 freezes o [1998/06/08] conf/6896 gibbs cannot boot installation diskette with AH o [1998/06/11] kern/6914 FreeBSD 2.2.6-RELEASE and NFS is UNSTABLE o [1998/06/14] i386/6944 icu_ipl.s does has a case commented as ca o [1998/06/16] kern/6964 Problems with cam-980520 code in FreeBSD- o [1998/06/16] ports/6969 jfitz cyrus won't compile o [1998/06/19] ports/6998 ports Istall (2.2.5) does not find CDROM device o [1998/06/22] kern/7024 gibbs SCSI problem with FreeBSD 2.2.6-RELEASE a o [1998/06/23] kern/7028 Panic in vinvalbuf when appending/looking o [1998/06/24] kern/7042 No buffer space available a [1998/07/12] kern/7264 gibbs Buslogic BT 950 scsi card not detected o [1998/07/13] kern/7272 mountpoint on NFS server can be removed b o [1998/07/15] kern/7288 /kernel: panic: ffs_alloccg: map corrupte o [1998/07/19] ports/7318 ports pkg_add ignores missing dependencies o [1998/07/21] bin/7358 [PATCH] Security patches for locatedb etc o [1998/07/21] i386/7361 AHA-2940UW, Micron Millenia, ahc. Driver o [1998/07/23] docs/7385 doc http://www.FreeBSD.ORG/releases/ Current o [1998/07/26] ports/7400 ports ports: ja-canna can't start o [1998/07/26] ports/7401 ports port japanese/handbook can't be installed 88 problems total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [1995/03/02] misc/229 bde acos() core dump a [1995/03/20] kern/260 davidg msync and munmap don't bother to update m s [1995/05/16] kern/425 arp entries not getting removed when inte f [1995/06/17] kern/527 dufault dump causes assertion in ncr.c o [1995/07/02] kern/579 bde sio: RS_IBUFSIZE at 256 bytes serial line s [1995/07/29] kern/638 Transmitted packets not passed to bpf in o [1995/10/18] bin/786 wpaul Problem with NIS and large group maps a [1996/02/17] bin/1030 cracauer /bin/sh does not pass environment variabl s [1996/03/06] kern/1067 panic: ufs_lock: recursive lock not expec o [1996/05/24] misc/1247 yokota Conflicting header files f [1996/05/26] kern/1256 ZNYX 314 mysterously looses packets o [1996/06/07] kern/1301 davidg DEC FDDI/PCI Adapter: halt code = 6 (DMA s [1996/07/19] docs/1402 doc sh(1) manual f [1996/08/03] bin/1461 Incorrect address binding of Kerberized r o [1996/08/04] kern/1467 gibbs scsi_prevent causing tape problems on clo o [1996/08/18] kern/1512 dg Use of madvise may may cause bad memory m f [1996/08/22] kern/1533 dyson Machine can be panicked by a userland pro o [1996/09/19] bin/1650 telnet encryption with char-mode and asci s [1996/09/21] kern/1661 ft driver hangs uninterruptably at "bavai o [1996/09/29] kern/1689 wollman TCP extensions throttles distant connecti o [1996/10/01] bin/1702 phk installing of tcl manpages fails from mak o [1996/10/04] kern/1723 gibbs kernel fault when doing scsi reprobe o [1996/10/04] kern/1724 gibbs HP colorado T4000S tape drive hangs syste o [1996/10/04] kern/1726 panic in kmem_malloc (dump available) o [1996/10/15] kern/1812 dg vnodes are left in a locked state o [1996/10/15] kern/1814 cy driver gets deadlocked sometimes o [1996/10/20] kern/1848 breakpoints may be set in shared librarie f [1996/10/21] kern/1856 peter read-only nfs mount: panic leaf should be a [1996/10/22] ports/1866 wosch popclient flushes remote mailbox even wit s [1996/10/26] bin/1892 install(1) removes target file s [1996/11/08] gnu/1981 ypserv handles null key incorrectly o [1996/11/13] ports/2000 asami obsolete software in distfiles directory a [1996/11/13] bin/2001 vi confused about lines to display a [1996/11/14] kern/2014 sos Console keyboard lockup problem o [1996/11/18] kern/2053 peter de0 driver don't work at 100M for Compex s [1996/12/03] kern/2142 FP mask not saved for signal handlers s [1996/12/22] ports/2268 ports libc from linux emulator does not use /et o [1996/12/22] kern/2270 Hayes ESP serial card locks system as of a [1996/12/30] kern/2325 quota.user enlarged, no boot on 2.2-BETA o [1996/12/30] kern/2330 changing root device to sd0a - ncr0: abor o [1997/01/07] gnu/2394 tar will extract files even if -C command o [1997/01/08] kern/2425 amd driver does not reprobe devices. o [1997/01/09] bin/2430 mountd stops on loading if subnet mask is o [1997/01/09] i386/2431 tegge panic: get_pv_entry: cannot get a pv_entr o [1997/01/12] i386/2471 Sound: Reset failed - Can't reopen device o [1997/01/13] misc/2479 sos NEC CD-ROM NOT RECOGNIZED; MATROX MISTIQU o [1997/01/13] bin/2489 steve gnats mangles sections o [1997/01/16] kern/2507 Renaming DOS directories with "mv" causes o [1997/01/20] bin/2541 tegge cd (using /bin/sh) may leave you in the w o [1997/01/20] kern/2545 se < sd0(ncr0:6:0): COMMAND FAILED ==> Not a [1997/01/21] bin/2549 sos cdcontrol refuses to play audio CDs from o [1997/02/02] kern/2640 2.2-RELENG leaks memory (router/pppd serv s [1997/02/03] kern/2647 changing existing route to -static crashe o [1997/02/05] kern/2667 wollman bpfattach can hang the system o [1997/02/05] bin/2671 Run-away processes using all CPU time a [1997/02/06] kern/2675 lkmcioctl() is not consistent and careful o [1997/02/07] kern/2690 asami When Using ccd in a mirror mode, file cre o [1997/02/08] kern/2695 sio1 (16540 serial port) is not recognize o [1997/02/09] kern/2698 After rewind I cannot read a tape; blocks o [1997/02/12] kern/2719 added support for magneto-optical SCSI di o [1997/02/14] bin/2736 No boot block if no FreeBSD partitions on o [1997/02/15] kern/2742 panic: leaf should be empty o [1997/02/15] bin/2747 davidn cannot submit at jobs from within an at j o [1997/02/16] gnu/2749 peter cvs export using remote cvs fails - CVS/T o [1997/02/17] kern/2751 asami 2GB limitation on CCD device partitions s o [1997/02/18] bin/2762 Precedence mistake in libncurses o [1997/02/19] kern/2768 ktrace(1) -i dumps corrupted trace data o [1997/02/19] bin/2769 fsck needs several runs to clean up bad/d o [1997/02/19] kern/2770 panic: vm_fault: fault on nofault entry o [1997/02/19] kern/2771 panic: bad dir o [1997/02/19] kern/2773 peter bad dir panic o [1997/02/20] bin/2785 wpaul callbootd uses an unitialized variable o [1997/02/20] gnu/2786 gcc version 2.7.2.1 C compiler slows down o [1997/02/21] misc/2793 libc_r make fscanf failure o [1997/02/22] kern/2800 DDS large data writing probrem o [1997/02/25] kern/2815 Custom Kernel crashes o [1997/03/01] kern/2840 mlock+minherit+fork+munlock causes panics o [1997/03/03] i386/2853 sos syscons beeps even if beeping screen is n o [1997/03/03] kern/2858 peter FreeBSD NFS client can't mount filesystem o [1997/03/04] kern/2873 the od0 devies does not handle a Maxoptix o [1997/03/07] bin/2915 the "-fstype ufs" option of "find" seems o [1997/03/08] kern/2919 vm_fault: fault on nofault entry, addr: f o [1997/03/11] bin/2948 can't dump 640MB optical disks o [1997/03/12] kern/2965 st0 hang/fail on reading 4mm DAT tape for o [1997/03/12] bin/2969 csh and/or builtin printf has problems wi o [1997/03/12] bin/2973 output of iostat is wrong. o [1997/03/15] kern/2991 RTF_LLINFO routes remain when interface i o [1997/03/18] kern/3021 panic after sync during reboot o [1997/03/21] kern/3054 ahasty OPL3 sound off by one note o [1997/03/21] bin/3055 umount -f does not work o [1997/03/28] i386/3130 yokota Dell Latitude keyboard lock up o [1997/04/01] bin/3170 vi freaks and dump core if user doesn't e o [1997/04/05] kern/3201 peter de0 not re-enabled after hub down o [1997/04/05] ports/3205 jmz Mtools-3.0 attempts to flock() a disk par o [1997/04/06] kern/3216 panic: pmap_zero_page: CMAP busy o [1997/04/06] kern/3219 sppp or arnet gets looped after connectio o [1997/04/09] kern/3244 ipfw flush closes connections o [1997/04/10] bin/3246 mtree -c should escape whitespace and spe o [1997/04/15] bin/3305 Can't do encrypted rlogin into self o [1997/04/18] kern/3327 using gdb may cause hanging processes. o [1997/04/19] bin/3355 se ncrcontrol fails when -DFAILSAFE in kerne o [1997/04/25] kern/3381 peter 2.2.x kernel panic on traversing and remo o [1997/04/25] kern/3384 telldir-seekdir can cause livelock o [1997/04/28] bin/3406 rich Fresh Internet Install - Permissions on f o [1997/05/01] gnu/3441 C++ exceptions don't work in shared libra o [1997/05/01] kern/3463 netstat -I packet count increase on sl0 w o [1997/05/03] bin/3478 pwd_mkdb and passwd o [1997/05/04] i386/3502 Merge of if_ix* and if_ie* broke EE/16 su o [1997/05/06] bin/3524 rlogin doesn't read $HOSTALIASES for non- o [1997/05/07] kern/3527 peter if_de.c doesn't recognize Kingston card p o [1997/05/09] kern/3564 using MPU401 driver pagefaults kernel o [1997/05/09] kern/3569 ex0 driver doesn't work with EtherExpress o [1997/05/11] misc/3578 defining CXXFLAGS in /etc/make.conf or en o [1997/05/12] kern/3579 peter de driver doesn't support newer SMC 9332 o [1997/05/12] kern/3581 intermittent trap 12 in lockstatus() o [1997/05/12] kern/3582 panic: bad dir (mangled entry) in 2.2-STA o [1997/05/13] conf/3591 parts in rc.local have no effects in rc.* s [1997/05/25] kern/3685 [PATCH] panic: fdesc attr o [1997/05/30] conf/3725 Cirrus Logic PCMCIA Controller Support o [1997/05/30] kern/3726 peter process hangs in 2.2-stable when working o [1997/05/30] kern/3727 SCSI II tape support broken o [1997/06/01] conf/3750 phk Potential improvements to rc.firewall o [1997/06/03] kern/3771 NFS hangs when writing to local FS re-mou o [1997/06/04] i386/3779 changing cursor to blinking block causes o [1997/06/07] conf/3807 mitsumi cd-rom fx800 (8x cd-rom) is not r o [1997/06/08] gnu/3810 cvs can't handle multiple multiple-path d o [1997/06/16] misc/3883 @+netgroup entries break +NIS-user entrie o [1997/06/18] kern/3899 df while unmounting floppy crashes 2.2.2 o [1997/06/19] kern/3909 joerg A patch supporting some new worm drivers o [1997/06/19] gnu/3910 sort(1) of 2.2.1R doesn't work in special o [1997/06/28] misc/3980 peter access via NFS fails during mount-operati o [1997/06/29] bin/3982 /usr/include/arpa/tftp.h has bug preventi o [1997/06/29] bin/3986 rdist seg faults when target machine is d o [1997/07/02] kern/4012 peter 2.2-RELEASE/Digital UNIX NFSv3 0 length f o [1997/07/02] misc/4013 boot floppy hangs if IDE ZIP Drive presen o [1997/07/04] kern/4032 gibbs During recovery from scsi errors, incorre s [1997/07/06] gnu/4042 gdb stackframe in static library shows no o [1997/07/07] ports/4050 jfitz mrtg: rateup dumps core with malloc_optio o [1997/07/12] bin/4078 sos Typed password to log in on console and i o [1997/07/17] kern/4115 peter SunOS NFS file has wrong owner if creator o [1997/07/26] bin/4176 restore gets confused when run over pipe o [1997/07/27] ports/4179 fenner lmbench-1.1 dumps core after asking for m o [1997/07/28] kern/4186 peter nfsiod, panic, page fault in kernel mode o [1997/07/30] kern/4194 peter kernel pci driver for Digital 21041 Ether o [1997/08/04] i386/4226 Floating point exception for double preci o [1997/08/06] kern/4240 kernel fails to recognise 2nd serial port o [1997/08/08] conf/4252 peter sendmail doesn't use smrsh by default o [1997/08/09] kern/4256 gibbs ahc driver: kernel goes to strange state o [1997/08/10] kern/4260 EOF handling in st(4) is broken o [1997/08/10] kern/4265 Panic in dsinit when multiple FreeBSD sli o [1997/08/10] kern/4270 ch driver does not use bounce buffers o [1997/08/11] bin/4276 Security problem with DNS resolution o [1997/08/12] kern/4284 le0 goes OACTIVE after some time o [1997/08/13] kern/4295 SL/IP difficulties between 2.2.1 & 2.2.2 o [1997/08/16] kern/4312 arp table gets messed up, syslog "gateway o [1997/08/17] kern/4327 peter NFS over TCP reconnect problem s [1997/08/19] kern/4338 New device driver (Cyclades Cyclom-Z) o [1997/08/21] bin/4353 fetch -m changes modified date o [1997/08/22] bin/4357 wosch bug in adduser script causes duplicate UI o [1997/08/23] bin/4366 bad144 crashes if checking over 2gb o [1997/08/25] kern/4381 mount -t msdos causes panic:vm_fault o [1997/08/25] kern/4382 CURRENT kernel has a "free vnode isn't" p o [1997/08/27] ports/4405 jfitz ascend-radius port is out-of-date o [1997/09/02] kern/4454 X drops characters/locks up keyboard when o [1997/09/03] bin/4460 lpd hangs exiting (IE in ps table) o [1997/09/07] kern/4487 Kernel panic executing a directory o [1997/09/08] bin/4497 Reverse DNS fails for some CIDR *.IN-ADDR o [1997/09/09] kern/4505 Support for Gravis UltraSound PnP card o [1997/09/10] kern/4508 peter nfs3 data integrity problems o [1997/09/11] kern/4513 System lockup appears to be VM related. o [1997/09/14] i386/4533 Server with Cyclom-Y PCI card rebooted at o [1997/09/14] kern/4544 Linux emulator problems when MAXDSIZ is i a [1997/09/18] bin/4568 simple /bin/sh script produces wrong resu o [1997/09/19] bin/4582 integer overflow in 'sa -km' o [1997/09/19] bin/4585 termcap search fails too early o [1997/09/20] kern/4588 peter NFS access locks up o [1997/09/21] kern/4600 peter nfs lookups might give incorrect result o [1997/09/26] conf/4634 peter Sendmail Problem o [1997/09/27] bin/4638 telnet tries to resolve numerical IP addr o [1997/09/30] kern/4663 checkalias panic o [1997/10/01] kern/4666 dfr umount -f doesn't seem to work o [1997/10/01] bin/4672 rdist does not do hard links right when t o [1997/10/03] bin/4683 restore doesn't correctly handle "sparse" o [1997/10/05] docs/4691 no documentation for mk_cmds(1) o [1997/10/14] kern/4768 netatalk won't start with multicast error o [1997/10/15] kern/4772 ATAPI CD (bootable) causes kernel panic o [1997/10/16] ports/4773 torstenb Error in posting news items to INN server o [1997/10/16] kern/4774 trying to use IBCS2 shared libraries cras o [1997/10/16] kern/4782 Under certain conditions, several krsh's o [1997/10/18] bin/4795 glitch in /bin/sh cd command o [1997/10/18] ports/4798 jmz setuid-root Xserver problem o [1997/10/24] kern/4843 48 meg double fault moved to 64 meg in 2. o [1997/10/25] bin/4850 peter Named crashes with "rm_datum: DB_F_ACTIVE o [1997/10/26] kern/4859 SMP kernel panics with timeout table full o [1997/10/27] ports/4865 ports xdm doesn't set env variables o [1997/10/28] bin/4884 the version of amd in 2.2.5-RELEASE appea o [1997/10/31] bin/4907 Oct 33* Daylight Savings Time ends; clock o [1997/10/31] kern/4909 de ethernet driver is crazy on 100base o [1997/11/01] bin/4913 peter Large mail messages can cause mail.local o [1997/11/03] kern/4927 kernel does not check any quota and permi o [1997/11/04] bin/4939 uuxqt unable to execute rnews program o [1997/11/05] kern/4945 continued failure to use the Adaptec 1460 o [1997/11/05] bin/4949 rpc.rquotad stat()s fs with quota file in o [1997/11/09] kern/4990 peter NFS hangs under FastEthernet. 1024 Bytes o [1997/11/10] bin/4998 peter mail and more do not work well with being o [1997/11/10] misc/5001 During installation sc0 device is require o [1997/11/10] misc/5005 f2c is buggy and seriously outdated (agai o [1997/11/11] bin/5008 libc_r not working at static linking o [1997/11/15] conf/5062 login.access not evaluated correctly o [1997/11/18] bin/5084 wrong "term" for internal shell o [1997/11/18] kern/5085 System crash during mount command for CD o [1997/11/20] bin/5105 mount_cd9660 or mount -t cd9660 fails to o [1997/11/20] misc/5107 rebuilding of whatis database does not ca o [1997/11/22] gnu/5126 C++ compiler bug (assembly output) o [1997/11/23] i386/5128 Adaptec 2940U Timeouts with QUANTUM disk s [1997/12/02] bin/5189 rcmd(3) only allows one hardcoded connect s [1997/12/02] conf/5191 [PATCH] fsck during boot fails due to lac s [1997/12/03] misc/5207 Examples for /etc are not in /usr/share/e o [1997/12/06] kern/5244 F00F workaround dosn't always work on SMP o [1997/12/13] kern/5285 quotas do not work properly with setuid p s [1997/12/14] bin/5297 make incompatibility with System V style o [1997/12/19] misc/5343 booteasy problem o [1997/12/19] kern/5347 peter DEC (de0) ethernet card has no buffers af a [1997/12/21] docs/5358 doc USWC write posting must be turned off on o [1997/12/30] kern/5396 fdesc fs crashes system o [1997/12/31] i386/5401 peter de0 selects wrong media when reconnected f [1998/01/08] kern/5456 After writing more than 100MB to SCSI Exa f [1998/01/15] misc/5499 when setting up the partition for free bs o [1998/01/15] bin/5500 "invalid hostname" is logged instead of I o [1998/01/16] kern/5513 luigi new PnP code is BAD (soundcards) s [1998/01/19] kern/5522 [PATCH] ip_input.c & ip_output.c problems o [1998/01/20] ports/5530 asami fetch (in make fetch stage) do not use pa o [1998/01/22] bin/5548 syslogd core dumps when signaled o [1998/01/22] misc/5552 RE: Linux append=reboot=bios parameter im o [1998/01/26] misc/5574 bootpd gets timezone incorrectly o [1998/01/27] kern/5587 session id gets dropped o [1998/01/29] kern/5598 Support for magneto-optic SCSI devices wi s [1998/01/30] bin/5604 setenv(3) function has memory leak, other o [1998/01/30] kern/5606 Kernel Panic running Linux Binary without o [1998/01/31] kern/5611 bind does not check sockaddr->sin_family o [1998/02/01] kern/5618 kernel memory leak in routetbl. o [1998/02/01] kern/5624 dumping to tape causes scsi bus reset o [1998/02/04] kern/5643 NCR 810/815 do not handle rewind correctl o [1998/02/05] bin/5661 /sbin/dump never finishes o [1998/02/06] misc/5673 2.2-980204-SNAP installer runs out of dis o [1998/02/09] bin/5693 groff -mm or groff -mmm ??? o [1998/02/10] i386/5698 LPIP causes spurious reboots o [1998/02/11] misc/5722 Brazil can't decide on daylight savings o [1998/02/12] kern/5728 peter NFS hangs o [1998/02/12] kern/5731 peter executables wedge on "vmopar" when built o [1998/02/12] bin/5733 cp -r cannot copy un-writable directories o [1998/02/15] i386/5760 3.0-CURRENT freezes at mount root stage o o [1998/02/17] gnu/5767 man leaves partially formatted cat pages o [1998/02/19] kern/5794 Kernel Panic o [1998/02/23] ports/5825 ports cd-write 1.4 fails to read tracks. o [1998/02/23] kern/5827 kernel panics in current (3.0) o [1998/02/24] kern/5839 vm_page_unwire: invalid wire count: 0 o [1998/02/25] bin/5845 in sh, set -- `getopt ...` always returns o [1998/02/25] ports/5850 me xemacs-20.3 contains bad send-pr o [1998/02/25] misc/5852 Page fault or error caused by writing to o [1998/02/25] bin/5854 host -l MX or NS core dumps o [1998/02/27] bin/5867 peter pppd or FreeBSD ? o [1998/02/28] kern/5877 sb_cc counts control data as well as data o [1998/03/01] kern/5890 peter NFS server Side say NFSERR_BAD_COOKIE (rm o [1998/03/01] kern/5896 FreeBSD host can't network-write to other o [1998/03/02] kern/5904 panic: newfs o [1998/03/06] ports/5933 ports emacsserver (19.34b) hostname in /tmp/ese o [1998/03/09] bin/5959 Cannot set up clocal gettys o [1998/03/09] bin/5961 dup2 wrapper in libc_r is incomplete o [1998/03/10] kern/5965 FreeBSD TCP/IP connectivity get buried by o [1998/03/10] kern/5969 non-root user can reboot/lock up system o [1998/03/10] ports/5970 ports psmisc ports uploaded to freebsd.org:/pub o [1998/03/11] kern/5975 can't boot freebsd: fatal trap12: page fa o [1998/03/11] kern/5979 julian sd.c doesn't validate all mode sense 4 va o [1998/03/12] kern/5991 panic: free vnode isn't o [1998/03/14] conf/6002 peter /etc/mail/sendmail.cf.addtions seems to l o [1998/03/14] bin/6004 cron in -CURRENT sometimes fails to proce o [1998/03/14] bin/6005 -CURRENT cron dies after short periods of o [1998/03/16] kern/6035 The system "sort-of" hangs when playing b o [1998/03/19] kern/6066 lnc driver does not work correctly with A o [1998/03/19] bin/6071 2.2.6-980315-BETA up grade option problem o [1998/03/20] bin/6074 Incremental dumps are backing up unchange o [1998/03/21] bin/6087 sh doesn't work properly on certain confi o [1998/03/22] kern/6099 LPIP to slow machine causes hang o [1998/03/22] kern/6103 panic: ffs_valloc: dup alloc o [1998/03/28] bin/6162 kinit does not default to the current use o [1998/03/30] ports/6180 max youbin port has root-exploitable security o [1998/04/02] kern/6197 3com905 Seriously broken o [1998/04/03] kern/6203 kernel panics with "blkfree: freeing free o [1998/04/03] conf/6205 NFS/NIS freak out o [1998/04/04] kern/6212 Two bugs with MFS filesystems fixed, one o [1998/04/07] kern/6238 luigi Sound-driver patch for MAD16 (OPTi 928,92 o [1998/04/07] kern/6242 vnode disk driver too unstable in -STABLE o [1998/04/08] kern/6251 peter ktrace very broken when logging over NFS o [1998/04/08] kern/6252 ide cdrom hangs system when on same bus a o [1998/04/09] kern/6253 Atapi wait for command phase too short. o [1998/04/10] kern/6267 dg panic: pmap_dispose_proc: upage already m o [1998/04/11] kern/6277 mouse operation weird in -current o [1998/04/13] ports/6288 se KDE port glitches o [1998/04/14] kern/6300 System locks up in SMP mode when accessin f [1998/04/15] misc/6310 des explicit cast needed in floatpoint.h for o [1998/04/16] bin/6317 with -8E flags telnet still goes to comma o [1998/04/17] kern/6336 peter NFSv3 should support files >2GB, but does o [1998/04/17] misc/6340 missing the terminfo, which causes librar o [1998/04/18] kern/6344 cy driver is outdated o [1998/04/19] kern/6351 DPT RAID controller stops working under h s [1998/04/19] bin/6353 How about upgrading from amd to am-utils? o [1998/04/20] i386/6368 Stallion Easyio 8 port not detected using o [1998/04/22] bin/6383 csh - when ctrl-d is pressed, file is chm o [1998/04/25] kern/6412 peter NFS sends packets from the wrong interfac o [1998/04/30] misc/6472 jb [PATCH] _thread_flockfile() hangs process a [1998/05/01] kern/6481 se Patches for VIA Socket 7 chipsets o [1998/05/03] kern/6506 system will not soft reboot f [1998/05/05] kern/6525 Coral-Draw 5 CD crashes 2.2.6-STABLE a [1998/05/06] bin/6536 pppd doesn't restore drainwait for tty f [1998/05/06] bin/6539 markm [PATCH] bmake version of perl5 available o [1998/05/07] misc/6549 steve You dont always get notified when someone o [1998/05/08] bin/6557 /bin/sh is broken o [1998/05/10] kern/6574 ipfw crash with DIAGANOSTICS o [1998/05/10] bin/6577 /bin/sh environment variables not set in o [1998/05/11] kern/6587 SMP idle cpl breaks signal forwarding o [1998/05/11] kern/6589 system panick'd with May 4th kernel o [1998/05/11] ports/6591 se KDE starts /usr/bin/kzip instead of /usr/ o [1998/05/12] kern/6603 ncr driver hangs under high load o [1998/05/12] bin/6609 gmp.h not installed o [1998/05/15] kern/6650 joerg Replugging PS/2 keyboard causes a panic o [1998/05/17] kern/6670 PANIC on boot with FreeBSD 3.0 (same comp s [1998/05/19] kern/6686 [STABLE] -stable does not support large I o [1998/05/20] kern/6706 mount_msdos+mount_null+mc=panic f [1998/05/21] kern/6710 Quiting PPP paniced my machine o [1998/05/21] ports/6715 jraynard ElectricFence fails to work on -current o [1998/05/25] kern/6751 audio cd play suddenly stops. o [1998/05/25] kern/6755 peter Tulip (if_de) driver buggy in -current o [1998/05/27] kern/6771 peter panic: Bad nfs svc reply s [1998/05/27] misc/6773 [PATCH] tempnam.c security problems s [1998/05/29] bin/6790 [PATCH] make(1) coredumps in debugging mo s [1998/05/30] bin/6799 [THREAD,SCSI] problem with open(2) in lib o [1998/06/01] ports/6821 ports wwwoffle-2.1 port (second posting) o [1998/06/01] misc/6824 peter Intel EtherExpress 100+, 2.2.6 NFS troubl s [1998/06/02] bin/6830 make(1) exhibits confusing and non-standa o [1998/06/03] ports/6851 ports apply DFN-CERT#34784 to CGIParse.c s [1998/06/04] kern/6854 ahasty [PATCH] probing brooktree849 capture card s [1998/06/04] kern/6858 inetd in realloc(): warning: junk pointer o [1998/06/04] bin/6860 chgrp missing from /sbin o [1998/06/04] misc/6861 [PATCH] netboot error o [1998/06/05] kern/6865 OS crashes when exiting shell with suspen o [1998/06/05] conf/6872 Wrong csu lib built when setting BINFORMA o [1998/06/09] ports/6902 ports xemacs package broken (motif dependency) o [1998/06/10] kern/6908 kernel crash from user land o [1998/06/12] ports/6929 ports fxtv-0.47 fails to build on AccelX server o [1998/06/12] ports/6930 imp socks5 port broken by /usr/lib/aout chang o [1998/06/15] misc/6956 panic: Going nowhere without my init when o [1998/06/18] ports/6986 ports LaTeX vs. teTeX ; xdvi, xdvik vs. teTeX o [1998/06/19] bin/6994 The netstat(1) -s generates wrong output f [1998/06/19] i386/6996 Occasional complete lockup of 2.2.5R o [1998/06/19] i386/7003 Problem with 3com ethernet 3c509a adaptor s [1998/06/22] bin/7019 [security] pwd.db almost always contains o [1998/06/22] ports/7026 markm corrections to the perl5 port s [1998/06/23] bin/7033 Same process notified multiple times o [1998/06/24] kern/7038 shimon Kernel panic caused by DPT driver (Got a s [1998/06/24] bin/7043 the fstat command doesn't know ISOFS, MSD s [1998/06/24] conf/7054 [PATCH] bad default value of ${fs} for ty o [1998/06/24] i386/7057 3Com 3C509 locks up, or has >1000ms rtt u s [1998/06/24] bin/7059 sh dumps core on this script o [1998/06/24] ports/7061 ports fspclient's grab command fails (and remov s [1998/06/26] docs/7079 doc [PATCH] FAQ 10.15 on IP multicast routing o [1998/06/27] ports/7090 ports xlock manhandles crypt(3) API. o [1998/06/29] ports/7118 ports ifmail 2.13 port has tty lock files in wr f [1998/07/01] kern/7141 Kernel freezes, gdb, high memory load o [1998/07/05] ports/7167 ache elm cannot pgp for more than one recipien s [1998/07/05] kern/7169 cannot use accton on a append-only file o [1998/07/05] kern/7178 sos IDE Western Digital hard disk detection e o [1998/07/06] ports/7182 ports www/netscape4-navigator cant fetch fortif s [1998/07/06] misc/7190 "Invalid partition table" after new insta o [1998/07/07] ports/7200 ports Patch breaks tripwire security paradigm o [1998/07/08] ports/7208 ports INN port w/TCL enabled doesn't install TC o [1998/07/08] ports/7212 ports XFree86 (internat) port fails to install o [1998/07/10] i386/7235 3Com 3C905 ethernet card cannot be probed s [1998/07/10] kern/7237 NCR SCSI driver ch0 troubles o [1998/07/11] kern/7245 processes die with signal 6, if machine o o [1998/07/12] i386/7263 FBSD-2.2.6 installation hangs after findi o [1998/07/12] i386/7266 yokota PSM detection failure with Linksys consol o [1998/07/14] kern/7281 Multicast kludge does not work correctly o [1998/07/16] kern/7299 USER_LDT hangs Linux-emulated Netscape o [1998/07/17] bin/7309 jb pthread_attr_setscope() missing o [1998/07/18] i386/7311 "Probing devices" hangs computer with err o [1998/07/20] ports/7330 ports ucd-snmp produces too much log file when o [1998/07/21] conf/7354 source distribution selection bug when in o [1998/07/21] ports/7356 ports update pnmtopng port f [1998/07/22] kern/7367 panic: malloc: wrong bucket o [1998/07/22] bin/7370 ftp client fails to connect o [1998/07/23] kern/7378 3c905B (PCI) revision not detected proper o [1998/07/23] ports/7382 ports Pine4 does not co-exist with older instal o [1998/07/23] ports/7383 ports socks5 + ssh + redirection not working o [1998/07/23] ports/7384 /usr/lib/libncurses.so.3.1 is old o [1998/07/24] i386/7390 jkh Core dump during 2.2.6 -> 2.2.7 upgrade. o [1998/07/24] bin/7393 du throws SIGSEGV whenever '-c' option is f [1998/07/26] bin/7402 Games primes and factor don't understand o [1998/07/26] kern/7405 in pmap_changebit, pmap_pte_quick() retur s [1998/07/27] kern/7410 [PATCH] driver for arlan-655 o [1998/07/27] kern/7415 VMIO bug for FS with sub-page-size blocks 401 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- s [1995/01/14] bin/115 systat iostat display doesn't scale high s [1995/05/13] bin/401 Add REMOTE_* variables s [1995/05/23] i386/440 want vidcontrol option to apply settings a [1995/05/27] gnu/450 scrappy tar --exclude -c doesn't work s [1995/06/15] bin/517 Bad group change with 'install' o [1995/07/09] misc/605 wpaul NIS: get*bynis routine problems s [1995/08/05] gnu/655 ld -r of shared objects worked in 1.1.5, s [1995/08/07] bin/658 ifconfig alias has to be separately given s [1995/09/26] kern/742 syslog errors accessing Mac hard disks [p s [1995/10/03] kern/765 umount -f can`t umount a NFS filesystem i s [1995/11/20] kern/831 one minor complaint about the kernel visu s [1995/11/27] bin/841 stale nfs mounts cannot be umounted o [1995/11/30] bin/854 dg swapinfo shows incorrect information for o [1995/12/17] kern/900 dg ext2fs triggers divide by zero trap in vn o [1996/01/21] bin/961 hoek 'more $file', incorrect CRLF compacting. s [1996/01/28] kern/975 getrusage returns negative deltas a [1996/01/30] bin/981 fenner clnt_broadcast() is not aware of aliases s [1996/02/07] bin/999 /usr/share/mk/sys.mk missing common $(RM) s [1996/03/20] kern/1090 iostat displays incorrect sps count s [1996/03/20] bin/1093 route's diagnostic is weird o [1996/04/06] kern/1119 dg Mounted EXT2FS partition is not cleanly u o [1996/05/15] bin/1206 cracauer /bin/sh + emacs + ^G = ruined terminal s [1996/06/11] bin/1312 automounter hangs on boot s [1996/06/13] bin/1320 dump limits blocksize to 32K s [1996/06/18] i386/1331 [PATCH] changes and bug in ft driver s [1996/07/07] bin/1375 jraynard Extraneous warning from mv(1) [PATCH] o [1996/07/24] misc/1428 ncurses doesn't always display ALTCHARSET a [1996/08/07] ports/1470 asami need more info in the ports structure s [1996/08/17] bin/1502 [PATCH] vmstat 'avm' field merges with pr o [1996/08/19] kern/1514 dg mlock fails on readonly regions o [1996/08/20] kern/1516 dg vm_fault.c contains dead code or too many o [1996/08/21] ports/1520 erich sudo dosn't recognise certain passwords a a [1996/09/04] bin/1565 Moving a file to it's link completely rem o [1996/09/06] bin/1577 peter mail -f foo does not look in current dire s [1996/09/08] bin/1589 [PATCH] ftp fails to flush output o [1996/09/14] gnu/1611 phk groff should use "system-wide" papersize s [1996/09/19] kern/1654 [PATCH] In procfs, vattr doesn't contain o [1996/09/23] i386/1671 joerg s2 map in pcvt isn't ISO 8859-1 and claim o [1996/09/29] docs/1691 doc ppp server doc submission o [1996/10/02] kern/1711 joerg kernel logging of signaled processes shou s [1996/10/13] kern/1788 wollman netstat gives negative numbers for tcp by s [1996/10/13] misc/1791 syslimits.h does not allow overriding def o [1996/10/14] ports/1804 ports pkg_create hangs if the packing list has o [1996/10/20] bin/1849 gdb sets library breakpoints on the wrong o [1996/10/20] docs/1855 joerg Addition to LINT o [1996/10/23] bin/1872 automounter (amd) cannot ls directories w s [1996/10/24] bin/1881 file(1) misidentifies Sun3/m68k executabl s [1996/11/01] bin/1941 danny wtmp and monthly rotation s [1996/11/01] bin/1943 route(8) args s [1996/11/02] bin/1945 Out of date code/comments in dd o [1996/11/04] i386/1953 sos syscons savers have no default timeout s [1996/11/04] gnu/1961 [PATCH] uucp logging files are in /var/sp s [1996/11/06] bin/1970 csh limtail() bug s [1996/11/16] bin/2036 cpio size wraparound s [1996/11/19] bin/2061 DEBUG_FLAGS in bsd.lib.mk is broken s [1996/11/22] bin/2090 clients may bind to FreeBSD ypserv refusi o [1996/11/25] misc/2105 jmg bsd.lib.mk has problems with STRIP and IN o [1996/11/26] i386/2108 sos [ATAPI] wcd driver may hang under certain o [1996/11/28] kern/2118 sos writing to virtual consoles fails to disp s [1996/11/28] bin/2119 [PATCH] mount lies to child about argv0, s [1996/12/02] bin/2137 vm statistics are bad o [1996/12/07] ports/2169 pst zephyr port disagrees with Kerberos causi o [1996/12/08] bin/2184 peter sendmail has lots of trouble with local d a [1996/12/10] ports/2190 asami need cross-reference to xpdf from X11 por s [1996/12/12] kern/2199 joerg [PATCH] Got a lots of "Target Busy" messa s [1996/12/14] kern/2214 File System gets corrupted when mounting s [1996/12/14] bin/2216 [PATCH] Ada specs not being compiled into s [1996/12/17] i386/2234 fbsdboot.exe does not turn off floppy dri o [1996/12/17] i386/2239 jmg some interrupts take too long (i.e. BT946 a [1996/12/21] bin/2265 guido su(1) does not call skeyaccess() o [1996/12/24] kern/2273 dufault support for POSIX.4 / POSIX.1a RT-schedul s [1996/12/26] bin/2291 [PATCH?] race condition in /etc/master.pa s [1996/12/27] kern/2298 Support for DSR/DCD swapping on serial po a [1996/12/27] misc/2302 markm new crypt() including SHS and an extendab o [1996/12/29] bin/2315 peter tail segfaults on NFS permission denied s [1996/12/30] kern/2327 [PATCH] `Green' saver for pcvt o [1997/01/06] bin/2387 [PATCH] virtual hosting patches for inetd o [1997/01/07] kern/2393 filesystems not unmounted following shutd o [1997/01/07] bin/2410 pppd(8): failing PAP doesn't force line d o [1997/01/10] bin/2442 davidn setusershell()/endusershell() missing o [1997/01/11] bin/2448 steve [MFC] semctl() not portable -- freebsd re o [1997/01/12] kern/2462 sos screen saver dosn't capture key strokes o [1997/01/14] kern/2492 AIMS Lab RadioTrack driver for FreeBSD 2. o [1997/01/15] bin/2499 des fetch ftp://bla bla doesn't bail in disk o [1997/01/16] i386/2514 jkh BootEasy binary is OLD in in FBSD install o [1997/01/17] bin/2518 /usr/bin/tar is out of date o [1997/01/21] bin/2556 Patch for calendar.c o [1997/01/26] misc/2596 dd refuses to respond to SIGkill o [1997/01/26] i386/2598 ep0 in EISA mode hangs if ep0-device (ISA o [1997/01/28] bin/2603 dufault Added POSIX.4/POSIX.1b constants in unist o [1997/01/28] bin/2604 dufault Added POSIX.4/POSIX.1b shm_open()/shm_unl o [1997/01/29] misc/2617 Utility submission - upsmon - UPS monitor o [1997/01/31] bin/2630 [PATCH] xargs does excessive and inconsis o [1997/02/02] gnu/2637 tar dumped core with -g option. a [1997/02/02] bin/2641 wpaul login_access.c doesn't work with NIS by d o [1997/02/04] bin/2660 When selecting BSD to boot from system ha o [1997/02/05] bin/2668 modification suggested for rarpd o [1997/02/05] bin/2672 Problem with telnetd o [1997/02/07] kern/2686 struct igmpmsg in s o [1997/02/10] bin/2703 jmg vipw doesn't allow you to edit master.pas o [1997/02/10] kern/2704 Occasional failure to detect wdc1 on boot o [1997/02/11] conf/2709 FBSD 2.1.6 X-Server installation setup ut o [1997/02/11] kern/2715 MSDOS-FS 1024/2048 byte/sector media supp o [1997/02/11] kern/2716 od.c/sd.c non 512 byte/sector support imp o [1997/02/13] i386/2729 "make tags" in sys/kern produces barely u o [1997/02/14] bin/2734 jkh pkg_* uses relative paths to executables o [1997/02/14] bin/2735 jkh Add signature support (both MD5 and PGP) o [1997/02/14] bin/2737 yppasswd fails to change password on a su o [1997/02/15] misc/2745 fenner PR querry web form doesn't sort correctly o [1997/02/23] kern/2806 new kernel tags script o [1997/02/26] conf/2822 ftp install specifying URL confusing o [1997/02/27] gnu/2827 after make world genclass is not installe o [1997/03/02] bin/2851 script(1) sets argv[0] of the started she o [1997/03/03] kern/2857 DE500 board exhibits capture effect o [1997/03/03] bin/2859 /usr/bin/quota seems to choke on long gro o [1997/03/03] kern/2865 peter NFS client hangs on umount, ls, df when N o [1997/03/05] kern/2886 fenner mbuf leak in multicast code o [1997/03/06] docs/2897 steve send-pr categories should be explained so o [1997/03/06] bin/2898 fenner arp -a -n buglet o [1997/03/09] i386/2924 sos syscons X keyboard gets stuck in capsmode o [1997/03/10] bin/2934 sh(1) has problems with $ENV o [1997/03/10] bin/2938 Add -b, -l, and -f options to du(1) o [1997/03/11] ports/2949 asami bsd.port.mk needs something like FETCH_EN a [1997/03/13] bin/2977 After enabling moused and vidcontrol and o [1997/03/14] ports/2988 joerg vga font is not built o [1997/03/17] ports/3012 obrien qmailanalog port in incoming o [1997/03/18] conf/3023 By default users have no write permission o [1997/03/18] misc/3024 make reinstall in /usr/src requires writa o [1997/03/22] kern/3061 route does not accept -genmask o [1997/03/31] gnu/3157 Patches to gas and gdb to support MMX ext o [1997/04/06] bin/3211 ctm uses mktemp()> o [1997/04/06] bin/3212 the pkg_* tools use mktemp() o [1997/04/07] bin/3221 rpc.rusersd : can't communicate with SunO o [1997/04/07] misc/3225 uucpd.c should normalize host names as lo o [1997/04/08] misc/3237 SCRIPTS addition to bsd.prog.mk o [1997/04/09] bin/3242 incorrect prototype for initgroups o [1997/04/10] bin/3251 xsysinfo stops refreshing and wastes CPU o [1997/04/10] kern/3253 scsiconf.c: make ZIP disks use optical dr s [1997/04/13] conf/3272 imp $@ is deprecated I believe, so use ${.TAR o [1997/04/14] kern/3281 errors when "rm -r"-ing in a mounted ext2 o [1997/04/14] kern/3282 ext2fs causes fs-unmount at shutdown/rebo o [1997/04/14] bin/3284 [PATCH] symorder(1): -t option doesnŽt wo o [1997/04/14] bin/3286 [PATCH] missing error checking in mount_m o [1997/04/14] kern/3287 [PATCH] missing symbols in /usr/src/sys/i o [1997/04/15] kern/3299 /dev/console hangs o [1997/04/17] bin/3314 /etc/daily did not run on April 6, 1997 o [1997/04/17] ports/3318 ports New port: jigsaw (Java-based HTTP server) o [1997/04/18] ports/3322 markm setlocale problem in lang/perl5 o [1997/04/25] ports/3383 ports kaffe core dumps if LD_LIBRARY_PATH not s o [1997/04/25] bin/3386 kernel 'config' wrapper 'doconfig' ala Di o [1997/04/27] bin/3399 mv of symbolic link can move directory in o [1997/04/29] bin/3416 ibcs emulation problems o [1997/04/29] bin/3418 pkg_create doesn't always create gzip'ed o [1997/05/01] ports/3455 jmz mtools-3.6.tgz could have a better mtools o [1997/05/02] kern/3475 gdb(ptrace?) cause create/modify times on o [1997/05/05] i386/3504 [PATCH] New features (and manpage) for ne o [1997/05/05] bin/3506 [PATCH] more did not show iso-8859-n char o [1997/05/05] bin/3508 FreeBSD 2.2.1 do not view SCSI disk at sw o [1997/05/06] docs/3522 Man pages close(2) misses fcntl lock info o [1997/05/08] kern/3546 ktrace works even if no read permission o [1997/05/08] gnu/3552 the -L option of tar does not work proper o [1997/05/09] bin/3556 Bug with -i option in /usr/bin/lpr o [1997/05/09] bin/3558 make reinstall collapses on install-info s [1997/05/09] kern/3571 Mounted ext2 prevents umount of filesyste o [1997/05/11] conf/3577 eBones and OBJLINK=yes fails to build o [1997/05/12] kern/3584 cleanup TCP_REASS macro in tcp_input.c o [1997/05/13] conf/3590 doc FAQ gives bad reccomendation re: xdm o [1997/05/16] bin/3608 Telnet in linemode will break apart long o [1997/05/17] kern/3611 Internal CPU cache on CyrixiInstead DX2 d o [1997/05/18] gnu/3616 permissions of /usr/libexec/uucp/uuxqt no o [1997/05/20] bin/3638 /bin/w can't handle long /dev/{tty,cua}xx o [1997/05/20] docs/3645 torstenb TCP_wrappers package doesn't mention wher s [1997/05/21] bin/3648 roberto [PATCH] find(1) extension for file flags o [1997/05/21] ports/3657 dburr Port of NCSA HyperNews submitted as p5-hy s [1997/05/22] kern/3667 [PATCH] make vn LKM'able. s [1997/05/30] docs/3720 doc Addition for supported Hardware o [1997/05/31] ports/3729 scrappy pgsql dies when initiated o [1997/06/01] conf/3751 Improvements to /etc/rc{,.network,.pccard o [1997/06/02] bin/3762 dufault Bogus return values from rtprio(1) o [1997/06/04] bin/3778 ypbind -S domainname,server1,... does not o [1997/06/07] bin/3805 single process tftpd o [1997/06/09] bin/3826 KerberosIV sometimes hangs rcp o [1997/06/10] kern/3836 Cannot remove HUGE directory o [1997/06/10] bin/3837 dufault new feature for rtprio o [1997/06/12] kern/3853 netboot/ns8390.c breaks NS datasheet o [1997/06/13] bin/3859 Setting the $0 variable in perl dosnt do o [1997/06/14] bin/3866 rcs2log fails with eastern timezones o [1997/06/15] kern/3879 peter Can't export mounted ext2fs via NFS o [1997/06/16] conf/3886 peter install does not build sendmail host stat o [1997/06/17] ports/3892 itojun new port: www/webxref (cross-reference ge o [1997/06/18] kern/3901 Multicast for Intel 10/100 Ethernet Card o [1997/06/19] misc/3912 ctags(1) cannot trace some macro correctl o [1997/06/23] kern/3938 peter Problem about mmap() over NFS o [1997/06/24] kern/3944 if_le doesnt receive ether multicast pack o [1997/06/25] kern/3948 nonworking t/tcp server side a [1997/06/25] kern/3953 kern-config: options PANIC_REBOOT_WAIT_TI o [1997/06/26] bin/3957 Makefile dependency error in amd o [1997/06/26] ports/3958 obrien a2ps fails if used according to man o [1997/06/26] i386/3962 print disk internal cache size during pro o [1997/06/27] kern/3968 Hardware probes die on Peak SBCs. o [1997/06/29] ports/3983 fenner New port: psf toolkit o [1997/07/02] ports/4014 ports package/port installation obeys roots uma o [1997/07/07] kern/4051 pppd connect 'chat ...' broken s [1997/07/07] kern/4052 VJ compression drops packets with IP+TCP o [1997/07/08] misc/4063 2.2.2R Installation fails if Jaz drive sp o [1997/07/13] ports/4083 ache netscape wrapper doesn't hand off args co o [1997/07/18] bin/4116 davidn Kerberized login as .root fails to o [1997/07/19] bin/4120 Partition sysid prevents extended DOS par f [1997/07/20] ports/4127 ports netscape-3.01: get rid of bogus error mes o [1997/07/23] kern/4153 New tcp initial send sequence number code s [1997/07/23] bin/4154 wish /bin/sleep handled fractions of a se s [1997/07/24] bin/4157 [PATCH] netstat atalk output should print o [1997/07/24] bin/4163 ftp core dumps after hitting control-C s [1997/07/26] bin/4172 suggest reconnection option added to fetc s [1997/07/28] kern/4184 [PATCH] minor nits in sys/netatalk s [1997/07/31] bin/4204 [PATCH] ac printed wrong report about tty o [1997/08/03] kern/4221 Kernel mode pppd doesen't update wtmp on o [1997/08/04] conf/4229 Ethernet interface unreachable on bootup o [1997/08/06] ports/4232 scrappy Boot-time start of postgressql postmaster o [1997/08/06] bin/4238 chpass only occasionally works in conjunc o [1997/08/07] kern/4243 file locking doesn't work for pipe o [1997/08/07] bin/4247 modification to /etc/security for FreeBSD o [1997/08/08] misc/4249 wpaul ypchsh doesn't care about changing a user a [1997/08/09] kern/4255 SMP kernel freezes on machines with >2 CP a [1997/08/09] kern/4257 itojun scsi RESERVATION CONFLICT support needed o [1997/08/10] ports/4264 ports mftp get a Segmentation fault o [1997/08/12] misc/4285 SDL RISCom/N2 (ISA) a [1997/08/13] gnu/4290 ache man wrong viewed koi8-r manpages and neqn o [1997/08/13] kern/4297 dufault SIGEV_NONE and SIGEV_SIGNAL go in signal. o [1997/08/13] i386/4300 msmith The initial timeout on open("/dev/lpt0".. o [1997/08/14] ports/4304 ports Recommendation re. Ports Collection o [1997/08/22] ports/4356 erich sudo shouldn't block signals in tgetpass( o [1997/08/23] conf/4363 kernel build depend on make obj o [1997/08/26] ports/4391 ports New port: VPCE o [1997/08/26] misc/4395 if exists(secure) in /usr/src/Makefile is o [1997/08/28] ports/4412 ports New port: YaTeX (in print and japanese) o [1997/08/29] kern/4413 No way to unmount a floppy that goes bad o [1997/08/29] misc/4414 be.iso.kbd errors in mapping o [1997/08/29] bin/4419 man can display the same man page twice o [1997/08/29] bin/4420 find -exedir doesn't chdir for first entr o [1997/09/03] bin/4459 bde No prototype for moncontrol(3) and monsta o [1997/09/04] misc/4468 dlopen is not available from static execu o [1997/09/07] bin/4484 peter sendmail is barfing o [1997/09/13] kern/4528 processes hang if the mount_portal proces a [1997/09/14] i386/4538 sos byteswapped ATAPI id strings o [1997/09/14] bin/4545 f77 will only call `cc', no com-line opti f [1997/09/15] i386/4547 asc.c and pcaudio.c should use selrecord o [1997/09/16] bin/4553 man fails to open manpage if ./man exists o [1997/09/16] misc/4556 make can't build executable from single F o [1997/09/17] ports/4565 torstenb News port: ircII-current (ircII-2.9a8/col o [1997/09/18] conf/4572 /etc/rc.network loads ipfirewall lkm rega o [1997/09/21] kern/4597 Patch to pass NPX status word in signal c o [1997/09/21] kern/4601 Contrib: userconfig patch to edit SCSI co o [1997/09/25] bin/4629 calendar doesn't print all dates sometime o [1997/09/28] misc/4646 Can't fixit with an NFS-mounted CD. o [1997/09/29] conf/4654 Need to do post-ifconfig commands o [1997/10/02] kern/4680 lkm version of vn.c o [1997/10/03] kern/4685 Some SCSI retry messages formatted differ o [1997/10/04] bin/4688 peter sys/utsname.h SYS_NMLN 32 too small o [1997/10/05] bin/4695 pstat error o [1997/10/05] bin/4696 ping hangs on certain unresolvable hosts o [1997/10/05] bin/4697 make doesn't handle dependencies with for o [1997/10/12] gnu/4748 cc -Wformat too sensitive a [1997/10/15] ports/4770 ports New port: Xitami HTTP Server o [1997/10/15] gnu/4771 diff to correct misleading total bytes in a [1997/10/19] ports/4808 andreas Broken password.c in backend/libpq for Fr o [1997/10/22] bin/4828 ypxfr makes false assumption about RPC ca o [1997/10/23] docs/4833 Manual page missing for pccardc o [1997/10/23] kern/4837 bad error return from rmdir() with msdos a [1997/10/23] ports/4839 ports New port - spin - Verification system for o [1997/10/24] kern/4845 Boot complains about disk slices in FAT p o [1997/10/24] kern/4847 pccard stuff fails after running Win95 wi o [1997/10/25] kern/4856 netatalk cannot register own host o [1997/11/01] bin/4915 peter NFS mounts to linux machine can hang syst o [1997/11/02] bin/4923 vi leaves the screen in standout mode o [1997/11/03] ports/4928 asami no 'update' target in /usr/ports/Makefile s [1997/11/04] ports/4937 mph A looks-nice audio level meter port is no o [1997/11/07] ports/4967 ports I have ported Carl DeClerck's mserver-0.2 o [1997/11/07] bin/4969 cdcontrol plays incorrect audio tracks in o [1997/11/08] bin/4975 quotaon while server very busy causes loc o [1997/11/09] kern/4992 SCSI disk scheduling disabled in 2.2.5 o [1997/11/10] kern/4997 DDB_UNATTENDED doesn't always work o [1997/11/10] misc/4999 Entering '?' at first boot prompt in inst o [1997/11/11] kern/5009 ibcs2 emulation o [1997/11/11] kern/5011 rndcontrol -s 8 causes kernel panic o [1997/11/11] docs/5016 make -j4 fails in share/doc/usd/13.viref o [1997/11/13] bin/5031 lpr does not remove original file if -s i o [1997/11/13] ports/5034 ports (tcsh) blocked write on named pipe sticks o [1997/11/14] kern/5038 FreeBSD can't read MS Joliet CDs. o [1997/11/14] gnu/5039 libdialog fails to resore terminal o [1997/11/14] kern/5040 Support for "SCSI-0" devices f [1997/11/14] ports/5045 ports freebsd.ftp.markers for xearth is out of o [1997/11/14] bin/5047 ipfw(8) IP address resolving problem if o o [1997/11/14] kern/5048 Calling shutdown(fd,1) multiple times wil o [1997/11/15] bin/5052 peter upgrade BIND o [1997/11/15] kern/5059 peter mountd, nfsd, etc. fail when lp0 defined o [1997/11/15] kern/5060 ahasty Kernel doesn't compile with mss o [1997/11/15] misc/5064 A dos2bsd conversion utility in C. o [1997/11/17] docs/5070 doc new FAQ entries o [1997/11/17] bin/5072 /usr/bin/fetch parses a URL incorrectly o [1997/11/17] bin/5073 'host -t mx' coredumps o [1997/11/18] misc/5081 sysinstall glitches o [1997/11/18] misc/5082 Permit upgrade of multi-disk system, or d o [1997/11/20] kern/5108 pmap_release panics with 'freeing held pa o [1997/11/20] bin/5109 patch to ftpd, new option to limit number o [1997/11/20] kern/5110 kernel crash & core in pmap_testbit durin a [1997/11/23] ports/5131 ports New math port: SuperLU o [1997/11/23] bin/5134 cdcontrol will eject a mounted CDROM s [1997/11/25] misc/5147 [PATCH] a shell script to help -CURRENT u o [1997/11/26] misc/5153 jkh release file checksums in wrong file o [1997/11/26] ports/5158 ports thot editor port doesn't install template s [1997/11/28] bin/5173 [PATCH] restore ought to deal with root s s [1997/11/30] i386/5182 bde [PATCH] A patch support high speed serial o [1997/12/03] ports/5200 ports new port-package for pgpmoose o [1997/12/03] ports/5201 ports new port-package for fidogate o [1997/12/03] ports/5202 ports new port-package for pathalias o [1997/12/03] conf/5213 ahasty My SB AWE64 isn't being recognized. f [1997/12/05] kern/5231 Mounted MS-DOS floppy disk writes unrelia o [1997/12/06] misc/5239 jkh ata + atapi & /stand/sysinstall & dos o [1997/12/06] ports/5240 ports Incorrect path in pkfonts (fix) o [1997/12/07] ports/5245 ports new port, bugsx game o [1997/12/09] bin/5263 sh bug (with example) s [1997/12/11] kern/5274 gibbs [PATCH] mt comp 0/1 does not work, with f s [1997/12/11] kern/5275 [PATCH] Added volume (barcode) support to o [1997/12/14] conf/5292 master.passwd -- /nonexistent vs. /sbin/n s [1997/12/14] bin/5296 slattach fails creating pidfile with ioct f [1997/12/15] ports/5302 ache webcopy port doesnt work? o [1997/12/15] ports/5312 ports New math port xwpl o [1997/12/22] kern/5362 peter mount incorrectly reports / as an NFS exp o [1997/12/28] ports/5393 ports DOOMSRC port & package o [1997/12/30] ports/5397 ports upload of new port (fly) f [1997/12/30] i386/5398 silo overflows running o [1997/12/30] docs/5399 doc Missing detail of - or -- flags to sh(1) o [1998/01/02] bin/5410 pkg_info options s [1998/01/03] bin/5419 [PATCH] timed rejects valid networks with o [1998/01/08] kern/5429 Ethernet collision during file transfers s [1998/01/08] kern/5435 [PATCH] if_fe.c for old Gateway Communica s [1998/01/08] bin/5444 [PATCH] ypserv uses wrong dns lookup orde o [1998/01/08] ports/5446 se KDE port does not install using make in / s [1998/01/08] bin/5451 roberto [PATCH] halt/reboot does not execute /etc o [1998/01/09] ports/5472 erich xmmix-1.2 prot won't compile - "SOUND_VER o [1998/01/10] ports/5475 ports abacus sentry o [1998/01/11] bin/5483 Login(1) clears utmp entry s [1998/01/15] docs/5487 doc Adding documentation for scsi(8) usage wi o [1998/01/15] kern/5502 nfsd process usage doesn't get accounted o [1998/01/15] kern/5508 SCSI Message sd0: COMMAND FAILED (4 28) @ o [1998/01/15] ports/5509 ports submit new port xruskb-1.5.1 s [1998/01/16] kern/5510 sos [PATCH] Incomplete ATAPI diagnostic at bo o [1998/01/18] kern/5517 Recursive NULLFS mount causes ufs_ihashge o [1998/01/19] misc/5525 bde gid and uid in struct pwd are ints, when s [1998/01/20] misc/5531 [SUBMISSION] new library function abs2rel s [1998/01/20] kern/5532 [PATCH] Dropped packet counts are inaccur o [1998/01/21] bin/5537 vi dumps core with dodgy exrc file o [1998/01/21] misc/5539 ftp problems with ftp.freebsd.org ? "Tran o [1998/01/21] bin/5541 ppp -alias (2.2.5-STABLE) has troubles wi o [1998/01/22] docs/5545 doc http://www.freebsd.org/handbook/handbook3 o [1998/01/22] bin/5549 Kernel Problem o [1998/01/24] i386/5559 PC-Card joystick ports were not supported o [1998/01/25] bin/5567 trying to mount a joliet filesystem cdrom o [1998/01/26] bin/5569 Problems with 'moused'. o [1998/01/26] ports/5570 ports new port, rise 0.3.3 o [1998/01/26] kern/5577 bde Unnecessary disk I/O and noatime ffs fixe a [1998/01/28] bin/5591 Trouble with LD_PRELOAD environment varia o [1998/01/28] bin/5596 killall's diagnostics bogus o [1998/01/30] ports/5608 jfitz Ports change-request: Afterstep I18N o [1998/01/31] bin/5609 lpd cannot send long files to HP's JetDir o [1998/02/02] ports/5626 ports 'ldap' port eats all available CPU time o [1998/02/02] kern/5627 Tertiary/Quaternary IDE Ctlrs: A few kern a [1998/02/03] ports/5638 ports mail/bulk_mailer port update o [1998/02/04] bin/5650 fetch(1) manpage out of date WRT FTP URLs o [1998/02/04] bin/5651 fenner fetch(1) doesn't CD properly on FTPs o [1998/02/04] ports/5653 ports New port of ICI language a [1998/02/05] ports/5660 ports New port type1inst o [1998/02/05] misc/5662 sysinstall generates short dev names for o [1998/02/06] bin/5666 ifconfig fails to add alias o [1998/02/06] kern/5672 Crash from scsi aborted command 'Overlapp o [1998/02/07] ports/5675 ports New port in category devel: DOC++ o [1998/02/09] kern/5689 sysctl vm.vmmeter - bogus and unsupported o [1998/02/10] ports/5706 ports New port: ja-dvi2dvi-1.0 (japanese/dvi2dv o [1998/02/10] bin/5711 bin/cat code cleanup o [1998/02/10] bin/5712 /bin/chio code cleaup and option added o [1998/02/10] bin/5717 pw -D -g "" returns error o [1998/02/10] bin/5718 pkg_delete refuses to run as non-root o [1998/02/11] bin/5721 hoek "more" coredumps when sent two signals o [1998/02/14] bin/5745 [PATCH] Add /usr/local/share/mk to defaul o [1998/02/14] bin/5746 bootparamd will not netboot sun 3 compute o [1998/02/14] bin/5747 ld.so error message o [1998/02/15] bin/5758 sys/resources.h doesn't include sys/time. o [1998/02/17] kern/5768 Shutdown aborts syncing, when sync isn't o [1998/02/17] ports/5771 ports New port: Stuttgart Neural Network Simula s [1998/02/17] misc/5772 peter nfsstat does not work o [1998/02/17] ports/5776 ports New compression port: lzo o [1998/02/18] i386/5779 BOUNCE_BUFFERS option in LINT needs modif o [1998/02/18] i386/5784 ibcs2 emulation not handling ioctl(..FION a [1998/02/18] misc/5786 definition of speed_t in termios.h is not o [1998/02/19] ports/5788 ports pcemu harddisk-access fixes o [1998/02/19] kern/5789 wcd0 requires ATAPI_STATIC o [1998/02/19] kern/5795 Panic: "bremfree: removing a buffer when o [1998/02/20] kern/5800 incorporate -current pppd driver into -st o [1998/02/20] misc/5803 "tab" function from "ee" not compatible w o [1998/02/21] ports/5811 ports netatalk ioctl(SIOCADDMULTI) failure o [1998/02/21] misc/5813 strsignal() missing a [1998/02/22] ports/5814 ports New package XShodou o [1998/02/22] ports/5821 ports Port of Swish-E, a Web site indexer o [1998/02/25] gnu/5841 installmost or install (world) of tmac fa o [1998/02/25] bin/5847 Makeworld fails if CXXFLAGS is set. o [1998/02/25] docs/5848 [PATCH] Update web.mk to handle SGML file o [1998/02/25] misc/5855 /etc/services is out of date with IANA o [1998/02/26] bin/5857 non-functional lpr/lpr o [1998/02/26] ports/5859 ports xxgdb port doesn't recognize the -k optio o [1998/02/26] kern/5863 Kernel support for sorted SHUTDOWN & SHUT o [1998/02/27] ports/5868 jfitz MSQL isn't PREFIX clean and PLIST wrong o [1998/03/01] bin/5880 df -t does not support devfs o [1998/03/01] ports/5884 dburr New port: icqjava-0.981a (net/icqjava) o [1998/03/01] ports/5885 ports New port: dc20ctrl-0.4 (graphics/dc20ctrl o [1998/03/02] bin/5901 new version of `fmt' o [1998/03/03] bin/5912 kinit exits if no user name specified o [1998/03/04] ports/5920 andreas lyx's ``configure'' disables the use of m o [1998/03/06] kern/5931 dma errors in syslog with GUS-max o [1998/03/06] i386/5932 perfmon kernel code should check for non- o [1998/03/07] conf/5936 Add hostname to C shell prompt o [1998/03/08] bin/5944 cvs doesn't work correct. o [1998/03/08] ports/5946 ports New port biology/molmol o [1998/03/10] kern/5964 peter nfsd send interface selection seems broke o [1998/03/10] bin/5966 vi's spanish message catalog does not use o [1998/03/10] kern/5967 upg from 2.1.7.1/2.2.1 to 2.2.5-stable (a o [1998/03/10] ports/5972 ports x11/fvwm95 requiring gsm, and rplay is a o [1998/03/11] gnu/5982 no error exit code from tar on child fail o [1998/03/12] gnu/5992 cvs y2k o [1998/03/13] bin/6000 kadmin ank uses bad default expiration of o [1998/03/15] bin/6015 indent(1) breaks source with backslash ne o [1998/03/15] ports/6017 ports new port: yacl o [1998/03/15] ports/6018 ports new port: ml-3.3 a [1998/03/15] ports/6020 ports new port: Xfstt-0.9.7 o [1998/03/15] ports/6027 max New Port: tgif2tex o [1998/03/16] kern/6032 poor TCP performance using FDDI over long o [1998/03/16] docs/6036 doc New handbook section 10.4.3.4 - si driver o [1998/03/16] bin/6037 inconsistency between kbdcontrol(1) and s s [1998/03/18] ports/6053 kuriyama new port request: korean/hanIM o [1998/03/18] kern/6056 de driver support for DS 21143 incomplete o [1998/03/18] ports/6057 ports xperfmon++-1.40 package fails XtRealloc() o [1998/03/18] misc/6060 peter Sendmail executable, not doing MASQUERADE o [1998/03/18] bin/6064 Script to update files installed by /usr/ o [1998/03/19] i386/6067 boot.help pushes kernel list off screen o [1998/03/20] ports/6078 ports Documentation concerning logging suggests o [1998/03/21] ports/6085 ports New port: pavuk-0.8 o [1998/03/22] conf/6096 /sys/i386/conf/LINT: edit(???) sound_conf o [1998/03/22] i386/6098 FreeBSD only uses 16M of 48M on Compaq De o [1998/03/22] gnu/6107 gdb should support PRINTF_HAS_LONG_LONG o [1998/03/23] ports/6113 ports new port: rinfo-1.2 o [1998/03/23] ports/6120 ports New port: xtetris-2.6 o [1998/03/27] bin/6144 telnet for 8-bit data path o [1998/03/27] ports/6151 ports New port: xrus-1.5.2 o [1998/03/28] ports/6153 ports New port: flick o [1998/03/28] bin/6156 Patches to make dump understand ENOSPC o [1998/03/28] bin/6161 2.2.6 kerberos servers are awfully visibl o [1998/03/29] ports/6170 ports another squid ports o [1998/03/29] ports/6171 ports New port: xtron-1.1a o [1998/03/29] misc/6172 markm Why is /ftp.freebsd.org/pub/FreeBSD/CTM/p o [1998/03/30] ports/6176 ports running architextSearch (excite) under li o [1998/03/30] ports/6181 dburr New port: xoj-1.0 o [1998/03/31] bin/6183 quota hangups o [1998/03/31] kern/6184 No error if resulting file pos in lseek i o [1998/04/01] bin/6187 peter mounting nfs directories with -b can caus o [1998/04/01] bin/6188 screensaver permanently active when no bo o [1998/04/01] kern/6192 kernel patches for netatalk break FDDI su o [1998/04/01] ports/6194 ports New port: mirrormagic-1.3 o [1998/04/02] bin/6198 demangling C++ names breaks the Cygnus -f o [1998/04/03] bin/6200 flex can be upgraded o [1998/04/03] bin/6202 No way to detect removable media. o [1998/04/03] bin/6206 Enhancements to the shutdown program a [1998/04/03] ports/6207 ports new port request: korean/ftghostscript5 o [1998/04/04] kern/6213 peter NFS-mounted swap (via vnconfig) easily cr o [1998/04/04] bin/6214 ping sometimes cannot be killed with a Co o [1998/04/05] conf/6220 Too few ttyv devices in the -RELEASE syst s [1998/04/06] bin/6223 PST/DST bug in /bin/date o [1998/04/06] bin/6227 as doesn't handle this instruction o [1998/04/06] bin/6228 Syslogd not working according to manpage o [1998/04/06] ports/6230 ports gfont_mkgdf calls wrong interpreter o [1998/04/06] bin/6234 ypserv -d is broken o [1998/04/07] ports/6235 ports New port: scwm-icon o [1998/04/07] ports/6236 ports New port: scwm o [1998/04/07] kern/6247 Gravis UltraSound Classic no longer works o [1998/04/09] kern/6255 SI driver fix for Jet ISA memory size o [1998/04/09] kern/6256 SI driver - new T225 download code o [1998/04/10] ports/6262 ports New port of bulk_mailer 1.9 o [1998/04/10] i386/6269 Included is a patch to support AMD Write- o [1998/04/10] i386/6270 options.i386 update for AMD write-allocat o [1998/04/10] misc/6271 jkh Install program can no longer write out p o [1998/04/14] docs/6295 doc Reference to nonexistent file in Device D o [1998/04/14] kern/6296 IP_HDRINCL sockets force header fields to a [1998/04/14] kern/6299 vmstat -i does not show PnP device interr o [1998/04/15] docs/6307 doc sgmlfmt not `make -jN' ready s [1998/04/15] bin/6308 [PATCH] date(1) -v argument cannot vary s o [1998/04/15] ports/6311 ports New port: gsfonts o [1998/04/15] ports/6312 ports New port: ghostscript-3.33 s [1998/04/15] bin/6314 [PATCH] /usr/sbin/ac modification s [1998/04/16] ports/6315 kuriyama new port request: korean/htm o [1998/04/16] kern/6318 pppd does not update wtmp on hangup o [1998/04/16] misc/6320 Sometimes nohup isn't good enough. a [1998/04/16] ports/6321 ports can't run any version of PostgreSQL on 2. o [1998/04/17] ports/6331 ports New port: libshhopt-1.1.3 o [1998/04/17] bin/6332 bde /usr/include/time.h doesn't compile with o [1998/04/17] conf/6334 -DALLLANG should be moved from src/Makefi o [1998/04/17] gnu/6338 Gnu tar not working properly with the -G o [1998/04/18] conf/6346 Kernel version strings need to relate to a [1998/04/19] ports/6355 ports New port o [1998/04/20] bin/6359 routed does sent router discovry solicita o [1998/04/20] ports/6361 ports New ports collection: GNU Pascal Compiler s [1998/04/20] bin/6371 [PATCH?] fetch(1) uses HTTP_PROXY for ftp o [1998/04/21] conf/6376 jkh can't reset /stand/sysinstall into initia o [1998/04/23] ports/6393 ports patch for multimedia-2.1.tar.gz f [1998/04/23] bin/6399 [PATCH] When using "-u" mount doesn't sta o [1998/04/23] bin/6401 user error while mounting causes panic o [1998/04/23] kern/6402 another machine can change my own permane a [1998/04/25] ports/6413 ports new ports for lynx2.8rel.3 (modified for a [1998/04/25] ports/6414 ports new ports for ja-color-lynx2.8rel.3 (modi a [1998/04/25] ports/6415 ports new ports for ja-lynx2.8.1dev.7 (modified a [1998/04/25] ports/6416 ports new ports for ja-color-lynx2.8.1dev.7 (mo a [1998/04/27] kern/6432 IFF_NOARP does not affect ethernet interf o [1998/04/28] ports/6434 se [PATCH] mediatool in x11/kdelibs cause kw o [1998/04/28] ports/6445 ports New port for `fhist' o [1998/04/29] docs/6455 doc bootptab.5 uses both man macros and mdoc o [1998/04/30] kern/6464 tcpdump doesn't recognize tun0 when it's o [1998/05/01] ports/6473 ports New port: libshhmsg-1.3.3 o [1998/05/01] ports/6474 ports New port: libxalloc-1.0.2 o [1998/05/03] kern/6495 Need pci_unmap_mem and pci_unmap_port rou o [1998/05/03] ports/6504 ports New port of `C Interfaces and Implementat o [1998/05/03] kern/6505 panic: cannot mount root on sd1 o [1998/05/04] docs/6508 doc sgmlfmt does not expand relative URLs s [1998/05/04] bin/6509 [ALMOST PATCH] Allow dd to seek/skip to o o [1998/05/04] docs/6510 steve GNATS doesn't expand freebsd-doc s [1998/05/05] bin/6521 [MAYBE PATCH] "rmdir -p x/y/z/" fails s [1998/05/05] bin/6529 [ALMOST PATCH] potential timing problem w o [1998/05/07] ports/6541 ports New port: math/dc o [1998/05/07] kern/6544 ahasty Only get one channel through sound card o [1998/05/07] ports/6546 ache 3line ansi prompt in tcsh: cursor disappe o [1998/05/09] conf/6559 jkh Upgrade processing clobber's ~root/{.cshr o [1998/05/09] i386/6560 yokota Console does not reset to primary screen o [1998/05/09] ports/6563 se minor problems with KDE ports o [1998/05/09] docs/6564 doc need more references in fetch(1) o [1998/05/09] ports/6565 ports new port o [1998/05/10] ports/6570 ports port of java CUP parser o [1998/05/11] i386/6595 Old IP address persistent after change o [1998/05/11] ports/6598 ports new port for FreeBSD - asmodem o [1998/05/12] ports/6604 ports New port: web500gw, an HTTP - LDAP gatewa o [1998/05/12] ports/6606 ports package add of perl-5.00404 fails w/3.0 S o [1998/05/12] misc/6612 bsd.man.mk can't handle man pages with ": o [1998/05/12] ports/6613 ports ports/lang/perl5 fails to install by addi o [1998/05/13] ports/6622 ports IIJ-PPP current version o [1998/05/13] kern/6623 non-root user can crash system if disconn o [1998/05/13] conf/6624 davidn One class with nologin=/etc/nologin: reje o [1998/05/15] ports/6645 ports Updated port: mysql o [1998/05/15] kern/6651 peter Possible NFS deadlock clue f [1998/05/16] bin/6653 The rc script sometimes produces errors w o [1998/05/16] ports/6657 ports new port for perl/Tk 800.004 s [1998/05/16] bin/6658 [PATCH] -stable getcwd(3) performs unnece s [1998/05/17] kern/6668 [PATCH] new driver: Virtual Ethernet driv s [1998/05/18] bin/6676 [PATCH] natd doesn't respond to signals w o [1998/05/18] docs/6681 doc docu. addition o [1998/05/19] ports/6687 ports New port, ktelnet v0.6 o [1998/05/19] ports/6688 ports New port: kbiff v0.6 o [1998/05/19] ports/6699 ports Generic NQS port (new) o [1998/05/20] kern/6702 luigi tsleep and new snd (pcm0) o [1998/05/20] ports/6704 ports New port: gtk-- o [1998/05/21] ports/6709 ports New port kmessage s [1998/05/21] conf/6711 [PATCH ?] I've seen that fortune before o [1998/05/23] ports/6728 ports New port ktranslator o [1998/05/24] docs/6745 doc man page for ftpd o [1998/05/25] misc/6752 jkh sysinstall w/o cd9660 fs loaded can't mou s [1998/05/25] kern/6758 mount_portal fails because kernal refuses a [1998/05/26] misc/6759 phk buggy code in libdisk.a's disk.c o [1998/05/26] kern/6760 can't compile kernel w/o networking s [1998/05/26] docs/6764 doc limits references to sysctl o [1998/05/26] kern/6769 peter panic: nfs rcvunlock o [1998/05/28] ports/6776 ports New port - xqf o [1998/05/28] ports/6777 ports New port - qstat s [1998/05/29] kern/6781 [PATCH] exabyte changer doesn't grok LUNs s [1998/05/29] bin/6785 place for all the default dump flags a [1998/05/29] ports/6791 ports New Port, TinyMUX s [1998/05/29] i386/6792 eivind [PATCH][STABLE]Backported PnP support for o [1998/05/29] bin/6795 steve send-pr does not parse problem reports co o [1998/05/31] ports/6806 ports /usr/ports/graphics/killustrator doesn't f [1998/05/31] ports/6813 fenner patched audio module for vat port o [1998/06/01] ports/6815 ports ssh lookup ignores second IP address s [1998/06/01] kern/6819 [PATCH] pci_unmap_int (pci/pci.c) does no o [1998/06/01] kern/6820 cd9660_mount NULL pointer deref for no CD s [1998/06/02] bin/6832 [PATCH] Allows PINGing from any address o o [1998/06/02] ports/6838 ports Enable lj4dith driver by default s [1998/06/02] kern/6843 sos [PATCH] to enable reading digital audio s o [1998/06/04] ports/6862 ports Cyrus upgraded to 1.5.10 o [1998/06/06] kern/6874 accounting prevents transition to multi u o [1998/06/06] ports/6882 ports Perl5 in 3.0-980518-SNAP o [1998/06/08] ports/6895 ports Status of lsof in 3.0-980518-SNAP o [1998/06/11] ports/6915 ports Apache-FP for apache v1.3.0 o [1998/06/11] bin/6919 can not run multiple instances of /sbin/r o [1998/06/13] misc/6936 sysinstall: install from MS-DOS MO divece o [1998/06/13] bin/6937 [PATCH] rc.firewall can't be run from net o [1998/06/13] bin/6939 restore does not set the correct uid on d o [1998/06/13] ports/6942 ports New port, mrouted-beta o [1998/06/14] ports/6943 ports new ports submitted o [1998/06/15] ports/6954 vanilla New port: CJK f [1998/06/15] ports/6961 stb netatalk needs tweek for 3.0 multicasting o [1998/06/16] gnu/6965 grep -a dosn't work o [1998/06/16] ports/6970 ports mule and family build faulure o [1998/06/18] kern/6981 CD unmount w/o CD in drive can cause pani o [1998/06/18] ports/6987 dima make package for ssh-1.2.25 now fails. s [1998/06/19] bin/6995 [patch] Minor flaw in fdformat s [1998/06/19] bin/6997 [patch] vnconfig "open" error message con o [1998/06/19] conf/6999 Mismatch in rc.conf "accounting" keyword o [1998/06/20] ports/7004 ports sysutils/cdrecord depends on mkisofs, is a [1998/06/20] ports/7005 dburr Submitting RealAudio Player 3.0 as a new o [1998/06/20] ports/7006 itojun hylafax port improved s [1998/06/21] bin/7011 [patch] Improvements to ls to help Emacs s [1998/06/21] kern/7014 [PATCH][STABLE] Add support for SiS 5591 o [1998/06/22] bin/7020 jkh pkg_*'s error handling is broken o [1998/06/22] bin/7021 asami Size estimation patches to pkg_* o [1998/06/22] bin/7022 asami changes to bsd.port.mk to accompany PR bi o [1998/06/22] bin/7023 asami bsd.port.(%|subdir.).mk patches for size o [1998/06/23] kern/7029 gibbs cdrecord and aic7880 troubles f [1998/06/23] i386/7031 Our RocketPort port does not support DEVF o [1998/06/24] misc/7039 jb sigwait doesn't init the return value. s [1998/06/24] kern/7044 [PATCH] WaveLAN (2.4G, ISA, full-length b s [1998/06/24] i386/7052 amd_map_program and NIS problem s [1998/06/24] bin/7055 steve [mfc] multiple syslog-forwarding will for o [1998/06/24] ports/7062 ports pidentd partialy broken in current s [1998/06/24] bin/7063 mount fails if $PWD does not exist o [1998/06/25] docs/7065 wosch FreeBSD webpages -> applications, port br s [1998/06/25] bin/7068 /usr/bin/perl: library path addition o [1998/06/25] ports/7074 ports [New Ports] Xtt0.6 a TrueType X servers o [1998/06/26] ports/7077 ports The default archie host "archie.sura.net" s [1998/06/26] bin/7081 [patch] lpr stuff doesn't deal with RM an s [1998/06/26] kern/7085 [patch] maybe_resched() priority check co o [1998/06/27] ports/7086 ports Port: ja-p5-jcode.pl o [1998/06/28] ports/7094 ports New port of xbomber game s [1998/06/28] kern/7095 [stable] Gravis MAX in 2.2.6 suffers from s [1998/06/28] i386/7100 integrate pcvt configuration into the /et s [1998/06/28] bin/7101 /sbin/ipfw unexpected variant treatment o s [1998/06/29] bin/7117 flex -I option is broken o [1998/06/30] ports/7128 ports New port: Raster3D-2.4f o [1998/06/30] ports/7133 markm upgrade SSLeay to 0.9.0b s [1998/06/30] gnu/7135 [PATCH] It's not easy to build a cvs bina s [1998/07/01] bin/7136 kerberized telnetd doesn't use gettytab % o [1998/07/01] ports/7140 ports new port: htdig o [1998/07/01] ports/7143 ports New port: pp-0.01 s [1998/07/02] kern/7144 WaveLAN interface moves packets to uper l s [1998/07/02] kern/7146 The PCCARD doesnt recognize cards in top o [1998/07/02] ports/7150 ports `elftoaout': new port o [1998/07/04] ports/7158 ports New port: spellcast-1.1 s [1998/07/04] i386/7159 ahasty [PATCH] Unknown option OVERRIDE_CARD (bt8 o [1998/07/04] ports/7163 ports new port: p5-Set-IntSpan o [1998/07/04] ports/7164 ports new port: p5-News-Newsrc s [1998/07/05] kern/7177 ahasty [PATCH] Support for "Video Highway Xtreme s [1998/07/06] bin/7184 /usr/games/robots fails to write high sco o [1998/07/07] ports/7197 ports root's home incorrect in tripwire default f [1998/07/07] i386/7201 (cpu == CPU_686) in pmap.c shoud also app s [1998/07/07] bin/7203 [PATCH] fetch -o - file:/path/name doesn' s [1998/07/08] kern/7210 [PATCH] od(4) bug fixes and enhancements, s [1998/07/08] misc/7215 des [MFC] 'man' program auth MANPATH needs he o [1998/07/08] ports/7220 ports devel/crossm68k-devel port addition (gcc- f [1998/07/09] bin/7228 des [MFC] at(1) does not accept long month na f [1998/07/09] misc/7229 /usr/include/pcap*.h isn't C++ safe. s [1998/07/10] misc/7232 Suggestion for FreeBSD installation dialo o [1998/07/10] kern/7234 keyboard problems during login immediatel f [1998/07/10] misc/7239 ping(8) and traceroute(8) may report erra f [1998/07/10] bin/7241 tcpdump does not work with parallel line s [1998/07/11] bin/7253 des [PATCH] Make top(1) ignore itself o [1998/07/11] bin/7254 release: multiple versions of write_mfs_i o [1998/07/12] ports/7256 ports different ports installing binaries with o [1998/07/12] kern/7259 -current: GENERIC and SMP-GENERIC out of o [1998/07/12] ports/7261 ports problem of wget-1.5.2 o [1998/07/12] bin/7265 A warning flag is added to ln(1). o [1998/07/13] ports/7268 asami MASTER_SITE_OVERRIDE works more better o [1998/07/13] ports/7275 torstenb Symlink for one ssh man-page is wrong o [1998/07/14] kern/7282 some old and rarely used drivers have app o [1998/07/14] ports/7283 ache tcsh / LC_CTYPE - obscure problem. o [1998/07/15] bin/7287 Incorrect domain name for MAP_UPDATE in m o [1998/07/15] docs/7289 doc ppp.8: RECEIVING INCOMING PPP CONNECTIONS o [1998/07/15] bin/7294 lpr -r file fails to remove file because o [1998/07/15] ports/7295 ports Starting programs with bash port causes p o [1998/07/15] bin/7296 hoek Long-standing bug in 'more' wrt CRLF. I o [1998/07/16] bin/7298 Improvements to ln(1). o [1998/07/17] docs/7306 doc There is no manpage for timegm o [1998/07/17] misc/7310 Chinese locale data (zh_CN.EUC encoding) o [1998/07/18] ports/7314 ports ncurses port doesn't support TERM=xterm-c a [1998/07/19] bin/7324 Suggestions for minor modifications to ad o [1998/07/19] bin/7325 /bin/sh redirection does not match man pa o [1998/07/20] ports/7329 ports New port: vje-trial o [1998/07/20] ports/7333 ports Update ports: ja-Weblint97-0.12 by means o [1998/07/20] ports/7334 ports www/communicator-4.5 o [1998/07/20] bin/7337 Creating a partition "before" the boot pa o [1998/07/20] ports/7344 ports New port: wmavgload-0.6.1 o [1998/07/21] ports/7347 ports Upgraded port: mysql-3.21.33 o [1998/07/21] conf/7348 Default answer 'NO' in network configurat o [1998/07/21] ports/7349 ports LyX doesn't need ispell as run dependency f [1998/07/21] ports/7350 ports netpbm port refuses to build on CURRENT o [1998/07/21] bin/7352 libc generates spurious warnings when use o [1998/07/21] conf/7355 The checkboxes are not always properly up o [1998/07/21] docs/7359 doc amd documentation problems o [1998/07/21] ports/7363 ports port upgrade: korean/nh2ps a [1998/07/22] ports/7365 ports new port request: korean/pgp.language o [1998/07/22] conf/7366 /tmp/.X* not removed by /etc/rc if clear_ o [1998/07/22] ports/7373 ports Port upgrade: mail/pine4 from 4.01 to 4.0 o [1998/07/23] ports/7375 dburr New port request: audio/xsplay s [1998/07/23] kern/7377 we have a new digiboard driver supporting o [1998/07/23] ports/7379 obrien super's command link feature doesn't work s [1998/07/23] docs/7380 doc vnconfig(8) is missing description of the o [1998/07/24] misc/7391 jkh 2.2.7-RELEASE: src/CHECKSUM.MD5 and des/C o [1998/07/24] ports/7394 jfitz INDEX has bad description for p5-Mysql-mo o [1998/07/26] ports/7406 ports graphics/fnlib doesn't build due to bad i o [1998/07/27] ports/7408 ports packages-2.2.7/INDEX is wrong o [1998/07/27] ports/7409 ports New port: CaribbeanStud-1.0 o [1998/07/27] ports/7412 ports port of 4va to be included in /usr/ports/ o [1998/07/27] kern/7413 ssc pseudo device fails to include scsi/s o [1998/07/27] bin/7414 userunfriendly error message from dmesg o [1998/07/27] ports/7416 ports New port: g2 (graphics/g2) 716 problems total. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 11:30:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA08322 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 11:30:11 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from critter.freebsd.dk (critter.freebsd.dk [195.8.133.1] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA08196 for ; Mon, 27 Jul 1998 11:29:40 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.5) with ESMTP id UAA00957; Mon, 27 Jul 1998 20:25:54 +0200 (CEST) To: "Jan B. Koum " cc: freebsd-bugs@FreeBSD.ORG Subject: Re: misc/7411 In-reply-to: Your message of "Mon, 27 Jul 1998 11:24:53 PDT." Date: Mon, 27 Jul 1998 20:25:54 +0200 Message-ID: <955.901563954@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message , "Jan B. Koum " writes: > > Then we need to modify default settings in /etc/newsyslog.conf > Should I do another send-pr? There is a discussion going on in -security right now, and I think we should get some more input before we implement. When some kind of concensus has been reached, please send a patch as a followup to this PR. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." "ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 11:31:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA08709 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 11:31:30 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA08644 for ; Mon, 27 Jul 1998 11:31:11 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id LAA15077; Mon, 27 Jul 1998 11:30:02 -0700 (PDT) Received: from ns1.tu-graz.ac.at (ns1.tu-graz.ac.at [129.27.2.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA06186 for ; Mon, 27 Jul 1998 11:21:49 -0700 (PDT) (envelope-from dada@ns1.tu-graz.ac.at) Received: from fcggsg07.icg.tu-graz.ac.at (fcggsg07.icg.tu-graz.ac.at [129.27.201.16]) by ns1.tu-graz.ac.at (8.8.6/8.8.6) with ESMTP id UAA04159 for ; Mon, 27 Jul 1998 20:21:16 +0200 (MET DST) Received: from localhost.tu-graz.ac.at (isdn096.tu-graz.ac.at [129.27.240.96]) by fcggsg07.icg.tu-graz.ac.at (8.8.8/8.8.8) with ESMTP id UAA02616 for ; Mon, 27 Jul 1998 20:21:14 +0200 (MDT) Received: (from dada@localhost) by localhost.tu-graz.ac.at (8.8.8/8.8.5) id NAA05881; Mon, 27 Jul 1998 13:43:38 +0200 (CEST) Message-Id: <199807271143.NAA05881@localhost.tu-graz.ac.at> Date: Mon, 27 Jul 1998 13:43:38 +0200 (CEST) From: dada@sbox.tu-graz.ac.at Reply-To: dada@sbox.tu-graz.ac.at To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/7417: ls -W option unimplemented Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7417 >Category: bin >Synopsis: ls -W option unimplemented >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 27 11:30:01 PDT 1998 >Last-Modified: >Originator: Martin Kammerhofer >Organization: Graz University of Technology >Release: FreeBSD 2.2.7-STABLE i386 >Environment: >Description: ls(1)'s man page says: "-W Display whiteouts when scanning directories." It's unclear what "-W" should do. Option -W is not recognized. >How-To-Repeat: ls -W >Fix: a) Implement and (better) document -W or b) Remove confusing reference to -W option from ls(1) manpage >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 11:44:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA11847 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 11:44:11 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA11767 for ; Mon, 27 Jul 1998 11:43:37 -0700 (PDT) (envelope-from luoqi@chen.ml.org) Received: from chen.ml.org (luoqi.watermarkgroup.com [207.202.73.170]) by freefall.freebsd.org (8.8.8/8.8.5) with ESMTP id LAA15567 for ; Mon, 27 Jul 1998 11:42:22 -0700 (PDT) Received: (from luoqi@localhost) by chen.ml.org (8.8.8/8.8.8) id OAA07446; Mon, 27 Jul 1998 14:42:59 -0400 (EDT) (envelope-from luoqi) Date: Mon, 27 Jul 1998 14:42:59 -0400 (EDT) From: Luoqi Chen Message-Id: <199807271842.OAA07446@chen.ml.org> To: freebsd-bugs@freefall.cdrom.com, luoqi@chen.ml.org, rivers@dignus.com Subject: Re: kern/7415: VMIO bug for FS with sub-page-size blocks (with fix) In-Reply-To: <199807271822.OAA14121@lakes.dignus.com> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Luoqi Chen writes: > > > There are some bugs in VMIO code when dealing with blocks not > on a page-boundary. They may cause crash for FS with sub-page > sized blocks (e.g. MSDOSFS), or VMIO enabled block devices > (which uses 512-byte blocks). > > > I was wondering if this could be in 2.2.x? It seems, just looking at > the patch, that the problem exists there as well. > > - Dave Rivers - > It could very well be in 2.2.x. If you have a crash machine running 2.2.x, you may try the same steps listed in the "How-To-Repeat" section, and see if you can get the panic. -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 11:44:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA11897 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 11:44:22 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA11779; Mon, 27 Jul 1998 11:43:39 -0700 (PDT) (envelope-from nectar@FreeBSD.org) From: Jacques Vidrine Received: (from nectar@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id LAA15581; Mon, 27 Jul 1998 11:42:26 -0700 (PDT) Date: Mon, 27 Jul 1998 11:42:26 -0700 (PDT) Message-Id: <199807271842.LAA15581@freefall.freebsd.org> To: asami@FreeBSD.ORG, nectar@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: gnu/2394 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: tar will extract files even if -C command fails State-Changed-From-To: open-closed State-Changed-By: nectar State-Changed-When: Mon Jul 27 11:40:18 PDT 1998 State-Changed-Why: fixed in -current, tar/tar.c rev 1.14 and tar/tar.h rev 1.6 fixed: tar will extract file even if -C command fails tar now exits with new exit code EX_BADDIR after a failed chdir() in name_next(), name_match(), and name_from_list(). PR: bin/2394 Submitted by: Satoshi Asami To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 11:57:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA14340 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 11:57:00 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA14102; Mon, 27 Jul 1998 11:56:09 -0700 (PDT) (envelope-from hoek@FreeBSD.org) From: Tim Vanderhoek Received: (from hoek@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id LAA16223; Mon, 27 Jul 1998 11:54:55 -0700 (PDT) Date: Mon, 27 Jul 1998 11:54:55 -0700 (PDT) Message-Id: <199807271854.LAA16223@freefall.freebsd.org> To: lmarc@mail.labcontrol.com, hoek@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/7414 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: userunfriendly error message from dmesg State-Changed-From-To: open-closed State-Changed-By: hoek State-Changed-When: Mon Jul 27 11:49:54 PDT 1998 State-Changed-Why: Changed in r.1.10 src/sbin/dmesg/dmesg.c I used a slightly different message from the one you suggested hoing to make the actual problem more suggested, but I'm not sure I actually did any better... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 12:22:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA19412 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 12:22:52 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA19294; Mon, 27 Jul 1998 12:21:58 -0700 (PDT) (envelope-from nectar@FreeBSD.org) From: Jacques Vidrine Received: (from nectar@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id MAA17329; Mon, 27 Jul 1998 12:20:41 -0700 (PDT) Date: Mon, 27 Jul 1998 12:20:41 -0700 (PDT) Message-Id: <199807271920.MAA17329@freefall.freebsd.org> To: pusateri@jnx.com, nectar@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG, wollman@FreeBSD.ORG Subject: Re: kern/2686 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: struct igmpmsg in shouldn't be KERNEL only State-Changed-From-To: open-closed State-Changed-By: nectar State-Changed-When: Mon Jul 27 12:16:38 PDT 1998 State-Changed-Why: Fixed with rev 1.11 of ip_mroute.h (1997 Jan 03) Responsible-Changed-From-To: freebsd-bugs->wollman Responsible-Changed-By: nectar Responsible-Changed-When: Mon Jul 27 12:16:38 PDT 1998 Responsible-Changed-Why: it was wollmon's commit To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 13:21:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA29861 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 13:21:34 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA29794 for ; Mon, 27 Jul 1998 13:21:11 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id NAA19273; Mon, 27 Jul 1998 13:20:01 -0700 (PDT) Date: Mon, 27 Jul 1998 13:20:01 -0700 (PDT) Message-Id: <199807272020.NAA19273@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Jacques Vidrine Subject: Re: bin/2859: /usr/bin/quota seems to choke on long group file entries Reply-To: Jacques Vidrine Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/2859; it has been noted by GNATS. From: Jacques Vidrine To: freebsd-gnats-submit@freebsd.org, chip@jlc.net Cc: Subject: Re: bin/2859: /usr/bin/quota seems to choke on long group file entries Date: Mon, 27 Jul 1998 15:20:09 -0500 This is actually a limitation of getgroups() and family. The line length is limited to 1024 characters. In a pinch, one change the definition of MAXLINELENGTH in libc/gen/getgrent.c to something larger and recompile libc. This is fixed in -CURRENT, revision 1.14 libc/gen/getgrent.c, where such buffers are dynamically allocated, and the restriction is now 256K per line. -- Jacques Vidrine To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 13:41:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA03717 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 13:41:48 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA03642 for ; Mon, 27 Jul 1998 13:41:13 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id NAA19899; Mon, 27 Jul 1998 13:40:02 -0700 (PDT) Date: Mon, 27 Jul 1998 13:40:02 -0700 (PDT) Message-Id: <199807272040.NAA19899@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Jacques Vidrine Subject: Re: bin/2859: /usr/bin/quota seems to choke on long group file entries Reply-To: Jacques Vidrine Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/2859; it has been noted by GNATS. From: Jacques Vidrine To: freebsd-gnats-submit@freebsd.org, chip@jlc.net Cc: Subject: Re: bin/2859: /usr/bin/quota seems to choke on long group file entries Date: Mon, 27 Jul 1998 15:39:00 -0500 This is actually a limitation of getgroups() et.al. The maximum line length is limited to 1024 characters in libc/gen/getgrent.c. A workaround might be to change the definition of MAXLINELENGTH in libc/gen/getgrent.c and recompile libc. This is fixed in -CURRENT, revision 1.14 of getgrent.c by using dynamically allocated buffers rather than a static buffer. The resulting implementation can handle line lengths of up to 256 Kbytes. -- Jacques Vidrine To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 14:01:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA07612 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 14:01:42 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA07583 for ; Mon, 27 Jul 1998 14:01:12 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id OAA20555; Mon, 27 Jul 1998 14:00:01 -0700 (PDT) Date: Mon, 27 Jul 1998 14:00:01 -0700 (PDT) Message-Id: <199807272100.OAA20555@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Jacques Vidrine Subject: Re: bin/2915: the "-fstype ufs" option of "find" seems to fail on procfs Reply-To: Jacques Vidrine Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/2915; it has been noted by GNATS. From: Jacques Vidrine To: freebsd-gnats-submit@freebsd.org, ortmann@sparc.isl.net Cc: Subject: Re: bin/2915: the "-fstype ufs" option of "find" seems to fail on procfs Date: Mon, 27 Jul 1998 15:51:32 -0500 I believe this was fixed with: find/Makefile 1.2 find/find.1 1.7 find/find.c 1.4 find/function.c 1.12 find/main.c 1.4 -- Jacques Vidrine To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 14:04:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA08401 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 14:04:49 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA08303; Mon, 27 Jul 1998 14:04:33 -0700 (PDT) (envelope-from imp@FreeBSD.org) From: Warner Losh Received: (from imp@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id OAA20762; Mon, 27 Jul 1998 14:03:24 -0700 (PDT) Date: Mon, 27 Jul 1998 14:03:24 -0700 (PDT) Message-Id: <199807272103.OAA20762@freefall.freebsd.org> To: imp@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG, imp@FreeBSD.ORG Subject: Re: bin/6832 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: [PATCH] Allows PINGing from any address on multihomed hosts Responsible-Changed-From-To: freebsd-bugs->imp Responsible-Changed-By: imp Responsible-Changed-When: Mon Jul 27 15:02:58 MDT 1998 Responsible-Changed-Why: I'll fix this. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 14:36:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA14998 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 14:36:55 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA14837; Mon, 27 Jul 1998 14:36:03 -0700 (PDT) (envelope-from nectar@FreeBSD.org) From: Jacques Vidrine Received: (from nectar@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id OAA22191; Mon, 27 Jul 1998 14:34:51 -0700 (PDT) Date: Mon, 27 Jul 1998 14:34:51 -0700 (PDT) Message-Id: <199807272134.OAA22191@freefall.freebsd.org> To: roberte@MEP.Ruhr-Uni-Bochum.de, nectar@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/2969 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: csh and/or builtin printf has problems with embedded commands State-Changed-From-To: open-closed State-Changed-By: nectar State-Changed-When: Mon Jul 27 14:33:44 PDT 1998 State-Changed-Why: fixed in -CURRENT, rev 1.11 of csh/func.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 14:42:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA16278 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 14:42:34 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA16090 for ; Mon, 27 Jul 1998 14:41:19 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id OAA22620; Mon, 27 Jul 1998 14:40:01 -0700 (PDT) Received: from flea.best.net (root@flea.best.net [206.184.139.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA15198 for ; Mon, 27 Jul 1998 14:37:45 -0700 (PDT) (envelope-from dillon@flea.best.net) Received: (from dillon@localhost) by flea.best.net (8.9.0/8.9.0/best.fl) id OAA23112; Mon, 27 Jul 1998 14:37:01 -0700 (PDT) Message-Id: <199807272137.OAA23112@flea.best.net> Date: Mon, 27 Jul 1998 14:37:01 -0700 (PDT) From: Matt Dillon Reply-To: dillon@best.net To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/7418: Critical file corruption in write() based append when file is mmap'd Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7418 >Category: kern >Synopsis: File corruption occurs when shared+ro mmap'd file is appended to via write() >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 27 14:40:00 PDT 1998 >Last-Modified: >Originator: Matt Dillon >Organization: Best Internet Communications, Inc. >Release: FreeBSD 2.2.6-STABLE i386 >Environment: FreeBSD-current FreeBSD-stable heavily loaded mmap & file-writing environment CCD striped disk partition. >Description: This has been noticed on a number of FreeBSD-current and FreeBSD-stable machines running news software. The problem occurs when one process is appending to a file via write() while another is doing a shared+ro mmap()'ing of the file. The problem occurs often, but I cannot deterministically reproduce it. I was able to ktrace the writing process. The ktrace is included. Note that the writing process has been found to be writing to the file properly. The reading process mmap's the file in real time... that is, it is accessing it's mmap simultanious with the writing process writing to the file. The hex dump of the file is shown below... the corrupted area is full of 00 00 00 00's. The corruption generally extends to the end of a page boundry. If you look at the writing process, you will notice that it is simply appending articles to the file. There is no concept of a page boundry. There is a serious issue here that needs to be resolved. 0002.1960 0a 20 20 20 20 20 73 6f 6d 65 68 6f 77 20 61 20 . somehow a 0002.1970 73 61 70 6c 69 6e 67 0a 20 20 20 20 20 6f 6e 20 sapling. on 0002.1980 74 68 69 73 20 62 65 64 72 6f 63 6b 20 6f 66 20 this bedrock of 0002.1990 61 20 74 6f 6e 67 75 65 0a 0a 20 20 20 20 20 69 a tongue.. i 0002.19a0 74 20 77 69 6c 6c 20 62 65 0a 20 20 20 20 20 61 t will be. a 0002.19b0 73 20 79 6f 75 20 68 61 76 65 20 77 72 69 74 74 s you have writt 0002.19c0 65 6e 0a 20 20 20 20 20 61 73 20 65 78 61 63 74 en. as exact 0002.19d0 20 61 6e 64 20 6c 6f 76 65 6c 79 0a 20 20 20 20 and lovely. 0002.19e0 20 61 73 20 61 6e 79 20 66 72 75 69 74 20 62 65 as any fruit be 0002.19f0 61 72 69 6e 67 20 74 68 69 6e 67 0a 20 20 20 20 aring thing. 0002.1a00 20 74 68 61 74 20 77 69 6c 6c 20 65 76 65 72 20 that will ever 0002.1a10 6d 61 6b 65 20 61 20 73 6f 75 6e 64 0a 0a 0a 37 make a sound...7 0002.1a20 2d 32 37 2d 39 38 0a 64 63 6c 65 0a 0a 2d 2d 2d -27-98.dcle..--- 0002.1a30 2d 2d 3d 3d 20 50 6f 73 74 65 64 20 76 69 61 20 --== Posted via 0002.1a40 44 65 6a 61 20 4e 65 77 73 2c 20 54 68 65 20 4c Deja News, The L 0002.1a50 65 61 64 65 72 20 69 6e 20 49 6e 74 65 72 6e 65 eader in Interne 0002.1a60 74 20 44 69 73 63 75 73 73 69 6f 6e 20 3d 3d 2d t Discussion ==- 0002.1a70 2d 2d 2d 2d 0a 68 74 74 70 3a 2f 2f 77 77 77 2e ----.http://www. 0002.1a80 64 65 6a 61 6e 65 77 73 2e 63 6f 6d 2f 72 67 5f dejanews.com/rg_ 0002.1a90 6d 6b 67 72 70 2e 78 70 20 20 20 43 72 65 61 74 mkgrp.xp Creat 0002.1aa0 65 20 59 6f 75 72 20 4f 77 6e 20 46 72 65 65 20 e Your Own Free 0002.1ab0 4d 65 6d 62 65 72 20 46 6f 72 75 6d 0a 00 00 00 Member Forum.... 0002.1ac0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0002.1ad0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0002.1ae0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0002.1af0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0002.1b00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0002.1b10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0002.1b20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ ... 0002.1f70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0002.1f80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0002.1f90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0002.1fa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0002.1fb0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0002.1fc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0002.1fd0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0002.1fe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0002.1ff0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0002.2000 69 74 64 2e 75 6d 69 63 68 2e 65 64 75 21 6e 65 itd.umich.edu!ne 0002.2010 77 73 2d 70 65 65 72 2e 67 69 70 2e 6e 65 74 21 ws-peer.gip.net! 0002.2020 6e 65 77 73 2e 67 73 6c 2e 6e 65 74 21 67 69 70 news.gsl.net!gip 0002.2030 2e 6e 65 74 21 6e 65 77 73 66 65 65 64 2e 69 6e .net!newsfeed.in 0002.2040 74 65 72 6e 65 74 6d 63 69 2e 63 6f 6d 21 32 30 ternetmci.com!20 0002.2050 34 2e 32 33 38 2e 31 32 30 2e 31 33 30 21 6e 65 4.238.120.130!ne 8240 diablo 0.000120 CALL lseek(0xe,0,0x21abe,0,0) 8240 diablo 0.000041 RET lseek 137918/0x21abe 8240 diablo 0.000032 CALL write(0xe,0x2278c020,0x283) 8240 diablo 0.000095 GIO fd 14 wrote 643 bytes "Path: news3.best.com!news1.best.com!feed1.news.erols.com!howland.erols.net!newsfeed.internetmci.com!204.238.120.130!news-feeds.jump.net!nntp2.dejanews.com!nnrp1.dejanews.com!not\ -for-mail From: parsrise@my-dejanews.com Newsgroups: ott.business.ads Subject: Ottawa, Centretown Apartments For Rent Date: Mon, 27 Jul 1998 20:48:59 GMT Organization: Deja News - The Leader in Internet Discussion Lines: 29 Message-ID: <6pip3s$f5b$1@nnrp1.dejanews.com> NNTP-Posting-Host: 192.58.194.87 X-Article-Creation-Date: Mon Jul 27 20:48:59 1998 GMT X-Http-User-Agent: Mozilla/3.04 (X11; I; HP-UX A.09.03 9000/712) Xref: news3.best.com ott.business.ads:12900 " 8240 diablo 0.000038 RET write 643/0x283 8240 diablo 0.000065 CALL lseek(0xe,0,0,0,0x1) 8240 diablo 0.000032 RET lseek 138561/0x21d41 8240 diablo 0.000030 CALL write(0xe,0x2278c020,0x291) 8240 diablo 0.000060 GIO fd 14 wrote 657 bytes ... 8240 diablo 0.000046 CALL lseek(0xe,0,0,0,0x1) 8240 diablo 0.000033 RET lseek 139218/0x21fd2 ... 139264 is the 4K boundry 8240 diablo 0.000054 CALL lseek(0xe,0,0x21fd2,0,0) 8240 diablo 0.000037 RET lseek 139218/0x21fd2 8240 diablo 0.000035 CALL write(0xe,0x2278c020,0x2d9) 8240 diablo 0.000408 GIO fd 14 wrote 729 bytes "Path: news3.best.com!news1.best.com!newsxfer3.itd.umich.edu!news-peer.gip.net!news.gsl.net!gip.net!newsfeed.internetmci.com!204.238.120.130!news-feeds.jump.net!nntp2.dejanews.co\ m!nnrp1.dejanews.com!not-for-mail From: elleinad@my-dejanews.com Newsgroups: rec.arts.disney.parks Subject: Re: Planning 4 days at WDW Date: Mon, 27 Jul 1998 20:52:41 GMT Organization: Deja News - The Leader in Internet Discussion Lines: 30 Message-ID: <6pipaq$f81$1@nnrp1.dejanews.com> References: <1998072618171400.OAA06477@ladder03.news.aol.com> NNTP-Posting-Host: 204.189.84.62 X-Article-Creation-Date: Mon Jul 27 20:52:41 1998 GMT X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.0; Windows 95) Xref: news3.best.com rec.arts.disney.parks:187617 " 8240 diablo 0.000056 RET write 729/0x2d9 8240 diablo 0.000052 CALL lseek(0xe,0,0,0,0x1) 8240 diablo 0.000032 RET lseek 139947/0x222ab 8240 diablo 0.000030 CALL write(0xe,0x2278c020,0x537) 8240 diablo 0.000066 GIO fd 14 wrote 1335 bytes " Well, I'm 13, and these are some of my favorites: Magic Kingdom: Space Mountain, Alien Encounter, Splash Mountain, Big Thunder Mountain Railroad, the Barnstormer (back seat ONLY!) ;-) Epcot: Honey, I Shrunk the Audience, the Image Works, Innoventions, Wonders of Life, and the ride at Norway. MGM Studios: Tower of Terror, Star Tours, Superstar Television, 50's Prime Time Cafe'. (It's an attraction in itself!) Animal Kingdom: Kilimanjaro Safaris, Countdown to Extinction, Legend of the Lion King show, Tough to Be A Bug. Water Parks: SUMMIT PLUMMET, Slush Gusher, Downhill Double Dipper, and the fun chute slide (kind of off to itself) at Ski Patrol Training Camp. Have fun! In article <1998072618171400.OAA06477@ladder03.news.aol.com>, megps@aol.com (MegPS) wrote: > We are headed to WDW on sunday for 4 days, We will be staying at CS, and we > have passes for all of the parks and water parks. We have two girls, 14 and16, > who will probably be on their own for much of the time, can you suggest some > things that they might want to do while they're there? Thanks much. > -- Danielle Danielle@searnet.com TDC Keeper of Pegasus, Summit Plummet, -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum \0" 8240 diablo 0.000046 RET write 1335/0x537 8240 diablo 0.000040 CALL lseek(0xe,0,0,0,0x1) 8240 diablo 0.000029 RET lseek 141282/0x227e2 >How-To-Repeat: I can get it to occur quite often but I cannot get it to repeat in a deterministic fashion. I believe the heavy load on the machine is making the bug more visible. >Fix: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 15:28:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA25101 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 15:28:58 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA25023; Mon, 27 Jul 1998 15:28:33 -0700 (PDT) (envelope-from nectar@FreeBSD.org) From: Jacques Vidrine Received: (from nectar@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id PAA24777; Mon, 27 Jul 1998 15:27:22 -0700 (PDT) Date: Mon, 27 Jul 1998 15:27:22 -0700 (PDT) Message-Id: <199807272227.PAA24777@freefall.freebsd.org> To: mpp@FreeBSD.ORG, nectar@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/3211 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: ctm uses mktemp()> State-Changed-From-To: open-closed State-Changed-By: nectar State-Changed-When: Mon Jul 27 15:26:50 PDT 1998 State-Changed-Why: fixed in -CURRENT, rev 1.14 of ctm/ctm_rmail/ctm_rmail.c. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 15:41:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA27360 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 15:41:17 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA27347 for ; Mon, 27 Jul 1998 15:41:10 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id PAA25270; Mon, 27 Jul 1998 15:40:01 -0700 (PDT) Received: from dominus.ma.ultranet.com (d60.dial-2.cmb.ma.ultra.net [209.6.65.60]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA26111 for ; Mon, 27 Jul 1998 15:34:22 -0700 (PDT) (envelope-from moncrg@dominus.ma.ultranet.com) Received: (from root@localhost) by dominus.ma.ultranet.com (8.8.8/8.8.7) id SAA00370; Mon, 27 Jul 1998 18:35:14 -0500 (EST) (envelope-from moncrg) Message-Id: <199807272335.SAA00370@dominus.ma.ultranet.com> Date: Mon, 27 Jul 1998 18:35:14 -0500 (EST) From: "Gregory D. Moncreaff" Reply-To: moncrg@dominus.ma.ultranet.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/7419: cleanup for ISO Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7419 >Category: bin >Synopsis: cleanup for ISO >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jul 27 15:40:00 PDT 1998 >Last-Modified: >Originator: Gregory D. Moncreaff >Organization: >Release: FreeBSD 2.2.6-STABLE i386 >Environment: >Description: some prototype and other compile/cleanup for ISO protocol support [in the hopes of the eventual resurection of netiso] >How-To-Repeat: >Fix: changes to 1.19.2.2 *** ifconfig.c Mon Jul 27 18:27:48 1998 --- new_ifconfig.c Fri Jul 24 20:55:13 1998 *************** *** 139,144 **** --- 139,145 ---- #ifdef ISO c_func setsnpaoffset, setnsellength; + void adjust_nsellength(void); #endif #define NEXTARG 0xffffff *************** *** 515,521 **** argc--, argv++; } #ifdef ISO ! if (af == AF_ISO) adjust_nsellength(); #endif if (setipdst && ifr.ifr_addr.sa_family == AF_IPX) { --- 516,522 ---- argc--, argv++; } #ifdef ISO ! if (afp->af_af == AF_ISO) adjust_nsellength(); #endif if (setipdst && ifr.ifr_addr.sa_family == AF_IPX) { *************** *** 714,722 **** #ifdef ISO void ! setsnpaoffset(val, dummy) ! char *val; ! int dummy __unused; { iso_addreq.ifra_snpaoffset = atoi(val); } --- 715,725 ---- #ifdef ISO void ! setsnpaoffset(val, arg, s, afp) ! const char *val; ! int arg __unused; ! int s __unused; ! const struct afswtch *afp __unused; { iso_addreq.ifra_snpaoffset = atoi(val); } *************** *** 1183,1195 **** struct sockaddr_iso *sisotab[] = { SISO(iso_ridreq.ifr_Addr), SISO(iso_addreq.ifra_addr), SISO(iso_addreq.ifra_mask), SISO(iso_addreq.ifra_dstaddr)}; void iso_getaddr(addr, which) ! char *addr; { register struct sockaddr_iso *siso = sisotab[which]; - struct iso_addr *iso_addr(); siso->siso_addr = *iso_addr(addr); if (which == MASK) { --- 1186,1200 ---- struct sockaddr_iso *sisotab[] = { SISO(iso_ridreq.ifr_Addr), SISO(iso_addreq.ifra_addr), SISO(iso_addreq.ifra_mask), SISO(iso_addreq.ifra_dstaddr)}; + struct iso_addr *iso_addr(); + void fixnsel(struct sockaddr_iso *); void iso_getaddr(addr, which) ! const char *addr; ! int which; { register struct sockaddr_iso *siso = sisotab[which]; siso->siso_addr = *iso_addr(addr); if (which == MASK) { *************** *** 1202,1209 **** } void ! setnsellength(val) ! char *val; { nsellength = atoi(val); if (nsellength < 0) --- 1207,1217 ---- } void ! setnsellength(val,arg,s,afp) ! const char *val; ! int arg __unused; ! int s __unused; ! const struct afswtch *afp; { nsellength = atoi(val); if (nsellength < 0) >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 15:51:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA29161 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 15:51:19 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA29151 for ; Mon, 27 Jul 1998 15:51:10 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id PAA25707; Mon, 27 Jul 1998 15:50:01 -0700 (PDT) Date: Mon, 27 Jul 1998 15:50:01 -0700 (PDT) Message-Id: <199807272250.PAA25707@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: "Jason" Subject: Re: bin/5711 Reply-To: "Jason" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/5711; it has been noted by GNATS. From: "Jason" To: Cc: Subject: Re: bin/5711 Date: Mon, 27 Jul 1998 17:45:12 -0500 Fixed the style nits I think. Overview: Added prototype for main() Use correct types in the function raw_cat. Optimize for I/O. Since last submission: Ordered lists. Staticized wfd in raw_cat so stdout is assigned and fstat'ed only once. patch: http://www.hal-pc.org/~jes/FreeBSD/cat.diff -Jason To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 16:38:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA08751 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 16:38:10 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA08631; Mon, 27 Jul 1998 16:37:13 -0700 (PDT) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id QAA27530; Mon, 27 Jul 1998 16:35:57 -0700 (PDT) Date: Mon, 27 Jul 1998 16:35:57 -0700 (PDT) Message-Id: <199807272335.QAA27530@freefall.freebsd.org> To: jnickelsen@acm.org, brian@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: kern/7413 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: ssc pseudo device fails to include scsi/su.c in Makefile State-Changed-From-To: open-closed State-Changed-By: brian State-Changed-When: Mon Jul 27 16:34:41 PDT 1998 State-Changed-Why: The ssc(4) man page mentions that ssc uses the su pseudo device and su therefore must also be configured. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 16:41:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA09686 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 16:41:23 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA09629 for ; Mon, 27 Jul 1998 16:41:11 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id QAA27670; Mon, 27 Jul 1998 16:40:01 -0700 (PDT) Date: Mon, 27 Jul 1998 16:40:01 -0700 (PDT) Message-Id: <199807272340.QAA27670@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Jacques Vidrine Subject: Re: bin/3386: kernel 'config' wrapper 'doconfig' ala Digital Unix's doconfig Reply-To: Jacques Vidrine Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/3386; it has been noted by GNATS. From: Jacques Vidrine To: freebsd-gnats-submit@freebsd.org, brandon@cold.org Cc: Subject: Re: bin/3386: kernel 'config' wrapper 'doconfig' ala Digital Unix's doconfig Date: Mon, 27 Jul 1998 18:33:00 -0500 Hello Brandon, Are you still maintaining this utility? I've made a FreeBSD port of it that I would commit, but: * If you are not maintaining it, there's probably no point in making a port of it. * There is at least one buglet that needs fixing ... doconfig does not recognize the ``-a'' option as documented. Let me know, -- Jacques Vidrine To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 18:17:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA01179 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 18:17:33 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA01164; Mon, 27 Jul 1998 18:17:14 -0700 (PDT) (envelope-from nectar@FreeBSD.org) From: Jacques Vidrine Received: (from nectar@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id SAA01299; Mon, 27 Jul 1998 18:16:01 -0700 (PDT) Date: Mon, 27 Jul 1998 18:16:01 -0700 (PDT) Message-Id: <199807280116.SAA01299@freefall.freebsd.org> To: andrew@ugh.net.au, nectar@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: conf/3023 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: By default users have no write permission to /var/msgs State-Changed-From-To: open-closed State-Changed-By: nectar State-Changed-When: Mon Jul 27 18:15:16 PDT 1998 State-Changed-Why: fixed in -CURRENT, rev 1.147 of etc/rc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 18:19:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA01552 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 18:19:42 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA01519; Mon, 27 Jul 1998 18:19:35 -0700 (PDT) (envelope-from nectar@FreeBSD.org) From: Jacques Vidrine Received: (from nectar@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id SAA01442; Mon, 27 Jul 1998 18:18:25 -0700 (PDT) Date: Mon, 27 Jul 1998 18:18:25 -0700 (PDT) Message-Id: <199807280118.SAA01442@freefall.freebsd.org> To: mpp@FreeBSD.ORG, nectar@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/3212 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: the pkg_* tools use mktemp() State-Changed-From-To: open-closed State-Changed-By: nectar State-Changed-When: Mon Jul 27 18:17:53 PDT 1998 State-Changed-Why: fixed in -CURRENT, rev 1.29 of pkg_install/lib/pen.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 18:41:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA05602 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 18:41:18 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA05593 for ; Mon, 27 Jul 1998 18:41:12 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id SAA02098; Mon, 27 Jul 1998 18:40:01 -0700 (PDT) Received: (from nobody@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA04111; Mon, 27 Jul 1998 18:32:37 -0700 (PDT) (envelope-from nobody) Message-Id: <199807280132.SAA04111@hub.freebsd.org> Date: Mon, 27 Jul 1998 18:32:37 -0700 (PDT) From: ioannis@andrew.cmu.edu, pnm@andrew.cmu.edu To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: i386/7420: Maximum socket buffer size (SB_MAX) could not go higher than 2^21 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7420 >Category: i386 >Synopsis: Maximum socket buffer size (SB_MAX) could not go higher than 2^21 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 27 18:40:00 PDT 1998 >Last-Modified: >Originator: Yannis Pavlidis, Parag Manihar >Organization: Carnegie Mellon University >Release: 2.2.6 >Environment: FreeBSD z3.ini.cmu.edu 2.2.6-RELEASE FreeBSD 2.2.6-RELEASE #4: Mon Jul 27 21:07:57 EDT 1998 root@z3.ini.cmu.edu:/usr/src/sys/compile/Z3 i386 >Description: Hi, I was trying to increase the maximum socket buffer size (SB_MAX or kern.maxsockbuf) in my kernel and I realized that the maximum I could go was: 2097151 (2^21 - 1). If the SB_MAX was >= 2^21 I could not open any socket. After spending a lot of time I realised that in the file: kern/uipc_socket2.c in the sbreserve function there is the following line: if (cc > sb_max * MCLBYTES / (MSIZE + MCLBYTES)) Taking into account that the highest number we can have is 2^32 -1 and that MCLBYTES = 2048 = 2^11 it is obvious that if sb_max was 2^21 we would have an overflow (sb_max * MCLBYTES = 2^21 * 2^11 = 2^32 overflow) >How-To-Repeat: >Fix: The above can be easily corrected by replacing the above line with the following: if (cc > (sb_max / (MSIZE + MCLBYTES)) * MCLBYTES) In this case we can have SB_MAX with greater values. Thanks. >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 18:52:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA07098 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 18:52:01 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA07065; Mon, 27 Jul 1998 18:51:41 -0700 (PDT) (envelope-from nectar@FreeBSD.org) From: Jacques Vidrine Received: (from nectar@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id SAA02590; Mon, 27 Jul 1998 18:50:30 -0700 (PDT) Date: Mon, 27 Jul 1998 18:50:30 -0700 (PDT) Message-Id: <199807280150.SAA02590@freefall.freebsd.org> To: marc@destek.net, nectar@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/3982 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: /usr/include/arpa/tftp.h has bug preventing >16M trnasfers State-Changed-From-To: open-closed State-Changed-By: nectar State-Changed-When: Mon Jul 27 18:49:38 PDT 1998 State-Changed-Why: Fixed in -CURRENT, rev 1.3 of include/arpa/tftp.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 22:01:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA02056 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 22:01:17 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA02049 for ; Mon, 27 Jul 1998 22:01:14 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id WAA08479; Mon, 27 Jul 1998 22:00:03 -0700 (PDT) Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA01485 for ; Mon, 27 Jul 1998 21:53:48 -0700 (PDT) (envelope-from dillon@backplane.com) Received: (dillon@localhost) by apollo.backplane.com (8.8.8/8.6.5) id VAA18002; Mon, 27 Jul 1998 21:53:18 -0700 (PDT) Message-Id: <199807280453.VAA18002@apollo.backplane.com> Date: Mon, 27 Jul 1998 21:53:18 -0700 (PDT) From: Matthew Dillon Reply-To: dillon@backplane.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/7422: VM system fails to remove mapped page on truncate in some situations Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7422 >Category: kern >Synopsis: FreeBSD-current VM systems do not properly remove mapped pages on truncate in some situations. -stable does. >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 27 22:00:02 PDT 1998 >Last-Modified: >Originator: Matthew Dillon >Organization: Best Internet Communications, Inc. >Release: FreeBSD 3.0-CURRENT i386 >Environment: Generic FreeBSD-current machine (CVS as of 26 Jul 98) Generic FreeBSD-stable machine (CVS somewhere between 2.2.6 and 2.2.7) >Description: ON a -current machine: If you open a file and use write() to write to it and either you or another process mmap()'s the file, if the file is then truncated mmap()'d pages that should have been removed (made illegal) are sometimes not and can still be referenced with the original data still intact. Example: create a file, write 4096+(512 to 4095) bytes to it. mmap the file, reference the second page of the mmap (volatile x = ptr[4096];), then ftruncate the file to 4096 bytes. You can still reference the second page of the mmap (which should now be illegal) and it still contains the original data written to it. Now repeat the process but write 4096+4096 bytes to the file. now when you ftruncate, referencing ptr[4096] after the ftruncate call will correctly segfault. (NOTE: This is different from the file corruption bug previously reported. This bug does not corrupt the file but does 'corrupt' the mmap. It may or may not be related to the previously reported file corruption-on- mmap while appending bug). (NOTE: The program properly segfaults in both cases on a -stable machine). >How-To-Repeat: /* * BADVM.C */ #include #include #include #include #include #include #include #include #include #include int main(int ac, char **av) { int fd; char buf[4096 + 4096]; volatile char *base; volatile int x; int n; if (ac == 1) { printf("Run with an argument of '512' and then run with an argument of '4096'\n"); exit(1); } n = strtol(av[1], NULL, 0); if (n < 0 || n > 4096) { printf("argument out of bounds\n"); exit(1); } remove("test"); if ((fd = open("test", O_RDWR|O_CREAT, 0644)) < 0) perror("open"); memset(buf, 1, sizeof(buf)); if (write(fd, buf, 4096 + n) != 4096 + n) perror("write"); base = mmap((caddr_t)0, 8192, PROT_READ, MAP_SHARED, fd, 0); printf("map: %08lx\n", (long)base); printf("base[4096] should be 1: %d\n", base[4096]); ftruncate(fd, 4096); printf("base[4096] should fault: "); fflush(stdout); printf("%d\n", base[4096]); puts("oops, it didn't"); lseek(fd, 4096, 0); memset(buf, 2, sizeof(buf)); if (write(fd, buf, 4096) != 4096) perror("write"); printf("base[4096] should be 2: %d\n", base[4096]); return(0); } >Fix: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 22:01:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA02083 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 22:01:33 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.15.68.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA02078 for ; Mon, 27 Jul 1998 22:01:29 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id PAA06119; Tue, 28 Jul 1998 15:00:58 +1000 Date: Tue, 28 Jul 1998 15:00:58 +1000 From: Bruce Evans Message-Id: <199807280500.PAA06119@godzilla.zeta.org.au> To: freebsd-bugs@FreeBSD.ORG, n@nectar.com Subject: Re: bin/2915: the "-fstype ufs" option of "find" seems to fail on procfs Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Cc: Subject: Re: bin/2915: the "-fstype ufs" option of "find" seems to fail on procfs >Date: Mon, 27 Jul 1998 15:51:32 -0500 > > I believe this was fixed with: > > find/Makefile 1.2 > find/find.1 1.7 > find/find.c 1.4 > find/function.c 1.12 > find/main.c 1.4 Only in -current. It depends on some Lite2 vfs changes which are too large to port to 2.2. They haven't even all been ported to -current (there are still some hard-coded vfs indexes, mostly in sysctl initializers, and vfs sysctls only work for statically configured fs's). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jul 27 23:31:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA13272 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 23:31:22 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA13254 for ; Mon, 27 Jul 1998 23:31:14 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id XAA11141; Mon, 27 Jul 1998 23:30:01 -0700 (PDT) Received: (from nobody@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA12440; Mon, 27 Jul 1998 23:27:23 -0700 (PDT) (envelope-from nobody) Message-Id: <199807280627.XAA12440@hub.freebsd.org> Date: Mon, 27 Jul 1998 23:27:23 -0700 (PDT) From: takura@popweb.ne.jp To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: kern/7423: I can't use my PD Drive. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7423 >Category: kern >Synopsis: I can't use my PD Drive. >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jul 27 23:30:00 PDT 1998 >Last-Modified: >Originator: Takura Koyama >Organization: University of Tokyo >Release: FreeBSD 2.2.5 Release >Environment: >Description: I have a PD drive (Matsushita PD/CD Drive LF-1600). The machine can not recognize this PD drive as neither PD drive nor CD-ROM Drive. So I can not use CD-ROMs and PDs from FreeBSD. >How-To-Repeat: >Fix: Fix scsiconf.c and recompile a kernel, the problem is solved. *** scsiconf.c.orig Thu May 14 04:48:42 1998 --- scsiconf.c Thu May 14 04:49:11 1998 *************** *** 254,260 **** { #if NOD > 0 { ! T_OPTICAL, T_OPTICAL, T_REMOV, "MATSHITA", "PD-1 LF-100*", "*", "od", SC_MORE_LUS }, { --- 254,260 ---- { #if NOD > 0 { ! T_OPTICAL, T_OPTICAL, T_REMOV, "MATSHITA", "PD-1 LF-1*", "*", "od", SC_MORE_LUS }, { >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jul 28 00:41:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA24503 for freebsd-bugs-outgoing; Tue, 28 Jul 1998 00:41:20 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA24494 for ; Tue, 28 Jul 1998 00:41:14 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id AAA13729; Tue, 28 Jul 1998 00:40:02 -0700 (PDT) Date: Tue, 28 Jul 1998 00:40:02 -0700 (PDT) Message-Id: <199807280740.AAA13729@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Brandon Gillespie Subject: Re: bin/3386: kernel 'config' wrapper 'doconfig' ala Digital Unix's doconfig Reply-To: Brandon Gillespie Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/3386; it has been noted by GNATS. From: Brandon Gillespie To: Jacques Vidrine Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/3386: kernel 'config' wrapper 'doconfig' ala Digital Unix's doconfig Date: Tue, 28 Jul 1998 01:39:40 -0600 (MDT) On Mon, 27 Jul 1998, Jacques Vidrine wrote: > Hello Brandon, > > Are you still maintaining this utility? I've made a > FreeBSD port of it that I would commit, but: > > * If you are not maintaining it, there's probably no > point in making a port of it. > * There is at least one buglet that needs fixing ... doconfig > does not recognize the ``-a'' option as documented. > yes, I am, I was actually working on the backend of doconfig for automating the generation of kernel config files--and was holding off committing doconfig to the proper tree (per jordan's instructions); I've just been extremely busy lately (switched jobs, get/have to work on HP's :) but a port would probably be great (if not just a package). You can grab the slightly newer version at: ftp://ftp.cold.org/pub/brandon/doconfig-1.1.tar.gz It doesn't include any but the core/skeleton autokernconf, and in addition assumes it will be placed in /usr/sbin. Change $autokernconf in doconfig if it is put anywhere else. -Brandon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jul 28 01:01:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA26657 for freebsd-bugs-outgoing; Tue, 28 Jul 1998 01:01:21 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA26644 for ; Tue, 28 Jul 1998 01:01:14 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id BAA14228; Tue, 28 Jul 1998 01:00:01 -0700 (PDT) Received: from flea.best.net (root@flea.best.net [206.184.139.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA25575 for ; Tue, 28 Jul 1998 00:51:48 -0700 (PDT) (envelope-from dillon@flea.best.net) Received: (from dillon@localhost) by flea.best.net (8.9.0/8.9.0/best.fl) id AAA15626; Tue, 28 Jul 1998 00:51:17 -0700 (PDT) Message-Id: <199807280751.AAA15626@flea.best.net> Date: Tue, 28 Jul 1998 00:51:17 -0700 (PDT) From: Matt Dillon Reply-To: dillon@best.net To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/7424: biodone: buffer not busy panics Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7424 >Category: kern >Synopsis: Machine crashes do not occur very often, but when they do occur it's usually a panic on biodone: buffer not busy. >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 28 01:00:01 PDT 1998 >Last-Modified: >Originator: Matt Dillon >Organization: Best Internet Communications >Release: FreeBSD 2.2.6-STABLE i386 >Environment: FreeBSD-stable from CVS (somewhere inbetween 2.2.6, 2.2.7). FreeBSD-current All of our boxes use Adaptec 2940UW boards and nearly all of them are single-cpu PPro-200 motherboards. Boot information is similar to as shown below. Tagged queueing is enabled. options AHC_TAGENABLE options AHC_ALLOW_MEMIO ahc0 rev 0 int a irq 11 on pci0:12:0 ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs ahc0 waiting for scsi devices to settle ahc0: target 0 Tagged Queuing Device (ahc0:0:0): "SEAGATE ST34371W 0484" type 0 fixed SCSI 2 sd0(ahc0:0:0): Direct-Access 4148MB (8496884 512 byte sectors) sd0(ahc0:0:0): with 5172 cyls, 10 heads, and an average 164 sectors/track ahc0: target 1 Tagged Queuing Device (ahc0:1:0): "SEAGATE ST19171W 0023" type 0 fixed SCSI 2 sd1(ahc0:1:0): Direct-Access 8683MB (17783112 512 byte sectors) sd1(ahc0:1:0): with 5268 cyls, 20 heads, and an average 168 sectors/track ahc0: target 2 Tagged Queuing Device (ahc0:2:0): "SEAGATE ST19171W 0023" type 0 fixed SCSI 2 sd2(ahc0:2:0): Direct-Access 8683MB (17783112 512 byte sectors) sd2(ahc0:2:0): with 5268 cyls, 20 heads, and an average 168 sectors/track >Description: I'm submitting this bug report even though I don't have a hard backtrace. Unfortuntely, as you can see, the nature of the panic generally precludes getting a dump. I figure it's good to keep the PR in the bug list. I've set the severity to to serious since it is a crash, but the priority to low because it only happens once a month per machine or so... but it's an important stability issue because 'biodone: buffer not busy' panics are responsible for most of the crashes we get these days. If it could be fixed, it would considerably increase machine reliability. Our -stable machines, around 40 of them, each tend to crash around once a month (so we get about a crash a day). i.e. they do not crash very often. But when they do, many of the crashes are due to biodone: buffer not busy panics. These crashes are sometimes preceded by kernel printf's relating to the SCSI subsystem. We have also seen this crash on our FreeBSD-current test box. -Matt (FROM CONSOLE LOGS) ahc0: WARNING no command for scb 4 (cmdcmplt) QOUTCNT == 8 panic: biodone: buffer not busy Debugger("panic") db> trace _Debugger(f0113258) at _Debugger+0x35 _panic(f012ebe9,f1adb080,f10a7c00,f3b51114,f1aabfd0) at _panic+0x5a _biodone(f3b51114,f1adb080,f10a7c00,1,f1adb080) at _biodone+0x30 _scsi_done(f1adb080,f1aafa60,f1ab0800,40000,f01db4e1) at _scsi_done+0x84 _ahc_done(f1ab0800,f1aafa60) at _ahc_done+0x155 _ahc_intr(f1ab0800,0,27,efbf0027,40000) at _ahc_intr+0x1c7 Xresume11() at Xresume11+0x2b --- interrupt, eip = 0xa5c4, esp = 0xefbffff0, ebp = 0xefbfb8b8 --- db> pani panic: from debugger dumping to dev 401, offset 786432 dump panic: biodone: buffer not busy dumping to dev 401, offset 786432 dump device not ready Automatic reboot in 15 seconds - press a key on the console to abort >How-To-Repeat: The panics cannot be deterministically reproduced, but occur around once a month per machine. >Fix: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jul 28 02:05:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA05430 for freebsd-bugs-outgoing; Tue, 28 Jul 1998 02:05:41 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA05369; Tue, 28 Jul 1998 02:05:12 -0700 (PDT) (envelope-from phk@FreeBSD.org) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id CAA16967; Tue, 28 Jul 1998 02:03:58 -0700 (PDT) Date: Tue, 28 Jul 1998 02:03:58 -0700 (PDT) Message-Id: <199807280903.CAA16967@freefall.freebsd.org> To: takura@popweb.ne.jp, phk@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: kern/7423 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: I can't use my PD Drive. State-Changed-From-To: open-closed State-Changed-By: phk State-Changed-When: Tue Jul 28 02:03:48 PDT 1998 State-Changed-Why: fixed in current To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jul 28 02:08:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA05748 for freebsd-bugs-outgoing; Tue, 28 Jul 1998 02:08:43 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA05701; Tue, 28 Jul 1998 02:08:24 -0700 (PDT) (envelope-from phk@FreeBSD.org) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id CAA17119; Tue, 28 Jul 1998 02:07:10 -0700 (PDT) Date: Tue, 28 Jul 1998 02:07:10 -0700 (PDT) Message-Id: <199807280907.CAA17119@freefall.freebsd.org> To: ioannis@andrew.cmu.edu, pnm@andrew.cmu.edu, phk@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: i386/7420 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Old Synopsis: Maximum socket buffer size (SB_MAX) could not go higher than 2^21 New Synopsis: [PATCH] Maximum socket buffer size (SB_MAX) could not go higher than 2^21 State-Changed-From-To: open-suspended State-Changed-By: phk State-Changed-When: Tue Jul 28 02:06:37 PDT 1998 State-Changed-Why: awaiting review & comitter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jul 28 02:10:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA05998 for freebsd-bugs-outgoing; Tue, 28 Jul 1998 02:10:30 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA05978; Tue, 28 Jul 1998 02:10:14 -0700 (PDT) (envelope-from phk@FreeBSD.org) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id CAA17300; Tue, 28 Jul 1998 02:08:59 -0700 (PDT) Date: Tue, 28 Jul 1998 02:08:59 -0700 (PDT) Message-Id: <199807280908.CAA17300@freefall.freebsd.org> To: moncrg@dominus.ma.ultranet.com, phk@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/7419 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Old Synopsis: cleanup for ISO New Synopsis: [PATCH] cleanup for ISO State-Changed-From-To: open-analyzed State-Changed-By: phk State-Changed-When: Tue Jul 28 02:07:44 PDT 1998 State-Changed-Why: we cannot apply the patch since the code is currently "dead" in our repository. I suggest you maintain (and provide for anybody interested) a separate CVS tree with this stuff. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jul 28 02:16:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA06584 for freebsd-bugs-outgoing; Tue, 28 Jul 1998 02:16:20 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA06511; Tue, 28 Jul 1998 02:15:43 -0700 (PDT) (envelope-from phk@FreeBSD.org) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id CAA17505; Tue, 28 Jul 1998 02:14:29 -0700 (PDT) Date: Tue, 28 Jul 1998 02:14:29 -0700 (PDT) Message-Id: <199807280914.CAA17505@freefall.freebsd.org> To: dada@sbox.tu-graz.ac.at, phk@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/7417 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: ls -W option unimplemented State-Changed-From-To: open-suspended State-Changed-By: phk State-Changed-When: Tue Jul 28 02:13:49 PDT 1998 State-Changed-Why: whiteouts are "pasted over" files, see unionfs. awaiting patch & committer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jul 28 02:18:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA06856 for freebsd-bugs-outgoing; Tue, 28 Jul 1998 02:18:50 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA06818; Tue, 28 Jul 1998 02:18:21 -0700 (PDT) (envelope-from phk@FreeBSD.org) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id CAA17636; Tue, 28 Jul 1998 02:17:07 -0700 (PDT) Date: Tue, 28 Jul 1998 02:17:07 -0700 (PDT) Message-Id: <199807280917.CAA17636@freefall.freebsd.org> To: luoqi@chen.ml.org, phk@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: kern/7415 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: VMIO bug for FS with sub-page-size blocks State-Changed-From-To: open-feedback State-Changed-By: phk State-Changed-When: Tue Jul 28 02:15:14 PDT 1998 State-Changed-Why: it sounds to me like the simple solution would be to either: A) have ufs clear the vmio flag agan B) have msdosfs (and other similar fs) clear the flag before they start. Could you explain what your patch does ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jul 28 03:04:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA11802 for freebsd-bugs-outgoing; Tue, 28 Jul 1998 03:04:54 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA11796; Tue, 28 Jul 1998 03:04:50 -0700 (PDT) (envelope-from wosch@FreeBSD.org) From: Wolfram Schneider Received: (from wosch@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id DAA18808; Tue, 28 Jul 1998 03:03:37 -0700 (PDT) Date: Tue, 28 Jul 1998 03:03:37 -0700 (PDT) Message-Id: <199807281003.DAA18808@freefall.freebsd.org> To: wosch@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG, wosch@FreeBSD.ORG Subject: Re: bin/7324 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: Suggestions for minor modifications to adduser Responsible-Changed-From-To: freebsd-bugs->wosch Responsible-Changed-By: wosch Responsible-Changed-When: Tue Jul 28 03:02:39 PDT 1998 Responsible-Changed-Why: My area. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jul 28 03:22:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA14695 for freebsd-bugs-outgoing; Tue, 28 Jul 1998 03:22:17 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.15.68.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA14575; Tue, 28 Jul 1998 03:22:05 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id UAA28386; Tue, 28 Jul 1998 20:21:23 +1000 Date: Tue, 28 Jul 1998 20:21:23 +1000 From: Bruce Evans Message-Id: <199807281021.UAA28386@godzilla.zeta.org.au> To: dada@sbox.tu-graz.ac.at, freebsd-bugs@FreeBSD.ORG, phk@FreeBSD.ORG Subject: Re: bin/7417 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Synopsis: ls -W option unimplemented > >State-Changed-From-To: open-suspended >State-Changed-By: phk >State-Changed-When: Tue Jul 28 02:13:49 PDT 1998 >State-Changed-Why: >whiteouts are "pasted over" files, see unionfs. > >awaiting patch & committer Patches may be found in 2.2.6. Awaiting uncommitter to remove -current- only bits from 2.2. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jul 28 03:57:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA18384 for freebsd-bugs-outgoing; Tue, 28 Jul 1998 03:57:18 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.15.68.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA18374; Tue, 28 Jul 1998 03:57:11 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id UAA30494; Tue, 28 Jul 1998 20:56:37 +1000 Date: Tue, 28 Jul 1998 20:56:37 +1000 From: Bruce Evans Message-Id: <199807281056.UAA30494@godzilla.zeta.org.au> To: freebsd-bugs@FreeBSD.ORG, luoqi@chen.ml.org, phk@FreeBSD.ORG Subject: Re: kern/7415 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >it sounds to me like the simple solution would be to either: >A) have ufs clear the vmio flag agan >B) have msdosfs (and other similar fs) clear the flag before they start. Simple and wrong. File systems know nothing of the vmio flag. Either vm should clear it and be more careful about setting it (it only works now for ufs because ufs never requests a misaligned block), or it should always be set for block devices and fixes like the ones in the patch should be applied. >Could you explain what your patch does ? It attempts to make misaligned buffers (ones whose size and file offsets are multiples of PAGE_SIZE) actually work. It isn't clear whether they were intended to work, but they will need to work if the buffer cache and vm are ever fully merged. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jul 28 07:46:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA21812 for freebsd-bugs-outgoing; Tue, 28 Jul 1998 07:46:01 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from chen.ml.org (luoqi.watermarkgroup.com [207.202.73.170]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA21758; Tue, 28 Jul 1998 07:45:41 -0700 (PDT) (envelope-from luoqi@chen.ml.org) Received: (from luoqi@localhost) by chen.ml.org (8.8.8/8.8.8) id KAA19921; Tue, 28 Jul 1998 10:45:03 -0400 (EDT) (envelope-from luoqi) Date: Tue, 28 Jul 1998 10:45:03 -0400 (EDT) From: Luoqi Chen Message-Id: <199807281445.KAA19921@chen.ml.org> To: bde@zeta.org.au, freebsd-bugs@FreeBSD.ORG, luoqi@chen.ml.org, phk@FreeBSD.ORG Subject: Re: kern/7415 In-Reply-To: <199807281056.UAA30494@godzilla.zeta.org.au> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >it sounds to me like the simple solution would be to either: > >A) have ufs clear the vmio flag agan > >B) have msdosfs (and other similar fs) clear the flag before they start. > > Simple and wrong. File systems know nothing of the vmio flag. Either > vm should clear it and be more careful about setting it (it only works > now for ufs because ufs never requests a misaligned block), or it should > always be set for block devices and fixes like the ones in the patch > should be applied. > > >Could you explain what your patch does ? > > It attempts to make misaligned buffers (ones whose size and file offsets > are multiples of PAGE_SIZE) actually work. It isn't clear whether they ^ not > were intended to work, but they will need to work if the buffer cache > and vm are ever fully merged. > > Bruce > Bruce explained it very well (much better than I could). I'd like make one comment, I believe the misaligned buffers are intended to work. The evidence is at around line 1830 of vfs_bio.c the statement, ((vm_offset_t) bp->b_data) |= off & PAGE_MASK; and in numerous other places statements like pmap_qenter(trunc_page(bp->b_data), bp->b_pages, bp->b_npages); the original author were aware of these misaligned buffers and attempted to make them work. -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jul 28 07:51:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA22707 for freebsd-bugs-outgoing; Tue, 28 Jul 1998 07:51:17 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA22699 for ; Tue, 28 Jul 1998 07:51:16 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id HAA27819; Tue, 28 Jul 1998 07:50:01 -0700 (PDT) Received: from itchy.tesco-stores.cz ([195.75.140.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA22291 for ; Tue, 28 Jul 1998 07:48:35 -0700 (PDT) (envelope-from frf@itchy.tesco-stores.cz) Received: (from frf@localhost) by itchy.tesco-stores.cz (8.9.1/8.9.0) id QAA09942; Tue, 28 Jul 1998 16:46:10 +0200 (CEST) Message-Id: <199807281446.QAA09942@itchy.tesco-stores.cz> Date: Tue, 28 Jul 1998 16:46:10 +0200 (CEST) From: frf@xocolatl.com Reply-To: frf@xocolatl.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/7425: ndc does not use named_program from rc.conf Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7425 >Category: bin >Synopsis: ndc does not use named_program from rc.conf >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 28 07:50:00 PDT 1998 >Last-Modified: >Originator: frf >Organization: Very little... >Release: FreeBSD 2.2.6-STABLE i386 >Environment: FreeBSD itchy.tesco-stores.cz 2.2.6-STABLE FreeBSD 2.2.6-STABLE #1: Tue Jul 21 14:32:34 CEST 1998 root@itchy.tesco-stores.cz:/usr/src/sys/compile/ITCHY i386 >Description: ndc hardcodes 'named' instead of using $named_program from rc.conf >How-To-Repeat: >Fix: --- usr.sbin/ndc/ndcedit.bak Tue Jul 28 16:35:31 1998 +++ usr.sbin/ndc/ndcedit.awk Tue Jul 28 16:36:08 1998 @@ -15,7 +15,7 @@ if ($1 == "named") { printf "\t\t# $named_flags is imported from /etc/rc.conf\n" printf "\t\tif [ \"X${named_enable}\" = X\"YES\" ]; then\n" - printf "\t\t\tnamed ${named_flags} && {\n" + printf "\t\t\t${named_program} ${named_flags} && {\n" getline printf "\t%s\n", $0 getline >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jul 28 08:11:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA25944 for freebsd-bugs-outgoing; Tue, 28 Jul 1998 08:11:21 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA25930 for ; Tue, 28 Jul 1998 08:11:16 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id IAA28684; Tue, 28 Jul 1998 08:10:00 -0700 (PDT) Date: Tue, 28 Jul 1998 08:10:00 -0700 (PDT) Message-Id: <199807281510.IAA28684@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: woods@zeus.leitch.com (Greg A. Woods) Subject: Re: kern/7413 Reply-To: woods@zeus.leitch.com (Greg A. Woods) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/7413; it has been noted by GNATS. From: woods@zeus.leitch.com (Greg A. Woods) To: Brian Somers Cc: jnickelsen@acm.org, FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: kern/7413 Date: Tue, 28 Jul 1998 11:03:56 -0400 (EDT) [ On Mon, July 27, 1998 at 16:35:57 (-0700), Brian Somers wrote: ] > Subject: Re: kern/7413 > > Synopsis: ssc pseudo device fails to include scsi/su.c in Makefile > > State-Changed-From-To: open-closed > State-Changed-By: brian > State-Changed-When: Mon Jul 27 16:34:41 PDT 1998 > State-Changed-Why: > The ssc(4) man page mentions that ssc uses the su pseudo device and > su therefore must also be configured. It also seems harmless to edit sys/conf/files thusly: diff -c -r1.1.1.4 -r1.5 *** files 1998/07/09 20:36:33 1.1.1.4 --- files 1998/07/27 20:51:38 1.5 *************** *** 352,357 **** --- 361,367 ---- scsi/sd.c optional sd scsi/ssc.c optional ssc scsi/st.c optional st + scsi/su.c optional ssc scsi/su.c optional su scsi/uk.c optional scbus scsi/worm.c optional worm -- Greg A. Woods +1 416 443-1734 VE3TCP Planix, Inc. ; Secrets of the Weird To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jul 28 09:11:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA10103 for freebsd-bugs-outgoing; Tue, 28 Jul 1998 09:11:26 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA10073 for ; Tue, 28 Jul 1998 09:11:18 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id JAA01408; Tue, 28 Jul 1998 09:10:01 -0700 (PDT) Date: Tue, 28 Jul 1998 09:10:01 -0700 (PDT) Message-Id: <199807281610.JAA01408@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Tor.Egge@fast.no Subject: Re: kern/7424: biodone: buffer not busy panics Reply-To: Tor.Egge@fast.no Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/7424; it has been noted by GNATS. From: Tor.Egge@fast.no To: dillon@best.net Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: kern/7424: biodone: buffer not busy panics Date: Tue, 28 Jul 1998 18:09:00 +0200 > We have also seen this crash on our FreeBSD-current test box. I'm using some patches the the scsi driver in an attempt to track down this bug. --------- Index: scsi/scsi_base.c =================================================================== RCS file: /home/ncvs/src/sys/scsi/scsi_base.c,v retrieving revision 1.54 diff -u -r1.54 scsi_base.c --- scsi_base.c 1998/02/20 13:37:39 1.54 +++ scsi_base.c 1998/02/20 21:48:09 @@ -110,6 +110,7 @@ struct scsi_link *sc_link; /* who to credit for returning it */ u_int32_t flags; { + xs->flags &= ~INUSE; xs->next = next_free_xs; next_free_xs = xs; Index: i386/scsi/aic7xxx.c =================================================================== RCS file: /home/ncvs/src/sys/i386/scsi/aic7xxx.c,v retrieving revision 1.126 diff -u -r1.126 aic7xxx.c --- aic7xxx.c 1997/09/27 19:38:27 1.126 +++ aic7xxx.c 1998/04/07 01:24:50 @@ -769,6 +769,14 @@ qoutcnt); continue; } + if ((scb->flags & SCB_ON_CMPLETE_QUEUE) != 0) { + printf("%s: WARNING " + "scb %d already " + "on cmplete queue\n", + ahc_name(ahc), scb_index); + continue; + } + scb->flags |= SCB_ON_CMPLETE_QUEUE; STAILQ_INSERT_TAIL(&ahc->cmplete_scbs, scb, links); } @@ -786,6 +794,8 @@ } while((scb = ahc->cmplete_scbs.stqh_first) != NULL) { STAILQ_REMOVE_HEAD(&ahc->cmplete_scbs, links); + if ((scb->flags & SCB_ON_CMPLETE_QUEUE) == 0) + panic("ahc_intr: scb not on cmplete_scbs queue"); /* * Save off the residual if there is one. */ @@ -816,6 +826,9 @@ scb->xs->error); ahc_run_done_queue(ahc); } + if ((scb->flags & SCB_ON_CMPLETE_QUEUE) == 0) + panic("ahc_intr: scb not on cmplete_scbs queue"); + scb->flags &= ~SCB_ON_CMPLETE_QUEUE; ahc_done(ahc, scb); } ahc_outb(ahc, CLRINT, CLRCMDINT); @@ -1883,6 +1896,12 @@ * (SCSI_ERR_OK in FreeBSD), we don't have to care this case. */ #endif + if ((xs->flags & ITSDONE) != 0) + panic("ahc_done: scsi_xfer already done"); + if ((xs->flags & INUSE) == 0) + panic("ahc_done: scsi_xfer is unused"); + if ((scb->flags & SCB_ON_CMPLETE_QUEUE) != 0) + panic("ahc_done: scb on cmplete_scbs queue"); xs->flags |= ITSDONE; #ifdef AHC_TAGENABLE /* @@ -2583,6 +2602,8 @@ opri = splbio(); /* Clean up for the next user */ + if (scb->flags & SCB_ON_CMPLETE_QUEUE) + panic("ahc_free_scb: scb on cmplete_scbs queue"); scb->flags = SCB_FREE; hscb->control = 0; hscb->status = 0; @@ -2858,7 +2879,8 @@ DELAY(1000); if (ahc_inb(ahc, INTSTAT) & INT_PEND) break; - } if (wait == 0) { + } + if (wait == 0) { printf("%s: board is not responding\n", ahc_name(ahc)); return (EIO); } Index: i386/scsi/aic7xxx.h =================================================================== RCS file: /home/ncvs/src/sys/i386/scsi/aic7xxx.h,v retrieving revision 1.43 diff -u -r1.43 aic7xxx.h --- aic7xxx.h 1997/08/15 19:27:43 1.43 +++ aic7xxx.h 1997/10/26 18:13:38 @@ -164,7 +164,8 @@ SCB_MSGOUT_SDTR = 0x0400, SCB_MSGOUT_WDTR = 0x0800, SCB_ABORT = 0x1000, - SCB_QUEUED_ABORT = 0x2000 + SCB_QUEUED_ABORT = 0x2000, + SCB_ON_CMPLETE_QUEUE = 0x4000 } scb_flag; /* --------- the result is an occational burst of syslog messages ------ ahc1: WARNING scb 4 already on cmplete queue ahc1: WARNING scb 4 already on cmplete queue ahc1: WARNING scb 4 already on cmplete queue ahc1: WARNING scb 4 already on cmplete queue ahc1: WARNING scb 4 already on cmplete queue ahc1: WARNING scb 4 already on cmplete queue ahc1: WARNING scb 4 already on cmplete queue ahc1: WARNING scb 4 already on cmplete queue ahc1: WARNING scb 4 already on cmplete queue ahc1: WARNING scb 4 already on cmplete queue ahc1: WARNING scb 4 already on cmplete queue ahc1: WARNING scb 4 already on cmplete queue ahc1: WARNING scb 4 already on cmplete queue ahc1: WARNING scb 4 already on cmplete queue ahc1: WARNING no command for scb 4 (cmdcmplt) QOUTCNT == 1 ------ indicating a problem related to the FIFO for completed requests. I've not had problems getting memory dumps when this problem occurs, but this is due to the dump partition being located on a disk connected to ahc0, not ahc1. - Tor Egge To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jul 28 11:39:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA12563 for freebsd-bugs-outgoing; Tue, 28 Jul 1998 11:39:42 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA12344; Tue, 28 Jul 1998 11:38:56 -0700 (PDT) (envelope-from stb@FreeBSD.org) From: Stefan Bethke Received: (from stb@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id LAA09715; Tue, 28 Jul 1998 11:37:35 -0700 (PDT) Date: Tue, 28 Jul 1998 11:37:35 -0700 (PDT) Message-Id: <199807281837.LAA09715@freefall.freebsd.org> To: cattelan@burn.thebarn.com, stb@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: kern/4768 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: netatalk won't start with multicast error State-Changed-From-To: open-closed State-Changed-By: stb State-Changed-When: Tue Jul 28 11:37:03 PDT 1998 State-Changed-Why: Not a kernel problem; fixed in port some time ago. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jul 28 11:47:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA14465 for freebsd-bugs-outgoing; Tue, 28 Jul 1998 11:47:36 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA14234; Tue, 28 Jul 1998 11:46:12 -0700 (PDT) (envelope-from stb@FreeBSD.org) From: Stefan Bethke Received: (from stb@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id LAA10101; Tue, 28 Jul 1998 11:44:51 -0700 (PDT) Date: Tue, 28 Jul 1998 11:44:51 -0700 (PDT) Message-Id: <199807281844.LAA10101@freefall.freebsd.org> To: wilko@FreeBSD.ORG, stb@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: kern/6192 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: kernel patches for netatalk break FDDI support State-Changed-From-To: open-closed State-Changed-By: stb State-Changed-When: Tue Jul 28 11:43:01 PDT 1998 State-Changed-Why: Fixed by jkh in src/sys/net/if_fddisubr.c 1.9.2.5 (included in RELENG_2_2_7_RELEASE). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jul 28 11:48:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA14709 for freebsd-bugs-outgoing; Tue, 28 Jul 1998 11:48:34 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA14498; Tue, 28 Jul 1998 11:47:32 -0700 (PDT) (envelope-from stb@FreeBSD.org) From: Stefan Bethke Received: (from stb@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id LAA10211; Tue, 28 Jul 1998 11:46:08 -0700 (PDT) Date: Tue, 28 Jul 1998 11:46:08 -0700 (PDT) Message-Id: <199807281846.LAA10211@freefall.freebsd.org> To: kps@ucsb.edu, stb@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: kern/4995 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: atalk.diff.2.2 patch to 2.2.5-RELEASE breaks net/if_fddisubr.c State-Changed-From-To: open-closed State-Changed-By: stb State-Changed-When: Tue Jul 28 11:45:47 PDT 1998 State-Changed-Why: Fixed by jkh in src/sys/net/if_fddisubr.c 1.9.2.5 (included in RELENG_2_2_7_RELEASE). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jul 28 14:05:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA14846 for freebsd-bugs-outgoing; Tue, 28 Jul 1998 14:05:23 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from smtp04.wxs.nl (smtp04.wxs.nl [195.121.6.59]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA14823 for ; Tue, 28 Jul 1998 14:05:03 -0700 (PDT) (envelope-from asmodai@wxs.nl) Received: from tempest ([195.121.59.204]) by smtp04.wxs.nl (Netscape Messaging Server 3.54) with SMTP id AAA18D2; Tue, 28 Jul 1998 23:03:56 +0200 X-Sender: skywise@pop.wxs.nl X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Demo Date: Tue, 28 Jul 1998 23:07:10 +0200 To: FreeBSD Bugs From: Jeroen Ruigrok/Asmodai Subject: Mount recursive rebooting Cc: Alex Pietjouw Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-ID: <77182BF5160.AAA18D2@smtp04.wxs.nl> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, whilst su'ed I tried to mount the fd0 device and found a way to let the system reboot after a panic. as root cd / mkdir fd0 (if not already existing) mount fd0 fd0 The system panics and reboots. Mayhaps if there would be some sort of checking the recursion of the operation so that it won't try to complete the command endlessly. Hope this helps someone out there, I think it can be reproduced with other devices too. For the sake of making a perfect product even better, -- Jeroen Ruigrok van der Werven / Asmodai ICQ-UIN: 1564317 .:. Ninth Circle Enterprises Network/Security Specialist As far as ye can't tell, I am the Future in Computer Hell... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jul 28 15:12:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA00155 for freebsd-bugs-outgoing; Tue, 28 Jul 1998 15:12:13 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA29930 for ; Tue, 28 Jul 1998 15:11:26 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id PAA16305; Tue, 28 Jul 1998 15:10:01 -0700 (PDT) Date: Tue, 28 Jul 1998 15:10:01 -0700 (PDT) Message-Id: <199807282210.PAA16305@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Brian Somers Subject: Re: kern/7413 Reply-To: Brian Somers Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/7413; it has been noted by GNATS. From: Brian Somers To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: Brian Somers , jnickelsen@acm.org Subject: Re: kern/7413 Date: Tue, 28 Jul 1998 23:07:57 +0100 [.....] > It also seems harmless to edit sys/conf/files thusly: > > diff -c -r1.1.1.4 -r1.5 > *** files 1998/07/09 20:36:33 1.1.1.4 > --- files 1998/07/27 20:51:38 1.5 > *************** > *** 352,357 **** > --- 361,367 ---- > scsi/sd.c optional sd > scsi/ssc.c optional ssc > scsi/st.c optional st > + scsi/su.c optional ssc > scsi/su.c optional su > scsi/uk.c optional scbus > scsi/worm.c optional worm > > -- > Greg A. Woods > > +1 416 443-1734 VE3TCP > Planix, Inc. ; Secrets of the Weird Agreed & committed. Thanks. -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jul 28 16:08:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA12045 for freebsd-bugs-outgoing; Tue, 28 Jul 1998 16:08:07 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA11961; Tue, 28 Jul 1998 16:07:23 -0700 (PDT) (envelope-from hoek@FreeBSD.org) From: Tim Vanderhoek Received: (from hoek@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id QAA18635; Tue, 28 Jul 1998 16:05:59 -0700 (PDT) Date: Tue, 28 Jul 1998 16:05:59 -0700 (PDT) Message-Id: <199807282305.QAA18635@freefall.freebsd.org> To: hoek@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG, hoek@FreeBSD.ORG Subject: Re: bin/7011 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: [patch] Improvements to ls to help Emacs users; patch included Responsible-Changed-From-To: freebsd-bugs->hoek Responsible-Changed-By: hoek Responsible-Changed-When: Tue Jul 28 16:04:53 PDT 1998 Responsible-Changed-Why: I'll do this as soon Babylon 5 is over. And maybe Buff/Vampire-Slayer, too. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jul 28 20:21:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA26177 for freebsd-bugs-outgoing; Tue, 28 Jul 1998 20:21:36 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA26147 for ; Tue, 28 Jul 1998 20:21:28 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id UAA25039; Tue, 28 Jul 1998 20:20:02 -0700 (PDT) Date: Tue, 28 Jul 1998 20:20:02 -0700 (PDT) Message-Id: <199807290320.UAA25039@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Jerry Hicks Subject: Re: bin/7393: du throws SIGSEGV whenever '-c' option is used (at du.c:226) Reply-To: Jerry Hicks Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/7393; it has been noted by GNATS. From: Jerry Hicks To: freebsd-gnats-submit@freebsd.org, jhicks@glenatl.glenayre.com Cc: Subject: Re: bin/7393: du throws SIGSEGV whenever '-c' option is used (at du.c:226) Date: Tue, 28 Jul 1998 23:14:23 -0400 Indeed, I confirmed with Dag-Colin that /etc/malloc.conf -> AJ on the affected system. Using efence, the reference to 'savedp' triggers a bus error at du.c:225 savedp is assigned a value only if the loop started at du.c:186 and then only at the following line, where it is assigned the value of 'p' which comes from the 'fts_read()' function call. Ordinarily I would expect a compiler diagnostic to complain about the use of a possibly uninitialized variable ( fts_read() could return NULL the first time through? ) Off to study fts_read() & Co. ----- Jerry Hicks jhicks@glenatl.glenayre.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jul 29 01:31:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA11100 for freebsd-bugs-outgoing; Wed, 29 Jul 1998 01:31:25 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA11091 for ; Wed, 29 Jul 1998 01:31:24 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id BAA02625; Wed, 29 Jul 1998 01:30:01 -0700 (PDT) Received: (from nobody@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA09920; Wed, 29 Jul 1998 01:24:02 -0700 (PDT) (envelope-from nobody) Message-Id: <199807290824.BAA09920@hub.freebsd.org> Date: Wed, 29 Jul 1998 01:24:02 -0700 (PDT) From: gdc@xenetic.fi To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: i386/7426: Bugs in macro definitions of pthreads. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7426 >Category: i386 >Synopsis: Bugs in macro definitions of pthreads. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jul 29 01:30:01 PDT 1998 >Last-Modified: >Originator: Dado Colussi >Organization: Xenetic Oy >Release: current (1998-07-25) >Environment: FreeBSD tuska.xenetic.fi 3.0-19980725-SNAP FreeBSD 3.0-19980725-SNAP #0: Mon Jul 27 00:35:04 EEST 1998 root@tuska.xenetic.fi:/usr/src/sys/compile/SMP-TUSKA i386 >Description: _POSIX_THREADS macro should be defined in unistd.h instead of pthread.h. _PTHREAD_THREAD_SAFE_FUNCTIONS shouldn't be defined at all since the functions it claims to be available do not exist. PTHREAD_MUTEX_INITIALIZER does not exist. For verification, consult Butenhof's Programming with POSIX threads, section 3.2.1 "Creating and destroying a mutex" on page 49, section 9.1 "POSIX 1003.1c-1995 options" on page 307 and section 9.3.11 "Thread-safe functions" on page 388. >How-To-Repeat: >Fix: Move the _POSIX_THREADS macro from pthread.h to unistd.h. Move the _PTHREAD_THREAD_SAFE_FUNCTIONS to unistd.h and comment it out. I don't know how the PTHREAD_MUTEX_INITIALIZER should be implemented, but some of your team members should know it. >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jul 29 02:02:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA16253 for freebsd-bugs-outgoing; Wed, 29 Jul 1998 02:02:52 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from oslo.geco-prakla.slb.com (geos01.oslo.geco-prakla.slb.com [134.32.44.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA16242 for ; Wed, 29 Jul 1998 02:02:42 -0700 (PDT) (envelope-from smoergrd@oslo.sl.slb.com) Received: from sunw110.oslo.Geco-Prakla.slb.com (sunw110 [192.23.231.54]) by oslo.geco-prakla.slb.com (8.8.8/8.6.9) with SMTP id LAA03864 ; Wed, 29 Jul 1998 11:01:39 +0200 (MET DST) Received: by sunw110.oslo.Geco-Prakla.slb.com (SMI-8.6/SMI-SVR4) id LAA29453; Wed, 29 Jul 1998 11:01:38 +0200 To: Jerry Hicks Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/7393: du throws SIGSEGV whenever '-c' option is used (at du.c:226) References: <199807290320.UAA25039@freefall.freebsd.org> Organization: Schlumberger Geco-Prakla X-Disclaimer: I speak only for myself. From: smoergrd@oslo.geco-prakla.slb.com (Dag-Erling Coidan Smørgrav) Date: 29 Jul 1998 11:01:37 +0200 In-Reply-To: Jerry Hicks's message of Tue, 28 Jul 1998 20:20:02 -0700 (PDT) Message-ID: Lines: 27 X-Mailer: Gnus v5.3/Emacs 19.34 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Jerry Hicks writes: > Indeed, I confirmed with Dag-Colin that /etc/malloc.conf -> AJ on the --------- Uh, no. :) Erling, as in "Little Earl". > savedp is assigned a value only if the loop started at du.c:186 and then > only at the following line, where it is assigned the value of 'p' which > comes from the 'fts_read()' function call. I checked that in your core dump; savedp contains a valid address, but the data at that addrress is uninitialized. The SIGSEGV occurs when the -c flag is set and du tries to dereference savedp->fts_parent which is garbage (0xd0d0d0d0 if you have malloc.conf set to J) > Ordinarily I would expect a compiler diagnostic to complain about the > use of a possibly uninitialized variable ( fts_read() could return NULL > the first time through? ) Possibly, yes. > Off to study fts_read() & Co. AOL. DES -- Dag-Erling Smørgrav - smoergrd@oslo.geco-prakla.slb.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jul 29 03:03:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA23699 for freebsd-bugs-outgoing; Wed, 29 Jul 1998 03:03:36 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from elvis.vnet.net (elvis.vnet.net [166.82.1.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA23694 for ; Wed, 29 Jul 1998 03:03:32 -0700 (PDT) (envelope-from rivers@dignus.com) Received: from dignus.com (ponds.vnet.net [166.82.177.48]) by elvis.vnet.net (8.8.8/8.8.4) with ESMTP id GAA04107; Wed, 29 Jul 1998 06:02:52 -0400 (EDT) Received: from lakes.dignus.com (lakes [10.0.0.3]) by dignus.com (8.8.8/8.8.5) with ESMTP id GAA03418; Wed, 29 Jul 1998 06:35:03 -0400 (EDT) Received: (from rivers@localhost) by lakes.dignus.com (8.8.8/8.6.9) id GAA00345; Wed, 29 Jul 1998 06:06:35 -0400 (EDT) Date: Wed, 29 Jul 1998 06:06:35 -0400 (EDT) From: Thomas David Rivers Message-Id: <199807291006.GAA00345@lakes.dignus.com> To: freebsd-bugs@FreeBSD.ORG, Les.LaCroix@Carleton.edu Subject: Re: kern/7367 Cc: rivers@lakes.dignus.com In-Reply-To: <4027246050.901675410@miranda.INFOZOO.com> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've redirected this to -bugs, with the existing #7367... Just to add to Les's comments. I'm also getting similar panics in 2.2.6: #0 boot (howto=256) at ../../kern/kern_shutdown.c:266 #1 0xf0112882 in panic (fmt=0xf01c76ff "page fault") at ../../kern/kern_shutdown.c:390 #2 0xf01c82a6 in trap_fatal (frame=0xefbffed8) at ../../i386/i386/trap.c:770 #3 0xf01c7d94 in trap_pfault (frame=0xefbffed8, usermode=0) at ../../i386/i386/trap.c:677 #4 0xf01c7a37 in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = 0, tf_esi = -265092476, tf_ebp = -272629980, tf_isp = -272630016, tf_ebx = -265092476, tf_edx = 1073540389, tf_ecx = -272629640, tf_eax = 120, tf_trapno = 12, tf_err = 0, tf_eip = -266576057, tf_cs = 8, tf_eflags = 66070, tf_esp = -255013888, tf_ss = -256907776}) at ../../i386/i386/trap.c:324 #5 0xf01c5f47 in pmap_remove_pages (pmap=0xf0cccc64, sva=0, eva=4022329344) at ../../i386/i386/pmap.c:2603 #6 0xf010c193 in exit1 (p=0xf0afe600, rv=0) at ../../kern/kern_exit.c:186 #7 0xf010c054 in exit (p=0xf0afe600, uap=0xefbfff94, retval=0xefbfff84) at ../../kern/kern_exit.c:106 #8 0xf01c853f in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 0, tf_esi = -1, tf_ebp = -272647316, tf_isp = -272629788, tf_ebx = 537665632, tf_edx = 0, tf_ecx = 537605948, tf_eax = 1, tf_trapno = 12, tf_err = 7, tf_eip = 537616045, tf_cs = 31, tf_eflags = 662, tf_esp = -272647336, tf_ss = 39}) at ../../i386/i386/trap.c:918 Looking up; trap_fatal is being called at line 677 of trap.c; intr_nesting_level is 0, but curpcb seems to be 'trash' (kgdb) p curpcb $1 = -193490944 I've got the kernel (built with -g) and vmcore if anyone is interested. - Dave Rivers - "Les LaCroix" writes > > I've been fighting a "fatal trap 12: page fault while in kernel mode" > problem. Clues are appreciated. I'm running out of ideas. > > New machine (configuration below). Crashes in a similar (if not the exactly > the same) way with GENERIC kernel and a custom kernel with virtually > everything removed, in both 2.2.6 and 2.2.7. I've not changed anything in > the kernel source. > > I don't have the panic screen from other days, but tonight it crashed 3 > times in 5 hours like this: > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0xe011087c > fault code = supervisor read, page not present > instruction pointer = 0x8:0xe011087c > stack pointer = 0x10:0xf019cfa0 > frame pointer = 0x10:0xf019cfb8 > 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 = Idle > interrupt mask = > panic: page fault > > Each crash was the same: same instruction, stack and frame pointers, same > everything. gdb -k on the dumps all look like: > > (kgdb) symbol-file /kernel > Reading symbols from /kernel...done. > (kgdb) exec-file /var/crash/kernel.2 > (kgdb) core-file /var/crash/vmcore.2 > IdlePTD 1c1000 > current pcb at 1a8bb0 > panic: page fault > #0 boot (howto=256) at ../../kern/kern_shutdown.c:266 > 266 dumppcb.pcb_cr3 = rcr3(); > (kgdb) where > #0 boot (howto=256) at ../../kern/kern_shutdown.c:266 > #1 0xf010eb12 in panic (fmt=0xf017693f "page fault") > at ../../kern/kern_shutdown.c:400 > #2 0xf017751e in trap_fatal (frame=0xf019cf64) at > ./../i386/i386/trap.c:772 > #3 0xf0176fe0 in trap_pfault (frame=0xf019cf64, usermode=0) > at ../../i386/i386/trap.c:681 > #4 0xf0176c77 in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = -1073741824, > tf_esi = -535754628, tf_ebp = -266743880, tf_isp = -266743924, > tf_ebx = -260199936, tf_edx = -226815792, tf_ecx = 1073741823, > tf_eax = -2147483648, tf_trapno = 12, tf_err = 0, tf_eip = -535754628, > tf_cs = 8, tf_eflags = 66118, tf_esp = -267363380, tf_ss = > -260199936}) > at ../../i386/i386/trap.c:324 > #5 0xe011087c in ?? () > > I'm not familiar enough (yet) with gdb and kernel debugging to try to figure > out what's going on. My current hunch is that something is corrupting the > stack, changing the return address, and causing the page fault when > something does a return. > > The machine: > > Epox 100Mhz 51MVP3E-M ATX board with 1MB cache: > bus clock = 100 MHz > multiplier = 3x > SDRAM clock = CPU bus clock > AMD K6 300 MMX CPU > 128MB PC100 SDRAM/ECC 8ns 168-pin DIMM w/ EPROM, 100MHz Mbrds > Seagate 6.4GB 7200 RPM IDE drive (ST36530A) > Adaptec ISA 1520 SCSI-2 Controller (for an external ZIP, but nothing > attached yet) > Intel EtherExpress Pro/100B > 8MB Millenium II PCI (but not running X or doing anything but dumb console > work yet) > Teac 24x, IDE (ATAPI) > > There's nothing interesting running, usually. I killed sendmail and cron > (although I left inetd, syslogd, portmap and a couple getty's running). > > Thanks in advance. > ------ > Les LaCroix, Carleton College > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jul 29 03:48:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA28911 for freebsd-bugs-outgoing; Wed, 29 Jul 1998 03:48:59 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from oslo.geco-prakla.slb.com (geos01.oslo.geco-prakla.slb.com [134.32.44.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA28889; Wed, 29 Jul 1998 03:48:50 -0700 (PDT) (envelope-from smoergrd@oslo.sl.slb.com) Received: from sunw110.oslo.Geco-Prakla.slb.com (sunw110 [192.23.231.54]) by oslo.geco-prakla.slb.com (8.8.8/8.6.9) with SMTP id MAA08336 ; Wed, 29 Jul 1998 12:47:48 +0200 (MET DST) Received: by sunw110.oslo.Geco-Prakla.slb.com (SMI-8.6/SMI-SVR4) id MAA29601; Wed, 29 Jul 1998 12:47:46 +0200 To: Tim Vanderhoek Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/7011 References: <199807282305.QAA18635@freefall.freebsd.org> Organization: Schlumberger Geco-Prakla X-Disclaimer: I speak only for myself. From: smoergrd@oslo.geco-prakla.slb.com (Dag-Erling Coidan Smørgrav) Date: 29 Jul 1998 12:47:46 +0200 In-Reply-To: Tim Vanderhoek's message of Tue, 28 Jul 1998 16:05:59 -0700 (PDT) Message-ID: Lines: 16 X-Mailer: Gnus v5.3/Emacs 19.34 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Tim Vanderhoek writes: > Synopsis: [patch] Improvements to ls to help Emacs users; patch included > > Responsible-Changed-From-To: freebsd-bugs->hoek > Responsible-Changed-By: hoek > Responsible-Changed-When: Tue Jul 28 16:04:53 PDT 1998 > Responsible-Changed-Why: > I'll do this as soon Babylon 5 is over. And maybe Buff/Vampire-Slayer, too. What, you watch Buffy the Vampire Slayer? That show is so bad you I can't help laughing my guts out watching it. It's a pity, though; that girl really has a nice shape on her ;) DES -- Dag-Erling Smørgrav - smoergrd@oslo.geco-prakla.slb.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jul 29 05:16:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA11409 for freebsd-bugs-outgoing; Wed, 29 Jul 1998 05:16:43 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA11327; Wed, 29 Jul 1998 05:16:27 -0700 (PDT) (envelope-from thepish@FreeBSD.org) From: Peter Hawkins Received: (from thepish@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id FAA09490; Wed, 29 Jul 1998 05:15:02 -0700 (PDT) Date: Wed, 29 Jul 1998 05:15:02 -0700 (PDT) Message-Id: <199807291215.FAA09490@freefall.freebsd.org> To: ortmann@sparc.isl.net, thepish@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/2915 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: the "-fstype ufs" option of "find" seems to fail on procfs State-Changed-From-To: open-closed State-Changed-By: thepish State-Changed-When: Wed Jul 29 05:13:43 PDT 1998 State-Changed-Why: Fixed with Merge from Lite2 (1997/03/11) in Current To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jul 29 05:35:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA14396 for freebsd-bugs-outgoing; Wed, 29 Jul 1998 05:35:44 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA14242; Wed, 29 Jul 1998 05:34:30 -0700 (PDT) (envelope-from thepish@FreeBSD.org) From: Peter Hawkins Received: (from thepish@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id FAA10001; Wed, 29 Jul 1998 05:33:06 -0700 (PDT) Date: Wed, 29 Jul 1998 05:33:06 -0700 (PDT) Message-Id: <199807291233.FAA10001@freefall.freebsd.org> To: arnej@imf.unit.no, thepish@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/2762 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: Precedence mistake in libncurses State-Changed-From-To: open-closed State-Changed-By: thepish State-Changed-When: Wed Jul 29 05:32:03 PDT 1998 State-Changed-Why: Corrected 1997/07/30 as a side effect of ache correcting logical background handling To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jul 29 06:47:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA25677 for freebsd-bugs-outgoing; Wed, 29 Jul 1998 06:47:15 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA25641; Wed, 29 Jul 1998 06:46:54 -0700 (PDT) (envelope-from thepish@FreeBSD.org) From: Peter Hawkins Received: (from thepish@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id GAA02996; Wed, 29 Jul 1998 06:45:30 -0700 (PDT) Date: Wed, 29 Jul 1998 06:45:30 -0700 (PDT) Message-Id: <199807291345.GAA02996@freefall.freebsd.org> To: jonny@mailhost.coppe.ufrj.br, thepish@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/4276 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: Security problem with DNS resolution State-Changed-From-To: open-closed State-Changed-By: thepish State-Changed-When: Wed Jul 29 06:42:38 PDT 1998 State-Changed-Why: Neither telnetd or rlogind produce the reported fault in 2.2.7. Examining their source, both do precisely what submitter suggests ie if gethostbyaddr returns a NULL, the IP address is strncpy-ed into the ut_host field (consistent with the behaviour I see when I try it). Examination of the cvs log (and brief examination of committed versions) around the time of the report did not reveal exactly where the bug was active. I think the window must have been brief. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jul 29 07:21:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA03692 for freebsd-bugs-outgoing; Wed, 29 Jul 1998 07:21:33 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA03675 for ; Wed, 29 Jul 1998 07:21:26 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id HAA13023; Wed, 29 Jul 1998 07:20:01 -0700 (PDT) Received: from relay1.bcs.zp.ua (bcs-ts33.zcn.net [195.123.8.74]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA02675 for ; Wed, 29 Jul 1998 07:15:25 -0700 (PDT) (envelope-from serg@bcs.zp.ua) Received: from bcs3.bcs.zp.ua (bcs3.bcs.zp.ua [195.123.10.73]) by relay1.bcs.zp.ua (8.8.5/8.8.5) with ESMTP id RAA09117 for ; Wed, 29 Jul 1998 17:13:45 +0300 (EEST) Received: (from serg@localhost) by bcs3.bcs.zp.ua (8.8.8/8.8.8) id RAA01613; Wed, 29 Jul 1998 17:13:49 +0300 (EEST) (envelope-from serg) Message-Id: <199807291413.RAA01613@bcs3.bcs.zp.ua> Date: Wed, 29 Jul 1998 17:13:49 +0300 (EEST) From: Sergey Shkonda Reply-To: serg@bcs.zp.ua To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/7429: stdin/stderr are lost in rshd Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7429 >Category: bin >Synopsis: stdin/stderr are lost in rshd >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 29 07:20:01 PDT 1998 >Last-Modified: >Originator: Sergey Shkonda >Organization: Business Computer Service >Release: FreeBSD 2.2.7-RELEASE i386 >Environment: Description: stdin/stderr are lost for programs executed via rshd(8) How-To-Repeat: rsh machine "cat" rsh machine "echo 123 >&2" Fix: --- rshd.c.orig Wed Jul 29 16:59:30 1998 +++ rshd.c Wed Jul 29 16:59:14 1998 @@ -304,7 +304,7 @@ (void) alarm(0); if (port != 0) { int lport = IPPORT_RESERVED - 1; - int s = rresvport(&lport); + s = rresvport(&lport); if (s < 0) { syslog(LOG_ERR, "can't get stderr port: %m"); exit(1); >Description: >How-To-Repeat: >Fix: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jul 29 09:41:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA00266 for freebsd-bugs-outgoing; Wed, 29 Jul 1998 09:41:55 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from localhost.my.domain (ppp1577.on.bellglobal.com [206.172.249.41]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA00227 for ; Wed, 29 Jul 1998 09:41:37 -0700 (PDT) (envelope-from ac199@hwcn.org) Received: (from tim@localhost) by localhost.my.domain (8.8.8/8.8.8) id LAA25853; Wed, 29 Jul 1998 11:57:53 -0400 (EDT) (envelope-from tim) Message-ID: <19980729115752.A25791@zappo> Date: Wed, 29 Jul 1998 11:57:53 -0400 From: Tim Vanderhoek To: =?iso-8859-1?Q?Dag-Erling_Coidan_Sm=F8rgrav?= Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/7011 References: <199807282305.QAA18635@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.91.1i In-Reply-To: =?iso-8859-1?Q?=3Crx4k94xylv1=2Efsf=40oslo=2Egeco-prakla=2Eslb=2Ecom=3E?= =?iso-8859-1?Q?=3B_from_Dag-Erling_Coidan_Sm=F8rgrav_on_Wed=2C_Jul_29=2C?= =?iso-8859-1?Q?_1998_at_12:47:46PM_+0200?= Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Jul 29, 1998 at 12:47:46PM +0200, Dag-Erling Coidan Smørgrav wrote: > > I'll do this as soon Babylon 5 is over. And maybe Buff/Vampire-Slayer, too. > > What, you watch Buffy the Vampire Slayer? That show is so bad you I > can't help laughing my guts out watching it. It's a pity, though; that > girl really has a nice shape on her ;) Wouldn't be half as interesting any other way. ;) I loved the SpiceWorld movie, too. Seeing people come to the theatre dressed-up like dumbest possible character in the movie is the kind of comedy you just can't ever capture any other way. :-) -- This .sig is not innovative, witty, or profund. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jul 29 10:31:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA08203 for freebsd-bugs-outgoing; Wed, 29 Jul 1998 10:31:27 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA08198 for ; Wed, 29 Jul 1998 10:31:26 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id KAA19962; Wed, 29 Jul 1998 10:30:00 -0700 (PDT) Date: Wed, 29 Jul 1998 10:30:00 -0700 (PDT) Message-Id: <199807291730.KAA19962@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= ) Subject: Re: bin/7393: nailed Reply-To: dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= ) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/7393; it has been noted by GNATS. From: dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= ) To: jhicks@glenatl.glenayre.com Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/7393: nailed Date: 29 Jul 1998 19:29:44 +0200 On line 224 in /usr/src/usr.bin/du/du.c, there is the following piece of code which handles the -c flag: if (cflag) { p = savedp->fts_parent; (void) printf("%ld\ttotal\n", howmany(p->fts_number, blocksize)); } It relies on the fact that the code in the while loop above saves the value of p in savedp at every iteration, so that at the end of it, savedp points to the FTSENT for the last entry in the root directory (i.e. the one passed on the command line), and savedp->fts_parent points to FTSENT for the root directory itself. However, this assumption is incorrect. The problem arises when du traverses the root directory the second time, i.e. on the way down. fts_read() notices a) that it's on the way down, and b) that there's nothing left to do. Because of a) it frees the current FTSENT, and because of b) it frees the parent (root) FTSENT as well, on line 403 in /usr/src/lib/libc/gen/fts.c: /* Move up to the parent node. */ p = tmp->fts_parent; free(tmp); if (p->fts_level == FTS_ROOTPARENTLEVEL) { /* * Done; free everything up and set errno to 0 so the user * can distinguish between error and EOF. */ free(p); errno = 0; return (sp->fts_cur = NULL); } This means that the -c code in du.c tries to dereference a garbage pointer which even if it were not garbage *points* to garbage. Since there's no more malloc() activity after the last fts_read() until the end of the program, this kinda works - unless you have J in your malloc options, since in that case free() will overwrite the freed memory with garbage, to catch bugs like this one :) Conclusion: the -c option to du is broken as designed, since it relies on the contents of dynamically allocated memory which has been released. Now, off to write a fix for this. DES -- Dag-Erling Smørgrav - dag-erli@ifi.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jul 29 11:02:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA16051 for freebsd-bugs-outgoing; Wed, 29 Jul 1998 11:02:47 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA15715; Wed, 29 Jul 1998 11:01:15 -0700 (PDT) (envelope-from des@FreeBSD.org) From: "Dag-Erling C. Sm\xf8rgrav" Received: (from des@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id KAA20922; Wed, 29 Jul 1998 10:59:49 -0700 (PDT) Date: Wed, 29 Jul 1998 10:59:49 -0700 (PDT) Message-Id: <199807291759.KAA20922@freefall.freebsd.org> To: serg@bcs.zp.ua, des@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/7429 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: stdin/stderr are lost in rshd State-Changed-From-To: open-closed State-Changed-By: des State-Changed-When: Wed Jul 29 10:59:17 PDT 1998 State-Changed-Why: Fixed five days ago (rev. 1.9.2.9 of src/libexec/rshd/rshd.c) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jul 29 11:21:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA21872 for freebsd-bugs-outgoing; Wed, 29 Jul 1998 11:21:36 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA21837 for ; Wed, 29 Jul 1998 11:21:28 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id LAA21532; Wed, 29 Jul 1998 11:20:01 -0700 (PDT) Date: Wed, 29 Jul 1998 11:20:01 -0700 (PDT) Message-Id: <199807291820.LAA21532@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Andre Albsmeier Subject: Re: bin/7429: stdin/stderr are lost in rshd Reply-To: Andre Albsmeier Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/7429; it has been noted by GNATS. From: Andre Albsmeier To: serg@bcs.zp.ua Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/7429: stdin/stderr are lost in rshd Date: Wed, 29 Jul 1998 20:18:05 +0200 (CEST) > Description: > stdin/stderr are lost for programs executed via rshd(8) > > How-To-Repeat: > rsh machine "cat" > rsh machine "echo 123 >&2" > > Fix: > > --- rshd.c.orig Wed Jul 29 16:59:30 1998 > +++ rshd.c Wed Jul 29 16:59:14 1998 > @@ -304,7 +304,7 @@ > (void) alarm(0); > if (port != 0) { > int lport = IPPORT_RESERVED - 1; > - int s = rresvport(&lport); > + s = rresvport(&lport); > if (s < 0) { > syslog(LOG_ERR, "can't get stderr port: %m"); > exit(1); This bug report can be closed. The fix was brought into -STABLE 5 days ago. http://www.freebsd.org/cgi/cvsweb.cgi/src/libexec/rshd/rshd.c -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jul 29 11:33:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA25707 for freebsd-bugs-outgoing; Wed, 29 Jul 1998 11:33:38 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA25620; Wed, 29 Jul 1998 11:33:23 -0700 (PDT) (envelope-from des@FreeBSD.org) From: "Dag-Erling C. Sm\xf8rgrav" Received: (from des@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id LAA22136; Wed, 29 Jul 1998 11:31:56 -0700 (PDT) Date: Wed, 29 Jul 1998 11:31:56 -0700 (PDT) Message-Id: <199807291831.LAA22136@freefall.freebsd.org> To: jhicks@glenatl.glenayre.com, des@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/7393 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: du throws SIGSEGV whenever '-c' option is used (at du.c:226) State-Changed-From-To: open-closed State-Changed-By: des State-Changed-When: Wed Jul 29 11:31:19 PDT 1998 State-Changed-Why: Fixed in -stable and -current. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jul 29 11:52:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA29877 for freebsd-bugs-outgoing; Wed, 29 Jul 1998 11:52:01 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA29771 for ; Wed, 29 Jul 1998 11:51:36 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id LAA22810; Wed, 29 Jul 1998 11:50:01 -0700 (PDT) Received: (from nobody@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA29277; Wed, 29 Jul 1998 11:48:32 -0700 (PDT) (envelope-from nobody) Message-Id: <199807291848.LAA29277@hub.freebsd.org> Date: Wed, 29 Jul 1998 11:48:32 -0700 (PDT) From: SteveFriedrich@Hot-Shot.com To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: kern/7431: nca0(PAS16) can't mount -t cd9660 -r /dev/cd0a /cdrom, previously worked Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7431 >Category: kern >Synopsis: nca0(PAS16) can't mount -t cd9660 -r /dev/cd0a /cdrom, previously worked >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 29 11:50:00 PDT 1998 >Last-Modified: >Originator: Steve Friedrich >Organization: >Release: 2.2.7-RELEASE #0 >Environment: FreeBSD 486DX66.StevenFriedrich.org 2.2.7-RELEASE FreeBSD 2.2.7-RELEASE #0: Wed Jul 29 11:09:00 EDT 1998 root@486DX66.StevenFriedrich.org:/usr/src/sys/compile/AMD486 i386 >Description: I recently upgraded from FreeBSD 2.1.5 to 2.2.7 (I'm new to FreeBSD, but I have a fairly extensive hardware background and some UNIX admin, etc.) Just days ago, while running 2.1.5, I could mount the CD with: mount -r -t cd9660 /dev/cd0a /cdrom Under 2.2.7, I can't. I get: cd0(nca0:6:0): ILLEGAL REQUEST csi:30,20,0,0 asc:20,0 Invalid command operation code And here's my dmesg: avail memory = 14708736 (14364K bytes) Probing for devices on the ISA bus: vt0 at 0x60-0x6f irq 1 on motherboard vt0: et4000, 80/132 col, color, 8 scr, mf2-kbd, [R3.20-b24] sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A sio2 at 0x3e8-0x3ef irq 11 on isa sio2: type 16550A sio3 at 0x2e8-0x2ef irq 12 on isa sio3: type 16550A lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fd0: 1.44MB 3.5in fd1: 1.2MB 5.25in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 1033MB (2116800 sectors), 2100 cyls, 16 heads, 63 S/T, 512 B/S wdc0: unit 1 (wd1): wd1: 1222MB (2503872 sectors), 2484 cyls, 16 heads, 63 S/T, 512 B/S wdc1 not found at 0x170 nca0 at 0x1f88-0x1f8b irq 9 on isa nca0: type ProAudioSpectrum-16 nca0 waiting for scsi devices to settle (nca0:6:0): "NEC CD-ROM DRIVE:84 1.0" type 5 removable SCSI 1 cd0(nca0:6:0): CD-ROM cd present [268501 x 2048 byte records] 1 3C5x9 board(s) on ISA found at 0x300 ep0 at 0x300-0x30f irq 10 on isa ep0: aui/utp/bnc[*BNC*] address 00:a0:24:8f:cc:62 npx0 flags 0x1 on motherboard npx0: INT 16 interface cd0(nca0:6:0): ILLEGAL REQUEST csi:30,20,0,0 asc:20,0 Invalid command operation code >How-To-Repeat: After booting FreeBSD 2.2.7, mount the FreeBSD 2.1.5 CD 1 with: mount -r -t cd9660 /dev/cd0a /cdrom I just recently upgraded from 2.1.5 to 2.2.7. This mount command worked under 2.1.5 (just a few days ago). I don't know which release actually broke it, or if it's caused by a new config requirement that I'm unaware of. >Fix: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jul 29 16:10:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA25732 for freebsd-bugs-outgoing; Wed, 29 Jul 1998 16:10:45 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA25685 for ; Wed, 29 Jul 1998 16:10:37 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id QAA01165; Wed, 29 Jul 1998 16:10:02 -0700 (PDT) Received: from shell.monmouth.com (shell.monmouth.com [205.231.236.9]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA23520 for ; Wed, 29 Jul 1998 16:03:10 -0700 (PDT) (envelope-from pechter@pechter.dyn.ml.org) Received: from pechter.dyn.ml.org (fh-ppp80.monmouth.com [205.164.221.112]) by shell.monmouth.com (8.8.5/8.7.3) with ESMTP id TAA13805 for ; Wed, 29 Jul 1998 19:02:30 -0400 (EDT) Received: (from root@localhost) by pechter.dyn.ml.org (8.8.8/8.8.8) id SAA07694; Wed, 29 Jul 1998 18:54:42 -0400 (EDT) (envelope-from pechter) Message-Id: <199807292254.SAA07694@pechter.dyn.ml.org> Date: Wed, 29 Jul 1998 18:54:42 -0400 (EDT) From: pechter@shell.monmouth.com Reply-To: pechter@shell.monmouth.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/7434: bug in fortune Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7434 >Category: bin >Synopsis: Misspelling in fortune info file >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jul 29 16:10:01 PDT 1998 >Last-Modified: >Originator: Bill Pechter >Organization: >Release: FreeBSD 2.2.7-RELEASE i386 >Environment: Ken Olsen's name is misspelled as Olson >Description: Ken Olsen's name misspelled >How-To-Repeat: Read the source luke. >Fix: *** fortunes Sun Feb 15 10:11:43 1998 --- fortunes.new Wed Jul 29 18:52:15 1998 *************** *** 13798,13804 **** % "There is no reason for any individual to have a computer in their home." ! -- Ken Olson, President of DEC, World Future Society Convention, 1977 % There is no satisfaction in hanging a man who does not object to it --- 13798,13804 ---- % "There is no reason for any individual to have a computer in their home." ! -- Ken Olsen, President of DEC, World Future Society Convention, 1977 % There is no satisfaction in hanging a man who does not object to it *** fortunes2 Mon Aug 25 09:04:28 1997 --- fortunes2.new Wed Jul 29 18:52:51 1998 *************** *** 21644,21650 **** -- Abraham Lincoln % I don't know why anyone would want a computer in their home. ! -- Ken Olson, president of DEC, 1974 % I don't know why we're here, I say we all go home and free associate. % --- 21644,21650 ---- -- Abraham Lincoln % I don't know why anyone would want a computer in their home. ! -- Ken Olsen, president of DEC, 1974 % I don't know why we're here, I say we all go home and free associate. % *************** *** 35081,35087 **** "TCP/IP is OK if you've got a little informal club, and it doesn't make any difference if it takes a while to fix it." ! -- Ken Olson, in Digital News, 1988 % Our business in life is not to succeed but to continue to fail in high spirits. --- 35081,35087 ---- "TCP/IP is OK if you've got a little informal club, and it doesn't make any difference if it takes a while to fix it." ! -- Ken Olsen, in Digital News, 1988 % Our business in life is not to succeed but to continue to fail in high spirits. >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jul 29 16:30:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA29883 for freebsd-bugs-outgoing; Wed, 29 Jul 1998 16:30:44 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA29860 for ; Wed, 29 Jul 1998 16:30:38 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id QAA09220; Wed, 29 Jul 1998 16:30:06 -0700 (PDT) Received: from pau-amma.whistle.com (s205m64.whistle.com [207.76.205.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA29487 for ; Wed, 29 Jul 1998 16:29:10 -0700 (PDT) (envelope-from dhw@whistle.com) Received: (from dhw@localhost) by pau-amma.whistle.com (8.8.8/8.8.7) id QAA14121; Wed, 29 Jul 1998 16:27:15 -0700 (PDT) (envelope-from dhw) Message-Id: <199807292327.QAA14121@pau-amma.whistle.com> Date: Wed, 29 Jul 1998 16:27:15 -0700 (PDT) From: David Wolfskill Reply-To: dhw@whistle.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: misc/7435: Minor tweak to PR 6387's change to /etc/rc.network Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7435 >Category: misc >Synopsis: PR 6387 solution didn't handle pipelines adequately >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jul 29 16:30:01 PDT 1998 >Last-Modified: >Originator: David Wolfskill >Organization: Whistle Communications >Release: FreeBSD 2.2.6-RELEASE i386 >Environment: FreeBSD 2.2.x, I suppose.... >Description: The change I suggested in /etc/rc.network for PR 6387 fails to account for the way FreeBSD's implementation of the Bourne shell handles `pipeline` expansion during variable interpolation. In particular, although echo `echo baz | sed -e's/z/r/'` yields "bar" (as expected), export fz; fz="echo baz | sed -e's/z/r/'" causes echo $fz to yield "echo baz | sed -e's/z/r/'" OK, but then echo `$fz` yields "baz | sed -e's/z/r/'" -- which, in the middle of a script isn't exactly what I was expecting -- and is not only un-useful, but generates an error message. :-( Please note: it may well be that the FreeBSD Bourne shell implementation has this in common with others (and I've merely failed to notice before), or that FreeBSD's implementation is different, but correct. Regardless, the code I submitted was not useful for the intended purpose (which was to allow rc.conf to be the only place where "user-servicable parts" were inside that the user or admin could tweak to get various desired results, in this case, for the amd maps. It seems that the following patch changes the behavior to match my expectations, and thus "work". >How-To-Repeat: Try specifying a pipeline, such as "ypcat -k amd.master | sed -e 's#/usr/local#/usr/local.shrimp#'" for the amd_map_program variable in /etc/rc.conf. The above narrative ought to be a better test case to understand the basic issue(s), though. >Fix: Well, what I did here may be shown by the following diff: pau-amma[36]% cvs diff -u freebsd/src/etc/rc.network Index: freebsd/src/etc/rc.network =================================================================== RCS file: /cvs/freebsd/src/etc/rc.network,v retrieving revision 1.28 diff -u -r1.28 rc.network --- rc.network 1998/07/08 15:40:53 1.28 +++ rc.network 1998/07/29 22:55:30 @@ -243,7 +243,7 @@ if [ "X${amd_enable}" = X"YES" ]; then echo -n ' amd' if [ "X${amd_map_program}" != X"NO" ]; then - amd_flags="${amd_flags} `${amd_map_program}`" + amd_flags="${amd_flags} `echo ${amd_map_program} | sh`" fi amd -p ${amd_flags} > /var/run/amd.pid 2> /dev/null fi Now, I think that's rather a hack... but it seems to work better.... :-} >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jul 29 18:50:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA05945 for freebsd-bugs-outgoing; Wed, 29 Jul 1998 18:50:19 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA05852 for ; Wed, 29 Jul 1998 18:50:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id SAA12006; Wed, 29 Jul 1998 18:50:02 -0700 (PDT) Received: from gamma.it.kth.se (gamma.it.kth.se [130.237.15.171]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA05768 for ; Wed, 29 Jul 1998 18:49:41 -0700 (PDT) (envelope-from ath@gamma.it.kth.se) Received: (from ath@localhost) by gamma.it.kth.se (8.8.8/8.8.8) id SAA01417; Wed, 29 Jul 1998 18:49:38 -0700 (PDT) (envelope-from ath) Message-Id: <199807300149.SAA01417@gamma.it.kth.se> Date: Wed, 29 Jul 1998 18:49:38 -0700 (PDT) From: Andrew Heybey To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/7441: src/sys/scsi/st.c:st_close() ignores errors from st_write_filemarks() Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7441 >Category: kern >Synopsis: src/sys/scsi/st.c:st_close() ignores errors from st_write_filemarks() >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 29 18:50:02 PDT 1998 >Last-Modified: >Originator: Andrew Heybey >Organization: >Release: FreeBSD 2.2.6-RELEASE i386 >Environment: Writing to a SCSI tape near EOM. >Description: In sys/scsi/st.c, st_close() does not check for errors from calling st_write_filemarks(). This means that it is possible to write a file on the tape for which all the writes and the close return without errors, but the all bits did not make it onto the tape. >How-To-Repeat: Write to a SCSI tape near EOM and get unlucky such that no error is returned until the file marks are written in st_close(). >Fix: *** st.c 1998/07/29 15:35:05 1.1 --- st.c 1998/07/29 15:39:53 *************** *** 452,464 **** { u_int32_t unit, mode; struct scsi_data *st; unit = STUNIT(dev); mode = MODE(dev); st = sc_link->sd; if ((st->flags & (ST_WRITTEN | ST_FM_WRITTEN)) == ST_WRITTEN) ! st_write_filemarks(unit, 1, 0); /* * Since the device has seen its last close, allow media removal. --- 452,465 ---- { u_int32_t unit, mode; struct scsi_data *st; + errval errcode = 0; unit = STUNIT(dev); mode = MODE(dev); st = sc_link->sd; if ((st->flags & (ST_WRITTEN | ST_FM_WRITTEN)) == ST_WRITTEN) ! errcode = st_write_filemarks(unit, 1, 0); /* * Since the device has seen its last close, allow media removal. *************** *** 484,490 **** sc_link->flags &= ~SDEV_OPEN; st->flags &= ~ST_OPEN; ! return (0); } /* --- 485,491 ---- sc_link->flags &= ~SDEV_OPEN; st->flags &= ~ST_OPEN; ! return (errcode); } /* >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jul 29 21:20:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA24594 for freebsd-bugs-outgoing; Wed, 29 Jul 1998 21:20:04 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA24545 for ; Wed, 29 Jul 1998 21:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id VAA16548; Wed, 29 Jul 1998 21:20:01 -0700 (PDT) Date: Wed, 29 Jul 1998 21:20:01 -0700 (PDT) Message-Id: <199807300420.VAA16548@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: "Steve Friedrich" Subject: Re: kern/7431: nca0(PAS16) can't mount -t cd9660 -r /dev/cd0a /cdrom, previously worked Reply-To: "Steve Friedrich" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/7431; it has been noted by GNATS. From: "Steve Friedrich" To: "freebsd-gnats-submit@freebsd.org" Cc: Subject: Re: kern/7431: nca0(PAS16) can't mount -t cd9660 -r /dev/cd0a /cdrom, previously worked Date: Thu, 30 Jul 1998 00:15:08 -0500 Accept my apology... I assumed the CD didn't mount... in fact, in does. If someone could analyze the error message and ascertain if it is indicative of a deeper problem, I'd appreciate it. At this point, it appears to be cosmetic... Viva la FreeBSD (and you and me...) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jul 30 00:10:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA18328 for freebsd-bugs-outgoing; Thu, 30 Jul 1998 00:10:07 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA18277 for ; Thu, 30 Jul 1998 00:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id AAA21038; Thu, 30 Jul 1998 00:10:00 -0700 (PDT) Received: from relay1.bcs.zp.ua (bcs-ts33.zcn.net [195.123.8.74]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA17990 for ; Thu, 30 Jul 1998 00:08:28 -0700 (PDT) (envelope-from serg@bcs.zp.ua) Received: from bcs3.bcs.zp.ua (bcs3.bcs.zp.ua [195.123.10.73]) by relay1.bcs.zp.ua (8.8.5/8.8.5) with ESMTP id KAA06831 for ; Thu, 30 Jul 1998 10:07:52 +0300 (EEST) Received: (from serg@localhost) by bcs3.bcs.zp.ua (8.8.8/8.8.8) id KAA12208; Thu, 30 Jul 1998 10:07:56 +0300 (EEST) (envelope-from serg) Message-Id: <199807300707.KAA12208@bcs3.bcs.zp.ua> Date: Thu, 30 Jul 1998 10:07:56 +0300 (EEST) From: serg@bcs.zp.ua Reply-To: serg@bcs.zp.ua To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: i386/7442: tftp implementation error in netboot Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7442 >Category: i386 >Synopsis: TFTP_ACK goes to port 69 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 30 00:10:00 PDT 1998 >Last-Modified: >Originator: Sergey Shkonda >Organization: Business Computer Service >Release: FreeBSD 2.2.7-RELEASE i386 >Environment: Description: TFTP_ACK goes to port 69 (default tftp port) and tftpd says 'Timeout'. It will be sent to source port of received packet. >Description: >How-To-Repeat: Fix: --- main.c.orig Tue Mar 31 11:09:50 1998 +++ main.c Tue Mar 31 11:13:27 1998 @@ -464,6 +464,7 @@ return(0); } /* ACK PACKET */ if (tr->opcode != ntohs(TFTP_DATA)) return(0); + osocket = ntohs(tr->udp.src); tp.opcode = htons(TFTP_ACK); tp.u.ack.block = tr->u.data.block; udp_transmit(arptable[ARP_SERVER].ipaddr, isocket, >Fix: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jul 30 04:00:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA18265 for freebsd-bugs-outgoing; Thu, 30 Jul 1998 04:00:09 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA17753 for ; Thu, 30 Jul 1998 04:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id EAA27799; Thu, 30 Jul 1998 04:00:00 -0700 (PDT) Received: from mie.mrit.co.jp (mie.mrit.co.jp [210.128.138.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA17472 for ; Thu, 30 Jul 1998 03:57:14 -0700 (PDT) (envelope-from okimoto@mrit.mei.co.jp) Received: by mie.mrit.co.jp (8.8.4/mrit980615) from mrit [133.185.23.3] with ESMTP id TAA01747 for ; Thu, 30 Jul 1998 19:57:06 +0900 (JST) Received: by mrit.mei.co.jp (8.8.4/mrit980615) with ESMTP id TAA07108; Thu, 30 Jul 1998 19:57:06 +0900 from [133.185.25.170]; Received: by sango.mrit.mei.co.jp (8.8.8/FreeBSD) id TAA01164; Thu, 30 Jul 1998 19:57:05 +0900 (JST) Message-Id: <199807301057.TAA01164@sango.mrit.mei.co.jp> Date: Thu, 30 Jul 1998 19:57:05 +0900 (JST) From: okimoto@mrit.mei.co.jp Reply-To: okimoto@mrit.mei.co.jp To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: misc/7443: fclose() locks after over reading by using fread() in pthread Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7443 >Category: misc >Synopsis: fclose() locks after over reading by using fread() in pthread >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 30 04:00:00 PDT 1998 >Last-Modified: >Originator: Yoshiyuki OKIMOTO >Organization: Matsushita Research Institute Tokyo, Inc. >Release: FreeBSD 2.2.7-RELEASE i386 >Environment: FreeBSD 2.2.7-RELEASE #0: Mon Jul 27 09:45:20 JST 1998 >Description: Using fread() in pthread (-lc_r), if fread() is passwd too many "size" (bigger than the rest byte of file) in 2nd, 3rd argument, then fclose() locks. >How-To-Repeat: Save below to a file, eg, check.c. Then comile it like this, % cc check.c -lc_r -o check And execute it. % ./check check.c This will lock at point fclose(). -- "check.c" -- CUT HERE -- #include #include void *output_text(void *fp) { int chk; char buff[128]; while (chk = fread(buff, sizeof (char), 127, fp)) { buff[chk] = '\0'; printf("%s", buff); } } int main(int argc, char **argv) { FILE *fp; pthread_attr_t attr; pthread_t th_num; /* open file */ if ((fp = fopen(argv[1], "r")) == NULL) { perror(argv[1]); exit(1); } /* create thread attribution */ if (pthread_attr_init(&attr)) { fprintf(stderr, "Error in pthread_attr_init \n"); exit(1); } /* create new thread */ if (pthread_create(&th_num, &attr, output_text, (void *)fp)) { fprintf(stderr, "Write number thread can't execute. \n"); exit(1); } /* wait for thread termination */ if ( pthread_join(th_num, NULL) ) { fprintf(stderr, "Some threads have trouble \n"); exit(1); } /* destroy thread attribution */ if (pthread_attr_destroy(&attr)) { fprintf(stderr, "Error in pthread_attr_destroy \n"); exit(1); } fclose(fp); return (0); } -- "check.c" -- CUT HERE -- >Fix: This patch will fix the problem. *** lib/libc/stdio/fread.c.orig Thu Jul 30 14:35:00 1998 --- lib/libc/stdio/fread.c Thu Jul 30 14:35:22 1998 *************** *** 83,88 **** --- 83,91 ---- resid -= r; if (__srefill(fp)) { /* no more input: return partial result */ + #ifdef _THREAD_SAFE + _thread_funlockfile(fp); + #endif return ((total - resid) / size); } } >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jul 30 04:10:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA20318 for freebsd-bugs-outgoing; Thu, 30 Jul 1998 04:10:11 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA20239 for ; Thu, 30 Jul 1998 04:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id EAA29114; Thu, 30 Jul 1998 04:10:01 -0700 (PDT) Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [194.93.177.113]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA17706 for ; Thu, 30 Jul 1998 03:59:52 -0700 (PDT) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.8.8/8.8.8) id NAA20669; Thu, 30 Jul 1998 13:59:31 +0300 (EEST) (envelope-from ru) Message-Id: <199807301059.NAA20669@relay.ucb.crimea.ua> Date: Thu, 30 Jul 1998 13:59:31 +0300 (EEST) From: Ruslan Ermilov Reply-To: ru@ucb.crimea.ua To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/7444: login exited on Signal 3, core dumped Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7444 >Category: bin >Synopsis: login exited on Signal 3, core dumped >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 30 04:10:00 PDT 1998 >Last-Modified: >Originator: Ruslan Ermilov >Organization: United Commercial Bank >Release: FreeBSD 2.2.7-STABLE i386 >Environment: login.c: $Id: login.c,v 1.12.2.10 1998/04/30 16:52:31 peter Exp $ >Description: I have a five dial-in lines. Sometimes login core dumps: Jul 29 15:10:15 relay /kernel: pid 12953 (login), uid 0: exited on signal 3 (core dumped) I have recompiled login statically, and installed it non-stripped. Here is GDB output of the latest two cores: Core was generated by `login'. Program terminated with signal 3, Quit. #0 0x326ae in read () (gdb) bt #0 0x326ae in read () #1 0x321db in __sread () #2 0x244f7 in __srefill () #3 0x243dd in __srget () #4 0xbee0 in getpass () #5 0x5981 in skey_getpass () #6 0x1ab9 in main (argc=2, argv=0xefbfde80) at /usr/src/usr.bin/login/login.c:450 Core was generated by `login'. Program terminated with signal 3, Quit. #0 0x326ae in read () (gdb) bt #0 0x326ae in read () #1 0x321db in __sread () #2 0x244f7 in __srefill () #3 0x243dd in __srget () #4 0xbee0 in getpass () #5 0x5981 in skey_getpass () #6 0x1ab9 in main (argc=2, argv=0xefbfde7c) at /usr/src/usr.bin/login/login.c:450 >How-To-Repeat: >Fix: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jul 30 07:17:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA08390 for freebsd-bugs-outgoing; Thu, 30 Jul 1998 07:17:00 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA08238; Thu, 30 Jul 1998 07:16:48 -0700 (PDT) (envelope-from thepish@FreeBSD.org) From: Peter Hawkins Received: (from thepish@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id GAA03505; Thu, 30 Jul 1998 06:38:26 -0700 (PDT) Date: Thu, 30 Jul 1998 06:38:26 -0700 (PDT) Message-Id: <199807301338.GAA03505@freefall.freebsd.org> To: pechter@shell.monmouth.com, thepish@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/7434 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: Misspelling in fortune info file State-Changed-From-To: open-closed State-Changed-By: thepish State-Changed-When: Thu Jul 30 06:35:45 PDT 1998 State-Changed-Why: Fixed, thanks. Curiously, you get a gazillion matches on Altavista with either spelling so as the ultimate reference, I checked dec's web site and there, in a company history, is "...Ken Olsen, who used the money to launch a new company- DIGITAL Computer Corporation.", so change request was committed. Wonder if he will thank me with a free 8400 or two? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jul 30 12:16:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA28849 for freebsd-bugs-outgoing; Thu, 30 Jul 1998 12:16:58 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA28794 for ; Thu, 30 Jul 1998 12:16:49 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id JAA08452; Thu, 30 Jul 1998 09:20:01 -0700 (PDT) Received: (from nobody@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA19189; Thu, 30 Jul 1998 09:17:15 -0700 (PDT) (envelope-from nobody) Message-Id: <199807301617.JAA19189@hub.freebsd.org> Date: Thu, 30 Jul 1998 09:17:15 -0700 (PDT) From: tshiozak@makino.ise.chuo-u.ac.jp To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: bin/7446: Dlopen succeed in particular cases, but it is illegal in the cases. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7446 >Category: bin >Synopsis: Dlopen succeed in particular cases, but it is illegal in the cases. >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 30 09:20:00 PDT 1998 >Last-Modified: >Originator: Takuya SHIOZAKI >Organization: (Personal) >Release: FreeBSD-2.2.6R(98)-Rev02 >Environment: FreeBSD trident 2.2.6-RELEASE FreeBSD 2.2.6-RELEASE #1: Wed Jun 17 22:29:20 JST 1998 tshiozak@trident:/usr/src/sys/compile/trident i386 >Description: When shared object which contains the symbols which cannot be resolved is tried to be loaded twice by using dlopen with RTLD_NOW option, first dlopen call fail (this is correct action), but second dlopen call succeed (this is illegal action). Perhaps, when dlopen fail to resolve symbols, dlopen doesn't release mmap and module handle, does it? >How-To-Repeat: input follow files: =========================== foo.c: #include #include #include int main() { void *h; if (NULL == (h=dlopen("var.so", RTLD_NOW))) { puts(dlerror()); } else printf("success : %p\n", dlsym(h, "_var")); if (NULL == (h=dlopen("var.so", RTLD_NOW))) { puts(dlerror()); } else printf("success : %p\n", dlsym(h, "_var")); return 0; } ============================== and var.c: extern void hoge(void); void var(void) { hoge(); /* undefined symbol */ } =============== And, compile and execute as follow: % gcc -o foo foo.c % gcc -c -fPIC var.c % ld -Bshareable -o var.so var.o % ./foo Undefined symbol "_hoge" in foo:var.so success : 0x2001b020 % >Fix: correct dlopen function. >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jul 30 12:17:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA28912 for freebsd-bugs-outgoing; Thu, 30 Jul 1998 12:17:10 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA28822 for ; Thu, 30 Jul 1998 12:16:52 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id JAA08051; Thu, 30 Jul 1998 09:10:01 -0700 (PDT) Date: Thu, 30 Jul 1998 09:10:01 -0700 (PDT) Message-Id: <199807301610.JAA08051@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: woods@zeus.leitch.com (Greg A. Woods) Subject: Re: bin/7444: login exited on Signal 3, core dumped Reply-To: woods@zeus.leitch.com (Greg A. Woods) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/7444; it has been noted by GNATS. From: woods@zeus.leitch.com (Greg A. Woods) To: ru@ucb.crimea.ua Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/7444: login exited on Signal 3, core dumped Date: Thu, 30 Jul 1998 12:05:07 -0400 (EDT) [ On Thu, July 30, 1998 at 13:59:31 (+0300), Ruslan Ermilov wrote: ] > Subject: bin/7444: login exited on Signal 3, core dumped > > I have a five dial-in lines. Sometimes login core dumps: > > Jul 29 15:10:15 relay /kernel: pid 12953 (login), uid 0: exited on signal 3 (core dumped) That's trivial to reproduce, and mostly harmless. Just type a bogus user-id at the initial login prompt (i.e. the one given by getty), then a bogus password (eg. ), and at the second login prompt type (i.e. the default quit character). You should see the syslog message and a new getty prompt at the same time. SIGQUIT is supposed to cause a core dump -- that's the whole idea behind having it. The fix would be to have login trap and ignore SIGQUIT, but I don't know that it's necessary. Such a fix should be wrapped in #ifndef DEBUG or something similar (IMO). -- Greg A. Woods +1 416 443-1734 VE3TCP Planix, Inc. ; Secrets of the Weird To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jul 30 12:32:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA03920 for freebsd-bugs-outgoing; Thu, 30 Jul 1998 12:32:09 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from flea.best.net (flea.best.net [206.184.139.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA03914 for ; Thu, 30 Jul 1998 12:32:06 -0700 (PDT) (envelope-from dillon@flea.best.net) Received: (from dillon@localhost) by flea.best.net (8.9.0/8.9.0/best.fl) id LAA24610; Thu, 30 Jul 1998 11:30:29 -0700 (PDT) Date: Thu, 30 Jul 1998 11:30:29 -0700 (PDT) From: Matt Dillon Message-Id: <199807301830.LAA24610@flea.best.net> To: "Bruce M. Walter" Cc: freebsd-bugs@FreeBSD.ORG, dima@best.net, newmike@teleport.com Subject: Re: kern/6102 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Bruce. The level of interest is high right now. Tor, dima, and I are trying to track down the bug and dima and I are about to reboot a few dozen machines with new debugging kernels in an attempt to narrow down where the problem lies. There are potentially multiple causes to this problem. The most likely cause is the one that Julian found... a hardware FIFO overflow on adaptec boards. I dunno re: DPT boards. However, the HWb ug supposedly only occurs if SCB paging is turned on, and we have it turned off and still getting the panics so we are persuing some debugful kernels in an attempt to track the problem down. Note that, as per Julian, this problem does not appear to occur on CAM-based systems. Right now we aren't running CAM... it's too big a change for me to put into production just yet, and I'd really rather CAM were incorporated into the main CVS tree rather then kept as a separate tree. The biodone panic occurs about once a month or so on our boxes, but since we have a lot of boxes we tend to see a couple of crashes a week. The hope is that with enough machines running the debug kernel, we will be able to track the problem down relatively quickly. -Matt : :Hi all, : :I wanted to check the level of interest regarding FreeBSD PR kern/6102... :I wasn't actually aware that this could be the problem I was experiencing :until early this morning. : :First off, for reference: (a full dmesg and kernel config are at the end) : :nemesis(walter) 2% uname -a :FreeBSD nemesis.fortean.com 2.2.6-RELEASE FreeBSD 2.2.6-RELEASE #0: :Thu Jun 4 18:04:02 EDT 1998 root@nemesis.fortean.com:/usr/src/sys/compile/NEMESIS i386 : :This machine is a PPro-200 with a DPT 3334-UW SmartRaid Controller. After :I added a Sony DDS2 DAT backup which runs a dump every night at 4am I :started experiencing random reboots about every other week or so. These :resets always occurred during the heavy SCSI IO related to the backup. :Since the system would just reset, I had nothing to go on until this :morning when the system failed to sync the disks and the dreaded: : :panic: biodone: buffer not busy : :messages was on the console. After scanning through the mailing lists and :GNATS db, I found PR#6102 regarding this (and PR#5117 which is apparently :the same prob for 2.2.5) I noticed the problem is not assigned (not :surprising, people are busy) but wanted to find out if anyone is working :on it and provide them with my datapoints. : :I did notice the problem seems to not be directly related to the DPT :insomuch as it has popped up on other SCSI controllers as well. PR#7424 :may also be related, although it seems to deal specifically with the :adaptec controller. : :There have also been reports that switching to CAM fixes the problem :(which is not an option for me until 3.0 becomes 'stable' :) : :This is a fairly serious problem for me, so if there is anything I can do :to speed it's resolution, please let me know. : :- Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jul 30 12:32:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA04033 for freebsd-bugs-outgoing; Thu, 30 Jul 1998 12:32:36 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from callisto.fortean.com (callisto.fortean.com [209.42.229.241]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA04021 for ; Thu, 30 Jul 1998 12:32:27 -0700 (PDT) (envelope-from walter@fortean.com) Received: from localhost (walter@localhost) by callisto.fortean.com (8.8.8/8.8.5) with SMTP id OAA00803; Thu, 30 Jul 1998 14:13:31 -0400 (EDT) X-Authentication-Warning: callisto.fortean.com: walter owned process doing -bs Date: Thu, 30 Jul 1998 14:13:31 -0400 (EDT) From: "Bruce M. Walter" To: freebsd-bugs@FreeBSD.ORG cc: dillon@best.net, dima@best.net, newmike@teleport.com Subject: kern/6102 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi all, I wanted to check the level of interest regarding FreeBSD PR kern/6102... I wasn't actually aware that this could be the problem I was experiencing until early this morning. First off, for reference: (a full dmesg and kernel config are at the end) nemesis(walter) 2% uname -a FreeBSD nemesis.fortean.com 2.2.6-RELEASE FreeBSD 2.2.6-RELEASE #0: Thu Jun 4 18:04:02 EDT 1998 root@nemesis.fortean.com:/usr/src/sys/compile/NEMESIS i386 This machine is a PPro-200 with a DPT 3334-UW SmartRaid Controller. After I added a Sony DDS2 DAT backup which runs a dump every night at 4am I started experiencing random reboots about every other week or so. These resets always occurred during the heavy SCSI IO related to the backup. Since the system would just reset, I had nothing to go on until this morning when the system failed to sync the disks and the dreaded: panic: biodone: buffer not busy messages was on the console. After scanning through the mailing lists and GNATS db, I found PR#6102 regarding this (and PR#5117 which is apparently the same prob for 2.2.5) I noticed the problem is not assigned (not surprising, people are busy) but wanted to find out if anyone is working on it and provide them with my datapoints. I did notice the problem seems to not be directly related to the DPT insomuch as it has popped up on other SCSI controllers as well. PR#7424 may also be related, although it seems to deal specifically with the adaptec controller. There have also been reports that switching to CAM fixes the problem (which is not an option for me until 3.0 becomes 'stable' :) This is a fairly serious problem for me, so if there is anything I can do to speed it's resolution, please let me know. - Bruce ======================================================================== || Bruce M. Walter || 107 Timber Hollow Court #335 || || Senior Network Consultant || Chapel Hill, NC 27514 || || Fortean Technologies, Inc. || Tel: 919-829-4908 || || Information Technology Consultants || Fax: 919-829-4993 || ======================================================================== || BSD Unix -- It's not just a job, it's a way of life! || ======================================================================== Copyright (c) 1992-1998 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 2.2.6-RELEASE #0: Thu Jun 4 18:04:02 EDT 1998 root@nemesis.fortean.com:/usr/src/sys/compile/NEMESIS CPU: Pentium Pro (199.31-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x617 Stepping=7 Features=0xf9ff real memory = 134217728 (131072K bytes) avail memory = 129003520 (125980K bytes) DPT: RAID Manager driver, Version 1.0.1 Probing for devices on PCI bus 0: chip0 rev 2 on pci0:0:0 chip1 rev 1 on pci0:7:0 chip2 rev 0 on pci0:7:1 DPT: PCI SCSI HBA Driver, version 1.2.4 dpt0 rev 2 int a irq 15 on pci0:17:0 dpt0: DPT type 3, model PM3334UW firmware 07L0, Protocol 0 on port 8110 with 458753MB Write-Back cache. LED = 0000 0000 dpt0: Enabled Options: Collect Metrics dpt0 waiting for scsi devices to settle (dpt0:3:0): "DPT FREEBSD 07L0" type 0 fixed SCSI 2 sd0(dpt0:3:0): Direct-Access 8268MB (16933376 512 byte sectors) (dpt0:6:0): "SONY SDT-7000 0195" type 1 removable SCSI 2 st0(dpt0:6:0): Sequential-Access density code 0x13, 512-byte blocks, write-enabled vga0 rev 72 on pci0:19:0 vx0 <3COM 3C905 Fast Etherlink XL PCI> rev 0 int a irq 11 on pci0:20:0 mii[*mii*] address 00:60:97:7f:38:0f Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ed0 at 0x280-0x29f irq 10 maddr 0xd8000 msize 16384 on isa ed0: address 00:00:c0:2b:df:5a, type WD8013EPC (16 bit) sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A sio2 at 0x3e8-0x3ef irq 5 on isa sio2: type 16550A sio3 at 0x2e8-0x2ef irq 9 on isa sio3: type 16550A lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in ft0: Colorado tape npx0 on motherboard npx0: INT 16 interface bups0 at 0x3f8-0x3ff flags 0x1 on isa bups0: Basic UPS signaling device driver WARNING: / was not properly dismounted. machine "i386" cpu "I386_CPU" cpu "I486_CPU" cpu "I586_CPU" cpu "I686_CPU" ident "NEMESIS" maxusers 64 options CHILD_MAX=128 options OPEN_MAX=128 options "MAXDSIZ=(64*1024*1024)" options "DFLDSIZ=(16*1024*1024)" options "MAXMEM=(128*1024)" options "NMBCLUSTERS=2048" options INET #InterNETworking options FFS #Berkeley Fast Filesystem options NFS #Network Filesystem options MSDOSFS #MSDOS Filesystem options "CD9660" #ISO 9660 Filesystem options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=5 #Be optimistic about Joe SCSI device options BOUNCE_BUFFERS #include support for DMA bounce buffers options UCONSOLE #Allow users to grab the console options FAILSAFE #Be conservative options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options USER_LDT options SYSVSHM options SYSVMSG options SYSVSEM options "MD5" options COMPAT_LINUX options "EXT2FS" options "IBCS2" options SHOW_BUSYBUFS # List buffers that prevent root unmount options "AUTO_EOI_1" options "AUTO_EOI_2" options MROUTING # Multicast routing options TCPDEBUG options QUOTA #enable disk quotas options NULLFS_DIAGNOSTIC options KERNFS_DIAGNOSTIC options UMAPFS_DIAGNOSTIC options SAFETY config kernel root on sd0s1a controller isa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 tape ft0 at fdc0 drive 2 #controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr #disk wd0 at wdc0 drive 0 #disk wd1 at wdc0 drive 1 #options ATAPI #Enable ATAPI support for IDE bus #options ATAPI_STATIC #Don't do it as an LKM #device wcd0 #IDE CD-ROM controller dpt0 controller scbus0 options DPTOPT options DPT_MEASURE_PERFORMANCE # Lose ~0.1% performance but measure it device ch0 #SCSI media changers device sd0 #SCSI disks device st0 #SCSI tapes device cd0 #SCSI CD-ROMs device od0 #SCSI optical disk device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr device npx0 at isa? port "IO_NPX" irq 13 vector npxintr device bups0 at isa? port "IO_COM1" flags 0x1 device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr device sio2 at isa? port "IO_COM3" tty irq 5 vector siointr device sio3 at isa? port "IO_COM4" tty irq 9 vector siointr device lpt0 at isa? port? tty irq 7 vector lptintr device vx0 device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 vector edintr pseudo-device loop pseudo-device ether pseudo-device disc pseudo-device log pseudo-device sl 1 pseudo-device ppp 2 pseudo-device tun 2 pseudo-device pty 128 pseudo-device gzip # Exec gzipped a.out's pseudo-device bpfilter 4 pseudo-device vn #Vnode driver (turns a file into a device) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jul 30 12:48:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA08852 for freebsd-bugs-outgoing; Thu, 30 Jul 1998 12:48:27 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from callisto.fortean.com (callisto.fortean.com [209.42.229.241]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA08819 for ; Thu, 30 Jul 1998 12:48:13 -0700 (PDT) (envelope-from walter@fortean.com) Received: from localhost (walter@localhost) by callisto.fortean.com (8.8.8/8.8.5) with SMTP id PAA00942; Thu, 30 Jul 1998 15:48:07 -0400 (EDT) X-Authentication-Warning: callisto.fortean.com: walter owned process doing -bs Date: Thu, 30 Jul 1998 15:48:07 -0400 (EDT) From: "Bruce M. Walter" To: Matt Dillon cc: freebsd-bugs@FreeBSD.ORG, dima@best.net, newmike@teleport.com Subject: Re: kern/6102 In-Reply-To: <199807301830.LAA24610@flea.best.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Matt, Thanks for the speedy reply. > There are potentially multiple causes to this problem. The most likely > cause is the one that Julian found... a hardware FIFO overflow on adaptec > boards. I dunno re: DPT boards. However, the HWb ug supposedly only > occurs if SCB paging is turned on, and we have it turned off and still > getting the panics so we are persuing some debugful kernels in an attempt > to track the problem down. I see. In searching the lists for info, I found several recent reports of the biodone: buffer not busy panic on both DPT and BT based systems. They may not be related but all are described as random, relatively infrequent and usually related to periods of heavy SCSI activity. > Note that, as per Julian, this problem does not appear to occur on > CAM-based systems. Right now we aren't running CAM... it's too big a > change for me to put into production just yet, and I'd really rather CAM > were incorporated into the main CVS tree rather then kept as a separate > tree. This is another factor that makes me feel like it's something outside of the specific controller drivers which is causing this. Either that or these drivers are all committing similar, aggregious problems. (such as calling biodone more than once in error) There is a relatively new thread about the DPT firmware interrupting with status packets that point to ccb's that the driver has already completed. It seems to me that under heavy load this could happen on other controllers. Unfortunately for me, -CURRENT is not an option for this machine, so I won't be running CAM either. I'll be watching the lists like a hawk for any traffic regarding this. I'm also willing to try out any possible solutions you come up with. - Bruce ======================================================================== || Bruce M. Walter || 107 Timber Hollow Court #335 || || Senior Network Consultant || Chapel Hill, NC 27514 || || Fortean Technologies, Inc. || Tel: 919-829-4908 || || Information Technology Consultants || Fax: 919-829-4993 || ======================================================================== || BSD Unix -- It's not just a job, it's a way of life! || ======================================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jul 30 13:17:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA14114 for freebsd-bugs-outgoing; Thu, 30 Jul 1998 13:17:34 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from burka.rdy.com (burka.rdy.com [205.149.163.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA14101 for ; Thu, 30 Jul 1998 13:17:21 -0700 (PDT) (envelope-from dima@burka.rdy.com) Received: (from dima@localhost) by burka.rdy.com (8.8.8/RDY&DVV) id NAA20681; Thu, 30 Jul 1998 13:17:11 -0700 (PDT) Message-Id: <199807302017.NAA20681@burka.rdy.com> Subject: Re: kern/6102 In-Reply-To: from "Bruce M. Walter" at "Jul 30, 1998 3:48: 7 pm" To: walter@fortean.com (Bruce M. Walter) Date: Thu, 30 Jul 1998 13:17:11 -0700 (PDT) Cc: dillon@best.net, freebsd-bugs@FreeBSD.ORG, dima@best.net, newmike@teleport.com X-Class: Fast Organization: HackerDome Reply-To: dima@best.net From: dima@best.net (Dima Ruban) X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Bruce M. Walter writes: > Unfortunately for me, -CURRENT is not an option for this machine, so I > won't be running CAM either. There's CAM for -stable as well. Check out ftp://ftp.freebsd.org/pub/FreeBSD/cam > I'll be watching the lists like a hawk for any traffic regarding this. > I'm also willing to try out any possible solutions you come up with. > > - Bruce > > ======================================================================== > || Bruce M. Walter || 107 Timber Hollow Court #335 || > || Senior Network Consultant || Chapel Hill, NC 27514 || > || Fortean Technologies, Inc. || Tel: 919-829-4908 || > || Information Technology Consultants || Fax: 919-829-4993 || > ======================================================================== > || BSD Unix -- It's not just a job, it's a way of life! || > ======================================================================== > -- dima To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jul 30 14:00:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA22067 for freebsd-bugs-outgoing; Thu, 30 Jul 1998 14:00:07 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA21986 for ; Thu, 30 Jul 1998 14:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id OAA17920; Thu, 30 Jul 1998 14:00:00 -0700 (PDT) Received: from tim.xenologics.com (tim.xenologics.com [194.77.5.24]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA20150 for ; Thu, 30 Jul 1998 13:53:14 -0700 (PDT) (envelope-from seggers@semyam.dinoco.de) Received: (from uucp@localhost) by tim.xenologics.com (8.8.5/8.8.8) with UUCP id WAA29878 for FreeBSD-gnats-submit@freebsd.org; Thu, 30 Jul 1998 22:51:03 +0200 (MET DST) Received: (from seggers@localhost) by semyam.dinoco.de (8.8.8/8.8.8) id WAA12487; Thu, 30 Jul 1998 22:45:32 +0200 (CEST) (envelope-from seggers) Message-Id: <199807302045.WAA12487@semyam.dinoco.de> Date: Thu, 30 Jul 1998 22:45:32 +0200 (CEST) From: Stefan Eggers Reply-To: seggers@semyam.dinoco.de To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: seggers@semyam.dinoco.de X-Send-Pr-Version: 3.2 Subject: bin/7453: libdialog: small change to DITEM_RECREATE behavior Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7453 >Category: bin >Synopsis: libdialog: small change to DITEM_RECREATE behavior >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jul 30 14:00:00 PDT 1998 >Last-Modified: >Originator: Stefan Eggers >Organization: none >Release: FreeBSD 3.0-CURRENT i386 >Environment: -current from a few days ago. >Description: When using a checkbox a DITEM_RECREATE from a fire callback caused the values of choice and scroll to be set back to 0. This resulted in the user getting to the top of the list. This behavior conflicts with what I intend to do with my changes to sysinstall which introduce display of which packages get added as a dependency. See the separate PR. The most simple change is making checkboxes behave a little bit different now. They retain the old position - nothing else gets changed in the logic. The only alternative I see is changing the includes files and add a flag similar to DITEM_RECREATE but retaining the old position. If that is the prefered solution to this interface problem I will make patches for that, too. >How-To-Repeat: Just try the sysinstall patches w/o this patch. It's very annoying to use anything having a dependency! >Fix: Index: checklist.c =================================================================== RCS file: /usr2/FreeBSD/CVSROOT/src/gnu/lib/libdialog/checklist.c,v retrieving revision 1.33 diff -u -r1.33 checklist.c --- checklist.c 1997/10/12 12:09:45 1.33 +++ checklist.c 1998/07/30 20:35:25 @@ -45,6 +45,7 @@ unsigned char **items = NULL; dialogMenuItem *ditems; int list_width, check_x, item_x; + int remember_position, remember_choice, remember_scroll; /* Allocate space for storing item on/off status */ if ((status = alloca(sizeof(int) * abs(cnt))) == NULL) { @@ -53,8 +54,17 @@ exit(-1); } + remember_position = 0; + remember_choice = 0; /* avoid useless warnings from compiler */ + remember_scroll = 0; /* avoid useless warnings from compiler */ draw: choice = scroll = button = 0; + if (remember_position) + { + remember_position = 0; + choice = remember_choice; + scroll = remember_scroll; + } /* Previous calling syntax, e.g. just a list of strings? */ if (cnt >= 0) { items = it; @@ -349,6 +359,9 @@ break; } else if (st & DITEM_RECREATE) { + remember_position = 1; + remember_choice = choice; + remember_scroll = scroll; delwin(list); delwin(dialog); dialog_clear(); >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jul 30 14:00:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA22076 for freebsd-bugs-outgoing; Thu, 30 Jul 1998 14:00:08 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA21996 for ; Thu, 30 Jul 1998 14:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id OAA17929; Thu, 30 Jul 1998 14:00:01 -0700 (PDT) Received: from tim.xenologics.com (tim.xenologics.com [194.77.5.24]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA20175 for ; Thu, 30 Jul 1998 13:53:21 -0700 (PDT) (envelope-from seggers@semyam.dinoco.de) Received: (from uucp@localhost) by tim.xenologics.com (8.8.5/8.8.8) with UUCP id WAA29879 for FreeBSD-gnats-submit@freebsd.org; Thu, 30 Jul 1998 22:51:06 +0200 (MET DST) Received: (from seggers@localhost) by semyam.dinoco.de (8.8.8/8.8.8) id WAA12888; Thu, 30 Jul 1998 22:50:20 +0200 (CEST) (envelope-from seggers) Message-Id: <199807302050.WAA12888@semyam.dinoco.de> Date: Thu, 30 Jul 1998 22:50:20 +0200 (CEST) From: Stefan Eggers Reply-To: seggers@semyam.dinoco.de To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: seggers@semyam.dinoco.de X-Send-Pr-Version: 3.2 Subject: bin/7454: make dependencies more visible in sysinstall Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7454 >Category: bin >Synopsis: make dependencies more visible in sysinstall >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jul 30 14:00:01 PDT 1998 >Last-Modified: >Originator: Stefan Eggers >Organization: none >Release: FreeBSD 3.0-CURRENT i386 >Environment: -current from last weekend. >Description: Sysinstall does not mark packages added as dependencies in any way. One just notices they get added when one gets to really install- ing them. My change makes sysinstall mark them with a D for dependency. Nothing better for this came to my mind but I am open for suggestions for a better marker. >How-To-Repeat: Try the new sysinstall. >Fix: Three diffs for the sysinstall source: Index: config.c =================================================================== RCS file: /usr2/FreeBSD/CVSROOT/src/release/sysinstall/config.c,v retrieving revision 1.110 diff -u -r1.110 config.c --- config.c 1998/03/24 09:51:54 1.110 +++ config.c 1998/07/20 11:35:17 @@ -691,12 +691,12 @@ /* Bring up the packages menu */ pos = scroll = 0; - index_menu(&top, &plist, &pos, &scroll); + index_menu(&top, &top, &plist, &pos, &scroll); if (plist.kids && plist.kids->name) { /* Now show the packing list menu */ pos = scroll = 0; - ret = index_menu(&plist, NULL, &pos, &scroll); + ret = index_menu(&plist, &plist, NULL, &pos, &scroll); if (ret & DITEM_LEAVE_MENU) break; else if (DITEM_STATUS(ret) != DITEM_FAILURE) { Index: index.c =================================================================== RCS file: /usr2/FreeBSD/CVSROOT/src/release/sysinstall/index.c,v retrieving revision 1.54 diff -u -r1.54 index.c --- index.c 1998/03/24 09:51:55 1.54 +++ index.c 1998/07/30 20:36:53 @@ -46,7 +46,17 @@ #define MAX_MENU 12 #define _MAX_DESC 55 +/* A structure holding the root, top and plist pointer at once */ +struct ListPtrs +{ + PkgNodePtr root; /* root of tree */ + PkgNodePtr top; /* part of tree we handle */ + PkgNodePtr plist; /* list of selected packages */ +}; +typedef struct ListPtrs* ListPtrsPtr; + static int index_extract_one(Device *dev, PkgNodePtr top, PkgNodePtr who, Boolean depended); +static void index_recorddeps(Boolean add, PkgNodePtr root, IndexEntryPtr ie); /* Smarter strdup */ inline char * @@ -174,6 +184,8 @@ tmp->descrfile = strip(_strdup(descr)); tmp->maintainer = _strdup(maint); tmp->deps = _strdup(deps); + tmp->depc = 0; + tmp->installed = package_exists(name); return tmp; } @@ -261,6 +273,7 @@ index_read(FILE *fp, PkgNodePtr papa) { char name[127], pathto[255], prefix[255], comment[255], descr[127], maint[127], cats[511], deps[511]; + PkgNodePtr i; while (index_parse(fp, name, pathto, prefix, comment, descr, maint, cats, deps) != EOF) { char *cp, *cp2, tmp[511]; @@ -277,6 +290,15 @@ /* Add to special "All" category */ index_register(papa, "All", idx); } + + /* Adjust dependency counts */ + for (i = papa->kids; i != NULL; i = i->next) + if (strcmp(i->name, "All") == 0) + break; + for (i = i->kids; i != NULL; i = i->next) + if (((IndexEntryPtr)i->data)->installed) + index_recorddeps(TRUE, papa, i->data); + return 0; } @@ -401,13 +423,20 @@ int pkg_checked(dialogMenuItem *self) { - PkgNodePtr kp = self->data, plist = (PkgNodePtr)self->aux; + ListPtrsPtr lists = (ListPtrsPtr)self->aux; + PkgNodePtr kp = self->data, plist = lists->plist; int i; i = index_search(plist, kp->name, NULL) ? TRUE : FALSE; - if (kp->type == PACKAGE && plist) - return i || package_exists(kp->name); - else + if (kp->type == PACKAGE && plist) { + IndexEntryPtr ie = kp->data; + int markD, markX; + + markD = ie->depc > 0; /* needed as dependency */ + markX = i || ie->installed; /* selected or installed */ + self->mark = markX ? 'X' : 'D'; + return markD || markX; + } else return FALSE; } @@ -415,42 +444,57 @@ pkg_fire(dialogMenuItem *self) { int ret; - PkgNodePtr sp, kp = self->data, plist = (PkgNodePtr)self->aux; + ListPtrsPtr lists = (ListPtrsPtr)self->aux; + PkgNodePtr sp, kp = self->data, plist = lists->plist; if (!plist) ret = DITEM_FAILURE; else if (kp->type == PACKAGE) { + IndexEntryPtr ie = kp->data; + sp = index_search(plist, kp->name, NULL); /* Not already selected? */ if (!sp) { - if (!package_exists(kp->name)) { + if (!ie->installed) { PkgNodePtr np = (PkgNodePtr)safe_malloc(sizeof(PkgNode)); *np = *kp; np->next = plist->kids; plist->kids = np; + index_recorddeps(TRUE, lists->root, ie); msgInfo("Added %s to selection list", kp->name); } - else { + else if (ie->depc == 0) { WINDOW *save = savescr(); if (!msgYesNo("Do you really want to delete %s from the system?", kp->name)) if (vsystem("pkg_delete %s %s", isDebug() ? "-v" : "", kp->name)) msgConfirm("Warning: pkg_delete of %s failed.\n Check debug output for details.", kp->name); + else { + ie->installed = 0; + index_recorddeps(FALSE, lists->root, ie); + } restorescr(save); } + else + msgConfirm("Warning: Package %s is needed by\n %d other installed package%s.", + kp->name, ie->depc, (ie->depc != 1) ? "s" : ""); } else { + index_recorddeps(FALSE, lists->root, ie); msgInfo("Removed %s from selection list", kp->name); index_delete(sp); } ret = DITEM_SUCCESS; + /* Mark menu for redraw if we had dependencies */ + if (strlen(ie->deps) > 0) + ret |= DITEM_RECREATE; } else { /* Not a package, must be a directory */ int p, s; p = s = 0; - index_menu(kp, plist, &p, &s); + index_menu(lists->root, kp, plist, &p, &s); ret = DITEM_SUCCESS | DITEM_CONTINUE; } return ret; @@ -467,8 +511,9 @@ } int -index_menu(PkgNodePtr top, PkgNodePtr plist, int *pos, int *scroll) +index_menu(PkgNodePtr root, PkgNodePtr top, PkgNodePtr plist, int *pos, int *scroll) { + struct ListPtrs lists; int n, rval, maxname; int curr, max; PkgNodePtr kp; @@ -476,6 +521,10 @@ Boolean hasPackages; WINDOW *w; + lists.root = root; + lists.top = top; + lists.plist = plist; + hasPackages = FALSE; nitems = NULL; @@ -519,7 +568,7 @@ SAFE_STRCPY(buf, kp->desc); if (strlen(buf) > (_MAX_DESC - maxname)) buf[_MAX_DESC - maxname] = '\0'; - nitems = item_add(nitems, kp->name, buf, pkg_checked, pkg_fire, pkg_selected, kp, (int)plist, &curr, &max); + nitems = item_add(nitems, kp->name, buf, pkg_checked, pkg_fire, pkg_selected, kp, (int)&lists, &curr, &max); ++n; kp = kp->next; } @@ -545,7 +594,7 @@ /* These need to be set to point at the found item, actually. Hmmm! */ pos = scroll = 0; - index_menu(menu, plist, &pos, &scroll); + index_menu(root, menu, plist, &pos, &scroll); } else msgConfirm("Search string: %s yielded no hits.", cp); @@ -606,7 +655,41 @@ } } /* Done with the deps? Load the real m'coy */ - if (DITEM_STATUS(status) == DITEM_SUCCESS) + if (DITEM_STATUS(status) == DITEM_SUCCESS) { status = package_extract(dev, who->name, depended); + if (DITEM_STATUS(status) == DITEM_SUCCESS) + id->installed = 1; + } return status; +} + +static void +index_recorddeps(Boolean add, PkgNodePtr root, IndexEntryPtr ie) +{ + char depends[1024], *space, *todo; + PkgNodePtr found; + IndexEntryPtr found_ie; + + SAFE_STRCPY(depends, ie->deps); + for (todo = depends; todo != NULL; ) { + space = index(todo, ' '); + if (space != NULL) + *space = '\0'; + + if (strlen(todo) > 0) { /* only non-empty dependencies */ + found = index_search(root, todo, NULL); + if (found != NULL) { + found_ie = found->data; + if (add) + ++found_ie->depc; + else + --found_ie->depc; + } + } + + if (space != NULL) + todo = space + 1; + else + todo = NULL; + } } Index: sysinstall.h =================================================================== RCS file: /usr2/FreeBSD/CVSROOT/src/release/sysinstall/sysinstall.h,v retrieving revision 1.147 diff -u -r1.147 sysinstall.h --- sysinstall.h 1998/07/18 09:42:01 1.147 +++ sysinstall.h 1998/07/20 11:39:35 @@ -316,6 +316,8 @@ char *comment; /* one line description */ char *descrfile; /* path to description file */ char *deps; /* packages this depends on */ + int depc; /* how many depend on me */ + int installed; /* indicates if it is installed */ char *maintainer; /* maintainer */ } IndexEntry; typedef IndexEntry *IndexEntryPtr; @@ -540,7 +542,7 @@ /* index.c */ int index_read(FILE *fp, PkgNodePtr papa); -int index_menu(PkgNodePtr top, PkgNodePtr plist, int *pos, int *scroll); +int index_menu(PkgNodePtr root, PkgNodePtr top, PkgNodePtr plist, int *pos, int *scroll); void index_init(PkgNodePtr top, PkgNodePtr plist); void index_node_free(PkgNodePtr top, PkgNodePtr plist); void index_sort(PkgNodePtr top); >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jul 30 18:10:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA07945 for freebsd-bugs-outgoing; Thu, 30 Jul 1998 18:10:10 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA07859 for ; Thu, 30 Jul 1998 18:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id SAA25368; Thu, 30 Jul 1998 18:10:01 -0700 (PDT) Received: from home.dragondata.com (home.dragondata.com [204.137.237.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA07470 for ; Thu, 30 Jul 1998 18:06:57 -0700 (PDT) (envelope-from toasty@home.dragondata.com) Received: (from toasty@localhost) by home.dragondata.com (8.8.8/8.8.5) id UAA07507; Thu, 30 Jul 1998 20:06:51 -0500 (CDT) Message-Id: <199807310106.UAA07507@home.dragondata.com> Date: Thu, 30 Jul 1998 20:06:51 -0500 (CDT) From: toasty@dragondata.com Reply-To: toasty@dragondata.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: misc/7455: trailing spaces on mountpoint hangs sysinstall Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7455 >Category: misc >Synopsis: trailing spaces on mountpoint hangs sysinstall >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 30 18:10:00 PDT 1998 >Last-Modified: >Originator: Kevin Day >Organization: DragonData Internet Services >Release: FreeBSD 2.2.7-STABLE i386 >Environment: 2.2.7 boot floppy >Description: In the disk label editor, a trailing space after the mountpoint causes sysinstall to lockup when it tries to create the label in 'commit'. >How-To-Repeat: Add a trailing space after / when you install 2.2.7 >Fix: Ask jordan? :) >Audit-Trail: >Unformatted: Kevin Day To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jul 30 21:37:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA28542 for freebsd-bugs-outgoing; Thu, 30 Jul 1998 21:37:18 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA28536; Thu, 30 Jul 1998 21:37:15 -0700 (PDT) (envelope-from jdp@FreeBSD.org) From: John Polstra Received: (from jdp@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id VAA00390; Thu, 30 Jul 1998 21:37:15 -0700 (PDT) Date: Thu, 30 Jul 1998 21:37:15 -0700 (PDT) Message-Id: <199807310437.VAA00390@freefall.freebsd.org> To: jdp@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG, jdp@FreeBSD.ORG Subject: Re: bin/7446 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: Dlopen succeed in particular cases, but it is illegal in the cases. Responsible-Changed-From-To: freebsd-bugs->jdp Responsible-Changed-By: jdp Responsible-Changed-When: Thu Jul 30 21:36:53 PDT 1998 Responsible-Changed-Why: I'll take a look at this. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jul 30 23:35:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA10517 for freebsd-bugs-outgoing; Thu, 30 Jul 1998 23:35:12 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.15.68.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA10507; Thu, 30 Jul 1998 23:35:05 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id QAA18849; Fri, 31 Jul 1998 16:35:00 +1000 Date: Fri, 31 Jul 1998 16:35:00 +1000 From: Bruce Evans Message-Id: <199807310635.QAA18849@godzilla.zeta.org.au> To: freebsd-bugs@FreeBSD.ORG, woods@zeus.leitch.com Subject: Re: bin/7444: login exited on Signal 3, core dumped Cc: FreeBSD-gnats-submit@FreeBSD.ORG Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > That's trivial to reproduce, and mostly harmless. Just type a bogus > user-id at the initial login prompt (i.e. the one given by getty), then > a bogus password (eg. ), and at the second login prompt type > (i.e. the default quit character). You should see the syslog > message and a new getty prompt at the same time. SIGQUIT is supposed to > cause a core dump -- that's the whole idea behind having it. > > The fix would be to have login trap and ignore SIGQUIT, but I don't know > that it's necessary. Such a fix should be wrapped in #ifndef DEBUG or > something similar (IMO). Non-broken versions of login ignore SIGQUIT throughout. The -current version ignores it for the getpass() call only, so CTRL-\ at the password prompt dumps core but CTRL-\ at the login prompt doesn't. The -"stable" version ignores it beginning with the first call to getpass(), so CTRL-\ dumps core at all prompts except the first login prompt. The history of this bug is farcial: getpass.c 1.3 (1995/12/27): Don't block SIGINT in getpass(). This had no effect for login because login ignored SIGINT throughout, but other callers of getpass() may have been adversely affected. getpass.c 1.4 (1995/12/31): Break SIGINT and SIGTSTP by catching them and doing some wrong things in the signal handler instead of ignoring them. Break SIGQUIT and SIGSTOP by catching them instead of doing nothing with them. RELENG_2_2 branch: Inherit bugs in getpass.c 1.5. login.c 1.31 (1998/02/05): Work around one bug in getpass.c 1.4. The signal handler for SIGINT/SIGQUIT turns on echo and sends another signal (to be handled in the caller's environment). This is wrong if the caller is ignoring the signal - getpass() continues with the password being echoed. Call getpass() with SIGINT/SIGQUIT defaulted, so that CTRL-C and CTRL-\ terminate login. Ignore SIGINT/SIGQUIT again after getpass() returns. getpass.c 1.6 (1998/02/18): Fix 1.3 and 1.4 as a side effect of sort of switching to the NetBSD version. Confuse the issue in the log message by referring to the cosmetic (on i386's) POSIXifications and not the bugs. getpass.c 1.5.2.1 (1998/02/17): Merge 1.6 into -stable. Log more confusion about POSIXification. login.c 1.12.2.9 (1998/02/18): Merge just half the change from 1.31 into -"stable" together with one line of Kerberos changes and one line of style bugs. This leaves SIGINT/SIGQUIT defaulted forever after the first call to getpass(). The future history should be: login.c: Back out 1.31 and the buggy half of 1.12.2.9. Who needs CTRL-\ to give core dumps in login? getpass.c: Copy the NetBSD version or back out to 1.2 and POSIXify without leaving ugly vestiges of 1.4 (auto variables became static so that they could be abused by the signal handler ...). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jul 30 23:40:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA11183 for freebsd-bugs-outgoing; Thu, 30 Jul 1998 23:40:07 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA11098 for ; Thu, 30 Jul 1998 23:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id XAA03318; Thu, 30 Jul 1998 23:40:00 -0700 (PDT) Date: Thu, 30 Jul 1998 23:40:00 -0700 (PDT) Message-Id: <199807310640.XAA03318@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Bruce Evans Subject: Re: bin/7444: login exited on Signal 3, core dumped Reply-To: Bruce Evans Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/7444; it has been noted by GNATS. From: Bruce Evans To: freebsd-bugs@FreeBSD.ORG, woods@zeus.leitch.com Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/7444: login exited on Signal 3, core dumped Date: Fri, 31 Jul 1998 16:35:00 +1000 > That's trivial to reproduce, and mostly harmless. Just type a bogus > user-id at the initial login prompt (i.e. the one given by getty), then > a bogus password (eg. ), and at the second login prompt type > (i.e. the default quit character). You should see the syslog > message and a new getty prompt at the same time. SIGQUIT is supposed to > cause a core dump -- that's the whole idea behind having it. > > The fix would be to have login trap and ignore SIGQUIT, but I don't know > that it's necessary. Such a fix should be wrapped in #ifndef DEBUG or > something similar (IMO). Non-broken versions of login ignore SIGQUIT throughout. The -current version ignores it for the getpass() call only, so CTRL-\ at the password prompt dumps core but CTRL-\ at the login prompt doesn't. The -"stable" version ignores it beginning with the first call to getpass(), so CTRL-\ dumps core at all prompts except the first login prompt. The history of this bug is farcial: getpass.c 1.3 (1995/12/27): Don't block SIGINT in getpass(). This had no effect for login because login ignored SIGINT throughout, but other callers of getpass() may have been adversely affected. getpass.c 1.4 (1995/12/31): Break SIGINT and SIGTSTP by catching them and doing some wrong things in the signal handler instead of ignoring them. Break SIGQUIT and SIGSTOP by catching them instead of doing nothing with them. RELENG_2_2 branch: Inherit bugs in getpass.c 1.5. login.c 1.31 (1998/02/05): Work around one bug in getpass.c 1.4. The signal handler for SIGINT/SIGQUIT turns on echo and sends another signal (to be handled in the caller's environment). This is wrong if the caller is ignoring the signal - getpass() continues with the password being echoed. Call getpass() with SIGINT/SIGQUIT defaulted, so that CTRL-C and CTRL-\ terminate login. Ignore SIGINT/SIGQUIT again after getpass() returns. getpass.c 1.6 (1998/02/18): Fix 1.3 and 1.4 as a side effect of sort of switching to the NetBSD version. Confuse the issue in the log message by referring to the cosmetic (on i386's) POSIXifications and not the bugs. getpass.c 1.5.2.1 (1998/02/17): Merge 1.6 into -stable. Log more confusion about POSIXification. login.c 1.12.2.9 (1998/02/18): Merge just half the change from 1.31 into -"stable" together with one line of Kerberos changes and one line of style bugs. This leaves SIGINT/SIGQUIT defaulted forever after the first call to getpass(). The future history should be: login.c: Back out 1.31 and the buggy half of 1.12.2.9. Who needs CTRL-\ to give core dumps in login? getpass.c: Copy the NetBSD version or back out to 1.2 and POSIXify without leaving ugly vestiges of 1.4 (auto variables became static so that they could be abused by the signal handler ...). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jul 31 00:10:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA14208 for freebsd-bugs-outgoing; Fri, 31 Jul 1998 00:10:45 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [194.93.177.113]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA14093 for ; Fri, 31 Jul 1998 00:10:22 -0700 (PDT) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.8.8/8.8.8) id KAA27208; Fri, 31 Jul 1998 10:10:09 +0300 (EEST) (envelope-from ru) Message-ID: <19980731101008.A27188@ucb.crimea.ua> Date: Fri, 31 Jul 1998 10:10:08 +0300 From: Ruslan Ermilov To: Bruce Evans , freebsd-bugs@FreeBSD.ORG Subject: Re: bin/7444: login exited on Signal 3, core dumped Mail-Followup-To: Bruce Evans , freebsd-bugs@FreeBSD.ORG References: <199807310640.XAA03318@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91i In-Reply-To: <199807310640.XAA03318@freefall.freebsd.org>; from Bruce Evans on Thu, Jul 30, 1998 at 11:40:00PM -0700 X-Operating-System: FreeBSD 2.2.7-STABLE i386 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Jul 30, 1998 at 11:40:00PM -0700, Bruce Evans wrote: > > Non-broken versions of login ignore SIGQUIT throughout. The -current > version ignores it for the getpass() call only, so CTRL-\ at the password > prompt dumps core but CTRL-\ at the login prompt doesn't. The -"stable" > version ignores it beginning with the first call to getpass(), so CTRL-\ > dumps core at all prompts except the first login prompt. > [28 lines deleted] > > The future history should be: > login.c: > Back out 1.31 and the buggy half of 1.12.2.9. Who needs CTRL-\ to > give core dumps in login? > getpass.c: > Copy the NetBSD version or back out to 1.2 and POSIXify without leaving > ugly vestiges of 1.4 (auto variables became static so that they could > be abused by the signal handler ...). > Will someone do it? ;-) Regards, -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jul 31 01:47:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA22492 for freebsd-bugs-outgoing; Fri, 31 Jul 1998 01:47:49 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA22486; Fri, 31 Jul 1998 01:47:40 -0700 (PDT) (envelope-from phk@FreeBSD.org) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id BAA06335; Fri, 31 Jul 1998 01:47:40 -0700 (PDT) Date: Fri, 31 Jul 1998 01:47:40 -0700 (PDT) Message-Id: <199807310847.BAA06335@freefall.freebsd.org> To: frf@xocolatl.com, phk@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/7425 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: ndc does not use named_program from rc.conf State-Changed-From-To: open-closed State-Changed-By: phk State-Changed-When: Fri Jul 31 01:47:24 PDT 1998 State-Changed-Why: committed, thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jul 31 01:48:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA22740 for freebsd-bugs-outgoing; Fri, 31 Jul 1998 01:48:43 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA22730; Fri, 31 Jul 1998 01:48:28 -0700 (PDT) (envelope-from phk@FreeBSD.org) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id BAA06444; Fri, 31 Jul 1998 01:48:27 -0700 (PDT) Date: Fri, 31 Jul 1998 01:48:27 -0700 (PDT) Message-Id: <199807310848.BAA06444@freefall.freebsd.org> To: gdc@xenetic.fi, phk@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: i386/7426 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: Bugs in macro definitions of pthreads. State-Changed-From-To: open-suspended State-Changed-By: phk State-Changed-When: Fri Jul 31 01:48:11 PDT 1998 State-Changed-Why: awaiting comitter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jul 31 01:57:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA23594 for freebsd-bugs-outgoing; Fri, 31 Jul 1998 01:57:03 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA23589; Fri, 31 Jul 1998 01:56:55 -0700 (PDT) (envelope-from phk@FreeBSD.org) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id BAA06792; Fri, 31 Jul 1998 01:56:55 -0700 (PDT) Date: Fri, 31 Jul 1998 01:56:55 -0700 (PDT) Message-Id: <199807310856.BAA06792@freefall.freebsd.org> To: SteveFriedrich@Hot-Shot.com, phk@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: kern/7431 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: nca0(PAS16) can't mount -t cd9660 -r /dev/cd0a /cdrom, previously worked State-Changed-From-To: open-closed State-Changed-By: phk State-Changed-When: Fri Jul 31 01:52:53 PDT 1998 State-Changed-Why: Unfortunately we can't see from the above message what command failed, only what the complaint was (that is a bit non-optimal for the case of "ILLEGAL REQUEST" in particular), but if you poke around in the sys/scsi source a bit I'm sure you can locate what causes this. Since this is a CD, you cannot hurt anything and if you boot -s and don't mount any of your "real" filesystems, you don't even have to fsck if it panics. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jul 31 01:59:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA23831 for freebsd-bugs-outgoing; Fri, 31 Jul 1998 01:59:36 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA23811; Fri, 31 Jul 1998 01:59:14 -0700 (PDT) (envelope-from phk@FreeBSD.org) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id BAA06911; Fri, 31 Jul 1998 01:59:14 -0700 (PDT) Date: Fri, 31 Jul 1998 01:59:14 -0700 (PDT) Message-Id: <199807310859.BAA06911@freefall.freebsd.org> To: dhw@whistle.com, phk@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: misc/7435 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Old Synopsis: PR 6387 solution didn't handle pipelines adequately New Synopsis: [PATCH(HACK)] PR 6387 solution didn't handle pipelines adequately State-Changed-From-To: open-suspended State-Changed-By: phk State-Changed-When: Fri Jul 31 01:58:41 PDT 1998 State-Changed-Why: awaiting committer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jul 31 02:01:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA24231 for freebsd-bugs-outgoing; Fri, 31 Jul 1998 02:01:10 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA24201; Fri, 31 Jul 1998 02:00:59 -0700 (PDT) (envelope-from phk@FreeBSD.org) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id CAA07093; Fri, 31 Jul 1998 02:00:59 -0700 (PDT) Date: Fri, 31 Jul 1998 02:00:59 -0700 (PDT) Message-Id: <199807310900.CAA07093@freefall.freebsd.org> To: ath@niksun.com, phk@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: kern/7441 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: src/sys/scsi/st.c:st_close() ignores errors from st_write_filemarks() State-Changed-From-To: open-closed State-Changed-By: phk State-Changed-When: Fri Jul 31 02:00:45 PDT 1998 State-Changed-Why: committed, thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jul 31 02:05:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA24705 for freebsd-bugs-outgoing; Fri, 31 Jul 1998 02:05:33 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA24693; Fri, 31 Jul 1998 02:05:21 -0700 (PDT) (envelope-from phk@FreeBSD.org) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id CAA07383; Fri, 31 Jul 1998 02:05:21 -0700 (PDT) Date: Fri, 31 Jul 1998 02:05:21 -0700 (PDT) Message-Id: <199807310905.CAA07383@freefall.freebsd.org> To: okimoto@mrit.mei.co.jp, phk@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: misc/7443 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: fclose() locks after over reading by using fread() in pthread State-Changed-From-To: open-closed State-Changed-By: phk State-Changed-When: Fri Jul 31 02:05:09 PDT 1998 State-Changed-Why: already fixed in -current To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jul 31 02:06:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA24867 for freebsd-bugs-outgoing; Fri, 31 Jul 1998 02:06:14 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA24534; Fri, 31 Jul 1998 02:03:35 -0700 (PDT) (envelope-from phk@FreeBSD.org) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id CAA07274; Fri, 31 Jul 1998 02:03:35 -0700 (PDT) Date: Fri, 31 Jul 1998 02:03:35 -0700 (PDT) Message-Id: <199807310903.CAA07274@freefall.freebsd.org> To: serg@bcs.zp.ua, phk@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: i386/7442 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: TFTP_ACK goes to port 69 State-Changed-From-To: open-closed State-Changed-By: phk State-Changed-When: Fri Jul 31 02:03:23 PDT 1998 State-Changed-Why: committed, thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jul 31 02:14:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA25629 for freebsd-bugs-outgoing; Fri, 31 Jul 1998 02:14:04 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA25580; Fri, 31 Jul 1998 02:13:42 -0700 (PDT) (envelope-from phk@FreeBSD.org) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id CAA07833; Fri, 31 Jul 1998 02:13:40 -0700 (PDT) Date: Fri, 31 Jul 1998 02:13:40 -0700 (PDT) Message-Id: <199807310913.CAA07833@freefall.freebsd.org> To: seggers@semyam.dinoco.de, phk@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/7453 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: libdialog: small change to DITEM_RECREATE behavior State-Changed-From-To: open-feedback State-Changed-By: phk State-Changed-When: Fri Jul 31 02:12:53 PDT 1998 State-Changed-Why: what impact do you expect this change to have on other users of libdialog, including the "stock" sysinstall ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jul 31 02:19:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA26302 for freebsd-bugs-outgoing; Fri, 31 Jul 1998 02:19:43 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA26296; Fri, 31 Jul 1998 02:19:36 -0700 (PDT) (envelope-from phk@FreeBSD.org) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id CAA08135; Fri, 31 Jul 1998 02:19:36 -0700 (PDT) Date: Fri, 31 Jul 1998 02:19:36 -0700 (PDT) Message-Id: <199807310919.CAA08135@freefall.freebsd.org> To: phk@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG, jkh@FreeBSD.ORG Subject: Re: bin/7454 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: make dependencies more visible in sysinstall Responsible-Changed-From-To: freebsd-bugs->jkh Responsible-Changed-By: phk Responsible-Changed-When: Fri Jul 31 02:18:22 PDT 1998 Responsible-Changed-Why: This one is Jordans, see also 7453 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jul 31 02:20:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA26710 for freebsd-bugs-outgoing; Fri, 31 Jul 1998 02:20:49 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA26622; Fri, 31 Jul 1998 02:20:37 -0700 (PDT) (envelope-from phk@FreeBSD.org) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id CAA08312; Fri, 31 Jul 1998 02:20:37 -0700 (PDT) Date: Fri, 31 Jul 1998 02:20:37 -0700 (PDT) Message-Id: <199807310920.CAA08312@freefall.freebsd.org> To: phk@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG, jkh@FreeBSD.ORG Subject: Re: misc/7455 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: trailing spaces on mountpoint hangs sysinstall Responsible-Changed-From-To: freebsd-bugs->jkh Responsible-Changed-By: phk Responsible-Changed-When: Fri Jul 31 02:20:05 PDT 1998 Responsible-Changed-Why: Over to Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jul 31 04:27:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA09644 for freebsd-bugs-outgoing; Fri, 31 Jul 1998 04:27:43 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA08494; Fri, 31 Jul 1998 04:15:59 -0700 (PDT) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id EAA14187; Fri, 31 Jul 1998 04:15:59 -0700 (PDT) Date: Fri, 31 Jul 1998 04:15:59 -0700 (PDT) Message-Id: <199807311115.EAA14187@freefall.freebsd.org> To: ru@ucb.crimea.ua, bde@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/7444 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: login exited on Signal 3, core dumped State-Changed-From-To: open-closed State-Changed-By: bde State-Changed-When: Fri Jul 31 04:15:24 PDT 1998 State-Changed-Why: Fixed in -current and 2.2. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jul 31 07:06:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA28199 for freebsd-bugs-outgoing; Fri, 31 Jul 1998 07:06:26 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from elvis.vnet.net (elvis.vnet.net [166.82.1.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA28194 for ; Fri, 31 Jul 1998 07:06:25 -0700 (PDT) (envelope-from rivers@dignus.com) Received: from dignus.com (ponds.vnet.net [166.82.177.48]) by elvis.vnet.net (8.8.8/8.8.4) with ESMTP id KAA19707; Fri, 31 Jul 1998 10:06:11 -0400 (EDT) Received: from lakes.dignus.com (lakes [10.0.0.3]) by dignus.com (8.8.8/8.8.5) with ESMTP id KAA02260; Fri, 31 Jul 1998 10:38:04 -0400 (EDT) Received: (from rivers@localhost) by lakes.dignus.com (8.8.8/8.6.9) id KAA05384; Fri, 31 Jul 1998 10:09:40 -0400 (EDT) Date: Fri, 31 Jul 1998 10:09:40 -0400 (EDT) From: Thomas David Rivers Message-Id: <199807311409.KAA05384@lakes.dignus.com> To: dillon@best.net, walter@fortean.com Subject: Re: kern/6102 Cc: dima@best.net, freebsd-bugs@FreeBSD.ORG, newmike@teleport.com In-Reply-To: Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Let me add to the discussion on this... [and, I'm encouraged that everyone is very interested in fixing it - my personal thanks!] In my "daily panic" days; this is one of the panics I got every now-and-then, although not nearly as frequently as the "dup alloc" one. So, with luck, whatever is found will be applicable to that. - Dave Rivers - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jul 31 07:08:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA28560 for freebsd-bugs-outgoing; Fri, 31 Jul 1998 07:08:39 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from tim.xenologics.com (tim.xenologics.com [194.77.5.24]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA28553; Fri, 31 Jul 1998 07:08:35 -0700 (PDT) (envelope-from seggers@semyam.dinoco.de) Received: (from uucp@localhost) by tim.xenologics.com (8.8.5/8.8.8) with UUCP id QAA25073; Fri, 31 Jul 1998 16:06:14 +0200 (MET DST) Received: from semyam.dinoco.de (semyam.dinoco.de [127.0.0.1]) by semyam.dinoco.de (8.8.8/8.8.8) with ESMTP id OAA13301; Fri, 31 Jul 1998 14:40:34 +0200 (CEST) (envelope-from seggers@semyam.dinoco.de) Message-Id: <199807311240.OAA13301@semyam.dinoco.de> To: FreeBSD-gnats-submit@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/7453: libdialog: small change to DITEM_RECREATE behavior In-reply-to: Your message of "Thu, 30 Jul 1998 14:00:00 PDT." <199807302100.OAA17916@freefall.freebsd.org> Cc: seggers@semyam.dinoco.de Date: Fri, 31 Jul 1998 14:40:33 +0200 From: Stefan Eggers Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org After some more thinking about implications of this I finally found a case where these patches might make a program break. Looking for an alternative solution I found DITEM_REDRAW which seems to do what I need but is undocumented. Please close this PR. Stefan. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jul 31 07:10:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA28870 for freebsd-bugs-outgoing; Fri, 31 Jul 1998 07:10:06 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA28839 for ; Fri, 31 Jul 1998 07:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id HAA21956; Fri, 31 Jul 1998 07:10:02 -0700 (PDT) Date: Fri, 31 Jul 1998 07:10:02 -0700 (PDT) Message-Id: <199807311410.HAA21956@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Stefan Eggers Subject: Re: bin/7453: libdialog: small change to DITEM_RECREATE behavior Reply-To: Stefan Eggers Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/7453; it has been noted by GNATS. From: Stefan Eggers To: FreeBSD-gnats-submit@freebsd.org, freebsd-bugs@freebsd.org Cc: seggers@semyam.dinoco.de Subject: Re: bin/7453: libdialog: small change to DITEM_RECREATE behavior Date: Fri, 31 Jul 1998 14:40:33 +0200 After some more thinking about implications of this I finally found a case where these patches might make a program break. Looking for an alternative solution I found DITEM_REDRAW which seems to do what I need but is undocumented. Please close this PR. Stefan. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jul 31 07:11:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA29043 for freebsd-bugs-outgoing; Fri, 31 Jul 1998 07:11:28 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from callisto.fortean.com (callisto.fortean.com [209.42.229.241]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA29038 for ; Fri, 31 Jul 1998 07:11:25 -0700 (PDT) (envelope-from walter@fortean.com) Received: from localhost (walter@localhost) by callisto.fortean.com (8.8.8/8.8.5) with SMTP id KAA02934; Fri, 31 Jul 1998 10:11:09 -0400 (EDT) X-Authentication-Warning: callisto.fortean.com: walter owned process doing -bs Date: Fri, 31 Jul 1998 10:11:08 -0400 (EDT) From: "Bruce M. Walter" To: Thomas David Rivers cc: dillon@best.net, dima@best.net, freebsd-bugs@FreeBSD.ORG, newmike@teleport.com Subject: Re: kern/6102 In-Reply-To: <199807311409.KAA05384@lakes.dignus.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > In my "daily panic" days; this is one of the panics I got every now-and-then, > although not nearly as frequently as the "dup alloc" one. David, As a long-time list lurker, I remember the 'David Rivers Memorial Panic' messages... IIRC, they had to do with a heavily loaded news server, no? What I can't remember is what controller the disk subsystem was using. Cheers, - Bruce PS: Wasn't it all ocurring on a 386 system too? ======================================================================== || Bruce M. Walter || 107 Timber Hollow Court #335 || || Senior Network Consultant || Chapel Hill, NC 27514 || || Fortean Technologies, Inc. || Tel: 919-829-4908 || || Information Technology Consultants || Fax: 919-829-4993 || ======================================================================== || BSD Unix -- It's not just a job, it's a way of life! || ======================================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jul 31 07:25:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA01228 for freebsd-bugs-outgoing; Fri, 31 Jul 1998 07:25:37 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from elvis.vnet.net (elvis.vnet.net [166.82.1.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA01223 for ; Fri, 31 Jul 1998 07:25:35 -0700 (PDT) (envelope-from rivers@dignus.com) Received: from dignus.com (ponds.vnet.net [166.82.177.48]) by elvis.vnet.net (8.8.8/8.8.4) with ESMTP id KAA23258; Fri, 31 Jul 1998 10:25:28 -0400 (EDT) Received: from lakes.dignus.com (lakes [10.0.0.3]) by dignus.com (8.8.8/8.8.5) with ESMTP id KAA02296; Fri, 31 Jul 1998 10:57:57 -0400 (EDT) Received: (from rivers@localhost) by lakes.dignus.com (8.8.8/8.6.9) id KAA05492; Fri, 31 Jul 1998 10:29:32 -0400 (EDT) Date: Fri, 31 Jul 1998 10:29:32 -0400 (EDT) From: Thomas David Rivers Message-Id: <199807311429.KAA05492@lakes.dignus.com> To: rivers@dignus.com, walter@fortean.com Subject: Re: kern/6102 Cc: dillon@best.net, dima@best.net, freebsd-bugs@FreeBSD.ORG, newmike@teleport.com In-Reply-To: Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > In my "daily panic" days; this is one of the panics I got every now-and-then, > > although not nearly as frequently as the "dup alloc" one. > > David, > > As a long-time list lurker, I remember the 'David Rivers Memorial Panic' > messages... IIRC, they had to do with a heavily loaded news server, no? > What I can't remember is what controller the disk subsystem was using. > > Cheers, > > - Bruce > > PS: Wasn't it all ocurring on a 386 system too? > Well, the answer to your question is "yes" and "no" :-) Yes, I got the problems in a 386 with an Adaptec 1542B... but, I also reproduced the problem on a 486 with an IDE adapter... Unfortunately, due to the general situation of Data General here in RTP, NC - I lost my full news feed; and so can no longer reproduce the panics with a heavily loaded news server... [the panic almost always occurred when Cnews was running the nightly expiration...] But, I believe I had narrowed the problem down to a issue which I was able to reproduce on a stand-alone machine.... write 0xff to a disk partition, run newfs, then run fsck on that newly created file system. On my reproduction machine (another 386 with a 1542B), the fsck will fail because some of the 0x00's which should have been written to the disk didn't make it... I can make that machine available over the net, if anyone wants to try it out, build kernels and debug the problem... The machine is set up to boot from a floppy with a serial console. So, you can remotely install a new kernel, reboot the machine and do kernel debugging, etc... [It's off-the-net right now, but a quick trip to Radio Shack for some RG58 cable will get it back :-) ] - Dave Rivers - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jul 31 09:08:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA13316 for freebsd-bugs-outgoing; Fri, 31 Jul 1998 09:08:42 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from tim.xenologics.com (tim.xenologics.com [194.77.5.24]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA13308; Fri, 31 Jul 1998 09:08:37 -0700 (PDT) (envelope-from seggers@semyam.dinoco.de) Received: (from uucp@localhost) by tim.xenologics.com (8.8.5/8.8.8) with UUCP id SAA05630; Fri, 31 Jul 1998 18:07:20 +0200 (MET DST) Received: from semyam.dinoco.de (semyam.dinoco.de [127.0.0.1]) by semyam.dinoco.de (8.8.8/8.8.8) with ESMTP id OAA14150; Fri, 31 Jul 1998 14:50:21 +0200 (CEST) (envelope-from seggers@semyam.dinoco.de) Message-Id: <199807311250.OAA14150@semyam.dinoco.de> To: FreeBSD-gnats-submit@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Cc: seggers@semyam.dinoco.de Subject: Re: bin/7454: make dependencies more visible in sysinstall In-reply-to: Your message of "Thu, 30 Jul 1998 14:00:01 PDT." <199807302100.OAA17925@freefall.freebsd.org> Date: Fri, 31 Jul 1998 14:50:20 +0200 From: Stefan Eggers Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Here is a slightly changed patch for the index.c file. It doesn't require any change to libdialog anymore to be useable. The other two patches are unchanged. Index: index.c =================================================================== RCS file: /usr2/FreeBSD/CVSROOT/src/release/sysinstall/index.c,v retrieving revision 1.54 diff -u -r1.54 index.c --- index.c 1998/03/24 09:51:55 1.54 +++ index.c 1998/07/31 12:45:07 @@ -46,7 +46,17 @@ #define MAX_MENU 12 #define _MAX_DESC 55 +/* A structure holding the root, top and plist pointer at once */ +struct ListPtrs +{ + PkgNodePtr root; /* root of tree */ + PkgNodePtr top; /* part of tree we handle */ + PkgNodePtr plist; /* list of selected packages */ +}; +typedef struct ListPtrs* ListPtrsPtr; + static int index_extract_one(Device *dev, PkgNodePtr top, PkgNodePtr who, Boolean depended); +static void index_recorddeps(Boolean add, PkgNodePtr root, IndexEntryPtr ie); /* Smarter strdup */ inline char * @@ -174,6 +184,8 @@ tmp->descrfile = strip(_strdup(descr)); tmp->maintainer = _strdup(maint); tmp->deps = _strdup(deps); + tmp->depc = 0; + tmp->installed = package_exists(name); return tmp; } @@ -261,6 +273,7 @@ index_read(FILE *fp, PkgNodePtr papa) { char name[127], pathto[255], prefix[255], comment[255], descr[127], maint[127], cats[511], deps[511]; + PkgNodePtr i; while (index_parse(fp, name, pathto, prefix, comment, descr, maint, cats, deps) != EOF) { char *cp, *cp2, tmp[511]; @@ -277,6 +290,15 @@ /* Add to special "All" category */ index_register(papa, "All", idx); } + + /* Adjust dependency counts */ + for (i = papa->kids; i != NULL; i = i->next) + if (strcmp(i->name, "All") == 0) + break; + for (i = i->kids; i != NULL; i = i->next) + if (((IndexEntryPtr)i->data)->installed) + index_recorddeps(TRUE, papa, i->data); + return 0; } @@ -401,13 +423,20 @@ int pkg_checked(dialogMenuItem *self) { - PkgNodePtr kp = self->data, plist = (PkgNodePtr)self->aux; + ListPtrsPtr lists = (ListPtrsPtr)self->aux; + PkgNodePtr kp = self->data, plist = lists->plist; int i; i = index_search(plist, kp->name, NULL) ? TRUE : FALSE; - if (kp->type == PACKAGE && plist) - return i || package_exists(kp->name); - else + if (kp->type == PACKAGE && plist) { + IndexEntryPtr ie = kp->data; + int markD, markX; + + markD = ie->depc > 0; /* needed as dependency */ + markX = i || ie->installed; /* selected or installed */ + self->mark = markX ? 'X' : 'D'; + return markD || markX; + } else return FALSE; } @@ -415,42 +444,57 @@ pkg_fire(dialogMenuItem *self) { int ret; - PkgNodePtr sp, kp = self->data, plist = (PkgNodePtr)self->aux; + ListPtrsPtr lists = (ListPtrsPtr)self->aux; + PkgNodePtr sp, kp = self->data, plist = lists->plist; if (!plist) ret = DITEM_FAILURE; else if (kp->type == PACKAGE) { + IndexEntryPtr ie = kp->data; + sp = index_search(plist, kp->name, NULL); /* Not already selected? */ if (!sp) { - if (!package_exists(kp->name)) { + if (!ie->installed) { PkgNodePtr np = (PkgNodePtr)safe_malloc(sizeof(PkgNode)); *np = *kp; np->next = plist->kids; plist->kids = np; + index_recorddeps(TRUE, lists->root, ie); msgInfo("Added %s to selection list", kp->name); } - else { + else if (ie->depc == 0) { WINDOW *save = savescr(); if (!msgYesNo("Do you really want to delete %s from the system?", kp->name)) if (vsystem("pkg_delete %s %s", isDebug() ? "-v" : "", kp->name)) msgConfirm("Warning: pkg_delete of %s failed.\n Check debug output for details.", kp->name); + else { + ie->installed = 0; + index_recorddeps(FALSE, lists->root, ie); + } restorescr(save); } + else + msgConfirm("Warning: Package %s is needed by\n %d other installed package%s.", + kp->name, ie->depc, (ie->depc != 1) ? "s" : ""); } else { + index_recorddeps(FALSE, lists->root, ie); msgInfo("Removed %s from selection list", kp->name); index_delete(sp); } ret = DITEM_SUCCESS; + /* Mark menu for redraw if we had dependencies */ + if (strlen(ie->deps) > 0) + ret |= DITEM_REDRAW; } else { /* Not a package, must be a directory */ int p, s; p = s = 0; - index_menu(kp, plist, &p, &s); + index_menu(lists->root, kp, plist, &p, &s); ret = DITEM_SUCCESS | DITEM_CONTINUE; } return ret; @@ -467,8 +511,9 @@ } int -index_menu(PkgNodePtr top, PkgNodePtr plist, int *pos, int *scroll) +index_menu(PkgNodePtr root, PkgNodePtr top, PkgNodePtr plist, int *pos, int *scroll) { + struct ListPtrs lists; int n, rval, maxname; int curr, max; PkgNodePtr kp; @@ -476,6 +521,10 @@ Boolean hasPackages; WINDOW *w; + lists.root = root; + lists.top = top; + lists.plist = plist; + hasPackages = FALSE; nitems = NULL; @@ -519,7 +568,7 @@ SAFE_STRCPY(buf, kp->desc); if (strlen(buf) > (_MAX_DESC - maxname)) buf[_MAX_DESC - maxname] = '\0'; - nitems = item_add(nitems, kp->name, buf, pkg_checked, pkg_fire, pkg_selected, kp, (int)plist, &curr, &max); + nitems = item_add(nitems, kp->name, buf, pkg_checked, pkg_fire, pkg_selected, kp, (int)&lists, &curr, &max); ++n; kp = kp->next; } @@ -545,7 +594,7 @@ /* These need to be set to point at the found item, actually. Hmmm! */ pos = scroll = 0; - index_menu(menu, plist, &pos, &scroll); + index_menu(root, menu, plist, &pos, &scroll); } else msgConfirm("Search string: %s yielded no hits.", cp); @@ -606,7 +655,41 @@ } } /* Done with the deps? Load the real m'coy */ - if (DITEM_STATUS(status) == DITEM_SUCCESS) + if (DITEM_STATUS(status) == DITEM_SUCCESS) { status = package_extract(dev, who->name, depended); + if (DITEM_STATUS(status) == DITEM_SUCCESS) + id->installed = 1; + } return status; +} + +static void +index_recorddeps(Boolean add, PkgNodePtr root, IndexEntryPtr ie) +{ + char depends[1024], *space, *todo; + PkgNodePtr found; + IndexEntryPtr found_ie; + + SAFE_STRCPY(depends, ie->deps); + for (todo = depends; todo != NULL; ) { + space = index(todo, ' '); + if (space != NULL) + *space = '\0'; + + if (strlen(todo) > 0) { /* only non-empty dependencies */ + found = index_search(root, todo, NULL); + if (found != NULL) { + found_ie = found->data; + if (add) + ++found_ie->depc; + else + --found_ie->depc; + } + } + + if (space != NULL) + todo = space + 1; + else + todo = NULL; + } } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jul 31 09:18:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA14264 for freebsd-bugs-outgoing; Fri, 31 Jul 1998 09:18:49 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from tim.xenologics.com (tim.xenologics.com [194.77.5.24]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA14237; Fri, 31 Jul 1998 09:18:34 -0700 (PDT) (envelope-from seggers@semyam.dinoco.de) Received: (from uucp@localhost) by tim.xenologics.com (8.8.5/8.8.8) with UUCP id SAA07889; Fri, 31 Jul 1998 18:16:55 +0200 (MET DST) Received: from semyam.dinoco.de (semyam.dinoco.de [127.0.0.1]) by semyam.dinoco.de (8.8.8/8.8.8) with ESMTP id SAA20979; Fri, 31 Jul 1998 18:14:31 +0200 (CEST) (envelope-from seggers@semyam.dinoco.de) Message-Id: <199807311614.SAA20979@semyam.dinoco.de> To: Poul-Henning Kamp cc: seggers@semyam.dinoco.de, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/7453 In-reply-to: Your message of "Fri, 31 Jul 1998 02:13:40 PDT." <199807310913.CAA07833@freefall.freebsd.org> Date: Fri, 31 Jul 1998 18:14:31 +0200 From: Stefan Eggers Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > what impact do you expect this change to have on other users of libdialog, > including the "stock" sysinstall ? Short version: Can be closed. I solved it another way and just was fooled by an out of date man page. The intention was to avoid repositioning in the list on a DITEM_RECREATE from a fire callback. It puts me on the first item in the list when I use it and that would be inacceptable as a response to the user selec- ting some software package for installation. With the undocumented DITEM_REDRAW I get the effect I desired so this is not required anymore. I sent in a PR about dialog(3) mentioning this problem. Stefan. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jul 31 10:10:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA21458 for freebsd-bugs-outgoing; Fri, 31 Jul 1998 10:10:04 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA21369 for ; Fri, 31 Jul 1998 10:10:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id KAA28118; Fri, 31 Jul 1998 10:10:00 -0700 (PDT) Received: from phmit.demon.co.uk (phmit.demon.co.uk [194.222.15.209]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA20550 for ; Fri, 31 Jul 1998 10:05:23 -0700 (PDT) (envelope-from dom@phmit.demon.co.uk) Received: from voodoo.pandhm.co.uk [192.15.143.228] by phmit.demon.co.uk with esmtp (Exim 1.82 #1) id 0z2IdY-00014L-00; Fri, 31 Jul 1998 18:06:36 +0100 Received: from dom by voodoo.pandhm.co.uk with local (Exim 1.92 #1) for FreeBSD-gnats-submit@freebsd.org id 0z2Id2-00023k-00; Fri, 31 Jul 1998 18:06:04 +0100 Message-Id: Date: Fri, 31 Jul 1998 18:06:04 +0100 From: Dom Mitchell Reply-To: dom@phmit.demon.co.uk To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/7457: unix macro in m4(1) bust Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7457 >Category: bin >Synopsis: unix macro in m4(1) bust >Confidential: yes >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 31 10:10:00 PDT 1998 >Last-Modified: >Originator: Dom Mitchell >Organization: Palmer & Harvey McLane Ltd. >Release: FreeBSD 2.2.7-STABLE i386 >Environment: FreeBSD voodoo.pandhm.co.uk 2.2.7-STABLE FreeBSD 2.2.7-STABLE #0: Fri Jul 24 02:15:59 BST 1998 root@voodoo.pandhm.co.uk:/usr/src/sys/compile/VOODOO i386 >Description: I'm trying to use the word `unix' in an m4 file that I'm writing, and I've found that the using the word "unix" fails badly, causing a syntax error. >How-To-Repeat: % echo unix | m4 m4: eval: major botch % It should behave like the other builtins and return NULL: % echo define | m4 % >Fix: None right now, I have to go home before I get shouted at by my S.O. :-) >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jul 31 11:50:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA04955 for freebsd-bugs-outgoing; Fri, 31 Jul 1998 11:50:05 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA04905 for ; Fri, 31 Jul 1998 11:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id LAA01467; Fri, 31 Jul 1998 11:50:00 -0700 (PDT) Received: from albert.osu.cz (albert.osu.cz [195.113.106.11]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA04468 for ; Fri, 31 Jul 1998 11:46:54 -0700 (PDT) (envelope-from belkovic@albert.osu.cz) Received: (from belkovic@localhost) by albert.osu.cz (8.8.5/8.6.12) id UAA01290; Fri, 31 Jul 1998 20:49:41 +0200 (MET DST) Message-Id: <199807311849.UAA01290@albert.osu.cz> Date: Fri, 31 Jul 1998 20:49:41 +0200 (MET DST) From: Josef Belkovics Reply-To: belkovic@albert.osu.cz To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/7458: syslogd Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Note: There was a bad value `?' for the field `>Severity:'. It was set to the default value of `serious'. Note: There was a bad value `?' for the field `>Priority:'. It was set to the default value of `medium'. >Number: 7458 >Category: bin >Synopsis: 'boot bug' in syslogd >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 31 11:50:00 PDT 1998 >Last-Modified: >Originator: Josef Belkovics >Organization: Ostrava University >Release: FreeBSD 2.2-7 RELEASE i386 >Environment: >Description: Syslogd has small 'buffer' to read messages from kernel at startup. HIER IS BUG. Jul 31 20:06:26 ix074 /kernel: Probing for devices on the ISA bus: Jul 31 20:06:26 ix074 /kernel: sc0 at 0x60-0x6f irq 1 on motherboard Jul 31 20:06:26 ix074 /kernel: sc0: VGA color <8 virtual consoles, flags=0x0> Jul 31 20:06:26 ix074 /kernel: s Jul 31 20:06:26 ix074 /kernel: io1 at 0x2f8-0x2ff irq 3 on isa Jul 31 20:06:26 ix074 /kernel: sio1: type 16550A Jul 31 20:06:27 ix074 /kernel: sio0 at 0x3f8-0x3ff irq 4 on isa IT SHOULD BE LOOK LIKE THIS: Jul 31 20:15:34 ix074 /kernel: Probing for devices on the ISA bus: Jul 31 20:15:34 ix074 /kernel: sc0 at 0x60-0x6f irq 1 on motherboard Jul 31 20:15:34 ix074 /kernel: sc0: VGA color <8 virtual consoles, flags=0x0> Jul 31 20:15:34 ix074 /kernel: sio1 at 0x2f8-0x2ff irq 3 on isa Jul 31 20:15:34 ix074 /kernel: sio1: type 16550A Jul 31 20:15:34 ix074 /kernel: sio0 at 0x3f8-0x3ff irq 4 on isa >How-To-Repeat: Boot system and look at /var/log/messages. >Fix: I don't know it for syslogd in 2.2.7 RELEASE. For syslogd from 2.2.6 RELEASE fix is: *** syslogd.c Fri Jul 31 20:20:50 1998 --- syslogd.c.hp Mon Mar 9 13:56:00 1998 *************** static const char copyright[] = *** 42,48 **** static char sccsid[] = "@(#)syslogd.c 8.3 (Berkeley) 4/4/94"; #endif static const char rcsid[] = ! "$Id: syslogd.c,v 1.12.2.11 1998/03/09 13:56:07 (jkh) Exp $"; #endif /* not lint */ /* --- 42,48 ---- static char sccsid[] = "@(#)syslogd.c 8.3 (Berkeley) 4/4/94"; #endif static const char rcsid[] = ! "$Id: syslogd.c,v 1.12.2.11 1998/03/09 13:56:07 jkh Exp $"; #endif /* not lint */ /* *************** static const char rcsid[] = *** 81,89 **** #include #include #include - #define KERNEL #include - #undef KERNEL #include #include #include --- 81,87 ---- *************** main(argc, argv) *** 288,294 **** struct sockaddr_un sunx, fromunix; struct sockaddr_in sin, frominet; FILE *fp; ! char *p, *hname, line[MSGBUF_SIZE + 1]; struct timeval tv, *tvp; pid_t ppid; --- 286,292 ---- struct sockaddr_un sunx, fromunix; struct sockaddr_in sin, frominet; FILE *fp; ! char *p, *hname, line[MSG_BSIZE + 1]; struct timeval tv, *tvp; pid_t ppid; Josef Belkovics >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jul 31 16:20:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA22748 for freebsd-bugs-outgoing; Fri, 31 Jul 1998 16:20:07 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA22670 for ; Fri, 31 Jul 1998 16:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id QAA15088; Fri, 31 Jul 1998 16:20:01 -0700 (PDT) Received: from pau-amma.whistle.com (s205m64.whistle.com [207.76.205.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA22119 for ; Fri, 31 Jul 1998 16:16:54 -0700 (PDT) (envelope-from dhw@whistle.com) Received: (from dhw@localhost) by pau-amma.whistle.com (8.8.8/8.8.7) id QAA22497; Fri, 31 Jul 1998 16:15:45 -0700 (PDT) (envelope-from dhw) Message-Id: <199807312315.QAA22497@pau-amma.whistle.com> Date: Fri, 31 Jul 1998 16:15:45 -0700 (PDT) From: David Wolfskill Reply-To: dhw@whistle.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: misc/7459: /usr/share/zoneinfo/zone.tab has a bad file reference Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7459 >Category: misc >Synopsis: /usr/share/zoneinfo/zone.tab has a bad file reference >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 31 16:20:00 PDT 1998 >Last-Modified: >Originator: David Wolfskill >Organization: Whistle Communications >Release: FreeBSD 2.2.6-RELEASE i386 >Environment: Seems to be an issue up through -current. >Description: /usr/share/zoneinfo/zone.tab says: # 1. ISO 3166 2-character country code. See the file `iso3166.tab'. The file in question is actually /usr/share/misc/iso3166. >How-To-Repeat: Look at /usr/share/zoneinfo/zone.tab. >Fix: Well, how about this: --- zoneinfo Fri Jul 31 16:13:12 1998 +++ zoneinfo.new Fri Jul 31 16:14:15 1998 @@ -7218,7 +7218,8 @@ # From Paul Eggert (1996-08-05): # # This file contains a table with the following columns: -# 1. ISO 3166 2-character country code. See the file `iso3166.tab'. +# 1. ISO 3166 2-character country code. See the file + `/usr/share/misc/iso3166'. # 2. Latitude and longitude of the zone's principal location # in ISO 6709 sign-degrees-minutes-seconds format, # either +-DDMM+-DDDMM or +-DDMMSS+-DDDMMSS, >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Aug 1 02:46:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA24773 for freebsd-bugs-outgoing; Sat, 1 Aug 1998 02:46:41 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA24737; Sat, 1 Aug 1998 02:46:29 -0700 (PDT) (envelope-from des@FreeBSD.org) From: "Dag-Erling C. Sm\xf8rgrav" Received: (from des@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id CAA27755; Sat, 1 Aug 1998 02:46:28 -0700 (PDT) Date: Sat, 1 Aug 1998 02:46:28 -0700 (PDT) Message-Id: <199808010946.CAA27755@freefall.freebsd.org> To: dhw@whistle.com, des@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: misc/7459 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: /usr/share/zoneinfo/zone.tab has a bad file reference State-Changed-From-To: open-closed State-Changed-By: des State-Changed-When: Sat Aug 1 02:46:13 PDT 1998 State-Changed-Why: Fixed in -stable and -current. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Aug 1 18:50:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA15686 for freebsd-bugs-outgoing; Sat, 1 Aug 1998 18:50:06 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA15674 for ; Sat, 1 Aug 1998 18:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id SAA15901; Sat, 1 Aug 1998 18:50:01 -0700 (PDT) Received: from thingfish.v-wave.com (thingfish.v-wave.com [24.108.17.129]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA15581 for ; Sat, 1 Aug 1998 18:49:40 -0700 (PDT) (envelope-from lyndon@thingfish.v-wave.com) Received: (from lyndon@localhost) by thingfish.v-wave.com (8.9.1/8.9.1) id TAA00988; Sat, 1 Aug 1998 19:49:20 -0600 (MDT) Message-Id: <199808020149.TAA00988@thingfish.v-wave.com> Date: Sat, 1 Aug 1998 19:49:20 -0600 (MDT) From: lyndon@orthanc.ab.ca Reply-To: lyndon@orthanc.ab.ca To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/7466: adventures should be magic Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7466 >Category: bin >Synopsis: new adventure magic >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Aug 1 18:50:01 PDT 1998 >Last-Modified: >Originator: >Organization: The Frobozz Magic Homing Pigeon Company >Release: FreeBSD 2.2.7-STABLE i386 >Environment: >Description: This PR contains additional magic for file(1) describing various adventure game data files. >How-To-Repeat: >Fix: Add the following to /usr/src/usr.bin/file/Magdir/adventure: #------------------------------------------------------------------------------ # adventure: file(1) magic for Infocom (and other) adventure games # # Adventure game formats # # from Allen Garvin # Edited by Dave Chapeskie Jun 28, 1998 # # Contributed to FreeBSD by Lyndon Nerenberg . # This file was taken from the Interactive Fiction archives at # ftp://ftp.gmd.de/if-archive/utilities/magic (*the* place for text # adventure games from a by-gone era). Please send me updates and # I'll make sure they get back to the GMD archives. (1998 AUG 1) # # ALAN # I assume there are other, lower versions, but these are the only ones I # saw in the archive. # 0 beshort 0x0206 ALAN text adventure code data >Audit-Trail: >Unformatted: >2 byte <10 version 2.6%d # # Infocom # # (Note: to avoid false matches Z-machine version 1 and 2 are not # recognized since only the oldest Zork I and II used them. Similarly # there are 4 Infocom games that use verion 4 that are not recognized.) # 0 byte 3 Infocom game data (Z-machine 3, >2 beshort <0x7fff Release %3d, #>26 beshort >0 Size %d*2 >18 string >\0 Serial %.6s) 0 byte 5 Infocom game data (Z-machine 5, >2 beshort <0x7fff Release %3d, #>26 beshort >0 Size %d*4 >18 string >\0 Serial %.6s) 0 byte 6 Infocom game data (Z-machine 6, >2 beshort <0x7fff Release %3d, #>26 beshort >0 Size %d*8 >18 string >\0 Serial %.6s) 0 byte 8 Infocom game data (Z-machine 8, >2 beshort <0x7fff Release %3d, #>26 beshort >0 Size %d*8 >18 string >\0 Serial %.6s) # # TADS (Text Adventure Development System) # 0 string TADS TADS adventure game data >13 string >\0 (ver. %.6s, >22 string >\0 date %s) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Aug 1 20:10:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA23384 for freebsd-bugs-outgoing; Sat, 1 Aug 1998 20:10:05 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA23331 for ; Sat, 1 Aug 1998 20:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id UAA16971; Sat, 1 Aug 1998 20:10:00 -0700 (PDT) Received: from itachi.swcp.com (itachi.swcp.com [198.59.115.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA23025 for ; Sat, 1 Aug 1998 20:03:39 -0700 (PDT) (envelope-from bwalter@itachi.swcp.com) Received: (from bwalter@localhost) by itachi.swcp.com (8.8.8/8.8.8) id VAA00303; Sat, 1 Aug 1998 21:04:21 -0600 (MDT) (envelope-from bwalter) Message-Id: <199808020304.VAA00303@itachi.swcp.com> Date: Sat, 1 Aug 1998 21:04:21 -0600 (MDT) From: Ben Walter Reply-To: bwalter@itachi.swcp.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: misc/7467: directory error with hangman man page Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7467 >Category: misc >Synopsis: directory error with hangman man page >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sat Aug 1 20:10:00 PDT 1998 >Last-Modified: >Originator: Ben Walter >Organization: none >Release: FreeBSD 2.2.7-STABLE i386 >Environment: man page for 'hangman' first page >Description: directory/file listed for word database is incorrect. Is currently shown in man page as /usr/dict/words but should be /usr/share/dict/words >How-To-Repeat: view man page for hangman >Fix: add the one missing directory to man page's directions >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message