Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jul 1998 20:49:41 +0200 (MET DST)
From:      Josef Belkovics <belkovic@albert.osu.cz>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/7458: syslogd
Message-ID:  <199807311849.UAA01290@albert.osu.cz>

index | next in thread | raw e-mail

	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 <sys/stat.h>
  #include <sys/wait.h>
  #include <sys/socket.h>
- #define  KERNEL
  #include <sys/msgbuf.h>
- #undef   KERNEL
  #include <sys/queue.h>
  #include <sys/uio.h>
  #include <sys/un.h>
--- 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


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807311849.UAA01290>