From owner-freebsd-bugs@FreeBSD.ORG Sun May 23 10:19:41 2004 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 3E44016A4CE; Sun, 23 May 2004 10:19:41 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D88443D1F; Sun, 23 May 2004 10:19:41 -0700 (PDT) (envelope-from csjp@FreeBSD.org) Received: from freefall.freebsd.org (csjp@localhost [127.0.0.1]) i4NHJUjB017028; Sun, 23 May 2004 10:19:30 -0700 (PDT) (envelope-from csjp@freefall.freebsd.org) Received: (from csjp@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4NHJSKf017024; Sun, 23 May 2004 10:19:28 -0700 (PDT) (envelope-from csjp) Date: Sun, 23 May 2004 10:19:28 -0700 (PDT) From: "Christian S.J. Peron" Message-Id: <200405231719.i4NHJSKf017024@freefall.freebsd.org> To: sec@42.org, csjp@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/63772: tap device / exclusive open problem 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: Sun, 23 May 2004 17:19:41 -0000 Synopsis: tap device / exclusive open problem State-Changed-From-To: open->closed State-Changed-By: csjp State-Changed-When: Sun May 23 10:16:33 PDT 2004 State-Changed-Why: This problem has been fixed. Opens on these devices are now exclusive. Thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=63772 From owner-freebsd-bugs@FreeBSD.ORG Sun May 23 17:50:49 2004 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 5828316A4CE for ; Sun, 23 May 2004 17:50:49 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49AB743D41 for ; Sun, 23 May 2004 17:50:49 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i4O0oOre060058 for ; Sun, 23 May 2004 17:50:24 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4O0oOlw060057; Sun, 23 May 2004 17:50:24 -0700 (PDT) (envelope-from gnats) Resent-Date: Sun, 23 May 2004 17:50:24 -0700 (PDT) Resent-Message-Id: <200405240050.i4O0oOlw060057@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, Abbas Karbassian Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AE8C16A4CE for ; Sun, 23 May 2004 17:44:40 -0700 (PDT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0325543D1D for ; Sun, 23 May 2004 17:44:40 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i4O0iDCX000562 for ; Sun, 23 May 2004 17:44:13 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i4O0iDBx000561; Sun, 23 May 2004 17:44:13 -0700 (PDT) (envelope-from nobody) Message-Id: <200405240044.i4O0iDBx000561@www.freebsd.org> Date: Sun, 23 May 2004 17:44:13 -0700 (PDT) From: Abbas Karbassian To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/67106: Fxtv 1.03 cause the Desk top (KDE) to Freeze 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, 24 May 2004 00:50:49 -0000 >Number: 67106 >Category: kern >Synopsis: Fxtv 1.03 cause the Desk top (KDE) to Freeze >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 May 23 17:50:24 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Abbas Karbassian >Release: FreeBsd4.6 >Organization: >Environment: FreeBSD 4.6-RELEASE FreeBSD 4.6-RELEASE #1: Sun May 23 18:22:40 GMT 2004 root@:/usr/src/sys/compile/KERNEL46 i386 >Description: After installing FreeBsd4.6, I tried to configure X using "/stand/sysinstall" menu. I then use "configure" option to go to "FreeBSD Configuration Menu". In the "FreeBsd Configuration Menu", I selected "XFree86" Menu. In the "XFree86 Menu", I selected the "xf86cfg" option. After configuring the XFree86 server and creating a XF86Config in the "/usr/X11R6/lib/X11" directory, the following message displayed on the monitor. -------------Start of Message -------------- User Confimation Requested The XFree86 Configuration Process Seems to have failed. Would you like to try again? Yes No -------------End of Message----------------- After that, I typed "startx" and the simple window manager started without any problem. I then installed KDE, and then typed "startx" and KDE started without any problem. I installed Fxtv application and fxtv starts fine. My Computer mouse is a two button mouse, configured as three button mouse. If i click on the righ hand button, the FXTV will change it's size from small to medium, and if I click again on the right hand button, fxtv will change it size from medium to small without any problem. However if I click the Left hand button, fxtv change it's size to full screen, and you the screen desk top Freezes. No matter what mouse button you click or if you press any key on the keyboard, the display will not respond. The only way out of this situation is to use "Ctrl" "Alt" "BackSpace", to kill the window manager. I have noticed this problem in FreeBsd4.6,4.7,4.8. However this problem did not occure in FreeBsd4.5, and therefore FXTV works fine in FreeBsd4.5 I looked at XF86Config file, and every this seems to be OK. I am sure the above problem is to do with XFree86 4.2 and Xfree86 4.3 and not the Fxtv. This is due to the displayed error message during the X configuration. The above error message is happen with FreeBsd4.7 and 4.8. However if you configure the X using "xf86config" in "/usr/X11R6/bin" directory, or any other methods, you will not see the above error message. According to Realse notes for FreeBsd4.6, you can install XFree86 3.3.6 by adding the following line to "/etc/make.conf" XFREE86_VERSION=3 But there is no such a file i.e. (make.conf) in the "/etc" directory. However there is a file i.e (make.conf) in the (./etc/defaults/) directory. Could you be kind enough to let me know, if I also need to create a make.conf file in the /etc directory or not. I also would be grateful if you could explain how to install, the Xfree86 3.3.6 instaed of Xfree86 4.2, since it is not clear from the release notes. Knowing that I can come back to you and provide you with more information. I also installed FreeBsd4.6 source and binaries only on a new formatted disk using the FreeBsd4.6 CD's. I the tried to install XFree86 3.3.6 using my FreeBsd4.5 CD's using pkg_add. I notice that although pkg_add performed successfully, I did not see any XVGA server in /usr/X11R6/bin. Therefore I could not get the Xserver up and running. As a consequence I could not eliminate if the problem is with FreeBsd4.6 or with XFree86 4.2. --------Start of my XF86Config------------------ Section "ServerLayout" Identifier "XFree86 Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" ModulePath "/usr/X11R6/lib/modules" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" EndSection Section "Module" Load "dbe" Load "dri" Load "extmod" Load "glx" Load "pex5" Load "record" Load "xie" Load "xtrap" Load "speedo" Load "type1" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" Option "XkbRules" "xfree86" Option "XkbModel" "pc101" Option "XkbLayout" "gb" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "MouseSystems" Option "Device" "/dev/sysmouse" Option "Emulate3Buttons" Option "Emulate3Timeout" "50" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" HorizSync 31.5 - 64.0 VertRefresh 50.0 - 100.0 EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional #Option "SWcursor" # [] #Option "HWcursor" # [] #Option "NoAccel" # [] #Option "ShowCache" # [] #Option "ShadowFB" # [] #Option "UseFBDev" # [] #Option "Rotate" # [] #Option "VideoKey" # #Option "FlatPanel" # [] Identifier "Card0" Driver "nv" VendorName "NVidia" BoardName "Riva TNT2 M64" ChipSet "RIVA TNT2 M64" BusID "PCI:1:0:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 1 EndSubSection SubSection "Display" Depth 4 EndSubSection SubSection "Display" Depth 8 EndSubSection SubSection "Display" Depth 15 EndSubSection SubSection "Display" Depth 16 EndSubSection SubSection "Display" Depth 24 Modes "1152x864" EndSubSection EndSection --------End of my XF86Config-------------------- ---------Start of Dmesg-------------------------- # dmesg Copyright (c) 1992-2002 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.6-RELEASE #1: Sun May 23 18:22:40 GMT 2004 root@:/usr/src/sys/compile/KERNEL46 Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (501.14-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x665 Stepping = 5 Features=0x183f9ff real memory = 402587648 (393152K bytes) avail memory = 387956736 (378864K bytes) Preloaded elf kernel "kernel" at 0xc03bc000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 9 entries at 0xc00fde70 apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 9 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xc000-0xc01f irq 10 at device 7.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 chip1: port 0x5000-0x500f at device 7.3 on pci0 pci0: (vendor=0x11c1, dev=0x0458) at 9.0 irq 9 ed0: port 0xcc00-0xcc1f irq 10 at device 11.0 on pci0 ed0: address 00:80:c8:fe:0e:1e, type NE2000 (16 bit) bktr0: mem 0xd9000000-0xd9000fff irq 11 at device 13.0 on pci0 iicbb0: on bti2c0 iicbus0: on iicbb0 master-only iicsmb0: on iicbus0 smbus0: on iicsmb0 smb0: on smbus0 iic0: on iicbus0 iicbus1: on iicbb0 master-only iicsmb1: on iicbus1 smbus1: on iicsmb1 smb1: on smbus1 iic1: on iicbus1 smbus2: on bti2c0 smb2: on smbus2 bktr0: Hauppauge Model 44915 C124 bktr0: Warning - Unknown Hauppauge Tuner 0x18 bktr0: Hauppauge WinCast/TV, Philips NTSC tuner, remote control. pci0: (vendor=0x109e, dev=0x0878) at 13.1 irq 11 pcm0: port 0xd000-0xd03f irq 9 at device 15.0 on pci0 atapci1: port 0xdc00-0xdcff,0xd800-0xd803,0xd400-0xd407 irq 11 at device 19.0 on pci0 ata2: at 0xd400 on atapci1 atapci2: port 0xe800-0xe8ff,0xe400-0xe403,0xe000-0xe007 irq 11 at device 19.1 on pci0 ata3: at 0xe000 on atapci2 orm0:
First, the jmcoopr@webmail.bmi.net e-mail address is dead, please replace with coop9211@uidaho.edu.
 
Second, I've tested the 1520 on a recent -CURRENT and the problem still exists.
 
jmc
 
--Boundary_(ID_BdAvYpRd+bj26x9ZAuBTvw)-- From owner-freebsd-bugs@FreeBSD.ORG Fri May 28 10:01:46 2004 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 8549B16A4CF for ; Fri, 28 May 2004 10:01:46 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B21D43D41 for ; Fri, 28 May 2004 10:01:46 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i4SH0k9M085751 for ; Fri, 28 May 2004 10:00:46 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4SH0kdR085750; Fri, 28 May 2004 10:00:46 -0700 (PDT) (envelope-from gnats) Resent-Date: Fri, 28 May 2004 10:00:46 -0700 (PDT) Resent-Message-Id: <200405281700.i4SH0kdR085750@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 Durian Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63D3B16A4CE for ; Fri, 28 May 2004 09:54:37 -0700 (PDT) Received: from fever.boogie.com (cpe-66-87-52-132.co.sprintbbd.net [66.87.52.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DD1143D41 for ; Fri, 28 May 2004 09:54:36 -0700 (PDT) (envelope-from durian@boogie.com) Received: from man.boogie.com (man.boogie.com [192.168.1.3]) by fever.boogie.com (8.12.11/8.12.11) with ESMTP id i4SGrS0J051460 for ; Fri, 28 May 2004 10:53:28 -0600 (MDT) (envelope-from durian@fever.boogie.com) Received: from man.boogie.com (localhost [127.0.0.1]) by man.boogie.com (8.12.11/8.12.11) with ESMTP id i4SGrR5F000951 for ; Fri, 28 May 2004 10:53:27 -0600 (MDT) (envelope-from durian@man.boogie.com) Received: (from durian@localhost) by man.boogie.com (8.12.11/8.12.10/Submit) id i4SGrRoZ000950; Fri, 28 May 2004 10:53:27 -0600 (MDT) (envelope-from durian) Message-Id: <200405281653.i4SGrRoZ000950@man.boogie.com> Date: Fri, 28 May 2004 10:53:27 -0600 (MDT) From: Mike Durian To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/67301: uftdi, RTS and system panic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Mike Durian List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 May 2004 17:01:46 -0000 >Number: 67301 >Category: kern >Synopsis: uftdi, RTS and system panic >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 28 10:00:46 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Mike Durian >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD man.boogie.com 5.2-CURRENT FreeBSD 5.2-CURRENT #6: Thu May 27 16:56:56 MDT 2004 root@man.boogie.com:/disk2/obj/disk2/src/sys/BOOGIE i386 >Description: I've got two parts to this PR. First, a patch to add support for Intrepid Control Systems' ValueCAN CAN bus interface. It uses a FTDI interface and will look like a ucom device when the attached USB product/vendor patch is applied. The second part is a bug that results in a system panic. When I try to execute the following user code to clear RTS in the ValueCAN device, I get a panic. Here is the code snippet. /* XXX This panics the system */ com_state &= ~TIOCM_RTS; if (ioctl(fd, TIOCMSET, &com_state) == -1) { fprintf(stderr, "ioctl failed: %s\n", strerror(errno)); exit(EXIT_FAILURE); } if (ioctl(fd, TIOCMGET, &com_state) == -1) { fprintf(stderr, "ioctl failed: %s\n", strerror(errno)); exit(EXIT_FAILURE); } I enabled some USB debugging and collected the following data after the crash. I've had to write it down and retype it, so there might be some minor typos, especially with white space. ucomioctl: cmd = 0x8004746d disc_optim: bypass l_rint ucomioctl: our cmd = 0x8004746d ucomioctl: TIOCMSET, 0x3 ucomctl: bits = 0x3, how = 0 ucom_dtr: onoff = 1 uftdi_set: sc=0xc6216400, port=1 reg=1 onoff=1 uftdi_set: reqtype=0x40 req=0x01 value=0x0101 index=0x0001 len=0 ucomreadcb: status = 0 ucomreadcb: got 2 chars, tp = 0xc61e5200 uftdi_read: sc=0xc6216400, port=1 count=2 uftdi_read: status change msr=0xb0(0xf0) lsr=0x60(0x60) uftdi_status: msr=0xb0 lsr=0x60 ucom_status_change: DCD changed to 1 ucomstartread: start ucomctl: bits = 0x2, how = 1 ucom_dtr: onoff = 1 uftdi_set: sc=0xc6216400, port=1 reg=1 onoff=1 uftdi_set: reqtype=0x40 req=0x01 value=0x0101 index=0x0001 len=0 panic: uhci_abort_xfer: not in process context at line 1943 in file /disk2/src/sys/dev/usb/uhci.c Debugger("panic") stopped at Debugger+0x45: xchgl %ebx,in_Debugger.0 Then a trace from the debugger prompt shows: Debugger(c06da6d9) at Debugger+0x45 __panic(c06ce57c,797,c06ce554,c6212000,c6216700) at __panic+0xc7 uhci_abort_xfer(c67dda00,f) at uhci_abort_xfer+0x8d uhci_timeout_task(c67dda00,c61faa50,c0f9bd34,c0526099,0) at uhci_timeout_task+0x28 usb_task_thread(0,e0f9bd48) at usb_task_thread+0xb9 fork_exit(c04f0d34,0,e0f9bd48) at fork_exit+0x71 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xe0f9bd7c, ebp = 0 --- >How-To-Repeat: This problem is reproducable 100% of the time. If I remove the code that clears RTS from my program, I do not get the panic. This is despite having other code that set RTS and clears/sets DTR. It is only clearing RTS that causes the problem. >Fix: No work around, but the following patch does add support to uftdi for the ValueCAN device. --- usbdevs.orig Thu May 20 19:36:48 2004 +++ usbdevs Thu May 27 14:37:43 2004 @@ -316,6 +316,7 @@ vendor BIOMETRIC 0x0929 American Biometric Company vendor TOSHIBA 0x0930 Toshiba Corporation vendor PLEXTOR 0x093b Plextor Corp. +vendor INTREPIDCS 0x093c Intrepid Control Systems vendor YANO 0x094f Yano vendor KINGSTON 0x0951 Kingston Technology vendor BLUEWATER 0x0956 BlueWater Systems @@ -793,6 +794,9 @@ /* Intersil products */ product INTERSIL PRISM_2X 0x3642 Prism2.x or Atmel WLAN + +/* Interpid Control Systems products */ +product INTREPIDCS VALUECAN 0x0601 ValueCAN CAN bus interface /* I/O DATA products */ product IODATA USBETT 0x0901 USB ETT --- uftdi.c.orig Wed Mar 17 18:02:46 2004 +++ uftdi.c Thu May 27 14:38:26 2004 @@ -164,6 +164,14 @@ uaa->product == USB_PRODUCT_FTDI_LK204)) return (UMATCH_VENDOR_PRODUCT); + /* + * The Intrepid Control Systems' ValueCAN CAN interface uses + * the FTDI interface. + */ + if (uaa->vendor == USB_VENDOR_INTREPIDCS && + uaa->product == USB_PRODUCT_INTREPIDCS_VALUECAN) + return (UMATCH_VENDOR_PRODUCT); + return (UMATCH_NONE); } @@ -223,6 +231,7 @@ case USB_PRODUCT_FTDI_MX4_5: case USB_PRODUCT_FTDI_LK202: case USB_PRODUCT_FTDI_LK204: + case USB_PRODUCT_INTREPIDCS_VALUECAN: sc->sc_type = UFTDI_TYPE_8U232AM; sc->sc_hdrlen = 0; break; >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Fri May 28 10:18:57 2004 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 D587B16A4D0; Fri, 28 May 2004 10:18:57 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B38C543D31; Fri, 28 May 2004 10:18:57 -0700 (PDT) (envelope-from eik@FreeBSD.org) Received: from freefall.freebsd.org (eik@localhost [127.0.0.1]) i4SHIE7t090312; Fri, 28 May 2004 10:18:14 -0700 (PDT) (envelope-from eik@freefall.freebsd.org) Received: (from eik@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4SHIEQK090308; Fri, 28 May 2004 10:18:14 -0700 (PDT) (envelope-from eik) Date: Fri, 28 May 2004 10:18:14 -0700 (PDT) From: Oliver Eikemeier Message-Id: <200405281718.i4SHIEQK090308@freefall.freebsd.org> To: eikemeier@fillmore-labs.com, eik@FreeBSD.org, freebsd-bugs@FreeBSD.org, eik@FreeBSD.org Subject: Re: bin/66667: [PATCH] find(1): new primary `-level n' 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, 28 May 2004 17:18:58 -0000 Synopsis: [PATCH] find(1): new primary `-level n' State-Changed-From-To: open->patched State-Changed-By: eik State-Changed-When: Fri May 28 19:17:36 CEST 2004 State-Changed-Why: awaiting MFC Responsible-Changed-From-To: freebsd-bugs->eik Responsible-Changed-By: eik Responsible-Changed-When: Fri May 28 19:17:36 CEST 2004 Responsible-Changed-Why: take http://www.freebsd.org/cgi/query-pr.cgi?pr=66667 From owner-freebsd-bugs@FreeBSD.ORG Fri May 28 13:10:13 2004 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 9E60B16A4CE for ; Fri, 28 May 2004 13:10:13 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 918BC43D48 for ; Fri, 28 May 2004 13:10:13 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i4SKA4JX009649 for ; Fri, 28 May 2004 13:10:04 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4SKA41W009644; Fri, 28 May 2004 13:10:04 -0700 (PDT) (envelope-from gnats) Resent-Date: Fri, 28 May 2004 13:10:04 -0700 (PDT) Resent-Message-Id: <200405282010.i4SKA41W009644@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, Cyrille Lefevre Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55E2716A4CE for ; Fri, 28 May 2004 13:09:46 -0700 (PDT) Received: from ioskeha.hittite.isp.9tel.net (ioskeha.hittite.isp.9tel.net [62.62.156.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9716343D31 for ; Fri, 28 May 2004 13:09:45 -0700 (PDT) (envelope-from cyrille.lefevre@laposte.net) Received: from mail.gits.dyndns.org (unknown [80.119.167.76]) by ioskeha.hittite.isp.9tel.net (Postfix) with ESMTP id 26CC117B521 for ; Fri, 28 May 2004 22:10:24 +0200 (CEST) Received: from gits.gits.fr.invalid (IDENT:pygvb4ypng2cr5tb@localhost [127.0.0.1])i4SK7n6s046964 for ; Fri, 28 May 2004 22:09:06 +0200 (CEST) (envelope-from cyrille.lefevre@laposte.net) Received: by gits.gits.fr.invalid (tmda-sendmail, from uid 0); Fri, 28 May 2004 22:07:42 +0200 (CEST) Message-Id: <20040528200735.GA18621@gits.dyndns.org> Date: Fri, 28 May 2004 22:07:36 +0200 From: Cyrille Lefevre To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/67307: ready to import bootstrap_cmds/decomment from Darwin X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Cyrille Lefevre List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 May 2004 20:10:13 -0000 >Number: 67307 >Category: bin >Synopsis: ready to import bootstrap_cmds/decomment from Darwin >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 May 28 13:10:04 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Cyrille Lefevre >Release: FreeBSD 5.2-CURRENT i386 >Organization: ACME >Environment: System: FreeBSD gits 5.2-CURRENT FreeBSD 5.2-CURRENT #28: Thu May 13 00:19:50 CEST 2004 root@gits:/disk3/freebsd/current/obj/disk3/freebsd/current/src/sys/CUSTOM i386 >Description: decomment strip off C/C++ comments from a file. >How-To-Repeat: n/a >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # usr.bin/decomment/Makefile # usr.bin/decomment/decomment.c # echo x - usr.bin/decomment/Makefile sed 's/^X//' >usr.bin/decomment/Makefile << 'END-of-usr.bin/decomment/Makefile' X# $FreeBSD$ X XPROG= decomment XWARNS?= 6 XNO_MAN= yes X X.include END-of-usr.bin/decomment/Makefile echo x - usr.bin/decomment/decomment.c sed 's/^X//' >usr.bin/decomment/decomment.c << 'END-of-usr.bin/decomment/decomment.c' X/* X * Copyright (c) 1999 Apple Computer, Inc. All rights reserved. X * X * @APPLE_LICENSE_HEADER_START@ X * X * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved. X * X * This file contains Original Code and/or Modifications of Original Code X * as defined in and that are subject to the Apple Public Source License X * Version 2.0 (the 'License'). You may not use this file except in X * compliance with the License. Please obtain a copy of the License at X * http://www.opensource.apple.com/apsl/ and read it before using this X * file. X * X * The Original Code and all software distributed under the License are X * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER X * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, X * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, X * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. X * Please see the License for the specific language governing rights and X * limitations under the License. X * X * @APPLE_LICENSE_HEADER_END@ X */ X/* X * decomment.c X * X * Removes all comments and (optionally) whitespace from an input file. X * Writes result on stdout. X */ X/* X ********************************************************************** X * HISTORY X * 27-May-04 Cyrille Lefevre at laposte.net X * Make it compile under FreeBSD. modifications are __FreeBSD__ #ifdef'ed. X ********************************************************************** X */ X#include X#ifdef __FreeBSD__ X#include X#include X#include X#include X#else X#include X#endif X X/* X * State of input scanner. X */ Xtypedef enum { X IS_NORMAL, X IS_SLASH, // encountered opening '/' X IS_IN_COMMENT, // within / * * / comment X IS_STAR, // encountered closing '*' X IS_IN_END_COMMENT // within / / comment X} input_state_t; X Xstatic volatile void usage(char **argv); X Xint main(int argc, char **argv) X{ X int fd; X char bufchar; X int bytes_read; X input_state_t input_state = IS_NORMAL; X int exit_code = 0; X int remove_whitespace = 0; X int arg; X X if(argc < 2) X usage(argv); X for(arg=2; argRelease-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Fri May 28 13:20:26 2004 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 5CF6116A4CE for ; Fri, 28 May 2004 13:20:26 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D8AE43D2D for ; Fri, 28 May 2004 13:20:26 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i4SKKN7S009999 for ; Fri, 28 May 2004 13:20:23 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4SKKNuT009998; Fri, 28 May 2004 13:20:23 -0700 (PDT) (envelope-from gnats) Resent-Date: Fri, 28 May 2004 13:20:23 -0700 (PDT) Resent-Message-Id: <200405282020.i4SKKNuT009998@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, Cyrille Lefevre Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9546616A4CE for ; Fri, 28 May 2004 13:18:07 -0700 (PDT) Received: from ioskeha.hittite.isp.9tel.net (ioskeha.hittite.isp.9tel.net [62.62.156.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id E29C143D3F for ; Fri, 28 May 2004 13:18:02 -0700 (PDT) (envelope-from cyrille.lefevre@laposte.net) Received: from mail.gits.dyndns.org (unknown [80.119.167.76]) by ioskeha.hittite.isp.9tel.net (Postfix) with ESMTP id 1E04B17B77F for ; Fri, 28 May 2004 22:18:46 +0200 (CEST) Received: from gits.gits.fr.invalid (IDENT:k6wn7o04m9mf81iz@localhost [127.0.0.1])i4SKHCkG022539 for ; Fri, 28 May 2004 22:17:28 +0200 (CEST) (envelope-from cyrille.lefevre@laposte.net) Received: by gits.gits.fr.invalid (tmda-sendmail, from uid 0); Fri, 28 May 2004 22:17:12 +0200 (CEST) Message-Id: <20040528201705.GA83895@gits.dyndns.org> Date: Fri, 28 May 2004 22:17:05 +0200 From: Cyrille Lefevre To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/67308: ready to import bootstrap_cmds/relpath from Darwin X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Cyrille Lefevre List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 May 2004 20:20:26 -0000 >Number: 67308 >Category: bin >Synopsis: ready to import bootstrap_cmds/relpath from Darwin >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 May 28 13:20:23 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Cyrille Lefevre >Release: FreeBSD 5.2-CURRENT i386 >Organization: ACME >Environment: System: FreeBSD gits 5.2-CURRENT FreeBSD 5.2-CURRENT #28: Thu May 13 00:19:50 CEST 2004 root@gits:/disk3/freebsd/current/obj/disk3/freebsd/current/src/sys/CUSTOM i386 >Description: Usage: relpath [-d DIR] START_PATH END_PATH >How-To-Repeat: $ relpath /usr/local/etc/rc.d /tmp ../../../../tmp $ relpath -d /usr /usr/local/etc/rc.d /tmp /tmp >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # usr.bin/relpath/Makefile # usr.bin/relpath/relpath.c # echo x - usr.bin/relpath/Makefile sed 's/^X//' >usr.bin/relpath/Makefile << 'END-of-usr.bin/relpath/Makefile' X# $FreeBSD$ X XPROG= relpath XWARNS?= 6 XNO_MAN= yes X X.include END-of-usr.bin/relpath/Makefile echo x - usr.bin/relpath/relpath.c sed 's/^X//' >usr.bin/relpath/relpath.c << 'END-of-usr.bin/relpath/relpath.c' X/* X * Copyright (c) 1999 Apple Computer, Inc. All rights reserved. X * X * @APPLE_LICENSE_HEADER_START@ X * X * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved. X * X * This file contains Original Code and/or Modifications of Original Code X * as defined in and that are subject to the Apple Public Source License X * Version 2.0 (the 'License'). You may not use this file except in X * compliance with the License. Please obtain a copy of the License at X * http://www.opensource.apple.com/apsl/ and read it before using this X * file. X * X * The Original Code and all software distributed under the License are X * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER X * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, X * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, X * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. X * Please see the License for the specific language governing rights and X * limitations under the License. X * X * @APPLE_LICENSE_HEADER_END@ X */ X/* X * relpath [-d DIR] START_DIR END_PATH X * X * Find a relative path from START_DIR to END_PATH. X * Prints the relative path on standard out. X * X * If -d DIR, then only emit a relative path if both X * START_DIR and END_PATH are sub-directories of DIR; X * otherwise, emit an absolute path to END_PATH. X */ X/* X ********************************************************************** X * HISTORY X * 27-May-04 Cyrille Lefevre for FreeBSD X * Make it compile under FreeBSD. modifications are __FreeBSD__ #ifdef'ed. X ********************************************************************** X */ X#include X#include X#include X#include X#ifdef __FreeBSD__ X#include X#include X#include X#define symlink _symlink X#else X#include X#include X#endif X Xstatic int is_prefix(const char *path1, const char *path2); Xstatic char *abspath(const char *opath, char *absbuf); X Xconst char *progname; X X#ifdef __FreeBSD__ Xint X#else Xvoid X#endif Xmain(int argc, const char * const *argv) X{ X const char *arg; X const char *base_dir = NULL; X char start_path[MAXPATHLEN+1]; X char end_path[MAXPATHLEN+1]; X char base_path[MAXPATHLEN+1]; X struct stat st; X int i; X int last_elem; X int prev_path; X X unsetenv("PWD"); X X progname = (arg = rindex(*argv, '/')) != NULL ? arg + 1 : *argv; X argc -= 1; argv += 1; X X for (; argc > 1 && **argv == '-'; argv += 1, argc -= 1) { X X arg = &(*argv)[1]; X do { X switch (*arg) { X case 'd': X argc -= 1; argv += 1; X if (argc <= 0) { X fprintf(stderr, "%s: -d takes " X "directory name\n", progname); X exit(1); X } X base_dir = *argv; X break; X default: X fprintf(stderr, "%s: Illegal flag: %c\n", X progname, *arg); X exit(1); X } X } while (*++arg); X } X if (argc < 2) { X fprintf(stderr, "Usage: %s [-d DIR] START_PATH END_PATH\n", X progname); X exit(1); X } X (void) abspath(argv[0], start_path); X (void) abspath(argv[1], end_path); X if (base_dir) { X (void) abspath(base_dir, base_path); X if (!is_prefix(base_path, start_path) || X !is_prefix(base_path, end_path)) { X printf("%s\n", end_path); X exit(0); X } X if (stat(base_path, &st) < 0) { X fprintf(stderr, "%s: ", progname); X perror(base_path); X exit(1); X } X if ((st.st_mode & S_IFMT) != S_IFDIR) { X fprintf(stderr, "%s: -d DIR must be directory\n", X progname); X exit(1); X } X } X if (stat(start_path, &st) < 0) { X fprintf(stderr, "%s: ", progname); X perror(start_path); X exit(1); X } X if ((st.st_mode & S_IFMT) != S_IFDIR) { X fprintf(stderr, "%s: START_PATH must be directory\n", X progname); X exit(1); X } X if (start_path[strlen(start_path) - 1] != '/') X strcat(start_path, "/"); X X if (stat(end_path, &st) < 0) { X fprintf(stderr, "%s: ", progname); X perror(end_path); X exit(1); X } X if ((st.st_mode & S_IFMT) == S_IFDIR X && end_path[strlen(end_path) - 1] != '/') X strcat(end_path, "/"); X X /* strip common prefix */ X i = 0; X last_elem = 0; X while (start_path[i] && start_path[i] == end_path[i]) { X if (start_path[i] == '/') X last_elem = i + 1; X i += 1; X } X prev_path = 0; X for (i = last_elem; start_path[i]; i += 1) { X if (start_path[i] == '/') { X if (prev_path) X putchar('/'); X printf("%s", ".."); X prev_path = 1; X } X } X if (end_path[last_elem]) { X if (prev_path) X putchar('/'); X prev_path = 1; X while (end_path[strlen(end_path) - 1] == '/') X end_path[strlen(end_path) - 1] = '\0'; X printf("%s", &end_path[last_elem]); X } X if (! prev_path) X putchar('.'); X putchar('\n'); X#ifdef __FreeBSD__ X return(0); X#else X exit(0); X#endif X} X Xstatic int Xis_prefix(const char *path1, const char *path2) X{ X while (*path1 && *path1 == *path2) { X path1 += 1; X path2 += 1; X } X return (*path1 == '\0' && (*path2 == '/' || *path2 == '\0')); X} X Xstatic char * Xabspath(const char *opath, char *absbuf) X{ X struct stat st; X char curdir[MAXPATHLEN+1]; X char symlink[MAXPATHLEN+1]; X char path[MAXPATHLEN+1]; X char file[MAXPATHLEN+1]; X char *cp; X int cc; X X strcpy(path, opath); X /* X * resolve last element of path until we know it's not X * a symbolic link X */ X while (lstat(path, &st) >= 0 X && (st.st_mode & S_IFMT) == S_IFLNK X && (cc = readlink(path, symlink, sizeof(symlink)-1)) > 0) { X symlink[cc] = '\0'; X if ((cp = rindex(path, '/')) != NULL && symlink[0] != '/') X *++cp = '\0'; X else X path[0] = '\0'; X strcat(path, symlink); X } X /* X * We cheat a little bit here and let getwd() do the X * dirty work of resolving everything before the last X * element of the path X */ X if (getwd(curdir) == NULL) { X fprintf(stderr, "%s: %s\n", progname, curdir); X exit(1); X } X if ((st.st_mode & S_IFMT) == S_IFDIR) { X if (chdir(path) < 0) { X fprintf(stderr, "%s: ", progname); X perror(path); X exit(1); X } X if (getwd(absbuf) == NULL) { X fprintf(stderr, "%s: %s\n", progname, absbuf); X exit(1); X } X if (chdir(curdir) < 0) { X fprintf(stderr, "%s: ", progname); X perror(path); X exit(1); X } X return absbuf; X } X if ((cp = rindex(path, '/')) == NULL) { X /* X * last element of path is only element and it X * now not a symbolic link, so we're done X */ X strcpy(absbuf, curdir); X if (absbuf[strlen(absbuf) - 1] != '/') X strcat(absbuf, "/"); X return strcat(absbuf, path); X } X *cp++ = 0; X strcpy(file, cp); /* save last element */ X X if (chdir(path) < 0) { X fprintf(stderr, "%s: ", progname); X perror(path); X exit(1); X } X if (getwd(absbuf) == NULL) { X fprintf(stderr, "%s: %s\n", progname, absbuf); X exit(1); X } X X if (chdir(curdir) < 0) { X fprintf(stderr, "%s: ", progname); X perror(path); X exit(1); X } X if (absbuf[strlen(absbuf)-1] != '/') X strcat(absbuf, "/"); X return strcat(absbuf, file); X} END-of-usr.bin/relpath/relpath.c exit >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Fri May 28 14:10:34 2004 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 44DF516A4CF for ; Fri, 28 May 2004 14:10:34 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21BFE43D2D for ; Fri, 28 May 2004 14:10:34 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i4SLAHI8015330 for ; Fri, 28 May 2004 14:10:17 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4SLAHO9015329; Fri, 28 May 2004 14:10:17 -0700 (PDT) (envelope-from gnats) Resent-Date: Fri, 28 May 2004 14:10:17 -0700 (PDT) Resent-Message-Id: <200405282110.i4SLAHO9015329@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, Denis Shaposhnikov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86A8916A4CE for ; Fri, 28 May 2004 14:06:50 -0700 (PDT) Received: from wizard.vlink.ru (wizard.vlink.ru [217.107.252.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id A26EE43D54 for ; Fri, 28 May 2004 14:06:43 -0700 (PDT) (envelope-from dsh@wizard.vlink.ru) Received: from wizard.vlink.ru (localhost [127.0.0.1]) by wizard.vlink.ru (8.12.11/8.12.11) with ESMTP id i4TL5bis000833 for ; Sun, 30 May 2004 01:05:37 +0400 (MSD) (envelope-from dsh@wizard.vlink.ru) Received: (from dsh@localhost) by wizard.vlink.ru (8.12.11/8.12.11/Submit) id i4TL4vxn000829; Sun, 30 May 2004 01:04:57 +0400 (MSD) (envelope-from dsh) Message-Id: <200405292104.i4TL4vxn000829@wizard.vlink.ru> Date: Sun, 30 May 2004 01:04:57 +0400 (MSD) From: Denis Shaposhnikov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/67309: zzz reboot computer (ACPI S3) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Denis Shaposhnikov List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 May 2004 21:10:34 -0000 >Number: 67309 >Category: kern >Synopsis: zzz reboot computer (ACPI S3) >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 May 28 14:10:17 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Denis Shaposhnikov >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD wizard.vlink.ru 5.2-CURRENT FreeBSD 5.2-CURRENT #8: Sat May 29 23:40:01 MSD 2004 dsh@wizard.vlink.ru:/var/FreeBSD/src/sys/i386/compile/WIZARD i386 just cvsuped Dell Latitude D505 notebook >Description: My notebook reboot just after zzz >How-To-Repeat: $ sysctl hw.acpi.suspend_state=S3 $ sysctl -a | grep dev | grep wake dev.root0.nexus0.acpi0.acpi_lid0.wake: 0 dev.root0.nexus0.acpi0.acpi_button0.wake: 0 dev.root0.nexus0.acpi0.pcib0.wake: 0 $ zzz >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Fri May 28 14:18:19 2004 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 BDD8316A4CE; Fri, 28 May 2004 14:18:19 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F44343D46; Fri, 28 May 2004 14:18:19 -0700 (PDT) (envelope-from simon@FreeBSD.org) Received: from freefall.freebsd.org (simon@localhost [127.0.0.1]) i4SLIECg015695; Fri, 28 May 2004 14:18:14 -0700 (PDT) (envelope-from simon@freefall.freebsd.org) Received: (from simon@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4SLIEkH015691; Fri, 28 May 2004 14:18:14 -0700 (PDT) (envelope-from simon) Date: Fri, 28 May 2004 14:18:14 -0700 (PDT) From: "Simon L. Nielsen" Message-Id: <200405282118.i4SLIEkH015691@freefall.freebsd.org> To: simon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-acpi@FreeBSD.org Subject: Re: kern/67309: zzz reboot computer (ACPI S3) 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, 28 May 2004 21:18:20 -0000 Synopsis: zzz reboot computer (ACPI S3) Responsible-Changed-From-To: freebsd-bugs->freebsd-acpi Responsible-Changed-By: simon Responsible-Changed-When: Fri May 28 14:17:49 PDT 2004 Responsible-Changed-Why: Over to the ACPI people. http://www.freebsd.org/cgi/query-pr.cgi?pr=67309 From owner-freebsd-bugs@FreeBSD.ORG Fri May 28 19:01:04 2004 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 7ABE216A4CE for ; Fri, 28 May 2004 19:01:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6081143D31 for ; Fri, 28 May 2004 19:01:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i4T20hFf039512 for ; Fri, 28 May 2004 19:00:43 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4T20hn5039511; Fri, 28 May 2004 19:00:43 -0700 (PDT) (envelope-from gnats) Resent-Date: Fri, 28 May 2004 19:00:43 -0700 (PDT) Resent-Message-Id: <200405290200.i4T20hn5039511@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 Conlen Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AAFEF16A4CE for ; Fri, 28 May 2004 18:55:29 -0700 (PDT) Received: from illicit12.candidhosting.com (illicit10.candidhosting.com [65.59.189.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3ABF143D2F for ; Fri, 28 May 2004 18:55:29 -0700 (PDT) (envelope-from root@illicit12.candidhosting.com) Received: from illicit12.candidhosting.com (localhost [127.0.0.1]) i4T1t2r6007537 for ; Fri, 28 May 2004 21:55:02 -0400 (EDT) (envelope-from root@illicit12.candidhosting.com) Received: (from root@localhost)i4T1t1Nd007536; Fri, 28 May 2004 21:55:02 -0400 (EDT) (envelope-from root) Message-Id: <200405290155.i4T1t1Nd007536@illicit12.candidhosting.com> Date: Fri, 28 May 2004 21:55:02 -0400 (EDT) From: Michael Conlen To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/67317: patch to nfsd.c to make it slightly more dynamic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Michael Conlen List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 May 2004 02:01:04 -0000 >Number: 67317 >Category: bin >Synopsis: patch to nfsd.c to make it slightly more dynamic >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri May 28 19:00:43 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Michael Conlen >Release: FreeBSD 5.2.1-RELEASE-p8 i386 >Organization: Obfuscated Networking >Environment: System: FreeBSD host 5.2.1-RELEASE-p8 FreeBSD 5.2.1-RELEASE-p8 #0: Thu May 27 04:36:03 EDT 2004 meconlen@obfuscated.net:/usr/obj/usr/src/sys/NFS i386 >Description: nfsd.c defines a static number of max proceses and creates an array at that size at compile time so that signal handlers can access it easily. Problme is, if you need more procs you need to edit the source and rebuild. I hacked it up so that the variables are not global and the array is not static so you can create as many processes as you want. >How-To-Repeat: to repeat: nfsd -n 21 >Fix: Apply the following patch rebuild and voila nfsd -n * Modified by Michael Conlen May 28, 2004 > * 75a78,80 > > #include > 84d88 < #define MAXNFSDCNT 20 86,87d89 < pid_t children[MAXNFSDCNT]; /* PIDs of children */ < int nfsdcnt; /* number of children */ 91c93 < void killchildren(void); --- > void killchildren(int, ...); 94c96 < void reapchild(int); --- > void reapchild(int, ...); 139a142,143 > pid_t *children; > int nfsdcnt; 159,163d162 < if (nfsdcnt < 1 || nfsdcnt > MAXNFSDCNT) { < warnx("nfsd count %d; reset to %d", nfsdcnt, < DEFNFSDCNT); < nfsdcnt = DEFNFSDCNT; < } 203,207d201 < if (nfsdcnt < 1 || nfsdcnt > MAXNFSDCNT) { < warnx("nfsd count %d; reset to %d", nfsdcnt, < DEFNFSDCNT); < nfsdcnt = DEFNFSDCNT; < } 335a330,339 > > /* allocate children */ > children = calloc(nfsdcnt, sizeof(pid_t)); > if(children == NULL ) { > syslog(LOG_ERR, "malloc: %m"); > nfsd_exit(1); > } > reapchild(0, children, nfsdcnt); > killchildren(0, children, nfsdcnt); > 770,771c774 < reapchild(signo) < int signo; --- > reapchild(int signo, ...) 775a779,791 > va_list argp; > pid_t *children; > int nfsdcnt; > > if(signo == 0) { > va_start(argp, signo); > children = va_arg(argp, pid_t *); > nfsdcnt = va_arg(argp, int); > va_end(argp); > return; > } > > 791,792c807,809 < void < killchildren() --- > /* we need something before the ..., better hack than globals */ > > void killchildren(int signo, ...) 795a813,826 > > va_list argp; > pid_t *children; > int nfsdcnt; > > if(signo == 0) { > va_start(argp, signo); > children = va_arg(argp, pid_t *); > nfsdcnt = va_arg(argp, int); > va_end(argp); > return; > } > > 823c854 < killchildren(); --- > killchildren(0); 842a874 > >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Fri May 28 22:50:31 2004 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 607D016A4CE for ; Fri, 28 May 2004 22:50:31 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 519BC43D53 for ; Fri, 28 May 2004 22:50:31 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i4T5oOxh005981 for ; Fri, 28 May 2004 22:50:24 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4T5oOjp005979; Fri, 28 May 2004 22:50:24 -0700 (PDT) (envelope-from gnats) Resent-Date: Fri, 28 May 2004 22:50:24 -0700 (PDT) Resent-Message-Id: <200405290550.i4T5oOjp005979@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, Gerhard Gonter Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EEA116A4CE for ; Fri, 28 May 2004 22:47:57 -0700 (PDT) Received: from schnurli.wu-wien.ac.at (schnurli.wu-wien.ac.at [137.208.16.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6499643D39 for ; Fri, 28 May 2004 22:47:56 -0700 (PDT) (envelope-from g.gonter@ieee.org) Received: from chuck.iris-net.home (localhost [127.0.0.1]) by chuck.iris-net.home (8.12.11/8.12.11) with ESMTP id i4T4xge7000762; Sat, 29 May 2004 06:59:42 +0200 (CEST) (envelope-from root@chuck.iris-net.home) Received: (from root@localhost) by chuck.iris-net.home (8.12.11/8.12.11/Submit) id i4T4xfaV000761; Sat, 29 May 2004 06:59:41 +0200 (CEST) (envelope-from root) Message-Id: <200405290459.i4T4xfaV000761@chuck.iris-net.home> Date: Sat, 29 May 2004 06:59:41 +0200 (CEST) From: Gerhard Gonter To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: Gerhard Gonter Subject: kern/67326: crash after attempt to mount write protected MSDOS fs X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gerhard Gonter List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 May 2004 05:50:31 -0000 >Number: 67326 >Category: kern >Synopsis: crash after attempt to mount write protected MSDOS fs >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 28 22:50:24 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Gerhard Gonter >Release: FreeBSD 5.2-CURRENT i386 >Organization: none >Environment: System: FreeBSD chuck.iris-net.home 5.2-CURRENT FreeBSD 5.2-CURRENT #42: Fri May 28 22:40:03 CEST 2004 root@chuck.iris-net.home:/usr/obj/usr/src/sys/CHUCK i386 >Description: After attempting to mount a MSDOS file system on a write protected medium, the system crashes after a while. I guess, the crash is triggered actually triggered by the syncer. In this case, this happened when attempting to mount a USB memory stick with write protection enabaled. Below you find info and trace file from the kernel dump as well as the kernel config file. Good dump found on device /dev/ad1s1b Architecture: i386 Architecture version: 1 Dump length: 268369920B (255 MB) Blocksize: 512 Dumptime: Sat May 29 06:30:09 2004 Hostname: chuck.iris-net.home Versionstring: FreeBSD 5.2-CURRENT #42: Fri May 28 22:40:03 CEST 2004 root@chuck.iris-net.home:/usr/obj/usr/src/sys/CHUCK Panicstring: Consumer with zero access count in g_dev_strategy Bounds: 2 chuck# gdb -k /usr/obj/usr/src/sys/CHUCK/kernel.debug vmcore.2 GNU gdb 5.2.1 (FreeBSD) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-undermydesk-freebsd"... panic: Consumer with zero access count in g_dev_strategy panic messages: --- panic: Consumer with zero access count in g_dev_strategy at line 377 in file /usr/src/sys/geom/geom_dev.c Debugger("panic") Dumping 255 MB 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 --- Reading symbols from /usr/obj/usr/src/sys/CHUCK/modules/usr/src/sys/modules/acpi/acpi.ko.debug...done. Loaded symbols for /usr/obj/usr/src/sys/CHUCK/modules/usr/src/sys/modules/acpi/acpi.ko.debug Reading symbols from /usr/obj/usr/src/sys/CHUCK/modules/usr/src/sys/modules/linprocfs/linprocfs.ko.debug...done. Loaded symbols for /usr/obj/usr/src/sys/CHUCK/modules/usr/src/sys/modules/linprocfs/linprocfs.ko.debug Reading symbols from /usr/obj/usr/src/sys/CHUCK/modules/usr/src/sys/modules/linux/linux.ko.debug...done. Loaded symbols for /usr/obj/usr/src/sys/CHUCK/modules/usr/src/sys/modules/linux/linux.ko.debug #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:236 236 dumping++; (kgdb) where #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:236 #1 0xc045c4f2 in db_fncall (dummy1=0, dummy2=0, dummy3=-1064658124, dummy4=0xcd353a50 "\200û\213À\204:5Í\016ÁsÀ\204:5Í{ÁsÀ\220\a") at /usr/src/sys/ddb/db_command.c:551 #2 0xc045c2f8 in db_command (last_cmdp=0xc0855680, cmd_table=0x0, aux_cmd_tablep=0xc07d86e0, aux_cmd_tablep_end=0xc07d86f8) at /usr/src/sys/ddb/db_command.c:348 #3 0xc045c3d8 in db_command_loop () at /usr/src/sys/ddb/db_command.c:475 #4 0xc045eb6d in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_trap.c:73 #5 0xc0742275 in kdb_trap (type=3, code=0, regs=0xcd353b7c) at /usr/src/sys/i386/i386/db_interface.c:159 #6 0xc075050c in trap (frame= {tf_fs = -1065680872, tf_es = -1067515888, tf_ds = 16, tf_edi = 1, tf_esi = -1065684719, tf_ebp = -852149312, tf_isp = -852149336, tf_ebx = 0, tf_edx = 0, tf_ecx = -1056882688, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1066130203, tf_cs = 8, tf_eflags = 642, tf_esp = -852149260, tf_ss = -852149280}) at /usr/src/sys/i386/i386/trap.c:579 #7 0xc07424e5 in Debugger (msg=0xc07b52f4 "panic") at machine/cpufunc.h:56 #8 0xc05de923 in __panic (file=0xc07aef4b "/usr/src/sys/geom/geom_dev.c", line=377, fmt=0xc07af111 "Consumer with zero access count in g_dev_strategy") at /usr/src/sys/kern/kern_shutdown.c:532 #9 0xc05a8c27 in g_dev_strategy (bp=0xc7c08128) at /usr/src/sys/geom/geom_dev.c:397 #10 0xc061ecb8 in dev_strategy (bp=0xc7c08128) at /usr/src/sys/kern/vfs_bio.c:3089 #11 0xc05a728a in spec_xstrategy (vp=0xc2f0430c, bp=0xc7c08128) at /usr/src/sys/fs/specfs/spec_vnops.c:512 #12 0xc05a72f7 in spec_specstrategy (ap=0xcd353c58) at /usr/src/sys/fs/specfs/spec_vnops.c:529 #13 0xc05a666b in spec_vnoperate (ap=0x0) at /usr/src/sys/fs/specfs/spec_vnops.c:118 #14 0xc061b489 in ibwrite (bp=0xc7c08128) at vnode_if.h:1116 #15 0xc061b0b2 in bwrite (bp=0x0) at /usr/src/sys/kern/vfs_bio.c:771 #16 0xc061bba7 in bawrite (bp=0x0) at /usr/src/sys/kern/vfs_bio.c:1162 #17 0xc06238b1 in vop_stdfsync (ap=0xcd353ce0) at /usr/src/sys/kern/vfs_default.c:579 #18 0xc05a7113 in spec_fsync (ap=0xcd353ce0) at /usr/src/sys/fs/specfs/spec_vnops.c:437 #19 0xc05a666b in spec_vnoperate (ap=0x0) at /usr/src/sys/fs/specfs/spec_vnops.c:118 #20 0xc0629fff in sched_sync () at vnode_if.h:627 #21 0xc05cdd98 in fork_exit (callout=0xc0629de8 , arg=0x0, frame=0xcd353d48) at /usr/src/sys/kern/kern_fork.c:816 (kgdb) # # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.386 2003/06/08 02:03:01 jmallett Exp $ machine i386 cpu I486_CPU cpu I586_CPU cpu I686_CPU ident GENERIC #To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" #Default places to look for devices. makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options SCHED_4BSD #4BSD scheduler options INET #InterNETworking options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options SOFTUPDATES #Enable FFS soft updates support options UFS_ACL #Support for access control lists options UFS_DIRHASH #Improve performance on big directories options MD_ROOT #MD is a potential root device options NFSCLIENT #Network Filesystem Client options NFSSERVER #Network Filesystem Server options NFS_ROOT #NFS usable as /, requires NFSCLIENT options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem (requires PSEUDOFS) options PSEUDOFS #Pseudo-filesystem framework options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 #Compatible with FreeBSD4 options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. # Debugging for use in -current options DDB #Enable the kernel debugger options INVARIANTS #Enable calls of extra sanity checking options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS options WITNESS #Enable checks to detect deadlocks and cycles options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed # To make an SMP kernel, the next two are needed #options SMP # Symmetric MultiProcessor Kernel #options APIC_IO # Symmetric (APIC) I/O device isa device eisa device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering # SCSI Controllers device ahb # EISA AHA1742 family device ahc # AHA2940 and onboard AIC7xxx devices device ahd # AHA39320/29320 and onboard AIC79xx devices device amd # AMD 53C974 (Tekram DC-390(T)) device isp # Qlogic family device mpt # LSI-Logic MPT-Fusion #device ncr # NCR/Symbios Logic device sym # NCR/Symbios Logic (newer chipsets + those of `ncr') device trm # Tekram DC395U/UW/F DC315U adapters device adv # Advansys SCSI adapters device adw # Advansys wide SCSI adapters device aha # Adaptec 154x SCSI adapters device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60. device bt # Buslogic/Mylex MultiMaster SCSI adapters device ncv # NCR 53C500 device nsp # Workbit Ninja SCSI-3 device stg # TMC 18C30/18C50 # RAID controllers interfaced to the SCSI subsystem device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID device ciss # Compaq Smart RAID 5* device dpt # DPT Smartcache III, IV - See NOTES for options! device iir # Intel Integrated RAID device mly # Mylex AcceleRAID/eXtremeRAID # SCSI peripherals device scbus # SCSI bus (required for SCSI) device ch # SCSI media changers device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) device ses # SCSI Environmental Services (and SAF-TE) # RAID controllers device aac # Adaptec FSA RAID device aacp # SCSI passthrough for aac (requires CAM) device amr # AMI MegaRAID device ida # Compaq Smart RAID device ips # IBM (Adaptec) ServeRAID device mlx # Mylex DAC960 family device pst # Promise Supertrak SX6000 device twe # 3ware ATA RAID # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device vga # VGA video card driver device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc # Enable this for the pcvt (VT220 compatible) console driver #device vt #options XSERVER # support for X server on a vt console #options FAT_CURSOR # start with block cursor device agp # support several AGP chipsets # Floating point support - do not disable. device npx # Power management support (see NOTES for more options) #device apm # Add suspend/resume support for the i8254. device pmtimer # PCCARD (PCMCIA) support # Pcmcia and cardbus bridge support device cbb # cardbus (yenta) bridge #device pcic # ExCA ISA and PCI bridges device pccard # PC Card (16-bit) bus device cardbus # CardBus (32-bit) bus # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports # Parallel port device ppc device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device #device vpo # Requires scbus and da # PCI Ethernet NICs. device de # DEC/Intel DC21x4x (``Tulip'') device em # Intel PRO/1000 adapter Gigabit Ethernet Card device txp # 3Com 3cR990 (``Typhoon'') device vx # 3Com 3c590, 3c595 (``Vortex'') # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support device dc # DEC/Intel 21143 and various workalikes device fxp # Intel EtherExpress PRO/100B (82557, 82558) device pcn # AMD Am79C97x PCI 10/100 (precedence over 'lnc') device rl # RealTek 8129/8139 device sf # Adaptec AIC-6915 (``Starfire'') device sis # Silicon Integrated Systems SiS 900/SiS 7016 device sk # SysKonnect SK-984x and SK-982x gigabit ethernet device ste # Sundance ST201 (D-Link DFE-550TX) device ti # Alteon Networks Tigon I/II gigabit ethernet device tl # Texas Instruments ThunderLAN device tx # SMC EtherPower II (83c170 ``EPIC'') device vr # VIA Rhine, Rhine II device wb # Winbond W89C840F device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') device bge # Broadcom BCM570xx Gigabit Ethernet # ISA Ethernet NICs. pccard nics included. device cs # Crystal Semiconductor CS89x0 NIC # 'device ed' requires 'device miibus' device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards device ex # Intel EtherExpress Pro/10 and Pro/10+ device ep # Etherlink III based cards device fe # Fujitsu MB8696x based cards device ie # EtherExpress 8/16, 3C507, StarLAN 10 etc. device lnc # NE2100, NE32-VL Lance Ethernet cards device sn # SMC's 9000 series of ethernet chips device xe # Xircom pccard ethernet # ISA devices that use the old ISA shims #device le # Wireless NIC cards device wlan # 802.11 support device an # Aironet 4500/4800 802.11 wireless NICs. device awi # BayStack 660 and others device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. #device wl # Older non 802.11 Wavelan wireless NIC. # Pseudo devices - the number indicates how many units to allocate. device random # Entropy device device loop # Network loopback device ether # Ethernet support device sl # Kernel SLIP device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! device bpf # Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device usb # USB Bus (required) #device udbp # USB Double Bulk Pipe devices device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse device urio # Diamond Rio 500 MP3 player device uscanner # Scanners # USB Ethernet, requires mii device aue # ADMtek USB ethernet device axe # ASIX Electronics USB ethernet device cue # CATC USB ethernet device kue # Kawasaki LSI USB ethernet # FireWire support device firewire # FireWire bus code device sbp # SCSI over FireWire (Requires scbus and da) device fwe # Ethernet over FireWire (non-standard!) # options EXT2FS # device atapicam >How-To-Repeat: See description. chuck# dmesg | tail umass1: PNY USB Disk, rev 1.10/1.00, addr 3 da4 at umass-sim1 bus 1 target 0 lun 0 da4: < USB DISK 2.0D> Removable Direct Access SCSI-0 device da4: 1.000MB/s transfers da4: 124MB (253952 512 byte sectors: 64H 32S/T 124C) chuck# mount -t msdos /dev/da4s1 /mnt msdosfs: /dev/da4s1: Permission denied chuck# ... wait for a while ... >Fix: None. Mounting the FS mit -o ro does not cause the crash. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Fri May 28 23:50:40 2004 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 0D05616A4CE for ; Fri, 28 May 2004 23:50:40 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC5B443D4C for ; Fri, 28 May 2004 23:50:39 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i4T6oR2s011145 for ; Fri, 28 May 2004 23:50:28 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4T6oRHw011144; Fri, 28 May 2004 23:50:27 -0700 (PDT) (envelope-from gnats) Resent-Date: Fri, 28 May 2004 23:50:27 -0700 (PDT) Resent-Message-Id: <200405290650.i4T6oRHw011144@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, Paul Reece Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D28D16A4DB for ; Fri, 28 May 2004 23:44:14 -0700 (PDT) Received: from agent-57.fastlane.net.au (agent-57.fastlane.net.au [203.15.140.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3108943E58 for ; Fri, 28 May 2004 23:14:47 -0700 (PDT) (envelope-from paul@agent-57.fastlane.net.au) Received: from agent-57.fastlane.net.au (localhost [127.0.0.1]) i4T6EEMR000605 for ; Sat, 29 May 2004 14:14:15 +0800 (WST) (envelope-from paul@agent-57.fastlane.net.au) Received: (from paul@localhost)i4T6EAQM000604; Sat, 29 May 2004 14:14:11 +0800 (WST) (envelope-from paul) Message-Id: <200405290614.i4T6EAQM000604@agent-57.fastlane.net.au> Date: Sat, 29 May 2004 14:14:11 +0800 (WST) From: Paul Reece To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: conf/67328: Usermode PPP hangs on boot when NIS configured X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Paul Reece List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 May 2004 06:50:40 -0000 >Number: 67328 >Category: conf >Synopsis: Usermode PPP hangs on boot when NIS configured >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 28 23:50:27 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Paul Reece >Release: FreeBSD 4.10-STABLE i386 >Organization: >Environment: System: FreeBSD agent-57.fastlane.net.au 4.10-STABLE FreeBSD 4.10-STABLE #0: Sat May 29 01:42:39 WST 2004 paul@agent-57.fastlane.net.au:/u1/home/obj/usr/src/sys/AGENT57 i386 >Description: Machine configured with NIS server/client and UserMode PPP (for PPPoE). Startup hangs when PPP is started during boot. Problem also apparent in earlier versions. >How-To-Repeat: Configure machine to use NIS and Usermode PPP on startup. see: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nis.html and http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pppoe.html >Fix: in /etc/rc.network where usermode ppp is started: su -m ${ppp_user} -c "exec ${ppp_command}" 'su' is hanging as NIS has not yet been started. NIS needs to be started prior to any use of 'su' in rc files. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Sat May 29 00:10:52 2004 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 9046616A4CE for ; Sat, 29 May 2004 00:10:52 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72EED43D1D for ; Sat, 29 May 2004 00:10:52 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i4T7A9ks016897 for ; Sat, 29 May 2004 00:10:09 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4T7A9xW016896; Sat, 29 May 2004 00:10:09 -0700 (PDT) (envelope-from gnats) Date: Sat, 29 May 2004 00:10:09 -0700 (PDT) Message-Id: <200405290710.i4T7A9xW016896@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Michael Conlen Subject: Re: bin/67317: patch to nfsd.c to make it slightly more dynamic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Michael Conlen List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 May 2004 07:10:52 -0000 The following reply was made to PR bin/67317; it has been noted by GNATS. From: Michael Conlen To: freebsd-gnats-submit@FreeBSD.org, meconlen@obfuscated.net Cc: Subject: Re: bin/67317: patch to nfsd.c to make it slightly more dynamic Date: Sat, 29 May 2004 03:01:13 -0400 Proper diffs. Forgot that the variables in the functions should be static, not sure how to test that properly, but I'd suspect a system might act funny when you tried to kill nfsd with the previous patch, until it segfaulted. This is the first C code I've done in six months, so look over it, though it seems to work fine on a system doing lots of volume. Cheers. 7a8,9 > * Modified by Michael Conlen May 28, 2004 > * 75a78,80 > > #include > 84d88 < #define MAXNFSDCNT 20 86,87d89 < pid_t children[MAXNFSDCNT]; /* PIDs of children */ < int nfsdcnt; /* number of children */ 91c93 < void killchildren(void); --- > void killchildren(int, ...); 94c96 < void reapchild(int); --- > void reapchild(int, ...); 139a142,143 > pid_t *children; > int nfsdcnt; 159,163d162 < if (nfsdcnt < 1 || nfsdcnt > MAXNFSDCNT) { < warnx("nfsd count %d; reset to %d", nfsdcnt, < DEFNFSDCNT); < nfsdcnt = DEFNFSDCNT; < } 203,207d201 < if (nfsdcnt < 1 || nfsdcnt > MAXNFSDCNT) { < warnx("nfsd count %d; reset to %d", nfsdcnt, < DEFNFSDCNT); < nfsdcnt = DEFNFSDCNT; < } 335a330,339 > > /* allocate children */ > children = calloc(nfsdcnt, sizeof(pid_t)); > if(children == NULL ) { > syslog(LOG_ERR, "malloc: %m"); > nfsd_exit(1); > } > reapchild(0, children, nfsdcnt); > killchildren(0, children, nfsdcnt); > 770,771c774 < reapchild(signo) < int signo; --- > reapchild(int signo, ...) 775a779,791 > va_list argp; > pid_t *children; > int nfsdcnt; > > if(signo == 0) { > va_start(argp, signo); > children = va_arg(argp, pid_t *); > nfsdcnt = va_arg(argp, int); > va_end(argp); > return; > } > > 791,792c807,809 < void < killchildren() --- > /* we need something before the ..., better hack than globals */ > > void killchildren(int signo, ...) 795a813,826 > > va_list argp; > pid_t *children; > int nfsdcnt; > > if(signo == 0) { > va_start(argp, signo); > children = va_arg(argp, pid_t *); > nfsdcnt = va_arg(argp, int); > va_end(argp); > return; > } > > 823c854 < killchildren(); --- > killchildren(0); 842a874 > From owner-freebsd-bugs@FreeBSD.ORG Sat May 29 00:22:21 2004 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 4D76916A4CE; Sat, 29 May 2004 00:22:21 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EFBB43D2F; Sat, 29 May 2004 00:22:21 -0700 (PDT) (envelope-from maxim@FreeBSD.org) Received: from freefall.freebsd.org (maxim@localhost [127.0.0.1]) i4T7LhPj017765; Sat, 29 May 2004 00:21:43 -0700 (PDT) (envelope-from maxim@freefall.freebsd.org) Received: (from maxim@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4T7LhTg017761; Sat, 29 May 2004 00:21:43 -0700 (PDT) (envelope-from maxim) Date: Sat, 29 May 2004 00:21:43 -0700 (PDT) From: Maxim Konovalov Message-Id: <200405290721.i4T7LhTg017761@freefall.freebsd.org> To: olli@secnetix.de, maxim@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/47586: [PATCH] fix information-leak (mounts) in jail(2) 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, 29 May 2004 07:22:21 -0000 Synopsis: [PATCH] fix information-leak (mounts) in jail(2) State-Changed-From-To: open->closed State-Changed-By: maxim State-Changed-When: Sat May 29 00:20:49 PDT 2004 State-Changed-Why: We do have security.jail.getfsstate_getfsstatroot_only sysctl in -CURRENT now. http://www.freebsd.org/cgi/query-pr.cgi?pr=47586 From owner-freebsd-bugs@FreeBSD.ORG Sat May 29 00:28:37 2004 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 B63E116A4CE; Sat, 29 May 2004 00:28:37 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9613B43D1F; Sat, 29 May 2004 00:28:37 -0700 (PDT) (envelope-from maxim@FreeBSD.org) Received: from freefall.freebsd.org (maxim@localhost [127.0.0.1]) i4T7SHT2017885; Sat, 29 May 2004 00:28:17 -0700 (PDT) (envelope-from maxim@freefall.freebsd.org) Received: (from maxim@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4T7SH7F017881; Sat, 29 May 2004 00:28:17 -0700 (PDT) (envelope-from maxim) Date: Sat, 29 May 2004 00:28:17 -0700 (PDT) From: Maxim Konovalov Message-Id: <200405290728.i4T7SH7F017881@freefall.freebsd.org> To: bzeeb+freebsd@zabbadoz.net, maxim@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/49085: jail statfs and mountpoint information leak fix 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, 29 May 2004 07:28:37 -0000 Synopsis: jail statfs and mountpoint information leak fix State-Changed-From-To: open->closed State-Changed-By: maxim State-Changed-When: Sat May 29 00:27:37 PDT 2004 State-Changed-Why: There is security.jail.getfsstate_getfsstatroot_only sysctl in -CURRENT now. http://www.freebsd.org/cgi/query-pr.cgi?pr=49085 From owner-freebsd-bugs@FreeBSD.ORG Sat May 29 03:10:36 2004 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 82F1A16A4CE for ; Sat, 29 May 2004 03:10:36 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6134443D4C for ; Sat, 29 May 2004 03:10:36 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i4TAAQVs033748 for ; Sat, 29 May 2004 03:10:26 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4TAAQII033741; Sat, 29 May 2004 03:10:26 -0700 (PDT) (envelope-from gnats) Resent-Date: Sat, 29 May 2004 03:10:26 -0700 (PDT) Resent-Message-Id: <200405291010.i4TAAQII033741@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, Holger Kipp Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8AA5216A4D0 for ; Sat, 29 May 2004 03:06:53 -0700 (PDT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7549A43D46 for ; Sat, 29 May 2004 03:06:53 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i4TA6Wti027251 for ; Sat, 29 May 2004 03:06:32 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i4TA6WPl027250; Sat, 29 May 2004 03:06:32 -0700 (PDT) (envelope-from nobody) Message-Id: <200405291006.i4TA6WPl027250@www.freebsd.org> Date: Sat, 29 May 2004 03:06:32 -0700 (PDT) From: Holger Kipp To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: bin/67334: mount_cd9660 gives dscheck: negative b_blkno, Invalid argument 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, 29 May 2004 10:10:36 -0000 >Number: 67334 >Category: bin >Synopsis: mount_cd9660 gives dscheck: negative b_blkno, Invalid argument >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: Sat May 29 03:10:26 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Holger Kipp >Release: 4.10-PRERELEASE >Organization: >Environment: FreeBSD katrin 4.10-PRERELEASE FreeBSD 4.10-PRERELEASE #43: Sun May 16 04:01:28 CEST 2004 root@katrin:/usr/obj/usr/src/sys/KATRIN i386 >Description: Mounting of some specific DVDs does not work: a) via atapicam: # mount_cd9660 /dev/cd1c /cdrom dscheck(#cd/10): negative b_blkno -786372 mount_cd9660: /dev/cd1c: Invalid argument b) # mount_cd9660 /dev/acd1c /cdrom mount_cd9660: /dev/acd1c: Infalid argument with -v I get: katrin# mount_cd9660 -v /dev/acd1c /mnt using starting sector -196609 This is what cdcontrol had to say: katrin# cdcontrol -f /dev/acd1c Compact Disc Control utility, version 2.0 Type `?' for command list cdcontrol> info Starting track = 1, ending track = 2, TOC size = 26 bytes track start duration block length type --------------------------------------------------- 1 0:02.00 100:34.57 0 452607 data 2 100:36.57 151:59.12 452607 683937 data 170 252:35.69 - 1136544 - - cdcontrol> quit Of course 'it works under windows', and the DVD has no read-errors as I can copy it with growisofs -dvd-compat -Z /dev/cd1c=/dev/acd0c without problems and then can't mount the copy under FBSD either. >How-To-Repeat: Get a suitable DVD and try to mount it. It looks like http://freebsdaddicts.org/modules.php?name=Forums&file=viewtopic&p=600 is related. >Fix: For me, mount_cd9660 -v -s 0 /dev/acd1c /mnt seemed to work. At least browsing through directories and accessing some files works. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Fri May 28 11:05:18 2004 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 D1A5616A4CE for ; Fri, 28 May 2004 11:05:18 -0700 (PDT) Received: from marvin.muc.de (marvin.muc.de [193.149.48.2]) by mx1.FreeBSD.org (Postfix) with SMTP id CE68143D3F for ; Fri, 28 May 2004 11:05:17 -0700 (PDT) (envelope-from 520006251756-0001@t-online.de) Received: (qmail 11451 invoked by alias); 28 May 2004 18:04:03 -0000 Delivered-To: mods-muc-lists-freebsd-bugs@moderators.muc.de Received: (qmail 11443 invoked from network); 28 May 2004 18:04:03 -0000 Received: from mailout07.sul.t-online.com (194.25.134.83) by marvin.muc.de with SMTP; 28 May 2004 18:04:03 -0000 Received: from imh00.t-online.com by mailout07.sul.t-online.com with esmtp id 1BTli6-0001bB-00; Fri, 28 May 2004 20:04:02 +0200 Received: from news.t-online.com by imh00.t-online.com with esmtp id 1BTli5-0005wO-00; Fri, 28 May 2004 20:04:01 +0200 Received: from news by news.t-online.com with local id 1BTli5-0002WI-00; Fri, 28 May 2004 20:04:01 +0200 To: muc-lists-freebsd-bugs@moderators.muc.de Path: news.t-online.com!not-for-mail From: Tom Hummel Newsgroups: muc.lists.freebsd.bugs Date: Fri, 28 May 2004 20:08:34 +0200 Organization: T-Online Lines: 2 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 1085767440 02 9679 ZljzGVq6oDJBZfB 040528 18:04:00 X-Complaints-To: usenet-abuse@t-online.de X-ID: XRTcKqZAZeqxBTJjQqtm894UzQ4vKQO9oyMRvPxKKjniX-KLYj95Yp User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux)) X-Mailman-Approved-At: Sat, 29 May 2004 04:42:04 -0700 Subject: Re: *BSD slows down linux via vmwarekernelmodules 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, 28 May 2004 18:05:19 -0000 tested the same today with Fbsd 5.1 and fbsd 5.2.1 same thing... From owner-freebsd-bugs@FreeBSD.ORG Sat May 29 09:05:50 2004 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 E343116A4CE; Sat, 29 May 2004 09:05:50 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C375743D49; Sat, 29 May 2004 09:05:50 -0700 (PDT) (envelope-from iedowse@FreeBSD.org) Received: from freefall.freebsd.org (iedowse@localhost [127.0.0.1]) i4TG4kvB065919; Sat, 29 May 2004 09:04:46 -0700 (PDT) (envelope-from iedowse@freefall.freebsd.org) Received: (from iedowse@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4TG4jic065915; Sat, 29 May 2004 09:04:45 -0700 (PDT) (envelope-from iedowse) Date: Sat, 29 May 2004 09:04:45 -0700 (PDT) From: Ian Dowse Message-Id: <200405291604.i4TG4jic065915@freefall.freebsd.org> To: hiroki.mori@jcom.home.ne.jp, iedowse@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: misc/61345: rue driver mbuf flag is bad 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, 29 May 2004 16:05:51 -0000 Synopsis: rue driver mbuf flag is bad State-Changed-From-To: open->closed State-Changed-By: iedowse State-Changed-When: Sat May 29 09:02:38 PDT 2004 State-Changed-Why: This was fixed in revision 1.10 of if_rue.c. Sorry, I didn't see your PR at the time. http://www.freebsd.org/cgi/query-pr.cgi?pr=61345 From owner-freebsd-bugs@FreeBSD.ORG Sat May 29 12:00:51 2004 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 5754E16A51B; Sat, 29 May 2004 12:00:51 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3657843D2F; Sat, 29 May 2004 12:00:51 -0700 (PDT) (envelope-from maxim@FreeBSD.org) Received: from freefall.freebsd.org (maxim@localhost [127.0.0.1]) i4TJ0BJk005326; Sat, 29 May 2004 12:00:11 -0700 (PDT) (envelope-from maxim@freefall.freebsd.org) Received: (from maxim@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4TJ0ACm005322; Sat, 29 May 2004 12:00:10 -0700 (PDT) (envelope-from maxim) Date: Sat, 29 May 2004 12:00:10 -0700 (PDT) From: Maxim Konovalov Message-Id: <200405291900.i4TJ0ACm005322@freefall.freebsd.org> To: jails@oldach.net, maxim@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: conf/37611: proposed /etc/rc.jails for jail(8) management (with 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, 29 May 2004 19:00:51 -0000 Synopsis: proposed /etc/rc.jails for jail(8) management (with patch) State-Changed-From-To: open->closed State-Changed-By: maxim State-Changed-When: Sat May 29 11:57:08 PDT 2004 State-Changed-Why: There is a very similar infrastructure in -CURRENT now: /etc/rc.d/jail /etc/defaults/rc.conf http://www.freebsd.org/cgi/query-pr.cgi?pr=37611 From owner-freebsd-bugs@FreeBSD.ORG Sat May 29 12:26:57 2004 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 4EE3A16A4CE; Sat, 29 May 2004 12:26:57 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DC4A43D3F; Sat, 29 May 2004 12:26:57 -0700 (PDT) (envelope-from maxim@FreeBSD.org) Received: from freefall.freebsd.org (maxim@localhost [127.0.0.1]) i4TJQbFX014088; Sat, 29 May 2004 12:26:37 -0700 (PDT) (envelope-from maxim@freefall.freebsd.org) Received: (from maxim@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4TJQbr6014084; Sat, 29 May 2004 12:26:37 -0700 (PDT) (envelope-from maxim) Date: Sat, 29 May 2004 12:26:37 -0700 (PDT) From: Maxim Konovalov Message-Id: <200405291926.i4TJQbr6014084@freefall.freebsd.org> To: openhalo@openhalo.net, maxim@FreeBSD.org, freebsd-bugs@FreeBSD.org, maxim@FreeBSD.org Subject: Re: kern/66319: ipfw count rule disabling new connections 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, 29 May 2004 19:26:57 -0000 Synopsis: ipfw count rule disabling new connections State-Changed-From-To: open->closed State-Changed-By: maxim State-Changed-When: Sat May 29 12:25:02 PDT 2004 State-Changed-Why: Feedback timeout. Responsible-Changed-From-To: freebsd-bugs->maxim Responsible-Changed-By: maxim Responsible-Changed-When: Sat May 29 12:25:02 PDT 2004 Responsible-Changed-Why: Followups trap. http://www.freebsd.org/cgi/query-pr.cgi?pr=66319 From owner-freebsd-bugs@FreeBSD.ORG Sat May 29 14:01:05 2004 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 9321016A4CE for ; Sat, 29 May 2004 14:01:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8226D43D41 for ; Sat, 29 May 2004 14:01:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i4TL0lJx020852 for ; Sat, 29 May 2004 14:00:47 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4TL0lu8020835; Sat, 29 May 2004 14:00:47 -0700 (PDT) (envelope-from gnats) Resent-Date: Sat, 29 May 2004 14:00:47 -0700 (PDT) Resent-Message-Id: <200405292100.i4TL0lu8020835@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 Durian Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22A7E16A4CE for ; Sat, 29 May 2004 13:50:52 -0700 (PDT) Received: from fever.boogie.com (cpe-66-87-52-132.co.sprintbbd.net [66.87.52.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5635443D41 for ; Sat, 29 May 2004 13:50:51 -0700 (PDT) (envelope-from durian@boogie.com) Received: from man.boogie.com (man.boogie.com [192.168.1.3]) by fever.boogie.com (8.12.11/8.12.11) with ESMTP id i4TKoZwT071935 for ; Sat, 29 May 2004 14:50:35 -0600 (MDT) (envelope-from durian@fever.boogie.com) Received: from man.boogie.com (localhost [127.0.0.1]) by man.boogie.com (8.12.11/8.12.11) with ESMTP id i4TKoYSD001323 for ; Sat, 29 May 2004 14:50:34 -0600 (MDT) (envelope-from durian@man.boogie.com) Received: (from durian@localhost) by man.boogie.com (8.12.11/8.12.11/Submit) id i4TKoY8G001322; Sat, 29 May 2004 14:50:34 -0600 (MDT) (envelope-from durian) Message-Id: <200405292050.i4TKoY8G001322@man.boogie.com> Date: Sat, 29 May 2004 14:50:34 -0600 (MDT) From: Mike Durian To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/67357: Patch for uftdi to support Intrepidcs.com's vehicle bus interfaces X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Mike Durian List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 May 2004 21:01:05 -0000 >Number: 67357 >Category: kern >Synopsis: Patch for uftdi to support Intrepidcs.com's vehicle bus interfaces >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: Sat May 29 14:00:47 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Mike Durian >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD man.boogie.com 5.2-CURRENT FreeBSD 5.2-CURRENT #6: Thu May 27 16:56:56 MDT 2004 root@man.boogie.com:/disk2/obj/disk2/src/sys/BOOGIE i386 >Description: This patch adds support to the uftdi driver for Intrepid Control Systems' vehicle bus interfaces. These interfaces use the FTDI chipset with different Vendor and Product IDs. I also addd two additional baud rate enumerations. The vehicle bus interfaces use a baud rate of 2000000. I also added 3000000 since it is the other FTDI baud divisor special case. A better fix would be to calculate the divisors on the fly for any arbitrary baud rate (+ the two 2M and 3M special cases). >How-To-Repeat: >Fix: --- usbdevs.orig Thu May 20 19:36:48 2004 +++ usbdevs Sat May 29 14:42:55 2004 @@ -316,6 +316,7 @@ vendor BIOMETRIC 0x0929 American Biometric Company vendor TOSHIBA 0x0930 Toshiba Corporation vendor PLEXTOR 0x093b Plextor Corp. +vendor INTREPIDCS 0x093c Intrepid Control Systems vendor YANO 0x094f Yano vendor KINGSTON 0x0951 Kingston Technology vendor BLUEWATER 0x0956 BlueWater Systems @@ -793,6 +794,10 @@ /* Intersil products */ product INTERSIL PRISM_2X 0x3642 Prism2.x or Atmel WLAN + +/* Interpid Control Systems products */ +product INTREPIDCS VALUECAN 0x0601 ValueCAN CAN bus interface +product INTREPIDCS NEOVI 0x0701 NeoVI Blue vehicle bus interface /* I/O DATA products */ product IODATA USBETT 0x0901 USB ETT --- uftdi.c.orig Wed Mar 17 18:02:46 2004 +++ uftdi.c Sat May 29 14:44:21 2004 @@ -164,6 +164,15 @@ uaa->product == USB_PRODUCT_FTDI_LK204)) return (UMATCH_VENDOR_PRODUCT); + /* + * The Intrepid Control Systems' ValueCAN and NeoVI vehicle + * bus interfaces use the FTDI interface. + */ + if (uaa->vendor == USB_VENDOR_INTREPIDCS && + (uaa->product == USB_PRODUCT_INTREPIDCS_VALUECAN || + uaa->product == USB_PRODUCT_INTREPIDCS_NEOVI)) + return (UMATCH_VENDOR_PRODUCT); + return (UMATCH_NONE); } @@ -223,6 +232,8 @@ case USB_PRODUCT_FTDI_MX4_5: case USB_PRODUCT_FTDI_LK202: case USB_PRODUCT_FTDI_LK204: + case USB_PRODUCT_INTREPIDCS_VALUECAN: + case USB_PRODUCT_INTREPIDCS_NEOVI: sc->sc_type = UFTDI_TYPE_8U232AM; sc->sc_hdrlen = 0; break; @@ -499,6 +510,8 @@ case 230400: rate = ftdi_8u232am_b230400; break; case 460800: rate = ftdi_8u232am_b460800; break; case 921600: rate = ftdi_8u232am_b921600; break; + case 2000000: rate = ftdi_8u232am_b2000000; break; + case 3000000: rate = ftdi_8u232am_b3000000; break; default: return (EINVAL); } --- uftdireg.h.orig Sat May 29 09:55:02 2004 +++ uftdireg.h Sat May 29 09:56:20 2004 @@ -104,7 +104,9 @@ ftdi_8u232am_b115200 = 0x001a, ftdi_8u232am_b230400 = 0x000d, ftdi_8u232am_b460800 = 0x4006, - ftdi_8u232am_b921600 = 0x8003 + ftdi_8u232am_b921600 = 0x8003, + ftdi_8u232am_b2000000 = 0x0001, /* special case for 2M baud */ + ftdi_8u232am_b3000000 = 0x0000 /* special case for 3M baud */ }; /* >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Sat May 29 14:20:27 2004 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 AA1A416A4CE for ; Sat, 29 May 2004 14:20:27 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B37843D48 for ; Sat, 29 May 2004 14:20:27 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i4TLKQwq025214 for ; Sat, 29 May 2004 14:20:26 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4TLKNrx025213; Sat, 29 May 2004 14:20:23 -0700 (PDT) (envelope-from gnats) Date: Sat, 29 May 2004 14:20:23 -0700 (PDT) Message-Id: <200405292120.i4TLKNrx025213@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Mike Durian Subject: Re: kern/67301: uftdi, RTS and system panic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Mike Durian List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 May 2004 21:20:27 -0000 The following reply was made to PR kern/67301; it has been noted by GNATS. From: Mike Durian To: freebsd-gnats-submit@FreeBSD.org, durian@shadetreesoftware.com Cc: Subject: Re: kern/67301: uftdi, RTS and system panic Date: Sat, 29 May 2004 15:14:16 -0600 I hope this makes it into GNATS. Please see PR#67357 for a more complete patch to add support to uftdi(4) for two Intrepid Control Systems vehicle bus interfaces. Support for selecting a 2000000 baud rate is also included (as these devices require that baud rate). mike From owner-freebsd-bugs@FreeBSD.ORG Sat May 29 16:30:38 2004 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 BE0D316A4CE for ; Sat, 29 May 2004 16:30:38 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B4EC43D39 for ; Sat, 29 May 2004 16:30:38 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i4TNUSeK036687 for ; Sat, 29 May 2004 16:30:28 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4TNUSTm036671; Sat, 29 May 2004 16:30:28 -0700 (PDT) (envelope-from gnats) Resent-Date: Sat, 29 May 2004 16:30:28 -0700 (PDT) Resent-Message-Id: <200405292330.i4TNUSTm036671@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, Ted Unangst Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B79FB16A4CE for ; Sat, 29 May 2004 16:26:37 -0700 (PDT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF6C743D5A for ; Sat, 29 May 2004 16:26:37 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i4TNQbR6060154 for ; Sat, 29 May 2004 16:26:37 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i4TNQbLv060153; Sat, 29 May 2004 16:26:37 -0700 (PDT) (envelope-from nobody) Message-Id: <200405292326.i4TNQbLv060153@www.freebsd.org> Date: Sat, 29 May 2004 16:26:37 -0700 (PDT) From: Ted Unangst To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: misc/67358: fsx has uncertain license 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, 29 May 2004 23:30:38 -0000 >Number: 67358 >Category: misc >Synopsis: fsx has uncertain license >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sat May 29 16:30:27 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Ted Unangst >Release: 5.0 >Organization: >Environment: >Description: fsx.c (http://www.freebsd.org/cgi/cvsweb.cgi/src/tools/regression/fsx/fsx.c) is licensed as follows: " * The contents of this file constitute Original Code as defined in and * are subject to the Apple Public Source License Version 1.2 (the * "License"). You may not use this file except in compliance with the * License. Please obtain a copy of the License at * http://www.apple.com/publicsource and read it before using this file." ASPL 1.2 is no longer available at that website, so I have no idea what the licensing terms are. It's also quite annoying to have to browse to another website to find the license of a file. >How-To-Repeat: >Fix: Embed the license in the file. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Sat May 29 18:30:21 2004 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 0216A16A4CF for ; Sat, 29 May 2004 18:30:21 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECDF643D3F for ; Sat, 29 May 2004 18:30:20 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i4U1UKYU048332 for ; Sat, 29 May 2004 18:30:20 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4U1UKr9048329; Sat, 29 May 2004 18:30:20 -0700 (PDT) (envelope-from gnats) Resent-Date: Sat, 29 May 2004 18:30:20 -0700 (PDT) Resent-Message-Id: <200405300130.i4U1UKr9048329@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, "Pedro F. Giffuni" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDA2116A4CE for ; Sat, 29 May 2004 18:28:18 -0700 (PDT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id C028743D1D for ; Sat, 29 May 2004 18:28:18 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i4U1SIsr003535 for ; Sat, 29 May 2004 18:28:18 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i4U1SIeI003534; Sat, 29 May 2004 18:28:18 -0700 (PDT) (envelope-from nobody) Message-Id: <200405300128.i4U1SIeI003534@www.freebsd.org> Date: Sat, 29 May 2004 18:28:18 -0700 (PDT) From: "Pedro F. Giffuni" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: misc/67365: sysinstall doesn'r find latinamerican keymap 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: Sun, 30 May 2004 01:30:21 -0000 >Number: 67365 >Category: misc >Synopsis: sysinstall doesn'r find latinamerican keymap >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat May 29 18:30:20 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Pedro F. Giffuni >Release: 5.2.1 - Release >Organization: >Environment: >Description: lat-amer.kbd was replaced by latinamerican.kbd and latinamerican.iso.kbd, however sysinstall hasn't been informed about it and set a wrong value in rc.conf. >How-To-Repeat: Attempt to install the latinamerican keyboard option using sysinstall. >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Sat May 29 18:55:21 2004 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 7930816A4D1; Sat, 29 May 2004 18:55:21 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B4B043D45; Sat, 29 May 2004 18:55:21 -0700 (PDT) (envelope-from sanpei@FreeBSD.org) Received: from freefall.freebsd.org (sanpei@localhost [127.0.0.1]) i4U1t5tO048992; Sat, 29 May 2004 18:55:05 -0700 (PDT) (envelope-from sanpei@freefall.freebsd.org) Received: (from sanpei@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4U1t5D1048988; Sat, 29 May 2004 18:55:05 -0700 (PDT) (envelope-from sanpei) Date: Sat, 29 May 2004 18:55:05 -0700 (PDT) From: MIHIRA Sanpei Yoshiro Message-Id: <200405300155.i4U1t5D1048988@freefall.freebsd.org> To: jau.at.iki.fi@FreeBSD.org, sanpei@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/66948: Additional entry to usbdevs 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: Sun, 30 May 2004 01:55:21 -0000 Synopsis: Additional entry to usbdevs State-Changed-From-To: open->closed State-Changed-By: sanpei State-Changed-When: Sat May 29 18:52:44 PDT 2004 State-Changed-Why: This is a duplicate PR of kern/67115 http://www.freebsd.org/cgi/query-pr.cgi?pr=66948