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