From owner-freebsd-bugs Thu Apr 27 14:20: 4 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 8A25937BF55 for ; Thu, 27 Apr 2000 14:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA13936; Thu, 27 Apr 2000 14:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Thu, 27 Apr 2000 14:20:02 -0700 (PDT) Message-Id: <200004272120.OAA13936@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Nick Hibma Subject: Re: kern/16767: open("/dev/ppi0") will crash machine without sync disk Reply-To: Nick Hibma Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/16767; it has been noted by GNATS. From: Nick Hibma To: freebsd-gnats-submit@FreeBSD.org, jin@gracie.lbl.gov Cc: Subject: Re: kern/16767: open("/dev/ppi0") will crash machine without sync disk Date: Thu, 27 Apr 2000 21:08:53 +0000 First of all, sorry about copying the whole message again in my reply. Second, rev. 1.22 of ppi.c already contains the check for bus alloc failing. Thanks for the patch though. On the shareable flag. It doesn't hurt to add it. And if it makes it work for you, just leave it there, it's a good idea. I won't add it for the general case, as with ISA hardware it more often breaks than that it is valid solution. On the header files: The best solution would be to copy those to /usr/include/sys/dev/ppbus during make world where they belong (like the /sys/dev/usb ones), but I can't be bothered at the moment. Thanks for the PR! Nick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message