From owner-freebsd-bugs@FreeBSD.ORG Sun Sep 14 04:30:17 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 390F716A4BF for ; Sun, 14 Sep 2003 04:30:17 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5AFE43FE0 for ; Sun, 14 Sep 2003 04:30:15 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8EBUFUp097635 for ; Sun, 14 Sep 2003 04:30:15 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8EBUF7D097634; Sun, 14 Sep 2003 04:30:15 -0700 (PDT) Resent-Date: Sun, 14 Sep 2003 04:30:15 -0700 (PDT) Resent-Message-Id: <200309141130.h8EBUF7D097634@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Bjoern A. Zeeb" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C3B316A4C0 for ; Sun, 14 Sep 2003 04:27:58 -0700 (PDT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FD2843FF9 for ; Sun, 14 Sep 2003 04:27:56 -0700 (PDT) (envelope-from bz@zabbadoz.net) Received: from localhost (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 6C9241FF906 for ; Sun, 14 Sep 2003 13:27:54 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id 3093B1FF8FF; Sun, 14 Sep 2003 13:27:53 +0200 (CEST) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 667A7155E8; Sun, 14 Sep 2003 11:27:37 +0000 (UTC) Message-Id: <20030914112737.667A7155E8@mail.int.zabbadoz.net> Date: Sun, 14 Sep 2003 11:27:37 +0000 (UTC) From: "Bjoern A. Zeeb" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: bzeeb+freebsd@zabbadoz.net Subject: kern/56865: sys/endian.h broken with c++ X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Bjoern A. Zeeb" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2003 11:30:17 -0000 >Number: 56865 >Category: kern >Synopsis: sys/endian.h broken with c++ >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 Sep 14 04:30:15 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Bjoern A. Zeeb >Release: FreeBSD 5.1-RELEASE i386 >Organization: Zabbadoz.NeT >Environment: System: FreeBSD e0-0.noc.int.zabbadoz.net 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: from what I can see sys/endian.h is still broken - at least on i386 - with c++ in HEAD This is somewhat wellknown and nobody fixes this :((( >How-To-Repeat: /* compile with: c++ endian.c */ #include int main(int argc, char *argv[]) { return 0; } >Fix: please see http://lists.freebsd.org/pipermail/freebsd-hackers/2003-June/001477.html >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Sun Sep 14 06:40:13 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40DF616A4BF for ; Sun, 14 Sep 2003 06:40:13 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D8C443FE3 for ; Sun, 14 Sep 2003 06:40:12 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8EDeCUp049443 for ; Sun, 14 Sep 2003 06:40:12 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8EDeCA6049442; Sun, 14 Sep 2003 06:40:12 -0700 (PDT) Date: Sun, 14 Sep 2003 06:40:12 -0700 (PDT) Message-Id: <200309141340.h8EDeCA6049442@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: lupe@lupe-christoph.de (Lupe Christoph) Subject: Re: kern/26506: sendto() syscall returns EINVAL in jail environment X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Lupe Christoph List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2003 13:40:13 -0000 The following reply was made to PR kern/26506; it has been noted by GNATS. From: lupe@lupe-christoph.de (Lupe Christoph) To: freebsd-gnats-submit@FreeBSD.org Cc: venglin@freebsd.lublin.pl Subject: Re: kern/26506: sendto() syscall returns EINVAL in jail environment Date: Sun, 14 Sep 2003 15:33:10 +0200 The two-line patch does not work for snmpwalk. It fails on the *second* invocation of sendto(), with or without the patch: 275 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 6 275 setsockopt(6, SOL_SOCKET, SO_SNDBUF, [131072], 4) = 0 275 setsockopt(6, SOL_SOCKET, SO_RCVBUF, [131072], 4) = 0 275 sendto(6, "0&\2\1\0\4\6public\241\31\2\4NE\335\376\2\1\0\2\1\0000"..., 40, 0, {sa_family=AF_INET, sin_port=htons(161), sin_addr=inet_addr("172.17.0.7")}, 16) = 40 275 gettimeofday({1063545390, 64920}, NULL) = 0 275 gettimeofday({1063545390, 65344}, NULL) = 0 275 select(7, [6], NULL, NULL, {0, 999576}) = 1 (in [6]) 275 break(0x809b000) = 0 275 recvfrom(6, "0\201\200\2\1\0\4\6public\242s\2\4NE\335\376\2\1\0\2\1"..., 65536, 0, {sa_family=AF_INET, sin_port=htons(161), sin_addr=inet_addr("172.17.0.8")}, [16]) = 131 275 fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(5, 0), ...}) = 0 275 ioctl(1, TIOCGETA, {B38400 opost isig icanon echo ...}) = 0 275 write(1, "SNMPv2-MIB::sysDescr.0 = STRING:"..., 121) = 121 275 sendto(6, "0)\2\1\0\4\6public\241\34\2\4NE\335\377\2\1\0\2\1\0000"..., 43, 0, {sa_family=AF_INET, sin_port=htons(161), sin_addr=inet_addr("172.17.0.7")}, 16) = -1 EINVAL (Invalid argument) 275 write(2, "snmpwalk: Failure in sendto (Inv"..., 47) = 47 275 close(6) = 0 275 exit(1) = ? This is on 4.8-RELEASE-p4. Przemyslaw Frasunek's patch for 4.5-STABLE does not apply to 4.8-STABLE, so I can't check if that method works. It's possible this problem is caused by something else, anyway. -- | lupe@lupe-christoph.de | http://www.lupe-christoph.de/ | | "Violence is the resort of the violent" Lu Tze | | "Thief of Time", Terry Pratchett | From owner-freebsd-bugs@FreeBSD.ORG Sun Sep 14 09:01:00 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E94D16A4BF for ; Sun, 14 Sep 2003 09:01:00 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8F5F43FE1 for ; Sun, 14 Sep 2003 09:00:32 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8EG0WUp016484 for ; Sun, 14 Sep 2003 09:00:32 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8EG0Wc3016483; Sun, 14 Sep 2003 09:00:32 -0700 (PDT) Resent-Date: Sun, 14 Sep 2003 09:00:32 -0700 (PDT) Resent-Message-Id: <200309141600.h8EG0Wc3016483@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Steven G. Kargl" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36C1F16A4BF for ; Sun, 14 Sep 2003 08:57:54 -0700 (PDT) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 419F743FF2 for ; Sun, 14 Sep 2003 08:57:52 -0700 (PDT) (envelope-from kargl@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) h8EFvpeg016915 for ; Sun, 14 Sep 2003 08:57:52 -0700 (PDT) (envelope-from kargl@troutmask.apl.washington.edu) Received: (from kargl@localhost)h8EFvpch016914; Sun, 14 Sep 2003 08:57:51 -0700 (PDT) (envelope-from kargl) Message-Id: <200309141557.h8EFvpch016914@troutmask.apl.washington.edu> Date: Sun, 14 Sep 2003 08:57:51 -0700 (PDT) From: "Steven G. Kargl" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/56869: uart module breaks buildkernel on 1386 platform X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Steven G. Kargl" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2003 16:01:00 -0000 >Number: 56869 >Category: kern >Synopsis: uart module breaks buildkernel on 1386 platform >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 14 09:00:32 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Steven G. Kargl >Release: FreeBSD 5.1-CURRENT i386 >Organization: apl/uw >Environment: System: FreeBSD troutmask.apl.washington.edu 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Thu Sep 11 13:33:32 PDT 2003 kargl@troutmask.apl.washington.edu:/usr/obj/usr/src/sys/TROUTMASK i386 i386 architecture >Description: ===> uart @ -> /usr/src/sys machine -> /usr/src/sys/i386/include awk -f @/tools/makeobjops.awk @/dev/uart/uart_if.m -c awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/isa/isa_if.m -h awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h awk -f @/tools/makeobjops.awk @/dev/uart/uart_if.m -h rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/../include -I/usr/obj/usr/src/i386/usr/include /usr/src/sys/modules/uart/../../dev/uart/uart_bus_acpi.c /usr/src/sys/modules/uart/../../dev/uart/uart_bus_ebus.c /usr/src/sys/modules/uart/../../dev/uart/uart_bus_isa.c /usr/src/sys/modules/uart/../../dev/uart/uart_bus_pci.c /usr/src/sys/modules/uart/../../dev/uart/uart_bus_puc.c /usr/src/sys/modules/uart/../../dev/uart/uart_core.c /usr/src/sys/modules/uart/../../dev/uart/uart_cpu_i386.c /usr/src/sys/modules/uart/../../dev/uart/uart_dev_i8251.c /usr/src/sys/modules/uart/../../dev/uart/uart_dev_ns8250.c /usr/src/sys/modules/uart/../../dev/uart/uart_dev_sab82532.c /usr/src/sys/modules/uart/../../dev/uart/uart_dev_z8530.c uart_if.c /usr/src/sys/modules/uart/../../dev/uart/uart_tty.c /usr/src/sys/dev/uart/uart_bus_ebus.c:39:34: sparc64/ebus/ebusvar.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /usr/src/sys/modules/uart. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/local/obj/usr/src/sys/HOTRATS. *** Error code 1 Stop in /usr/src. *** Error code 1 >How-To-Repeat: On an i386 system, do cvsup rm -rf /usr/src/sys/sparc64 make buildworld make buildkernel >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Sun Sep 14 10:10:19 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BBF816A5C5 for ; Sun, 14 Sep 2003 10:10:19 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 274AD43FE5 for ; Sun, 14 Sep 2003 10:10:17 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8EHAHUp040472 for ; Sun, 14 Sep 2003 10:10:17 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8EHAG3A040471; Sun, 14 Sep 2003 10:10:16 -0700 (PDT) Resent-Date: Sun, 14 Sep 2003 10:10:16 -0700 (PDT) Resent-Message-Id: <200309141710.h8EHAG3A040471@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Spartak Radchenko Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B33C16A4BF; Sun, 14 Sep 2003 10:03:18 -0700 (PDT) Received: from corwin.aif.ru (corwin.aif.ru [212.15.98.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2429D43FBF; Sun, 14 Sep 2003 10:03:17 -0700 (PDT) (envelope-from spartak@corwin.aif.ru) Received: from corwin.aif.ru (localhost [127.0.0.1]) by corwin.aif.ru (8.12.9/8.12.9) with ESMTP id h8EH3FED000818; Sun, 14 Sep 2003 21:03:15 +0400 (MSD) (envelope-from spartak@corwin.aif.ru) Received: (from spartak@localhost) by corwin.aif.ru (8.12.9/8.12.9/Submit) id h8EH3EWv000817; Sun, 14 Sep 2003 21:03:14 +0400 (MSD) (envelope-from spartak) Message-Id: <200309141703.h8EH3EWv000817@corwin.aif.ru> Date: Sun, 14 Sep 2003 21:03:14 +0400 (MSD) From: Spartak Radchenko To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: stable@FreeBSD.org cc: re@FreeBSD.org Subject: kern/56871: dd can't write variable length data blocks to SCSI DDS streamer. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Spartak Radchenko List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2003 17:10:19 -0000 >Number: 56871 >Category: kern >Synopsis: dd can't write variable length data blocks to SCSI DDS streamer. >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 Sep 14 10:10:16 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Spartak Radchenko >Release: FreeBSD 4.9-PRERELEASE i386 >Organization: Arguments & Facts Weekly >Environment: System: FreeBSD corwin.aif.ru 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #0: Sun Sep 14 18:44:54 MSD 2003 spartak@corwin.aif.ru:/usr/obj/usr/src/sys/corwin i386 >Description: dd can't write the last short data block to SCSI DDS streamer. Moreover, it can't write variable length records, only in multiples of 1024. This problem was introduced in RELENG_4 between Aug 14 and Sep 10 2003. >How-To-Repeat: corwin# dd if=/dev/zero ibs=1024 count=1 obs=1024 of=/dev/sa0 1+0 records in 1+0 records out 1024 bytes transferred in 0.001765 secs (580166 bytes/sec) corwin# 1024 bytes are written, all OK. corwin# dd if=/dev/zero ibs=1025 count=1 obs=1024 of=/dev/sa0 dd: /dev/sa0: Invalid argument 1+0 records in 1+0 records out 1024 bytes transferred in 0.004238 secs (241623 bytes/sec) corwin# The last byte from 1025 is lost. There is a message in /var/log/messages: Sep 14 20:39:52 corwin /kernel: (sa0:ahd1:0:0:0): Invalid request. Fixed block device requests must be a multiple of 1024 bytes >Fix: I don't know the fix for this problem. In some cases a simple workaround can be used: dd if=... of=/dev/sa0 obs=1024 conv=osync >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Sun Sep 14 11:10:21 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED62816A4BF for ; Sun, 14 Sep 2003 11:10:21 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F9D243FBF for ; Sun, 14 Sep 2003 11:10:18 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8EIAHUp058584 for ; Sun, 14 Sep 2003 11:10:17 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8EIAHHN058583; Sun, 14 Sep 2003 11:10:17 -0700 (PDT) Resent-Date: Sun, 14 Sep 2003 11:10:17 -0700 (PDT) Resent-Message-Id: <200309141810.h8EIAHHN058583@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, peter stern Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37ACC16A4BF for ; Sun, 14 Sep 2003 11:03:16 -0700 (PDT) Received: from jago.65north.com (209-193-47-81-cdsl-rb1.fai.acsalaska.net [209.193.47.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B0F543F93 for ; Sun, 14 Sep 2003 11:03:15 -0700 (PDT) (envelope-from pstern@jago.65north.com) Received: from jago.65north.com (localhost.65north.com [127.0.0.1]) by jago.65north.com (8.12.9/8.12.9) with ESMTP id h8EI40UM000634 for ; Sun, 14 Sep 2003 10:04:00 -0800 (AKDT) (envelope-from pstern@jago.65north.com) Received: (from pstern@localhost) by jago.65north.com (8.12.9/8.12.8/Submit) id h8EI40Rf000633; Sun, 14 Sep 2003 10:04:00 -0800 (AKDT) (envelope-from pstern) Message-Id: <200309141804.h8EI40Rf000633@jago.65north.com> Date: Sun, 14 Sep 2003 10:04:00 -0800 (AKDT) From: peter stern To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/56873: system hangs on boot at Buslogic device X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: peter stern List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2003 18:10:22 -0000 >Number: 56873 >Category: kern >Synopsis: system hangs on boot at Buslogic device >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 14 11:10:17 PDT 2003 >Closed-Date: >Last-Modified: >Originator: peter stern >Release: FreeBSD 4.9-RC6 i386 >Organization: >Environment: System: FreeBSD jago.65north.com 4.9-RC6 FreeBSD 4.9-RC #6: Sat Sep 13 08:46:12 AKDT 2003 >Description: system hangs on boot at the line chip0 <(intel power management controller) port 0x7000 0x700F at device 7.3 on pci0. I believe the problem is the next device which should be a Bustek BT958. The kernel was built using make buildkernel and is not customized. Here is dmesg info from a 4.8 system that does boot chip0: port 0x7000-0x700f at device 7.3 on pci0 bt0: port 0x1090-0x1093 mem 0xf4004000-0xf4004fff irq 9 at device 13.0 on pci0 bt0: BT-958 FW Rev. 5.06I Ultra Wide SCSI Host Adapter, SCSI ID 7, 192 CCBs >How-To-Repeat: every reboot >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Mon Sep 15 05:10:16 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 409E916A4BF for ; Mon, 15 Sep 2003 05:10:16 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD29443FD7 for ; Mon, 15 Sep 2003 05:10:13 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8FCADUp098862 for ; Mon, 15 Sep 2003 05:10:13 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8FCAD3w098861; Mon, 15 Sep 2003 05:10:13 -0700 (PDT) Resent-Date: Mon, 15 Sep 2003 05:10:13 -0700 (PDT) Resent-Message-Id: <200309151210.h8FCAD3w098861@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Angelo Turetta" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4509D16A4C0 for ; Mon, 15 Sep 2003 05:02:40 -0700 (PDT) Received: from mailbox.rainbownet.com (mailbox.rainbownet.com [213.174.191.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E24843FDD for ; Mon, 15 Sep 2003 05:02:38 -0700 (PDT) (envelope-from ATuretta@commit.it) Received: from WorldClient ([127.0.0.1]) (authenticated user aturetta@rainbownet.com) by rainbownet.com (rainbownet.com [127.0.0.1]) (MDaemon.PRO.v6.8.4.R) with ESMTP id 38-md50000000201.tmp for ; Mon, 15 Sep 2003 14:00:03 +0200 Received: from [62.110.141.131] via WorldClient with HTTP; Mon, 15 Sep 2003 14:00:02 +0200 Message-Id: Date: Mon, 15 Sep 2003 14:00:02 +0200 From: "Angelo Turetta" To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/56889: Fwd: MODE_SENSE_BIG timeout hanging boot if CD-ROM is jumpered as master X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2003 12:10:16 -0000 >Number: 56889 >Category: kern >Synopsis: MODE_SENSE_BIG timeout hanging boot if CD-ROM is jumpered >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 Sep 15 05:10:13 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Angelo Turetta >Release: FreeBSD 4.9-PRERELEASE i386 >Organization: >Environment: System: FreeBSD fw.ceditsrl.it 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #1: Wed Sep 10 19:03:39 CEST 2003 toor@fw.ceditsrl.it:/usr/obj/usr/src/sys/CEDIT2 i386 Intel 82801 chipset Pentium IV 2400 Intel ICH4 builti-in ATA100 controller Maxtor 6E040L0 as master device on primary ATA bus Samsung CD-ROM SC-152A on secondary ATA bus >Description: When the CD-ROM is set as master on its own bus (the factory setting on the PC I was installing) the kernel boot process stops after detecting ad0 and acd0. From then on, a seemingly endless sequence of acd0: MODE_SENSE_BIG command timeout - resetting ata1: resetting devices .. done lines are displayed on the screen. >How-To-Repeat: >Fix: Re-jumpering the CD-ROM to act as slave (instead of master) solves the problem. This hint was found in a message from a mailing list, and not on PR kern/36610 (which was recently closed, but the promlem is not solved) >Release-Note: >Audit-Trail: >Unformatted: as master From owner-freebsd-bugs@FreeBSD.ORG Mon Sep 15 10:30:17 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E830516A4BF for ; Mon, 15 Sep 2003 10:30:16 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CAAA43FDD for ; Mon, 15 Sep 2003 10:30:15 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8FHUFUp030655 for ; Mon, 15 Sep 2003 10:30:15 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8FHUFBe030654; Mon, 15 Sep 2003 10:30:15 -0700 (PDT) Resent-Date: Mon, 15 Sep 2003 10:30:15 -0700 (PDT) Resent-Message-Id: <200309151730.h8FHUFBe030654@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ryuichiro Imura Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7269A16A4BF for ; Mon, 15 Sep 2003 10:25:34 -0700 (PDT) Received: from mail.ryu16.org (YahooBB219005044040.bbtec.net [219.5.44.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E6AB43FDD for ; Mon, 15 Sep 2003 10:25:32 -0700 (PDT) (envelope-from imura@ryu16.org) Received: from redeye.xt.ryu16.org (localhost [127.0.0.1]) by mail.ryu16.org (8.12.9/8.12.9) with ESMTP id h8FHPUCL052936 for ; Tue, 16 Sep 2003 02:25:30 +0900 (JST) (envelope-from imura@redeye.xt.ryu16.org) Received: (from imura@localhost) by redeye.xt.ryu16.org (8.12.9/8.12.9/Submit) id h8FHPUYE052935; Tue, 16 Sep 2003 02:25:30 +0900 (JST) Message-Id: <200309151725.h8FHPUYE052935@redeye.xt.ryu16.org> Date: Tue, 16 Sep 2003 02:25:30 +0900 (JST) From: Ryuichiro Imura To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/56897: kern_linker.c: prefversion != module's version causes panic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ryuichiro Imura List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2003 17:30:17 -0000 >Number: 56897 >Category: kern >Synopsis: kern_linker.c: prefversion != module's version causes panic >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 15 10:30:14 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Ryuichiro Imura >Release: FreeBSD 5.1-CURRENT i386 >Organization: >Environment: System: FreeBSD bluewind.xt.ryu16.org 5.1-CURRENT FreeBSD 5.1-CURRENT #1: Tue Sep 16 02:05:33 JST 2003 root@bluewind.xt.ryu16.org:/usr/src/sys/i386/compile/BLUE i386 >Description: In kern_linker.c, "bestmod" is initialized as NULL in modlist_lookup2(), "ver > bestmod->version" causes system panic, when md_ver_preferred != the module's version. >How-To-Repeat: Edit one of prefversion in MODULE_DEPEND() in the tree, and load it. >Fix: I don't know the case that found_modules has two modules these name are the same, I just remove "ver > bestmod->version"... Index: kern_linker.c =================================================================== RCS file: /home/ncvs/src/sys/kern/kern_linker.c,v retrieving revision 1.107 diff -u -u -9 -r1.107 kern_linker.c --- kern_linker.c 27 Jul 2003 17:04:55 -0000 1.107 +++ kern_linker.c 15 Sep 2003 17:08:24 -0000 @@ -1079,20 +1079,19 @@ bestmod = NULL; for (mod = TAILQ_FIRST(&found_modules); mod; mod = TAILQ_NEXT(mod, link)) { if (strcmp(mod->name, name) != 0) continue; ver = mod->version; if (ver == verinfo->md_ver_preferred) return (mod); if (ver >= verinfo->md_ver_minimum && - ver <= verinfo->md_ver_maximum && - ver > bestmod->version) + ver <= verinfo->md_ver_maximum) bestmod = mod; } return (bestmod); } static modlist_t modlist_newmodule(const char *modname, int version, linker_file_t container) { modlist_t mod; >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Mon Sep 15 11:04:30 2003 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCCAD16A4BF for ; Mon, 15 Sep 2003 11:04:30 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A22E43FE0 for ; Mon, 15 Sep 2003 11:04:29 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8FI4TUp041302 for ; Mon, 15 Sep 2003 11:04:29 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8FI3Twc041292 for freebsd-bugs@freebsd.org; Mon, 15 Sep 2003 11:03:29 -0700 (PDT) Date: Mon, 15 Sep 2003 11:03:29 -0700 (PDT) Message-Id: <200309151803.h8FI3Twc041292@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: open PR's (mis)filed to gnats-admin and in limbo X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2003 18:04:30 -0000 Current FreeBSD problem reports No matches to your query From owner-freebsd-bugs@FreeBSD.ORG Mon Sep 15 11:05:30 2003 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98A5416A4BF for ; Mon, 15 Sep 2003 11:05:30 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B119843FE3 for ; Mon, 15 Sep 2003 11:05:29 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8FI5TUp043718 for ; Mon, 15 Sep 2003 11:05:29 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8FI4TxS041307 for freebsd-bugs@freebsd.org; Mon, 15 Sep 2003 11:04:29 -0700 (PDT) Date: Mon, 15 Sep 2003 11:04:29 -0700 (PDT) Message-Id: <200309151804.h8FI4TxS041307@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 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2003 18:05:30 -0000 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 problem is understood and a solution is being sought. f - feedback Further work requires additional information from the originator or the community - possibly confirmation of the effectiveness of a proposed solution. p - patched A patch has been committed, but some issues (MFC and / or confirmation from originator) are still open. s - suspended The problem is not being worked on, due to lack of information or resources. 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 -- or when fixing the problem is abandoned. No matches to your query From owner-freebsd-bugs@FreeBSD.ORG Mon Sep 15 11:30:21 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2FC616A4BF for ; Mon, 15 Sep 2003 11:30:20 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D42043F85 for ; Mon, 15 Sep 2003 11:30:20 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8FIUJUp051328 for ; Mon, 15 Sep 2003 11:30:19 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8FIUJlh051326; Mon, 15 Sep 2003 11:30:19 -0700 (PDT) Date: Mon, 15 Sep 2003 11:30:19 -0700 (PDT) Message-Id: <200309151830.h8FIUJlh051326@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Marco Wertejuk Subject: Re: conf/56506: A wireless network card is missing in 4.8-stables pccard db X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Marco Wertejuk List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2003 18:30:21 -0000 The following reply was made to PR conf/56506; it has been noted by GNATS. From: Marco Wertejuk To: freebsd-gnats-submit@FreeBSD.org Cc: imp@bsdimp.com Subject: Re: conf/56506: A wireless network card is missing in 4.8-stables pccard db Date: Mon, 15 Sep 2003 20:21:36 +0200 As requested by Warner, here is the pccardc dump: Configuration data for card in slot 0 Tuple #1, code = 0x1 (Common memory descriptor), length = 3 000: 00 00 ff Common memory device information: Device number 1, type No device, WPS = OFF Speed = No speed, Memory block size = 512b, 1 units Tuple #2, code = 0x17 (Attribute memory descriptor), length = 4 000: 67 5a 08 ff Attribute memory device information: Device number 1, type SRAM, WPS = OFF Speed = 5.0 x 100 ns, Memory block size = 512b, 2 units Tuple #3, code = 0x1d (Other conditions for attribute memory), length = 5 000: 01 67 5a 08 ff (MWAIT) Tuple #4, code = 0x15 (Version 1 info), length = 80 000: 05 00 45 4c 53 41 00 56 69 61 6e 65 63 74 20 57 010: 4c 41 4e 20 4d 43 2d 31 31 00 56 65 72 73 69 6f 020: 6e 20 30 31 2e 30 31 00 00 00 00 00 00 00 00 00 030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff Version = 5.0, Manuf = [ELSA], card vers = [Vianect WLAN MC-11] Addit. info = [Version 01.01],[] Tuple #5, code = 0x20 (Manufacturer ID), length = 4 000: 56 01 02 00 PCMCIA ID = 0x156, OEM ID = 0x2 Tuple #6, code = 0x21 (Functional ID), length = 2 000: 06 00 Network/LAN adapter Tuple #7, code = 0x22 (Functional EXT), length = 2 000: 01 07 Network technology: Wireless Tuple #8, code = 0x22 (Functional EXT), length = 5 000: 02 40 42 0f 00 Network speed: 1 Mb/sec Tuple #9, code = 0x22 (Functional EXT), length = 5 000: 02 80 84 1e 00 Network speed: 2 Mb/sec Tuple #10, code = 0x22 (Functional EXT), length = 5 000: 02 60 ec 53 00 Network speed: 5 Mb/sec Tuple #11, code = 0x22 (Functional EXT), length = 5 000: 02 c0 d8 a7 00 Network speed: 11 Mb/sec Tuple #12, code = 0x22 (Functional EXT), length = 2 000: 03 07 Network media: 2.4 GHz Tuple #13, code = 0x22 (Functional EXT), length = 8 000: 04 06 00 02 2d 3f 46 75 Network node ID: 00 02 2d 3f 46 75 Tuple #14, code = 0x22 (Functional EXT), length = 2 000: 05 01 Network connector: closed connector standard Tuple #15, code = 0x1a (Configuration map), length = 7 000: 03 01 e0 03 00 00 01 Reg len = 4, config register addr = 0x3e0, last config = 0x1 Registers: X------- Tuple #16, code = 0x1b (Configuration entry), length = 15 000: c1 01 19 76 c5 4b d5 19 36 36 05 46 7f ff ff Config index = 0x1(default) Interface byte = 0x1 (I/O) Vcc pwr: Minimum operating supply voltage: 4 x 1V, ext = 0x4b Maximum operating supply voltage: 5 x 1V, ext = 0x19 Max current average over 1 second: 3 x 100mA Max current average over 10 ms: 3 x 100mA Power down supply current: 1 x 10mA Card decodes 6 address lines, limited 8/16 Bit I/O IRQ modes: Level, Pulse IRQs: NMI IOCK BERR VEND 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Tuple #17, code = 0xff (Terminator), length = 0 1 slots found -- Mit freundlichen Gruessen, Marco Wertejuk - mwcis.com Consulting & Internet Solutions From owner-freebsd-bugs@FreeBSD.ORG Mon Sep 15 13:00:27 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FFA116A4BF for ; Mon, 15 Sep 2003 13:00:27 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4CCA43FBD for ; Mon, 15 Sep 2003 13:00:26 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8FK0QUp086549 for ; Mon, 15 Sep 2003 13:00:26 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8FK0Q7S086547; Mon, 15 Sep 2003 13:00:26 -0700 (PDT) Date: Mon, 15 Sep 2003 13:00:26 -0700 (PDT) Message-Id: <200309152000.h8FK0Q7S086547@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Christoph Sold" Subject: Re: i386/37243: dvd rom - ata0-slave: identify retries exceeded X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Christoph Sold List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2003 20:00:27 -0000 The following reply was made to PR i386/37243; it has been noted by GNATS. From: "Christoph Sold" To: at.com@utopianet.net, freebsd-gnats-submit@FreeBSD.org, sos@FreeBSD.org Cc: Subject: Re: i386/37243: dvd rom - ata0-slave: identify retries exceeded Date: Mon, 15 Sep 2003 21:51:54 +0200 This bug (closed by So/ren) still shows up in both 4.8-Stable as well as 5.1-Release. Drive not found is DVD-RW NEC1300A. Please re-investigate. Data from 4.8-Stable follows, similiar output is generated when booting 5.1-R: # dmesg FreeBSD 4.8-STABLE #11: Fri Aug 8 00:20:10 CEST 2003 so@kiste.local:/usr/obj/usr/src/sys/KISTE ... atapci0: port 0xd800-0xd80f at device 4.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 ... ata0-slave: ATA identify retries exceeded ad0: 38166MB [77545/16/63] at ata0-master UDMA66 ad2: 114498MB [232632/16/63] at ata1-master UDMA66 acd0: CD-RW at ata1-slave UDMA33 ... -- Thanks for your attention -Christoph Sold ______________________________________________________________________________ Doppelsieg fur WEB.DE FreeMail und Club bei Stiftung Warentest! Beste Sicherheitswertung und Verfuegbarkeit! http://f.web.de/?mc=021181 From owner-freebsd-bugs@FreeBSD.ORG Mon Sep 15 13:30:27 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8491216A4BF for ; Mon, 15 Sep 2003 13:30:27 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5521B43FBF for ; Mon, 15 Sep 2003 13:30:26 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8FKUQUp098084 for ; Mon, 15 Sep 2003 13:30:26 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8FKUQ2I098083; Mon, 15 Sep 2003 13:30:26 -0700 (PDT) Date: Mon, 15 Sep 2003 13:30:26 -0700 (PDT) Message-Id: <200309152030.h8FKUQ2I098083@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Jarek Granat Subject: Re: kern/30958: QUOTA with 0 bytes in quota.user hangs up the system in boot X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jarek Granat List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2003 20:30:27 -0000 The following reply was made to PR kern/30958; it has been noted by GNATS. From: Jarek Granat To: freebsd-gnats-submit@FreeBSD.org, bigbrother@iapetos.ee.duth.gr Cc: Subject: Re: kern/30958: QUOTA with 0 bytes in quota.user hangs up the system in boot Date: Mon, 15 Sep 2003 22:21:05 +0200 # uname -a FreeBSD bogus.nn 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #0: Sun Sep 14 11:11:50 CEST 2003 root@bogus.nn:/usr/src/sys/compile/BOGUS i386 The same problem here. Jarek Granat From owner-freebsd-bugs@FreeBSD.ORG Mon Sep 15 15:25:26 2003 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BCDC16A4B3 for ; Mon, 15 Sep 2003 15:25:26 -0700 (PDT) Received: from hotmail.com (law10-f37.law10.hotmail.com [64.4.15.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDDAA43FAF for ; Mon, 15 Sep 2003 15:25:25 -0700 (PDT) (envelope-from nathaniel_nigro@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 15 Sep 2003 15:25:25 -0700 Received: from 4.46.56.54 by lw10fd.law10.hotmail.msn.com with HTTP; Mon, 15 Sep 2003 22:25:25 GMT X-Originating-IP: [4.46.56.54] X-Originating-Email: [nathaniel_nigro@hotmail.com] From: "Nathaniel Nigro" To: freebsd-bugs@freebsd.org Date: Mon, 15 Sep 2003 18:25:25 -0400 Message-ID: X-OriginalArrivalTime: 15 Sep 2003 22:25:25.0721 (UTC) FILETIME=[429C7C90:01C37BD8] MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Boot loader freezing on sound card detection 4.9 PRERELEASE X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2003 22:25:26 -0000 Hi, i updated my source tree and i can't seem to boot up. It seems to get stuck on the detection of the card. the card is a creative soundblaster live! im running freebsd 4.9 which was updated from 4.8 RELEASE the system is an intel pent 4 1.8 ghz with 512 megs of ram. the last messege i got was pcm0: port oxd400-oxd41f irq 9 at device 9.0 on pci2 ive never had this happen before, and it was eventually booting up after a few reboots, but now it seems to have completely locked up. thanks for your time -Nate =-ND=- NateDogg _________________________________________________________________ [1]Get 10MB of e-mail storage! Sign up for Hotmail Extra Storage. References 1. http://g.msn.com/8HMNENUS/2755??PS= From owner-freebsd-bugs@FreeBSD.ORG Mon Sep 15 18:06:08 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 566A716A4B3; Mon, 15 Sep 2003 18:06:08 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D129643F3F; Mon, 15 Sep 2003 18:06:07 -0700 (PDT) (envelope-from jmg@FreeBSD.org) Received: from freefall.freebsd.org (jmg@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8G167Up085429; Mon, 15 Sep 2003 18:06:07 -0700 (PDT) (envelope-from jmg@freefall.freebsd.org) Received: (from jmg@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8G167UU085425; Mon, 15 Sep 2003 18:06:07 -0700 (PDT) Date: Mon, 15 Sep 2003 18:06:07 -0700 (PDT) From: John-Mark Gurney Message-Id: <200309160106.h8G167UU085425@freefall.freebsd.org> To: jmg@FreeBSD.org, freebsd-bugs@FreeBSD.org, jmg@FreeBSD.org Subject: Re: kern/37554: [PATCH] Make ELF shared libraries immutable once loaded (like executables) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2003 01:06:08 -0000 Synopsis: [PATCH] Make ELF shared libraries immutable once loaded (like executables) Responsible-Changed-From-To: freebsd-bugs->jmg Responsible-Changed-By: jmg Responsible-Changed-When: Mon Sep 15 18:05:46 PDT 2003 Responsible-Changed-Why: I'm going to take this, since I'm interested in it. http://www.freebsd.org/cgi/query-pr.cgi?pr=37554 From owner-freebsd-bugs@FreeBSD.ORG Mon Sep 15 23:59:00 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C6AF16A4B3; Mon, 15 Sep 2003 23:59:00 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97AF043F3F; Mon, 15 Sep 2003 23:58:59 -0700 (PDT) (envelope-from maxim@FreeBSD.org) Received: from freefall.freebsd.org (maxim@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8G6wxUp090834; Mon, 15 Sep 2003 23:58:59 -0700 (PDT) (envelope-from maxim@freefall.freebsd.org) Received: (from maxim@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8G6ww1v090830; Mon, 15 Sep 2003 23:58:58 -0700 (PDT) Date: Mon, 15 Sep 2003 23:58:58 -0700 (PDT) From: Maxim Konovalov Message-Id: <200309160658.h8G6ww1v090830@freefall.freebsd.org> To: pawmal-posting@freebsd.lublin.pl, maxim@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/55886: mbuf exhaustion can cause panic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2003 06:59:00 -0000 Synopsis: mbuf exhaustion can cause panic State-Changed-From-To: open->closed State-Changed-By: maxim State-Changed-When: Mon Sep 15 23:58:30 PDT 2003 State-Changed-Why: Fixed in -CURRENT and -STABLE. http://www.freebsd.org/cgi/query-pr.cgi?pr=55886 From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 16 01:01:23 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 329EF16A4B3; Tue, 16 Sep 2003 01:01:23 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A946143FE9; Tue, 16 Sep 2003 01:01:22 -0700 (PDT) (envelope-from roam@FreeBSD.org) Received: from freefall.freebsd.org (roam@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8G81MUp011498; Tue, 16 Sep 2003 01:01:22 -0700 (PDT) (envelope-from roam@freefall.freebsd.org) Received: (from roam@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8G81Lra011494; Tue, 16 Sep 2003 01:01:22 -0700 (PDT) Date: Tue, 16 Sep 2003 01:01:22 -0700 (PDT) From: Peter Pentchev Message-Id: <200309160801.h8G81Lra011494@freefall.freebsd.org> To: imura@ryu16.org, roam@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/56897: kern_linker.c: prefversion != module's version causes panic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2003 08:01:23 -0000 Synopsis: kern_linker.c: prefversion != module's version causes panic State-Changed-From-To: open->closed State-Changed-By: roam State-Changed-When: Tue Sep 16 00:58:35 PDT 2003 State-Changed-Why: This is almost a duplicate of PR kern/56570, although your patch is different. Could you submit it as a followup to kern/56570, possibly using the GNATS web interface at http://www.FreeBSD.org/cgi/query-pr.cgi?pr=56570 if you are not subscribed to the -bugs mailing list? http://www.freebsd.org/cgi/query-pr.cgi?pr=56897 From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 16 01:20:28 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8402C16A4BF for ; Tue, 16 Sep 2003 01:20:28 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F16F43FE5 for ; Tue, 16 Sep 2003 01:20:11 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8G8KBUp019076 for ; Tue, 16 Sep 2003 01:20:11 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8G8KBDB019075; Tue, 16 Sep 2003 01:20:11 -0700 (PDT) Resent-Date: Tue, 16 Sep 2003 01:20:11 -0700 (PDT) Resent-Message-Id: <200309160820.h8G8KBDB019075@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sergei Vyshenski Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE96816A4B3 for ; Tue, 16 Sep 2003 01:10:33 -0700 (PDT) Received: from vivaldi.pn.sinp.msu.ru (pn-gw.sinp.msu.ru [213.131.0.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id D290943FBF for ; Tue, 16 Sep 2003 01:10:31 -0700 (PDT) (envelope-from svysh@pn.sinp.msu.ru) Received: from vivaldi.pn.sinp.msu.ru (svysh@localhost [127.0.0.1]) h8G8ATZw003624 for ; Tue, 16 Sep 2003 12:10:29 +0400 (MSD) (envelope-from svysh@vivaldi.pn.sinp.msu.ru) Received: (from svysh@localhost) by vivaldi.pn.sinp.msu.ru (8.12.9/8.12.9/Submit) id h8G8ARcc003623; Tue, 16 Sep 2003 12:10:27 +0400 (MSD) (envelope-from svysh) Message-Id: <200309160810.h8G8ARcc003623@vivaldi.pn.sinp.msu.ru> Date: Tue, 16 Sep 2003 12:10:27 +0400 (MSD) From: Sergei Vyshenski To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/56914: ftpd ignores default umask settings X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Sergei Vyshenski List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2003 08:20:28 -0000 >Number: 56914 >Category: bin >Synopsis: ftpd ignores default umask settings >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 Sep 16 01:20:08 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Sergei Vyshenski >Release: FreeBSD 4.9-PRERELEASE i386 >Organization: >Environment: System: FreeBSD 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #0: Thu Sep 11 04:53:19 MSD 2003 i386 >Description: With /usr/libexec/ftpd all files uploaded by user ftp get permissions 644 regardless of default umask value set by -u option for ftpd or from /etc/login.conf. >How-To-Repeat: Arrange ~ftp as /stand/sysinstall does by default for Anonymous FTP server. 1) Add to /etc/login.conf the line ftp::umask=027: do "cap_mkdb /etc/login.conf". And/or 2) add to /etc/inetd.conf the line ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l -l -A -h -M -u 027 do "killall -1 inetd". Then log in to the ftpd as user "anonymous" and upload a file. Uploaded file has mode 644, instead of mode 640 expected from the given default umask >Fix: Use wu-ftpd or proftpd from ports instead. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 16 02:30:22 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9823116A4B3 for ; Tue, 16 Sep 2003 02:30:22 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 234F443FD7 for ; Tue, 16 Sep 2003 02:30:22 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8G9ULUp040086 for ; Tue, 16 Sep 2003 02:30:21 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8G9ULpb040085; Tue, 16 Sep 2003 02:30:21 -0700 (PDT) Date: Tue, 16 Sep 2003 02:30:21 -0700 (PDT) Message-Id: <200309160930.h8G9ULpb040085@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Peter Pentchev Subject: Re: bin/56914: ftpd ignores default umask settings X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Peter Pentchev List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2003 09:30:22 -0000 The following reply was made to PR bin/56914; it has been noted by GNATS. From: Peter Pentchev To: Sergei Vyshenski Cc: bug-followup@FreeBSD.org Subject: Re: bin/56914: ftpd ignores default umask settings Date: Tue, 16 Sep 2003 12:27:27 +0300 On Tue, Sep 16, 2003 at 12:10:27PM +0400, Sergei Vyshenski wrote: > > >Number: 56914 > >Category: bin > >Synopsis: ftpd ignores default umask settings > >Class: sw-bug > >Arrival-Date: Tue Sep 16 01:20:08 PDT 2003 > >Originator: Sergei Vyshenski > >Release: FreeBSD 4.9-PRERELEASE i386 > >Organization: > >Environment: > System: FreeBSD 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #0: Thu Sep 11 04:53:19 MSD 2003 i386 > > > >Description: > With /usr/libexec/ftpd all files uploaded by user ftp get permissions 644 > regardless of default umask value set by -u option for ftpd or from /etc/login.conf. > >How-To-Repeat: > > Arrange ~ftp as /stand/sysinstall does by default for Anonymous > FTP server. > 1) Add to /etc/login.conf the line > > ftp::umask=027: > > do "cap_mkdb /etc/login.conf". Adding the 'ftp' class to /etc/login.conf will not automatically make the 'ftp' user actually use this class's settings. Is the 'ftp' user actually a member of the 'ftp' login class? You can tell by issuing the 'chfn ftp' command as root and checking the 'Class' field; if it does not say 'ftp', then the ftp user will not honor your login.conf settings for the 'ftp' class. G'luck, Peter -- Peter Pentchev roam@ringlet.net roam@sbnd.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 I am the thought you are now thinking. From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 16 04:30:10 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D739916A4B3 for ; Tue, 16 Sep 2003 04:30:10 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5051843FD7 for ; Tue, 16 Sep 2003 04:30:10 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8GBU9Up090178 for ; Tue, 16 Sep 2003 04:30:09 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8GBU9UG090177; Tue, 16 Sep 2003 04:30:09 -0700 (PDT) Date: Tue, 16 Sep 2003 04:30:09 -0700 (PDT) Message-Id: <200309161130.h8GBU9UG090177@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Angelo Turetta Subject: Re: kern/56889: MODE_SENSE_BIG timeout hanging boot if CD-ROM is master X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Angelo Turetta List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2003 11:30:11 -0000 The following reply was made to PR kern/56889; it has been noted by GNATS. From: Angelo Turetta To: freebsd-gnats-submit@FreeBSD.org, ATuretta@commit.it Cc: Subject: Re: kern/56889: MODE_SENSE_BIG timeout hanging boot if CD-ROM is master Date: Tue, 16 Sep 2003 13:18:29 +0200 As a partial correction, the number of retries after timeout on boot is limited to 20, after which the boot continues but the CD-ROM is later unavailable for mount(8) From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 16 06:55:12 2003 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 309DE16A4B3; Tue, 16 Sep 2003 06:55:12 -0700 (PDT) Received: from mail.ryu16.org (YahooBB219005044040.bbtec.net [219.5.44.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id D119043FAF; Tue, 16 Sep 2003 06:55:10 -0700 (PDT) (envelope-from imura@ryu16.org) Received: from redeye.xt.ryu16.org (localhost [127.0.0.1]) by mail.ryu16.org (8.12.9/8.12.9) with ESMTP id h8GDt9CL072406; Tue, 16 Sep 2003 22:55:09 +0900 (JST) (envelope-from imura@redeye.xt.ryu16.org) Received: (from imura@localhost) by redeye.xt.ryu16.org (8.12.9/8.12.9/Submit) id h8GDt93j072405; Tue, 16 Sep 2003 22:55:09 +0900 (JST) Date: Tue, 16 Sep 2003 22:55:09 +0900 From: "R. Imura" To: Peter Pentchev Message-ID: <20030916225509.A72351@ryu16.org> References: <200309160801.h8G81Lra011494@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Mutt/1.2.5i-jp2 In-Reply-To: <200309160801.h8G81Lra011494@freefall.freebsd.org>; from roam@FreeBSD.org on Tue, Sep 16, 2003 at 01:01:22AM -0700 cc: freebsd-bugs@FreeBSD.org Subject: Re: kern/56897: kern_linker.c: prefversion != module's version causes panic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2003 13:55:12 -0000 On Tue, Sep 16, 2003 at 01:01:22AM -0700, Peter Pentchev wrote: > Synopsis: kern_linker.c: prefversion != module's version causes panic > > State-Changed-From-To: open->closed > State-Changed-By: roam > State-Changed-When: Tue Sep 16 00:58:35 PDT 2003 > State-Changed-Why: > This is almost a duplicate of PR kern/56570, although your patch > is different. Could you submit it as a followup to kern/56570, > possibly using the GNATS web interface > at http://www.FreeBSD.org/cgi/query-pr.cgi?pr=56570 if you are not > subscribed to the -bugs mailing list? OK, I've no objection with kern/56570. Please commit it. Regards, - R. Imura From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 16 10:30:26 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECC1616A4B3 for ; Tue, 16 Sep 2003 10:30:25 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B57A943FE9 for ; Tue, 16 Sep 2003 10:30:20 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8GHUEUp055880 for ; Tue, 16 Sep 2003 10:30:14 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8GHUE4l055879; Tue, 16 Sep 2003 10:30:14 -0700 (PDT) Resent-Date: Tue, 16 Sep 2003 10:30:14 -0700 (PDT) Resent-Message-Id: <200309161730.h8GHUE4l055879@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Simon Walton Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D4C2416A4B3 for ; Tue, 16 Sep 2003 10:27:08 -0700 (PDT) Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 289B143F3F for ; Tue, 16 Sep 2003 10:27:06 -0700 (PDT) (envelope-from simonw@matteworld.com) Received: from user-119bq9k.biz.mindspring.com ([66.149.233.52] helo=matteworld.com) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 19zJbV-0006Im-00 for FreeBSD-gnats-submit@freebsd.org; Tue, 16 Sep 2003 10:27:05 -0700 Message-Id: <3F6747E8.92E8C623@matteworld.com> Date: Tue, 16 Sep 2003 10:27:04 -0700 From: Simon Walton Sender: simonw@FreeBSD.org To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/56924: [Patch] ATA controller seems to have wrong ID for ServerWorks chipset X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2003 17:30:26 -0000 >Number: 56924 >Category: kern >Synopsis: [Patch] ATA controller seems to have wrong ID for ServerWorks chipset >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 16 10:30:14 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Simon Walton >Release: FreeBSD 4.7-RELEASE i386 >Organization: >Environment: System: FreeBSD mongo 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Mon Sep 15 17:24:01 PDT 2003 simonw@mongo:/usr/src/sys/compile/MONGO i386 Compaq/HP ProLiant ML310, Pentium 4, 2.2 GHz >Description: This server was fitted with two ATA-100 disks on a single IDE port. According to the atacontrol command the host was using PIO to access them, and atacontrol would not renegotiate to UDMA speeds. The disks gave poor performance. Investiation shows that the ATA driver apparently checked for the wrong value of the chip ID. When this was changed the kernel automatically negotiated to UDMA 100 and the disk performance was significantly improved. The current code seems to check for the chip's subid, not the chip id: pciconf -lv ... atapci0@pci0:15:1: class=0x01018a card=0x02121166 chip=0x02131166 rev=0xa0 hdr=0x00 vendor = 'Reliance Computer Corp./ServerWorks' class = mass storage subclass = ATA >How-To-Repeat: Add ATA disks to the above-specified system. Use atacontrol to observe the data-rate. >Fix: *** /sys/dev/ata/ata-dma.c.orig Tue Aug 26 11:53:22 2003 --- /sys/dev/ata/ata-dma.c Tue Aug 26 11:54:32 2003 *************** *** 822,827 **** --- 822,828 ---- atadev->mode = ATA_PIO0 + apiomode; return; + case 0x02131166: /* ServerWorks CSB5 ATA66/100 controller */ case 0x02121166: /* ServerWorks CSB5 ATA66/100 controller */ if (udmamode >= 5 && pci_get_revid(parent) >= 0x92) { error = ata_command(atadev, ATA_C_SETFEATURES, 0, *** /sys/dev/ata/ata-pci.c.orig Tue Aug 26 12:10:33 2003 --- /sys/dev/ata/ata-pci.c Tue Aug 26 12:25:24 2003 *************** *** 242,247 **** --- 242,248 ---- case 0x02111166: return "ServerWorks ROSB4 ATA33 controller"; + case 0x02131166: case 0x02121166: if (pci_get_revid(dev) >= 0x92) return "ServerWorks CSB5 ATA100 controller"; >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 16 11:00:32 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F17F916A4B3 for ; Tue, 16 Sep 2003 11:00:32 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CE6843FBF for ; Tue, 16 Sep 2003 11:00:32 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8GI0WUp063963 for ; Tue, 16 Sep 2003 11:00:32 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8GI0WVN063962; Tue, 16 Sep 2003 11:00:32 -0700 (PDT) Date: Tue, 16 Sep 2003 11:00:32 -0700 (PDT) Message-Id: <200309161800.h8GI0WVN063962@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Soren Schmidt Subject: Re: kern/56924: [Patch] ATA controller seems to have wrong ID for ServerWorks chipset X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Soren Schmidt List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2003 18:00:33 -0000 The following reply was made to PR kern/56924; it has been noted by GNATS. From: Soren Schmidt To: Simon Walton Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: kern/56924: [Patch] ATA controller seems to have wrong ID for ServerWorks chipset Date: Tue, 16 Sep 2003 19:57:00 +0200 (CEST) It seems Simon Walton wrote: > The current code seems to check for the chip's subid, not the chip id: > > pciconf -lv > ... > atapci0@pci0:15:1: class=0x01018a card=0x02121166 chip=0x02131166 > rev=0xa0 > hdr=0x00 > vendor = 'Reliance Computer Corp./ServerWorks' > class = mass storage > subclass = ATA Nope, what you have is a CSB6 chip, the code in 4.7 only knows about the CSB5... -Søren From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 16 11:30:25 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 370F316A4BF for ; Tue, 16 Sep 2003 11:30:25 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3799643FF3 for ; Tue, 16 Sep 2003 11:30:24 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8GIUNUp075121 for ; Tue, 16 Sep 2003 11:30:23 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8GIUNxu075120; Tue, 16 Sep 2003 11:30:23 -0700 (PDT) Date: Tue, 16 Sep 2003 11:30:23 -0700 (PDT) Message-Id: <200309161830.h8GIUNxu075120@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Simon Walton Subject: Re: kern/56924: [Patch] ATA controller seems to have wrong ID for ServerWorkschipset X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Simon Walton List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2003 18:30:25 -0000 The following reply was made to PR kern/56924; it has been noted by GNATS. From: Simon Walton To: Soren Schmidt Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: kern/56924: [Patch] ATA controller seems to have wrong ID for ServerWorkschipset Date: Tue, 16 Sep 2003 11:24:28 -0700 Soren Schmidt wrote: > > It seems Simon Walton wrote: > > The current code seems to check for the chip's subid, not the chip id: > > > > pciconf -lv > > ... > > atapci0@pci0:15:1: class=0x01018a card=0x02121166 chip=0x02131166 > > rev=0xa0 > > hdr=0x00 > > vendor = 'Reliance Computer Corp./ServerWorks' > > class = mass storage > > subclass = ATA > > Nope, what you have is a CSB6 chip, the code in 4.7 only knows about > the CSB5... > > -Søren OK. Is this fixed in the 4.x branch? I see the same values in the CVS repository. Simon From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 16 11:33:37 2003 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8253116A4BF for ; Tue, 16 Sep 2003 11:33:37 -0700 (PDT) Received: from spider.deepcore.dk (cpe.atm2-0-56339.0x50c6aa0a.abnxx2.customer.tele.dk [80.198.170.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7923043FB1 for ; Tue, 16 Sep 2003 11:33:35 -0700 (PDT) (envelope-from sos@spider.deepcore.dk) Received: from spider.deepcore.dk (localhost [127.0.0.1]) by spider.deepcore.dk (8.12.9/8.12.9) with ESMTP id h8GIXXj5003016; Tue, 16 Sep 2003 20:33:33 +0200 (CEST) (envelope-from sos@spider.deepcore.dk) Received: (from sos@localhost) by spider.deepcore.dk (8.12.9/8.12.9/Submit) id h8GIXXr9003015; Tue, 16 Sep 2003 20:33:33 +0200 (CEST) From: Soren Schmidt Message-Id: <200309161833.h8GIXXr9003015@spider.deepcore.dk> In-Reply-To: <200309161830.h8GIUNxu075120@freefall.freebsd.org> To: Simon Walton Date: Tue, 16 Sep 2003 20:33:32 +0200 (CEST) X-Mailer: ELM [version 2.4ME+ PL99f (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 X-mail-scanned: by DeepCore Virus & Spam killer v1.3 cc: freebsd-bugs@FreeBSD.ORG Subject: Re: kern/56924: [Patch] ATA controller seems to have wrong ID for ServerWorkschipset X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2003 18:33:37 -0000 It seems Simon Walton wrote: > > Nope, what you have is a CSB6 chip, the code in 4.7 only knows about > > the CSB5... > > > OK. Is this fixed in the 4.x branch? I see the same values > in the CVS repository. Nope not yet.. -Søren From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 16 15:00:36 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2B4016A4B3 for ; Tue, 16 Sep 2003 15:00:35 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1208D43FE1 for ; Tue, 16 Sep 2003 15:00:35 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8GM0WUp039179 for ; Tue, 16 Sep 2003 15:00:32 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8GM0W4q039178; Tue, 16 Sep 2003 15:00:32 -0700 (PDT) Date: Tue, 16 Sep 2003 15:00:32 -0700 (PDT) Message-Id: <200309162200.h8GM0W4q039178@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Sergei Vyshenski Subject: Re: bin/56914: ftpd ignores default umask settings X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Sergei Vyshenski List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2003 22:00:36 -0000 The following reply was made to PR bin/56914; it has been noted by GNATS. From: Sergei Vyshenski To: Peter Pentchev Cc: bug-followup@FreeBSD.org Subject: Re: bin/56914: ftpd ignores default umask settings Date: Wed, 17 Sep 2003 01:55:14 +0400 > >Adding the 'ftp' class to /etc/login.conf will not automatically >make the 'ftp' user actually use this class's settings. Is the 'ftp' >user actually a member of the 'ftp' login class? You can tell by >issuing the 'chfn ftp' command as root and checking the 'Class' >field; if it does not say 'ftp', then the ftp user will not honor >your login.conf settings for the 'ftp' class. > >G'luck, >Peter Thank you very much. 2 issues still remain. 1) Neither "man ftpd", no "man login.conf" mention existence of chfn. And /stand/sysinstall did not added class info for user ftp for me. 2) Option ftpd -u ... is overridden from login.conf : either by ftp class, of by default class (which is always present). Then why option -d exists at all? Thanks again, Sergei From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 16 20:01:39 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D259D16A4B3; Tue, 16 Sep 2003 20:01:39 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 515CA43F85; Tue, 16 Sep 2003 20:01:39 -0700 (PDT) (envelope-from marcel@FreeBSD.org) Received: from freefall.freebsd.org (marcel@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8H31dFY047594; Tue, 16 Sep 2003 20:01:39 -0700 (PDT) (envelope-from marcel@freefall.freebsd.org) Received: (from marcel@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8H31dFm047589; Tue, 16 Sep 2003 20:01:39 -0700 (PDT) (envelope-from marcel) Date: Tue, 16 Sep 2003 20:01:39 -0700 (PDT) From: Marcel Moolenaar Message-Id: <200309170301.h8H31dFm047589@freefall.freebsd.org> To: kargl@troutmask.apl.washington.edu, marcel@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/56869: uart module breaks buildkernel on 1386 platform X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2003 03:01:39 -0000 Synopsis: uart module breaks buildkernel on 1386 platform State-Changed-From-To: open->closed State-Changed-By: marcel State-Changed-When: Tue Sep 16 20:00:52 PDT 2003 State-Changed-Why: The ebus bus driver has been made conditional. http://www.freebsd.org/cgi/query-pr.cgi?pr=56869 From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 16 20:22:56 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95B8416A4B3; Tue, 16 Sep 2003 20:22:56 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1640543F85; Tue, 16 Sep 2003 20:22:56 -0700 (PDT) (envelope-from anholt@FreeBSD.org) Received: from freefall.freebsd.org (anholt@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8H3MtFY056504; Tue, 16 Sep 2003 20:22:55 -0700 (PDT) (envelope-from anholt@freefall.freebsd.org) Received: (from anholt@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8H3MtTt056500; Tue, 16 Sep 2003 20:22:55 -0700 (PDT) (envelope-from anholt) Date: Tue, 16 Sep 2003 20:22:55 -0700 (PDT) From: Eric Anholt Message-Id: <200309170322.h8H3MtTt056500@freefall.freebsd.org> To: mrhsaacdoh@yahoo.com, anholt@FreeBSD.org, freebsd-bugs@FreeBSD.org, anholt@FreeBSD.org Subject: Re: kern/56297: Agp problem for intel chipsets ? DRM and X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2003 03:22:56 -0000 Synopsis: Agp problem for intel chipsets ? DRM and State-Changed-From-To: open->patched State-Changed-By: anholt State-Changed-When: Tue Sep 16 20:21:34 PDT 2003 State-Changed-Why: Patch committed to -current, submitted to re@. Responsible-Changed-From-To: freebsd-bugs->anholt Responsible-Changed-By: anholt Responsible-Changed-When: Tue Sep 16 20:21:34 PDT 2003 Responsible-Changed-Why: Patch committed to -current, submitted to re@. http://www.freebsd.org/cgi/query-pr.cgi?pr=56297 From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 16 21:20:19 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBFE616A4B3 for ; Tue, 16 Sep 2003 21:20:19 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13DA443FAF for ; Tue, 16 Sep 2003 21:20:18 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8H4KHFY072395 for ; Tue, 16 Sep 2003 21:20:17 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8H4KH8J072394; Tue, 16 Sep 2003 21:20:17 -0700 (PDT) (envelope-from gnats) Resent-Date: Tue, 16 Sep 2003 21:20:17 -0700 (PDT) Resent-Message-Id: <200309170420.h8H4KH8J072394@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alain Kalker Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0B5C16A4B3 for ; Tue, 16 Sep 2003 21:16:15 -0700 (PDT) Received: from netlx014.civ.utwente.nl (netlx014.civ.utwente.nl [130.89.1.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79FF143F85 for ; Tue, 16 Sep 2003 21:16:14 -0700 (PDT) (envelope-from miki@wit401402.student.utwente.nl) Received: from wit401402.student.utwente.nl (wit401402.student.utwente.nl [130.89.167.61])h8H4G9717556; Wed, 17 Sep 2003 06:16:09 +0200 Received: (from miki@localhost)h8H4G7eu004085; Wed, 17 Sep 2003 06:16:07 +0200 (CEST) (envelope-from miki) Message-Id: <200309170416.h8H4G7eu004085@wit401402.student.utwente.nl> Date: Wed, 17 Sep 2003 06:16:07 +0200 (CEST) From: Alain Kalker To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: Alain Kalker Subject: conf/56939: [PATCH] Typo in /etc/services (ref: conf/55125) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Alain Kalker List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2003 04:20:20 -0000 >Number: 56939 >Category: conf >Synopsis: [PATCH] Typo in /etc/services (ref: conf/55125) >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: Tue Sep 16 21:20:17 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Alain Kalker >Release: FreeBSD 4.9-PRERELEASE i386 >Organization: University of Twente, The Netherlands >Environment: System: FreeBSD wit401402.student.utwente.nl 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #0: Wed Sep 3 22:56:05 CEST 2003 jeroen@wit401402.student.utwente.nl:/usr/src/sys/compile/FIREWALL i386 >Description: Misspelled protocol name ('tdp' instead of 'tcp') in /etc/services. Probably introduced after closing conf/55125 ([PATCH] add AODV (654/udp) to /etc/services). >How-To-Repeat: >Fix: See attached patch --- services.patch begins here --- --- /usr/src/etc/services.orig Sat Aug 9 05:02:43 2003 +++ /usr/src/etc/services Wed Sep 17 05:32:02 2003 @@ -1093,7 +1093,7 @@ ginad 634/udp ldaps 636/tcp sldap #ldap protocol over TLS/SSL ldaps 636/udp sldap -aodv 654/tdp #Ad-Hoc On-Demand Distance Vector Routing Protocol +aodv 654/tcp #Ad-Hoc On-Demand Distance Vector Routing Protocol aodv 654/udp #Ad-Hoc On-Demand Distance Vector Routing Protocol mdqs 666/tcp mdqs 666/udp --- services.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 17 01:00:38 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 27A0A16A4B3 for ; Wed, 17 Sep 2003 01:00:38 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6916143FCB for ; Wed, 17 Sep 2003 01:00:36 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8H80aFY040468 for ; Wed, 17 Sep 2003 01:00:36 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8H80ada040467; Wed, 17 Sep 2003 01:00:36 -0700 (PDT) (envelope-from gnats) Resent-Date: Wed, 17 Sep 2003 01:00:36 -0700 (PDT) Resent-Message-Id: <200309170800.h8H80ada040467@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yasufumi Susuki Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1485816A4B3 for ; Wed, 17 Sep 2003 00:49:53 -0700 (PDT) Received: from piano.else.k.u-tokyo.ac.jp (piano.else.k.u-tokyo.ac.jp [157.82.246.78]) by mx1.FreeBSD.org (Postfix) with SMTP id BB4A243FB1 for ; Wed, 17 Sep 2003 00:49:50 -0700 (PDT) (envelope-from yasufumi@else.k.u-tokyo.ac.jp) Received: (qmail 12991 invoked from network); 17 Sep 2003 07:49:47 -0000 Received: from unknown (HELO snickersnee.p.else.k.u-tokyo.ac.jp) (192.168.10.236) by piano.else.k.u-tokyo.ac.jp with SMTP; 17 Sep 2003 07:49:47 -0000 Message-Id: <3ar82fj1lx.wl@snickersnee.p.else.k.u-tokyo.ac.jp> Date: Wed, 17 Sep 2003 16:49:46 +0900 From: Yasufumi Susuki To: FreeBSD-gnats-submit@FreeBSD.org Subject: conf/56940: pccard.conf entry for PCET10-CL causes syntax errors in -CURRENT X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2003 08:00:38 -0000 >Number: 56940 >Category: conf >Synopsis: pccard.conf entry for PCET10-CL causes syntax errors in -CURRENT >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: Wed Sep 17 01:00:35 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Yasufumi Susuki >Release: FreeBSD 5.1-CURRENT i386 >Organization: The University of Tokyo >Environment: System: FreeBSD grayswandir.p.else.k.u-tokyo.ac.jp 5.1-CURRENT FreeBSD 5.1-CURRENT #14: Tue Sep 16 16:50:34 JST 2003 root@grayswandir.p.else.k.u-tokyo.ac.jp:/usr/obj/usr/src/sys/GRAYSWANDIR i386 >Description: /etc/defaults/pccard.conf causes syntax errors in -CURRENT. IRQ setting of I/O DATA PCET10CL seems to be wrong. >How-To-Repeat: When pccardd is enabled by adding pccard_enable="YES" to rc.conf, pccardd prints the messages shown below to stderr pccardd: /etc/defaults/pccard.conf: illegal IRQ value at line 700, near any pccardd: /etc/defaults/pccard.conf: illegal card IRQ value at line 700, near any pccardd: /etc/defaults/pccard.conf: syntax error at line 700, near any pccardd: /etc/defaults/pccard.conf: syntax error at line 701, near 0x10 pccardd: /etc/defaults/pccard.conf: syntax error at line 701, near insert pccardd: /etc/defaults/pccard.conf: syntax error at line 701, near /etc/pccard_ether pccardd: /etc/defaults/pccard.conf: syntax error at line 702, near $device pccardd: /etc/defaults/pccard.conf: syntax error at line 702, near remove pccardd: /etc/defaults/pccard.conf: syntax error at line 702, near /etc/pccard_ether_remove pccardd: /etc/defaults/pccard.conf: syntax error at line 703, near $device pccardd: warning: card IO DATA(PCET10CL) has no valid configuration >Fix: diff -ruN src.orig/etc/defaults/pccard.conf src/etc/defaults/pccard.conf --- src.orig/etc/defaults/pccard.conf Wed Sep 17 16:31:56 2003 +++ src/etc/defaults/pccard.conf Wed Sep 17 16:31:29 2003 @@ -697,7 +697,7 @@ # I/O DATA PCET10-CL card "IO DATA" "PCET10CL" - config auto "ed0" any 0x10 + config auto "ed" ? 0x10 insert /etc/pccard_ether $device remove /etc/pccard_ether_remove $device >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 17 01:50:14 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A21A16A4B3 for ; Wed, 17 Sep 2003 01:50:14 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21FFB43FBD for ; Wed, 17 Sep 2003 01:50:13 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8H8oCFY056454 for ; Wed, 17 Sep 2003 01:50:13 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8H8oC3c056453; Wed, 17 Sep 2003 01:50:12 -0700 (PDT) (envelope-from gnats) Resent-Date: Wed, 17 Sep 2003 01:50:12 -0700 (PDT) Resent-Message-Id: <200309170850.h8H8oC3c056453@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Sergey N. Voronkov" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31AA616A4BF; Wed, 17 Sep 2003 01:46:17 -0700 (PDT) Received: from sbtx.tmn.ru (relay.tmn.ru [212.76.160.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 893F543FBF; Wed, 17 Sep 2003 01:46:13 -0700 (PDT) (envelope-from serg@tmn.ru) Received: from sv.tech.sibitex.tmn.ru (sv.tech.sibitex.tmn.ru [212.76.160.59]) by sbtx.tmn.ru (8.12.8p1/8.12.8) with ESMTP id h8H8kBSd033268; Wed, 17 Sep 2003 14:46:11 +0600 (YEKST) (envelope-from serg@tmn.ru) Received: from sv.tech.sibitex.tmn.ru (localhost [127.0.0.1]) h8H8kBql081033; Wed, 17 Sep 2003 14:46:11 +0600 (YEKST) (envelope-from serg@sv.tech.sibitex.tmn.ru) Received: (from serg@localhost) by sv.tech.sibitex.tmn.ru (8.12.9/8.12.9/Submit) id h8H8kBF7081032; Wed, 17 Sep 2003 14:46:11 +0600 (YEKST) Message-Id: <200309170846.h8H8kBF7081032@sv.tech.sibitex.tmn.ru> Date: Wed, 17 Sep 2003 14:46:11 +0600 (YEKST) From: "Sergey N. Voronkov" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: scottl@FreeBSD.org Subject: bin/56942: module build broken after MFC of src/sys/dev/aac/aac.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Sergey N. Voronkov" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2003 08:50:14 -0000 >Number: 56942 >Category: bin >Synopsis: module build broken after MFC of src/sys/dev/aac/aac.c >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 17 01:50:12 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Sergey N. Voronkov >Release: FreeBSD 4.9-PRERELEASE i386 >Organization: Sibitex JSC >Environment: System: FreeBSD sv.tech.sibitex.tmn.ru 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #5: Mon Sep 1 13:35:17 YEKST 2003 serg@sv.tech.sibitex.tmn.ru:/usr/obj/usr/src/sys/SV i386 >Description: Module build broken after mfc of rev 1.78 and 1.69 into RELENG_4. >How-To-Repeat: # cd /usr/src # make buildkernel >Fix: --- aac.c.old Wed Sep 17 14:38:22 2003 +++ aac.c Wed Sep 17 14:38:46 2003 @@ -2593,7 +2593,7 @@ rsize = sizeof(mir); if (aac_sync_fib(sc, ContainerCommand, 0, fib, sizeof(struct aac_mntinfo))) { - device_printf(sc->sc_dev, + device_printf(sc->aac_dev, "Error probing container %d\n", i); continue; } >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 17 02:00:42 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5726E16A4C1 for ; Wed, 17 Sep 2003 02:00:42 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3ED743FE0 for ; Wed, 17 Sep 2003 02:00:39 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8H90dFY059038 for ; Wed, 17 Sep 2003 02:00:39 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8H90dZr059037; Wed, 17 Sep 2003 02:00:39 -0700 (PDT) (envelope-from gnats) Resent-Date: Wed, 17 Sep 2003 02:00:39 -0700 (PDT) Resent-Message-Id: <200309170900.h8H90dZr059037@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eugene Grosbein Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A626916A4BF for ; Wed, 17 Sep 2003 01:56:50 -0700 (PDT) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07A8243FAF for ; Wed, 17 Sep 2003 01:56:49 -0700 (PDT) (envelope-from eugen@www.svzserv.kemerovo.su) Received: from www.svzserv.kemerovo.su (eugen@localhost [127.0.0.1]) h8H8ukZi013405 for ; Wed, 17 Sep 2003 16:56:46 +0800 (KRAST) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.12.9/8.12.9/Submit) id h8H8ukxs013404; Wed, 17 Sep 2003 16:56:46 +0800 (KRAST) Message-Id: <200309170856.h8H8ukxs013404@www.svzserv.kemerovo.su> Date: Wed, 17 Sep 2003 16:56:46 +0800 (KRAST) From: Eugene Grosbein To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/56944: 4.8 cannot boot on Intel Server Board SE7501HG2 with SCSI enabled X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Eugene Grosbein List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2003 09:00:42 -0000 >Number: 56944 >Category: kern >Synopsis: 4.8 cannot boot on Intel Server Board SE7501HG2 with SCSI enabled >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 Sep 17 02:00:39 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Eugene Grosbein >Release: FreeBSD 4.8-RELEASE i386 >Organization: Svyaz Service JSC >Environment: System: tried FreeBSD 4.8-RELEASE ISO and 4.9-PRERELEASE-20030916-JPSNAP ISO images >Description: Mentioned versions of FreeBSD halt during device probing stage while booting on Intel Server Board SE7501HG2. They do not halt if Onboard SCSI is disabled using BIOS Setup, that is not acceptable workaround. Here comes reconstructed log of BIOS boot screens and full 'boot -v' log of FreeBSD 4.8-RELEASE installation CD. Serial Redir 2.0.5 [VT-100+] ATI RAGE SDRAM BIOS P/N GR-xlints3y.09a-4.332 BIOS LAN Console 3.0 Copyright(C) 1997-2002 Intel Corporation PXE-E61: Media test failure, check cable AMBIOS (C)1985-2003 American Megatrends Inc., Copyright 1996-2003 Intel Corporation S7501HG 0.86B.0047.P09.0307011125 S7501HG Production BIOS Version 9.00 BIOS Build 0047 2X Intel(R) Xeon(TM) CPU 2.66GHz 533MHz Front Side Bus Testing system memory, memory size=1024MB 1024MB Extended Memory Passed 512K L2 Cache Enabled LegacyKeyboard.... Detected Press to enter SETUP, ServicePartition, Network Fixed Disk 0: Maxtor 6Y120P0 (UDMA=100MHz) ATAPI CD-ROM SONY CD-RW CRX225E Adaptec SCSI BIOS v41003S2 (c) 2003 Adaptec,Inc. All Rights Reserved. SlotChIDLUNVendorProductSizeBusStatus --------------------------------------------------------------------- 0 SEAGATE ST336753LW 37GB 1600B0 >How-To-Repeat: Take that motherboard, boot 4.8-RELEASE. >Fix: Unknown to me. It boots if onboard SCSI is disabled. >Release-Note: >Audit-Trail: >Unformatted: >>FreeBSD/i386BOOT Default:0:ad(0,a)/boot/loaderboot:-h Console: serial port BIOS drive A: is disk0 BIOS drive C: is disk1 BIOS drive D: is disk2 BIOS 637kB/1047488kB available memory boot -v SMAP type=01 base=00000000 00000000 len=00000000 0009f400 SMAP type=02 base=00000000 0009f400 len=00000000 00000c00 SMAP type=02 base=00000000 000e8000 len=00000000 00018000 SMAP type=01 base=00000000 00100000 len=00000000 3fef0000 SMAP type=03 base=00000000 3fff0000 len=00000000 0000f000 SMAP type=04 base=00000000 3ffff000 len=00000000 00001000 SMAP type=02 base=00000000 fec00000 len=00000000 00100000 SMAP type=02 base=00000000 fee00000 len=00000000 00001000 SMAP type=02 base=00000000 fff00000 len=00000000 00100000 Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.8-RELEASE #0: Thu Apr 3 10:53:38 GMT 2003 root@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC Calibrating clock(s) ... TSC clock: 2657938544 Hz, i8254 clock: 1193114 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method CPU: Intel(R) Xeon(TM) CPU 2.66GHz (2658.10-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 1073676288 (1048512K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x00544000 - 0x3ffe7fff, 1068122112 bytes (260772 pages) config> di psm0 config> di bt0 config> di aic0 config> di aha0 config> di adv0 config> q avail memory = 1039847424 (1015476K bytes) bios32: Found BIOS32 Service Directory header at 0xc00fdb20 bios32: Entry = 0xfdb34 (c00fdb34) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xdb55 pnpbios: Found PnP BIOS data at 0xc00f30c0 pnpbios: Entry = f0000:297d Rev = 1.0 Other BIOS signatures found: ACPI: 000ff9b0 Preloaded elf kernel "kernel" at 0xc051d000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc051d0a8. Pentium Pro MTRR support enabled Creating DISK md0 md0: Malloc disk Math emulator present pci_open(1): mode 1 addr port (0x0cf8) is 0x80032000 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=80] is there (id=254c8086) Using $PIR table, 18 entries at 0xc00f3590 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard found-> vendor=0x8086, dev=0x254c, revid=0x01 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x8086, dev=0x2541, revid=0x01 class=ff-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 found-> vendor=0x8086, dev=0x2545, revid=0x01 class=06-04-00, hdrtype=0x01, mfdev=1 subordinatebus=4 secondarybus=2 found-> vendor=0x8086, dev=0x2546, revid=0x01 class=ff-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 found-> vendor=0x8086, dev=0x244e, revid=0x42 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=1 secondarybus=1 found-> vendor=0x8086, dev=0x2480, revid=0x02 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x8086, dev=0x248b, revid=0x02 class=01-01-8a, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=0 map[10]: type 1, range 32, base 00000000, size 3 map[14]: type 1, range 32, base 00000000, size 2 map[18]: type 1, range 32, base 00000000, size 3 map[1c]: type 1, range 32, base 00000000, size 2 map[20]: type 1, range 32, base 000003a0, size 4 found-> vendor=0x8086, dev=0x2483, revid=0x02 class=0c-05-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=b, irq=0 map[20]: type 1, range 32, base 00000580, size 5 pci0: on pcib0 pci0: (vendor=0x8086, dev=0x2541) at 0.1 pcib1: at device 3.0 on pci0 found-> vendor=0x8086, dev=0x1461, revid=0x04 class=08-00-20, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base febe0000, size 12 found-> vendor=0x8086, dev=0x1460, revid=0x04 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=4 secondarybus=4 found-> vendor=0x8086, dev=0x1461, revid=0x04 class=08-00-20, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base febf0000, size 12 found-> vendor=0x8086, dev=0x1460, revid=0x04 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=3 secondarybus=3 pci2: on pcib1 pci2: (vendor=0x8086, dev=0x1461) at 28.0 pcib2: at device 29.0 on pci2 found-> vendor=0x8086, dev=0x1010, revid=0x01 class=02-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=9 map[10]: type 1, range 64, base fea60000, size 17 map[20]: type 1, range 32, base 00003040, size 6 found-> vendor=0x8086, dev=0x1010, revid=0x01 class=02-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=b, irq=9 map[10]: type 1, range 64, base fea80000, size 17 map[20]: type 1, range 32, base 00003000, size 6 pci4: on pcib2 em0: port 0x3040-0x307f mem 0xfea60000-0xfea7ffff irq 9 at device 5.0 on pci4 bpf: em0 attached em0: Speed:N/A Duplex:N/A em1: port 0x3000-0x303f mem 0xfea80000-0xfea9ffff irq 9 at device 5.1 on pci4 using shared irq9. bpf: em1 attached em1: Speed:N/A Duplex:N/A pci2: (vendor=0x8086, dev=0x1461) at 30.0 pcib3: at device 31.0 on pci2 found-> vendor=0x9005, dev=0x801f, revid=0x03 class=01-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=9 map[10]: type 1, range 32, base 00002800, size 8 map[14]: type 1, range 64, base fe9e0000, size 13 map[1c]: type 1, range 32, base 00002c00, size 8 found-> vendor=0x9005, dev=0x801f, revid=0x03 class=01-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=b, irq=9 map[10]: type 1, range 32, base 00002000, size 8 map[14]: type 1, range 64, base fe9f0000, size 13 map[1c]: type 1, range 32, base 00002400, size 8 pci3: on pcib3 ahd0: port 0x2c00-0x2cff,0x2800-0x28ff mem 0xfe9e0000-0xfe9e1fff irq 9 at device 4.0 on pci3 ahd0: Defaulting to MEMIO on ahd0: Reading SEEPROM...done. ahd0: STPWLEVEL is on ahd0: Manual Primary Termination ahd0: Manual Secondary Termination ahd0: Primary High byte termination Enabled ahd0: Primary Low byte termination Enabled ahd0: Secondary High byte termination Disabled ahd0: Secondary Low byte termination Disabled ahd0: Downloading Sequencer Program... 716 instructions downloaded ahd0: Features 0x101, Bugs 0xfffff, Flags 0x43f0 aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs ahd1: port 0x2400-0x24ff,0x2000-0x20ff mem 0xfe9f0000-0xfe9f1fff irq 9 at device 4.1 on pci3 ahd1: Defaulting to MEMIO on ahd1: Reading SEEPROM...done. ahd1: STPWLEVEL is on ahd1: Manual Primary Termination ahd1: Manual Secondary Termination ahd1: Primary High byte termination Enabled ahd1: Primary Low byte termination Enabled ahd1: Secondary High byte termination Disabled ahd1: Secondary Low byte termination Disabled ahd1: Downloading Sequencer Program... 716 instructions downloaded ahd1: Features 0x101, Bugs 0xfffff, Flags 0x43f0 aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs pci0: (vendor=0x8086, dev=0x2546) at 3.1 pcib4: at device 30.0 on pci0 found-> vendor=0x1002, dev=0x4752, revid=0x27 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base fd000000, size 24 map[14]: type 1, range 32, base 00001000, size 8 map[18]: type 1, range 32, base fe5f0000, size 12 pci1: on pcib4 pci1: (vendor=0x1002, dev=0x4752) at 12.0 irq 11 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x3a0-0x3af,0-0x3,0-0x7,0-0x3,0-0x7 irq 0 at device 31.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x03a0 ata0: mask=03 ostat0=50 ostat2=00 ata0-master: ATAPI 00 00 ata0-slave: ATAPI 00 00 ata0: mask=03 stat0=50 stat1=00 ata0-master: ATA 01 a5 ata0: devices=01 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x03a8 ata1: mask=03 ostat0=7f ostat2=50 ata1-master: ATAPI 7f 7f ata1-slave: ATAPI 14 eb ata1: mask=03 stat0=7f stat1=00 ata1-master: ATA 7f 7f ata1: devices=08 ata1: at 0x170 irq 15 on atapci0 pci0: (vendor=0x8086, dev=0x2483) at 31.3 irq 0 Here is halts hard. For example, keyboard "NumLock", "CapsLock" lights do not switch. From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 17 02:30:18 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB1FD16A4B3 for ; Wed, 17 Sep 2003 02:30:18 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7D5643FBF for ; Wed, 17 Sep 2003 02:30:17 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8H9UHFY070056 for ; Wed, 17 Sep 2003 02:30:17 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8H9UHdB070054; Wed, 17 Sep 2003 02:30:17 -0700 (PDT) (envelope-from gnats) Date: Wed, 17 Sep 2003 02:30:17 -0700 (PDT) Message-Id: <200309170930.h8H9UHdB070054@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Eugene Grosbein Subject: Re: kern/56944: 4.8 cannot boot on Intel Server Board SE7501HG2with SCSI enabled X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Eugene Grosbein List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2003 09:30:18 -0000 The following reply was made to PR kern/56944; it has been noted by GNATS. From: Eugene Grosbein To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/56944: 4.8 cannot boot on Intel Server Board SE7501HG2 with SCSI enabled Date: Wed, 17 Sep 2003 17:21:56 +0800 Here is diff between dmesg.boot for unsuccessful boot attempt (SCSI is enabled in the BIOS Setup) and successful one (SCSI is disabled). -- bad Wed Sep 17 17:19:18 2003 +++ ok Wed Sep 17 17:18:40 2003 @@ -3,7 +3,7 @@ The Regents of the University of California. All rights reserved. FreeBSD 4.8-RELEASE #0: Thu Apr 3 10:53:38 GMT 2003 root@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC -Calibrating clock(s) ... TSC clock: 2657938544 Hz, i8254 clock: 1193114 Hz +Calibrating clock(s) ... TSC clock: 2657931308 Hz, i8254 clock: 1193110 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method @@ -21,7 +21,7 @@ config> di aha0 config> di adv0 config> q -avail memory = 1039847424 (1015476K bytes) +avail memory = 1039826944 (1015456K bytes) bios32: Found BIOS32 Service Directory header at 0xc00fdb20 bios32: Entry = 0xfdb34 (c00fdb34) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xdb55 @@ -35,7 +35,7 @@ Creating DISK md0 md0: Malloc disk Math emulator present -pci_open(1): mode 1 addr port (0x0cf8) is 0x80032000 +pci_open(1): mode 1 addr port (0x0cf8) is 0x8000005c pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=80] is there (id=254c8086) Using $PIR table, 18 entries at 0xc00f3590 @@ -99,64 +99,24 @@ subordinatebus=0 secondarybus=0 intpin=a, irq=9 map[10]: type 1, range 64, base fea60000, size 17 - map[20]: type 1, range 32, base 00003040, size 6 + map[20]: type 1, range 32, base 00002040, size 6 found-> vendor=0x8086, dev=0x1010, revid=0x01 class=02-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=b, irq=9 map[10]: type 1, range 64, base fea80000, size 17 - map[20]: type 1, range 32, base 00003000, size 6 + map[20]: type 1, range 32, base 00002000, size 6 pci4: on pcib2 -em0: port 0x3040-0x307f mem 0xfea60000-0xfea7ffff irq 9 at device 5.0 on pci4 +em0: port 0x2040-0x207f mem 0xfea60000-0xfea7ffff irq 9 at device 5.0 on pci4 bpf: em0 attached em0: Speed:N/A Duplex:N/A -em1: port 0x3000-0x303f mem 0xfea80000-0xfea9ffff irq 9 at device 5.1 on pci4 +em1: port 0x2000-0x203f mem 0xfea80000-0xfea9ffff irq 9 at device 5.1 on pci4 using shared irq9. bpf: em1 attached em1: Speed:N/A Duplex:N/A pci2: (vendor=0x8086, dev=0x1461) at 30.0 pcib3: at device 31.0 on pci2 -found-> vendor=0x9005, dev=0x801f, revid=0x03 - class=01-00-00, hdrtype=0x00, mfdev=1 - subordinatebus=0 secondarybus=0 - intpin=a, irq=9 - map[10]: type 1, range 32, base 00002800, size 8 - map[14]: type 1, range 64, base fe9e0000, size 13 - map[1c]: type 1, range 32, base 00002c00, size 8 -found-> vendor=0x9005, dev=0x801f, revid=0x03 - class=01-00-00, hdrtype=0x00, mfdev=1 - subordinatebus=0 secondarybus=0 - intpin=b, irq=9 - map[10]: type 1, range 32, base 00002000, size 8 - map[14]: type 1, range 64, base fe9f0000, size 13 - map[1c]: type 1, range 32, base 00002400, size 8 pci3: on pcib3 -ahd0: port 0x2c00-0x2cff,0x2800-0x28ff mem 0xfe9e0000-0xfe9e1fff irq 9 at device 4.0 on pci3 -ahd0: Defaulting to MEMIO on -ahd0: Reading SEEPROM...done. -ahd0: STPWLEVEL is on -ahd0: Manual Primary Termination -ahd0: Manual Secondary Termination -ahd0: Primary High byte termination Enabled -ahd0: Primary Low byte termination Enabled -ahd0: Secondary High byte termination Disabled -ahd0: Secondary Low byte termination Disabled -ahd0: Downloading Sequencer Program... 716 instructions downloaded -ahd0: Features 0x101, Bugs 0xfffff, Flags 0x43f0 -aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs -ahd1: port 0x2400-0x24ff,0x2000-0x20ff mem 0xfe9f0000-0xfe9f1fff irq 9 at device 4.1 on pci3 -ahd1: Defaulting to MEMIO on -ahd1: Reading SEEPROM...done. -ahd1: STPWLEVEL is on -ahd1: Manual Primary Termination -ahd1: Manual Secondary Termination -ahd1: Primary High byte termination Enabled -ahd1: Primary Low byte termination Enabled -ahd1: Secondary High byte termination Disabled -ahd1: Secondary Low byte termination Disabled -ahd1: Downloading Sequencer Program... 716 instructions downloaded -ahd1: Features 0x101, Bugs 0xfffff, Flags 0x43f0 -aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs pci0: (vendor=0x8086, dev=0x2546) at 3.1 pcib4: at device 30.0 on pci0 found-> vendor=0x1002, dev=0x4752, revid=0x27 @@ -188,3 +148,112 @@ ata1: devices=08 ata1: at 0x170 irq 15 on atapci0 pci0: (vendor=0x8086, dev=0x2483) at 31.3 irq 0 +ex_isa_identify() +ata-: ata0 exists, using next available unit number +ata-: ata1 exists, using next available unit number +Trying Read_Port at 203 +Trying Read_Port at 243 +Trying Read_Port at 283 +Trying Read_Port at 2c3 +Trying Read_Port at 303 +Trying Read_Port at 343 +Trying Read_Port at 383 +Trying Read_Port at 3c3 +isa_probe_children: disabling PnP devices +isa_probe_children: probing non-PnP devices +orm0: any boot >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: with Buslogic BT958 adapter From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 17 08:30:20 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3C6916A4B3; Wed, 17 Sep 2003 08:30:20 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C154643FD7; Wed, 17 Sep 2003 08:30:19 -0700 (PDT) (envelope-from roam@FreeBSD.org) Received: from freefall.freebsd.org (roam@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8HFUJFY040599; Wed, 17 Sep 2003 08:30:19 -0700 (PDT) (envelope-from roam@freefall.freebsd.org) Received: (from roam@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8HFUJhO040592; Wed, 17 Sep 2003 08:30:19 -0700 (PDT) (envelope-from roam) Date: Wed, 17 Sep 2003 08:30:19 -0700 (PDT) From: Peter Pentchev Message-Id: <200309171530.h8HFUJhO040592@freefall.freebsd.org> To: roam@FreeBSD.org, freebsd-bugs@FreeBSD.org, re@FreeBSD.org Subject: Re: conf/56952: Floppy install error X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2003 15:30:21 -0000 Synopsis: Floppy install error Responsible-Changed-From-To: freebsd-bugs->re Responsible-Changed-By: roam Responsible-Changed-When: Wed Sep 17 08:29:33 PDT 2003 Responsible-Changed-Why: Does src/release fall in the release engineering team's realm? If so, the following trivial patch might be of interest... Index: src/release/Makefile =================================================================== RCS file: /home/ncvs/src/release/Makefile,v retrieving revision 1.818 diff -u -r1.818 Makefile --- src/release/Makefile 11 Aug 2003 04:21:58 -0000 1.818 +++ src/release/Makefile 17 Sep 2003 15:27:49 -0000 @@ -665,7 +665,7 @@ rm -rf ${RD}/mfsfd mkdir ${RD}/mfsfd cd ${RD}/mfsfd && \ - mkdir -p etc/defaults dev mnt stand/etc/defaults stand/help + mkdir -p etc/defaults dev dist mnt stand/etc/defaults stand/help @cd ${.CURDIR} && $(MAKE) installCRUNCH CRUNCH=boot \ DIR=${RD}/mfsfd/stand ZIP=false ( cd ${RD}/mfsfd && \ http://www.freebsd.org/cgi/query-pr.cgi?pr=56952 From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 17 10:00:41 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC14816A4BF for ; Wed, 17 Sep 2003 10:00:40 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3E2443F75 for ; Wed, 17 Sep 2003 10:00:37 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8HH0bFY066859 for ; Wed, 17 Sep 2003 10:00:37 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8HH0bm8066858; Wed, 17 Sep 2003 10:00:37 -0700 (PDT) (envelope-from gnats) Resent-Date: Wed, 17 Sep 2003 10:00:37 -0700 (PDT) Resent-Message-Id: <200309171700.h8HH0bm8066858@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Rudolf Cejka Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06F2616A4B3 for ; Wed, 17 Sep 2003 09:50:20 -0700 (PDT) Received: from kazi.fit.vutbr.cz (kazi.fit.vutbr.cz [147.229.8.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0037843FAF for ; Wed, 17 Sep 2003 09:50:17 -0700 (PDT) (envelope-from cejkar@fit.vutbr.cz) Received: from kazi.fit.vutbr.cz (localhost [127.0.0.1]) by kazi.fit.vutbr.cz (8.12.10/8.12.9) with ESMTP id h8HGoE4F001161 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 17 Sep 2003 18:50:15 +0200 (CEST) Received: (from cejkar@localhost) by kazi.fit.vutbr.cz (8.12.10/8.12.5/Submit) id h8HGoE2L001160; Wed, 17 Sep 2003 18:50:14 +0200 (CEST) Message-Id: <200309171650.h8HGoE2L001160@kazi.fit.vutbr.cz> Date: Wed, 17 Sep 2003 18:50:14 +0200 (CEST) From: Rudolf Cejka To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: conf/56956: xterm-ic from termcap is not included in termcap.db X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Rudolf Cejka List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2003 17:00:41 -0000 >Number: 56956 >Category: conf >Synopsis: xterm-ic from termcap is not included in termcap.db >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: Wed Sep 17 10:00:37 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Rudolf Cejka >Release: FreeBSD 4.8-STABLE i386 >Organization: FIT, Brno University of Technology, Czech Republic >Environment: >Description: If you look in termcap (4.x and/or 5.x - it seems that it is everywhere) around xterm-ic record, you see: # comment \ xterm-ic ... \ ... Unfortunatelly, cap_mkdb (specifically cgetnext() from libc) interprets it just as one big comment, because "\" has bigger priority that "#", so "\" is applied before "#". It means that xterm-ic is not compiled into termcap.db database. >How-To-Repeat: >Fix: The first variant: Just remove "\" from the end of comment line: --- termcap.orig Tue Aug 12 15:32:35 2003 +++ termcap Wed Sep 17 17:44:33 2003 @@ -2996,7 +2996,7 @@ :tc=xterm-basic: # # vi may work better with this entry, because vi doesn't use insert mode much. -# |xterm-ic|xterm-vi|xterm with insert character instead of insert mode:\ +# |xterm-ic|xterm-vi|xterm with insert character instead of insert mode: xterm-ic|xterm-vi|xterm with insert char:\ :im@:ei@:mi@:ic=\E[@:IC=\E[%d@:tc=xterm: # The second variant: Remove all line, because I do not know why it is here: --- termcap.orig Tue Aug 12 15:32:35 2003 +++ termcap Wed Sep 17 17:45:06 2003 @@ -2996,7 +2996,6 @@ :tc=xterm-basic: # # vi may work better with this entry, because vi doesn't use insert mode much. -# |xterm-ic|xterm-vi|xterm with insert character instead of insert mode:\ xterm-ic|xterm-vi|xterm with insert char:\ :im@:ei@:mi@:ic=\E[@:IC=\E[%d@:tc=xterm: # Or the third possible fix - change the logic in src/lib/libc/gen/getcap.c. I do not know if it is a bug, or a feature :o) >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 17 10:30:23 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69BC116A4BF for ; Wed, 17 Sep 2003 10:30:23 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F17B43FE3 for ; Wed, 17 Sep 2003 10:30:18 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8HHUIFY080160 for ; Wed, 17 Sep 2003 10:30:18 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8HHUI76080159; Wed, 17 Sep 2003 10:30:18 -0700 (PDT) (envelope-from gnats) Resent-Date: Wed, 17 Sep 2003 10:30:18 -0700 (PDT) Resent-Message-Id: <200309171730.h8HHUI76080159@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Oliver Eikemeier Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68ECA16A4BF for ; Wed, 17 Sep 2003 10:26:56 -0700 (PDT) Received: from mx2.fillmore-labs.com (lima.fillmore-labs.com [62.138.193.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7945843F85 for ; Wed, 17 Sep 2003 10:26:55 -0700 (PDT) (envelope-from eikemeier@fillmore-labs.com) Received: from atlantis.wireless.fillmore-labs.com ([192.168.161.242] helo=fillmore-labs.com) by mx2.fillmore-labs.com with asmtp (TLSv1:AES256-SHA:256) (Exim 4.22) id 19zg4s-0009HG-ST for FreeBSD-gnats-submit@FreeBSD.org; Wed, 17 Sep 2003 19:26:54 +0200 Message-Id: <3F68995E.90702@fillmore-labs.com> Date: Wed, 17 Sep 2003 19:26:54 +0200 From: Oliver Eikemeier To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/56961: [PATCH] pkg_install: match package version numbers with relational operators X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2003 17:30:23 -0000 >Number: 56961 >Category: bin >Synopsis: [PATCH] pkg_install: match package version numbers with relational operators >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: Wed Sep 17 10:30:18 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Oliver Eikemeier >Release: FreeBSD 5.1-CURRENT i386 >Organization: Fillmore Labs - http://www.fillmore-labs.com >Environment: System: FreeBSD nuuk.fillmore-labs.com 5.1-CURRENT >Description: The overall idea is to have something like NetBSD's security/audit-packages http://www.netbsd.org/Documentation/pkgsrc/features.html#id2980060 it uses commands like pkg_info -E 'apache>=2.0<2.0.45 && echo " vulnurable: see http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0132" to test for installed vulnurable packages. The following features have been added: * patterns can have relational operators (<, >, <=, >=, ==, !=) with a version number appended, if they do the pattern matches only the base name, and the versions will be compared according to the relational operator. Multiple operator can be used, they have to match all (logical and). i.e. a glob pattern 'openldap-*>2.0<2.1' matches: openldap-server-2.0.27_2 openldap-client-2.0.27 it does not match: openldap-server-2.1.22 (version number mismatch) openldap-2.0.27 (glob pattern does not match) * flag -E (pkg_info): list matching package names only (mainly for scripts), return 0 if any packages match, 1 otherwise. pkg_info -E 'openssh<3.6.1_2' && echo " vulnurable: http://www.openssh.com/txt/buffer.adv" * flag -T (pkg_version) test if a given name matches a given pattern (mainly for scripts) pkg_version -T 'unzip-5.50' 'unzip<5.50_3' && \ echo "before installing, please upgrade your port collection: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0282" * flag -X (pkg_info, pkg_delete, pkg_version): interpret arguments as extended regular expressions (instead of regular expressions): pkg_info -Ix '^openldap-\(client\)\{0,1\}\(server\)\{0,1\}-' => pkg_info -IX '^openldap-(client|server)-' * to get a more robust version number sorting, the version compare routines have been completely rewritten. The follwing structure of FreeBSD version numbers is assumed: - FreeBSD version numbers are composed of components separated by dots. A component consists of a version number, a letter and a patchlevel number (number letter number), where the either the version number or the letter is optional, the patchlevel may only be present if it is preceeded by a letter. This does not conform to the porter's handbook, but let us formulate rules that fit the current practice and are far simpler than to make decisions based on the order of nutters and lembers. Besides, people use versions like 10b2 in the ports... - characters !~ [a-zA-z0-9.] are treated as separators (1.0+2003.09.16 = 1.0.2003.09.16) this may not be what you expect: 1.0.1+2003.09.16 < 1.0+2003.09.16 - consecutive separators are collapsed (10..1 = 10.1) - missing separators are inserted, letter number letter => letter number . letter (10a1b2 = 10a1.b2) - only the first letter is significant (except for the special string "pl"), and case is ignored (1.a2 = 1.alpha2 = 1.Anything2) - the letter sort order is: pl, a, b, ..., z - missing letters sort like "pl" (5 = 5pl0, 10 < 10a) - missing version numbers sort as -1 (a2 < 0.1, 10.a2 < 10.0) - missing components are assumed to be 0 (10 = 10.0 = 10.0.0) In case anybody is interested, this gives the following sort orders: 10.a = 10.a.0 = 10.a0 < 10 = 10.0 < 10a = 10a.0 = 10a0 11.b < 11.b.1 < 11.b1 < 11 < 11.1 < 11b < 11b.1 < 11b1 6.r2b3 < 6.0r2b3 < 6r.3b.2 < 6r.3b2 < 6r3.b2 = 6r3b2 < 6r3 8.pl3 < 8.0 < 8.0pl3 < 8pl3 2.a+1.15 < 2.a+10.3 < 2.a2+1.15 < 2.a2+10.3 the perl pkg_version on 4.x is nearly identical: 10.a < 10.a.0 < 10.a0 < 10 < 10.0 < 10a < 10a.0 < 10a0 11.b < 11.b.1 < 11.b1 < 11 < 11.1 < 11b < 11b.1 < 11b1 6.r2b3 < 6.0r2b3 < 6r.3b.2 < 6r.3b2 < 6r3.b2 < 6r3 < 6r3b2 8.pl3 < 8.0 < 8.0pl3 < 8pl3 2.a+1.15 < 2.a+10.3 < 2.a2+1.15 < 2.a2+10.3 whereas pkg_version on 5.x has: 10.a.0 < 10.a < 10.a0 < 10 < 10.0 < 10a0 < 10a.0 < 10a 11.b.1 < 11.b < 11.b1 < 11 < 11.1 < 11b.1 < 11b < 11b1 6.r2b3 = 6.0r2b3 < 6r.3b.2 < 6r.3b2 < 6r3.b2 < 6r3 < 6r3b2 8.pl3 < 8.0 < 8.0pl3 < 8pl3 2.a+1.15 < 2.a2+1.15 < 2.a2+10.3 < 2.a+10.3 and is not transitive: 10.a.0 < 10.a < 10.a0, but 10.a.0 > 10.a0 10a0 < 10a.0 < 10a, but 10a0 > 10a 8.pl3 < 8.0 < 8.0pl3, but 8.0pl3 == 8.pl3 portsversion from portupgrade follows the 4.x perl script with the exception of: 2.a2+1.15 < 2.a2+10.3 < 2.a+1.15 < 2.a+10.3 besides, a bug has been fixed that allows to parse version numbers on ports with a number following an underscore (currently thx_1138, pips750_2000 and ruby-cast_256) ruby-cast_256-1.0 < ruby-cast_256-1.0_1 (its ruby-cast_256-1.0 > ruby-cast_256-1.0_1 on 5.x and ruby-cast_256-1.0 = ruby-cast_256-1.0_1 on 4.x) * pkg_version uses /usr/ports/INDEX-5 on 5.x and /usr/ports/INDEX on 4.x (important for the port sysutils/pkg_install and a MFC) >How-To-Repeat: >Fix: A patch is on ftp://ftp.fillmore-labs.com/pub/FreeBSD/patches/patch-pkg_install-20030917.gz MD5 (patch-pkg_install-20030917.gz) = 82ddd00ae3f48e4cb2f186363820cd43 *** FreeBSD 5.X *** Apply it to your source tree (replaces base tools): # fetch ftp://ftp.fillmore-labs.com/pub/FreeBSD/patches/patch-pkg_install-20030917.gz # md5 patch-pkg_install-20030917.gz # gzcat patch-pkg_install-20030917.gz | patch -p0 -d /usr/src/usr.sbin/pkg_install # cd /usr/src/usr.sbin/pkg_install; make clean all install Test with: # pkg_info -P Package tools revision: 20030917 *** FreeBSD 4.X *** Apply the following patch to port sysutils/pkg_install: --- pkg_install.patch begins here --- diff -Nur pkg_install/Makefile.orig pkg_install/Makefile --- pkg_install/Makefile.orig Thu Sep 4 18:40:45 2003 +++ pkg_install/Makefile Wed Sep 17 16:43:46 2003 @@ -12,6 +12,10 @@ MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= marcus +PATCH_SITES= ftp://ftp.fillmore-labs.com/pub/FreeBSD/%SUBDIR%/ +PATCH_SITE_SUBDIR= patches +PATCHFILES= patch-pkg_install-20030917.gz + MAINTAINER= portmgr@freebsd.org COMMENT= FreeBSD 5.x version of the package tools for older system releases diff -Nur pkg_install/distinfo.orig pkg_install/distinfo --- pkg_install/distinfo.orig Wed Sep 3 18:11:20 2003 +++ pkg_install/distinfo Wed Sep 17 17:00:56 2003 @@ -1 +1,2 @@ MD5 (pkg_install-20030714.tar.gz) = 183bed34c5427aeaf2025d9e2176e9ed +MD5 (patch-pkg_install-20030917.gz) = 82ddd00ae3f48e4cb2f186363820cd43 --- pkg_install.patch ends here --- Test with: # /usr/local/sbin/pkg_info -P Package tools revision: 20030917 >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 17 14:40:17 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34A2A16A4BF for ; Wed, 17 Sep 2003 14:40:17 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CB7243FE9 for ; Wed, 17 Sep 2003 14:40:16 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8HLeGFY060650 for ; Wed, 17 Sep 2003 14:40:16 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8HLeGFu060649; Wed, 17 Sep 2003 14:40:16 -0700 (PDT) (envelope-from gnats) Date: Wed, 17 Sep 2003 14:40:16 -0700 (PDT) Message-Id: <200309172140.h8HLeGFu060649@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Dan Langille" Subject: Re: kern/56954: [PATCH] fix typo in comment of sys/cam/scsi/scsi_sa.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dan Langille List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2003 21:40:17 -0000 The following reply was made to PR kern/56954; it has been noted by GNATS. From: "Dan Langille" To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: Re: kern/56954: [PATCH] fix typo in comment of sys/cam/scsi/scsi_sa.c Date: Wed, 17 Sep 2003 17:31:40 -0400 That patch is the wrong way around... My apologies. Use this instead: --- scsi_sa.c.org Wed Sep 17 10:55:56 2003 +++ scsi_sa.c Wed Sep 17 10:56:17 2003 @@ -2441,7 +2441,7 @@ * Grotesque as it seems, the few times * I've actually seen a non-zero resid, * the tape drive actually lied and had - * writtent all the data!. + * written all the data!. */ csio->resid = 0; } -- Dan Langille : http://www.langille.org/ From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 17 15:59:36 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2C1916A4D6; Wed, 17 Sep 2003 15:59:36 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1271441F3; Wed, 17 Sep 2003 15:58:26 -0700 (PDT) (envelope-from nectar@FreeBSD.org) Received: from freefall.freebsd.org (nectar@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8HMwQFY083967; Wed, 17 Sep 2003 15:58:26 -0700 (PDT) (envelope-from nectar@freefall.freebsd.org) Received: (from nectar@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8HMwQj6083963; Wed, 17 Sep 2003 15:58:26 -0700 (PDT) (envelope-from nectar) Date: Wed, 17 Sep 2003 15:58:26 -0700 (PDT) From: Jacques Vidrine Message-Id: <200309172258.h8HMwQj6083963@freefall.freebsd.org> To: nectar@FreeBSD.org, freebsd-bugs@FreeBSD.org, orion@FreeBSD.org Subject: Re: kern/55089: [patch] add aditional codec id for YMF753 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2003 22:59:37 -0000 Synopsis: [patch] add aditional codec id for YMF753 Responsible-Changed-From-To: freebsd-bugs->orion Responsible-Changed-By: nectar Responsible-Changed-When: Wed Sep 17 15:57:49 PDT 2003 Responsible-Changed-Why: Looks like orion has added most recent IDs. http://www.freebsd.org/cgi/query-pr.cgi?pr=55089 From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 18 00:30:23 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E64AC16A4B3 for ; Thu, 18 Sep 2003 00:30:23 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B61E43FD7 for ; Thu, 18 Sep 2003 00:30:22 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8I7UMFY045960 for ; Thu, 18 Sep 2003 00:30:22 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8I7UM39045959; Thu, 18 Sep 2003 00:30:22 -0700 (PDT) (envelope-from gnats) Resent-Date: Thu, 18 Sep 2003 00:30:22 -0700 (PDT) Resent-Message-Id: <200309180730.h8I7UM39045959@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, John Mechalas Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D15BD16A4BF for ; Thu, 18 Sep 2003 00:29:18 -0700 (PDT) Received: from onyx.spiritone.com (onyx.spiritone.com [216.99.193.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B6B343FE1 for ; Thu, 18 Sep 2003 00:29:18 -0700 (PDT) (envelope-from seagull@aracnet.com) Received: from onyx.spiritone.com (onyx.spiritone.com [127.0.0.1]) by onyx.spiritone.com (8.12.8/8.12.8) with ESMTP id h8I7S1Qk010673 for ; Thu, 18 Sep 2003 00:28:01 -0700 Received: (from seagull@localhost) by onyx.spiritone.com (8.12.8/8.12.8/Submit) id h8I7S04N010671; Thu, 18 Sep 2003 00:28:00 -0700 Message-Id: <200309180728.h8I7S04N010671@onyx.spiritone.com> Date: Thu, 18 Sep 2003 00:28:00 -0700 From: John Mechalas To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/56972: Promise Ultra 100 TX2 causes kernel hangs X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John Mechalas List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2003 07:30:24 -0000 >Number: 56972 >Category: kern >Synopsis: Promise Ultra 100 TX2 causes kernel hangs >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 18 00:30:21 PDT 2003 >Closed-Date: >Last-Modified: >Originator: John Mechalas >Release: FreeBSD 5.1-RELEASE i386 >Organization: >Environment: System: FreeBSD medley 5.1-RELEASE FreeBSD 5.1-RELEASE #3: Mon Sep 15 22:02:22 PDT 2003 root@ivory:/usr/src/sys/i386/compile/MEDLEY i386 This is a dual PIII system on an Intel L440GX+ motherboard. Unfortunately, I could not keep the system running long enough to run send-pr, so I am cutting and pasting the boot information from the log file instead of generating it live from the failing configuration. Sorry. It's the best I can do. There are three ATA devices (2 UDM100 HDs on primary ata2 and a CD-ROM on secondary at ata3). The L440GX+ has onboard SCSI, but there are not SCSI peripherals attached. kernel boot file is /boot/kernel/kernel Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.1-RELEASE #3: Mon Sep 15 22:02:22 PDT 2003 root@ivory:/usr/src/sys/i386/compile/MEDLEY Preloaded elf kernel "/boot/kernel/kernel" at 0xc0456000. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 696410466 Hz CPU: Intel Pentium III (696.41-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Stepping = 3 Features=0x387fbff real memory = 268369920 (255 MB) avail memory = 255913984 (244 MB) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Using $PIR table, 12 entries at 0xc00fdf00 pcib0: at pcibus 0 on motherboard pci0: on pcib0 agp0: mem 0xf8000000-0xfbffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib2: at device 15.0 on pci1 pci2: on pcib2 atapci0: port 0x2000-0x200f,0x2010-0x2013,0x2018-0x201f,0x2014-0x2017,0x2020-0x2027 mem 0xf4200000-0xf4203fff irq 11 at device 4.0 on pci2 ata2: at 0x2020 on atapci0 ata3: at 0x2018 on atapci0 pcib3: at device 11.0 on pci0 pci3: on pcib3 de0: port 0x3000-0x307f mem 0xf4300000-0xf430007f irq 10 at device 4.0 on pci3 de0: ZNYX ZX34X 21140A [10-100Mb/s] pass 2.2 de0: address 00:c0:95:e0:79:2c de1: port 0x3080-0x30ff mem 0xf4300400-0xf430047f irq 11 at device 5.0 on pci3 de1: ZNYX ZX34X 21140A [10-100Mb/s] pass 2.2 de1: address 00:c0:95:e0:79:2d de2: port 0x3400-0x347f mem 0xf4300800-0xf430087f irq 11 at device 6.0 on pci3 de2: ZNYX ZX34X 21140A [10-100Mb/s] pass 2.2 de2: address 00:c0:95:e0:79:2e de3: port 0x3480-0x34ff mem 0xf4300c00-0xf4300c7f irq 11 at device 7.0 on pci3 de3: ZNYX ZX34X 21140A [10-100Mb/s] pass 2.2 de3: address 00:c0:95:e0:79:2f ahc0: port 0x1400-0x14ff mem 0xf4100000-0xf4100fff irq 5 at device 12.0 on pci0 aic7896/97: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs ahc1: port 0x1800-0x18ff mem 0xf4101000-0xf4101fff irq 5 at device 12.1 on pci0 aic7896/97: Ultra2 Wide Channel B, SCSI Id=7, 32/253 SCBs puc0: port 0x10c0-0x10c7 irq 4 at device 13.0 on pci0 sio0: type 16550A sio0: unable to activate interrupt in fast mode - using normal mode pci0: at device 14.0 (no driver attached) isab0: at device 18.0 on pci0 isa0: on isab0 atapci1: port 0x1050-0x105f at device 18.1 on pci0 ata0: at 0x1f0 irq 14 on atapci1 ata1: at 0x170 irq 15 on atapci1 uhci0: port 0x1060-0x107f irq 11 at device 18.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered piix0 port 0x1040-0x104f at device 18.3 on pci0 Timecounter "PIIX" frequency 3579545 Hz pci0: at device 20.0 (no driver attached) orm0: >How-To-Repeat: >Fix: none >Release-Note: >Audit-Trail: >Unformatted: with Buslogic BT 958 From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 18 08:00:37 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C75416A4B3 for ; Thu, 18 Sep 2003 08:00:37 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88A2743FB1 for ; Thu, 18 Sep 2003 08:00:36 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8IF0aFY082276 for ; Thu, 18 Sep 2003 08:00:36 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8IF0a2W082275; Thu, 18 Sep 2003 08:00:36 -0700 (PDT) (envelope-from gnats) Date: Thu, 18 Sep 2003 08:00:36 -0700 (PDT) Message-Id: <200309181500.h8IF0a2W082275@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Pawel Malachowski Subject: Re: kern/56975: Write to a Compact Flash (CF) card freezes the whole system X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Pawel Malachowski List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2003 15:00:37 -0000 The following reply was made to PR kern/56975; it has been noted by GNATS. From: Pawel Malachowski To: S?ren Schmidt Cc: alo@iki.fi, FreeBSD-gnats-submit@FreeBSD.org Subject: Re: kern/56975: Write to a Compact Flash (CF) card freezes the whole system Date: Thu, 18 Sep 2003 16:53:08 +0200 On Thu, Sep 18, 2003 at 01:20:29AM -0700, S?ren Schmidt wrote: > State-Changed-From-To: open->closed > State-Changed-By: sos > State-Changed-When: Thu Sep 18 01:12:29 PDT 2003 > State-Changed-Why: > You are on the right track, I've just yesterday fixed the problem on > a system donated by servicefactory.se, just a bit differently from > your patch and under 4.x. I'll commit my patch in a few days when I'm > sure it has no ill effects.. So why not to reopen this PR with proper responsible, put it in patched state after commiting your fix and close after MFC to 4.x? It makes PR database consistent and PR tracking easier. cheers, -- Pawe³ Ma³achowski From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 18 08:00:39 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCAFE16A4B3 for ; Thu, 18 Sep 2003 08:00:39 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44CAB43FDD for ; Thu, 18 Sep 2003 08:00:39 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8IF0dFY082286 for ; Thu, 18 Sep 2003 08:00:39 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8IF0cTl082284; Thu, 18 Sep 2003 08:00:38 -0700 (PDT) (envelope-from gnats) Date: Thu, 18 Sep 2003 08:00:38 -0700 (PDT) Message-Id: <200309181500.h8IF0cTl082284@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: John Mechalas Subject: Re: kern/56972: Promise Ultra 100 TX2 causes kernel hangs X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John Mechalas List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2003 15:00:39 -0000 The following reply was made to PR kern/56972; it has been noted by GNATS. From: John Mechalas To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: kern/56972: Promise Ultra 100 TX2 causes kernel hangs Date: Thu, 18 Sep 2003 07:54:56 -0700 That's a very interesting response, but I am suspicious that it is purely a hardware problem. These two disks have worked together using the on-board controller (PIIX4 UDMA33) with no issues, so the only change was installing the TX2 controller. Might this be an issue with SMP kernels? From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 18 09:30:04 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49FDC16A4B3 for ; Thu, 18 Sep 2003 09:30:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE06143FE9 for ; Thu, 18 Sep 2003 09:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8IGU2FY012430 for ; Thu, 18 Sep 2003 09:30:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8IGU2IN012429; Thu, 18 Sep 2003 09:30:02 -0700 (PDT) (envelope-from gnats) Resent-Date: Thu, 18 Sep 2003 09:30:02 -0700 (PDT) Resent-Message-Id: <200309181630.h8IGU2IN012429@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, marc Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CDAB16A4B3 for ; Thu, 18 Sep 2003 09:28:30 -0700 (PDT) Received: from server.int.milestonerdl.com (user-0cdvhho.cable.mindspring.com [24.223.198.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 957A843FE0 for ; Thu, 18 Sep 2003 09:28:29 -0700 (PDT) (envelope-from marc@server.int.milestonerdl.com) Received: from server.int.milestonerdl.com (localhost [127.0.0.1]) h8IGZ9GA060142 for ; Thu, 18 Sep 2003 11:35:10 -0500 (CDT) (envelope-from marc@server.int.milestonerdl.com) Received: (from root@localhost)h8IGZ9SZ060141; Thu, 18 Sep 2003 11:35:09 -0500 (CDT) (envelope-from marc) Message-Id: <200309181635.h8IGZ9SZ060141@server.int.milestonerdl.com> Date: Thu, 18 Sep 2003 11:35:09 -0500 (CDT) From: marc To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: misc/56983: after make update on Sep 17/18th, mergemaster failes on sendmail X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: marc List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2003 16:30:04 -0000 >Number: 56983 >Category: misc >Synopsis: after make update on Sep 17/18th, mergemaster failes on sendmail >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Sep 18 09:30:02 PDT 2003 >Closed-Date: >Last-Modified: >Originator: marc >Release: FreeBSD 4.8-STABLE i386 >Organization: Milestone r/d labs >Environment: System: FreeBSD server.int.milestonerdl.com 4.8-STABLE FreeBSD 4.8-STABLE #16: Mon May 12 09:26:47 CDT 2003 marc@server.int.milestonerdl.com:/usr/obj/usr/src/sys/DUALV i386 >Description: Using mergemaster gets the below output. isdntel.alias.sample ; do install -o root -g wheel -m 600 $i /var/tmp/temproot/etc/isdn ; done cd /usr/src/etc/sendmail; make distribution install -o root -g wheel -m 644 /usr/src/etc/sendmail/freebsd.mc freebsd.cf /var/tmp/temproot/etc/mail install: freebsd.cf: No such file or directory *** Error code 71 Stop in /usr/src/etc/sendmail. *** Error code 1 Stop in /usr/src/etc. *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to the temproot environment >How-To-Repeat: make update on 4.8-STABLE mergemaster (at least it repeats on 2 boxes) >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 18 11:25:18 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C638F16A4B3; Thu, 18 Sep 2003 11:25:18 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4077043FBD; Thu, 18 Sep 2003 11:25:18 -0700 (PDT) (envelope-from ceri@FreeBSD.org) Received: from freefall.freebsd.org (ceri@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8IIPIFY052786; Thu, 18 Sep 2003 11:25:18 -0700 (PDT) (envelope-from ceri@freefall.freebsd.org) Received: (from ceri@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8IIPIib052782; Thu, 18 Sep 2003 11:25:18 -0700 (PDT) (envelope-from ceri) Date: Thu, 18 Sep 2003 11:25:18 -0700 (PDT) From: Ceri Davies Message-Id: <200309181825.h8IIPIib052782@freefall.freebsd.org> To: ceri@FreeBSD.org, gnats-admin@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: conf/56934: rc.firewall rules for natd expect an interface, but it can be an address X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2003 18:25:18 -0000 Old Synopsis: New Synopsis: rc.firewall rules for natd expect an interface, but it can be an address Class-Changed-From-To: sw-bug->change-request Class-Changed-By: ceri Class-Changed-When: Thu Sep 18 11:23:20 PDT 2003 Class-Changed-Why: This is a change-request (according to the original submission). Responsible-Changed-From-To: gnats-admin->freebsd-bugs Responsible-Changed-By: ceri Responsible-Changed-When: Thu Sep 18 11:23:20 PDT 2003 Responsible-Changed-Why: Reassign misfiled PR. http://www.freebsd.org/cgi/query-pr.cgi?pr=56934 From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 18 11:34:20 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F10316A4B3; Thu, 18 Sep 2003 11:34:20 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA95E43FDF; Thu, 18 Sep 2003 11:34:19 -0700 (PDT) (envelope-from ceri@FreeBSD.org) Received: from freefall.freebsd.org (ceri@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8IIYJFY058431; Thu, 18 Sep 2003 11:34:19 -0700 (PDT) (envelope-from ceri@freefall.freebsd.org) Received: (from ceri@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8IIYJnD058427; Thu, 18 Sep 2003 11:34:19 -0700 (PDT) (envelope-from ceri) Date: Thu, 18 Sep 2003 11:34:19 -0700 (PDT) From: Ceri Davies Message-Id: <200309181834.h8IIYJnD058427@freefall.freebsd.org> To: ceri@FreeBSD.org, gnats-admin@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/56632: MTIO incorrect mt_fileno status after MTEOD X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2003 18:34:20 -0000 Synopsis: MTIO incorrect mt_fileno status after MTEOD Responsible-Changed-From-To: gnats-admin->freebsd-bugs Responsible-Changed-By: ceri Responsible-Changed-When: Thu Sep 18 11:32:54 PDT 2003 Responsible-Changed-Why: Reassign misfiled PR. http://www.freebsd.org/cgi/query-pr.cgi?pr=56632 From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 18 13:30:02 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E61A16A4B3; Thu, 18 Sep 2003 13:30:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1D5D43FB1; Thu, 18 Sep 2003 13:30:01 -0700 (PDT) (envelope-from ru@FreeBSD.org) Received: from freefall.freebsd.org (ru@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8IKU1FY010353; Thu, 18 Sep 2003 13:30:01 -0700 (PDT) (envelope-from ru@freefall.freebsd.org) Received: (from ru@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8IKU1dl010349; Thu, 18 Sep 2003 13:30:01 -0700 (PDT) (envelope-from ru) Date: Thu, 18 Sep 2003 13:30:01 -0700 (PDT) From: Ruslan Ermilov Message-Id: <200309182030.h8IKU1dl010349@freefall.freebsd.org> To: marc@router.net, ru@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: misc/56983: after make update on Sep 17/18th, mergemaster failes on sendmail X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2003 20:30:02 -0000 Synopsis: after make update on Sep 17/18th, mergemaster failes on sendmail State-Changed-From-To: open->closed State-Changed-By: ru State-Changed-When: Thu Sep 18 13:27:25 PDT 2003 State-Changed-Why: You need to upgrade the mergemaster(8) first. http://www.freebsd.org/cgi/query-pr.cgi?pr=56983 From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 18 14:20:19 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92B7216A4D7 for ; Thu, 18 Sep 2003 14:20:19 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8DA243FE0 for ; Thu, 18 Sep 2003 14:20:15 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8ILKFFY027416 for ; Thu, 18 Sep 2003 14:20:15 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8ILKF6X027415; Thu, 18 Sep 2003 14:20:15 -0700 (PDT) (envelope-from gnats) Resent-Date: Thu, 18 Sep 2003 14:20:15 -0700 (PDT) Resent-Message-Id: <200309182120.h8ILKF6X027415@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jeremy Bingham Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EE3616A4B3 for ; Thu, 18 Sep 2003 14:11:13 -0700 (PDT) Received: from lagash.satanosphere.com (216-210-218-82.atgi.net [216.210.218.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1F8343FAF for ; Thu, 18 Sep 2003 14:11:11 -0700 (PDT) (envelope-from jeremy@lagash.satanosphere.com) Received: (from jeremy@localhost) by lagash.satanosphere.com (8.12.9/8.12.9) id h8ILHwnZ068015; Thu, 18 Sep 2003 14:17:58 -0700 (PDT) (envelope-from jeremy) Message-Id: <200309182117.h8ILHwnZ068015@lagash.satanosphere.com> Date: Thu, 18 Sep 2003 14:17:58 -0700 (PDT) From: Jeremy Bingham To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/56985: Fix for OEM Proxim Harmony PCMCIA wireless cards X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jeremy Bingham List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2003 21:20:19 -0000 >Number: 56985 >Category: kern >Synopsis: Fix for OEM Proxim Harmony PCMCIA wireless cards >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Sep 18 14:20:15 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Jeremy Bingham >Release: FreeBSD 5.1-CURRENT i386 >Organization: >Environment: System: FreeBSD akkad.satanosphere.com 5.1-CURRENT FreeBSD 5.1-CURRENT #1: Thu S ep 18 12:20:09 PDT 2003 jeremy@akkad.satanosphere.com:/usr/src/sys/i386/compile/ AKKAD i386 >Description: This particular kind of Proxim Harmony PCMCIA wireless card had a different product identifier than a normal Harmony card. If the card was inserted, it would say output this: pccard0: (manufacturer=0x0126, product=0x0002) at function 0 pccard0: CIS info: PROXIM, LAN PC CARD HARMONY 80211B, >How-To-Repeat: Find one of these cards and insert it into a FreeBSD machine with a PCMCIA slot. >Fix: These patches add entries for this card into the kernel. After these patches are applied and the kernel rebuilt, the card works fine. It comes up and a valid wi0 interface, and will work as a network monitor with the version of dstumbler from the 0.3-beta version of bsd-airtools. --- if_wi_pccard.c.diff begins here --- --- if_wi_pccard.c Thu Sep 18 12:00:51 2003 +++ newif_wi_pccard.c Thu Sep 18 12:00:39 2003 @@ -163,6 +163,7 @@ PCMCIA_CARD(NOKIA, C110_WLAN, 0), PCMCIA_CARD(PLANEX_2, GWNS11H, 0), PCMCIA_CARD(PROXIM, RANGELANDS_8430, 0), + PCMCIA_CARD(PROXIM, HARMONY_OEM, 0), PCMCIA_CARD(SAMSUNG, SWL_2000N, 0), PCMCIA_CARD(SIEMENS, SS1021, 0), PCMCIA_CARD(SIMPLETECH, SPECTRUM24_ALT, 0), --- if_wi_pccard.c.diff ends here --- --- pccarddev.diff begins here --- --- pccarddevs Thu Sep 18 11:58:16 2003 +++ newpccarddevs Thu Sep 18 11:57:59 2003 @@ -375,6 +375,7 @@ product PROXIM ROAMABOUT_2400FH 0x1058 Digital RoamAbout 2400FH product PROXIM RANGELAN2_7401 0x1158 Proxim RangeLAN2 7401 product PROXIM RANGELANDS_8430 0x8000 Proxim RangeLAN-DS 8430 +product PROXIM HARMONY_OEM 0x0002 LAN PC CARD HARMONY 80211B /* Psion */ product PSION GOLDCARD 0x0020 Psion Gold Card --- pccarddev.diff ends here --- --- pccarddev.h.diff begins here --- --- pccarddevs.h Thu Sep 18 11:58:31 2003 +++ newpccarddevs.h Thu Sep 18 11:58:08 2003 @@ -636,6 +636,10 @@ #define PCMCIA_CIS_PROXIM_RANGELANDS_8430 { NULL, NULL, NULL, NULL } #define PCMCIA_PRODUCT_PROXIM_RANGELANDS_8430 0x8000 #define PCMCIA_STR_PROXIM_RANGELANDS_8430 "Proxim RangeLAN-DS 8430" +#define PCMCIA_CIS_PROXIM_HARMONY_OEM { NULL, NULL, NULL, NULL } +#define PCMCIA_PRODUCT_PROXIM_HARMONY_OEM 0x0002 +#define PCMCIA_STR_PROXIM_HARMONY_OEM "LAN PC CARD HARMONY 80211B" + /* Psion */ #define PCMCIA_CIS_PSION_GOLDCARD { NULL, NULL, NULL, NULL } --- pccarddev.h.diff ends here --- --- pccard.conf.diff begins here --- --- pccard.conf Thu Sep 18 11:53:29 2003 +++ newpccard.conf Thu Sep 18 11:53:15 2003 @@ -2159,6 +2159,12 @@ insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop +# Proxim Harmony OEM card +card "PROXIM" "LAN PC CARD HARMONY 80211B" + config 0x1 "wi" ? + insert /etc/pccard_ether $device start + remove /etc/pccard_ether $device stop + # SAMSUNG SWL-2000P PCI Card card "SAMSUNG" "11Mbps WLAN PCI Card" config auto "wi" ? --- pccard.conf.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 18 15:30:20 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48FCF16A4B3 for ; Thu, 18 Sep 2003 15:30:20 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0F7143FCB for ; Thu, 18 Sep 2003 15:30:19 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8IMUJFY048999 for ; Thu, 18 Sep 2003 15:30:19 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8IMUJUo048998; Thu, 18 Sep 2003 15:30:19 -0700 (PDT) (envelope-from gnats) Date: Thu, 18 Sep 2003 15:30:19 -0700 (PDT) Message-Id: <200309182230.h8IMUJUo048998@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Pawel Malachowski" Subject: Re: kern/42030: panic when zebra works on detaching tun interface X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Pawel Malachowski List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2003 22:30:20 -0000 The following reply was made to PR kern/42030; it has been noted by GNATS. From: "Pawel Malachowski" To: "Ted Mittelstaedt" Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/42030: panic when zebra works on detaching tun interface Date: Fri, 19 Sep 2003 00:26:17 +0200 On 11 Sep 2003 at 0:18, Ted Mittelstaedt wrote: Hello, > The following was posted to the quagga-users mailing list on 9/9/2003 > regarding this bug. (quagga is the sucessor to Zebra and uses zebra as it's > codebase) Recommend this PR be closed and the submitter be referred to > the Zebra/Quagga author, as this bug is obviously an application problem, > not a kernel problem. When my kernel panics, it is a kernel o problem. Note, my PR provides kernel backtrace. I don't say ospfd has no bugs of course. Maybe some bug in ospfd triggers some other bug in FreeBSD kernel? I can be wrong cause it was a long time ago, but I had a feeling that kernel tries to deal with host route as if it was net route (inconsistent rt_flags). Unfortunetly, there is no kernel hacker interested in looking closer at this. > http://lists.freebsd.org/pipermail/freebsd-bugs/2003-June/001382.html -- Pawe³ Ma³achowski From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 18 16:30:19 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3C6B16A4B3 for ; Thu, 18 Sep 2003 16:30:19 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4744F43FE1 for ; Thu, 18 Sep 2003 16:30:18 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8INUIFY068219 for ; Thu, 18 Sep 2003 16:30:18 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8INUIXa068218; Thu, 18 Sep 2003 16:30:18 -0700 (PDT) (envelope-from gnats) Resent-Date: Thu, 18 Sep 2003 16:30:18 -0700 (PDT) Resent-Message-Id: <200309182330.h8INUIXa068218@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Lewis Thompson Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AED5C16A4B3 for ; Thu, 18 Sep 2003 16:28:53 -0700 (PDT) Received: from lon1-mail-1.visp.demon.net (lon1-mail-1.visp.demon.net [193.195.70.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5039643FBF for ; Thu, 18 Sep 2003 16:28:52 -0700 (PDT) (envelope-from lewiz@black.lewiz.org) Received: from mail.lewiz.org (host-70b-en-u-191.dial.beeb.net [62.56.3.191] (may be forged))3.2.1-GA) with ESMTP id AOP07097; Fri, 19 Sep 2003 00:28:44 +0100 (BST) Received: from black.lewiz.org ([192.168.0.12]) by mail.lewiz.org with smtp (Exim 4.20) id 1A08C2-0007cZ-V5 for FreeBSD-gnats-submit@freebsd.org; Fri, 19 Sep 2003 00:28:10 +0100 Received: (nullmailer pid 41182 invoked by uid 4001); Thu, 18 Sep 2003 23:28:11 -0000 Message-Id: <1063927691.218167.41181.nullmailer@black.lewiz.org> Date: Fri, 19 Sep 2003 00:28:11 +0100 From: Lewis Thompson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/56988: system panic with doubled up unionfs X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Lewis Thompson List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2003 23:30:19 -0000 >Number: 56988 >Category: kern >Synopsis: system panic with doubled up unionfs >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 18 16:30:17 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Lewis Thompson >Release: FreeBSD 5.1-RELEASE-p3 i386 >Organization: >Environment: System: FreeBSD black.lewiz.org 5.1-RELEASE-p3 FreeBSD 5.1-RELEASE-p3 #0: Tue Sep 16 22:38:04 BST 2003 lewiz@black.lewiz.org:/usr/src/sys/i386/compile/BLACK i386 >Description: If I double up union mounts my system panis with the following message: panic: union_lookup returning . (0xd1328c3c) not same as startdir (0xc29c8000) syncing disks, buffers remaining... 2125 2125 panic: free locked buf *rebooted* By ``double up'' I mean: mount -t unionfs -o -b /usr/ports /usr/jail/base/usr/ports mount -t unionfs -o -b /usr/jail/base /usr/jail/yellow If I then start the jail (yellow) (I didn't check if it actually required the jail to be running) and attempt to access /usr/ports (which is /usr/jail/yellow/usr/ports -> /usr/jail/base/usr/ports -> /usr/ports) then the system panics. It might sound obscure to do (and I'm now using nfs) but it would make things a bit easier. I should be able to provide any necessary details. A final note: I'm using vinum for my whole fs: >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: >z@purple /usr/jail # vinum printconfig # Vinum configuration of purple.lewiz.org, saved at Fri Sep 19 00:25:43 2003 drive vinumdrive1 device /dev/ad2s1h drive vinumdrive0 device /dev/ad0s1h volume root volume swap volume var volume usr volume data plex name root.p0 org concat vol root plex name root.p1 org concat vol root plex name swap.p0 org concat vol swap plex name swap.p1 org concat vol swap plex name var.p0 org concat vol var plex name var.p1 org concat vol var plex name usr.p0 org concat vol usr plex name usr.p1 org concat vol usr plex name data.p0 org concat vol data sd name root.p0.s0 drive vinumdrive0 plex root.p0 len 524007s driveoffset 265s plexoffset 0s sd name root.p1.s0 drive vinumdrive1 plex root.p1 len 524007s driveoffset 265s plexoffset 0s sd name swap.p0.s0 drive vinumdrive0 plex swap.p0 len 940896s driveoffset 524272s plexoffset 0s sd name swap.p1.s0 drive vinumdrive1 plex swap.p1 len 940896s driveoffset 524272s plexoffset 0s sd name var.p0.s0 drive vinumdrive0 plex var.p0 len 524288s driveoffset 1465168s plexoffset 0s sd name var.p1.s0 drive vinumdrive1 plex var.p1 len 524288s driveoffset 1465168s plexoffset 0s sd name usr.p0.s0 drive vinumdrive0 plex usr.p0 len 28731392s driveoffset 1989456s plexoffset 0s sd name usr.p1.s0 drive vinumdrive1 plex usr.p1 len 28731392s driveoffset 1989456s plexoffset 0s sd name data.p0.s0 drive vinumdrive0 plex data.p0 len 209400864s driveoffset 30720848s plexoffset 0s sd name data.p0.s1 drive vinumdrive1 plex data.p0 len 209400864s driveoffset 30720848s plexoffset 209400864s How-To-Repeat: See ``Description'' From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 18 19:50:20 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49E5F16A4BF for ; Thu, 18 Sep 2003 19:50:20 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93F3B43FE5 for ; Thu, 18 Sep 2003 19:50:15 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8J2oFFY035589 for ; Thu, 18 Sep 2003 19:50:15 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8J2oFuQ035588; Thu, 18 Sep 2003 19:50:15 -0700 (PDT) (envelope-from gnats) Resent-Date: Thu, 18 Sep 2003 19:50:15 -0700 (PDT) Resent-Message-Id: <200309190250.h8J2oFuQ035588@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Oliver Eikemeier Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 457D316A4B3 for ; Thu, 18 Sep 2003 19:42:48 -0700 (PDT) Received: from mx2.fillmore-labs.com (lima.fillmore-labs.com [62.138.193.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3974943FDD for ; Thu, 18 Sep 2003 19:42:47 -0700 (PDT) (envelope-from eikemeier@fillmore-labs.com) Received: from pd958a615.dip.t-dialin.net ([217.88.166.21] helo=fillmore-labs.com ident=th3rhxsqxetu19xs) by mx2.fillmore-labs.com with asmtp (TLSv1:AES256-SHA:256) (Exim 4.22) id 1A0BEL-000EXh-Ti for FreeBSD-gnats-submit@FreeBSD.org; Fri, 19 Sep 2003 04:42:46 +0200 Message-Id: <3F6A6D23.7000307@fillmore-labs.com> Date: Fri, 19 Sep 2003 04:42:43 +0200 From: Oliver Eikemeier To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/56989: [PATCH] pkg_install: -v doesn't work on packages, -r does not show requirements script X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Sep 2003 02:50:20 -0000 >Number: 56989 >Category: bin >Synopsis: [PATCH] pkg_install: -v doesn't work on packages, -r does not show requirements script >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 Sep 18 19:50:14 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Oliver Eikemeier >Release: FreeBSD 5.1-CURRENT i386 >Organization: Fillmore Labs - http://www.fillmore-labs.com >Environment: System: FreeBSD nuuk.fillmore-labs.com 5.1-CURRENT >Description: Multiple options of pkg_info fail on non-installed (tar+zipped) packages, the most prominent one -v The -r flags of pkg_info does not show the requirements script, as documented in pkg_info(1), but the packages required by the package in question. >How-To-Repeat: fetch ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/net/wide-dhcp-1.4.0.6_1.tgz pkg_info -v wide-dhcp-1.4.0.6_1.tgz pkg_info -r wide-dhcp-1.4.0.6_1.tgz >Fix: A patch is available on ftp://ftp.fillmore-labs.com/pub/FreeBSD/patches/patch-pkg_install-20030917_2.gz MD5 (patch-pkg_install-20030917_2.gz) = 42e4e6b85e09e702f36ea4d509496804 It fixes -v adds a new option -j to show the reuirement scripts and changes the man page accordingly. This patch build on the patch of PR 56961, which has additional bug fixes and improvements described in this PR. How-To-Apply: *** FreeBSD 5.X *** Apply it to your source tree (replaces base tools): fetch ftp://ftp.fillmore-labs.com/pub/FreeBSD/patches/patch-pkg_install-20030917_2.gz md5 patch-pkg_install-20030917_2.gz gzcat patch-pkg_install-20030917_2.gz | patch -p0 -d /usr/src/usr.sbin/pkg_install cd /usr/src/usr.sbin/pkg_install; make clean all install Test with `pkg_info -P' Package tools revision: 20030917 *** FreeBSD 4.X *** Apply the following patch to port sysutils/pkg_install: --- pkg_install.patch begins here --- diff -Nur pkg_install/Makefile.orig pkg_install/Makefile --- pkg_install/Makefile.orig Thu Sep 4 18:40:45 2003 +++ pkg_install/Makefile Wed Sep 17 16:43:46 2003 @@ -7,10 +7,14 @@ PORTNAME= pkg_install PORTVERSION= 20030714 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= marcus + +PATCH_SITES= ftp://ftp.fillmore-labs.com/pub/FreeBSD/%SUBDIR%/ +PATCH_SITE_SUBDIR= patches +PATCHFILES= patch-pkg_install-20030917_2.gz MAINTAINER= portmgr@freebsd.org COMMENT= FreeBSD 5.x version of the package tools for older system releases diff -Nur pkg_install/distinfo.orig pkg_install/distinfo --- pkg_install/distinfo.orig Wed Sep 3 18:11:20 2003 +++ pkg_install/distinfo Wed Sep 17 17:00:56 2003 @@ -1 +1,2 @@ MD5 (pkg_install-20030714.tar.gz) = 183bed34c5427aeaf2025d9e2176e9ed +MD5 (patch-pkg_install-20030917_2.gz) = 42e4e6b85e09e702f36ea4d509496804 --- pkg_install.patch ends here --- Test with `/usr/local/sbin/pkg_info -P' Package tools revision: 20030917 >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 18 21:50:08 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29DB216A4B3 for ; Thu, 18 Sep 2003 21:50:08 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0FFE43FE0 for ; Thu, 18 Sep 2003 21:50:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8J4o6FY080574 for ; Thu, 18 Sep 2003 21:50:06 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8J4o6RQ080573; Thu, 18 Sep 2003 21:50:06 -0700 (PDT) (envelope-from gnats) Date: Thu, 18 Sep 2003 21:50:06 -0700 (PDT) Message-Id: <200309190450.h8J4o6RQ080573@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Ted Mittelstaedt" Subject: RE: kern/42030: panic when zebra works on detaching tun interface X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ted Mittelstaedt List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Sep 2003 04:50:08 -0000 The following reply was made to PR kern/42030; it has been noted by GNATS. From: "Ted Mittelstaedt" To: "Pawel Malachowski" Cc: Subject: RE: kern/42030: panic when zebra works on detaching tun interface Date: Thu, 18 Sep 2003 21:42:52 -0700 OK, your right, I was being too simplistic. It is a kernel problem - but only insofar that what the FreeBSD kernel _should_ be doing is be smart enough to recognize that Zebra is doing something wrong and make it dump core. Same with Linux - the Linux kernel (which also panics with Zebra doing the same thing) should be doing this too. Basically your going about this backwards - your trying to get a FreeBSD kernel hacker to fix FreeBSD and tell you exactly what the Zebra program is doing wrong, so you can go to the Zebra people and the work of chasing the bug is done for them. This is understandable given the total lack of response of Kunihiro to fixing bugs in Zebra unless they are handed to him on a silver platter. But morally, since Zebra makes both Linux and FreeBSD kernels panic (totally different kernels, mind) when doing this, the Zebra maintainer should be the one to do the work fixing the Zebra code first, don't you think? Setting aside that, even if a FreeBSD kernel hacker does look into this, the result is not going to help you - the only thing that's going to happen is that perhaps the FreeBSD kernel won't panic anymore. But the Zebra program will still be broken. Since the goal of most people is to get a working application, it seems that the speedier way to this goal is to get the Zebra (ie: Quagga) people to fix it. Then once they do, they can tell you exactly what causes the panic - then you can write a nice little test code fragment and retitle the PR something such as "FreeBSD kernel doesen't handle this XYZ condition properly" Ted From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 19 00:10:14 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79EB616A4B3 for ; Fri, 19 Sep 2003 00:10:14 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3571D43FDF for ; Fri, 19 Sep 2003 00:10:13 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8J7ADFY037144 for ; Fri, 19 Sep 2003 00:10:13 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8J7ADp7037143; Fri, 19 Sep 2003 00:10:13 -0700 (PDT) (envelope-from gnats) Resent-Date: Fri, 19 Sep 2003 00:10:13 -0700 (PDT) Resent-Message-Id: <200309190710.h8J7ADp7037143@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Michael Bretterklieber Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8303816A4B3 for ; Fri, 19 Sep 2003 00:08:11 -0700 (PDT) Received: from mail.a-quadrat.at (mail.a-quadrat.at [81.223.141.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A576343FDD for ; Fri, 19 Sep 2003 00:08:10 -0700 (PDT) (envelope-from mbretter@a-quadrat.at) Received: by files.a-quadrat.at (Postfix, from userid 1001) id 045FA5C0E4; Fri, 19 Sep 2003 09:07:44 +0200 (CEST) Message-Id: <20030919070744.045FA5C0E4@files.a-quadrat.at> Date: Fri, 19 Sep 2003 09:07:44 +0200 (CEST) From: Michael Bretterklieber To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/56991: getfacl long groupnames (Cannot allocate memory) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Michael Bretterklieber List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Sep 2003 07:10:14 -0000 >Number: 56991 >Category: bin >Synopsis: getfacl long groupnames (Cannot allocate memory) >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: Fri Sep 19 00:10:12 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Michael Bretterklieber >Release: FreeBSD 5.1-RELEASE-p2 i386 >Organization: >Environment: System: FreeBSD files.a-quadrat.at 5.1-RELEASE-p2 FreeBSD 5.1-RELEASE-p2 #2: Wed Sep 3 12:09:08 CEST 2003 root@files.a-quadrat .at:/usr/src/sys/i386/compile/FILES i386 >Description: it looks like getfacl has problems with long groupnames, getfacl returns the error message: Cannot allocate memory, if a groupname exceeds a significant number of chars. >How-To-Repeat: add a group named "averylonggroupname" touch acl-test setfacl -m g:averylonggroupname:rw acl-test bash-2.05b# getfacl acl-test #file:acl-test #owner:0 #group:2000 getfacl: acl-test: Cannot allocate memory >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 19 02:50:13 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 060FE16A4B3 for ; Fri, 19 Sep 2003 02:50:13 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F3DC43FBD for ; Fri, 19 Sep 2003 02:50:11 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8J9oBFY085342 for ; Fri, 19 Sep 2003 02:50:11 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8J9oBYk085341; Fri, 19 Sep 2003 02:50:11 -0700 (PDT) (envelope-from gnats) Resent-Date: Fri, 19 Sep 2003 02:50:11 -0700 (PDT) Resent-Message-Id: <200309190950.h8J9oBYk085341@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, John Saunders Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37B2B16A4B3 for ; Fri, 19 Sep 2003 02:46:33 -0700 (PDT) Received: from sentinel.pakprotector.net (c211-29-165-141.carlnfd2.nsw.optusnet.com.au [211.29.165.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED48C43F85 for ; Fri, 19 Sep 2003 02:46:29 -0700 (PDT) (envelope-from john@sentinel.pakprotector.net) Received: from sentinel.pakprotector.net (localhost [127.0.0.1]) h8J9l438007697 for ; Fri, 19 Sep 2003 19:47:04 +1000 (EST) (envelope-from john@sentinel.pakprotector.net) Received: (from john@localhost) by sentinel.pakprotector.net (8.12.9/8.12.9/Submit) id h8J9XLfp001123; Fri, 19 Sep 2003 19:33:21 +1000 (EST) Message-Id: <200309190933.h8J9XLfp001123@sentinel.pakprotector.net> Date: Fri, 19 Sep 2003 19:33:21 +1000 (EST) From: John Saunders To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/56995: Strange messages from ATAng with compact flash disk X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John Saunders List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Sep 2003 09:50:13 -0000 >Number: 56995 >Category: kern >Synopsis: Strange messages from ATAng with compact flash disk >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: Fri Sep 19 02:50:10 PDT 2003 >Closed-Date: >Last-Modified: >Originator: John Saunders >Release: FreeBSD 5.1-CURRENT i386 >Organization: None >Environment: System: FreeBSD sentinel.pakprotector.net 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Tue Sep 16 20:30:26 EST 2003 root@sentinel.pakprotector.net:/usr/obj/usr/src/sys/SENTINEL i386 >Description: When booting with a 128MB CompactFLASH card in an IDE to CF adapter (not booting from the CF card though) strange error messages appear, see edited dmesg output below. Other than that I can mount filesystems and access files on the CF disk. Machine is an old Tyan Tiger with dual Pentium 133MHz so SMP and APIC is enabled. ... FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): apic id: 0, version: 0x00030010, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00030010, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 ... atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] ... ad0: FAILURE - SETFEATURES status=51 error=4 ad0: FAILURE - SETFEATURES status=51 error=4 ad0: FAILURE - SETFEATURES status=51 error=4 GEOM: create disk ad0 dp=0xc18db470 ad0: 126MB [507/16/32] at ata0-master BIOSPIO GEOM: create disk ad2 dp=0xc18db170 ad2: 6149MB [13328/15/63] at ata1-master WDMA2 acd0: CDROM at ata1-slave PIO4 SMP: AP CPU #1 Launched! Mounting root from ufs:/dev/ad2s1a >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 19 03:29:14 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E97116A4B3; Fri, 19 Sep 2003 03:29:14 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C044343F75; Fri, 19 Sep 2003 03:29:13 -0700 (PDT) (envelope-from sos@FreeBSD.org) Received: from freefall.freebsd.org (sos@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8JATDFY099014; Fri, 19 Sep 2003 03:29:13 -0700 (PDT) (envelope-from sos@freefall.freebsd.org) Received: (from sos@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8JATDkB099010; Fri, 19 Sep 2003 03:29:13 -0700 (PDT) (envelope-from sos) Date: Fri, 19 Sep 2003 03:29:13 -0700 (PDT) From: Søren Schmidt Message-Id: <200309191029.h8JATDkB099010@freefall.freebsd.org> To: john@pakprotector.com, sos@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/56995: Strange messages from ATAng with compact flash disk X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Sep 2003 10:29:14 -0000 Synopsis: Strange messages from ATAng with compact flash disk State-Changed-From-To: open->closed State-Changed-By: sos State-Changed-When: Fri Sep 19 03:27:31 PDT 2003 State-Changed-Why: The FAILURE messages here are because the flash doesn't support setting r/w cache etc, however it still works afterwards. I'll think about not outputting these in the probe.. http://www.freebsd.org/cgi/query-pr.cgi?pr=56995 From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 19 06:30:15 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC4CB16A4B3 for ; Fri, 19 Sep 2003 06:30:15 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6051E43FB1 for ; Fri, 19 Sep 2003 06:30:14 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8JDUEFY092927 for ; Fri, 19 Sep 2003 06:30:14 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8JDUE1D092926; Fri, 19 Sep 2003 06:30:14 -0700 (PDT) (envelope-from gnats) Resent-Date: Fri, 19 Sep 2003 06:30:14 -0700 (PDT) Resent-Message-Id: <200309191330.h8JDUE1D092926@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Maxim Belushkin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13FFC16A4B3 for ; Fri, 19 Sep 2003 06:20:44 -0700 (PDT) Received: from zam151.fz-juelich.de (zam151.fz-juelich.de [134.94.100.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B55043FD7 for ; Fri, 19 Sep 2003 06:20:42 -0700 (PDT) (envelope-from m.belushkin@fz-juelich.de) Received: by zam151.fz-juelich.de (Postfix, from userid 65534) id 24C7E72EEF; Fri, 19 Sep 2003 15:20:41 +0200 (CEST) Received: from linux (localhost [127.0.0.1]) by zam151.fz-juelich.de (Postfix) with ESMTP id B88BF72DFA for ; Fri, 19 Sep 2003 15:20:40 +0200 (CEST) Message-Id: <200309191518.47603.m.belushkin@fz-juelich.de> Date: Fri, 19 Sep 2003 15:18:47 +0200 From: Maxim Belushkin To: FreeBSD-gnats-submit@FreeBSD.org Subject: misc/56999: FreeCom USB CD/RW problem on FreeBSD 5.1 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Sep 2003 13:30:15 -0000 >Number: 56999 >Category: misc >Synopsis: FreeCom USB CD/RW problem on FreeBSD 5.1 >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: Fri Sep 19 06:30:13 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Maxim Belushkin >Release: FreeBSD 5.1-RELEASE i386 >Organization: ESS CPT >Environment: System: FreeBSD 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GM= T=20 2003 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: The FREECOM USB CD/RW is detected (usbdevs shows it up), however, the uma= ss=20 driver fails: camcontrol rescan 0: umass0: BBB reset failed, TIMEOUT (repeated 4 times) camcontrol devlist -v shows up a usb-scsi0 controller, but nothing attach= ed to=20 it. uhci, ohci, da and umass support are in the kernel. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 19 07:17:38 2003 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 30C3916A4B3 for ; Fri, 19 Sep 2003 07:17:38 -0700 (PDT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B8B343FE3 for ; Fri, 19 Sep 2003 07:17:36 -0700 (PDT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (localhost [127.0.0.1]) by clunix.cl.msu.edu (8.12.9/8.12.9) with ESMTP id h8JEHZOg028406; Fri, 19 Sep 2003 10:17:35 -0400 (EDT) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.12.9/8.12.9/Submit) id h8JEHYIn028405; Fri, 19 Sep 2003 10:17:34 -0400 (EDT) From: Jerry McAllister Message-Id: <200309191417.h8JEHYIn028405@clunix.cl.msu.edu> To: tedm@toybox.placo.com Date: Fri, 19 Sep 2003 10:17:34 -0400 (EDT) In-Reply-To: <200309190450.h8J4o6RQ080573@freefall.freebsd.org> from "Ted Mittelstaedt" at Sep 18, 2003 09:50:06 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-bugs@freebsd.org Subject: Re: kern/42030: panic when zebra works on detaching tun interface X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Sep 2003 14:17:38 -0000 > > The following reply was made to PR kern/42030; it has been noted by GNATS. > > From: "Ted Mittelstaedt" > To: "Pawel Malachowski" > Cc: > Subject: RE: kern/42030: panic when zebra works on detaching tun interface > Date: Thu, 18 Sep 2003 21:42:52 -0700 > > OK, your right, I was being too simplistic. > > It is a kernel problem - but only insofar that what the FreeBSD kernel > _should_ > be doing is be smart enough to recognize that Zebra is doing something > wrong and make it dump core. Same with Linux - the Linux kernel > (which also panics with Zebra doing the same thing) should be doing > this too. > > Basically your going about this backwards - your trying to get a FreeBSD > kernel hacker to fix FreeBSD and tell you exactly what the Zebra program > is doing wrong, so you can go to the Zebra people and the work of chasing > the bug is done for them. This is understandable given the total lack of > response of Kunihiro to fixing bugs in Zebra unless they are handed to > him on a silver platter. But morally, since Zebra makes both Linux and > FreeBSD kernels panic (totally different kernels, mind) when doing this, > the Zebra maintainer should be the one to do the work fixing the Zebra code > first, don't you think? No, you are missing the point about the kernel. Sure, something is wrong with zebra and needs fixing. No argument. But, the point about the kernel is as you essentianly concede above that the kernel should not panic on a user world program - regardless of how bad the user world program is. The kernel should be robust enough to let the program to die and sluff it off. It is really weird argument to imply that the kernel flaw should be left in place to force the user world program to be fixed. ////jerry > Setting aside that, even if a FreeBSD kernel hacker does look into this, the > result is not going to help you - the only thing that's going to happen is > that perhaps > the FreeBSD kernel won't panic anymore. But the Zebra program will > still be broken. Since the goal of most people is to get a working > application, > it seems that the speedier way to this goal is to get the Zebra > (ie: Quagga) people to fix it. Then once they do, they can tell you exactly > what causes the panic - then you can write a nice little test code fragment > and retitle the PR something such as "FreeBSD kernel doesen't > handle this XYZ condition properly" > > Ted > > _______________________________________________ > freebsd-bugs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-bugs > To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org" > From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 19 09:40:10 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0299616A4B3 for ; Fri, 19 Sep 2003 09:40:10 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 646E543FDF for ; Fri, 19 Sep 2003 09:40:08 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8JGe8FY056582 for ; Fri, 19 Sep 2003 09:40:08 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8JGe8n2056581; Fri, 19 Sep 2003 09:40:08 -0700 (PDT) (envelope-from gnats) Resent-Date: Fri, 19 Sep 2003 09:40:08 -0700 (PDT) Resent-Message-Id: <200309191640.h8JGe8n2056581@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, n-kogane@syd.odn.ne.jp Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC02C16A4B3 for ; Fri, 19 Sep 2003 09:34:37 -0700 (PDT) Received: from t-mta7.odn.ne.jp (mfep7.odn.ne.jp [143.90.131.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id B02B743FCB for ; Fri, 19 Sep 2003 09:34:35 -0700 (PDT) (envelope-from kogane@syd.odn.ne.jp) Received: from kces1.koganemaru.co.jp ([211.127.55.19]) by t-mta7.odn.ne.jp with ESMTP id <20030919163433694.NZRZ.458556.t-mta7.odn.ne.jp@mta7.odn.ne.jp> for ; Sat, 20 Sep 2003 01:34:33 +0900 Received: (from kogane@localhost) by kces1.koganemaru.co.jp (8.8.8/3.6W) id BAA01230; Sat, 20 Sep 2003 01:37:18 +0900 (JST) Message-Id: <200309191637.BAA01230@kces1.koganemaru.co.jp> Date: Sat, 20 Sep 2003 01:37:18 +0900 (JST) From: n-kogane@syd.odn.ne.jp To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: misc/57012: sysinstall incorrect messege X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: n-kogane@syd.odn.ne.jp List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Sep 2003 16:40:10 -0000 >Number: 57012 >Category: misc >Synopsis: sysinstall incorrect messege >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: Fri Sep 19 09:40:07 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Nobuyuki Koganemaru >Release: FreeBSD 4.9-PRERELEASE i386 >Organization: KOGANEMARU Computer Engineering Service Corporation. >Environment: System: FreeBSD kcesx20.koganemaru.co.jp 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #0: Fri Sep 5 13:57:17 JST 2003 root@kcesx20.koganemaru.co.jp:/usr/obj/usr/src.stable.2/sys/GENERIC i386 >Description: sysinstall incorrect messege >How-To-Repeat: none. >Fix: --- src/release/sysinstall/config.c.orig Fri Sep 19 21:27:32 2003 +++ src/release/sysinstall/config.c Sat Sep 20 01:30:03 2003 @@ -1120,7 +1120,7 @@ msgConfirm("Unable to open /etc/periodic.conf.\n" "The daily cleanup scripts might generate errors when\n" "trying to run some sendmail only cleanup scripts.\n" - "Please consult the documentation for the postfix port on how to\n" + "Please consult the documentation for the exim port on how to\n" "fix this."); } else { fprintf(perconf, "# --- Generated by sysinstall ---\n"); >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 19 09:40:11 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C64316A4B3 for ; Fri, 19 Sep 2003 09:40:11 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A6BB43FF5 for ; Fri, 19 Sep 2003 09:40:10 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8JGeAFY056590 for ; Fri, 19 Sep 2003 09:40:10 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8JGeAck056589; Fri, 19 Sep 2003 09:40:10 -0700 (PDT) (envelope-from gnats) Date: Fri, 19 Sep 2003 09:40:10 -0700 (PDT) Message-Id: <200309191640.h8JGeAck056589@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: v.oostveen@hccnet.nl Subject: Re: kern/54188:[PATCH] touchpad doesn't work on some Acer and Toshiba latops X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: v.oostveen@hccnet.nl List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Sep 2003 16:40:11 -0000 The following reply was made to PR kern/54188; it has been noted by GNATS. From: v.oostveen@hccnet.nl To: freebsd-gnats-submit@FreeBSD.org Cc: victor@alf.dyndns.ws Subject: Re: kern/54188:[PATCH] touchpad doesn't work on some Acer and Toshiba latops Date: Fri, 19 Sep 2003 16:35:24 UT This is a multi-part message in MIME format. --_----------=_1063989324204133 Content-Disposition: inline Content-Length: 398 Content-Transfer-Encoding: binary Content-Type: text/plain i like to follow up on this bugreport. the touchpad on my compal (a)cl-10 notebook has the same problem and the same patch fixes the problem. i also never had problems with the patch on my other freebsd system. (i apply the patch to a central cvs) if the patch is problem-free for other people as well, so it could be included in the current and/or stable. regards, Bas van Oostveen --_----------=_1063989324204133-- From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 19 10:40:12 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B39FA16A4B3 for ; Fri, 19 Sep 2003 10:40:12 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98D1C43FF2 for ; Fri, 19 Sep 2003 10:40:10 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8JHeAFY075841 for ; Fri, 19 Sep 2003 10:40:10 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8JHeATo075840; Fri, 19 Sep 2003 10:40:10 -0700 (PDT) (envelope-from gnats) Resent-Date: Fri, 19 Sep 2003 10:40:10 -0700 (PDT) Resent-Message-Id: <200309191740.h8JHeATo075840@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, v.oostveen@hccnet.nl Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89CC016A4B3 for ; Fri, 19 Sep 2003 10:29:56 -0700 (PDT) Received: from smtp.hccnet.nl (smtp.hccnet.nl [62.251.0.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 676C443FAF for ; Fri, 19 Sep 2003 10:29:55 -0700 (PDT) (envelope-from v.oostveen@hccnet.nl) Received: from spare.hccnet.nl by smtp.hccnet.nl id h8JHTrGC011860 (8.12.10/2.03); Fri, 19 Sep 2003 19:29:54 +0200 (MET DST) Message-Id: <200309191729.h8JHTrGC011860@smtp.hccnet.nl> Date: Fri, 19 Sep 2003 17:29:52 UT From: v.oostveen@hccnet.nl To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/57015: [patch] Asus wl-100 (pcmcia wifi) supported but not in wi driver X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Sep 2003 17:40:12 -0000 >Number: 57015 >Category: kern >Synopsis: [patch] Asus wl-100 (pcmcia wifi) supported but not in wi driver >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Sep 19 10:40:10 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Bas van Oostveen >Release: FreeBSD 5.1-RELEASE-p5 i386 >Organization: >Environment: System: FreeBSD ryoko.shrine.net 5.1-RELEASE-p5 FreeBSD 5.1-RELEASE-p5 #1: Fri Sep 19 18:36:44 CEST 2003 root@ryoko.shrine.net:/usr/obj/net/source/FreeBSD/5-RELEASE/s rc/sys/RYOKO i386 >Description: the asus wl-100 pcmcia wireless lan adaptor is supported by freebsd (prism chipset) but is not listed in the vendor/product info i made 2 pathes which will add the vendor/product information/id's of the asus wl-100 card in if_wi_pccard.c and pccarddevs >How-To-Repeat: >Fix: first add the card information to /etc/pccard.conf or /etc/defaults/pccard.conf: card "ASUS" "802_11b_PC_CARD_25" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop then apply the 2 patches to sys/dev/pccard/pccarddevs and sys/dev/wi/if_wi_pccard.c recompile, install and boot the new kernel and my asus wl-100 pcmcia card works --- pccarddevs Sun Apr 27 05:31:47 2003 +++ pccarddevs.added_asus Fri Sep 19 18:48:35 2003 @@ -92,6 +92,7 @@ vendor BUFFALO 0x026f BUFFALO (Melco Corporation) vendor LINKSYS2 0x0274 The Linksys Group vendor IODATA2 0x028a I-O DATA +vendor ASUS 0x02aa ASUS vendor NWN 0x0602 No Wires Needed vendor BREEZECOM 0x0a02 BreezeCOM vendor NEWMEDIA2 0x10cd NewMedia @@ -153,6 +154,9 @@ /* Archos */ product ARCHOS ARC_ATAPI 0x0043 MiniCD + +/* Asus */ +product ASUS WL_100 0x0002 Asus WL-100 Wireless LAN /* Bay Networks */ product BAY STACK_650 0x0804 BayStack 650 Wireless LAN --- if_wi_pccard.c Sun Apr 27 05:34:05 2003 +++ if_wi_pccard.c.added_asus Fri Sep 19 18:48:45 2003 @@ -124,6 +124,7 @@ static const struct pccard_product wi_pccard_products[] = { PCMCIA_CARD(3COM, 3CRWE737A, 0), PCMCIA_CARD(3COM, 3CRWE777A, 0), + PCMCIA_CARD(ASUS, WL_100, 0), PCMCIA_CARD(ACTIONTEC, PRISM, 0), PCMCIA_CARD(ADDTRON, AWP100, 0), PCMCIA_CARD(ALLIEDTELESIS, WR211PCM, 0), --_----------=_1063992592217700-- >Release-Note: >Audit-Trail: >Unformatted: This is a multi-part message in MIME format. --_----------=_1063992592217700 Content-Disposition: inline Content-Length: 2524 Content-Transfer-Encoding: binary Content-Type: text/plain From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 19 12:00:44 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10B2316A57C for ; Fri, 19 Sep 2003 12:00:44 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC9BF43FD7 for ; Fri, 19 Sep 2003 12:00:36 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8JJ0aFY001069 for ; Fri, 19 Sep 2003 12:00:36 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8JJ0aLZ001068; Fri, 19 Sep 2003 12:00:36 -0700 (PDT) (envelope-from gnats) Resent-Date: Fri, 19 Sep 2003 12:00:36 -0700 (PDT) Resent-Message-Id: <200309191900.h8JJ0aLZ001068@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Lukas Ertl Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98A8A16A4B3 for ; Fri, 19 Sep 2003 11:52:03 -0700 (PDT) Received: from mailbox.univie.ac.at (mailbox.univie.ac.at [131.130.1.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89CC643FE0 for ; Fri, 19 Sep 2003 11:52:01 -0700 (PDT) (envelope-from le@univie.ac.at) Received: from korben.in.tern (adslle.cc.univie.ac.at [131.130.102.11]) by mailbox.univie.ac.at (8.12.9/8.12.9) with ESMTP id h8JIGwr5026588 for ; Fri, 19 Sep 2003 20:17:04 +0200 Received: from korben.in.tern (korben.in.tern [127.0.0.1]) by korben.in.tern (8.12.9/8.12.9) with ESMTP id h8JI6xkQ041468 for ; Fri, 19 Sep 2003 20:07:00 +0200 (CEST) (envelope-from le@korben.in.tern) Received: (from le@localhost) by korben.in.tern (8.12.9/8.12.9/Submit) id h8JI6xVU041467; Fri, 19 Sep 2003 20:06:59 +0200 (CEST) (envelope-from le) Message-Id: <200309191806.h8JI6xVU041467@korben.in.tern> Date: Fri, 19 Sep 2003 20:06:59 +0200 (CEST) From: Lukas Ertl To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/57018: [PATCH] convert growfs to use libufs(3) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Lukas Ertl List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Sep 2003 19:00:44 -0000 >Number: 57018 >Category: bin >Synopsis: [PATCH] convert growfs to use libufs(3) >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: Fri Sep 19 12:00:36 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Lukas Ertl >Release: FreeBSD 5.1-CURRENT i386 >Organization: Vienna University Computer Center >Environment: System: FreeBSD korben 5.1-CURRENT FreeBSD 5.1-CURRENT #17: Fri Sep 12 15:58:17 CEST 2003 le@korben:/usr/obj/usr/src/sys/KORBEN i386 >Description: The following patch converts growfs to use the functions provided by libufs(3) for doing UFS specific read/write operations. >How-To-Repeat: >Fix: --- growfs.diff begins here --- Index: sbin/growfs/Makefile =================================================================== RCS file: /usr/local/bsdcvs/src/sbin/growfs/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- sbin/growfs/Makefile 11 Jun 2003 23:24:31 -0000 1.5 +++ sbin/growfs/Makefile 13 Sep 2003 17:58:49 -0000 @@ -11,6 +11,8 @@ PROG= growfs SRCS= growfs.c MAN= growfs.8 +DPADD= ${LIBUFS} +LDADD= -lufs WARNS?= 0 Index: sbin/growfs/growfs.c =================================================================== RCS file: /usr/local/bsdcvs/src/sbin/growfs/growfs.c,v retrieving revision 1.15 diff -u -r1.15 growfs.c --- sbin/growfs/growfs.c 12 May 2003 05:37:16 -0000 1.15 +++ sbin/growfs/growfs.c 19 Sep 2003 17:56:23 -0000 @@ -52,9 +52,11 @@ #endif /* not lint */ /* ********************************************************** INCLUDES ***** */ +#include #include #include #include +#include #include #include @@ -67,8 +69,10 @@ #include #include #include +#include #include #include +#include #include "debug.h" @@ -77,18 +81,15 @@ int _dbg_lvl_ = (DL_INFO); /* DL_TRC */ #endif /* FS_DEBUG */ +struct uufsd disk; + static union { struct fs fs; char pad[SBLOCKSIZE]; -} fsun1, fsun2; -#define sblock fsun1.fs /* the new superblock */ -#define osblock fsun2.fs /* the old superblock */ - -/* - * Possible superblock locations ordered from most to least likely. - */ -static int sblock_try[] = SBLOCKSEARCH; -static ufs2_daddr_t sblockloc; +} fsun1; +#define fsun2 disk.d_sbunion +#define sblock disk.d_fs /* the new superblock */ +#define osblock fsun1.fs /* the old superblock */ static union { struct cg cg; @@ -112,6 +113,7 @@ static char inobuf[MAXBSIZE]; /* inode block */ static int maxino; /* last valid inode */ static int unlabeled; /* unlabeled partition, e.g. vinum volume etc. */ +static int Nflag; /* * An array of elements of type struct gfs_bpp describes all blocks to @@ -128,28 +130,27 @@ }; /* ******************************************************** PROTOTYPES ***** */ -static void growfs(int, int, unsigned int); -static void rdfs(ufs2_daddr_t, size_t, void *, int); -static void wtfs(ufs2_daddr_t, size_t, void *, int, unsigned int); +static void growfs(void); +static void rdfs(ufs2_daddr_t, size_t, void *); +static void wtfs(ufs2_daddr_t, size_t, void *); static ufs2_daddr_t alloc(void); static int charsperline(void); static void usage(void); static int isblock(struct fs *, unsigned char *, int); static void clrblock(struct fs *, unsigned char *, int); static void setblock(struct fs *, unsigned char *, int); -static void initcg(int, time_t, int, unsigned int); -static void updjcg(int, time_t, int, int, unsigned int); -static void updcsloc(time_t, int, int, unsigned int); +static void initcg(int, time_t); +static void updjcg(int, time_t); +static void updcsloc(time_t); static struct disklabel *get_disklabel(int); -static void return_disklabel(int, struct disklabel *, unsigned int); -static union dinode *ginode(ino_t, int, int); +static void return_disklabel(int, struct disklabel *); +static union dinode *ginode(ino_t, int); static void frag_adjust(ufs2_daddr_t, int); -static int cond_bl_upd(ufs2_daddr_t *, struct gfs_bpp *, int, int, - unsigned int); +static int cond_bl_upd(ufs2_daddr_t *, struct gfs_bpp *); static void updclst(int); -static void updrefs(int, ino_t, struct gfs_bpp *, int, int, unsigned int); +static void updrefs(int, ino_t, struct gfs_bpp *); static void indirchk(ufs_lbn_t, ufs_lbn_t, ufs2_daddr_t, ufs_lbn_t, - struct gfs_bpp *, int, int, unsigned int); + struct gfs_bpp *); static void get_dev_size(int, int *); /* ************************************************************ growfs ***** */ @@ -165,7 +166,7 @@ * copies. */ static void -growfs(int fsi, int fso, unsigned int Nflag) +growfs(void) { DBG_FUNC("growfs") int i; @@ -199,7 +200,7 @@ for (i = 0; i < osblock.fs_cssize; i += osblock.fs_bsize) { rdfs(fsbtodb(&osblock, osblock.fs_csaddr + numfrags(&osblock, i)), (size_t)MIN(osblock.fs_cssize - i, - osblock.fs_bsize), (void *)(((char *)fscs)+i), fsi); + osblock.fs_bsize), (void *)(((char *)fscs)+i)); } #ifdef FS_DEBUG @@ -223,7 +224,7 @@ /* * Do all needed changes in the former last cylinder group. */ - updjcg(osblock.fs_ncg-1, utime, fsi, fso, Nflag); + updjcg(osblock.fs_ncg-1, utime); /* * Dump out summary information about file system. @@ -251,7 +252,7 @@ * Iterate for only the new cylinder groups. */ for (cylno = osblock.fs_ncg; cylno < sblock.fs_ncg; cylno++) { - initcg(cylno, utime, fso, Nflag); + initcg(cylno, utime); j = sprintf(tmpbuf, " %d%s", (int)fsbtodb(&sblock, cgsblock(&sblock, cylno)), cylno < (sblock.fs_ncg-1) ? "," : "" ); @@ -269,7 +270,7 @@ * Do all needed changes in the first cylinder group. * allocate blocks in new location */ - updcsloc(utime, fsi, fso, Nflag); + updcsloc(utime); /* * Now write the cylinder summary back to disk. @@ -277,7 +278,7 @@ for (i = 0; i < sblock.fs_cssize; i += sblock.fs_bsize) { wtfs(fsbtodb(&sblock, sblock.fs_csaddr + numfrags(&sblock, i)), (size_t)MIN(sblock.fs_cssize - i, sblock.fs_bsize), - (void *)(((char *)fscs) + i), fso, Nflag); + (void *)(((char *)fscs) + i)); } DBG_PRINT0("fscs written\n"); @@ -302,7 +303,8 @@ * Now write the new superblock back to disk. */ sblock.fs_time = utime; - wtfs(sblockloc, (size_t)SBLOCKSIZE, (void *)&sblock, fso, Nflag); + if (Nflag == 0 && sbwrite(&disk, 0) == -1) + err(1, "sbwrite: %s", disk.d_error); DBG_PRINT0("sblock written\n"); DBG_DUMP_FS(&sblock, "new initial sblock"); @@ -344,7 +346,7 @@ */ for (cylno = 0; cylno < sblock.fs_ncg; cylno++) { wtfs(fsbtodb(&sblock, cgsblock(&sblock, cylno)), - (size_t)SBLOCKSIZE, (void *)&sblock, fso, Nflag); + (size_t)SBLOCKSIZE, (void *)&sblock); } DBG_PRINT0("sblock copies written\n"); DBG_DUMP_FS(&sblock, @@ -362,11 +364,11 @@ * provisions for that case are removed here. */ static void -initcg(int cylno, time_t utime, int fso, unsigned int Nflag) +initcg(int cylno, time_t utime) { DBG_FUNC("initcg") static caddr_t iobuf; - long i, j, d, dlower, dupper, blkno, start; + long i, d, dlower, dupper, blkno, start; ufs2_daddr_t cbase, dmax; struct ufs1_dinode *dp1; struct ufs2_dinode *dp2; @@ -453,7 +455,7 @@ } #endif wtfs(fsbtodb(&sblock, cgimin(&sblock, cylno) + i), - sblock.fs_bsize, iobuf, fso, Nflag); + sblock.fs_bsize, iobuf); } if (cylno > 0) { /* @@ -527,7 +529,7 @@ sblock.fs_cstotal.cs_nifree += acg.cg_cs.cs_nifree; *cs = acg.cg_cs; wtfs(fsbtodb(&sblock, cgtod(&sblock, cylno)), - sblock.fs_bsize, (char *)&acg, fso, Nflag); + sblock.fs_bsize, (char *)&acg); DBG_DUMP_CG(&sblock, "new cg", &acg); @@ -605,8 +607,7 @@ * out if a write back operation is needed. */ static int -cond_bl_upd(ufs2_daddr_t *block, struct gfs_bpp *field, int fsi, int fso, - unsigned int Nflag) +cond_bl_upd(ufs2_daddr_t *block, struct gfs_bpp *field) { DBG_FUNC("cond_bl_upd") struct gfs_bpp *f; @@ -644,8 +645,8 @@ if (!ibuf) errx(1, "malloc failed"); src -= fragnum; - rdfs(fsbtodb(&sblock, src), (size_t)sblock.fs_bsize, ibuf, fsi); - wtfs(dst, (size_t)sblock.fs_bsize, ibuf, fso, Nflag); + rdfs(fsbtodb(&sblock, src), (size_t)sblock.fs_bsize, ibuf); + wtfs(dst, (size_t)sblock.fs_bsize, ibuf); free(ibuf); /* * The same block can't be found again in this loop. @@ -670,7 +671,7 @@ * tables and cluster summary during all those operations. */ static void -updjcg(int cylno, time_t utime, int fsi, int fso, unsigned int Nflag) +updjcg(int cylno, time_t utime) { DBG_FUNC("updjcg") ufs2_daddr_t cbase, dmax, dupper; @@ -685,7 +686,7 @@ * a copy. */ rdfs(fsbtodb(&osblock, cgtod(&osblock, cylno)), - (size_t)osblock.fs_cgsize, (void *)&aocg, fsi); + (size_t)osblock.fs_cgsize, (void *)&aocg); DBG_PRINT0("jcg read\n"); DBG_DUMP_CG(&sblock, "old joining cg", @@ -706,7 +707,7 @@ acg.cg_old_ncyl=sblock.fs_old_cpg; wtfs(fsbtodb(&sblock, cgtod(&sblock, cylno)), - (size_t)sblock.fs_cgsize, (void *)&acg, fso, Nflag); + (size_t)sblock.fs_cgsize, (void *)&acg); DBG_PRINT0("jcg written\n"); DBG_DUMP_CG(&sblock, "new joining cg", @@ -895,7 +896,7 @@ * Write the updated "joining" cylinder group back to disk. */ wtfs(fsbtodb(&sblock, cgtod(&sblock, cylno)), (size_t)sblock.fs_cgsize, - (void *)&acg, fso, Nflag); + (void *)&acg); DBG_PRINT0("jcg written\n"); DBG_DUMP_CG(&sblock, "new joining cg", @@ -923,7 +924,7 @@ * completely avoid implementing copy on write if we stick to method (2) only. */ static void -updcsloc(time_t utime, int fsi, int fso, unsigned int Nflag) +updcsloc(time_t utime) { DBG_FUNC("updcsloc") struct csum *cs; @@ -959,7 +960,7 @@ * block from disk. */ rdfs(fsbtodb(&osblock, cgtod(&osblock, ocscg)), - (size_t)osblock.fs_cgsize, (void *)&aocg, fsi); + (size_t)osblock.fs_cgsize, (void *)&aocg); DBG_PRINT0("oscg read\n"); DBG_DUMP_CG(&sblock, "old summary cg", @@ -1111,7 +1112,7 @@ * summary back to disk. */ wtfs(fsbtodb(&sblock, cgtod(&sblock, ocscg)), - (size_t)sblock.fs_cgsize, (void *)&acg, fso, Nflag); + (size_t)sblock.fs_cgsize, (void *)&acg); DBG_PRINT0("oscg written\n"); DBG_DUMP_CG(&sblock, "old summary cg", @@ -1142,7 +1143,7 @@ * summary from disk, and make a copy. */ rdfs(fsbtodb(&sblock, cgtod(&sblock, ncscg)), - (size_t)sblock.fs_cgsize, (void *)&aocg, fsi); + (size_t)sblock.fs_cgsize, (void *)&aocg); DBG_PRINT0("nscg read\n"); DBG_DUMP_CG(&sblock, "new summary cg", @@ -1210,7 +1211,7 @@ * back to disk. */ wtfs(fsbtodb(&sblock, cgtod(&sblock, ncscg)), - (size_t)sblock.fs_cgsize, (void *)&acg, fso, Nflag); + (size_t)sblock.fs_cgsize, (void *)&acg); DBG_PRINT0("nscg written\n"); DBG_DUMP_CG(&sblock, "new summary cg", @@ -1461,9 +1462,9 @@ * in the case we have any active snapshots. */ rdfs(fsbtodb(&sblock, bp[i].old*sblock.fs_frag), - (size_t)sblock.fs_bsize, (void *)&ablk, fsi); + (size_t)sblock.fs_bsize, (void *)&ablk); wtfs(fsbtodb(&sblock, bp[i].new*sblock.fs_frag), - (size_t)sblock.fs_bsize, (void *)&ablk, fso, Nflag); + (size_t)sblock.fs_bsize, (void *)&ablk); DBG_DUMP_HEX(&sblock, "copied full block", (unsigned char *)&ablk); @@ -1483,7 +1484,7 @@ DBG_PRINT1("scg doing cg (%d)\n", cylno); for(inc=osblock.fs_ipg-1 ; inc>=0 ; inc--) { - updrefs(cylno, (ino_t)inc, bp, fsi, fso, Nflag); + updrefs(cylno, (ino_t)inc, bp); } } @@ -1493,7 +1494,7 @@ */ for(i=0; isblock.fs_frag)) { - warnx("error: %d refs found for block %d.", + warnx("error: %d refs found for block %jd.", bp[i].found, bp[i].old); } @@ -1516,7 +1517,7 @@ * Write summary cylinder group back to disk. */ wtfs(fsbtodb(&sblock, cgtod(&sblock, ocscg)), (size_t)sblock.fs_cgsize, - (void *)&acg, fso, Nflag); + (void *)&acg); DBG_PRINT0("scg written\n"); DBG_DUMP_CG(&sblock, "new summary cg", @@ -1531,20 +1532,14 @@ * Here we read some block(s) from disk. */ static void -rdfs(ufs2_daddr_t bno, size_t size, void *bf, int fsi) +rdfs(ufs2_daddr_t bno, size_t size, void *bf) { DBG_FUNC("rdfs") - ssize_t n; DBG_ENTER; - if (lseek(fsi, (off_t)bno * DEV_BSIZE, 0) < 0) { - err(33, "rdfs: seek error: %ld", (long)bno); - } - n = read(fsi, bf, size); - if (n != (ssize_t)size) { - err(34, "rdfs: read error: %ld", (long)bno); - } + if (bread(&disk, bno, bf, size) == -1) + err(1, "rdfs: read error: %ld: %s", (long)bno, disk.d_error); DBG_LEAVE; return; @@ -1555,10 +1550,9 @@ * Here we write some block(s) to disk. */ static void -wtfs(ufs2_daddr_t bno, size_t size, void *bf, int fso, unsigned int Nflag) +wtfs(ufs2_daddr_t bno, size_t size, void *bf) { DBG_FUNC("wtfs") - ssize_t n; DBG_ENTER; @@ -1566,13 +1560,9 @@ DBG_LEAVE; return; } - if (lseek(fso, (off_t)bno * DEV_BSIZE, SEEK_SET) < 0) { - err(35, "wtfs: seek error: %ld", (long)bno); - } - n = write(fso, bf, size); - if (n != (ssize_t)size) { - err(36, "wtfs: write error: %ld", (long)bno); - } + + if (bwrite(&disk, bno, bf, size) == -1) + err(35, "wtfs: write error: %ld: %s", (long)bno, disk.d_error); DBG_LEAVE; return; @@ -1828,7 +1818,7 @@ * inodes. */ static union dinode * -ginode(ino_t inumber, int fsi, int cg) +ginode(ino_t inumber, int cg) { DBG_FUNC("ginode") static ino_t startinum = 0; /* first inode in cached block */ @@ -1841,7 +1831,7 @@ if (startinum == 0 || inumber < startinum || inumber >= startinum + INOPB(&sblock)) { inoblk = fsbtodb(&sblock, ino_to_fsba(&sblock, inumber)); - rdfs(inoblk, (size_t)sblock.fs_bsize, inobuf, fsi); + rdfs(inoblk, (size_t)sblock.fs_bsize, inobuf); startinum = (inumber / INOPB(&sblock)) * INOPB(&sblock); } DBG_LEAVE; @@ -1936,12 +1926,10 @@ char ch; unsigned int size=0; size_t len; - unsigned int Nflag=0; int ExpertFlag=0; struct stat st; struct disklabel *lp; struct partition *pp; - int i,fsi,fso; u_int32_t p_size; char reply[5]; #ifdef FSMAXSNAP @@ -2016,24 +2004,12 @@ } /* - * Try to access our devices for writing ... - */ - if (Nflag) { - fso = -1; - } else { - fso = open(device, O_WRONLY); - if (fso < 0) { - err(1, "%s", device); - } - } - - /* - * ... and reading. + * Try to access our device read/write. */ - fsi = open(device, O_RDONLY); - if (fsi < 0) { - err(1, "%s", device); - } + if (ufs_disk_fillout(&disk, device) == -1) + err(1, "ufs_disk_fillout: %s", disk.d_error); + if (ufs_disk_write(&disk) == -1) + err(1, "ufs_disk_write: %s", disk.d_error); /* * Try to read a label and guess the slice if not specified. This @@ -2041,7 +2017,7 @@ * with the task of specifying the option -v on vinum volumes. */ cp=device+strlen(device)-1; - lp = get_disklabel(fsi); + lp = get_disklabel(disk.d_fd); if (lp != NULL) { if (isdigit(*cp)) { pp = &lp->d_partitions[2]; @@ -2052,7 +2028,7 @@ } p_size = pp->p_size; } else { - get_dev_size(fsi, &p_size); + get_dev_size(disk.d_fd, &p_size); } /* @@ -2063,21 +2039,8 @@ } /* - * Read the current superblock, and take a backup. + * Take a backup of the superblock. */ - for (i = 0; sblock_try[i] != -1; i++) { - sblockloc = sblock_try[i] / DEV_BSIZE; - rdfs(sblockloc, (size_t)SBLOCKSIZE, (void *)&(osblock), fsi); - if ((osblock.fs_magic == FS_UFS1_MAGIC || - (osblock.fs_magic == FS_UFS2_MAGIC && - osblock.fs_sblockloc == sblock_try[i])) && - osblock.fs_bsize <= MAXBSIZE && - osblock.fs_bsize >= sizeof(struct fs)) - break; - } - if (sblock_try[i] == -1) { - errx(1, "superblock not recognized"); - } memcpy((void *)&fsun1, (void *)&fsun2, sizeof(fsun2)); maxino = sblock.fs_ncg * sblock.fs_ipg; @@ -2102,7 +2065,7 @@ * Are we really growing ? */ if(osblock.fs_size >= sblock.fs_size) { - errx(1, "we are not growing (%d->%d)", osblock.fs_size, + errx(1, "we are not growing (%jd->%jd)", osblock.fs_size, sblock.fs_size); } @@ -2136,15 +2099,14 @@ } } - printf("new file systemsize is: %d frags\n", sblock.fs_size); + printf("new file system size is: %jd frags\n", sblock.fs_size); /* * Try to access our new last block in the file system. Even if we * later on realize we have to abort our operation, on that block * there should be no data, so we can't destroy something yet. */ - wtfs((ufs2_daddr_t)p_size-1, (size_t)DEV_BSIZE, (void *)&sblock, - fso, Nflag); + wtfs((ufs2_daddr_t)p_size-1, (size_t)DEV_BSIZE, (void *)&sblock); /* * Now calculate new superblock values and check for reasonable @@ -2178,7 +2140,7 @@ sblock.fs_ncg--; if (sblock.fs_magic == FS_UFS1_MAGIC) sblock.fs_old_ncyl = sblock.fs_ncg * sblock.fs_old_cpg; - printf("Warning: %d sector(s) cannot be allocated.\n", + printf("Warning: %jd sector(s) cannot be allocated.\n", fsbtodb(&sblock, sblock.fs_size % sblock.fs_fpg)); sblock.fs_size = sblock.fs_ncg * sblock.fs_fpg; } @@ -2199,7 +2161,7 @@ /* * Ok, everything prepared, so now let's do the tricks. */ - growfs(fsi, fso, Nflag); + growfs(); /* * Update the disk label. @@ -2209,12 +2171,11 @@ pp->p_frag = sblock.fs_frag; pp->p_cpg = sblock.fs_fpg; - return_disklabel(fso, lp, Nflag); + return_disklabel(disk.d_fd, lp); DBG_PRINT0("label rewritten\n"); } - close(fsi); - if(fso>-1) close(fso); + ufs_disk_close(&disk); DBG_CLOSE; @@ -2227,7 +2188,7 @@ * Write the updated disklabel back to disk. */ static void -return_disklabel(int fd, struct disklabel *lp, unsigned int Nflag) +return_disklabel(int fd, struct disklabel *lp) { DBG_FUNC("return_disklabel") u_short sum; @@ -2358,14 +2319,13 @@ * cylinder group. */ static void -updrefs(int cg, ino_t in, struct gfs_bpp *bp, int fsi, int fso, unsigned int - Nflag) +updrefs(int cg, ino_t in, struct gfs_bpp *bp) { DBG_FUNC("updrefs") ufs_lbn_t len, lbn, numblks; ufs2_daddr_t iptr, blksperindir; union dinode *ino; - int i, mode, remaining_blocks, inodeupdated; + int i, mode, inodeupdated; DBG_ENTER; @@ -2373,7 +2333,7 @@ * XXX We should skip unused inodes even from being read from disk * here by using the bitmap. */ - ino = ginode(in, fsi, cg); + ino = ginode(in, cg); mode = DIP(ino, di_mode) & IFMT; if (mode != IFDIR && mode != IFREG && mode != IFLNK) { DBG_LEAVE; @@ -2405,7 +2365,7 @@ iptr = DIP(ino, di_db[i]); if (iptr == 0) continue; - if (cond_bl_upd(&iptr, bp, fsi, fso, Nflag)) { + if (cond_bl_upd(&iptr, bp)) { DIP(ino, di_db[i]) = iptr; inodeupdated++; } @@ -2419,18 +2379,18 @@ iptr = DIP(ino, di_ib[i]); if (iptr == 0) continue; - if (cond_bl_upd(&iptr, bp, fsi, fso, Nflag)) { + if (cond_bl_upd(&iptr, bp)) { DIP(ino, di_ib[i]) = iptr; inodeupdated++; } - indirchk(blksperindir, lbn, iptr, numblks, bp, fsi, fso, Nflag); + indirchk(blksperindir, lbn, iptr, numblks, bp); blksperindir *= NINDIR(&sblock); lbn += blksperindir; len -= blksperindir; DBG_PRINT1("scg indirect_%d blocks checked\n", i + 1); } if (inodeupdated) - wtfs(inoblk, sblock.fs_bsize, inobuf, fso, Nflag); + wtfs(inoblk, sblock.fs_bsize, inobuf); DBG_LEAVE; return; @@ -2441,11 +2401,10 @@ */ static void indirchk(ufs_lbn_t blksperindir, ufs_lbn_t lbn, ufs2_daddr_t blkno, - ufs_lbn_t lastlbn, struct gfs_bpp *bp, int fsi, int fso, unsigned int Nflag) + ufs_lbn_t lastlbn, struct gfs_bpp *bp) { DBG_FUNC("indirchk") void *ibuf; - off_t offset; int i, last; ufs2_daddr_t iptr; @@ -2455,7 +2414,7 @@ ibuf = malloc(sblock.fs_bsize); if (!ibuf) errx(1, "malloc failed"); - rdfs(fsbtodb(&sblock, blkno), (size_t)sblock.fs_bsize, ibuf, fsi); + rdfs(fsbtodb(&sblock, blkno), (size_t)sblock.fs_bsize, ibuf); last = howmany(lastlbn - lbn, blksperindir) < NINDIR(&sblock) ? howmany(lastlbn - lbn, blksperindir) : NINDIR(&sblock); for (i = 0; i < last; i++) { @@ -2465,7 +2424,7 @@ iptr = ((ufs2_daddr_t *)ibuf)[i]; if (iptr == 0) continue; - if (cond_bl_upd(&iptr, bp, fsi, fso, Nflag)) { + if (cond_bl_upd(&iptr, bp)) { if (sblock.fs_magic == FS_UFS1_MAGIC) ((ufs1_daddr_t *)ibuf)[i] = iptr; else @@ -2474,7 +2433,7 @@ if (blksperindir == 1) continue; indirchk(blksperindir / NINDIR(&sblock), lbn + blksperindir * i, - iptr, lastlbn, bp, fsi, fso, Nflag); + iptr, lastlbn, bp); } free(ibuf); --- growfs.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 19 14:40:15 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8F0016A4B3 for ; Fri, 19 Sep 2003 14:40:15 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C792743FF5 for ; Fri, 19 Sep 2003 14:40:13 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8JLeDFY052266 for ; Fri, 19 Sep 2003 14:40:13 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8JLeDVs052265; Fri, 19 Sep 2003 14:40:13 -0700 (PDT) (envelope-from gnats) Resent-Date: Fri, 19 Sep 2003 14:40:13 -0700 (PDT) Resent-Message-Id: <200309192140.h8JLeDVs052265@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mikhail Teterin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCA7D16A4BF for ; Fri, 19 Sep 2003 14:36:59 -0700 (PDT) Received: from corbulon.video-collage.com (corbulon.video-collage.com [64.35.99.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D6F943FE5 for ; Fri, 19 Sep 2003 14:36:58 -0700 (PDT) (envelope-from mteterin@250-217.customer.cloud9.net) Received: from 250-217.customer.cloud9.net (250-217.customer.cloud9.net [168.100.250.217])h8JLao7Q024576 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 19 Sep 2003 17:36:55 -0400 (EDT) (envelope-from mteterin@250-217.customer.cloud9.net) Received: from 250-217.customer.cloud9.net (mteterin@localhost [127.0.0.1]) h8JLbtjB061222 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 19 Sep 2003 17:38:00 -0400 (EDT) (envelope-from mteterin@250-217.customer.cloud9.net) Received: (from mteterin@localhost)h8JLbsIs061221; Fri, 19 Sep 2003 17:37:54 -0400 (EDT) (envelope-from mteterin) Message-Id: <200309192137.h8JLbsIs061221@250-217.customer.cloud9.net> Date: Fri, 19 Sep 2003 17:37:54 -0400 (EDT) From: Mikhail Teterin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/57024: a new option for xargs(1) -- only treat \n as separators X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Sep 2003 21:40:16 -0000 >Number: 57024 >Category: bin >Synopsis: a new option for xargs(1) -- only treat \n as separators >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: Fri Sep 19 14:40:13 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Mikhail Teterin >Release: FreeBSD 5.1-CURRENT i386 >Organization: Virtual Estates, Inc. >Environment: System: FreeBSD mi.us.murex.com 5.1-CURRENT FreeBSD 5.1-CURRENT #5: Wed Sep 10 16:35:59 EDT 2003 root@mi.us.murex.com:/misha/obj/misha/src/sys/Misha-g i386 >Description: While the -0 option provides the ultimate solution for handling unusual characters in file-names, it requires cooperation from the input generator (such as find(1)). Sometimes, the potential input for xargs(1) is generated by a non-cooperating utility, which does not have the find(1) -print0 equivalent. Output of ``tar -t'' is one example. The '\n' character, however, happens very rarely in the filenames. It would be of great convenience to be able to specify it as the only separator, for it does not require modifications to the input. find .... | xargs -N ... will work as good as find .... -print0 | xargs -0 ... as long as there are no filenames with embedded \n. >How-To-Repeat: tar -t some.tar | xargs ls -l would break if the archive has files with tabs or spaces in their names. While modifying tar is an option, the proposed new flag will solve the problem for almost everybody: tar -t some.tar | xargs -N ls -l >Fix: This would be another non-standard option and the patch below documents it as such. Index: xargs.1 =================================================================== RCS file: /home/ncvs/src/usr.bin/xargs/xargs.1,v retrieving revision 1.30 diff -U2 -r1.30 xargs.1 --- xargs.1 21 May 2003 21:07:28 -0000 1.30 +++ xargs.1 19 Sep 2003 21:33:31 -0000 @@ -46,5 +46,5 @@ .Sh SYNOPSIS .Nm -.Op Fl 0opt +.Op Fl 0Nopt .Op Fl E Ar eofstr .Oo @@ -99,4 +99,11 @@ function in .Xr find 1 . +.It Fl N +Change +.Nm +to only treat newlines as separators. This is not as comprehensive as the +.Fl 0 +option above, but can be useful if the input contains one argument per line +as is often the case. .It Fl E Ar eofstr Use @@ -295,5 +302,5 @@ compliant. The -.Fl J , o , P +.Fl J , N, o , P and .Fl R Index: xargs.c =================================================================== RCS file: /home/ncvs/src/usr.bin/xargs/xargs.c,v retrieving revision 1.54 diff -U2 -r1.54 xargs.c --- xargs.c 13 Jun 2003 17:05:41 -0000 1.54 +++ xargs.c 19 Sep 2003 21:33:31 -0000 @@ -81,5 +81,5 @@ static const char *eofstr; static int count, insingle, indouble, oflag, pflag, tflag, Rflag, rval, zflag; -static int cnt, Iflag, jfound, Lflag, wasquoted, xflag; +static int cnt, Iflag, jfound, Lflag, Nflag, wasquoted, xflag; static int curprocs, maxprocs; @@ -125,5 +125,5 @@ } maxprocs = 1; - while ((ch = getopt(argc, argv, "0E:I:J:L:n:oP:pR:s:tx")) != -1) + while ((ch = getopt(argc, argv, "0NE:I:J:L:n:oP:pR:s:tx")) != -1) switch(ch) { case 'E': @@ -176,4 +176,7 @@ zflag = 1; break; + case 'N': + Nflag = 1; + break; case '?': default: @@ -183,4 +186,6 @@ argv += optind; + if (zflag && Nflag) + errx(1, "-0 and -N are mutually exclusive"); if (!Iflag && Rflag) usage(); @@ -269,5 +274,5 @@ case '\t': /* Quotes escape tabs and spaces. */ - if (insingle || indouble || zflag) + if (insingle || indouble || zflag || Nflag) goto addch; goto arg2; @@ -353,5 +358,5 @@ break; case '\'': - if (indouble || zflag) + if (indouble || zflag || Nflag) goto addch; insingle = !insingle; @@ -359,5 +364,5 @@ break; case '"': - if (insingle || zflag) + if (insingle || zflag || Nflag) goto addch; indouble = !indouble; @@ -365,5 +370,5 @@ break; case '\\': - if (zflag) + if (zflag || Nflag) goto addch; /* Backslash escapes anything, is escaped by quotes. */ @@ -600,5 +605,5 @@ { fprintf(stderr, -"usage: xargs [-0opt] [-E eofstr] [-I replstr [-R replacements]] [-J replstr]\n" +"usage: xargs [-0Nopt] [-E eofstr] [-I replstr [-R replacements]] [-J replstr]\n" " [-L number] [-n number [-x]] [-P maxprocs] [-s size]\n" " [utility [argument ...]]\n"); >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 19 15:30:24 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E700D16A4B3 for ; Fri, 19 Sep 2003 15:30:23 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AFF043FDD for ; Fri, 19 Sep 2003 15:30:22 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8JMUMFY068234 for ; Fri, 19 Sep 2003 15:30:22 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8JMUMbd068233; Fri, 19 Sep 2003 15:30:22 -0700 (PDT) (envelope-from gnats) Resent-Date: Fri, 19 Sep 2003 15:30:22 -0700 (PDT) Resent-Message-Id: <200309192230.h8JMUMbd068233@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Victor Balada Diaz Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 67D6016A4B3 for ; Fri, 19 Sep 2003 15:19:54 -0700 (PDT) Received: from alf.dyndns.ws (244.Red-217-126-240.pooles.rima-tde.net [217.126.240.244]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF80443FE1 for ; Fri, 19 Sep 2003 15:19:52 -0700 (PDT) (envelope-from victor@alf.dyndns.ws) Received: from alf.euesrg02.net (localhost [127.0.0.1]) by alf.dyndns.ws (8.12.8/8.12.8) with ESMTP id h8JMJoR2061895 for ; Sat, 20 Sep 2003 00:19:50 +0200 (CEST) (envelope-from victor@alf.euesrg02.net) Received: (from victor@localhost) by alf.euesrg02.net (8.12.8/8.12.8/Submit) id h8JMJns4061894; Sat, 20 Sep 2003 00:19:49 +0200 (CEST) Message-Id: <200309192219.h8JMJns4061894@alf.euesrg02.net> Date: Sat, 20 Sep 2003 00:19:49 +0200 (CEST) From: Victor Balada Diaz To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/57026: [PATCH] Therer is no way to know the label of a cdrom X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Victor Balada Diaz List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Sep 2003 22:30:24 -0000 >Number: 57026 >Category: bin >Synopsis: [PATCH] Therer is no way to know the label of a cdrom >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: Fri Sep 19 15:30:22 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Victor Balada Diaz >Release: FreeBSD 5.1-CURRENT i386 >Organization: >Environment: System: FreeBSD amnesiac.euesrg02.net 5.1-CURRENT FreeBSD 5.1-CURRENT #5: Mon Sep 8 16:58:54 CEST 2003 victor@amnesiac.euesrg02.net:/usr/src/sys/i386/compile/MYKERNEL i386 >Description: I can't find any tool for read the cdrom label, and i think that could be usefull that the mount_cd9660(8) says the label when the cdrom is mounted >How-To-Repeat: >Fix: Apply the next patch to /usr/src/sbin/mount_cd9660/mount_cd9660.c v 1.21 --- mount.patch begins here --- --- /usr/src/sbin/mount_cd9660/mount_cd9660.c Wed Aug 21 20:10:55 2002 +++ mount_cd9660.c Mon Sep 15 17:03:02 2003 @@ -57,6 +57,8 @@ #include #include #include +#include +#include #include @@ -67,6 +69,7 @@ #include #include #include +#include #include "mntopts.h" @@ -172,7 +175,9 @@ } if (mount("cd9660", mntpath, mntflags, &args) < 0) - err(1, "%s", args.fspec); + err(1, "%s", args.fspec); + else + print_label(dev); exit(0); } @@ -225,3 +230,26 @@ return ntohl(toc_buffer[i].addr.lba); } + +int +print_label(const char *dev) +{ + struct iso_primary_descriptor *cdinfo; + int fd; + + if (( cdinfo=(void *)malloc(2048))==NULL) + return 1; + if (( fd = open(dev, O_RDONLY) ) == -1 ) + perror("open:"); + else{ + lseek(fd, (off_t)2048*16, SEEK_SET); + read(fd, cdinfo, 2048); + if ( cdinfo->volume_id==NULL ) + printf("The cd hasn't got a label"); + else + printf("The cd label is: %s\n", cdinfo->volume_id); + } + return 0; +} + + --- mount.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 19 20:40:12 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E42C416A4B3 for ; Fri, 19 Sep 2003 20:40:11 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFD9E43FF9 for ; Fri, 19 Sep 2003 20:40:09 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8K3e9FY062513 for ; Fri, 19 Sep 2003 20:40:09 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8K3e9c2062512; Fri, 19 Sep 2003 20:40:09 -0700 (PDT) (envelope-from gnats) Resent-Date: Fri, 19 Sep 2003 20:40:09 -0700 (PDT) Resent-Message-Id: <200309200340.h8K3e9c2062512@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Oliver Eikemeier Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB3BD16A4B3 for ; Fri, 19 Sep 2003 20:36:27 -0700 (PDT) Received: from mx2.fillmore-labs.com (lima.fillmore-labs.com [62.138.193.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id B315843FAF for ; Fri, 19 Sep 2003 20:36:26 -0700 (PDT) (envelope-from eikemeier@fillmore-labs.com) Received: from pd951a746.dip.t-dialin.net ([217.81.167.70] helo=fillmore-labs.com ident=cpor3v3k2f2x3qrs) by mx2.fillmore-labs.com with asmtp (TLSv1:AES256-SHA:256) (Exim 4.23; FreeBSD 4.9) id 1A0YXp-000PVX-FQ for FreeBSD-gnats-submit@FreeBSD.org; Sat, 20 Sep 2003 05:36:25 +0200 Message-Id: <3F6BCB37.4050107@fillmore-labs.com> Date: Sat, 20 Sep 2003 05:36:23 +0200 From: Oliver Eikemeier To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/57029: [PATCH] pkg_install: make more robust against corrupted package database X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2003 03:40:12 -0000 >Number: 57029 >Category: bin >Synopsis: [PATCH] pkg_install: make more robust against corrupted package database >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: Fri Sep 19 20:40:09 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Oliver Eikemeier >Release: FreeBSD 5.1-CURRENT i386 >Organization: Fillmore Labs - http://www.fillmore-labs.com >Environment: System: FreeBSD nuuk.fillmore-labs.com 5.1-CURRENT >Description: If the package info files in /var/db/pkg/ become corrupted, pkg_info and pkg_version react with various unhelpful error messages, see also PR 57016 >How-To-Repeat: # mkdir /var/db/pkg/corrupt_pkg_1.0 # touch /var/db/pkg/corrupt_pkg_1.0/+REQUIREMENTS # pkg_version -v pkg_version: unable to open +CONTENTS file # cd /usr/ports/sysutils/pkg_install; make install [...] ===> Installing for pkg_install-20030714_1 ===> Generating temporary packing list ===> Checking if sysutils/pkg_install already installed *** Error code 1 Stop in /usr/ports/sysutils/pkg_install. # pkg_delete -f corrupt_pkg_1.0 pkg_delete: no such package 'corrupt_pkg_1.0' installed >Fix: A patch is available on ftp://ftp.fillmore-labs.com/pub/FreeBSD/patches/patch-pkg_install-20030917_3.gz MD5 (patch-pkg_install-20030917_3.gz) = 29ce1c8dd938fba5b3f68d8f2def5551 It fixes pkg_info, pkg_delete and gives more helpful messages for pkg_version: # pkg_version -v pkg_version: the package info for package 'corrupt_pkg_1.0' is corrupt # cd /usr/ports/sysutils/pkg_install; make install [...] ===> Installing for pkg_install-20030714_1 ===> Generating temporary packing list ===> Checking if sysutils/pkg_install already installed [...] ===> Registering installation for pkg_install-20030714_1 # pkg_delete corrupt_pkg_1.0 pkg_delete: the package info for package 'corrupt_pkg_1.0' is corrupt (use -f to force removal) # pkg_delete -f corrupt_pkg_1.0 pkg_delete: the package info for package 'corrupt_pkg_1.0' is corrupt (but I'll delete it anyway) pkg_delete: couldn't completely deinstall package 'corrupt_pkg_1.0', only the log entry in /var/db/pkg/corrupt_pkg_1.0 was removed This patch build on the patches in PR 56961 and PR 56989, which fix additional bugs described there. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 19 20:50:28 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 847E216A4B3 for ; Fri, 19 Sep 2003 20:50:28 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED77943FF3 for ; Fri, 19 Sep 2003 20:50:27 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8K3oRFY065207 for ; Fri, 19 Sep 2003 20:50:27 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8K3oRvR065206; Fri, 19 Sep 2003 20:50:27 -0700 (PDT) (envelope-from gnats) Date: Fri, 19 Sep 2003 20:50:27 -0700 (PDT) Message-Id: <200309200350.h8K3oRvR065206@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Oliver Eikemeier Subject: Re: bin/57024: a new option for xargs(1) -- only treat \n as separators X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Oliver Eikemeier List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2003 03:50:28 -0000 The following reply was made to PR bin/57024; it has been noted by GNATS. From: Oliver Eikemeier To: freebsd-gnats-submit@FreeBSD.org, mi@aldan.algebra.com Cc: Subject: Re: bin/57024: a new option for xargs(1) -- only treat \n as separators Date: Sat, 20 Sep 2003 05:49:36 +0200 How about: tar -t some.tar | tr '\n' '\000' | xargs -0 ls -l From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 19 22:00:24 2003 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA66516A4B3 for ; Fri, 19 Sep 2003 22:00:24 -0700 (PDT) Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [206.29.169.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id A971143FE5 for ; Fri, 19 Sep 2003 22:00:23 -0700 (PDT) (envelope-from tedm@toybox.placo.com) Received: from tedsbox (nat-rtr.freebsd-corp-net-guide.com [206.29.168.154]) h8K50Kv92101; Fri, 19 Sep 2003 22:00:21 -0700 (PDT) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "Jerry McAllister" Date: Fri, 19 Sep 2003 22:02:07 -0700 Message-ID: <001001c37f34$574fcb60$1401a8c0@tedsbox> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal In-Reply-To: <200309191417.h8JEHYIn028405@clunix.cl.msu.edu> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: freebsd-bugs@freebsd.org Subject: RE: kern/42030: panic when zebra works on detaching tun interface X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2003 05:00:25 -0000 I am not saying a kernel flaw should be left in place. I am saying that if someone fixes the FreeBSD kernel that it will not help you to get Zebra to do what you want it to do. Presumably you filed the bug because you have a problem that you would like fixed, and presumably the problem is that you want to be able to detach the tun interface and have Zebra make an adjustment without a panic. You will not get this to happen by beating the FreeBSD kernel people over the head, because even if someone fixes the FreeBSD kernel problem, the Zebra application will still be broken. I think you are frustrated because you can't get the Zebra/Quagga people to fix the bug in Zebra. I am sorry and I understand your frustration, being a Quagga user myself. But, I posted followup on this bug because the FreeBSD kernel people have limited time to fix bugs, and must prioritize them and fix the FreeBSD kernel bugs that affect the most people first. The fact that the Linux kernel also panics when Zebra does this is a good indication that the application program has a serious bug in it. If no other application programs on FreeBSD trigger this particular bug in the kernel, then the FreeBSD kernel developers are not likely to take this up, without input from the Zebra development team saying what they are doing wrong that is causing the panic. As I said before, your best bet on getting this problem resolved is to start with the Zebra/Quagga development team. Ted From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 19 22:40:12 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA99816A4B3 for ; Fri, 19 Sep 2003 22:40:12 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 341E443FF5 for ; Fri, 19 Sep 2003 22:40:12 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8K5eCFY099232 for ; Fri, 19 Sep 2003 22:40:12 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8K5eB0b099231; Fri, 19 Sep 2003 22:40:11 -0700 (PDT) (envelope-from gnats) Date: Fri, 19 Sep 2003 22:40:11 -0700 (PDT) Message-Id: <200309200540.h8K5eB0b099231@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: peter stern Subject: Re: kern/56982: 4.9 RC8 won't boot X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: peter stern List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2003 05:40:13 -0000 The following reply was made to PR kern/56982; it has been noted by GNATS. From: peter stern To: freebsd-gnats-submit@FreeBSD.org, peter@65north.com Cc: Subject: Re: kern/56982: 4.9 RC8 won't boot Date: Fri, 19 Sep 2003 21:38:07 -0800 4.9 PreRelease 9 also will not boot to a Buslogic BT 958 with firmware 5.06i. Boot process halts during the detection phase for the scsi adapter; same location. I see another report of scsi problems with the aha device for an Adaptec 1542. I am using the GENERIC kernel doing a make buildkernel followed by make install kernel.. I have also tried doing make buildworld before build kernel with the result result. From owner-freebsd-bugs@FreeBSD.ORG Sat Sep 20 02:59:42 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E289616A4B3; Sat, 20 Sep 2003 02:59:42 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 656A843F85; Sat, 20 Sep 2003 02:59:42 -0700 (PDT) (envelope-from dougb@FreeBSD.org) Received: from freefall.freebsd.org (dougb@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8K9xgFY078725; Sat, 20 Sep 2003 02:59:42 -0700 (PDT) (envelope-from dougb@freefall.freebsd.org) Received: (from dougb@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8K9xg8Y078721; Sat, 20 Sep 2003 02:59:42 -0700 (PDT) (envelope-from dougb) Date: Sat, 20 Sep 2003 02:59:42 -0700 (PDT) From: Doug Barton Message-Id: <200309200959.h8K9xg8Y078721@freefall.freebsd.org> To: dougb@FreeBSD.org, freebsd-bugs@FreeBSD.org, cvs@FreeBSD.org Subject: Re: gnu/42726: cvs -R pserver & val-tags: story continues X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2003 09:59:43 -0000 Synopsis: cvs -R pserver & val-tags: story continues Responsible-Changed-From-To: freebsd-bugs->cvs Responsible-Changed-By: dougb Responsible-Changed-When: Sat Sep 20 02:58:33 PDT 2003 Responsible-Changed-Why: Give the cvs meisters a chance to think this one over. http://www.freebsd.org/cgi/query-pr.cgi?pr=42726 From owner-freebsd-bugs@FreeBSD.ORG Sat Sep 20 06:37:16 2003 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7FEB16A4EF for ; Sat, 20 Sep 2003 06:37:16 -0700 (PDT) Received: from daneel.nbux.com (daneel.nbux.com [62.4.21.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id B558943FE0 for ; Sat, 20 Sep 2003 06:37:15 -0700 (PDT) (envelope-from freebsd@nbux.com) Received: from webmail.nbux.com (daneel.nbux.com [62.4.21.96]) by daneel.nbux.com (Postfix) with SMTP id 1520595858 for ; Sat, 20 Sep 2003 15:37:13 +0200 (CEST) Received: from daneel.nbux.com ([62.4.21.96]) (SquirrelMail authenticated user freebsd) by webmail.nbux.com with HTTP; Sat, 20 Sep 2003 15:37:13 +0200 (CEST) Message-ID: <53058.62.4.21.96.1064065033.squirrel@webmail.nbux.com> Date: Sat, 20 Sep 2003 15:37:13 +0200 (CEST) From: "Christophe Yayon" To: freebsd-bugs@freebsd.org User-Agent: SquirrelMail/1.4.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Virus-Scanned: ? Subject: samba msdosfs troubles on freebsd 5.1 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2003 13:37:16 -0000 Hi all, I am using freebsd 5.1 and Samba 2.2.8a, i have some troubles with samba shares when i try to write something from windows to samba (share are msdosfs) hang, and lost connection to the samba server. Then, i need to down/up my NIC or reboot my server... Sometimes, it crash with a kernel panic... I tried the same transfert with FTP (on the same msdos share) and it's ok, no problem... I also tried with another NIC (Realtek and 3COM). When i write on an UFS1/2 share from windows, no problem... Is there a bug with msdosfs drivers ? From owner-freebsd-bugs@FreeBSD.ORG Sat Sep 20 07:19:25 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B764716A4B3; Sat, 20 Sep 2003 07:19:25 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEE4343FDD; Sat, 20 Sep 2003 07:19:24 -0700 (PDT) (envelope-from des@FreeBSD.org) Received: from freefall.freebsd.org (des@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8KEJOFY001834; Sat, 20 Sep 2003 07:19:24 -0700 (PDT) (envelope-from des@freefall.freebsd.org) Received: (from des@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8KEJODp001830; Sat, 20 Sep 2003 07:19:24 -0700 (PDT) (envelope-from des) Date: Sat, 20 Sep 2003 07:19:24 -0700 (PDT) From: Dag-Erling Smorgrav Message-Id: <200309201419.h8KEJODp001830@freefall.freebsd.org> To: des@FreeBSD.org, des@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/54604: Made 'ps -e' procfs-independent [PATCH]. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2003 14:19:25 -0000 Synopsis: Made 'ps -e' procfs-independent [PATCH]. Responsible-Changed-From-To: des->freebsd-bugs Responsible-Changed-By: des Responsible-Changed-When: Sat Sep 20 07:19:24 PDT 2003 Responsible-Changed-Why: Not a procfs issue http://www.freebsd.org/cgi/query-pr.cgi?pr=54604 From owner-freebsd-bugs@FreeBSD.ORG Sat Sep 20 11:10:08 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBA1A16A4B3 for ; Sat, 20 Sep 2003 11:10:08 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D417043F75 for ; Sat, 20 Sep 2003 11:10:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8KIA6FY072467 for ; Sat, 20 Sep 2003 11:10:06 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8KIA6dm072466; Sat, 20 Sep 2003 11:10:06 -0700 (PDT) (envelope-from gnats) Resent-Date: Sat, 20 Sep 2003 11:10:06 -0700 (PDT) Resent-Message-Id: <200309201810.h8KIA6dm072466@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mike Meyer Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD0B416A4BF for ; Sat, 20 Sep 2003 11:03:23 -0700 (PDT) Received: from lakemtao06.cox.net (lakemtao06.cox.net [68.1.17.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id F282C43F3F for ; Sat, 20 Sep 2003 11:03:21 -0700 (PDT) (envelope-from mwm@mired.org) Received: from mired.org ([68.97.54.220]) by lakemtao06.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20030920180321.IQGR4662.lakemtao06.cox.net@mired.org> for ; Sat, 20 Sep 2003 14:03:21 -0400 Received: (qmail 671 invoked by uid 100); 27 Aug 2001 01:02:48 -0000 Message-Id: <20010827010248.670.qmail@mired.org> From: Mike Meyer To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/57036: No media detected by 3c905b-tx on 4.9-release X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Mike Meyer List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sat, 20 Sep 2003 18:10:09 -0000 X-Original-Date: 27 Aug 2001 01:02:48 -0000 X-List-Received-Date: Sat, 20 Sep 2003 18:10:09 -0000 >Number: 57036 >Category: kern >Synopsis: No media detected by 3c905b-tx on 4.9-release >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 20 11:10:06 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Mike Meyer >Release: FreeBSD 4.8-PRERELEASE i386 >Organization: Meyer Consulting >Environment: FreeBSD eve.mired.org 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #20: Sat Sep 20 11:14:56 CDT 2003 mwm@guru.mired.org:/sharetmp/obj/usr/src/sys/EVE i386 >Description: The exphy driver is failing to detect connected media. >How-To-Repeat: Install the driver on a system with a dmesg sufficiently like the one attached below. Boot, and observe that the xl network isn't there. The dmesg shows xlphy0 reporting "no media present". Booting a 4.8-PRERELEASE kernel on the same hardware gets this dmesg output: guru% ssh eve dmesg | grep xl xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xe800-0xe87f mem 0xeb000000-0xeb00007f irq 5 at device 10.0 on pci0 xl0: Ethernet address: 00:50:04:84:ac:f1 miibus0: on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Trying a bit of debugging, the PHY_READ at line 196 (just before the test of sc->mii_capabilities) returns a 0. --- dmesg begins here --- Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.9-PRERELEASE #20: Sat Sep 20 11:14:56 CDT 2003 mwm@guru.mired.org:/sharetmp/obj/usr/src/sys/EVE Timecounter "i8254" frequency 1193182 Hz CPU: AMD-K6(tm) 3D processor (551.25-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 Features=0x8021bf AMD Features=0x80000800 real memory = 268369920 (262080K bytes) avail memory = 257806336 (251764K bytes) Preloaded elf kernel "kernel" at 0xc034d000. K6-family MTRR support enabled (2 registers) Using $PIR table, 8 entries at 0xc00fdf10 apm0: on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib2: at device 1.0 on pci0 pci1: on pcib2 pci1: at 0.0 irq 11 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xe000-0xe00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at 7.2 irq 10 pci0: (vendor=0x1106, dev=0x3050) at 7.3 xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xe800-0xe87f mem 0xeb000000-0xeb00007f irq 5 at device 10.0 on pci0 xl0: Ethernet address: 00:50:04:84:ac:f1 miibus0: on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: no media present pcm0: port 0xec00-0xec3f irq 7 at device 11.0 on pci0 pcib1: on motherboard pci2: on pcib1 orm0: